• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 26 Mar 2021, 03:38

      @jlabon YEah it says on the page Anbox works but when you try to install via adb shell it just says dora not supporrted yet. This was as of a week ago. That is the only thing that keeps me from switching because I have to have android version of whatsapp. I cant just be having two devices all the time. Defeats the purpose.

      1 Reply Last reply Reply Quote 0
      • W Offline
        wvanloon32
        last edited by 26 Mar 2021, 04:25

        I have learned something. I believe anbox will install and function as advertised if we can figure out how to change the id to turbo before trying to install it. Do that ad it wont tell us its not yet supported and should install and work just fine. ro.product.device this is the thing it checks that we have to figure out how to change. I have no idea how to do that, but that is what needs to happen.

        1 Reply Last reply Reply Quote 0
        • W Offline
          wvanloon32 @jlabon
          last edited by 26 Mar 2021, 05:53

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

          L 1 Reply Last reply 26 Mar 2021, 06:14 Reply Quote 0
          • L Offline
            Lakotaubp @wvanloon32
            last edited by 26 Mar 2021, 06:14

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

            W 1 Reply Last reply 26 Mar 2021, 21:19 Reply Quote 0
            • W Offline
              wvanloon32 @Lakotaubp
              last edited by 26 Mar 2021, 21:19

              @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
              • D Offline
                dobey
                last edited by 27 Mar 2021, 14:10

                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 29 Mar 2021, 18:18

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

                  K 1 Reply Last reply 29 Mar 2021, 18:24 Reply Quote 0
                  • K Offline
                    Keneda @wvanloon32
                    last edited by Keneda 29 Mar 2021, 18:24

                    @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 29 Mar 2021, 18:30 Reply Quote 0
                    • W Offline
                      wvanloon32 @Keneda
                      last edited by 29 Mar 2021, 18:30

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

                      D 1 Reply Last reply 31 Mar 2021, 20:03 Reply Quote 0
                      • K Offline
                        Keneda
                        last edited by Keneda 29 Mar 2021, 18:31

                        @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
                        • L Offline
                          Lakotaubp
                          last edited by 29 Mar 2021, 19:25

                          @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

                          K 1 Reply Last reply 30 Mar 2021, 02:26 Reply Quote 0
                          • K Offline
                            Keneda @Lakotaubp
                            last edited by Keneda 30 Mar 2021, 02:26

                            @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
                            • D Offline
                              dobey @wvanloon32
                              last edited by 31 Mar 2021, 20:03

                              @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 6 Apr 2021, 16:30

                                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 14 May 2021, 13:32 Reply Quote 0
                                • J Offline
                                  jlabon @jlabon
                                  last edited by 14 May 2021, 13:32

                                  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 16 May 2021, 18:42 Reply Quote 0
                                  • J Offline
                                    jlabon @jlabon
                                    last edited by 16 May 2021, 18:42

                                    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