This works to install OpenGApps into the Android Emulator
Features:
- uses opengapps installer script (that we patch slightly)
- linux only because we mount the ext2/4 disk images to modify them. Could be adapted for macos if you use hdiutil instead of kpartx and have installed tools to mount ext2/4 filesystems on macos
- root permissions mandatory to mount disk images and enter chroot
- removes verity/verified-boot from the virtual device (so that the AVD can boot, otherwise it would not boot because we didn't update the dm_params)
Tested on:
- Debian Bullseye (11.x)
- Android emulator version 31.1.4.0 (build_id 7920983)
- Android 10, 11, 12 (API 29, 30, 31) with google's x86_arm 'Google APIs' & 'Google Play' system-image. Please note that the auto update of Google play will lead to a constantly crashing "Google Play" App when using a Google APIs image. So, preferably use a Google Play image.
- On android 11 & 12 (API30 & 31) you need to apply these patches to opengapps if they haven't been merged upstream. Otherwise boot may never finish (staying on splash screen) opengapps/opengapps#951 opengapps/opengapps#952
- Android 8.1 Oreo (API 27) & 9.0 Pie (API 28) with google's x86_arm 'Google APIs' & 'Google Play' system-image. Note that with the 'Google APIs' image, the play store may crash after update, so prefer the Google Play system image as base. Details here: https://forum.xda-developers.com/t/gapps-daily-open-gapps-for-android-all-android-versions-devices.3098071/post-86282683
- LineageOS 16.0 (API 28) with x86 AOSP system-image
The way it works:
- clean-up current AVD (system.img, cache.img*, userdata*.img*, VerifiedBootParams.textproto)
- copy the original images to the local folder of the android virtual device (AVD) (system.img, vendor.img...) & unpacks the image in case of a Android Q+.
- resize the images so that it can contain opengapps
- mount the images, prepare the environment & chroot
- enter chroot to install the opengapps
- patch opengapps installer.sh
- proceed with open_gapps install
- cleanup environment & unmount images
- Repack the images (especially the system.img in the case of Android Q+)
- Ensure you have
unzip
,kpartx
,losetup
,sgdisk
,emulator
,chroot
in yourPATH
.
For API 29+ you need additional tools to unpack/repack & create the avb information:- binaries needed:
lpunpack
,lpmake
,lpdump
,fec
(instructions are given when you run the script to get them). python3
,tar
&wget
in order to run and download some scripts from the Android sources
- binaries needed:
- Create a new Android Virtual Device (AVD). For example using Android Studio:
- Tools -> AVD Manager
- Create Virtual Device...
- Phone -> Nexus 5
- x86 Images or x86_64 for Pie (Download if necessary)
- Give the AVD a name
- Choose "Show Advanced Settings...". Give the AVD at least 1536MB Internal Storage, and 512MB SD Card.
- You may set "Cold Boot"
- Finish
- Download the appropriate OpenGApps file from opengapps.org (x86 / 9.0 / micro)
- Download the ZIP archive of this gist, unpack it and give it executable permission:
chmod 755 open_gapps_install_script.sh chmod 755 open_gapps_install_script.chroot.sh
- Login as root
- Run the
open_gapps_install_script.sh
with 2 arguments:- Open GApps archive full path
- username of the user having the AVD
./open_gapps_install_script.sh /path/to/open_gapps-x86-9.0-micro-20220115.zip username
- When prompted for an AVD, copy the appropriate AVD name and paste it. Press Enter.
- When the script is finished, exit from your root shell and return to a normal user shell.
- Launch the AVD in the emulator. Please wait, it will take some time.
emulator @my_AVD_name
A sample transcript follows.
root@debian:~# LC_ALL=C bash /home/username/open_gapps_install_script.sh /path/to/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip username
ANDROID_SDK_ROOT is not set, using default value: /home/username/Android/Sdk
Which AVD?
API28
Amazon_Fire_HD8_API_28
LineageGo_Pixel_3_XL_API_28
Pixel_3a_XL_API_28
Pixel_3a_XL_API_29
>API28
determining location of system.img file for API28 ... /home/username/Android/Sdk/system-images/android-28/google_apis/x86/
copying, checking and resizing system.img for API28
Disabling verity/verified-boot...
Resizing sysem partition to 3000M... (you can safely ignore the warning 'The kernel is still using the old partition table.')
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
The operation has completed successfully.
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
The operation has completed successfully.
Setting name!
partNum is 0
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
The operation has completed successfully.
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
The operation has completed successfully.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 3A: Optimizing directories
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/: ***** FILE SYSTEM WAS MODIFIED *****
/: 2968/161280 files (0.4% non-contiguous), 466645/644999 blocks
Resizing the filesystem on /dev/mapper/loop1p1 to 767739 (4k) blocks.
The filesystem on /dev/mapper/loop1p1 is now 767739 (4k) blocks long.
del devmap : loop1p1
loop deleted : /dev/loop1
Resizing sysem partition to 3000M finished successfully!
Mouting the images...
Original PID_Max was 65500
Run 'echo 65500 > /proc/sys/kernel/pid_max' to revert to it
Preparing the chroot environment...
Archive: /mnt/mounted_avd/tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
signed by SignApk
extracting: /mnt/mounted_avd/tmp/busybox-x86
Entering the chroot environment to install OpenGApps...
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
inflating: app_densities.txt
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
inflating: app_sizes.txt
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
inflating: bkup_tail.sh
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
inflating: gapps-remove.txt
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
inflating: g.prop
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
inflating: installer.sh
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
unzip: can't open 'busybox-x86': Text file busy
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
inflating: tar-x86
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
inflating: unzip-x86
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
inflating: zip-x86
patching file installer.sh
##############################
_____ _____ ___ ____
/ _ \ | __ \ / _ \ | _ \
| / \ || |__) | |_| || | \ \
| | | || ___/| __/ | | | |
| \ / || | \ |__ | | | |
\_/ \_/ |_| \___| |_| |_|
___ _ ___ ___ ___
/ __| /_\ | _ \ _ \/ __|
| (_ |/ _ \| _/ _/\__ \
\___/_/ \_\_| |_| |___/
##############################
Open GApps pico_go 9.0 - 20220117
- Mounting partitions
...Progress: 1 %
- Gathering device & ROM information
grep: /tmp/recovery.log: No such file or directory
grep: /cache/recovery/log: No such file or directory
* Stock ROM GApps Currently Installed *
The installer detected that Stock ROM GApps are
already installed. If you are flashing over a
Nexus-compatible ROM there is no problem, but if
you are flashing over a custom ROM, you may want
to contact the developer to request the removal of
the included GApps. The installation will now
continue, but please be aware that any problems
that may occur depend on your ROM.
...Progress: 3 %
sed: /system/addon.d/70-gapps.sh: No such file or directory
...Progress: 4 %
- Performing system space calculations
du: /system/app/AndroidAutoPrebuilt: No such file or directory
du: /system/app/Books: No such file or directory
du: /system/app/CalculatorGooglePrebuilt: No such file or directory
du: /system/app/DMAgent: No such file or directory
du: /system/app/Duo: No such file or directory
du: /system/app/DuoGo: No such file or directory
du: /system/app/EditorsDocs: No such file or directory
du: /system/app/EditorsSheets: No such file or directory
du: /system/app/EditorsSlides: No such file or directory
du: /system/app/FitnessPrebuilt: No such file or directory
du: /system/app/GalleryGo: No such file or directory
du: /system/app/GMailGo: No such file or directory
du: /system/app/GoogleCalendarSyncAdapter: No such file or directory
du: /system/app/GoogleCamera: No such file or directory
du: /system/app/GoogleCameraLegacy: No such file or directory
du: /system/app/GoogleEarth: No such file or directory
du: /system/app/GoogleJapaneseInput: No such file or directory
du: /system/app/GoogleVrCore: No such file or directory
du: /system/app/GoogleZhuyinIME: No such file or directory
du: /system/app/Hangouts: No such file or directory
du: /system/app/KoreanIME: No such file or directory
du: /system/app/MapsGo: No such file or directory
du: /system/app/MarkupGoogle: No such file or directory
du: /system/app/MessagesGo: No such file or directory
du: /system/app/NavGo: No such file or directory
du: /system/app/Newsstand: No such file or directory
du: /system/app/PlayGames: No such file or directory
du: /system/app/PrebuiltExchange3Google: No such file or directory
du: /system/app/PrebuiltKeep: No such file or directory
du: /system/app/Recorder: No such file or directory
du: /system/app/SMSConnectPrebuilt: No such file or directory
du: /system/app/SoundPickerPrebuilt: No such file or directory
du: /system/app/Street: No such file or directory
du: /system/app/talkback: No such file or directory
du: /system/app/TranslatePrebuilt: No such file or directory
du: /system/app/Tycho: No such file or directory
du: /system/app/Wallet: No such file or directory
du: /system/app/WebViewGoogle: No such file or directory
du: /system/app/YouTubeGo: No such file or directory
du: /system/app/YouTubeMusicPrebuilt: No such file or directory
du: /system/etc/default-permissions/default-permissions.xml: No such file or directory
du: /system/etc/default-permissions/opengapps-permissions.xml: No such file or directory
du: /system/etc/permissions/com.google.android.camera2.xml: No such file or directory
du: /system/etc/permissions/com.google.android.camera.experimental2016.xml: No such file or directory
du: /system/etc/permissions/com.google.vr.platform.xml: No such file or directory
du: /system/etc/permissions/privapp-permissions-com.google.android.apps.cameralite.xml: No such file or directory
du: /system/etc/sysconfig/dialer_experience.xml: No such file or directory
du: /system/etc/sysconfig/google_exclusives_enable.xml: No such file or directory
du: /system/etc/sysconfig/google_vr_build.xml: No such file or directory
du: /system/lib/libjni_latinimegoogle.so: No such file or directory
du: /system/lib/libsketchology_native.so: No such file or directory
du: /system/priv-app/AndroidMigratePrebuilt: No such file or directory
du: /system/priv-app/AssistantGo: No such file or directory
du: /system/priv-app/CarrierSetup: No such file or directory
du: /system/priv-app/FilesGo: No such file or directory
du: /system/priv-app/GCS: No such file or directory
du: /system/priv-app/GmsCoreGo: No such file or directory
du: /system/priv-app/GoogleCameraGo: No such file or directory
du: /system/priv-app/GoogleContacts: No such file or directory
du: /system/priv-app/GoogleRestore: No such file or directory
du: /system/priv-app/GoogleSearchGo: No such file or directory
du: /system/priv-app/Phonesky: No such file or directory
du: /system/priv-app/PrebuiltGmsCorePi: No such file or directory
du: /system/priv-app/StorageManagerGoogle: No such file or directory
du: /system/priv-app/Turbo: No such file or directory
du: /system/priv-app/WellbeingPrebuilt: No such file or directory
du: /system/product/overlay/DefaultDialerOverlay.apk: No such file or directory
du: /system/product/overlay/PhoneOverlay.apk: No such file or directory
du: /system/product/overlay/PixelLauncherOverlay.apk: No such file or directory
du: /system/product/overlay/TelecomOverlay.apk: No such file or directory
du: /system/product/overlay/WellbeingOverlay.apk: No such file or directory
du: /system/usr/share/ime/google/d3_lms/en_us_d3_20180105.dict: No such file or directory
du: /system/usr/srec/en-US/: No such file or directory
du: /system/vendor/overlay/DefaultDialerOverlay.apk: No such file or directory
du: /system/vendor/overlay/PhoneOverlay.apk: No such file or directory
du: /system/vendor/overlay/PixelLauncherOverlay.apk: No such file or directory
du: /system/vendor/overlay/TelecomOverlay.apk: No such file or directory
du: /system/vendor/overlay/WellbeingOverlay.apk: No such file or directory
...Progress: 5 %
du: app/BooksStub: No such file or directory
du: app/BookmarkProvider: No such file or directory
du: app/CalendarGoogle: No such file or directory
du: app/CloudPrint: No such file or directory
du: app/DeskClockGoogle: No such file or directory
du: app/EditorsDocsStub: No such file or directory
du: app/EditorsSheetsStub: No such file or directory
du: app/EditorsSlidesStub: No such file or directory
du: app/Gmail: No such file or directory
du: app/Gmail2: No such file or directory
du: app/GoogleCalendar: No such file or directory
du: app/GoogleCloudPrint: No such file or directory
du: app/GoogleHangouts: No such file or directory
du: app/GoogleKeep: No such file or directory
du: app/GoogleLatinIme: No such file or directory
du: app/Keep: No such file or directory
du: app/NewsstandStub: No such file or directory
du: app/PartnerBookmarksProvider: No such file or directory
du: app/PrebuiltBugleStub: No such file or directory
du: app/PrebuiltKeepStub: No such file or directory
du: app/QuickSearchBox: No such file or directory
du: app/Vending: No such file or directory
du: priv-app/GmsCore: No such file or directory
du: priv-app/GoogleNow: No such file or directory
du: priv-app/GoogleSearch: No such file or directory
du: priv-app/GoogleHangouts: No such file or directory
du: priv-app/OneTimeInitializer: No such file or directory
du: priv-app/QuickSearchBox: No such file or directory
du: priv-app/Vending: No such file or directory
du: priv-app/Velvet_update: No such file or directory
du: priv-app/GmsCore_update: No such file or directory
du: product/app/BooksStub: No such file or directory
du: product/app/BookmarkProvider: No such file or directory
du: product/app/CalendarGoogle: No such file or directory
du: product/app/CloudPrint: No such file or directory
du: product/app/DeskClockGoogle: No such file or directory
du: product/app/EditorsDocsStub: No such file or directory
du: product/app/EditorsSheetsStub: No such file or directory
du: product/app/EditorsSlidesStub: No such file or directory
du: product/app/Gmail: No such file or directory
du: product/app/Gmail2: No such file or directory
du: product/app/GoogleCalendar: No such file or directory
du: product/app/GoogleCloudPrint: No such file or directory
du: product/app/GoogleHangouts: No such file or directory
du: product/app/GoogleKeep: No such file or directory
du: product/app/GoogleLatinIme: No such file or directory
du: product/app/Keep: No such file or directory
du: product/app/NewsstandStub: No such file or directory
du: product/app/PartnerBookmarksProvider: No such file or directory
du: product/app/PrebuiltBugleStub: No such file or directory
du: product/app/PrebuiltKeepStub: No such file or directory
du: product/app/QuickSearchBox: No such file or directory
du: product/app/Vending: No such file or directory
du: product/priv-app/GmsCore: No such file or directory
du: product/priv-app/GoogleNow: No such file or directory
du: product/priv-app/GoogleSearch: No such file or directory
du: product/priv-app/GoogleHangouts: No such file or directory
du: product/priv-app/OneTimeInitializer: No such file or directory
du: product/priv-app/QuickSearchBox: No such file or directory
du: product/priv-app/Vending: No such file or directory
du: product/priv-app/Velvet_update: No such file or directory
du: product/priv-app/GmsCore_update: No such file or directory
du: app/CanvasPackageInstaller: No such file or directory
du: app/ConfigUpdater: No such file or directory
du: app/GoogleBackupTransport: No such file or directory
du: app/GoogleFeedback: No such file or directory
du: app/GoogleLoginService: No such file or directory
du: app/GoogleOneTimeInitializer: No such file or directory
du: app/GooglePartnerSetup: No such file or directory
du: app/GoogleServicesFramework: No such file or directory
du: app/OneTimeInitializer: No such file or directory
du: app/Phonesky: No such file or directory
du: app/PrebuiltGmsCore: No such file or directory
du: app/SetupWizard: No such file or directory
du: app/Velvet: No such file or directory
du: product/app/CanvasPackageInstaller: No such file or directory
du: product/app/ConfigUpdater: No such file or directory
du: product/app/GoogleBackupTransport: No such file or directory
du: product/app/GoogleFeedback: No such file or directory
du: product/app/GoogleLoginService: No such file or directory
du: product/app/GoogleOneTimeInitializer: No such file or directory
du: product/app/GooglePartnerSetup: No such file or directory
du: product/app/GoogleServicesFramework: No such file or directory
du: product/app/OneTimeInitializer: No such file or directory
du: product/app/Phonesky: No such file or directory
du: product/app/PrebuiltGmsCore: No such file or directory
du: product/app/SetupWizard: No such file or directory
du: product/app/Velvet: No such file or directory
du: /system/lib/libjni_latinimegoogle.so: No such file or directory
du: /system/lib64/libjni_latinimegoogle.so: No such file or directory
du: /system/app/LatinIME/lib//libjni_latinimegoogle.so: No such file or directory
du: /system/lib/libjni_keyboarddecoder.so: No such file or directory
du: /system/lib64/libjni_keyboarddecoder.so: No such file or directory
du: /system/app/LatinIME/lib//libjni_keyboarddecoder.so: No such file or directory
du: /system/product/lib/libjni_latinimegoogle.so: No such file or directory
du: /system/product/lib64/libjni_latinimegoogle.so: No such file or directory
du: /system/product/app/LatinIME/lib//libjni_latinimegoogle.so: No such file or directory
du: /system/product/lib/libjni_keyboarddecoder.so: No such file or directory
du: /system/product/lib64/libjni_keyboarddecoder.so: No such file or directory
du: /system/product/app/LatinIME/lib//libjni_keyboarddecoder.so: No such file or directory
du: app/CalculatorGoogle: No such file or directory
du: priv-app/GoogleHome: No such file or directory
du: priv-app/Hangouts: No such file or directory
du: priv-app/PrebuiltExchange3Google: No such file or directory
du: priv-app/talkback: No such file or directory
du: priv-app/Wallet: No such file or directory
du: product/app/CalculatorGoogle: No such file or directory
du: product/priv-app/GoogleHome: No such file or directory
du: product/priv-app/Hangouts: No such file or directory
du: product/priv-app/PrebuiltExchange3Google: No such file or directory
du: product/priv-app/talkback: No such file or directory
du: product/priv-app/Wallet: No such file or directory
du: etc/g.prop: No such file or directory
du: addon.d/70-gapps.sh: No such file or directory
...Progress: 7 %
...Progress: 9 %
...Progress: 11 %
...Progress: 13 %
- Removing existing/obsolete Apps
- Installing core GApps
...Progress: 15 %
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
signed by SignApk
extracting: /tmp/Core/defaultetcgo-common.tar.lz
Found Core/defaultetcgo-common DPI path: unknown
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
signed by SignApk
extracting: /tmp/Core/defaultframework-common.tar.lz
Found Core/defaultframework-common DPI path: unknown
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
signed by SignApk
extracting: /tmp/Core/googlebackuptransport-all.tar.lz
Found Core/googlebackuptransport-all DPI path: googlebackuptransport-all/nodpi
/tmp/tar-x86: googlebackuptransport-all/common: Not found in archive
/tmp/tar-x86: Exiting with failure status due to previous errors
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
signed by SignApk
extracting: /tmp/Core/googlecontactssync-all.tar.lz
Found Core/googlecontactssync-all DPI path: googlecontactssync-all/nodpi
/tmp/tar-x86: googlecontactssync-all/common: Not found in archive
/tmp/tar-x86: Exiting with failure status due to previous errors
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
signed by SignApk
extracting: /tmp/Core/googlefeedback-all.tar.lz
Found Core/googlefeedback-all DPI path: googlefeedback-all/nodpi
/tmp/tar-x86: googlefeedback-all/common: Not found in archive
/tmp/tar-x86: Exiting with failure status due to previous errors
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
signed by SignApk
extracting: /tmp/Core/googleonetimeinitializer-all.tar.lz
Found Core/googleonetimeinitializer-all DPI path: googleonetimeinitializer-all/nodpi
/tmp/tar-x86: googleonetimeinitializer-all/common: Not found in archive
/tmp/tar-x86: Exiting with failure status due to previous errors
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
signed by SignApk
extracting: /tmp/Core/googlepartnersetup-all.tar.lz
Found Core/googlepartnersetup-all DPI path: googlepartnersetup-all/nodpi
/tmp/tar-x86: googlepartnersetup-all/common: Not found in archive
/tmp/tar-x86: Exiting with failure status due to previous errors
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
signed by SignApk
extracting: /tmp/Core/gmscorego-arm.tar.lz
Found Core/gmscorego-arm DPI path: gmscorego-arm/320
/tmp/tar-x86: gmscorego-arm/common: Not found in archive
/tmp/tar-x86: Exiting with failure status due to previous errors
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
signed by SignApk
extracting: /tmp/Core/gsfcore-all.tar.lz
Found Core/gsfcore-all DPI path: gsfcore-all/nodpi
/tmp/tar-x86: gsfcore-all/common: Not found in archive
/tmp/tar-x86: Exiting with failure status due to previous errors
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
signed by SignApk
extracting: /tmp/Core/vending-x86.tar.lz
Found Core/vending-x86 DPI path: vending-x86/nodpi
/tmp/tar-x86: vending-x86/common: Not found in archive
/tmp/tar-x86: Exiting with failure status due to previous errors
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
signed by SignApk
extracting: /tmp/Core/setupwizarddefault-all.tar.lz
Found Core/setupwizarddefault-all DPI path: setupwizarddefault-all/nodpi
/tmp/tar-x86: setupwizarddefault-all/common: Not found in archive
/tmp/tar-x86: Exiting with failure status due to previous errors
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
signed by SignApk
extracting: /tmp/Core/configupdater-all.tar.lz
Found Core/configupdater-all DPI path: configupdater-all/nodpi
/tmp/tar-x86: configupdater-all/common: Not found in archive
/tmp/tar-x86: Exiting with failure status due to previous errors
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
signed by SignApk
extracting: /tmp/Core/extservicesgoogle-all.tar.lz
Found Core/extservicesgoogle-all DPI path: extservicesgoogle-all/nodpi
/tmp/tar-x86: extservicesgoogle-all/common: Not found in archive
/tmp/tar-x86: Exiting with failure status due to previous errors
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
signed by SignApk
extracting: /tmp/Core/extsharedgoogle-all.tar.lz
Found Core/extsharedgoogle-all DPI path: extsharedgoogle-all/nodpi
/tmp/tar-x86: extsharedgoogle-all/common: Not found in archive
/tmp/tar-x86: Exiting with failure status due to previous errors
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
signed by SignApk
extracting: /tmp/Core/carriersetup-all.tar.lz
Found Core/carriersetup-all DPI path: carriersetup-all/nodpi
/tmp/tar-x86: carriersetup-all/common: Not found in archive
/tmp/tar-x86: Exiting with failure status due to previous errors
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
signed by SignApk
extracting: /tmp/Core/backuprestore-all.tar.lz
Found Core/backuprestore-all DPI path: backuprestore-all/nodpi
/tmp/tar-x86: backuprestore-all/common: Not found in archive
/tmp/tar-x86: Exiting with failure status due to previous errors
...Progress: 25 %
ln: /system/app/LatinIME/lib/x86/libjni_latinime.so: No such file or directory
ln: /system/product/app/LatinIME/lib/x86/libjni_latinime.so: No such file or directory
- Installing swypelibs
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
signed by SignApk
extracting: /tmp/Optional/swypelibs-lib-x86.tar.lz
Found Optional/swypelibs-lib-x86 DPI path: unknown
ln: /system/product/app/LatinIME/lib/x86/libjni_latinimegoogle.so: No such file or directory
ln: /system/product/app/LatinIME/lib/x86/libjni_keyboarddecoder.so: No such file or directory
...Progress: 30 %
- Installing calsync
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
signed by SignApk
extracting: /tmp/GApps/calsync-all.tar.lz
Found GApps/calsync-all DPI path: calsync-all/nodpi
/tmp/tar-x86: calsync-all/common: Not found in archive
/tmp/tar-x86: Exiting with failure status due to previous errors
...Progress: 42.5 %
- Installing dialerframework
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
signed by SignApk
extracting: /tmp/GApps/dialerframework-common.tar.lz
Found GApps/dialerframework-common DPI path: unknown
...Progress: 55 %
- Installing googletts
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
signed by SignApk
extracting: /tmp/GApps/googletts-x86.tar.lz
Found GApps/googletts-x86 DPI path: googletts-x86/nodpi
/tmp/tar-x86: googletts-x86/common: Not found in archive
/tmp/tar-x86: Exiting with failure status due to previous errors
...Progress: 67.5 %
- Installing packageinstallergoogle
Archive: /tmp_opengappzip/open_gapps-x86-9.0-pico_go-20220117-UNOFFICIAL.zip
signed by SignApk
extracting: /tmp/GApps/packageinstallergoogle-all.tar.lz
Found GApps/packageinstallergoogle-all DPI path: packageinstallergoogle-all/nodpi
/tmp/tar-x86: packageinstallergoogle-all/common: Not found in archive
/tmp/tar-x86: Exiting with failure status due to previous errors
...Progress: 80 %
- Miscellaneous tasks
...Progress: 80 %
...Progress: 85 %
...Progress: 92 %
...Progress: 94 %
...Progress: 96 %
- Copying Log to /tmp_opengappzip
...Progress: 97 %
- Installation complete!
...Progress: 98 %
cp: can't stat '': No such file or directory
cp: can't stat '/system/default.prop': No such file or directory
cp: can't stat '/system/system_ext/build.prop': No such file or directory
cp: can't stat '/system_ext/build.prop': No such file or directory
cp: can't stat '/system_root/default.prop': No such file or directory
cp: can't stat '/system_root/build.prop': No such file or directory
cp: can't stat '/system_root/vendor/build.prop': No such file or directory
cp: can't stat '/system_root/product/build.prop': No such file or directory
cp: can't stat '/system_root/system_ext/build.prop': No such file or directory
cp: can't stat '/data/local.prop': No such file or directory
cp: can't stat '/build.prop': No such file or directory
cp: can't stat '/cache/recovery/log': No such file or directory
cp: can't stat '/tmp/recovery.log': No such file or directory
logcat read failure
...Progress: 100 %
- Unmounting partitions
Leaving chroot...
Unmouting the images...
umount: /mnt/mounted_avd/cache: not mounted.
umount: /mnt/mounted_avd/vendor: not mounted.
del devmap : loop2p1
loop deleted : /dev/loop2
del devmap : loop1p1
loop deleted : /dev/loop1
@dongnp-comartek did you succeed with modifying this for Mac?