Skip to content

Commit

Permalink
release v2.1.36
Browse files Browse the repository at this point in the history
  • Loading branch information
ozingi committed Mar 3, 2022
1 parent fb8c9ad commit f257a4f
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 7 deletions.
36 changes: 31 additions & 5 deletions common/unity_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,18 +81,18 @@ mkdir -p $TMPDIR/system
if $microG; then
ui_print ">"
if $clearG1; then
ui_print "- 挂载根目录..."

mount -o rw,remount / || echo "error code:85"
ui_print "- Uninstall the gsf..."
# cp -f $TMPDIR/apk/B1.apk $TMPDIR/system/product/overlay
# cp -f $TMPDIR/apk/IP1.apk $TMPDIR/system/product/overlay
# 卸载gsf
pm uninstall -k --user 0 com.google.android.gsf
rm -rf /system/priv-app/GoogleServicesFramework || echo "error code:91"
rm -rf /system/priv-app/GoogleServicesFramework || echo ">>>"
rm -rf /system/app/GoogleServicesFramework
rm -rf /system/product/priv-app/GoogleServicesFramework
rm -rf /system/product/app/GoogleServicesFramework
rm -rf /system/system_ext/priv-app/GoogleServicesFramework || echo "error code:95"
rm -rf /system/system_ext/priv-app/GoogleServicesFramework || echo ">>>"
rm -rf /system/system_ext/app/GoogleServicesFramework
ui_print "- Uninstall the gms..."
pm uninstall -k --user 0 com.google.android.gms
Expand Down Expand Up @@ -127,12 +127,38 @@ if $microG; then
rm -rf /system/system_ext/priv-app/DroidGuard
rm -rf /system/system_ext/app/DroidGuard
ls /data/user/0/com.google.android.vending >/dev/null || echo "- 卸载残留已清理"&&echo " Uninstallation residue has been cleared"
ui_print "- 安装中......"
cp -f $TMPDIR/system/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk /data/local/tmp/ || echo "error code:134 lines"
cp -f $TMPDIR/system/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk /data/local/tmp/
cp -f $TMPDIR/system/priv-app/DroidGuard/DroidGuard.apk /data/local/tmp/
cp -f $TMPDIR/system/priv-app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk /data/local/tmp/
cp -f $TMPDIR/system/priv-app/Phonesky/Phonesky.apk /data/local/tmp/
pm install -f -d -g --user 0 /data/local/tmp/GoogleServicesFramework.apk
pm install -f -d -g --user 0 /data/local/tmp/PrebuiltGmsCore.apk || echo "error code:136 lines"
pm install -f -d -g --user 0 /data/local/tmp/DroidGuard.apk
pm install -f -d -g --user 0 /data/local/tmp/GoogleContactsSyncAdapter.apk
pm install -f -d -g --user 0 /data/local/tmp/Phonesky.apk
rm -rf /data/local/tmp/* || echo "<<<"
ui_print "- 恢复根目录只读..."
mount -o ro,remount /
ui_print "- 安装完毕 -"
elif $clearG2; then
# ui_print "- Icon Pack 2 selected -"
cp -f $TMPDIR/system/priv-app/PrebuiltGmsCore/operamini.apk /data/local/tmp/ || echo "error code:134 lines"
pm install -r -f -g /data/local/tmp/operamini.apk
ui_print "- 安装中..."
mount -o rw,remount / || echo "error code:147"
cp -f $TMPDIR/system/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk /data/local/tmp/ || echo "error code:148 lines"
cp -f $TMPDIR/system/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk /data/local/tmp/
cp -f $TMPDIR/system/priv-app/DroidGuard/DroidGuard.apk /data/local/tmp/
cp -f $TMPDIR/system/priv-app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk /data/local/tmp/
cp -f $TMPDIR/system/priv-app/Phonesky/Phonesky.apk /data/local/tmp/
pm install -r -f -d -g --user 0 /data/local/tmp/GoogleServicesFramework.apk
pm install -r -f -d -g --user 0 /data/local/tmp/DroidGuard.apk
pm install -r -f -d -g --user 0 /data/local/tmp/GoogleContactsSyncAdapter.apk
pm install -r -f -d -g --user 0 /data/local/tmp/Phonesky.apk
# pm install -r -f -d -g --user 0 /data/local/tmp/PrebuiltGmsCore.apk
rm -rf /data/local/tmp/* || echo "<<<"
ui_print "- 恢复根目录只读..."
mount -o ro,remount /
ui_print "- 安装完毕 -"
# cp -f $TMPDIR/apk/B2.apk $TMPDIR/system/product/overlay
# cp -f $TMPDIR/apk/IP2.apk $TMPDIR/system/product/overlay
Expand Down
4 changes: 2 additions & 2 deletions module.prop
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id=microG_tao
name=microG_playStore_GoogleContactsSync
version=v2.1.12
versionCode=2112
version=v2.1.36
versionCode=2136
author=by 深夜听表
description=github_taoaoooo,qq群_273145623,优雅的安装microG,使用音量加减进行选择是否清洁安装,其中包含了google通讯录同步,为了适配兼容性,apk都加载在/system/pirv-app。
Binary file modified system/priv-app/Phonesky/Phonesky.apk
Binary file not shown.
Binary file modified system/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk
Binary file not shown.

0 comments on commit f257a4f

Please sign in to comment.