How can be Anbox enabled on Dora device?
-
Could someone post a step-by-step procedure for enabling/install Anbox on Dora device (F8131) and how to install android-Apps (or .apk files)?
-
@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.
-
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.
-
@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.
-
@wvanloon32 If you want to make UT read write that can be done using UT TweakTool from the OpenStore.
-
@lakotaubp I have tried this and it is not working. It still refers to the image as read only.
-
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, andanbox-tool disable
to stop it from running. -
@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 sluggishThis 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.
-
@wvanloon32 said in How can be Anbox enabled on Dora device?:
- 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, andanbox-tool disable
to stop it from running. -
@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.
-
@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
andanbox-tool enable
will work? -
@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 -
@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.
-
@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.
-
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...) -
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.
-
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.