UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Nexus 5 Wifi problems with AnBox

    Scheduled Pinned Locked Moved Support
    nexus5wifianbox
    22 Posts 14 Posters 4.8k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • K Online
        kugiigi
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • P Offline
          polyglossia
          last edited by

          So, basically, unless I'm some sort of programmer, I can't put Anbox on this system, and install Spotify on my phone...

          flohackF 1 Reply Last reply Reply Quote 0
          • flohackF Offline
            flohack @polyglossia
            last edited by

            @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.

            My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

            1 Reply Last reply Reply Quote 0
            • flohackF Offline
              flohack
              last edited by

              Also, Anbox probably cannot playback any sound right now.

              My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

              1 Reply Last reply Reply Quote 0
              • W Offline
                wilson
                last edited by

                @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?

                dobeyD 1 Reply Last reply Reply Quote 0
                • dobeyD Offline
                  dobey @wilson
                  last edited by

                  @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.

                  W 1 Reply Last reply Reply Quote 0
                  • W Offline
                    wilson @dobey
                    last edited by

                    @dobey Thanks! I'll try that and see how it goes.

                    1 Reply Last reply Reply Quote 0
                    • N Offline
                      nontrivial
                      last edited by

                      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?

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        antonyj
                        last edited by

                        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,

                        D stanwoodS 2 Replies Last reply Reply Quote 0
                        • A Offline
                          antonyj
                          last edited by

                          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.

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            doniks @antonyj
                            last edited by

                            @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

                            1 Reply Last reply Reply Quote 0
                            • stanwoodS Offline
                              stanwood @antonyj
                              last edited by

                              @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
                              exit

                              If 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

                              Redmi Note 9S Stable
                              If God has a computer, it must be a GNU/Linux

                              1 Reply Last reply Reply Quote 1
                              • First post
                                Last post