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

    How can be Anbox enabled on Dora device?

    Scheduled Pinned Locked Moved Sony Xperia X Performance (F8131 & F8132)
    17 Posts 5 Posters 1.5k Views 1 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.
      • W Offline
        wvanloon32 @jlabon
        last edited by

        @jlabon Hey I think I got it almost figured out to be able to install anbox the only problem is I cannot get the permissions changed on the build.prop file. I have tried into terminal to change the permissions but everytime I get the error of read only file system. So if we can figure out how to change that file system to rw than we are solid. Everything I have tried has failed so far. Meaning sudo chmod +rwx. That fails so if you got any ideas how to change the system to be writable that would be good.

        LakotaubpL 1 Reply Last reply Reply Quote 0
        • LakotaubpL Offline
          Lakotaubp @wvanloon32
          last edited by

          @wvanloon32 If you want to make UT read write that can be done using UT TweakTool from the OpenStore.

          W 1 Reply Last reply Reply Quote 0
          • W Offline
            wvanloon32 @Lakotaubp
            last edited by

            @lakotaubp I have tried this and it is not working. It still refers to the image as read only.

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

              Now with devel channel images as of 2021-03-27, for any device which has the kernel modifications needed to enable anbox on Ubuntu Touch, you can simply run anbox-tool install to install an anbox image, anbox-tool enable to enable anbox, and anbox-tool disable to stop it from running.

              1 Reply Last reply Reply Quote 0
              • W Offline
                wvanloon32 @jlabon
                last edited by

                @jlabon A.) Phone set-up for Dora.
                1.) Install Ubuntu Edge
                2.)Install UT Tweak Tool
                3.) Use tweak tool to make the image writable
                4.) If you have not already set a password and enable developer mode.
                5.) reboot phone
                6.) adb shell
                7.) sudo system-image-cli --switch 16.04/arm64/edge -v
                8.) Once phone has rebooted part A is done.

                B.) Anbox Install
                1.) Connect to PC
                2.) adb shell
                3.) sudo mount -o rw,remount /
                4.) sudo apt update
                5.) sudo apt install anbox-ubuntu-touch android-tools-adb
                6.)anbox-tool installl
                7.) Anbox is installed you can continue from here to install apks or exit and return later.

                C.) APK install instructions
                1.) Connect to PC although you dont have to.
                #Step 2 if you connected to PC only. You can skip this step if in Phone terminal on phone
                2.) adb shell
                3.) adb install /home/phablet/Downloads/name.apk
                4.)exit
                5.) apps are a little sluggish

                This is the exact step by step that I used. This should be followed as a check list requirement although you can use different channels and it still works.

                KenedaK 1 Reply Last reply Reply Quote 0
                • KenedaK Online
                  Keneda @wvanloon32
                  last edited by Keneda

                  @wvanloon32 said in How can be Anbox enabled on Dora device?:

                  1. Install Ubuntu Edge

                  Ubuntu Edge is the crowdfounded not released canonical smartphone.
                  You probably wanted to say Ubuntu Touch (edge channel?), but as Dobey told, you don't need to use edge, nor use apt, and i believe he knows his stuff...

                  @dobey said in How can be Anbox enabled on Dora device?:

                  Now with devel channel images as of 2021-03-27, for any device which has the kernel modifications needed to enable anbox on Ubuntu Touch, you can simply run anbox-tool install to install an anbox image, anbox-tool enable to enable anbox, and anbox-tool disable to stop it from running.

                  2015-2023 : Meizu MX4 ☠️⚰️✝️
                  2023-2024 : Nexus 5 ☠️⚰️✝️
                  2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                  🇲🇫🇬🇧

                  W 1 Reply Last reply Reply Quote 0
                  • W Offline
                    wvanloon32 @Keneda
                    last edited by

                    @keneda What he told me did not work. I tried it and it just produced errors. I had to run the other commands before I was able to do anything. YEah you are right I am talking about the UB touch channels. I know these steps also work on hybris-devel and im sure on the other channels. I do not know why his steps didnt work on my f1832, but I got it working with those steps and seems to work pretty good.

                    dobeyD 1 Reply Last reply Reply Quote 0
                    • KenedaK Online
                      Keneda
                      last edited by Keneda

                      @Lakotaubp I think this thread should be moved here on its device subforum (and reopened?) : https://forums.ubports.com/topic/4147/sony-xperia-x-performance-dora-f8131-f8132

                      @wvanloon32 It seems your right :

                      Dora channel was moved and is now aarch64/arm64, if you have installed before, please switch to the new channel: system-image-cli --switch 16.04/arm64/edge -v

                      So maybe if you install directly edge channel from ubports installer, anbox-tool install and anbox-tool enable will work?

                      2015-2023 : Meizu MX4 ☠️⚰️✝️
                      2023-2024 : Nexus 5 ☠️⚰️✝️
                      2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                      🇲🇫🇬🇧

                      1 Reply Last reply Reply Quote 0
                      • LakotaubpL Offline
                        Lakotaubp
                        last edited by

                        @keneda It is on the subforum from what I can see the other link is the locked older thread, unless I missed something.
                        @wvanloon32 Can you please this thread https://forums.ubports.com/topic/5944/anbox-install-instructions it is just the same as your advice above. This is just getting confusing with info all over the place. Thanks

                        KenedaK 1 Reply Last reply Reply Quote 0
                        • KenedaK Online
                          Keneda @Lakotaubp
                          last edited by Keneda

                          @lakotaubp said in How can be Anbox enabled on Dora device?:

                          I can see the other link is the locked older thread, unless I missed something.

                          The "older thread" is the porter/port thread, still linked from dora device page, so maybe if it was here, that would be more convinient for dora users to search infos.

                          2015-2023 : Meizu MX4 ☠️⚰️✝️
                          2023-2024 : Nexus 5 ☠️⚰️✝️
                          2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                          🇲🇫🇬🇧

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

                            @wvanloon32 There was indeed a bug in the script, which has now been fixed, so what I stated should work now for any device which has the kernel parts enabled already.

                            1 Reply Last reply Reply Quote 1
                            • J Offline
                              jlabon
                              last edited by

                              Thank you all for your answers.
                              I will try the advice from @dobey when next Hybris/stable release is available. (I don't use devel channel anymore because it is not stable enough for daily use of the phone...)

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

                                After installing OTA-17 i could install Anbox-tools as described before and also an .apk file. More or less it works but seems that improvements are required for more maturity and stability.

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

                                  Tried several .apk files but non of them worked as expected. Seems that anbox doesn't interact really with UT resources like Bluetooth (Garmin Drive), SD card storage (Keepass app), Web access (Firefox or GMaps) and others. So anbox-tool is currently not usable on Dora device.

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