Ubuntu Touch Nexus 5 (devel) = Anbox install kills wifi driver #1264
Comments
Ah, yes. Those images haven't been built with the commit ubports/android_kernel_lge_hammerhead@c95a726, so they won't have that fix. |
Hi !
|
I can confirm everything you said. #1280 |
Sorry if I didn't give news, I am on Holidays for a week, far from the technology ;) |
Using ubport-installer: I updated to the last ubuntu touch dev : same problem (and moreover the "desktop" disappears, but it seems like it's not a bug, but a feature :). |
Argllll ... Sorry I hit the bad button ... |
@UniversalSuperBox so can someone rebuild the anbox hammerhead kernel with missing commit? |
Hmm the kernel should be built every night automatically, I think thats odd... |
@Flohack74 I think the latest commit from the upd5.1 branch (ubports/android_kernel_lge_hammerhead@c95a726) needs to be applied on the anbox branch. |
Hello everybody ! |
@Cornu Ohhhh sorry! Yes thats true, let me find out how to do this... |
@Flohack74 @mariogrip I created ubports/android_kernel_lge_hammerhead#3 to maybe help a bit :) |
The only problem is idk where the Anbox kernels are built... |
Thanks @Flohack74 for merging, i saw that the anbox boot image (http://cdimage.ubports.com/anbox-images/) didn't get updated, so i built the kernel myself and can confirm that the commit fixes this issue. |
We will put all changes in the main kernel. No need for an extra Anbox kernel then ^^ |
You are all wonderfully kind for your precious help: thanks for your investment ! |
Yes it wil go from devel => RC => stable |
Just tried devel channel image 1264. EDIT: Tried with this image and still crashing. Guess it compiles from ubports-5.1 branch. Then waiting for this pull. About kernel building, is a 'standard' (the one from the CI maybe) |
Just merged the anbox driver into the kernel, should be in tomorrows image. Closing this as fixed for now, please open again if it's not fixed. |
How to test: Simply install the devel channel with the installer, no data wipe, but "with bootstrap" option selected. This should flash the recent kernel. Please give us feedback if this works. |
I switched to devel and installed the boot kernel img in the daily-hammerhead xz with fastboot. |
Had edge installed and wanted to give anbox a shot on n5...run also into this issue after installing special anbox bootimg. I've flashed devel (over existing edge installation with some apps installed). |
Once my phone was moved to the devel branch, anbox worked again. |
Same story with my nexus 5, neither with the stable nor the devil version does the installation of anbox work. After installing the Anbox boot.img Wifi is switched off. Thus, the actual installation of Anbox is not possible because the server can not be found without Wifi. |
You should not use the anbox boot image anymore: just install the devel branch (you may use ubports-installer for this), then install anbox using the second part of the procedure given here: http://docs.ubports.com/fr/latest/userguide/dailyuse/anbox.html
If you already installed anbox previously, you may consider "anbox-tool upgrade" instead of "anbox-tool install". |
That was the first reasonable guide to installing Anbox ;-). That works 100%. Thank you very much for that. One question I still have ... how can you transfer files to the Anbox Downloads folder? ... this is probably read-only. My concern is importing the phone contacts as a vcf file .... thanks in advance |
Ok I can confirm I had to also flash the bootimg form the CI, updating devel channel was not enough. We will prepare instructions in how to do this. |
Any idea when this is going to be merged into the stable branch? I just ran into this issue now and had to switch to the development branch via the UBports installer, which worked fine. I'm just curious as this issue seems to have been closed almost 6 months ago. |
Sorry for the late answer ... I recently needed to move data to/from an android application, and finally could understand where data was, for example with whatsapp, image are located in: |
I opened this bug on the "anbox" git:
anbox/anbox#1261
but they said it should be an ubuntu touch problem ... So I open it again here :)
I run the last ubuntu touch version (development 1194) on a Nexus 5 phone.
This problem was tested on two different nexus 5 phones: mine with some application and data inside, my wife's phone which does not have so much things in it.
Each time I upgrade my ubuntu, I must "re-install" anbox following this guide:
https://docs.ubports.com/en/latest/userguide/dailyuse/anbox.html
And it worked fine until last ubuntu upgrade ...
Since some ubuntu versions (~ 900), when flashing the bootloader, I got some strange behavior:
I precise: just after upgrading ubuntu touch: camera application and access point work great. But just after flashing anbox bootloader, those work strangely (as described).
The anbox bootloader is located here:
http://cdimage.ubports.com/anbox-images/anbox-boot-$CODENAME.img
with CODENAME="hammerhead"
Note: This file did not evolve since months (even if file date is 3rd august 2019).
Some days ago I upgraded my ubuntu touch from version 1162 to 1192. And after installing anbox bootloader, the wifi chip is no longer detected. Moreover, the NetworkManager uses 100% CPU making the phone really hot (workaround: shut it off, make it cool down, then reboot and remove some /etc/NetworkManager/ files, kill NetworkManager, then reboot again)
Previously I had version 1162, and it was fine (except that once bootloader being flashed I got the problems mentioned above, but I don't care about them because I do not use camera often, and workarounds are acceptable).
Now with versions from 1192 and above (1193), flashing the anbox bootloader removes the wifi "driver", and I must wait for the next build to be available to recover the wifi functionnality. Today, I got the 1194 ubuntu touch development version, but did not try to flash bootloader again (since I need my wifi connection, I will try again when the next version will be available, and I will have some spare time ;)
As suggested in Hammerhead: r168 ubports-touch (16.04) can´t see wifi I ran the following command:
nmcli -p d
It showed that wifi hardware was not detected.
Did I try to run anbox log collection ? No, because when my phone does not have wifi connection, so it's a pain to install anbox with the cell phone modem (since where I live, I do not have 3G/4G ... so download is ~ 11kB/s), so I could not install anbox:
since it requires to download some Bytes ;)
Please describe your problem:
done :)
What were you expecting?:
Wifi being detected: even if the bootloader is not "corrected", a workaround would be fine :)
Additional info:
Once the next ubuntu image will be available, I will be able to collect more information by flashing the bootloader, so if you need them please just ask ! (admin sys skills available ;)
Thanks for your help !
The text was updated successfully, but these errors were encountered: