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

    Development testers for Anbox

    Scheduled Pinned Locked Moved OS
    222 Posts 72 Posters 209.1k Views 16 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.
      • U Offline
        ursfan @pawlinski
        last edited by

        @pawlinski Have you installed the boot.img for frieza with fastboot?

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

          Just tried anbox for the first time on my Fairphone 2. Installed a few apps (pulling APKs from my android device using this description).

          As expected, my bike sharing app doesn't work as it uses google services.
          But spotify works ๐Ÿ˜‰

          1 Reply Last reply Reply Quote 0
          • P Offline
            pawlinski @ursfan
            last edited by

            @ursfan Yes.

            U 1 Reply Last reply Reply Quote 0
            • Y Offline
              Yougo
              last edited by

              Hi, has anyone tried to install anbox on a bq M10 HD yet?

              i have , but anbox-tool is telling me i need to flash the kernel, but i did that?!

              i followed instructions from here: https://docs.ubports.com/en/latest/userguide/dailyuse/anbox.html

              might there be some step missing? or is the anbox-boot-cooler.img not functional?

              arubislanderA 1 Reply Last reply Reply Quote 0
              • arubislanderA Offline
                arubislander @Yougo
                last edited by

                @yougo: Just stating the obvious, but it is a mistake that I made initially when trying anbox on my M10FHD: Did you use the correct name for the boot partition when flashing the boot image (boot instead of bootimg)?

                ๐Ÿ‡ฆ๐Ÿ‡ผ ๐Ÿ‡ณ๐Ÿ‡ฑ ๐Ÿ‡บ๐Ÿ‡ธ ๐Ÿ‡ช๐Ÿ‡ธ
                Happily running Ubuntu Touch
                Google Pixel 3a (20.04 DEV)
                JingPad (24.04 preview)
                Meizu Pro 5 (16.04 DEV)

                H 1 Reply Last reply Reply Quote 0
                • M Offline
                  marc_aurel
                  last edited by

                  Exciting progress. I sucessfully installed Anbox on my FP2. For installing additional apks; I tried to install adb android-tools-adb:

                  phablet@ubuntu-phablet:~$ sudo apt install android-tools-adb
                  Reading package lists... Done
                  Building dependency tree       
                  Reading state information... Done
                  The following NEW packages will be installed:
                      android-tools-adb
                  0 upgraded, 1 newly installed, 0 to remove and 108 not upgraded.
                  Need to get 64.1 kB of archives.
                  After this operation, 152 kB of additional disk space will be used.
                  E: You don't have enough free space in /var/cache/apt/archives/.
                  

                  This is confusing, because the system info says, that there is more than 23 GB free space on my FP2.

                  Some idea to resolve this issue?

                  1 Reply Last reply Reply Quote 0
                  • IngoI Offline
                    Ingo
                    last edited by

                    Using pawlinskis approach from https://forums.ubports.com/post/14023

                    sudo mount -o rw,remount /
                    sudo rm -r /var/cache/apt
                    sudo tune2fs -m 0 /dev/loop0
                    sudo apt update
                    sudo apt install android-tools-adb
                    sudo mount -o ro,remount /

                    The system image has just 2 GB and the commands above free some of that space. The 23 GB free storage you mentioned is the part of the storage reserved for user data.

                    M 1 Reply Last reply Reply Quote 1
                    • H Offline
                      haveaniceday
                      last edited by haveaniceday

                      @honigwald I have the same problem. BQ Aquaris FHD (frieza).
                      Flashed the the kernel as shown at docs.ubports.com, but anbox-tool status says:

                      phablet@ubuntu-phablet:~$ anbox-tool status
                      Kernel: NOT OK
                      System: NOT FOUND
                      Enabled: NO
                      Running: NO
                      

                      Prior to installing I grew the ubuntu.img / system.img to have enough space for apt on /.
                      Somehow the kernel does not get installed... Anyone has solved this?

                      Maybe this is relevant: I bought the Android version of the tablet - then installed UBports UT. Maybe this changes the boot partition / image?

                      1 Reply Last reply Reply Quote 0
                      • H Offline
                        haveaniceday @arubislander
                        last edited by

                        @arubislander So did I. Maybe boot is incorrect?

                        1 Reply Last reply Reply Quote 0
                        • H Offline
                          haveaniceday
                          last edited by

                          I just used ubports-installer to flash 16.04/rc onto the frieza, then resized the partition, then installed anbox using the doc.ubports.com tutorial. No success ๐Ÿ˜ž
                          @mariogrip How did you do it?

                          1 Reply Last reply Reply Quote 0
                          • J Offline
                            Johanno
                            last edited by

                            Hi,
                            I've tried it on BQ m10 FHD and it does not seem to work.
                            I've flashed the Kernel and installed anbox-tool but i can't install it, because it says the Kernel isn't installed.

                            phablet@ubuntu-phablet:~$ anbox-tool install
                            Anbox kernel is not installed! Please flash this first!
                            
                            phablet@ubuntu-phablet:~$ anbox-tool status
                            Kernel: NOT OK
                            System: NOT FOUND
                            Enabled: NO
                            Running: NO
                            

                            I tried reflashing it a couple of times, without success.

                            1 Reply Last reply Reply Quote 1
                            • D Offline
                              delijati
                              last edited by

                              Can someone point me to the used kernel source for bacon anbox. The one in github seams not to have the "anbox" changes.

                              1 Reply Last reply Reply Quote 0
                              • IngoI Offline
                                Ingo
                                last edited by Ingo

                                Maybe this is useful feedback ๐Ÿ˜‰

                                These are the apps that work for me with anbox on Fairphone 2

                                • CatLog
                                • Onleihe
                                • Spotify
                                • Threema (Polling instead of Push notifications)
                                • WhatsApp (probably also polling)
                                • my banking app

                                But please take note: I haven't tested those in depth and am not using them on my daily driver, so maybe some problems went unnoticed so far.

                                What didn't work

                                • AdAway (needs root)
                                • Bรผcherhallen (doesn't run without gapps; managing wish list works)
                                • car2go (doesn't run without gapps)
                                • DB Navigator (crashes immediately on start)
                                • Drive Now (doesn't run without gapps)
                                • Firefox (looks as if it works, but web pages are rendered entirely black)
                                • iButtons (simply doesn't start)
                                • Real Drum (simply doesn't start)
                                • Stadtrad (doesn't run without gapps)
                                • vlc (upper third of screen remains black, the app window seems shifted down and lower part is not visible)
                                R 1 Reply Last reply Reply Quote 0
                                • R Offline
                                  rocky58 @Ingo
                                  last edited by

                                  @ingo also Telegram works

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    marc_aurel @Ingo
                                    last edited by

                                    @ingo Thanks for your recommendation. The installation did work, but then a system update of UBports has detroyed my Fairphone. No, problem, it is a developer device. I was able to recover my Fairphone and install Anbox abein with the android tools as described on the documentation page: https://docs.ubports.com/en/latest/userguide/dailyuse/anbox.html

                                    I could mange to install FDroid from a download and then Yalp Store within FDroid. Running Yalp Store seems to be to abitious. Yalp Store crashes while logging into the Play Store. So, in general Anbox is working on my Fairphone.

                                    Sometimes the interaction with Android apps is liettle bit tricky because of the missing back navigation button on the system level. Alien Davlik adds a navigation bar with a back button. Maybe this could be an approach for Anbox either. The disadvantage would be a smaller screen.

                                    1 Reply Last reply Reply Quote 1
                                    • M Offline
                                      marc_aurel
                                      last edited by

                                      I payed around with Google apps to check the system integration. It seems, that Anbox is completely isolated.

                                      Does someone know, where I can find the storage for Anbox? I try to import an adressbook export in the related Android App.

                                      B 1 Reply Last reply Reply Quote 0
                                      • G Offline
                                        greentree
                                        last edited by

                                        @pawlinski try to use test image (anbox-boot-$CODENAME-test.img)

                                        1 Reply Last reply Reply Quote 0
                                        • F Offline
                                          frapie
                                          last edited by

                                          Hiya i just wanted to leave a link here. I accidentally started another thread. If you read into this link you'll find the instructions on how i installed Anbox on an OPO. So far successful. I just need some time to 'play' with it now to see where it is at and what can be done with it: https://forums.ubports.com/topic/2202/anbox-for-opo/7

                                          1 Reply Last reply Reply Quote 0
                                          • B Offline
                                            BodoW @marc_aurel
                                            last edited by

                                            @marc_aurel Storage is in ~/anbox-data/data/media/0/

                                            M 1 Reply Last reply Reply Quote 0
                                            • M Offline
                                              marc_aurel @BodoW
                                              last edited by

                                              @bodow Thanks for the clear advice. Unfortunately I'm struggling with accessing the storage for Anbox.

                                              I tried to copy my address-book to the Anbox container:

                                              adb push contacts.vcf /home/phablet/anbox-data/data/media/0/
                                              adb: error: failed to copy 'contacts.vcf' to '/home/phablet/anbox-data/data/media/0/': remote Permission denied
                                              contacts.vcf: 0 files pushed. 142.5 MB/s (720808 bytes in 0.005s)
                                              

                                              I also can't access the media directory. I only can list the content of the data directory, but I can't switch to a subordinated directory.

                                              phablet@ubuntu-phablet:~/anbox-data/data$ sudo ls -l
                                              [sudo] password for phablet: 
                                              total 5136
                                              drwx------  2 root   root             4096 Dec 13 18:20 adb
                                              drwxrwxr-x  2 system system           4096 Dec 13 18:20 anr
                                              ...
                                              drwxrwx---  4   1023          1023    4096 Dec 13 18:20 media
                                              ...
                                              phablet@ubuntu-phablet:~/anbox-data/data$ cd media
                                              bash: cd: media: Permission denied
                                              phablet@ubuntu-phablet:~/anbox-data/data$ sudo cd media
                                              sudo: cd: command not found
                                              phablet@ubuntu-phablet:~/anbox-data/data$ 
                                              

                                              I have a similar problem if I use the file manage on the device. But I also tried an adb push command within the device without success.

                                              phablet@ubuntu-phablet:~/Downloads$ adb push contacts.vcf /data/sdcard/Download
                                              failed to copy 'contacts.vcf' to '/data/sdcard/Download': secure_mkdirs failed: Permission denied
                                              

                                              Some idea?

                                              M B 2 Replies Last reply Reply Quote 0
                                              • First post
                                                Last post