PINE64
Anbox: install Google Services - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+--- Thread: Anbox: install Google Services (/showthread.php?tid=13024)



Anbox: install Google Services - sonic - 02-07-2021

Hey there,
I am pmOS (Phosh) user and I am trying to get Google Services into my Anbox images.

First I tried to install OpenGApps. I manually extracted the anbox image from /usr/share/anbox/android.img, installed gsfcore-all, gsflogin-all, gmscore-arm64 and vending-arm from ARM64/7.1 pico variant of OpenGApps and then packed it back (you can look here [1], [2] or [3] to get some idea how to do it). It works, partially. I can see the Play Store in app list and start it. But the anbox crashes every time after about one minute - does not matter what I run, F-Droid, Play Store, or just settings.

So next time I tried to microG project. There is some info on this forum here. Unfortunately, after this patch the anbox does not run at all. My personal guess is that services.jar are for x86.

Have anyone of you had better luck with these?

[1] https://gitlab.com/postmarketOS/pmaports/-/blob/master/main/anbox-image/APKBUILD
[2] https://github.com/geeks-r-us/anbox-playstore-installer/blob/master/install-playstore.sh
[3] https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=anbox-image-gapps