FORUMS
Remove All Ads from XDA
Honor 9 Lite

[MOD][FLASHABLE] microG unofficial installer

861 posts
Thanks Meter: 693
 
By ale5000, Senior Member on 4th August 2016, 02:25 AM
Post Reply Email Thread
Description
microG unofficial installer simplify the installation of microG (all files included are the original versions).
IT FEATURE ALSO NON-AROMA LIVE SETUP (this functionality is currently limited to ARM phones).

Download
microG unofficial installer 1.0.27 beta (Android 2.3 - 8.1)
Google Sync Add-on 1.0.3 beta (Android 4.4 - 4.4.4 and 7 - 8)

NOTE: Devices with a MIPS CPU aren't supported.
IMPORTANT: This installation method isn't supported by the author of microG so you should install it normally before reporting bugs to him (instead installer related bugs should be reported to me).

Contents
microG Service Core 0.2.4-108 (0.2.4-81 on Android < 5)
microG Services Framework Proxy 0.1.0
microG DroidGuard Helper 0.1.0-10
FakeStore 0.0.2
Google Play Store 7.1.25.I-all (5.1.11 on Android < 5)

NewPipe 0.11.4
Déjà Vu Location Service 1.0.7
Mozilla UnifiedNlp Backend 1.3.3
Nominatim Geocoder Backend 1.2.2

F-Droid Privileged Extension 0.2.7

microG Maps API v1 0.1.0

UnifiedNlp (legacy) 1.6.8 (installed only on Android < 4.4)

Official threads
microG
UnifiedNlp

Credits
@MaR-V-iN (for microG, a perfect application that works perfectly also on old phones).
@YashdSaraf for building BusyBox (BusyBox is used only during the installation, nothing on the device is altered).

XDA:DevDB Information
[MOD][FLASHABLE] microG unofficial installer 1.0.27 beta, Tool/Utility for all devices (see above for details)

Contributors
ale5000
Source Code: https://github.com/micro-a5k


Version Information
Status: Beta
Current Beta Version: 1.0.27
Beta Release Date: 2018-01-17

Created 2016-08-04
Last Updated 2018-01-16
The Following 99 Users Say Thank You to ale5000 For This Useful Post: [ View ] Gift ale5000 Ad-Free
 
 
4th August 2016, 02:25 AM |#2  
OP Senior Member
Thanks Meter: 693
 
Donate to Me
More
Installation
1. Copy the flashable ZIPs to the phone;
2. Add signature spoofing (needed only for ROMs without built-in support for it) to your ROM using Tingle or FakeGApps (this one need Xposed);
3. In the recovery flash the zip of microG unofficial installer;
4. In the recovery flash the zip of Google Sync Add-on (optional);
5. Restart the phone;
6. Enable "Google device registration" (important for Google Play Store) in microG settings.


Know Issues
- Google Play Games (empty app or crashing)
- Google Assistant (freezing)

Known to work
- Google Play Store *
- Google Contacts Sync
- Google Calendar Sync
- Gmail
- YouTube
- Pokémon GO
- Netflix
- Hangouts **
- Snapchat
- WhatsApp
- Signal Private Messenger
- WiFi Sherlock
- QR Droid / QR Droid Private

* Included in the pack.
** Works with the trick listed here.
The Following 30 Users Say Thank You to ale5000 For This Useful Post: [ View ] Gift ale5000 Ad-Free
4th August 2016, 02:25 AM |#3  
OP Senior Member
Thanks Meter: 693
 
Donate to Me
More
microG unofficial installer - Changelog
1.0.27 beta
- Updated microG Service Core to 0.2.4-108
- Updated Déjà Vu Location Service to 1.0.7
- Updated NewPipe to 0.11.4
- Updated permissions list
- Added removal of Baidu location service
- Improved removal of AMAP location service
- Improved GApps / microG removal
- Automatically create folders on the device if missing
- Minor changes

1.0.26 alpha
- Added NewPipe 0.11.1 (YouTube replacement)
- Automatically disable battery optimizations for microG GmsCore
- Updated Mozilla UnifiedNlp Backend to 1.3.3
- Updated Déjà Vu Location Service to 1.0.4
- Install Déjà Vu Location Service only on supported Android versions
- Almost fully rewritten the GApps / microG uninstaller
- Now it also clean app updates

1.0.24 alpha
- Updated microG Service Core to 0.2.4-107

1.0.23 alpha
- Added Déjà Vu Location Service 1.0.2
- Now the list of files to backup for the survival script are generated dynamically so all files are preserved in all cases
- Refactored code
- Many fixes and optimizations

1.0.22 beta
- Updated microG Service Core to 0.2.4-105
- Updated F-Droid Privileged Extension to 0.2.7
- Added Google Play Store 7.1.25.I-all
- Install recent Play Store on Android 5+
- Improved debug logging
- Allow to configure the live setup timeout
- Allow to configure the Play Store version to install
- Minor changes

