[MOD][FLASHABLE] microG unofficial installer

Search This thread

ale5000

Senior Member
Dec 24, 2013
1,192
1,105
If I replace any apk inside the zip installer with a different signed apk, will there be any problem flashing?
Yes,
you need to:
- Download the sources from github (not the already ready flashable zip);
- Extract them;
- Replace the file;
- Then replace the hash (currently sha1 hash) of the replaced file from zip-content/origin/file-list.dat;
- Then build it with build.bat (Windows) or build.sh (other OS).
 
  • Like
Reactions: dalda123

dalda123

Senior Member
May 15, 2018
51
12
New Delhi
Xiaomi Mi Max
Realme 5
Yes,
you need to:
- Download the sources from github (not the already ready flashable zip);
- Extract them;
- Replace the file;
- Then replace the hash (currently sha1 hash) of the replaced file from zip-content/origin/file-list.dat;
- Then build it with build.bat (Windows) or build.sh (other OS).
Where do I find the sources of the "full" version? I need the sources of

"microg-unofficial-installer-v1.2.0.6-alpha" - full.​

 
Last edited:

dalda123

Senior Member
May 15, 2018
51
12
New Delhi
Xiaomi Mi Max
Realme 5
Yes,
you need to:
- Download the sources from github (not the already ready flashable zip);
- Extract them;
- Replace the file;
- Then replace the hash (currently sha1 hash) of the replaced file from zip-content/origin/file-list.dat;
- Then build it with build.bat (Windows) or build.sh (other OS).
I didn't download the sources, instead I edited the already ready flashable zip.
I replaced an apk with different sign and then edited 'file-list.dat' with sha1 hash of the new apk and flashed the modified zip in recovery.
It worked.
 
Last edited:

ale5000

Senior Member
Dec 24, 2013
1,192
1,105
I didn't download the sources, instead I edited the already ready flashable zip.
I replaced an apk with different sign and then edited 'file-list.dat' with sha1 hash of the new apk and flashed the modified zip in recovery.
It worked.
Even the zip itself have a signature that is broken by editing, but many recovery skip this check.
Instead if the recovery check the signature it will fail.
 

dalda123

Senior Member
May 15, 2018
51
12
New Delhi
Xiaomi Mi Max
Realme 5
Even the zip itself have a signature that is broken by editing, but many recovery skip this check.
Instead if the recovery check the signature it will fail.
Thank you for this great microG installer.
After flashing the Full alpha version 1.2.0.6 most of the things are working fine. Even with internet turned on battery consumption is almost zero when device is idle.

Before flashing I modified the version code of microG apk with a greater version number than that of the latest Google Play Services to make it look like Google Play services (actually microG) is already updated.
This way Google Play Store doesn't keep trying to update microG (gmscore). So battery consumption decreased.

But I face a problem with location accuracy. I found only 3 location modules bundled with your installer.
Would you please add one or two more location modules, because Mozilla location module never worked for me in our area (India).
I tried installing other location modules from fdroid , but sometimes they work.
 
  • Like
Reactions: ale5000

kurtn

Senior Member
Jan 28, 2017
4,851
2,178
Small town in Bavaria
POCO M2 Pro
Thank you for this great microG installer.
After flashing the Full alpha version 1.2.0.6 most of the things are working fine. Even with internet turned on battery consumption is almost zero when device is idle.

Before flashing I modified the version code of microG apk with a greater version number than that of the latest Google Play Services to make it look like Google Play services (actually microG) is already updated.
This way Google Play Store doesn't keep trying to update microG (gmscore). So battery consumption decreased.

But I face a problem with location accuracy. I found only 3 location modules bundled with your installer.
Would you please add one or two more location modules, because Mozilla location module never worked for me in our area (India).
I tried installing other location modules from fdroid , but sometimes they work.
Bundled location providers should not give better results than installed as user app. There is no good network location provider for India. Except Google.

Suggestion: use déjà vu and map your neighborhood with open map app and enabled satellite location.
 

dalda123

Senior Member
May 15, 2018
51
12
New Delhi
Xiaomi Mi Max
Realme 5
Bundled location providers should not give better results than installed as user app. There is no good network location provider for India. Except Google.

Suggestion: use déjà vu and map your neighborhood with open map app and enabled satellite location.
I flashed minmicroG earlier. Whenever I enabled Mozilla location module it was showing wrong location. But disabling Mozilla location module and enabling other modules showing accurate location.
 

ale5000

Senior Member
Dec 24, 2013
1,192
1,105
But I face a problem with location accuracy. I found only 3 location modules bundled with your installer.
Would you please add one or two more location modules, because Mozilla location module never worked for me in our area (India).
I tried installing other location modules from fdroid , but sometimes they work.
I plan to add more backends in the future.
Every backend may work differently in different areas, the best thing to do is try them all and see what works best.

