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.3k 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.
      • IngoI Offline
        Ingo
        last edited by

        Someone suggested the following somewhere

        mkdir -p /home/phablet/AnboxHome
        sudo chmod -R 777 /home/phablet/anbox-data/data/media/0
        sudo mount --bind /home/phablet/anbox-data/data/media/0 /home/phablet/AnboxHome
        

        But with the clear hint that making things 777 generally is not a good idea.
        Of course the minimal way would be just the second line. The other are just there to have an easier/shorter path.

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

          @marc_aurel You're right. Sorry, I didn't have a shell open when I was writing my response and didn't remember that you had to "sudo su" or "sudo -i" first (as @matteo mentioned). I'd prefer this way as I would have a bad feeling about 777ing a directory permanently.
          Besides that: Does it work now?

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

            @bodow Thanks for the advice. The following approach works:

            sudo su
            cp contacts.vcf /home/phablet/anbox-data/data/media/0/contacts.vcf
            

            I resume. The system integration of Anbox seems to be very limited. The apps are shown in the app scope and the apps have hardware access with network and storage. I think, that's it.

            It's possible to copy files with adb shell, but this is not for an average consumer.

            It seems there is not service or data sharing. I haven't tested notifications, yet.

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

              hi, i was trying use anbox on my nexus 5 device, and got /bin/bash: pm: command not found error, do you know this?

              # install command
              ➜  Downloads adb install MobileAssistant_1.apk
              [100%] /data/local/tmp/MobileAssistant_1.apk
              /bin/bash: pm: command not found
              
              # adb shell infos
              root@ubuntu-phablet:~# dpkg -l | grep anbox
              ii  anbox                                                8+0~20180916133012.39~1.gbpe34b59                            armhf        Container-based approach to boot a full Android system on a regular GNU/Linux system
              ii  anbox-common                                         8+0~20180916133012.39~1.gbpe34b59                            all          Common files necessary for Anbox
              ii  anbox-ubuntu-touch                                   8+0~20180916133012.39~1.gbpe34b59                            all          Files necessary for Ubuntu touch
              root@ubuntu-phablet:~# dpkg -l | grep android-tools-adb
              ii  android-tools-adb                                    5.1.1r36+git20160323+ubports1+0~20181125103222.6~1.gbpc708bb armhf        Android Debug Bridge CLI tool
              ii  android-tools-adbd                                   5.1.1r36+git20160323+ubports1+0~20181125103222.6~1.gbpc708bb armhf        Android Debug Bridge Phone Daemon
              root@ubuntu-phablet:~# anbox-tool status
              Kernel: OK
              System: OK
              Enabled: YES
              Running: YES
              
              1 Reply Last reply Reply Quote 0
              • IngoI Offline
                Ingo
                last edited by Ingo

                Are you executing adb install MobileAssistant_1.apk on your PC? That would explain the pm: command not found.
                You have to transfer the apk to the phone and do adb install ... there (assuming you have installed adb on the phone first; which by the output of dpkg is the case).
                Basically this: https://forums.ubports.com/post/14834

                G 1 Reply Last reply Reply Quote 1
                • G Offline
                  Guy @Ingo
                  last edited by

                  @ingo thanks for the reply, I have install the apk successed

                  1 Reply Last reply Reply Quote 0
                  • kuailexsK Offline
                    kuailexs
                    last edited by

                    @mariogrip Excuse me. How can I build this :http://cdimage.ubports.com/anbox-images/android-armhf-64binder.img ?
                    I followed this step : https://github.com/ubports/anbox/blob/xenial/docs/build-android.md and lunch anbox_armv7a_neon-userdebug
                    Using my built android.img can't work.
                    I still have a question, why use android-armhf-64binder.img instead of android-armhf-32binder.img

                    UB 16.04 on Xiaomi 4
                    UB 20.04 on Xiaomi 6

                    1 Reply Last reply Reply Quote 1
                    • kuailexsK Offline
                      kuailexs
                      last edited by

                      @mariogrip Excuse me. Can you share your local anbox project to build android-armhf-64binder.img ?
                      when i use https://github.com/ubports/anbox to build , There are a few differences:anbox-init.sh 、anboxd 、 netd

                      UB 16.04 on Xiaomi 4
                      UB 20.04 on Xiaomi 6

                      1 Reply Last reply Reply Quote 0
                      • kuailexsK Offline
                        kuailexs
                        last edited by

                        I want to test some of the applications we rely on. like : qq、weixin、etc.

                        UB 16.04 on Xiaomi 4
                        UB 20.04 on Xiaomi 6

                        1 Reply Last reply Reply Quote 0
                        • kuailexsK Offline
                          kuailexs
                          last edited by

                          for my building , network cat not work

                          UB 16.04 on Xiaomi 4
                          UB 20.04 on Xiaomi 6

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

                            I case anyone wants to run the Anbox AppManager by tapping on an icon, here is my .desktop file to do that:

                            [Desktop Entry]
                            Name=Anbox AppManager
                            Exec=/usr/bin/anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity
                            Terminal=false
                            Type=Application
                            Icon=/home/phablet/.local/share/applications/anbox_logo.png
                            X-Ubuntu-Touch=true
                            
                            

                            Save this as /home/phablet/.local/share/applications/anbox_appmgr.desktop

                            The logo is this one: https://docs.anbox.io/_static/logo.png
                            I saved it as anbox_logo.png on the phone in /home/phablet/.local/share/applications/

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              trainailleur
                              last edited by trainailleur

                              On my OnePlus One test phone, FDroid cannot find the network connection so cannot download its repositories. Has anyone with a OpO gotten it to work?

                              1 Reply Last reply Reply Quote 0
                              • ? Offline
                                A Former User
                                last edited by

                                Have time to test anbox on Nexus5. Have lots of time after career as engineer, but am Newbie on Development testing!

                                advocatuxA 1 Reply Last reply Reply Quote 2
                                • advocatuxA Offline
                                  advocatux @Guest
                                  last edited by

                                  @Frank great, with your expertise you'll get the hang of it in no time 🙂

                                  ? 1 Reply Last reply Reply Quote 0
                                  • ? Offline
                                    A Former User @advocatux
                                    last edited by

                                    @advocatux Thanks man! 🙂

                                    advocatuxA 1 Reply Last reply Reply Quote 0
                                    • advocatuxA Offline
                                      advocatux @Guest
                                      last edited by

                                      @Frank you're welcome!

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

                                        oh guys i face two problem

                                        Rotate App not in full screen please check the link below :

                                        rotate

                                        advocatuxA arubislanderA J E 4 Replies Last reply Reply Quote 0
                                        • advocatuxA Offline
                                          advocatux @baddea
                                          last edited by

                                          @baddea hi, just in case you don't know it, you can drag&drop an image on this forum 😉

                                          B 1 Reply Last reply Reply Quote 0
                                          • B Offline
                                            baddea @advocatux
                                            last edited by baddea

                                            @advocatux

                                            Also how to switch from headphone to speaker sound in ubports ?

                                            advocatuxA 1 Reply Last reply Reply Quote 0
                                            • advocatuxA Offline
                                              advocatux @baddea
                                              last edited by advocatux

                                              @baddea you can only do it by plugging or unplugging the headphones jack afaik

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