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.2k 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 @L-00327
        last edited by

        @errorcodevortex said in Development testers for Anbox:

        Is it possible to flash any zips through recovery I have not yet tried.

        I can't imagine that this can work at all.

        1 Reply Last reply Reply Quote 1
        • dobeyD Offline
          dobey @L-00327
          last edited by

          @errorcodevortex said in Development testers for Anbox:

          And also has anyone managed to enable Magisk superuser yet?

          This seems possibly not necessary, though I don't know what your specific goal is with that.

          @errorcodevortex said in Development testers for Anbox:

          Is it possible to flash any zips through recovery I have not yet tried.

          There is no concept of a "recovery" as far as the anbox part is concerned. It is an android container running on top of UT.

          1 Reply Last reply Reply Quote 0
          • L Offline
            L-00327 Banned
            last edited by

            @dobey Yes flashing magisk through recovery broke system didn't boot but had to try app installs fine. I am going to try and patch with magisk the anbox-boot.img and see if that pulls anything off.

            1 Reply Last reply Reply Quote 0
            • L Offline
              L-00327 Banned
              last edited by L-00327

              @mariogrip @Ingo @ursfan

              I wanted to attempt to give root anbox apps permission through a superuser app was my intention. Any other ways without a normal superuser? Magisk Manager app successfully patches the anbox-boot.img and anbox is still installed, nothing crashes.
              Replacing these commands
              "wget http://cdimage.ubports.com/anbox-images/anbox-boot-$CODENAME.img
              sudo fastboot flash $PARTITIONNAME anbox-boot-$CODENAME.img"
              with "sudo fastboot flash boot anboxmagiskboot.img" (which I put in my /home/username folder[same place wget download would go too]) succeeds and anbox does appear to get installed correctly.
              Magisk app does shows magisk is uninstalled still but I believe if I flashed onto a fully 100% read-write system it might work or there may be a solution I can't figure out.
              I anbox installed a terminal apk typed su which leads me to "/system/bin/sh: su: can't execute: Permission denied" error.
              Went to over to regular phablet shell and issued "sudo chmod 755 /system/bin/sh" & "sudo chmod 755 /system" etc but led to read only file system error. Any ideas or input?

              1 Reply Last reply Reply Quote -1
              • E Offline
                Emphrath @BryWilson
                last edited by

                @BryWilson Man that's my thoughts exactly ! Everything you said. Kudos here.

                1 Reply Last reply Reply Quote 0
                • E Offline
                  Emphrath @baddea
                  last edited by

                  @baddea I had the same problem with a game. Anbox installs and runs smoothly, and so does game installation but it's meant to be played with screen rotated- and it gives me the same kind of half baked display, with touch input in full disarray

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    Emphrath
                    last edited by Emphrath

                    By the way, is all this fiddling with anbox has the goal of eventually making it a click package ? Or at least a dedicated installer, sth available in the openstore ? Or are we stuck with adb and reboots ? Thanks for the work, love you all

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

                      @Emphrath it cannot be just a click package, as it needs kernel modifications and elevated priviledges for installation. Because we cannot provide them currently for all supported devices, there is no end in sight of manual steps for the time being. Sorry!

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

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

                        @Flohack Well, once the kernel side can be stable and not cause issues without anbox container installed, then it at least can be included in the images by default.

                        Once the container side is stable/usable enough, and doesn't kill battery and such, then probably the bits for installing and setting up anbox could also be included in the image, like how we have libertine.

                        But indeed, for now, anbox is not a priority, as there are many other things that need fixed in the system first.

                        E 1 Reply Last reply Reply Quote 1
                        • E Offline
                          Emphrath @dobey
                          last edited by

                          @dobey That's what I wanted to know. Thank you

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            moid @tricky
                            last edited by

                            @tricky i am trying to install anbox but unable can u help me

                            R 1 Reply Last reply Reply Quote 0
                            • R Offline
                              ricardo65 @moid
                              last edited by

                              @moid said in Development testers for Anbox:

                              @tricky i am trying to install anbox but unable can u help me

                              I want to install anbox in nexus 5 and it gives me problems. How can I install it?

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

                                @moid and @ricardo65
                                All info should be here in this thread and https://docs.ubports.com/en/latest/userguide/dailyuse/anbox.html

                                What exactly is not working for you? What did you try already? What's your general setup?

                                R 2 Replies Last reply Reply Quote 0
                                • R Offline
                                  ricardo65 @Ingo
                                  last edited by

                                  @Ingo said in Development testers for Anbox:

                                  What exactly is not working for you? What did you try already? What's your general setup?

                                  I have tried to install following the instructions that you have put in the link and I get that the ubports repositories are temporarily blocked and I can't install it.

                                  1 Reply Last reply Reply Quote 0
                                  • R Offline
                                    ricardo65 @Ingo
                                    last edited by

                                    @Ingo I've installed anbox on the nexus 5 channel devel and I can not connect by wifi.is any known bug?.I have restarted the mobile several times and I do not detect it

                                    R C 2 Replies Last reply Reply Quote 0
                                    • R Offline
                                      ricardo65 @ricardo65
                                      last edited by

                                      @ricardo65 said in Development testers for Anbox:

                                      @Ingo I've installed anbox on the nexus 5 channel devel and I can not connect by wifi.is any known bug?.I have restarted the mobile several times and I do not detect it

                                      corfirmado, in RC works perfectly the wifi with anbox installed.

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

                                        Not sure if it was you, but here is a fresh issue about the WiFi problem: https://github.com/ubports/anbox/issues/36

                                        I don't have a Nexus 5, so unfortunately no idea 😞

                                        What I know, in devel channel the so-called "edge merge" has happened (https://forums.ubports.com/topic/3293/what-s-this-edge-merge-anyway) and AFAIK it's not on RC yet. Not sure if that is related but it's an abvious difference between the two channels.

                                        R 1 Reply Last reply Reply Quote 0
                                        • R Offline
                                          ricardo65 @Ingo
                                          last edited by

                                          @Ingo What command should I use to uninstall anbox? thank you

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

                                            Here is a topic about that question: https://forums.ubports.com/topic/2963/uninstall-anbox

                                            If you don't mind some remaining files laying around in /home/phablet you can just re-install UT without wipe. Kernel and rootfs modifications will be gone. The android rootfs plus apps will still be there, though. Not sure if anyone ever wrote instructions how to get rid of all anbox related things.

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

                                              Hey all. I'm trying to install Anbox on my PRO 5 and am running into a problem with anbox-tool install. I'd welcome any illumination, perhaps information on compatible versions of UBports and Anbox for the PRO 5.

                                              I've got UBports 16.04 (OTA-11, stable) and anbox-boot-turbo-test.img flashed (as described here). When I attempt to install Anbox with anbox-tool install, I am presented with a Python error that concludes with the following:

                                              json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
                                              

                                              Does anyone happen to have any ideas on what is going wrong and how I might get the latest possible Anbox running on the device?

                                              I attempted to install anbox-ubuntu-touch on UBports 16.04 (20200107, devel) but it did not appear to be available.

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