Nexus 5 Wifi problems with AnBox
-
Someone on Telegram posted today
ohh! I see what happened. I tried to get anbox working, but now the kernel modules are for the wrong kernel
[ 9.095380] bcmdhd: version magic '3.4.0-cyanogenmod-gc95a726 SMP preempt ARMv7 ' should be '3.4.0-cyanogenmod-g2669fa0 SMP preempt ARMv7 ' -
Same happened to me with my Nexus 5
-
This is the output of nmcli in my case (wifi type is missing, and I am at home). It seems pretty clear that anbox connections is kind of masking wifi connection somehow.
phablet@ubuntu-phablet:~$ nmcli device DEVICE TYPE STATE CONNECTION anbox0 bridge connected anbox0 ril_0 gsm unavailable -- vethG7IQOI ethernet unmanaged -- sit0 iptunnel unmanaged -- lo loopback unmanaged --
Unfortunately, I do not have a clue about why Anbox is doing this, and therefore how to solve it. u.u
Any help is appreciated!
-
Can you please try to install latest devel with the installer and the bootstrap option set? The issue is fixed there hopefully. Then you can switch back to stable with no bootstrap, and it should stay ok.
-
@Flohack I will definitely try it when I have a moment, thanks for the info!
-
@ThrillSeeker Video guide.. https://youtu.be/dOfVTp1XtX4
-
I had the same experience when I tried to install Anbox on stable but when I reflashed to devel and reinstalled Anbox, the wifi is working.
-
So, basically, unless I'm some sort of programmer, I can't put Anbox on this system, and install Spotify on my phone...
-
@polyglossia You can try, but as said before, you need at least the kernel from the devel channel. With next OTA-12 update this will go to stable, then its easier to install Anbox.
-
Also, Anbox probably cannot playback any sound right now.
-
@Flohack I am having this issue even after freshly installing the devel branch of Ubuntu Touch on my Nexus 5. After installing the Anbox boot image and restarting the phone I only have LTE connection but no WiFi connection. Any advice?
-
@wilson You don't need to flash a different boot image with devel. If you want devel + anbox, then reflash UT from devel and don't change the boot image.
-
@dobey Thanks! I'll try that and see how it goes.
-
I just ran into this issue as well. Perhaps it's time to update the official UBPorts documentation to mention the problem and solution? I would be happy to submit a change for the documentation, but I don't think I'm the best qualified person to do it.
However, now that I have reflashed to devel and installed the software, I have a new problem. When I run anbox-tool install it throws out a warning "start: Unknown job: anbox-session" and seems to hang. If I break out the trace says it is in a loop waiting for anbox to start. Then when I run anbox-tool status it says it is enabled but not running.
So any suggestions on how to resolve the issue? If not, is uninstalling the packages sufficient to uninstall anbox?
-
Hello,
I had the same problem with my Nexus 5 today when I tried to install Anbox.
First, adb is not working with my Nexus 5 on Ubuntu Touch, so I used the terminal to reboot in bootloader, then I was able to flash the boot-img with fastboot.
Since this moment, the Wifi controller was not detected :ifconfig wlan0 wlan0: error fetching interface information: Device not found
Since the boot image for Anbox broke the Wifi, and no simple mean exists to repair it, I tried to put back the original boot image with Wifi working : I can't understand why it doesn't solve the problem at all.
I am reinstalling Ubuntu Touch in devel version, I'll let you know if it corrects the problem.I think the doc page (https://docs.ubports.com/fr/latest/userguide/dailyuse/anbox.html) should not consider that Anbox supports the Nexus 5 and the buggy boot image (http://cdimage.ubports.com/anbox-images/anbox-boot-hammerhead.img) should be urgently removed to save hours of labor to people that finally get a completely useless phone...
As proposed by @nontrivial on July, I can help to correct the doc. What should I do for that ? Send a corrected version of the HTML file on the forum or to a particular person ? Don't hesitate to tell how we can help.
Thanks,
-
As @nontrivial did, after reinstalling Ubuntu Touch in devel version, I got :
start: unknown job: anbox-session
I think I got that because I ran "anbox-tool install" as root whereas it is not asked. I was able to correct this with :
sudo chown -R phablet: anbox-data/ anbox-tool upgrade
Now anbox works fine and I was able to install an APK.
-
@antonyj said in Nexus 5 Wifi problems with AnBox:
I can help to correct the doc. What should I do for that ? Send a corrected version of the HTML file on the forum or to a particular person ? Don't hesitate to tell how we can help.
make a pull request at https://github.com/ubports/docs.ubports.com/ with your proposed changes
-
@antonyj Indeed, do not download the Anbox image on the Nexus 5. It is already pre-installed by default. Doing so might creating bugs.
Just start here:
sudo mount -o rw,remount /
sudo apt update
sudo apt install anbox-ubuntu-touch android-tools-adb
anbox-tool install
exitIf you have an error message telling you an insufficient memory in /var, you can try as following:
sudo mount -o rw,remount /
sudo rm -r /var/cache/apt # delete the apt cache; frees space on system image
sudo tune2fs -m 0 /dev/loop0 # space reserved exclusively for root user on system image set to zero
sudo apt update # recreate apt cache to install Anbox and adb
sudo apt install anbox-ubuntu-touch android-tools-adb
sudo mount -o ro,remount /
exit