diff --git a/README.md b/README.md index b9b07b2..1e83fb2 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -NOTE: Now on Magisk repo: https://github.com/Magisk-Modules-Repo/microG_installer (the [nift4](https://github.com/nift4/microg_installer_revived) repo has the development version (and it's used for pull requests and issues) while the magisk repo has the stable version) - -NOTE2: This repo was an fork of the original repo (code is [here](https://github.com/nift4/microg_installer/tree/23de13101d8dd5807f713d0cace4a565478c6cfd?files=1)) that is deleted, so GitHub has chosen another fork as original repo. - # microG Installer Revived This is a Magisk module that installs microG GmsCore, GsfProxy and DroidGuard Helper to `/system/priv-app`. +This is originally based on Hieu Van's microG Installer. Because his repository is deleted, GitHub chose another fork of the main repo as original repo. I archived the original code [here](https://github.com/nift4/microg_installer/tree/23de13101d8dd5807f713d0cace4a565478c6cfd?files=1). + +There are two copies of this online: The [Magisk module repo](https://github.com/Magisk-Modules-Repo/microG_Installer) and the [personal](https://github.com/nift4/microg_installer) one. The personal one contains the latest development version and is used for pull requests and issues and the Magisk repo one is the stable code. + ## Why you may want to use it UnifiedNlp, which is bundled with GmsCore, if installed as an user app doesn't work on Android 7 and newer without [an additional patch](https://github.com/microg/android_packages_apps_UnifiedNlp/blob/master/patches/android_frameworks_base-N.patch). An another solution to the above problem is to install the app as a privileged system app. However, this way is not perfect, due to those kind of apps being wiped after an OTA update. Therefore, I'm creating this module to help simplify the installation of microG with working network-based location. @@ -26,13 +26,7 @@ Currently, GmsCore 0.2.13, GsfProxy 0.1.0, FakeStore 0.1.0 and DroidGuard Helper First, if it is broken, it's microG's fault, not mine :P -Okay, get an Play Store APK (I suggest the patched Play Store by Nanolx). Then put it into - -``` -/data/adb/modules/microg_installer/system/priv-app/Phonesky/ -``` - -named `Phonesky.apk`. You need to do that after every module update... Sorry. Maybe I will handle this better at a later point. +Okay, get an Play Store APK (I suggest the patched Play Store by Nanolx). Then put it into `/data/adb/` named `Phonesky.apk`(`/data/adb/Phonesky.apk`). You need to do that only once. If you now install, update or reflash microG Installer Revived there will be an message "Installing real Play Store". This indicates it worked. You can install updates for the Play Store like for every app. ## Doesn't NanoDroid fix the problem? diff --git a/customize.sh b/customize.sh index cd8424d..695f815 100644 --- a/customize.sh +++ b/customize.sh @@ -1 +1,2 @@ -ls /data/adb/Phonesky.apk && { ui_print "- Installing real Play Store"; cp /data/adb/Phonesky.apk "$MODDIR/system/priv-app/Phonesky/Phonesky.apk" } || ui_print "- Real Play Store not found, installing Fake Store" +ls /data/adb/Phonesky.apk >/dev/null && ui_print "- Installing real Play Store" +ls /data/adb/Phonesky.apk >/dev/null && cp /data/adb/Phonesky.apk "$MODPATH/system/priv-app/Phonesky/Phonesky.apk" || ui_print "- Real Play Store not found, installing Fake Store" diff --git a/module.prop b/module.prop index 3891384..592f0bf 100644 --- a/module.prop +++ b/module.prop @@ -1,6 +1,6 @@ id=microg_installer name=microG Installer Revived -version=Revived 1.6.0-1 -versionCode=1601 +version=Revived 1.7.0-0 +versionCode=1700 author=nift4 (prev. Hieu Van) description=Install microG GmsCore, GsfProxy, FakeStore & DroidGuard Helper to /system/priv-app diff --git a/system/etc/sysconfig/microg.xml b/system/etc/sysconfig/org.microG.xml similarity index 100% rename from system/etc/sysconfig/microg.xml rename to system/etc/sysconfig/org.microG.xml