Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
nift4 committed Nov 14, 2020
1 parent 30d65b9 commit 2efb101
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 14 deletions.
16 changes: 5 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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?

Expand Down
3 changes: 2 additions & 1 deletion customize.sh
Original file line number Diff line number Diff line change
@@ -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"
4 changes: 2 additions & 2 deletions module.prop
Original file line number Diff line number Diff line change
@@ -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
File renamed without changes.

0 comments on commit 2efb101

Please sign in to comment.