geeks-r-us / anbox-playstore-installer Goto Github PK
View Code? Open in Web Editor NEWInstall script that automates installation of googles playstore in anbox
License: MIT License
Install script that automates installation of googles playstore in anbox
License: MIT License
Hello. Is there any way to launch 2d/3d games? I successfully instolled several from Play Store (different redations of AngryBirds, PvPets, some racing games, etc.). Unfortunally, no one from them was successfully launched.
In that time I also tried to launach x86 package of AngryBirds from apkmirror on the clean Anbox, and it was launched fine.
Is there a way to uninstall all this? It took a few GB and now i cant seem to remove it. Thank you
Hi,
I was wondering if it's possible for a version without snap for those of us that like to build from source the normal way. That and also the aur packages have only the build version.
Is there a way to edit the script such that I can use it without snap?
Cause when I tried it, it said cannot find /snap ...
Regards
Not sure if it is a problem of andbox or this script, but after installing this script it has Android 7 in my configuration that blocks me installing apps for Android 8 and newer.
With the installer as is, when I tried to run a arm64-v8a app (roblox in this case), it crashed with an adb log that that native arm64 libs were not 32 bit.
But when I applied this pull request, that particular issue disappeared, so the pull request is badly named, but its still an important fix.
Hi there. I am using the install-playstore.sh
script following the instructions here.
I have anbox working (download today from a Ubuntu 20.04 desktop using the beta channel) and connected with internet (I could install F-droid and a chess program from it).
When I run however ./install-playstore.sh
in a terminal the script exits after few seconds with no messages. Nothing is installed on anbox and also no temporary folder is created.
How can I help debugging this more ?
The installation is success, but many apps can't launch. All of them get stuck.
I suspect the script breaks somewhere after the line "Loading open gapps"
This is the full output:
mihai@lxle01:~$ ./install-playstore.sh
/var/snap/anbox/common/rootfs-overlay
/home/mihai/anbox-work
Extracting anbox android image
Parallel unsquashfs: Using 4 processors
1836 inodes (8401 blocks) to write
[=============================================================] 8401/8401 100%
created 1659 files
created 280 directories
created 177 symlinks
created 0 devices
created 0 fifos
Loading open gapps from https://sourceforge.net/projects/opengapps/files/x86_64/20200407/open_gapps-x86_64-7.1-pico-20200407.zip
mihai@lxle01:~$
EDIT: link to open_gapps is broken:
The "/x86_64/20200407/ope...1-pico-20200407.zip" file could not be found or is not available. Please select another file.
Whenever I click anywhere inside opened Google Play app (e.g. the Sign In button), it freezes for a while and then crashes.
Logcat output (I don't know if everything is relevant, but it's output after I click on Sign In):
09-21 13:37:20.678 112 216 E TaskPersister: File error accessing recents directory (directory doesn't exist?).
09-21 13:37:24.746 112 145 I InputDispatcher: Application is not responding: Window{319f7a0 u0 com.android.vending/com.google.android.finsky.unauthenticated.UnauthenticatedMainActivity}. It has been 5004.0ms since event, 5003.8ms since wait started. Reason: Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago. Wait queue length: 49. Wait queue head age: 5505.2ms.
09-21 13:37:24.753 112 145 I WindowManager: Input event dispatching timed out sending to com.android.vending/com.google.android.finsky.unauthenticated.UnauthenticatedMainActivity. Reason: Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago. Wait queue length: 49. Wait queue head age: 5505.2ms.
09-21 13:37:24.764 112 126 I Process : Sending signal. PID: 3262 SIG: 3
09-21 13:37:24.764 3262 3269 I art : Thread[3,tid=3269,WaitingInMainSignalCatcherLoop,Thread*=0x7fd319e96400,peer=0x12c62b80,"Signal Catcher"]: reacting to signal 3
09-21 13:37:24.764 3262 3269 I art :
09-21 13:37:24.810 3262 3269 I art : Wrote stack traces to '/data/anr/traces.txt'
09-21 13:37:24.810 112 126 I Process : Sending signal. PID: 112 SIG: 3
09-21 13:37:24.811 112 116 I art : Thread[2,tid=116,WaitingInMainSignalCatcherLoop,Thread*=0x7fd31240d000,peer=0x12c010d0,"Signal Catcher"]: reacting to signal 3
09-21 13:37:24.811 112 116 I art :
09-21 13:37:24.868 112 116 I art : Wrote stack traces to '/data/anr/traces.txt'
09-21 13:37:24.868 112 126 I Process : Sending signal. PID: 292 SIG: 3
09-21 13:37:24.868 292 298 I art : Thread[3,tid=298,WaitingInMainSignalCatcherLoop,Thread*=0x7fd319e96400,peer=0x12c00820,"Signal Catcher"]: reacting to signal 3
09-21 13:37:24.868 292 298 I art :
09-21 13:37:24.879 292 298 I art : Wrote stack traces to '/data/anr/traces.txt'
09-21 13:37:24.879 112 126 I Process : Sending signal. PID: 232 SIG: 3
09-21 13:37:24.879 232 251 I art : Thread[3,tid=251,WaitingInMainSignalCatcherLoop,Thread*=0x7fd319e96400,peer=0x12c005e0,"Signal Catcher"]: reacting to signal 3
09-21 13:37:24.879 232 251 I art :
09-21 13:37:24.892 232 251 I art : Wrote stack traces to '/data/anr/traces.txt'
09-21 13:37:24.893 9 9 W : debuggerd: handling request: pid=28 uid=1000 gid=1003 tid=28
09-21 13:37:24.951 9 9 W : debuggerd: resuming target 28
09-21 13:37:24.951 9 9 W : debuggerd: handling request: pid=31 uid=1041 gid=1005 tid=31
09-21 13:37:24.951 8 8 W : debuggerd: handling request: pid=31 uid=1041 gid=1005 tid=31
09-21 13:37:24.988 8 8 W : debuggerd: resuming target 31
09-21 13:37:24.988 9 9 W : debuggerd: handling request: pid=32 uid=1047 gid=1005 tid=32
09-21 13:37:24.988 8 8 W : debuggerd: handling request: pid=32 uid=1047 gid=1005 tid=32
09-21 13:37:25.005 8 8 W : debuggerd: resuming target 32
09-21 13:37:25.006 9 9 W : debuggerd: handling request: pid=33 uid=1019 gid=1019 tid=33
09-21 13:37:25.006 8 8 W : debuggerd: handling request: pid=33 uid=1019 gid=1019 tid=33
09-21 13:37:25.023 8 8 W : debuggerd: resuming target 33
09-21 13:37:25.023 9 9 W : debuggerd: handling request: pid=36 uid=1046 gid=1006 tid=36
09-21 13:37:25.023 8 8 W : debuggerd: handling request: pid=36 uid=1046 gid=1006 tid=36
09-21 13:37:25.035 8 8 W : debuggerd: resuming target 36
09-21 13:37:25.036 9 9 W : debuggerd: handling request: pid=37 uid=1013 gid=1031 tid=37
09-21 13:37:25.036 8 8 W : debuggerd: handling request: pid=37 uid=1013 gid=1031 tid=37
09-21 13:37:25.052 8 8 W : debuggerd: resuming target 37
09-21 13:37:25.052 9 9 W : debuggerd: handling request: pid=38 uid=1040 gid=1026 tid=38
09-21 13:37:25.052 8 8 W : debuggerd: handling request: pid=38 uid=1040 gid=1026 tid=38
09-21 13:37:25.074 8 8 W : debuggerd: resuming target 38
09-21 13:37:25.074 9 9 W : debuggerd: handling request: pid=39 uid=1013 gid=1005 tid=39
09-21 13:37:25.074 8 8 W : debuggerd: handling request: pid=39 uid=1013 gid=1005 tid=39
09-21 13:37:25.095 8 8 W : debuggerd: resuming target 39
09-21 13:37:25.096 9 9 W : debuggerd: handling request: pid=218 uid=1023 gid=1023 tid=218
09-21 13:37:25.111 9 9 W : debuggerd: resuming target 218
09-21 13:37:25.627 112 126 E ActivityManager: ANR in com.android.vending (com.android.vending/com.google.android.finsky.unauthenticated.UnauthenticatedMainActivity)
09-21 13:37:25.627 112 126 E ActivityManager: PID: 3262
09-21 13:37:25.627 112 126 E ActivityManager: Reason: Input dispatching timed out (Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago. Wait queue length: 49. Wait queue head age: 5505.2ms.)
09-21 13:37:25.627 112 126 E ActivityManager: Load: 0.87 / 1.71 / 1.28
09-21 13:37:25.627 112 126 E ActivityManager: CPU usage from 18685ms to 0ms ago (2018-09-21 13:37:06.071 to 2018-09-21 13:37:24.757):
09-21 13:37:25.627 112 126 E ActivityManager: 2.4% 112/system_server: 1.3% user + 1% kernel / faults: 3315 minor 2 major
09-21 13:37:25.627 112 126 E ActivityManager: 0.8% 28/surfaceflinger: 0.5% user + 0.3% kernel
09-21 13:37:25.627 112 126 E ActivityManager: 0% 53/adbd: 0% user + 0% kernel / faults: 251 minor 8 major
09-21 13:37:25.627 112 126 E ActivityManager: 0.4% 456/org.anbox.appmgr: 0.3% user + 0.1% kernel / faults: 91 minor 2 major
09-21 13:37:25.627 112 126 E ActivityManager: 0.3% 7/logd: 0% user + 0.3% kernel / faults: 18 minor 1 major
09-21 13:37:25.627 112 126 E ActivityManager: 0.2% 2790/com.google.android.gms: 0.2% user + 0% kernel / faults: 735 minor
09-21 13:37:25.627 112 126 E ActivityManager: 0.2% 2806/com.google.android.gms.persistent: 0.2% user + 0% kernel / faults: 748 minor
09-21 13:37:25.627 112 126 E ActivityManager: 0.1% 232/com.android.systemui: 0.1% user + 0% kernel / faults: 51 minor
09-21 13:37:25.627 112 126 E ActivityManager: 0.1% 545/com.google.process.gapps: 0.1% user + 0% kernel / faults: 344 minor
09-21 13:37:25.627 112 126 E ActivityManager: 0% 292/com.android.phone: 0% user + 0% kernel / faults: 91 minor
09-21 13:37:25.627 112 126 E ActivityManager: 0% 9/debuggerd64: 0% user + 0% kernel / faults: 108 minor
09-21 13:37:25.627 112 126 E ActivityManager: 0% 25/logcat: 0% user + 0% kernel
09-21 13:37:25.627 112 126 E ActivityManager: 0% 26/lmkd: 0% user + 0% kernel
09-21 13:37:25.627 112 126 E ActivityManager: 0% 27/servicemanager: 0% user + 0% kernel
09-21 13:37:25.627 112 126 E ActivityManager: 0% 29/zygote64: 0% user + 0% kernel / faults: 310 minor
09-21 13:37:25.627 112 126 E ActivityManager: 0% 38/media.extractor: 0% user + 0% kernel / faults: 63 minor
09-21 13:37:25.627 112 126 E ActivityManager: 0% 45/logcat: 0% user + 0% kernel
09-21 13:37:25.627 112 126 E ActivityManager: 0% 608/android.process.media: 0% user + 0% kernel / faults: 197 minor
09-21 13:37:25.627 112 126 E ActivityManager: +0% 3255/logcat: 0% user + 0% kernel
09-21 13:37:25.627 112 126 E ActivityManager: +0% 3262/com.android.vending: 0% user + 0% kernel
09-21 13:37:25.627 112 126 E ActivityManager: 18% TOTAL: 9.9% user + 7% kernel + 1.4% iowait + 0% softirq
09-21 13:37:25.627 112 126 E ActivityManager: CPU usage from 365ms to 867ms later (2018-09-21 13:37:25.122 to 2018-09-21 13:37:25.624):
09-21 13:37:25.627 112 126 E ActivityManager: 3.9% 112/system_server: 1.9% user + 1.9% kernel / faults: 26 minor
09-21 13:37:25.627 112 126 E ActivityManager: 3.9% 122/HeapTaskDaemon: 3.9% user + 0% kernel
09-21 13:37:25.627 112 126 E ActivityManager: 27% TOTAL: 23% user + 3.9% kernel
09-21 13:37:25.627 112 127 W ActivityManager: Force finishing activity com.android.vending/com.google.android.finsky.unauthenticated.UnauthenticatedMainActivity
09-21 13:37:25.632 112 127 W ActivityManager: Force finishing activity com.android.vending/com.google.android.finsky.unauthenticated.UnauthenticatedMainActivity
09-21 13:37:25.632 112 127 W ActivityManager: Duplicate finish request for ActivityRecord{9196a22 u0 com.android.vending/com.google.android.finsky.unauthenticated.UnauthenticatedMainActivity t16 f}
09-21 13:37:25.632 112 127 I ActivityManager: Killing 3262:com.android.vending/u0a24 (adj 0): user request after error
09-21 13:37:25.638 456 456 D ViewRootImpl[AppViewActivity]: updatePointerIcon called with position out of bounds
09-21 13:37:25.673 112 145 W InputDispatcher: channel '319f7a0 com.android.vending/com.google.android.finsky.unauthenticated.UnauthenticatedMainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0xd
09-21 13:37:25.673 112 840 D GraphicsStats: Buffer count: 3
09-21 13:37:25.673 112 817 I WindowManager: WIN DEATH: Window{319f7a0 u0 com.android.vending/com.google.android.finsky.unauthenticated.UnauthenticatedMainActivity}
09-21 13:37:25.673 112 324 D ActivityManager: cleanUpApplicationRecord -- 3262
09-21 13:37:25.673 112 324 W ActivityManager: Scheduling restart of crashed service com.android.vending/com.google.android.finsky.scheduler.JobSchedulerEngine$PhoneskyJobSchedulerJobService in 1000ms
09-21 13:37:25.674 112 145 E InputDispatcher: channel '319f7a0 com.android.vending/com.google.android.finsky.unauthenticated.UnauthenticatedMainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
09-21 13:37:25.674 112 817 W InputDispatcher: Attempted to unregister already unregistered input channel '319f7a0 com.android.vending/com.google.android.finsky.unauthenticated.UnauthenticatedMainActivity (server)'
09-21 13:37:25.675 112 324 I AnboxPlatformServiceProxy: Task removed id=16
09-21 13:37:28.678 112 216 E TaskPersister: File error accessing recents directory (directory doesn't exist?).
I don't see any error but when I launch anbox.appmgr, there is no play store
`
~ sudo ./install-playstore.sh
/var/snap/anbox/common/rootfs-overlay
/home/me/anbox-work
Extracting anbox android image
Parallel unsquashfs: Using 8 processors
1836 inodes (8401 blocks) to write
[======================================================================================-] 8401/8401 100%
created 1659 files
created 280 directories
created 177 symlinks
created 0 devices
created 0 fifos
Loading open gapps from https://github.com/opengapps/x86_64/releases/download/20190730/open_gapps-x86_64-7.1-mini-20190730.zip
open_gapps-x86_64-7.1-mini 100%[=====================================>] 300.57M 1.67MB/s in 3m 51s
Archive: ./open_gapps-x86_64-7.1-mini-20190730.zip
signed by SignApk
extracting: opengapps/Core/configupdater-all.tar.lz
extracting: opengapps/Core/defaultetc-common.tar.lz
extracting: opengapps/Core/defaultframework-common.tar.lz
extracting: opengapps/Core/extservicesgoogle-all.tar.lz
extracting: opengapps/Core/extsharedgoogle-all.tar.lz
extracting: opengapps/Core/gmscore-x86_64.tar.lz
extracting: opengapps/Core/googlebackuptransport-all.tar.lz
extracting: opengapps/Core/googlecontactssync-all.tar.lz
extracting: opengapps/Core/googlefeedback-all.tar.lz
extracting: opengapps/Core/googleonetimeinitializer-all.tar.lz
extracting: opengapps/Core/googlepartnersetup-all.tar.lz
extracting: opengapps/Core/gsfcore-all.tar.lz
extracting: opengapps/Core/gsflogin-all.tar.lz
extracting: opengapps/Core/setupwizarddefault-all.tar.lz
extracting: opengapps/Core/setupwizardtablet-all.tar.lz
extracting: opengapps/Core/vending-x86_64.tar.lz
extracting: opengapps/GApps/batteryusage-all.tar.lz
extracting: opengapps/GApps/calculatorgoogle-all.tar.lz
extracting: opengapps/GApps/calendargoogle-all.tar.lz
extracting: opengapps/GApps/calsync-all.tar.lz
extracting: opengapps/GApps/carrierservices-x86.tar.lz
extracting: opengapps/GApps/clockgoogle-all.tar.lz
extracting: opengapps/GApps/dialerframework-common.tar.lz
extracting: opengapps/GApps/exchangegoogle-all.tar.lz
extracting: opengapps/GApps/facedetect-lib-x86.tar.lz
extracting: opengapps/GApps/facedetect-lib-x86_64.tar.lz
extracting: opengapps/GApps/gmail-all.tar.lz
extracting: opengapps/GApps/googletts-x86.tar.lz
extracting: opengapps/GApps/maps-x86_64.tar.lz
extracting: opengapps/GApps/messenger-x86.tar.lz
extracting: opengapps/GApps/photos-x86.tar.lz
extracting: opengapps/GApps/pixelicons-all.tar.lz
extracting: opengapps/GApps/pixellauncher-all.tar.lz
extracting: opengapps/GApps/search-x86.tar.lz
extracting: opengapps/GApps/speech-common.tar.lz
extracting: opengapps/GApps/taggoogle-all.tar.lz
extracting: opengapps/GApps/wallpapers-all.tar.lz
extracting: opengapps/GApps/youtube-x86_64.tar.lz
extracting: opengapps/LICENSE
extracting: opengapps/META-INF/com/google/android/update-binary
extracting: opengapps/META-INF/com/google/android/updater-script
extracting: opengapps/Optional/swypelibs-lib-x86_64.tar.lz
extracting: opengapps/app_densities.txt
extracting: opengapps/app_sizes.txt
extracting: opengapps/bkup_tail.sh
extracting: opengapps/busybox-x86
extracting: opengapps/g.prop
extracting: opengapps/gapps-remove.txt
extracting: opengapps/installer.sh
extracting: opengapps/tar-x86
extracting: opengapps/unzip-x86
extracting: opengapps/zip-x86
inflating: opengapps/META-INF/MANIFEST.MF
inflating: opengapps/META-INF/CERT.SF
inflating: opengapps/META-INF/CERT.RSA
extracting open gapps
configupdater-all/
configupdater-all/nodpi/
configupdater-all/nodpi/priv-app/
configupdater-all/nodpi/priv-app/ConfigUpdater/
configupdater-all/nodpi/priv-app/ConfigUpdater/ConfigUpdater.apk
defaultetc-common/
defaultetc-common/common/
defaultetc-common/common/etc/
defaultetc-common/common/etc/sysconfig/
defaultetc-common/common/etc/sysconfig/google_exclusives_enable.xml
defaultetc-common/common/etc/sysconfig/google_build.xml
defaultetc-common/common/etc/sysconfig/google.xml
defaultetc-common/common/etc/preferred-apps/
defaultetc-common/common/etc/preferred-apps/google.xml
defaultetc-common/common/etc/default-permissions/
defaultetc-common/common/etc/default-permissions/opengapps-permissions.xml
defaultetc-common/common/etc/default-permissions/default-permissions.xml
defaultframework-common/
defaultframework-common/common/
defaultframework-common/common/framework/
defaultframework-common/common/framework/com.google.android.media.effects.jar
defaultframework-common/common/framework/com.google.android.maps.jar
defaultframework-common/common/etc/
defaultframework-common/common/etc/permissions/
defaultframework-common/common/etc/permissions/com.google.android.media.effects.xml
defaultframework-common/common/etc/permissions/com.google.android.maps.xml
extservicesgoogle-all/
extservicesgoogle-all/nodpi/
extservicesgoogle-all/nodpi/priv-app/
extservicesgoogle-all/nodpi/priv-app/GoogleExtServices/
extservicesgoogle-all/nodpi/priv-app/GoogleExtServices/GoogleExtServices.apk
extsharedgoogle-all/
extsharedgoogle-all/nodpi/
extsharedgoogle-all/nodpi/app/
extsharedgoogle-all/nodpi/app/GoogleExtShared/
extsharedgoogle-all/nodpi/app/GoogleExtShared/GoogleExtShared.apk
gmscore-x86_64/
gmscore-x86_64/nodpi/
gmscore-x86_64/nodpi/priv-app/
gmscore-x86_64/nodpi/priv-app/PrebuiltGmsCore/
gmscore-x86_64/nodpi/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk
googlebackuptransport-all/
googlebackuptransport-all/nodpi/
googlebackuptransport-all/nodpi/priv-app/
googlebackuptransport-all/nodpi/priv-app/GoogleBackupTransport/
googlebackuptransport-all/nodpi/priv-app/GoogleBackupTransport/GoogleBackupTransport.apk
googlecontactssync-all/
googlecontactssync-all/nodpi/
googlecontactssync-all/nodpi/app/
googlecontactssync-all/nodpi/app/GoogleContactsSyncAdapter/
googlecontactssync-all/nodpi/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk
googlefeedback-all/
googlefeedback-all/nodpi/
googlefeedback-all/nodpi/priv-app/
googlefeedback-all/nodpi/priv-app/GoogleFeedback/
googlefeedback-all/nodpi/priv-app/GoogleFeedback/GoogleFeedback.apk
googleonetimeinitializer-all/
googleonetimeinitializer-all/nodpi/
googleonetimeinitializer-all/nodpi/priv-app/
googleonetimeinitializer-all/nodpi/priv-app/GoogleOneTimeInitializer/
googleonetimeinitializer-all/nodpi/priv-app/GoogleOneTimeInitializer/GoogleOneTimeInitializer.apk
googlepartnersetup-all/
googlepartnersetup-all/nodpi/
googlepartnersetup-all/nodpi/priv-app/
googlepartnersetup-all/nodpi/priv-app/GooglePartnerSetup/
googlepartnersetup-all/nodpi/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk
gsfcore-all/
gsfcore-all/nodpi/
gsfcore-all/nodpi/priv-app/
gsfcore-all/nodpi/priv-app/GoogleServicesFramework/
gsfcore-all/nodpi/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk
gsflogin-all/
gsflogin-all/nodpi/
gsflogin-all/nodpi/priv-app/
gsflogin-all/nodpi/priv-app/GoogleLoginService/
gsflogin-all/nodpi/priv-app/GoogleLoginService/GoogleLoginService.apk
setupwizarddefault-all/
setupwizarddefault-all/nodpi/
setupwizarddefault-all/nodpi/priv-app/
setupwizarddefault-all/nodpi/priv-app/SetupWizard/
setupwizarddefault-all/nodpi/priv-app/SetupWizard/SetupWizard.apk
setupwizardtablet-all/
setupwizardtablet-all/nodpi/
setupwizardtablet-all/nodpi/priv-app/
setupwizardtablet-all/nodpi/priv-app/SetupWizard/
setupwizardtablet-all/nodpi/priv-app/SetupWizard/SetupWizard.apk
vending-x86_64/
vending-x86_64/nodpi/
vending-x86_64/nodpi/priv-app/
vending-x86_64/nodpi/priv-app/Phonesky/
vending-x86_64/nodpi/priv-app/Phonesky/Phonesky.apk
adding lib houdini
houdini_y.sfs 100%[=====================================>] 35.98M 1.97MB/s in 19s
Parallel unsquashfs: Using 8 processors
170 inodes (828 blocks) to write
[========================================================================================|] 828/828 100%
created 170 files
created 2 directories
created 0 symlinks
created 0 devices
created 0 fifos
houdini_z.sfs 100%[=====================================>] 35.53M 1.48MB/s in 18s
Parallel unsquashfs: Using 8 processors
166 inodes (926 blocks) to write
[========================================================================================|] 926/926 100%
created 166 files
created 2 directories
created 0 symlinks
created 0 devices
created 0 fifos
:arm_exe:M::\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28::/system/lib/arm/houdini:P
tee: /proc/sys/fs/binfmt_misc/register: File exists
:arm_dyn:M::\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x28::/system/lib/arm/houdini:P
tee: /proc/sys/fs/binfmt_misc/register: File exists
:arm64_exe:M::\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7::/system/lib64/arm64/houdini64:P
tee: /proc/sys/fs/binfmt_misc/register: File exists
:arm64_dyn:M::\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\xb7::/system/lib64/arm64/houdini64:P
tee: /proc/sys/fs/binfmt_misc/register: File exists
Modify anbox features
persist.sys.nativebridge=1
ro.opengles.version=131072
Restart anbox
Restarted.
`
it is now possible to add files to anbox's root according to https://docs.anbox.io/userguide/advanced/rootfs_overlay.html
it might be useful if the script can make use of it
In order for the scripts to run at all on as many systems as possible, this is ideal:
-#!/bin/bash
+#!/usr/bin/env bash
The only other hurdle I hit trying to get it to work on NixOS was that /var/lib/anbox/android.img
was missing, the NixOS service uses --android-image
to specify its path, so there's no need for a copy of it to exist in /var/lib
.
Something like this seems to work: sudo ln -s $(systemctl show anbox-container-manager.service -P ExecStart | grep ' --android-image=' | sed 's/^.* --android-image=//;s/;.*//;s/ --.*//') /var/lib/anbox/android.img
But I doubt that's the cleanest way to extract the value of --android-image
from the systemd unit file.
In any case, neither of these is specific to NixOS, and I wanted to leave this note here in case I don't get around making a PR (which would be easy for the shebang thing, but it's less obvious how to handle the --android-image
).
It might be that some apps need more google services so gapps full install might help? I would like to try.
When attempting to run this script, it caused all filesystem free space checks to result in 0 bytes free space remaining, causing most of the system to be unusable, as well as wiping Whisker Menu favorites (for whatever reason). The only solution to this is to delete the android.img.
The entire filesystem is on a 16gb drive, if that helps.
I installed it successfully and I installed a arm apk in anbox. Installation worked, but when I run this app, only a splash screen showed up, then app quited autometically.
Anbox Container Manager fails with the following errors:
Failed to mount "/var/lib/anbox/combined-rootfs": No such device
Failed to setup rootfs overlay
The installer succeeded without error but the combined-rootfs directory is empty (not sure if it's normal or the cause of the error).
If I remove the --use-rootfs-overlay argument the Container Manager start successfully but no gapps of course.
I'm running ArchLinuxARM on a Pinephone.
I run todays version of https://raw.githubusercontent.com/geeks-r-us/anbox-playstore-installer/master/install-playstore.sh
I run the script but dont see the google play apps in app list.
Runed the script successfully, restarted the anbox, but there is no Google Store among Apps.
Any solution?
Both scripts install the arm64 libraries and add houdini64 binfmt entries, but arm64-v8a
is not added to ro.product.cpu.abilist
and ro.product.cpu.abilist64
in build.prop
. Users may not be able to install APKs built for arm64.
Thanks for this script. I tried to execute it with the --beta
and the --edge
version of anbox, but it fails in the last step of $SUDO systemctl start snap-anbox-$NUMBER.mount
while remounting the patched snap-Image. I'm not very proficient how to debug this.
The original error is this:
$ journalctl -xe
Jul 14 13:54:53 srv snapd[2767]: 2018/07/14 13:54:53.199886 snapmgr.go:228: cannot read snap info of snap "anbox" at revision 125: cannot find installed snap "anbox" at re$
Jul 14 13:55:20 srv systemd[1]: ^[[0;1;39mdev-loop0.device: Job dev-loop0.device/start timed out.
Jul 14 13:55:20 srv systemd[1]: Timed out waiting for device /dev/loop0.
-- Subject: Unit dev-loop0.device has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit dev-loop0.device has failed.
--
-- The result is timeout.
Jul 14 13:55:20 srv systemd[1]: ^[[0;1;39mDependency failed for Mount unit for anbox, revision 125.
-- Subject: Unit snap-anbox-125.mount has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit snap-anbox-125.mount has failed.
--
-- The result is dependency.
Jul 14 13:55:20 srv systemd[1]: ^[[0;1;39msnap-anbox-125.mount: Job snap-anbox-125.mount/start failed with result 'dependency'.
Jul 14 13:55:20 srv systemd[1]: ^[[0;1;39mdev-loop0.device: Job dev-loop0.device/start failed with result 'timeout'.
Can anybody provide a few hints how to diagnose the issue?
Here is the log based on the edge-Version
Parallel unsquashfs: Using 4 processors
1836 inodes (8401 blocks) to write
[============================================================================================================================================================/] 8401/8401 100%
created 1659 files
created 280 directories
created 177 symlinks
created 0 devices
created 0 fifos
configupdater-all/
configupdater-all/nodpi/
configupdater-all/nodpi/priv-app/
configupdater-all/nodpi/priv-app/ConfigUpdater/
configupdater-all/nodpi/priv-app/ConfigUpdater/ConfigUpdater.apk
defaultetc-common/
defaultetc-common/common/
defaultetc-common/common/etc/
defaultetc-common/common/etc/default-permissions/
defaultetc-common/common/etc/default-permissions/default-permissions.xml
defaultetc-common/common/etc/default-permissions/opengapps-permissions.xml
defaultetc-common/common/etc/permissions/
defaultetc-common/common/etc/permissions/privapp-permissions-google.xml
defaultetc-common/common/etc/sysconfig/
defaultetc-common/common/etc/sysconfig/framework-sysconfig.xml
defaultetc-common/common/etc/sysconfig/google.xml
defaultetc-common/common/etc/sysconfig/google_build.xml
defaultetc-common/common/etc/sysconfig/whitelist_com.android.omadm.service.xml
defaultetc-common/common/etc/preferred-apps/
defaultetc-common/common/etc/preferred-apps/google.xml
defaultframework-common/
defaultframework-common/common/
defaultframework-common/common/etc/
defaultframework-common/common/etc/permissions/
defaultframework-common/common/etc/permissions/com.google.android.maps.xml
defaultframework-common/common/etc/permissions/com.google.android.media.effects.xml
defaultframework-common/common/etc/permissions/com.google.widevine.software.drm.xml
defaultframework-common/common/framework/
defaultframework-common/common/framework/com.google.android.maps.jar
defaultframework-common/common/framework/com.google.android.media.effects.jar
defaultframework-common/common/framework/com.google.widevine.software.drm.jar
extservicesgoogle-all/
extservicesgoogle-all/nodpi/
extservicesgoogle-all/nodpi/priv-app/
extservicesgoogle-all/nodpi/priv-app/GoogleExtServices/
extservicesgoogle-all/nodpi/priv-app/GoogleExtServices/GoogleExtServices.apk
extsharedgoogle-all/
extsharedgoogle-all/nodpi/
extsharedgoogle-all/nodpi/app/
extsharedgoogle-all/nodpi/app/GoogleExtShared/
extsharedgoogle-all/nodpi/app/GoogleExtShared/GoogleExtShared.apk
gmscore-x86_64/
gmscore-x86_64/nodpi/
gmscore-x86_64/nodpi/priv-app/
gmscore-x86_64/nodpi/priv-app/PrebuiltGmsCore/
gmscore-x86_64/nodpi/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk
gmssetup-all/
gmssetup-all/nodpi/
gmssetup-all/nodpi/priv-app/
gmssetup-all/nodpi/priv-app/GmsCoreSetupPrebuilt/
gmssetup-all/nodpi/priv-app/GmsCoreSetupPrebuilt/GmsCoreSetupPrebuilt.apk
googlebackuptransport-all/
googlebackuptransport-all/nodpi/
googlebackuptransport-all/nodpi/priv-app/
googlebackuptransport-all/nodpi/priv-app/GoogleBackupTransport/
googlebackuptransport-all/nodpi/priv-app/GoogleBackupTransport/GoogleBackupTransport.apk
googlecontactssync-all/
googlecontactssync-all/nodpi/
googlecontactssync-all/nodpi/app/
googlecontactssync-all/nodpi/app/GoogleContactsSyncAdapter/
googlecontactssync-all/nodpi/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk
googlefeedback-all/
googlefeedback-all/nodpi/
googlefeedback-all/nodpi/priv-app/
googlefeedback-all/nodpi/priv-app/GoogleFeedback/
googlefeedback-all/nodpi/priv-app/GoogleFeedback/GoogleFeedback.apk
googleonetimeinitializer-all/
googleonetimeinitializer-all/nodpi/
googleonetimeinitializer-all/nodpi/priv-app/
googleonetimeinitializer-all/nodpi/priv-app/GoogleOneTimeInitializer/
googleonetimeinitializer-all/nodpi/priv-app/GoogleOneTimeInitializer/GoogleOneTimeInitializer.apk
googlepartnersetup-all/
googlepartnersetup-all/nodpi/
googlepartnersetup-all/nodpi/priv-app/
googlepartnersetup-all/nodpi/priv-app/GooglePartnerSetup/
googlepartnersetup-all/nodpi/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk
gsfcore-all/
gsfcore-all/nodpi/
gsfcore-all/nodpi/priv-app/
gsfcore-all/nodpi/priv-app/GoogleServicesFramework/
gsfcore-all/nodpi/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk
gsflogin-all/
gsflogin-all/nodpi/
gsflogin-all/nodpi/priv-app/
gsflogin-all/nodpi/priv-app/GoogleLoginService/
gsflogin-all/nodpi/priv-app/GoogleLoginService/GoogleLoginService.apk
setupwizarddefault-all/
setupwizarddefault-all/nodpi/
setupwizarddefault-all/nodpi/priv-app/
setupwizarddefault-all/nodpi/priv-app/SetupWizard/
setupwizarddefault-all/nodpi/priv-app/SetupWizard/SetupWizard.apk
setupwizardtablet-all/
setupwizardtablet-all/nodpi/
setupwizardtablet-all/nodpi/priv-app/
setupwizardtablet-all/nodpi/priv-app/SetupWizard/
setupwizardtablet-all/nodpi/priv-app/SetupWizard/SetupWizard.apk
vending-x86_64/
vending-x86_64/240-320-480/
vending-x86_64/240-320-480/priv-app/
vending-x86_64/240-320-480/priv-app/Phonesky/
vending-x86_64/240-320-480/priv-app/Phonesky/Phonesky.apk
libhoudini.so 100%[==========================================================================================>] 3,16M 5,45MB/s in 0,6s
Parallel mksquashfs: Using 4 processors
Creating 4.0 filesystem on android.img, block size 131072.
[============================================================================================================================================================-] 9794/9794 100%
Exportable Squashfs 4.0 filesystem, xz compressed, data block size 131072
compressed data, compressed metadata, compressed fragments, compressed xattrs
duplicates are removed
Filesystem size 403837.20 Kbytes (394.37 Mbytes)
37.12% of uncompressed filesystem size (1087998.19 Kbytes)
Inode table size 38960 bytes (38.05 Kbytes)
36.16% of uncompressed inode table size (107732 bytes)
Directory table size 21838 bytes (21.33 Kbytes)
40.77% of uncompressed directory table size (53568 bytes)
Number of duplicate files found 40
Number of inodes 2299
Number of files 1835
Number of fragments 378
Number of symbolic links 177
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 287
Number of ids (unique uids + gids) 4
Number of uids 2
unknown (100000)
unknown (101000)
Number of gids 4
unknown (100000)
unknown (102000)
unknown (101000)
unknown (101003)
changing anbox snap 125
Parallel unsquashfs: Using 4 processors
1323 inodes (5374 blocks) to write
[============================================================================================================================================================/] 5374/5374 100%
created 1190 files
created 171 directories
created 119 symlinks
created 0 devices
created 0 fifos
Parallel mksquashfs: Using 4 processors
Creating 4.0 filesystem on anbox_125.snap, block size 131072.
[============================================================================================================================================================|] 5923/5923 100%
Exportable Squashfs 4.0 filesystem, xz compressed, data block size 131072
compressed data, compressed metadata, compressed fragments, compressed xattrs
duplicates are removed
Filesystem size 465288.79 Kbytes (454.38 Mbytes)
74.33% of uncompressed filesystem size (625941.31 Kbytes)
Inode table size 17066 bytes (16.67 Kbytes)
25.01% of uncompressed inode table size (68243 bytes)
Directory table size 14653 bytes (14.31 Kbytes)
44.39% of uncompressed directory table size (33013 bytes)
Number of duplicate files found 17
Number of inodes 1480
Number of files 1190
Number of fragments 139
Number of symbolic links 119
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 171
Number of ids (unique uids + gids) 1
Number of uids 1
root (0)
Number of gids 1
root (0)
A dependency job for snap-anbox-125.mount failed. See 'journalctl -xe' for details.
Kindly Adapt support for non snap Anbox and add working Houdini links from this script .
https://github.com/Afsalmc/houdini-anbox/blob/main/install-houdini.sh
The installer breaks anbox on both edge and beta. Running it is fine, but it seems to break the container-manager service, meaning running anbox.appmgr won't work now.
(Example below from anbox edge install -- same thing happens with anbox beta install)
$ ./install-playstore.sh
Restarted.
/var/snap/anbox/common/rootfs-overlay
/home/johnny/Downloads/anbox-work
Extracting anbox android image
Parallel unsquashfs: Using 4 processors
1836 inodes (8401 blocks) to write
[====================================================================================================================================================================/] 8401/8401 100%
created 1659 files
created 280 directories
created 177 symlinks
created 0 devices
created 0 fifos
extracting open gapps
configupdater-all/
configupdater-all/nodpi/
configupdater-all/nodpi/priv-app/
configupdater-all/nodpi/priv-app/ConfigUpdater/
configupdater-all/nodpi/priv-app/ConfigUpdater/ConfigUpdater.apk
defaultetc-common/
defaultetc-common/common/
defaultetc-common/common/etc/
defaultetc-common/common/etc/sysconfig/
defaultetc-common/common/etc/sysconfig/google_exclusives_enable.xml
defaultetc-common/common/etc/sysconfig/google_build.xml
defaultetc-common/common/etc/sysconfig/google.xml
defaultetc-common/common/etc/preferred-apps/
defaultetc-common/common/etc/preferred-apps/google.xml
defaultetc-common/common/etc/default-permissions/
defaultetc-common/common/etc/default-permissions/opengapps-permissions.xml
defaultetc-common/common/etc/default-permissions/default-permissions.xml
defaultframework-common/
defaultframework-common/common/
defaultframework-common/common/framework/
defaultframework-common/common/framework/com.google.android.media.effects.jar
defaultframework-common/common/framework/com.google.android.maps.jar
defaultframework-common/common/etc/
defaultframework-common/common/etc/permissions/
defaultframework-common/common/etc/permissions/com.google.android.media.effects.xml
defaultframework-common/common/etc/permissions/com.google.android.maps.xml
extservicesgoogle-all/
extservicesgoogle-all/nodpi/
extservicesgoogle-all/nodpi/priv-app/
extservicesgoogle-all/nodpi/priv-app/GoogleExtServices/
extservicesgoogle-all/nodpi/priv-app/GoogleExtServices/GoogleExtServices.apk
extsharedgoogle-all/
extsharedgoogle-all/nodpi/
extsharedgoogle-all/nodpi/app/
extsharedgoogle-all/nodpi/app/GoogleExtShared/
extsharedgoogle-all/nodpi/app/GoogleExtShared/GoogleExtShared.apk
gmscore-x86_64/
gmscore-x86_64/nodpi/
gmscore-x86_64/nodpi/priv-app/
gmscore-x86_64/nodpi/priv-app/PrebuiltGmsCore/
gmscore-x86_64/nodpi/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk
googlebackuptransport-all/
googlebackuptransport-all/nodpi/
googlebackuptransport-all/nodpi/priv-app/
googlebackuptransport-all/nodpi/priv-app/GoogleBackupTransport/
googlebackuptransport-all/nodpi/priv-app/GoogleBackupTransport/GoogleBackupTransport.apk
googlecontactssync-all/
googlecontactssync-all/nodpi/
googlecontactssync-all/nodpi/app/
googlecontactssync-all/nodpi/app/GoogleContactsSyncAdapter/
googlecontactssync-all/nodpi/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk
googlefeedback-all/
googlefeedback-all/nodpi/
googlefeedback-all/nodpi/priv-app/
googlefeedback-all/nodpi/priv-app/GoogleFeedback/
googlefeedback-all/nodpi/priv-app/GoogleFeedback/GoogleFeedback.apk
googleonetimeinitializer-all/
googleonetimeinitializer-all/nodpi/
googleonetimeinitializer-all/nodpi/priv-app/
googleonetimeinitializer-all/nodpi/priv-app/GoogleOneTimeInitializer/
googleonetimeinitializer-all/nodpi/priv-app/GoogleOneTimeInitializer/GoogleOneTimeInitializer.apk
googlepartnersetup-all/
googlepartnersetup-all/nodpi/
googlepartnersetup-all/nodpi/priv-app/
googlepartnersetup-all/nodpi/priv-app/GooglePartnerSetup/
googlepartnersetup-all/nodpi/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk
gsfcore-all/
gsfcore-all/nodpi/
gsfcore-all/nodpi/priv-app/
gsfcore-all/nodpi/priv-app/GoogleServicesFramework/
gsfcore-all/nodpi/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk
gsflogin-all/
gsflogin-all/nodpi/
gsflogin-all/nodpi/priv-app/
gsflogin-all/nodpi/priv-app/GoogleLoginService/
gsflogin-all/nodpi/priv-app/GoogleLoginService/GoogleLoginService.apk
setupwizarddefault-all/
setupwizarddefault-all/nodpi/
setupwizarddefault-all/nodpi/priv-app/
setupwizarddefault-all/nodpi/priv-app/SetupWizard/
setupwizarddefault-all/nodpi/priv-app/SetupWizard/SetupWizard.apk
setupwizardtablet-all/
setupwizardtablet-all/nodpi/
setupwizardtablet-all/nodpi/priv-app/
setupwizardtablet-all/nodpi/priv-app/SetupWizard/
setupwizardtablet-all/nodpi/priv-app/SetupWizard/SetupWizard.apk
vending-x86_64/
vending-x86_64/nodpi/
vending-x86_64/nodpi/priv-app/
vending-x86_64/nodpi/priv-app/Phonesky/
vending-x86_64/nodpi/priv-app/Phonesky/Phonesky.apk
adding lib houdini
tee: /proc/sys/fs/binfmt_misc/register: No such file or directory
:arm_exe:M::\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28::/system/lib/arm/houdini:P
tee: /proc/sys/fs/binfmt_misc/register: No such file or directory
:arm_dyn:M::\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x28::/system/lib/arm/houdini:P
tee: /proc/sys/fs/binfmt_misc/register: No such file or directory
:arm64_exe:M::\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7::/system/lib64/arm64/houdini64:P
tee: /proc/sys/fs/binfmt_misc/register: No such file or directory
:arm64_dyn:M::\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\xb7::/system/lib64/arm64/houdini64:P
Modify anbox features
persist.sys.nativebridge=1
ro.opengles.version=131072
Restart anbox
Restarted.
$ snap info anbox
name: anbox
summary: Android in a Box
publisher: morphis
contact: https://anbox.io
license: unset
description: |
Runtime for Android applications which runs a full Android system
in a container using Linux namespaces (user, ipc, net, mount) to
separate the Android system fully from the host.
You can find further details in our documentation at
https://github.com/anbox/anbox/blob/master/README.md
commands:
- anbox
- anbox.android-settings
- anbox.appmgr
- anbox.collect-bug-info
- anbox.shell
services:
anbox.container-manager: simple, enabled, inactive
snap-id: Nr9K6UJaIOD8wHpDEQl16nabFFt9LLEQ
tracking: edge
refresh-date: today at 08:27 BST
channels:
stable: –
candidate: –
beta: 4-e1ecd04 2018-10-17 (158) 391MB devmode
edge: 4-32cd10e 2019-09-09 (180) 391MB devmode
installed: 4-32cd10e (180) 391MB devmode
$ sudo snap restart anbox.container-manager
Restarted.
$ snap info anbox
name: anbox
summary: Android in a Box
publisher: morphis
contact: https://anbox.io
license: unset
description: |
Runtime for Android applications which runs a full Android system
in a container using Linux namespaces (user, ipc, net, mount) to
separate the Android system fully from the host.
You can find further details in our documentation at
https://github.com/anbox/anbox/blob/master/README.md
commands:
- anbox
- anbox.android-settings
- anbox.appmgr
- anbox.collect-bug-info
- anbox.shell
services:
anbox.container-manager: simple, enabled, inactive
snap-id: Nr9K6UJaIOD8wHpDEQl16nabFFt9LLEQ
tracking: edge
refresh-date: today at 08:27 BST
channels:
stable: –
candidate: –
beta: 4-e1ecd04 2018-10-17 (158) 391MB devmode
edge: 4-32cd10e 2019-09-09 (180) 391MB devmode
installed: 4-32cd10e (180) 391MB devmode
A fresh anbox 176
install with open_gapps-x86_64-7.1-mini-20190625.zip
.
Pressing "SIGN IN" button in Play Store does pretty much nothing.
Doesn't seem like Play Store itself is freezing either.
Settings > Accounts > Add account does nothing too.
In fact it appears to crash Settings after a few moments.
I've tried purging user data /var/snap/anbox/common/data
then restarted anbox, still the same issue.
It's a fresh install cause I had the same issue with an old install.
Play Store said I had to re-authorize, but couldn't, so I reinstalled anbox.
I'm not sure if this is because of houdini or because of an issue with the image.
08-05 21:43:51.114 1288 1288 E ncaughtExceptionHandler: java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/com.microsoft.office.lync15-1/lib/arm/libBreakpadLibrary.so" has unexpected e_machine: 40 08-05 21:43:51.114 1288 1288 E ncaughtExceptionHandler: at java.lang.Runtime.loadLibrary0(Runtime.java:989) 08-05 21:43:51.114 1288 1288 E ncaughtExceptionHandler: at java.lang.System.loadLibrary(System.java:1530) 08-05 21:43:51.114 1288 1288 E ncaughtExceptionHandler: at com.microsoft.breakpad.BreakpadWrapper.<clinit>(BreakpadWrapper.java:93) 08-05 21:43:51.114 1288 1288 E ncaughtExceptionHandler: at com.microsoft.breakpad.BreakpadWrapper.getInstance(BreakpadWrapper.java:50)
Get master on 11/26 and change script according to issue 56.
$ ./install-playstore.sh
/var/snap/anbox/common/rootfs-overlay
/home/doyou89/work/anbox-playstore-installer/anbox-work
Extracting anbox android image
Parallel unsquashfs: Using 6 processors
1836 inodes (8401 blocks) to write
[========================================================================================================|] 8401/8401 100%
created 1659 files
created 280 directories
created 177 symlinks
created 0 devices
created 0 fifos
Loading open gapps from https://sourceforge.net/projects/opengapps/files/x86_64/20201121/open_gapps-x86_64-7.1-pico-20201121.zip
But play store not exist when i run anbox.appmgr
.
Ideally, there should be a way to reinstall Google Play Store offline without downloading files and extracting archives again.
Some times ago, I modified the script in this way, maybe it will help other people until it is supported by default:
#!/bin/bash
# Copyright 2019 [email protected]
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights to
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
# of the Software, and to permit persons to whom the Software is furnished to do so,
# subject to the following conditions:
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
# INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
# PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
# CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
# OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# For further information see: http://geeks-r-us.de/2017/08/26/android-apps-auf-dem-linux-desktop/
# If you find this piece of software useful and or want to support it's development think of
# buying me a coffee https://ko-fi.com/geeks_r_us
# die when an error occurs
set -e
WORKDIR="$(pwd)/anbox-work_custom"
# use sudo if installed
if [ ! "$(which sudo)" ]; then
SUDO=""
else
SUDO=$(which sudo)
fi
# clean downloads
if [ "$1" = "--clean" ]; then
$SUDO rm -rf "$WORKDIR"
exit 0
fi
# check if script was started with BASH
if [ ! "$(ps -p $$ -oargs= | awk '{print $1}' | grep -E 'bash$')" ]; then
echo "Please use BASH to start the script!"
exit 1
fi
# check if lzip is installed
if [ ! "$(which lzip)" ]; then
echo -e "lzip is not installed. Please install lzip.\nExample: sudo apt install lzip"
exit 1
fi
# check if squashfs-tools are installed
if [ ! "$(which mksquashfs)" ] || [ ! "$(which unsquashfs)" ]; then
echo -e "squashfs-tools is not installed. Please install squashfs-tools.\nExample: sudo apt install squashfs-tools"
exit 1
else
MKSQUASHFS=$(which mksquashfs)
UNSQUASHFS=$(which unsquashfs)
fi
# check if wget is installed
if [ ! "$(which wget)" ]; then
echo -e "wget is not installed. Please install wget.\nExample: sudo apt install wget"
exit 1
else
WGET=$(which wget)
fi
# check if curl is installed
if [ ! "$(which curl)" ]; then
echo -e "curl is not installed. Please install curl.\nExample: sudo apt install curl"
exit 1
else
CURL=$(which curl)
fi
# check if unzip is installed
if [ ! "$(which unzip)" ]; then
echo -e "unzip is not installed. Please install unzip.\nExample: sudo apt install unzip"
exit 1
else
UNZIP=$(which unzip)
fi
# check if tar is installed
if [ ! "$(which tar)" ]; then
echo -e "tar is not installed. Please install tar.\nExample: sudo apt install tar"
exit 1
else
TAR=$(which tar)
fi
# get latest releasedate based on tag_name for latest x86_64 build
#OPENGAPPS_RELEASEDATE="$($CURL -s https://api.github.com/repos/opengapps/x86_64/releases/latest | head -n 10 | grep tag_name | grep -o "\"[0-9][0-9]*\"" | grep -o "[0-9]*")"
#OPENGAPPS_FILE="open_gapps-x86_64-7.1-mini-$OPENGAPPS_RELEASEDATE.zip"
#OPENGAPPS_URL="https://sourceforge.net/projects/opengapps/files/x86_64/$OPENGAPPS_RELEASEDATE/$OPENGAPPS_FILE"
#HOUDINI_Y_URL="http://dl.android-x86.org/houdini/7_y/houdini.sfs"
#HOUDINI_Z_URL="http://dl.android-x86.org/houdini/7_z/houdini.sfs"
COMBINEDDIR="/var/snap/anbox/common/combined-rootfs"
OVERLAYDIR="/var/snap/anbox/common/rootfs-overlay"
OPENGAPPS_FOLDER=$WORKDIR"/opengapps"
HOUDINI_Y_FOLDER=$WORKDIR"/houdini_y"
HOUDINI_Z_FOLDER=$WORKDIR"/houdini_z"
if [ ! -d "$COMBINEDDIR" ]; then
# enable overlay fs
$SUDO snap set anbox rootfs-overlay.enable=true
$SUDO snap restart anbox.container-manager
sleep 20
fi
echo $OVERLAYDIR
if [ ! -d "$OVERLAYDIR" ]; then
echo -e "Overlay no enabled ! Please check error messages!"
exit 1
fi
echo $WORKDIR
if [ ! -d "$WORKDIR" ]; then
mkdir "$WORKDIR"
fi
cd "$WORKDIR"
if [ ! -d "$WORKDIR/squashfs-root" ]; then
echo "Extracting anbox android image"
# get image from anbox
cp /snap/anbox/current/android.img .
$SUDO $UNSQUASHFS android.img
fi
# get opengapps and install it
cd "$WORKDIR"
if [ ! -d "$OPENGAPPS_FOLDER" ]; then
echo "Loading open gapps from $OPENGAPPS_URL"
$WGET -q --show-progress $OPENGAPPS_URL
$UNZIP -d opengapps ./$OPENGAPPS_FILE
echo "extracting open gapps"
cd ./opengapps/Core/
for filename in *.tar.lz
do
$TAR --lzip -xvf ./$filename
done
fi
cd "$WORKDIR"
APPDIR="$OVERLAYDIR/system/priv-app"
if [ ! -d "$APPDIR" ]; then
$SUDO mkdir -p "$APPDIR"
fi
$SUDO cp -r ./$(find opengapps -type d -name "PrebuiltGmsCore") $APPDIR
$SUDO cp -r ./$(find opengapps -type d -name "GoogleLoginService") $APPDIR
$SUDO cp -r ./$(find opengapps -type d -name "Phonesky") $APPDIR
$SUDO cp -r ./$(find opengapps -type d -name "GoogleServicesFramework") $APPDIR
cd "$APPDIR"
$SUDO chown -R 100000:100000 Phonesky GoogleLoginService GoogleServicesFramework PrebuiltGmsCore
echo "adding lib houdini"
# load houdini_y and spread it
cd "$WORKDIR"
if [ ! -d "$HOUDINI_Y_FOLDER" ]; then
$WGET -O houdini_y.sfs -q --show-progress $HOUDINI_Y_URL
mkdir -p houdini_y
$SUDO $UNSQUASHFS -f -d ./houdini_y ./houdini_y.sfs
fi
LIBDIR="$OVERLAYDIR/system/lib"
if [ ! -d "$LIBDIR" ]; then
$SUDO mkdir -p "$LIBDIR"
fi
$SUDO mkdir -p "$LIBDIR/arm"
$SUDO cp -r ./houdini_y/* "$LIBDIR/arm"
$SUDO chown -R 100000:100000 "$LIBDIR/arm"
$SUDO mv "$LIBDIR/arm/libhoudini.so" "$LIBDIR/libhoudini.so"
# load houdini_z and spread it
if [ ! -d "$HOUDINI_Z_FOLDER" ]; then
$WGET -O houdini_z.sfs -q --show-progress $HOUDINI_Z_URL
mkdir -p houdini_z
$SUDO $UNSQUASHFS -f -d ./houdini_z ./houdini_z.sfs
fi
LIBDIR64="$OVERLAYDIR/system/lib64"
if [ ! -d "$LIBDIR64" ]; then
$SUDO mkdir -p "$LIBDIR64"
fi
$SUDO mkdir -p "$LIBDIR64/arm64"
$SUDO cp -r ./houdini_z/* "$LIBDIR64/arm64"
$SUDO chown -R 100000:100000 "$LIBDIR64/arm64"
$SUDO mv "$LIBDIR64/arm64/libhoudini.so" "$LIBDIR64/libhoudini.so"
# add houdini parser
BINFMT_DIR="/proc/sys/fs/binfmt_misc/register"
set +e
echo ':arm_exe:M::\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28::/system/lib/arm/houdini:P' | $SUDO tee -a "$BINFMT_DIR"
echo ':arm_dyn:M::\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x28::/system/lib/arm/houdini:P' | $SUDO tee -a "$BINFMT_DIR"
echo ':arm64_exe:M::\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7::/system/lib64/arm64/houdini64:P' | $SUDO tee -a "$BINFMT_DIR"
echo ':arm64_dyn:M::\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\xb7::/system/lib64/arm64/houdini64:P' | $SUDO tee -a "$BINFMT_DIR"
set -e
echo "Modify anbox features"
# add features
C=$(cat <<-END
<feature name="android.hardware.touchscreen" />\n
<feature name="android.hardware.audio.output" />\n
<feature name="android.hardware.camera" />\n
<feature name="android.hardware.camera.any" />\n
<feature name="android.hardware.location" />\n
<feature name="android.hardware.location.gps" />\n
<feature name="android.hardware.location.network" />\n
<feature name="android.hardware.microphone" />\n
<feature name="android.hardware.screen.portrait" />\n
<feature name="android.hardware.screen.landscape" />\n
<feature name="android.hardware.wifi" />\n
<feature name="android.hardware.bluetooth" />"
END
)
C=$(echo $C | sed 's/\//\\\//g')
C=$(echo $C | sed 's/\"/\\\"/g')
if [ ! -d "$OVERLAYDIR/system/etc/permissions/" ]; then
$SUDO mkdir -p "$OVERLAYDIR/system/etc/permissions/"
$SUDO cp "$WORKDIR/squashfs-root/system/etc/permissions/anbox.xml" "$OVERLAYDIR/system/etc/permissions/anbox.xml"
fi
$SUDO sed -i "/<\/permissions>/ s/.*/${C}\n&/" "$OVERLAYDIR/system/etc/permissions/anbox.xml"
# make wifi and bt available
$SUDO sed -i "/<unavailable-feature name=\"android.hardware.wifi\" \/>/d" "$OVERLAYDIR/system/etc/permissions/anbox.xml"
$SUDO sed -i "/<unavailable-feature name=\"android.hardware.bluetooth\" \/>/d" "$OVERLAYDIR/system/etc/permissions/anbox.xml"
if [ ! -x "$OVERLAYDIR/system/build.prop" ]; then
$SUDO cp "$WORKDIR/squashfs-root/system/build.prop" "$OVERLAYDIR/system/build.prop"
fi
if [ ! -x "$OVERLAYDIR/default.prop" ]; then
$SUDO cp "$WORKDIR/squashfs-root/default.prop" "$OVERLAYDIR/default.prop"
fi
# set processors
$SUDO sed -i "/^ro.product.cpu.abilist=x86_64,x86/ s/$/,armeabi-v7a,armeabi,arm64-v8a/" "$OVERLAYDIR/system/build.prop"
$SUDO sed -i "/^ro.product.cpu.abilist32=x86/ s/$/,armeabi-v7a,armeabi/" "$OVERLAYDIR/system/build.prop"
$SUDO sed -i "/^ro.product.cpu.abilist64=x86_64/ s/$/,arm64-v8a/" "$OVERLAYDIR/system/build.prop"
echo "persist.sys.nativebridge=1" | $SUDO tee -a "$OVERLAYDIR/system/build.prop"
$SUDO sed -i '/ro.zygote=zygote64_32/a\ro.dalvik.vm.native.bridge=libhoudini.so' "$OVERLAYDIR/default.prop"
# enable opengles
echo "ro.opengles.version=131072" | $SUDO tee -a "$OVERLAYDIR/system/build.prop"
echo "Restart anbox"
$SUDO snap restart anbox.container-manager
Update: I commented variables used in URLs because the regex used for the variable OPENGAPPS_RELEASEDATE failed (it would have failed if we don't have an Internet connection as well due to the curl request) and the variables were not needed for offline installation.
The installer script sets up a variable for opengapps with the "mini" version specified. However, there is no mini version available on the opegapps sourceforge download site so the script fails silently. The two versions available are tvstock and pico. I replaced "mini" in the variable def to "pico" and the script finished successfully. I don't know if there are any "mini" files available, but I wasn't able to find any. This was in the x86_64 section, fwiw.
I was able to run the script. Play store installs. I opened the app and logged in. Log was successful although it seemed to freeze up. It eventually closed.
I am now logged in but when I try to load the play store to add applications, the play store window renders is non responsive. Additionally, the anbox manager becomes non responsive.
A restart of the container brings everything back to life.
This is on anbox beta, installed today, 2018-08-05
I would like to know how to change the code from "install-houdini-only.sh" to make it work without a snap installation?
I found some people (e.g Pull request User: Arucard1983) worked on a Debian non snap installer but unfortunately install-houdini-only.sh was removed.
I changed some Lines (accordingly to https://github.com/geeks-r-us/anbox-playstore-installer/pull/28/files) to make it work without snap but I failed.
Btw. I am aware the playstore-installer includes houdini (therefore it was removed, I guess) but I am not interested to install google playstore.
Up until the end everything works fine, and then I got a file doesn't exist error:
houdini_z.sfs 100%[=================>] 35.53M 527KB/s in 71s
Parallel unsquashfs: Using 8 processors
166 inodes (926 blocks) to write
[=============================================================/] 926/926 100%
created 166 files
created 2 directories
created 0 symlinks
created 0 devices
created 0 fifos
:arm_exe:M::\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28::/system/lib/arm/houdini:P
tee: /proc/sys/fs/binfmt_misc/register: File exists
:arm_dyn:M::\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x28::/system/lib/arm/houdini:P
tee: /proc/sys/fs/binfmt_misc/register: File exists
:arm64_exe:M::\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7::/system/lib64/arm64/houdini64:P
tee: /proc/sys/fs/binfmt_misc/register: File exists
:arm64_dyn:M::\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\xb7::/system/lib64/arm64/houdini64:P
tee: /proc/sys/fs/binfmt_misc/register: File exists
Modify anbox features
persist.sys.nativebridge=1
ro.opengles.version=131072
Restart anbox
Restarted.
I think this is somehow related to the fact that I executed the script before making sure everything works properly (even before anbox was installed), but I tried to sudo rm -rf ./anbox-work
and sudo ./install-playstore.sh --clean
nothing worked...
Not sure if I should report here but after installed houdini using the script provided, i was able to get WhatsApp working. However when it gets to point of sending an OTP it fails.
adb outputs the following
09-22 08:02:40.646 108 226 W InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@5518cad attribute=null, token = android.os.BinderProxy@f335b8
09-22 08:02:40.649 3105 3105 D BoundBrokerSvc: onBind: Intent { act=com.google.android.gms.auth.api.phone.service.SmsRetrieverApiService.START pkg=com.google.android.gms }
09-22 08:02:40.649 3105 3105 D BoundBrokerSvc: Loading bound service for intent: Intent { act=com.google.android.gms.auth.api.phone.service.SmsRetrieverApiService.START pkg=com.google.android.gms }
09-22 08:02:40.674 3105 3307 W PermCheckPreProcessor: API 126 requires missing permission groups: [android.permission-group.SMS]
09-22 08:02:40.682 4371 4485 E GoogleApiAvailability: Unexpected error code 19
09-22 08:02:45.684 3105 3105 D BoundBrokerSvc: onUnbind: Intent { act=com.google.android.gms.auth.api.phone.service.SmsRetrieverApiService.START pkg=com.google.android.gms }
Terminal Error Code (Ubuntu 20 / 4th June 2020)
./install-playstore.sh: Line 132: /etc/systemd/system/anbox-container-manager.service.d/override.conf: not found
I am getting error below when I run the ./install-playstore.sh script
./install-playstore.sh: line 155: /etc/systemd/system/anbox-container-manager.service.d/override.conf: No such file or directory
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
Loading open gapps from https://sourceforge.net/projects/opengapps/files/x86_64/20200407/open_gapps-x86_64-7.1-pico-20200407.zip
--2020-04-09 18:17:53-- https://sourceforge.net/projects/opengapps/files/x86_64/20200407/open_gapps-x86_64-7.1-pico-20200407.zip
Risoluzione di sourceforge.net (sourceforge.net)... 216.105.38.13
Connessione a sourceforge.net (sourceforge.net)|216.105.38.13|:443... connesso.
Richiesta HTTP inviata, in attesa di risposta... 404 Not Found
2020-04-09 18:17:55 ERRORE 404: Not Found.
When executing the script it stops at this.
Loading open gapps from https://sourceforge.net/projects/opengapps/files/x86_64/20210709/open_gapps-x86_64-7.1-pico-20210709.zip
When i go to the link, it tells me the file doesn't exist, it seems to have been deleted 3hours ago from this post.
Script won't proceed past Phonesky.apk install. Stuck there. Running Linuxmint 19
Hello everybody I cant install playstore, the script results in:
goliapp@GoliApp-Ubuntu:~/Downloads$ sudo ./install-playstore.sh
/var/snap/anbox/common/rootfs-overlay
/home/goliapp/Downloads/anbox-work
Extracting anbox android image
Parallel unsquashfs: Using 4 processors
1836 inodes (8401 blocks) to write
[=============================================================-] 8401/8401 100%
created 1659 files
created 280 directories
created 177 symlinks
created 0 devices
created 0 fifos
Loading open gapps from https://sourceforge.net/projects/opengapps/files/x86_64/20211111/open_gapps-x86_64-7.1-pico-20211111.zip .-/+oossssoo+/-.
goliapp@GoliApp-Ubuntu:~/Downloads$
My ubuntu version is:
goliapp@GoliApp-Ubuntu
:+ssssssssssssssssss+:
----------------------
-+ssssssssssssssssssyyssss+- OS: Ubuntu 20.04.3 LTS x86_64
.ossssssssssssssssssdMMMNysssso. Host: 81D2 Lenovo ideapad 330-15ARR
/ssssssssssshdmmNNmmyNMMMMhssssss/ Kernel: 5.11.0-40-generic
+ssssssssshmydMMMMMMMNddddyssssssss+ Uptime: 2 days, 3 hours, 2 mins
/sssssssshNMMMyhhyyyyhmNMMMNhssssssss/ Packages: 2376 (dpkg), 14 (snap)
.ssssssssdMMMNhsssssssssshNMMMdssssssss. Shell: bash 5.0.17
+sssshhhyNMMNyssssssssssssyNMMMysssssss+ Resolution: 1366x768
ossyNMMMNyMMhsssssssssssssshmmmhssssssso DE: Unity
ossyNMMMNyMMhsssssssssssssshmmmhssssssso WM: Compiz
+sssshhhyNMMNyssssssssssssyNMMMysssssss+ WM Theme: Yaru-unity-dark
.ssssssssdMMMNhsssssssssshNMMMdssssssss. Theme: Yaru-unity-dark [GTK2/3]
/sssssssshNMMMyhhyyyyhdNMMMNhssssssss/ Icons: Yaru-unity-dark [GTK2/3]
+sssssssssdmydMMMMMMMMddddyssssssss+ Terminal: gnome-terminal
/ssssssssssshdmNNNNmyNMMMMhssssss/ CPU: AMD Ryzen 3 2200U with Radeon V
.ossssssssssssssssssdMMMNysssso. GPU: AMD ATI Radeon Vega Series / Ra
-+sssssssssssssssssyyyssss+- Memory: 7995MiB / 19558MiB
:+ssssssssssssssssss+:
.-/+oossssoo+/-.
goliapp@GoliApp-Ubuntu:~/Downloads$
After installing Google Play Store, I can see the apps but cannot download them due to this error when I click the install button: Error retrieving information from server. [DF-DFERH-01]
.
Internet works since I can search apps and see comments. Do you have an idea how to fix the issue?
I tried on a clean Android image of Anbox by removing /var/snap/anbox/common/
and restarting Anbox with sudo snap restart anbox
.
The issue does not happen on Android x86 (version 7.1 like Anbox) in VirtualBox.
Update: in the past it worked with Android x86 but it looks like I am getting the same error on Android x86 now.
When running the Play Store the first (after having granted it and Play Services all possible permissions), I click "Sign in".
It has no effect and I see the following in logcat
:
12-20 23:46:35.681 110 1410 I art : Thread[81,tid=1410,Runnable,Thread*=0x7f6050923800,peer=0x12f1fb80,"SoundPoolListenerThread"] setPriority(PRIO_PROCESS, 1410, 0) failed: Permission denied
12-20 23:46:35.699 40 93 I MediaPlayerService: MediaPlayerService::getOMX
12-20 23:46:35.699 110 1411 I OMXClient: MuxOMX ctor
12-20 23:46:35.700 110 1411 E ACodec : Unable to instantiate a decoder for type 'audio/vorbis' with err 0xfffffffe.
12-20 23:46:35.700 110 1411 E ACodec : signalError(omxError 0xfffffffe, internalError -2)
12-20 23:46:35.700 110 1411 E MediaCodec: Codec reported err 0xfffffffe, actionCode 0, while in state 1
12-20 23:46:35.700 110 1409 E SoundPool: Unable to load sample
12-20 23:46:35.701 110 170 W AudioService: onLoadSoundEffects(), Error -2147483648 while loading samples
12-20 23:46:35.715 40 93 I MediaPlayerService: MediaPlayerService::getOMX
12-20 23:46:35.716 110 1412 I OMXClient: MuxOMX ctor
12-20 23:46:35.716 110 1412 E ACodec : Unable to instantiate a decoder for type 'audio/vorbis' with err 0xfffffffe.
12-20 23:46:35.716 110 1412 E ACodec : signalError(omxError 0xfffffffe, internalError -2)
12-20 23:46:35.716 110 1412 E MediaCodec: Codec reported err 0xfffffffe, actionCode 0, while in state 1
12-20 23:46:35.717 110 1409 E SoundPool: Unable to load sample
12-20 23:46:35.742 1368 1368 I MultiDex: VM with version 2.1.0 has multidex support
12-20 23:46:35.742 1368 1368 I MultiDex: Installing application
12-20 23:46:35.748 1368 1368 I MultiDex: MultiDexExtractor(204713000, /data/app/com.google.android.gms-1/base.apk, /data/user/0/com.google.android.gms/code_cache/secondary-dexes)
12-20 23:46:35.750 1368 1368 I MultiDex: Blocking on lock /data/user/0/com.google.android.gms/code_cache/secondary-dexes/MultiDex.lock
12-20 23:46:35.750 1368 1368 I MultiDex: /data/user/0/com.google.android.gms/code_cache/secondary-dexes/MultiDex.lock locked
12-20 23:46:35.750 1368 1368 I MultiDex: MultiDexExtractor.load(204713000, /data/app/com.google.android.gms-1/base.apk, false, )
12-20 23:46:35.752 1368 1368 I MultiDex: loading existing secondary dex files
12-20 23:46:35.753 1368 1368 I MultiDex: load found 5 secondary dex files
12-20 23:46:35.753 1368 1368 W MultiDex: Failed to find method makeDexElements, will check alternate overload:Method makeDexElements with parameters [class java.util.ArrayList, class java.io.File, class java.util.ArrayList] not found in class dalvik.system.DexPathList
12-20 23:46:35.754 1368 1368 E MultiDex: MultiDex installation failure
12-20 23:46:35.754 1368 1368 E MultiDex: java.lang.NoSuchMethodException: Method makeDexElements with parameters [class java.util.ArrayList, class java.io.File, class java.util.ArrayList, class java.lang.ClassLoader] not found in class dalvik.system.DexPathList
12-20 23:46:35.754 1368 1368 E MultiDex: at dd.c(:com.google.android.gms@[email protected] (000300-344095733):4)
12-20 23:46:35.754 1368 1368 E MultiDex: at dd.e(:com.google.android.gms@[email protected] (000300-344095733):7)
12-20 23:46:35.754 1368 1368 E MultiDex: at dd.d(:com.google.android.gms@[email protected] (000300-344095733):25)
12-20 23:46:35.754 1368 1368 E MultiDex: at nev.attachBaseContext(:com.google.android.gms@[email protected] (000300-344095733):37)
12-20 23:46:35.754 1368 1368 E MultiDex: at android.app.Application.attach(Application.java:189)
12-20 23:46:35.754 1368 1368 E MultiDex: at android.app.Instrumentation.newApplication(Instrumentation.java:1008)
12-20 23:46:35.754 1368 1368 E MultiDex: at android.app.Instrumentation.newApplication(Instrumentation.java:992)
12-20 23:46:35.754 1368 1368 E MultiDex: at android.app.LoadedApk.makeApplication(LoadedApk.java:796)
12-20 23:46:35.754 1368 1368 E MultiDex: at android.app.ActivityThread.handleCreateService(ActivityThread.java:3188)
12-20 23:46:35.754 1368 1368 E MultiDex: at android.app.ActivityThread.-wrap5(ActivityThread.java)
12-20 23:46:35.754 1368 1368 E MultiDex: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1567)
12-20 23:46:35.754 1368 1368 E MultiDex: at android.os.Handler.dispatchMessage(Handler.java:102)
12-20 23:46:35.754 1368 1368 E MultiDex: at android.os.Looper.loop(Looper.java:154)
12-20 23:46:35.754 1368 1368 E MultiDex: at android.app.ActivityThread.main(ActivityThread.java:6119)
12-20 23:46:35.754 1368 1368 E MultiDex: at java.lang.reflect.Method.invoke(Native Method)
12-20 23:46:35.754 1368 1368 E MultiDex: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
12-20 23:46:35.754 1368 1368 E MultiDex: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
12-20 23:46:35.759 1368 1368 I MultiDex: Installing application
12-20 23:46:35.759 1368 1368 I MultiDex: install done
12-20 23:46:35.781 1368 1368 I GmsApplication: Staging modules and/or updating config
12-20 23:46:35.789 1368 1368 E ChimeraCfgMgr: Failed to read module config: java.io.FileNotFoundException: /data/data/com.google.android.gms/app_chimera/current_config.fb (No such file or directory)
12-20 23:46:35.789 1368 1368 I GmsApplication: Updating config
12-20 23:46:35.794 1368 1368 W FileUtils: Failed to set world readable: /data/data/com.google.android.gms/app_chimera/current_config.fb
12-20 23:46:35.795 1368 1368 E ChimeraCfgMgr: Failed to read module config: java.io.FileNotFoundException: /data/data/com.google.android.gms/app_chimera/current_config.fb (No such file or directory)
12-20 23:46:35.830 1368 1368 I GmsModuleFndr: Beginning GMS chimera module scan
12-20 23:46:35.836 1368 1368 E DynamiteModule: Failed to load IDynamiteLoader from GmsCore: Didn't find class "com.google.android.gms.chimera.container.DynamiteLoaderImpl$GmsProcessDynamiteLoaderImpl" on path: DexPathList[[zip file "/system/framework/com.android.location.provider.jar", zip file "/system/framework/com.android.media.remotedisplay.jar", zip file "/data/app/com.google.android.gms-1/base.apk"],nativeLibraryDirectories=[/data/app/com.google.android.gms-1/lib/arm, /data/app/com.google.android.gms-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
12-20 23:46:35.836 1368 1368 I DynamiteModule: Considering local module com.google.android.gms.googlecertificates:6 and remote module com.google.android.gms.googlecertificates:0
12-20 23:46:35.836 1368 1368 I DynamiteModule: Selected local version of com.google.android.gms.googlecertificates
12-20 23:46:35.841 1368 1368 E ChimeraCfgMgr: Failed to read module config: java.io.FileNotFoundException: /data/data/com.google.android.gms/app_chimera/current_config.fb (No such file or directory)
12-20 23:46:35.851 1368 1368 I ModuleSetMgr: Computing pending module set with APKs: []
12-20 23:46:35.854 1368 1368 I ModuleSetMgr: Container features not yet downloaded are disabled.
12-20 23:46:35.862 1368 1368 I ModuleSetMgr: Pending container module APKs: []
12-20 23:46:35.862 1368 1368 I ModuleSetMgr: Pending non-container module APKs: []
12-20 23:46:35.865 1368 1368 D AndroidRuntime: Shutting down VM
12-20 23:46:35.867 1368 1368 E ChimeraCfgMgr: Failed to read module config: java.io.FileNotFoundException: /data/data/com.google.android.gms/app_chimera/current_config.fb (No such file or directory)
12-20 23:46:35.867 1368 1368 W ChimeraUtils: Can't get Chimera config
12-20 23:46:35.869 1368 1368 E AndroidRuntime: FATAL EXCEPTION: main
12-20 23:46:35.869 1368 1368 E AndroidRuntime: Process: com.google.process.gapps, PID: 1368
12-20 23:46:35.869 1368 1368 E AndroidRuntime: java.lang.NoClassDefFoundError: Failed resolution of: Lbgkg;
12-20 23:46:35.869 1368 1368 E AndroidRuntime: at bgkh.<init>(:com.google.android.gms@[email protected] (000300-344095733):2)
12-20 23:46:35.869 1368 1368 E AndroidRuntime: at bgkm.h(:com.google.android.gms@[email protected] (000300-344095733):0)
12-20 23:46:35.869 1368 1368 E AndroidRuntime: at bggd.iterator(:com.google.android.gms@[email protected] (000300-344095733):0)
12-20 23:46:35.869 1368 1368 E AndroidRuntime: at maq.g(:com.google.android.gms@[email protected] (000300-344095733):60)
12-20 23:46:35.869 1368 1368 E AndroidRuntime: at maq.n(:com.google.android.gms@[email protected] (000300-344095733):2)
12-20 23:46:35.869 1368 1368 E AndroidRuntime: at maq.j(:com.google.android.gms@[email protected] (000300-344095733):18)
12-20 23:46:35.869 1368 1368 E AndroidRuntime: at maq.c(:com.google.android.gms@[email protected] (000300-344095733):0)
12-20 23:46:35.869 1368 1368 E AndroidRuntime: at nev.b(:com.google.android.gms@[email protected] (000300-344095733):22)
12-20 23:46:35.869 1368 1368 E AndroidRuntime: at nev.attachBaseContext(:com.google.android.gms@[email protected] (000300-344095733):47)
12-20 23:46:35.869 1368 1368 E AndroidRuntime: at android.app.Application.attach(Application.java:189)
12-20 23:46:35.869 1368 1368 E AndroidRuntime: at android.app.Instrumentation.newApplication(Instrumentation.java:1008)
12-20 23:46:35.869 1368 1368 E AndroidRuntime: at android.app.Instrumentation.newApplication(Instrumentation.java:992)
12-20 23:46:35.869 1368 1368 E AndroidRuntime: at android.app.LoadedApk.makeApplication(LoadedApk.java:796)
12-20 23:46:35.869 1368 1368 E AndroidRuntime: at android.app.ActivityThread.handleCreateService(ActivityThread.java:3188)
12-20 23:46:35.869 1368 1368 E AndroidRuntime: at android.app.ActivityThread.-wrap5(ActivityThread.java)
12-20 23:46:35.869 1368 1368 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1567)
12-20 23:46:35.869 1368 1368 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
12-20 23:46:35.869 1368 1368 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
12-20 23:46:35.869 1368 1368 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6119)
12-20 23:46:35.869 1368 1368 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
12-20 23:46:35.869 1368 1368 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
12-20 23:46:35.869 1368 1368 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
12-20 23:46:35.869 1368 1368 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "bgkg" on path: DexPathList[[zip file "/system/framework/com.android.location.provider.jar", zip file "/system/framework/com.android.media.remotedisplay.jar", zip file "/data/app/com.google.android.gms-1/base.apk"],nativeLibraryDirectories=[/data/app/com.google.android.gms-1/lib/arm, /data/app/com.google.android.gms-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
12-20 23:46:35.869 1368 1368 E AndroidRuntime: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
12-20 23:46:35.869 1368 1368 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
12-20 23:46:35.869 1368 1368 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
12-20 23:46:35.869 1368 1368 E AndroidRuntime: ... 22 more
12-20 23:46:35.880 110 124 W BroadcastQueue: Unable to launch app com.google.android.gms/10051 for broadcast Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) }: process is bad
12-20 23:46:35.880 110 124 W BroadcastQueue: Unable to launch app com.google.android.gms/10051 for broadcast Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) }: process is bad
12-20 23:46:35.901 1368 1373 I art : Do partial code cache collection, code=26KB, data=21KB
12-20 23:46:35.901 1368 1373 I art : After code cache collection, code=26KB, data=21KB
12-20 23:46:35.901 1368 1373 I art : Increasing code cache capacity to 128KB
12-20 23:46:35.914 110 485 I OpenGLRenderer: Initialized EGL, version 1.4
12-20 23:46:35.914 110 485 D OpenGLRenderer: Swap behavior 1
12-20 23:46:36.107 110 124 W BroadcastQueue: Unable to launch app com.google.android.gms/10051 for broadcast Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) }: process is bad
12-20 23:46:36.108 110 124 W BroadcastQueue: Unable to launch app com.google.android.gms/10051 for broadcast Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) }: process is bad
./install-playstore.sh: line 132: /etc/systemd/system/anbox-container-manager.service.d/override.conf: No such file or directory
when i go through the instalation i run the script and it comes back with this error
As in mentioned in the title: because the script copies, downloads and extracts a large amount of data in the current directory, it would be useful to add an initial check of the free available space. Hope this may help.
Mauro
Apparently, in the release 138 of Anbox edge snap, the Houdini binfmt_misc handler doesn't work, because binfmt_misc isn't being loaded by the kernel. And there doesn't appear to be a modprobe binary, either.
My anbox installed with snap. I stated this script with suand normal users and it did nothing
Hello!
So I wanted to install Gapps with this scripts so I ran it and well it didn't install anything but it did add the lines to build.prop and anbox.xml so that part works but no GApps were installed. Any idea why?
/home/krisz/git/anbox-playstore-installer/anbox-work
Parallel unsquashfs: Using 4 processors
1836 inodes (8401 blocks) to write
[====================================================================================================================================================================================/] 8401/8401 100%
created 1659 files
created 280 directories
created 177 symlinks
created 0 devices
created 0 fifos
--2018-03-07 15:08:00-- https://github.com/opengapps/x86_64/releases/download/20180131/open_gapps-x86_64-7.1-mini-20180131.zip
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112, 64:ff9b::c01e:fd70, ...
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/37467724/a57a11ec-06b5-11e8-9fc8-1d05d793a5e7?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180307%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180307T140801Z&X-Amz-Expires=300&X-Amz-Signature=46819e24c14f6573faf7a765fd8a973e9036af070700e46e9df62f01781bc7c2&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dopen_gapps-x86_64-7.1-mini-20180131.zip&response-content-type=application%2Foctet-stream [following]
--2018-03-07 15:08:01-- https://github-production-release-asset-2e65be.s3.amazonaws.com/37467724/a57a11ec-06b5-11e8-9fc8-1d05d793a5e7?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180307%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180307T140801Z&X-Amz-Expires=300&X-Amz-Signature=46819e24c14f6573faf7a765fd8a973e9036af070700e46e9df62f01781bc7c2&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dopen_gapps-x86_64-7.1-mini-20180131.zip&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.97.203, 64:ff9b::34d8:61cb
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.97.203|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 298427921 (285M) [application/octet-stream]
Saving to: ‘open_gapps-x86_64-7.1-mini-20180131.zip’
open_gapps-x86_64-7.1-mini-20180131.zip 100%[============================================================================================================>] 284,60M 1,75MB/s in 3m 21s
2018-03-07 15:11:23 (1,42 MB/s) - ‘open_gapps-x86_64-7.1-mini-20180131.zip’ saved [298427921/298427921]
Archive: ./open_gapps-x86_64-7.1-mini-20180131.zip
signed by SignApk
extracting: opengapps/Core/configupdater-all.tar.lz
extracting: opengapps/Core/defaultetc-common.tar.lz
extracting: opengapps/Core/defaultframework-common.tar.lz
extracting: opengapps/Core/extservicesgoogle-all.tar.lz
extracting: opengapps/Core/extsharedgoogle-all.tar.lz
extracting: opengapps/Core/gmscore-x86_64.tar.lz
extracting: opengapps/Core/gmssetup-all.tar.lz
extracting: opengapps/Core/googlebackuptransport-all.tar.lz
extracting: opengapps/Core/googlecontactssync-all.tar.lz
extracting: opengapps/Core/googlefeedback-all.tar.lz
extracting: opengapps/Core/googleonetimeinitializer-all.tar.lz
extracting: opengapps/Core/googlepartnersetup-all.tar.lz
extracting: opengapps/Core/gsfcore-all.tar.lz
extracting: opengapps/Core/gsflogin-all.tar.lz
extracting: opengapps/Core/setupwizarddefault-all.tar.lz
extracting: opengapps/Core/setupwizardtablet-all.tar.lz
extracting: opengapps/Core/vending-x86_64.tar.lz
extracting: opengapps/GApps/batteryusage-all.tar.lz
extracting: opengapps/GApps/calculatorgoogle-all.tar.lz
extracting: opengapps/GApps/calendargoogle-all.tar.lz
extracting: opengapps/GApps/calsync-all.tar.lz
extracting: opengapps/GApps/clockgoogle-all.tar.lz
extracting: opengapps/GApps/dialerframework-common.tar.lz
extracting: opengapps/GApps/exchangegoogle-all.tar.lz
extracting: opengapps/GApps/facedetect-lib-x86.tar.lz
extracting: opengapps/GApps/facedetect-lib-x86_64.tar.lz
extracting: opengapps/GApps/gmail-all.tar.lz
extracting: opengapps/GApps/googlenow-all.tar.lz
extracting: opengapps/GApps/googletts-x86.tar.lz
extracting: opengapps/GApps/maps-x86_64.tar.lz
extracting: opengapps/GApps/messenger-x86.tar.lz
extracting: opengapps/GApps/photos-x86.tar.lz
extracting: opengapps/GApps/search-x86.tar.lz
extracting: opengapps/GApps/speech-common.tar.lz
extracting: opengapps/GApps/taggoogle-all.tar.lz
extracting: opengapps/GApps/youtube-x86_64.tar.lz
extracting: opengapps/LICENSE
extracting: opengapps/META-INF/com/google/android/update-binary
extracting: opengapps/META-INF/com/google/android/updater-script
extracting: opengapps/Optional/swypelibs-lib-x86_64.tar.lz
extracting: opengapps/app_densities.txt
extracting: opengapps/app_sizes.txt
extracting: opengapps/bkup_tail.sh
extracting: opengapps/busybox-x86
extracting: opengapps/g.prop
extracting: opengapps/gapps-remove.txt
extracting: opengapps/installer.sh
extracting: opengapps/tar-x86
extracting: opengapps/unzip-x86
extracting: opengapps/zip-x86
inflating: opengapps/META-INF/com/android/otacert
inflating: opengapps/META-INF/MANIFEST.MF
inflating: opengapps/META-INF/CERT.SF
inflating: opengapps/META-INF/CERT.RSA
tar (child): lzip: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
tar (child): lzip: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
tar (child): lzip: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
tar (child): lzip: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
tar (child): lzip: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
tar (child): lzip: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
tar (child): lzip: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
tar (child): lzip: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
tar (child): lzip: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
tar (child): lzip: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
tar (child): lzip: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
tar (child): lzip: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
tar (child): lzip: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
tar (child): lzip: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
tar (child): lzip: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
tar (child): lzip: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
tar (child): lzip: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
cp: cannot stat './opengapps/Core/gmscore-x86_64/nodpi/priv-app/PrebuiltGmsCore': No such file or directory
cp: cannot stat './opengapps/Core/gsflogin-all/nodpi/priv-app/GoogleLoginService': No such file or directory
cp: cannot stat './opengapps/Core/vending-x86_64/240-320-480/priv-app/Phonesky': No such file or directory
cp: cannot stat './opengapps/Core/gsfcore-all/nodpi/priv-app/GoogleServicesFramework': No such file or directory
chown: cannot access 'Phonesky': No such file or directory
chown: cannot access 'GoogleLoginService': No such file or directory
chown: cannot access 'GoogleServicesFramework': No such file or directory
chown: cannot access 'PrebuiltGmsCore': No such file or directory
--2018-03-07 15:11:25-- http://dl.android-x86.org/houdini/7_y/houdini.sfs
Resolving dl.android-x86.org (dl.android-x86.org)... 212.122.81.210, 64:ff9b::d47a:51d2
Connecting to dl.android-x86.org (dl.android-x86.org)|212.122.81.210|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 37728256 (36M)
Saving to: ‘houdini.sfs’
houdini.sfs 100%[============================================================================================================>] 35,98M 715KB/s in 88s
2018-03-07 15:12:53 (420 KB/s) - ‘houdini.sfs’ saved [37728256/37728256]
Parallel unsquashfs: Using 4 processors
170 inodes (828 blocks) to write
[======================================================================================================================================================================================/] 828/828 100%
created 170 files
created 2 directories
created 0 symlinks
created 0 devices
created 0 fifos
--2018-03-07 15:12:53-- https://github.com/rrrfff/libhoudini/raw/master/4.0.8.45720/system/lib/libhoudini.so
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113, 64:ff9b::c01e:fd70, ...
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/rrrfff/libhoudini/master/4.0.8.45720/system/lib/libhoudini.so [following]
--2018-03-07 15:12:54-- https://raw.githubusercontent.com/rrrfff/libhoudini/master/4.0.8.45720/system/lib/libhoudini.so
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.112.133, 64:ff9b::9765:7085
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.112.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3314552 (3,2M) [application/octet-stream]
Saving to: ‘./squashfs-root/system/lib/libhoudini.so’
libhoudini.so 100%[============================================================================================================>] 3,16M 1,55MB/s in 2,0s
2018-03-07 15:12:56 (1,55 MB/s) - ‘./squashfs-root/system/lib/libhoudini.so’ saved [3314552/3314552]
Parallel mksquashfs: Using 4 processors
Creating 4.0 filesystem on android.img, block size 131072.
[====================================================================================================================================================================================-] 9079/9079 100%
Exportable Squashfs 4.0 filesystem, xz compressed, data block size 131072
compressed data, compressed metadata, compressed fragments, compressed xattrs
duplicates are removed
Filesystem size 339870.51 Kbytes (331.90 Mbytes)
34.10% of uncompressed filesystem size (996751.78 Kbytes)
Inode table size 37670 bytes (36.79 Kbytes)
36.03% of uncompressed inode table size (104566 bytes)
Directory table size 21722 bytes (21.21 Kbytes)
40.77% of uncompressed directory table size (53276 bytes)
Number of duplicate files found 40
Number of inodes 2291
Number of files 1831
Number of fragments 378
Number of symbolic links 177
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 283
Number of ids (unique uids + gids) 4
Number of uids 2
unknown (100000)
unknown (101000)
Number of gids 4
unknown (100000)
unknown (102000)
unknown (101000)
unknown (101003)
changing anbox snap 72
Parallel unsquashfs: Using 4 processors
1237 inodes (4527 blocks) to write
[====================================================================================================================================================================================\] 4527/4527 100%
created 1127 files
created 155 directories
created 96 symlinks
created 0 devices
created 0 fifos
Parallel mksquashfs: Using 4 processors
Creating 4.0 filesystem on anbox_72.snap, block size 131072.
[====================================================================================================================================================================================\] 4600/4600 100%
Exportable Squashfs 4.0 filesystem, xz compressed, data block size 131072
compressed data, compressed metadata, compressed fragments, compressed xattrs
duplicates are removed
Filesystem size 374929.93 Kbytes (366.14 Mbytes)
80.94% of uncompressed filesystem size (463241.49 Kbytes)
Inode table size 14176 bytes (13.84 Kbytes)
23.85% of uncompressed inode table size (59444 bytes)
Directory table size 13580 bytes (13.26 Kbytes)
44.54% of uncompressed directory table size (30490 bytes)
Number of duplicate files found 12
Number of inodes 1378
Number of files 1127
Number of fragments 137
Number of symbolic links 96
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 155
Number of ids (unique uids + gids) 1
Number of uids 1
root (0)
Number of gids 1
root (0)
Hello, im using arch linux but i installed anbox with snap and tried running your script and im getting the following error:
`user@Tempest ~]$ wget https://raw.githubusercontent.com/geeks-r-us/anbox-playstore-installer/master/install-playstore.sh
--2018-11-08 21:11:40-- https://raw.githubusercontent.com/geeks-r-us/anbox-playstore-installer/master/install-playstore.sh
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.112.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.112.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7878 (7,7K) [text/plain]
Saving to: ‘install-playstore.sh’
install-playstore.sh 100%[==========] 7,69K --.-KB/s in 0s
2018-11-08 21:11:40 (30,8 MB/s) - ‘install-playstore.sh’ saved [7878/7878]
[user@Tempest ~]$ chmod +x install-playstore.sh
[user@Tempest ~]$ sudo ./install-playstore.sh
Restarted.
/var/snap/anbox/common/rootfs-overlay
/home/user/anbox-work
cp: cannot stat '/snap/anbox/current/android.img': No such file or directory`
Edit: Nevermind, i downloaded an img from anbox manualy and it works.
https://github.com/geeks-r-us/anbox-playstore-installer/blob/master/install-playstore.sh#L221
Change, please
$SUDO mv ./squashfs-root/android.img ./andorid.img-$NUMBER
to
$SUDO mv ./squashfs-root/android.img ./android.img-$NUMBER
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.