anbox icon indicating copy to clipboard operation
anbox copied to clipboard

BQ M10 HD: Anbox kernel is not installed

Open ghost opened this issue 5 years ago • 22 comments

Hi, I want install Anbox in my BQ Aquaris M10 HD (OTA-8) I follow instructions (https://docs.ubports.com/en/latest/userguide/dailyuse/anbox.html#how-to-install). but after write "anbox-tool install" terminal say "Anbox kernel is not installed".

in first step: export CODENAME="cooler" && export PARTITIONNAME="boot"

ghost avatar Mar 10 '19 13:03 ghost

I confirm the same bug on my BQ Aquaris M10 HD (OTA-8). Flashed as follow and then impossible to install

$ sudo fastboot flash $PARTITIONNAME anbox-boot-$CODENAME.img
> target reported max download size of 134217728 bytes
> sending 'boot' (10868 KB)...
> OKAY [  0.455s]
> writing 'boot'...
> OKAY [  0.505s]
> finished. total time: 0.960s

I started with a "Legacy Android device" and follow the instruction here: http://docs.ubports.com/en/latest/userguide/install.html#install-on-legacy-android-devices

It looks like we are sending the image but that would be directly erased when rebooting. After flashing nothing changed by rebooting. Do we need to use Splashtools?

ec-nebi avatar Mar 19 '19 08:03 ec-nebi

I have the same problem today - is therea time, when it will work?

WolfgangZenner avatar Apr 12 '19 14:04 WolfgangZenner

I've just seen, that this issue is for HD, I have an FHD

WolfgangZenner avatar Apr 12 '19 14:04 WolfgangZenner

Same here with an FHD. Flashing the boot image works but does nothing.

RobertZenz avatar Jun 05 '19 21:06 RobertZenz

Same here on M10 HD with OTA-9.

Here is my terminal output: https://gist.github.com/jug007/32c2d8d7f2fe216dd62ff5237f91e010

JulianGro avatar Jun 30 '19 21:06 JulianGro

So...is the whole anbox thing abandoned or did we just pick a bad time? @mariogrip

RobertZenz avatar Jul 05 '19 17:07 RobertZenz

So...is the whole anbox thing abandoned or did we just pick a bad time?

I guess they don't really have anyone working on the M10 if they don't even have an M10 to test. If there is a person in charge of the M10, they might just be busy. Pretty normal stuff in the open source community, I guess.

JulianGro avatar Jul 05 '19 17:07 JulianGro

Pretty normal stuff in the open source community, I guess.

I was more referring to the whole activity of the repository than this single issue. It looks more like nobody is currently working on it.

RobertZenz avatar Jul 05 '19 20:07 RobertZenz

Its not abandoned, but we have a lot of higher priorities at the moment, which is due to the upcoming Android-free hardware like PINE phone or Librem5. We will evaluate on a later time how anbox will continue, as there are superheavy roadblocks there: hardware access must be shared between Android and UT apps, content exchange etc. TBH I have no idea if we will finde ever solutions for that.

Flohack74 avatar Aug 09 '19 14:08 Flohack74

I see and already thought along these lines. I guess me and the others were just wondering what's up with the M10 (FHD) support, as it seems like somebody did find the time to build an image for it, but it's "just" not working.

RobertZenz avatar Aug 09 '19 16:08 RobertZenz

One year later and still the same issue. Bad luck for me, I bought a "well supported" device for UBPORTS and now I see that all is still work in progress. Very few apps, so I cannot use the tablet the way I intended to do. My last hope was anbox, but now all I can do is waiting for some fortunate coincidence which gives a willing guy enough motivation and resources to add some functionality to this device...

I know this is open source and all is done by volunteers in their spare time. I really appreciate that, but that doesn't change my situation. Even paying money would not really change the situation as one cannot buy spare time...

minibootsmann avatar Aug 05 '20 09:08 minibootsmann

The problem is that even if the kernel is published as open-source by the manufacturer (BQ and Mediatek in turn), the device tree is not. You will also notice that there is no official Cynaogenmod/LineageOS for those devices (BQ, Meizu) for probably the same reasons. So unless someone makes a working Android build there is little chance that we can ever apply the Anbox patches needed to those kernels. We are basically still using the boot and system images from Canonical, also the recovery. They had probably an NDA with BQ/Meizu, who in turn have an NDA with Mediatek, to be able to build binaries for those devices. Sadly Mediatek is a bad choice for open source efforts. When we say its a well supported device this applies up to the point where we cannot break the rules, and we also wont use unofficial sources patched together from XDA or other Internet places, where we do not know what people did. So even if you find unofficial CM/LOS ROMs for those devices, they are normally below our standards for trust and usability. Sorry to say, but thats the current state, and it probably wont change ever.

Flohack74 avatar Aug 16 '20 21:08 Flohack74

Thank you very much for this clarification!

I did not realize that the android device tree is needed for anbox. As the situation with Mediatek and open source remained unsatisfactory, I always tried not to use android devices with such a processor. My naive hope was that for a device, which has full Linux support, all necessary information would be available. Well, now i know better and have do decide whether I keep trying to make this device usable for me or to search for another tablet with better support options.

minibootsmann avatar Aug 17 '20 05:08 minibootsmann

Any updates with OTA-13? I own a Aquaris M10 FHD, it was on the list of supported devices for Anbox on UBT, but German ubuntuusers forum say it doesn't work with the FHD model too!

Bsoupe avatar Sep 26 '20 09:09 Bsoupe

can this tested again with ota-16?

Fuseteam avatar Mar 17 '21 17:03 Fuseteam

I can this week end. I'm now on Android but I can switch on Ubport for test.

ghost avatar Mar 17 '21 18:03 ghost

Sorry for long time..... I go test this day

ghost avatar Apr 18 '21 10:04 ghost

can this tested again with ota-16?

Not work:

$ adb shell phablet@ubuntu-phablet:$ sudo reboot -f bootloader [sudo] password for phablet: $ sudo fastboot flash $PARTITIONNAME anbox-boot-$CODENAME.img [sudo] Mot de passe de bourinov : target reported max download size of 134217728 bytes sending 'boot' (10868 KB)... OKAY [ 0.470s] writing 'boot'... OKAY [ 0.505s] finished. total time: 0.976s $ sudo fastboot reboot rebooting...

finished. total time: 0.052s $ rm anbox-boot-$CODENAME.img

phablet@ubuntu-phablet:$ anbox-tool install Anbox has not been enabled for this device. Please consult device maintainer.

ghost avatar Apr 18 '21 15:04 ghost

A couple of things.

  1. Did you see if Anbox runs on current OTA-16 without the patching?
  2. (edit) rephrase - try running the script by replacing the reference calls set by the export

$ sudo fastboot flash $PARTITIONNAME anbox-boot-$CODENAME.img

$PARTITIONNAME should be replaced with the boot partition name unique to your device (ie: boot or bootimg) $CODENAME should be replaced with the name of the system (ie: cooler or frieza)

I am having the same issue and am going to reflash my M10 FHD to stock OTA-16.

edwaleni avatar Apr 23 '21 12:04 edwaleni

1- Anbox does not appear to be present on the tablet with last update. 2 -I'm write at beginning: export CODENAME="cooler" && export PARTITIONNAME="boot" (in my case).

ghost avatar Apr 23 '21 18:04 ghost

Hello, I was wondering what "Anbox has not been enabled for this device. Please consult device maintainer." means? I have a BQ M10 FHD with fresh OTA-17. The tools are there from the start with that message being output after anbox-tool install. Any advice is appreciated. Thanks.

Gplinc avatar May 16 '21 11:05 Gplinc

@Gplinc that means the kernel is not ready for anbox please follow the instructions on https://docs.ubports.com/en/latest/userguide/dailyuse/anbox.html

Fuseteam avatar May 16 '21 17:05 Fuseteam