Skip to content

nift4/microg_installer_revived

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 152 commits ahead of lonsagisawa:master.

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
June 3, 2023 10:19
June 3, 2023 10:19
July 10, 2022 21:45
June 3, 2023 10:19
June 3, 2023 10:19
June 3, 2023 10:19
June 3, 2023 10:19

microG Installer Revived

This is a Magisk module - originally based on Hieu Van's microG Installer - that installs microG GmsCore, GsfProxy and FakeStore (or Play Store if you want so) to /system/priv-app.

There are two copies of this online: The Magisk alt module repo and the personal one. The personal one contains the latest development version and is used for pull requests and issues and the Magisk alt repo one is the stable code only.

Why you may want to use it

In short: this is the cleanest option to install microG and just be done with 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. 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. Aditionally, this module forces UnifiedNlp support even when no NLP provider is configured in your ROM. And GsfProxy needs to be an system app for some third-party apps.

Currently, GmsCore 0.2.28, GsfProxy 0.1.0, FakeStore 0.2.0 and MapsV1 0.1.0 are bundled in the module.

Note: Install this module before installing any GMS-dependent apps, as well as do not disable it after installing such apps, unless you know what you're doing.

Installation

Again, if you have Google services currently installed, DO NOT INSTALL THIS MODULE.

How do I get the real Play Store?

First, if you experience an bootloop, use Magisk Safe Mode to disable the module and use an older Play Store APK, then post a bug report. This module needs to be updated for new Play Store versions every while. If it boots, but Play Store is broken, it's probably a microG issue. Feel free to report issues in the bugtracker here though.

Get an Play Store APK (I suggest unpatched Play Store from APKMirror). 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. Now grant all permissions. You can now install updates for the Play Store like for every app.

Build

Linux, BSD, macOS, Android

Requires wget.

wget -O META-INF/com/google/android/update-binary https://raw.githubusercontent.com/topjohnwu/Magisk/master/scripts/module_installer.sh && zip microG_Installer_Revived.zip -9r * -x update.json

Other

Download this and put it into META-INF/com/google/android/update-binary. And ZIP it.

About microGOverlay.apk

This APK file is an simple overlay containing configuration for UnifiedNlp. The source can not be checked in into this git repository because of compatibility reasons with module repositories, so I posted the trivial source code on an extra branch. You can use any signing keystore to sign the overlay, but it needs to be signed.

Credits

  • microG project for their awesome work
  • Hieu Van for the original microG Installer
  • Fs00 for many bug fixes
  • chris42 and FriendlyNeighborhoodShane for privapp permission files
  • felinira, akaessens and soracqt for contributing through pull requests

About

Install microG GmsCore, GsfProxy, FakeStore (or Play Store if you want so) and MapsV1 to /system/

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%