get rid of GApps during installation

merge-requests/23/head
Christopher Roy Bratusek 6 years ago
parent b8eb98c701
commit c4d86f8096

@ -7,6 +7,9 @@
* Full, microG packages
* move binaries from /system/xbin to /system/bin
* some stock ROMs no longer have /system/xbin, which will cause bootloops if Magisk creates it nonetheless
* remove conflicting GApps during installation, list by ale5000
* in Magisk Mode they will be pseudo-debloated
* in System Mode they will be moved to /sdcard/nanodroid_backup
* also see SetupWizard changes for now more flexible Full and microG package setups
* Full package
* switch from stable to beta build for QKSMS
@ -16,10 +19,6 @@
* nanodroid_bash=[0|1] whether to install GNU Bash, Less pager (Full, microG packages)
* nanodroid_nano=[0|1] whether to install GNU Nano Editor (Full package)
* nanodroid_utils=[0|1] whether to install Shell Utilities (Full package)
* changed setup variables
* nanodroid_overlay=[0|1] (Full, microG packages)
* previously: whether to create overlays (in Magisk Mode)
* now: whether to install nanodroid-overlay script and whether to create overlays
* Patcher, Uninstaller
* initial A/B parition scheme support
* NanoDroid-Overlay Script

@ -2,6 +2,55 @@
VERSION=16.3.99999999
GOOGLE_APPS="GoogleFeedback
GoogleLoginService
GoogleOneTimeInitializer
GoogleServicesFramework
GsfProxy
MarketUpdater
PlayGames
Velvet
GmsDroidGuard
YouTube
GmsCore_update
GmsCoreSetupPrebuilt
PrebuiltGmsCore
WhisperPush
BlankStore
FDroidPriv
PlayStore
Vending
AMAPNetworkLocation
BaiduNetworkLocation
LegacyNetworkLocation
NetworkLocation
UnifiedNlp
DejaVuBackend
DejaVuNlpBackend
IchnaeaNlpBackend
MozillaNlpBackend
NominatimGeocoderBackend
NominatimNlpBackend
com.mgoogle.android.gms
com.google.android.gms
com.google.android.feedback
com.google.android.gsf.login
com.google.android.gsf
com.android.vending
org.microg.gms.droidguard
org.schabi.newpipe
com.google.android.youtube
com.qualcomm.location
com.amap.android.location
com.baidu.location
com.google.android.location
org.microg.nlp
org.microg.unifiednlp
com.google.android.maps
org.fitchfamily.android.dejavu
org.microg.nlp.backend.ichnaea
org.microg.nlp.backend.nominatim"
##########################################################################################
# Misc. Functions
##########################################################################################
@ -197,14 +246,15 @@ detect_mode () {
backup_nlpconflicts () {
if [ "${nanodroid_microg}" -eq 1 -o "${MODID}" = "NanoDroid_microG" ]; then
for app in com.qualcomm.location; do
for app in ${GOOGLE_APPS}; do
case ${MODE} in
SYSTEM )
if [ -d "/system/priv-app/${app}" ]; then
mv /system/priv-app/${app} /sdcard/
mkdir -p /sdcard/nanodroid_backups/
mv /system/priv-app/${app} /sdcard/nanodroid_backups/
ui_print " "
ui_print " ++ Moving ${app} to /sdcard"
ui_print " ++ Moving ${app} to /sdcard/nanodroid_backups"
ui_print " ++ it conflicts with microG location backends"
ui_print " "
fi

Loading…
Cancel
Save