1.0.21 beta
- Added FakeStore 0.0.2
- Added support for live setup (currently limited to ARM phones)
- Added selection of the market app to install in the live setup
- Improved robustness
- Various minor improvements

1.0.20 alpha
- Added default permissions
- Reset permissions on dirty installations
- Remove conflicting location providers
- Other changes

1.0.19 alpha
- Released sources on Github
- Changed signing process to fix a problem with Dingdong Recovery and maybe other old recoveries.
- More consistency checks and improved error handling
- Minor changes

1.0.18 alpha
- Updated microG Service Core to 0.2.4-103
- Updated Nominatim Geocoder Backend to 1.2.2
- Switched BusyBox binaries to the ones compiled by @YashdSaraf (BusyBox is used only during the installation, nothing on the device is altered)
- Completely removed the disabler code for Play Store self update since it wasn't a clean method, there will be another way to do it in ADB Toolbox
- Improved the internal GApps remover
- GApps remover now also remove MIUI specific files
- Other changes

1.0.17 beta
- Downgraded microG Service Core to 0.2.4-81 on Android < 5 (workaround for bug #379)
- Added a workaround for recoveries without /tmp
- Updated microG DroidGuard Helper to 0.1.0-10
- Updated F-Droid Privileged Extension to 0.2.5

1.0.16 alpha
- Updated microG Service Core to 0.2.4-92
- Validate some return codes and show proper error if needed
- The lib folder is now created automatically if missing
- Minor changes

1.0.15 pre-alpha
- Rewritten the update-binary as shell script to improve compatibility with all devices
- Updated F-Droid Privileged Extension to 0.2.4
- Minor changes
Note: The device compatibility should be almost 100% now but the big changes may have introduced some regressions.
Note 2: It currently also miss many safety checks

1.0.14 alpha
- Updated microG Service Core to 0.2.4-81
- file_getprop is no longer used
- Fixed support for system root image
- Minor changes

1.0.13 alpha
- Added support for devices with system root image (untested)
- Updated F-Droid Privileged Extension to 0.2.2
- Switch the apk name of F-Droid Privileged Extension to the official one
- F-Droid Privileged Extension is now installed on all Android versions
- Minor changes

1.0.12 alpha
- Added microG DroidGuard Helper 0.1.0-4
- Added more components to the survival script, not yet complete (only Android 5+)
- Minor changes

1.0.11 alpha
- Added a survival script (not complete)
- Updated microG Service Core to 0.2.4-79
- Updated Nominatim Geocoder Backend to 1.2.1
- Minor changes

1.0.10 beta
- Reverted blocking of Play Store self update on Android 5+ since it is not reliable
- Updated microG Service Core to 0.2.4-64
- Updated Nominatim Geocoder Backend to 1.2.0
- Added F-Droid Privileged Extension 0.2 (only Android < 5)

1.0.9 beta
- Now blocked Play Store self update on all Android versions
- Avoid possible problems that could happen if the Play Store was already updated before flashing the zip
- Minor changes

1.0.8 beta
- Now blocked Play Store self update (only Android 5+)
- Minor changes

1.0.7 beta
- Downgraded Google Play Store to 5.1.11 (this fix the crash when searching)

1.0.6 beta
- Updated microG Service Core to 0.2.4-50
- Updated UnifiedNlp (legacy) to 1.6.8
- Added support for devices with x86_64 CPU (untested)
- Minor changes

1.0.5 beta
- Verify hash of extracted files before installing them
- Fixed installation of 64-bit libraries on old Android versions
- Minor changes
- Minor fixes

1.0.4 alpha
- Total rewrite of the code for installing libraries
- Added support for 64-bit ARM
- Added UnifiedNlp (legacy) 1.6.7 (only Android < 4.4)
- Minor changes

1.0.3 alpha
- Major rewrite of the installation script to add support for newer Android versions (big thanks to @JanJabko for the phone)
- Updated microG Service Core to 0.2.4-39
- Updated Google Play Store to 5.4.12
- Minimum API version back to 9
- Minor changes

1.0.2 beta
- Updated microG Service Core to 0.2.4-20
- Minimum API version bumped to 10

1.0.1 beta
- Added support for x86
- Improved CPU detection
- Improved Android version checking
- Improved error reporting
- Minor changes

1.0.0 alpha
- Initial release


Google Sync Add-on - Changelog
1.0.3 beta
- Updated Google Contacts Sync to 8.0.0 for Nougat (tested)
- Improved Google Sync Add-on / GApps uninstaller
- Minor changes

1.0.2 alpha
- Released sources on Github
- Added Google Calendar Sync for KitKat
- Changed signing process to fix a problem with Dingdong Recovery and maybe other old recoveries.
- Added default permissions
- Reset permissions on dirty installations
- Temporarily disabled support for Marshmallow until the problems are fixed
- Almost complete rewrite of the installer, so you can finally say goodbye to error 4
- Too many changes to remember

1.0.1 beta
- Added support for Android 6.0 - 8.0
- Added Google Contacts Sync O
- Added Google Calendar Sync 5.2.3-99827563

1.0.0 beta
- Initial release
The Following 20 Users Say Thank You to ale5000 For This Useful Post: [ View ] Gift ale5000 Ad-Free
4th August 2016, 09:53 AM |#4  
Primokorn's Avatar
Recognized Contributor / Themer
Thanks Meter: 7,326
 
Donate to Me
More
Quote:
Originally Posted by ale5000

It currently support only Android from version 2.3 to 4.4.4 (some things may not work on Android < 4.0).

The official microG apps are working well on Android 5 and 6 so why don't you support these versions?
4th August 2016, 01:52 PM |#5  
OP Senior Member
Thanks Meter: 693
 
Donate to Me
More
Quote:
Originally Posted by Primokorn

The official microG apps are working well on Android 5 and 6 so why don't you support these versions?

I will support it in the future but currently not, because I don't have a phone that run these versions of Android.
There are some big differences and if I add support without test it I will probably broke something.

Sent from my Samsung GT-S5830i using XDA Labs
The Following 2 Users Say Thank You to ale5000 For This Useful Post: [ View ] Gift ale5000 Ad-Free
9th August 2016, 02:27 AM |#6  
OP Senior Member
Thanks Meter: 693
 
Donate to Me
More
It would be nice if anyone could post the phone model, the type of recovery, the android version and say if the installer works and if the detected CPU is correct.
The Following User Says Thank You to ale5000 For This Useful Post: [ View ] Gift ale5000 Ad-Free
15th August 2016, 11:23 PM |#7  
Junior Member
Thanks Meter: 0
 
More
Purchases and IAP
@ale5000

Hello!

I have set up my device (OPO running Darkobas MM ROM) using your script. Are purchases through the play store and in-app purchases working for you? Because my play store keeps crashing when I try to buy something.

EDIT: By saying "using your script", I meant that I enabled signature spoofing via your script.
16th August 2016, 01:31 AM |#8  
OP Senior Member
Thanks Meter: 693
 
Donate to Me
More
Quote:
Originally Posted by fbamopoulos

I have set up my device (OPO running Darkobas MM ROM) using your script. Are purchases through the play store and in-app purchases working for you? Because my play store keeps crashing when I try to buy something.

EDIT: By saying "using your script", I meant that I enabled signature spoofing via your script.

This thread is about the microG unofficial installer and it doesn't yet support MM ROMs (only the installer, microG itself support it).
Instead the thread about the script that enable signature spoofing is here (this one already support MM ROMs).

About purchases I cannot be sure since I don't buy, it possibly work, but you need some things:
- You need to put the original Play Store apk in /system/priv-app (any other position will not work).
I'm not sure if the latest version work, to be sure manually extract the one inside the microG unofficial installer and put it in /system/priv-app (it is an old version that should work on almost every phone).
- Then restart the phone.
- Then open microG self check and check that everything is working as it should and re-try to buy.

After that please tell me if it is working or not.
18th August 2016, 03:01 PM |#9  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by ale5000

This thread is about the microG unofficial installer and it doesn't yet support MM ROMs (only the installer, microG itself support it).
Instead the thread about the script that enable signature spoofing is here (this one already support MM ROMs).

About purchases I cannot be sure since I don't buy, it possibly work, but you need some things:
- You need to put the original Play Store apk in /system/priv-app (any other position will not work).
I'm not sure if the latest version work, to be sure manually extract the one inside the microG unofficial installer and put it in /system/priv-app (it is an old version that should work on almost every phone).
- Then restart the phone.
- Then open microG self check and check that everything is working as it should and re-try to buy.

After that please tell me if it is working or not.

@ale5000

I did what you suggested and tried using the version you provide in your installer. I was able to complete one purchase too, but then Google Play Store updated itself automatically to the latest version and purchases broke again. I read these two threads:

http://forum.xda-developers.com/gala...tore-t2951378/
http://forum.xda-developers.com/andr...date-t3091832/

but didn't find a solution to the auto-update problem for marshmallow. Do you know of an other way?

Thanks for your help so far.
18th August 2016, 06:01 PM |#10  
OP Senior Member
Thanks Meter: 693
 
Donate to Me
More
I need some time to look for a solution.
26th September 2016, 12:55 AM |#11  
OP Senior Member
Thanks Meter: 693
 
Donate to Me
More
I have released a new version.
Post Reply Subscribe to Thread

Tags
flashable, gapps remover, installer, microg

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes