Development testers for Anbox
@ingo Thanks for your recommendation. The installation did work, but then a system update of UBports has detroyed my Fairphone. No, problem, it is a developer device. I was able to recover my Fairphone and install Anbox abein with the android tools as described on the documentation page: https://docs.ubports.com/en/latest/userguide/dailyuse/anbox.html
I could mange to install FDroid from a download and then Yalp Store within FDroid. Running Yalp Store seems to be to abitious. Yalp Store crashes while logging into the Play Store. So, in general Anbox is working on my Fairphone.
Sometimes the interaction with Android apps is liettle bit tricky because of the missing back navigation button on the system level. Alien Davlik adds a navigation bar with a back button. Maybe this could be an approach for Anbox either. The disadvantage would be a smaller screen.
I payed around with Google apps to check the system integration. It seems, that Anbox is completely isolated.
Does someone know, where I can find the storage for Anbox? I try to import an adressbook export in the related Android App.
greentree last edited by
@pawlinski try to use test image (anbox-boot-$CODENAME-test.img)
frapie last edited by
Hiya i just wanted to leave a link here. I accidentally started another thread. If you read into this link you'll find the instructions on how i installed Anbox on an OPO. So far successful. I just need some time to 'play' with it now to see where it is at and what can be done with it: https://forums.ubports.com/topic/2202/anbox-for-opo/7
BodoW last edited by
@marc_aurel Storage is in ~/anbox-data/data/media/0/
@bodow Thanks for the clear advice. Unfortunately I'm struggling with accessing the storage for Anbox.
I tried to copy my address-book to the Anbox container:
adb push contacts.vcf /home/phablet/anbox-data/data/media/0/ adb: error: failed to copy 'contacts.vcf' to '/home/phablet/anbox-data/data/media/0/': remote Permission denied contacts.vcf: 0 files pushed. 142.5 MB/s (720808 bytes in 0.005s)
I also can't access the media directory. I only can list the content of the data directory, but I can't switch to a subordinated directory.
phablet@ubuntu-phablet:~/anbox-data/data$ sudo ls -l [sudo] password for phablet: total 5136 drwx------ 2 root root 4096 Dec 13 18:20 adb drwxrwxr-x 2 system system 4096 Dec 13 18:20 anr ... drwxrwx--- 4 1023 1023 4096 Dec 13 18:20 media ... phablet@ubuntu-phablet:~/anbox-data/data$ cd media bash: cd: media: Permission denied phablet@ubuntu-phablet:~/anbox-data/data$ sudo cd media sudo: cd: command not found phablet@ubuntu-phablet:~/anbox-data/data$
I have a similar problem if I use the file manage on the device. But I also tried an
adb pushcommand within the device without success.
phablet@ubuntu-phablet:~/Downloads$ adb push contacts.vcf /data/sdcard/Download failed to copy 'contacts.vcf' to '/data/sdcard/Download': secure_mkdirs failed: Permission denied
matteo last edited by
@marc_aurel just my 2 cents here. Did you try, before to navigate into the anbox folder, to type
sudo suand gaining the root access?
Second hint: you could try to move first your contacts file to an accessible folder, as for example Documents or Downloads, with
adb pushfrom your PC and then, from the terminal on your PC, you could type
adb shell, since I found out the latter has some limitations in writing on the phone partition. In the end, you could just copy your file, maybe better with root privilege, to
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.
BodoW 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?
@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.