Bundled location providers should not give better results than installed as user app.
It depends, since on newer Android versions background execution is severely limited but many limitations can be avoided by tweaking something on the system partition.
 
  • Like
Reactions: dalda123 and kurtn

ale5000

Senior Member
Dec 24, 2013
1,192
1,105
Released microG unofficial installer v1.3.0 beta, the link is on the first post.

Changelog
- Add support for mounting system partition at /mnt/system (@mjenny)
- Improve compatibility with legacy shells
- Fix remounting system as read-write
- Rewrite system mounting code
- Fix debug log path when sideloading (thanks @mjenny for the help)
- Auto-root if needed in "zip-install.sh"
- Update microG Service Core to 0.2.27.223616 (now using MapLibre)
- Add full support for automounting A/B slot partitions (thanks @mjenny for the help)
- Add full support for automounting dynamic partitions (thanks @mjenny for the help)
- Support DEBUG_LOG and FORCE_ROOT env variables in "zip-install.sh"
- Fallback to manual parsing of key events when keycheck fails, fix #5
- Support live setup under "zip-install.sh"
- Update NewPipe to 0.25.0
- Support and enable live setup on all devices

See the full changelog.

Notes

This isn't a great period, so if you want to help me you can donate to me using the "Sponsor" button at the top of this repository.
Donations will always remain optional.
 
Last edited:

ptizz

Member
Mar 15, 2020
13
5
What do you mean?
It is a flashable zip that can be installed from recovery or from adb/terminal.
I installed from recovery, but "Permission to access location in the background" and "Permission to receive text messeges (sms)" are not active.
 

Attachments

  • Screenshot_20230221-135318_Voltage_Home.png
    Screenshot_20230221-135318_Voltage_Home.png
    129.6 KB · Views: 12

ale5000

Senior Member
Dec 24, 2013
1,192
1,105
I installed from recovery, but "Permission to access location in the background" and "Permission to receive text messeges (sms)" are not active.
Strange, it worked on all phones where I have tried it.
But you can probably fix it just by using this:
Code:
adb shell "minutil -i com.google.android.gms"
 

ptizz

Member
Mar 15, 2020
13
5
But you probably can fix it just by using this:
Code:
adb shell "minutil -i com.google.android.gms"
adb shell "minutil -i com.google.android.gms" Reinstalling com.google.android.gms... Failure [INSTALL_FAILED_SESSION_INVALID: Not allowed to update system package to the same versionCode] /system/bin/minutil[360]: ${*?}: bad substitution

P.S.
Factory reset and everything started!
 
Last edited:

ale5000

Senior Member
Dec 24, 2013
1,192
1,105
New test builds with support for uninstallation.
During flashing, it will ask via LIVE SETUP if you want to "Update / reinstall" or "Uninstall" (it won't ask it on the first time).

 

Top Liked Posts

  • There are no posts matching your filters.
  • 161
    Description
    microG unofficial installer simplify the installation of microG.
    IT FEATURE ALSO NON-AROMA LIVE SETUP (now working on all phones).

    Download
    microG unofficial installer v1.3.0 beta - Full (Android 2.2 - 13)
    microG unofficial installer v1.3.0 beta - OSS (Android 2.2 - 13)
    Google Sync Add-on v1.2.0 beta (Android 4.4 - 4.4.4 and 7 - 8, probably even newer versions)

    NOTE: Devices with a MIPS CPU aren't supported.
    IMPORTANT: The installer isn't supported by the author of microG so installer related bugs should be reported to me instead app related bugs should be reported there.

    Contents
    See here.

    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, Tool/Utility for all devices (see above for details)

    Contributors
    ale5000
    Source Code: https://github.com/micro5k


    Version Information
    Status:
    Beta
    Current Version: v1.3.0
    Release Date: 2023-02-19

    Created 2016-08-04
    50
    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;
    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.


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

    Known to work
    - Google Play Store *
    - Google Contacts Sync
    - Google Calendar Sync
    - Android Auto
    - Gmail (on Android 8+)
    - YouTube
    - Pokémon GO
    - Netflix
    - Snapchat
    - WhatsApp
    - Signal Private Messenger
    - WiFi Sherlock
    - QR Droid / QR Droid Private

    * Included in the pack.
    31
    microG unofficial installer - Changelog

    Changelog is now here.


    Google Sync Add-on - Changelog

    Changelog is now here.
    16
    I have released microG unofficial installer 1.0.31 beta, there isn't yet a changelog but the most important change is the update of GmsCore that fix the "update nag screen" and many GCM problems.
    12
    Released microG unofficial installer 1.0.27 beta.
    It should fix a lot of problems (although not all yet).

    Edit: Changelog added.