I’ve got it! It’s running!
first built the image with the:
copy it to /var/lib/anbox.
download the package “package-pureos-byzantium:arm64” from:
and install both files with:
sudo dpkg -i anbox*.
reboot the system. And after that do:
sudo systemctl enable anbox-container-manager
sudo systemctl start anbox-container-manager
check if it’r running:
sudo systemctl status start anbox-container-manager
do:
(is apparently only needed when starting from the console.)
export DISPLAY=:0
start anbox with the icon
after that:
adb install FDroid.apk
* daemon not running; starting now at tcp:5037
* daemon started successfully
Performing Streamed Install
Success
purism@pureos:~$ adb shell pm grant org.fdroid.fdroid android.permission.WRITE_EXTERNAL_STORAGE
purism@pureos:~$ adb shell pm grant org.fdroid.fdroid android.permission.READ_EXTERNAL_STORAGE
purism@pureos:~$ adb shell settings put secure install_non_market_apps 1 anbox launch --action=android.intent.action.MAIN --package=org.fdroid.fdroid --component=org.fdroid.fdroid.views.main.MainActivity
the onscreen keyboard does strange things.
When I press backspace, I get an = and stuff like that.
EDIT: only happens when you start from the console.
Otherwise it looks fine.
if you have installed an app go to /home/purism/.local/share/applications/anbox/
copy the desktop file of your app to /home/purism/.local/share/applications/
otherwise the changes will be undone by anbox.
open the desktop file.and change
NoDisplay=true to NoDisplay=false.
and add:
X-Purism-FormFactor=Workstation;Mobile;
Then the app is also displayed in the menu. And is also displayed under Mobile Apps.