yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] ale5000:
New alpha build (v1.3.1.60) of microG unofficial installer.

Edit: More recent alpha is here => https://xdaforums.com/t/mod-flashable-microg-unofficial-installer.3432360/post-89404773

Main changes:

- Live setup will now save most option selected and when flashing again without live setup it will reuse them;

- Fix rollback on new Android versions;

- Rename the option USE_GMSCORE_BY_ALE5000 to USE_MICROG_BY_ALE5000;

- The option USE_MICROG_BY_ALE5000 now control also FakeStore in addition of GmsCore;

- Add a working version of Gmail (only for Android 5.0 - 7.1.2), disabled by default but can be enabled in live setup;

- Add the possibility to reset battery to the minutil script, it can reset the battery chip only on some phones.

If you enable USE_MICROG_BY_ALE5000 then microG will include additional fixes (not done by me) that aren't yet in the latest official release:

- Theme improvements (Material 3);

- Added support for license verification inside microG Companion (FakeStore), disabled by default but can be enabled in microG settings;

- Added support for MLKit Vision BArcode API;

- Added support for PoToken service;

- Added support for identity sign-in service;

- Added dummy AUDIT (fix Google Authenticator);

- Fixed the login exception issue when the scope is "oauth2:";

- Various map fixes;

- Declare CAR_SPEED permission fix the Google Maps location permission authorization pop-up window when connecting to Android Auto;

- Fix account access of Jamboard;

- Fido fixes;

- Add client API classes and dummy service for FITNESS_HISTORY(57) (should make Google Fit log-in, it didn't work for me but may work for others);

- Various other fixes.
[Miscellaneous Android Development] dalda123:
I tried to clean flash it with unofficial crDroid Android 13 rom but it didn't boot. I even changed the config file to flash only "by Ale5000" packages, but still no luck. Please Upload more beta releases , I will try again.
[Miscellaneous Android Development] ale5000:
New alpha build (v1.3.1.62) of microG unofficial installer: https://share.freepro.com/2e83d513-b674-47ed-ab2a-ffc2c25cb0f9

Always perform backups as a precaution.

Main changes:

- Fixed most bootloops on new Android versions

- Fixed microG interface crashes on Android < 6

Note 1: It should works perfectly even on Android 14

Note 2: It should works perfectly even in every Android emulator on the PC

@dalda123: Could you please try this build?
[Miscellaneous Android Development] dalda123:
Yes, I will test tomorrow at IST 5PM
[Miscellaneous Android Development] dalda123:
This time it booted successfully. Everything working fine. Safety net passing.

I changed the configuration file inside the zip to - "export USE_MICROG_BY_ALE5000=1"
[Miscellaneous Android Development] dalda123:
Play Store shows "Device is certified", but it says to update "Google Play Services"
[Miscellaneous Android Development] ale5000:
Good, thanks for the feedback.

Due to signature spoofing Play Store think it is the real Google Play Services but it is in reality microG Services.

You can simple ignore this update (but even if you try the update will fails so no problem).

From time to time I update the microG internal version to avoid the update message but it is just an annoyance, not a real problem.
[Miscellaneous Android Development] bschtl:
[MENTION=5627087]ale5000[/MENTION]

+1 to that.
[Miscellaneous Android Development] marcdw:
I have a ROM that uses a themed set of Google apps. DarkMTRL by Thyrus. The Play Store (6.8.24 I think) kept getting updated. Really annoying as it is an older Layers ROM. Newer Play Stores just weren't looking as good as that themed one.

Originally I disabled

SelfUpdateCheckerScheduler$SelfUpdateCheckerTaskService

Play Store kept crashing. That's when I found out that that service was trying to be called by another which caused the crashes.

DailyHygiene$DailyHygieneService

Once I disabled that one there have been no updates and no problems.

But yeah. I'd like to know of an official list of services to disable.

LG G3 D851, Mahdi KitKat ROM, microG Project (NoGapps), MultiROM, Tapatalk 4.9.5
[Miscellaneous Android Development] adikri:
What's droid guard helper for?
[Miscellaneous Android Development] bschtl:
I now disabled this service too and that solved the issue with self updates of Google Play Store. But unfortunately Google Play doesn't offer me updates for my installed apps anymore, too.
[Miscellaneous Android Development] NinjaFlood:
[MENTION=5627087]ale5000[/MENTION] I really appreciate this flashable zip. It simplifies microG installation. Good Work!

-

I don't get why the provided playstore is the 5.1 version. You can't even download apps that requires android MM or above.

Is there something i'm missing here?

Anyway, I got the latest Google Play working 100%, no crashes, no weird things.

1)Download the latest Google Play Store APK version here:

http://www.apkmirror.com/apk/google...ay-store-7-3-26-k-all-0-pr-144039714-release/

2) Delete this file:

"/system/priv-app/Phonesky/Phonesky.apk"

3)Place the downloaded PlayStore APK here:

"/system/priv-app/Phonesky/", rename it to "Phonesky.apk" and give it 644 permission attributes.

4) Go to "/data/app/" and delete all files and folders named like "com.android.vending-XX"

5) Reboot
[Miscellaneous Android Development] bschtl:
Works fine for me, thanks a lot [MENTION=6702209]NinjaFlood[/MENTION] !
[Miscellaneous Android Development] mringis:
Use version 1.0.9. Playstore keep updating and can't sign in. I replace it with fakestore for now

Other than that, your work flawless
[Miscellaneous Android Development] nijihana:
Hallo! Good work on this one, it's very convenient

Can you please make one for x86 architecture? I have an ASUS ze551ml and it won't want to flash :<
[Miscellaneous Android Development] marcdw:
I'm sure a search of the web would help you with that.

LG G3 D851, SlimKat ROM, MultiROM, Tapatalk 4.9.5
[Miscellaneous Android Development] ale5000:
Sorry, I don't have time yet to reply to everyone but I will reply soon.

[MENTION=7016424]nijihana[/MENTION]: In the mean time please give me some more info about the error, the zip should work on x86 but I don't have any device to test it.
[Miscellaneous Android Development] joelh:
[MENTION=5627087]ale5000[/MENTION]: I'm getting auto-update issues on Lineage 13.0 after running the proper adb shell commands for Play Store 5.1.11. Working fine with the 1.0.7 beta on crDroid 7.1.1. Setting Phonesky.apk permissions to 644 didn't help either (wasn't necessary in crDroid 7.1.1/Nougat).

edit: fwiw to followers of this thread, I got Play Store 5.1.11 to work in Lineage 13.0 largely by following [MENTION=6702209]NinjaFlood[/MENTION]'s steps in his post above, but instead of deleting the /data/app/com.android.vending-1 folder, I set it to chmod 644 (and deleted its contents). In addition, I used MyAndroidTools to stop the two auto-update services (linked in the quote above) as well as the DailyHygiene service. The other steps are identical. Currently rooted with Magisk and passing SafetyNet :)
[Miscellaneous Android Development] urbient:
hi , my wifi turns on all the time . iam on lineage 02/06 for the lg g3 d855 .i flashed the rom again to remove microG and the issue is gone . only when i go into flight mode it stays off . any idea ? i turned all wifi related boxes off in the backends.
[Miscellaneous Android Development] :
I have a problem when using the latest version of the installer (which is 1.0.10 Beta at the moment).

After flashing the package I am able to open the Play Store and log in to my account normally. Then the Play Store updates itself automatically to the newest release, and with that it always shows a log-in screen even though the account is already in the system. Removing and re-adding the account in the system settings does not help, the permissions are all set correctly, but it is still impossible to log-in to the account in the Play Store.

It seems that something breaks during the auto-update process... I have managed to solve the problem only by replacing the PhoneSky.apk in the /system/priv-app folder with the newest version.

If the Play Store is to auto update itself anyway, is there any reason not to include the newest release in the package?
[Miscellaneous Android Development] ale5000:
Sorry for being a bit absent but I don't have much time currently but in the meantime I have released a test version with a survival script (currently only the apk of microG Service Core survive a ROM flashing).
[Miscellaneous Android Development] Draygon:
Hello,

I followed your guide but I still get crashes when I try to purchase Apps over the Play store.

I used version 7.3.26-K and the latest MicroG beta.

What is the latest version working with app and inapp purchases?
[Miscellaneous Android Development] ale5000:
[MENTION=4169180]Draygon[/MENTION]: The version bundled with microG unofficial installer (Google Play Store 5.1.11) is the latest version that work realibly for all people in all cases.

[MENTION=6702209]NinjaFlood[/MENTION]: I really don't see the advantage of using the latest version except being more bloated.

It never happened to me, can you please link me one?
[Miscellaneous Android Development] NinjaFlood:
SnapChat
[Miscellaneous Android Development] xk0niR:
I just noticed it myself (I needed like 2h to find out what kept me away from install Snapchat and other Apps).

What I would recommend:

I downloaded 2 TeamBlackout Play Store Versions. The latest and the Version provided in this package.

Stay on the latest Version but if I need to buy in app purchases (paid apps can be bought via website), just flash the older version, buy the app and flash again latest Play Store version.

But I agree that the newer versions are slower and more bloated.
[Miscellaneous Android Development] ShapeShifter499:
I was searching around microG posts and saw that "Pokemon Go" is in the list here, is this still true? I stopped playing when they blocked root, then I switched over to using microG on LineageOS 14.1 I would love to start playing again if this is true.
[Miscellaneous Android Development] joelh:
It works with Magisk Hide and systemless root with microG, yes
[Miscellaneous Android Development] dalda123:
Play Store keeps trying to update GMS to latest official version in the background when connected to the internet which causes a lots of battery draining.

Update problem can be solved if you change the version code number higher than the original GMS by Google (change the 3rd digit of the version code to 1 digit higher), then Play Store will think that it is already updated.

I have done it before, with apk editor I changed the version code of your microG apk and then battery life was increased.

I have to do it to save some battery juice when I get some time to edit the apk.
[Miscellaneous Android Development] ale5000:
By editing the apk you break the signature and when Android detect the signature change it wipe the app data of microG Services.

PS: I will update the version of microG before release the v1.3.2 of my installer.
[Miscellaneous Android Development] DarkSteve:
Your MicroG installer worked for me!

microG installer version: 1.3.1 beta

Phone Model: Samsung Galaxy S5 SM-G900F (klte)

Recovery: TWRP 3.7.0_9-0

Android Version: Unofficial LineageOS 21 (Android 14)

I did a clean install of LineageOS 21, rebooted to recovery, flashed your installer from TWRP, then rebooted.

It appears to be working, push notifications are working (as is MS Authenticator), but SafetyNet isn't working ("ROM is not clean"). However, the reCaptcha worked. Sorry, I missed whether the detected CPU was correct.

You've stated your installer works with Android up to 13, but it worked on my decade-old phone running 14. Good work!

EDIT: I used the beta on page 1, not the alpha (v1.3.1.62) on the previous page!
[Miscellaneous Android Development] weskerty:
I read that it can be installed from ADB or Terminal.

How to do it? My phone does not have a personalized Recovery to be able to use it.
[Miscellaneous Android Development] DarkSteve:
Uh, don't?

You read you can install this particular flashable MicroG Installer via ADB where? Are you sure what you read relates to this build?

Also, this particular MicroG Installer is flashable, just flash it like you did your ROM. (Because if you're still using stock ROM and recovery, then you already have play services, you don't need MicroG.)
[Miscellaneous Android Development] kurtn:
MicroG works best in degoogled custom ROM. Get a supported device
[Miscellaneous Android Development] weskerty:
i Have crDroid Vanilla (GSI)

I thought installing MicroG would be easy.

in the github de googlesync de Ale. "Added an helper script (zip-install.sh) for the installation of the flashable zip via terminal or via ADB (recovery not needed)"

Releases · micro5k/google-sync-addon

Google Sync add-on - it installs Google sync adapters on Android - micro5k/google-sync-addon

github.com

Updating my Rom is through fastboot. Fastboot flash system system.img

It is a NokiaG20 with dynamic/Super partitions with crDroid10.5 GSI

Releases · naz664/crDroid_gsi

Script and patches for building PHH-Treble based crDroid GSI - naz664/crDroid_gsi

github.com
[Miscellaneous Android Development] kurtn:
First thing i would try is to install gmscore app from microG.org and look for aelf-check: is spoofing granted?
[Miscellaneous Android Development] weskerty:
Yeah. The web application is installed with all permissions.

Google Contac Sync installed as user does not work.
[Miscellaneous Android Development] kurtn:
I don't like syncing. You can download contacts.vcf from your Google account website. Or try davx5 for syncing.
[Miscellaneous Android Development] weskerty:
Unfortunately synchronization is a priority for me.
[Miscellaneous Android Development] ale5000:
Prerequisite: Installing via adb can really replace apps on a running system but obviously require root.

To install the zip via adb:

adb push microg-unofficial-installer.zip /storage/self/primary/Download/microg.zip
adb shell
cd /storage/self/primary/Download/
unzip microg.zip zip-install.sh
sh zip-install.sh microg.zip

Note 1: Replace microg-unofficial-installer.zip with the name of the zip on your pc that you want to install.

Note 2: Replace /storage/self/primary/Download/ with the path of a folder that really exist on your phone.
[Miscellaneous Android Development] weskerty:
I was able to install microG like this, but no sync contacts. It shows an error that System is read-only;
[Miscellaneous Android Development] ale5000:
The sync add-on currently is a bit behind but I have intention of updating it soon.
[Miscellaneous Android Development] Developer0fTruth:
You mind sharing that link to the beta version again so I can try it out please?

Edit forgot to mention Alpha was rush browsing at the time
[Miscellaneous Android Development] DarkSteve:
"The beta"?

You mean the beta on page one? Or the alpha on the previous page?
[Miscellaneous Android Development] Developer0fTruth:
The new alpha build, the link from the previous page doesn't work or has expired :(
[Miscellaneous Android Development] ale5000:
I will upload another one soon.
[Miscellaneous Android Development] Developer0fTruth:
Thank you, I did try and compile a build for myself however I was unsuccessful as to install it so I'm going to try and find out what the issue is and another build to test that I haven't made would be great to validate with as well as get Micro G installed on my phones.
[Miscellaneous Android Development] ale5000:
We are very near to the new beta.

In the meantime here are the latest alpha.

I believe I have fixed all bootloops but always perform backups as a precaution.

The compatibility is up to Android 14.

New alpha builds:

microG unofficial installer v1.3.1.69 alpha: https://share.freepro.com/28e3e41a-18a2-497d-9744-b4ed87479a5a

Google Sync add-on v1.3.1.69 alpha: https://share.freepro.com/9a886de9-78bc-4fae-b2e9-3bab55cc8963

---

@Developer0fTruth

New alpha builds are on this post.

If you have any issue with building or installing please open a new ticket on GitHub with all the details so I can try to fix the issue.

@weskerty

Please report back if your problem is fixed in the latest builds.

To all:

Upload to androidfilehost.com no longer works for me (fail with Error: Unknown, Unknown), does anyone have any solution?
[Miscellaneous Android Development] Developer0fTruth:
That's great I'll download a copy now, I did end up forking someone else's script to make a working installer for my personal use so to be fair I may just copy the sync addon and include the apk so I can sync contacts (If you don't want me to include it in my repo please tell me and I'll make sure it's only on my local script I have saved) Anyway I've been using Micro G with the same OnePlus 3T for time then well broke it, been collecting phones as well as a new Pixel 8 and Nothing Phone just because I like the hardware and thought having back ups would be a good idea but I had no idea Micro G has changed so much as well as all the installers. But thank you I just could not wait as I haven't had a phone and like as everyone else like what I like.
[Miscellaneous Android Development] tom.android:
Test New alpha builds: A14 RisingOS GSI QPR2

microG unofficial installer v1.3.1.69 alpha is always the best.

After installed.

#output

Spoiler content hidden.
[Miscellaneous Android Development] AnonVendetta:
When running minutil.sh as root from /system/bin/ location, I get this output in the terminal:

Warning: limited or missing getopt

Does it matter? Do I need it? Where to find it if needed? I've never heard of this binary. I'm not using your installer, just the script.
[Miscellaneous Android Development] ale5000:
It isn't really important.

When it is supported, for example, you can run:

minutil -sr

instead of:

minutil -s -r

When it isn't supported only the latter will work.

getopt is usually included in busybox, but Android doesn't always include busybox or it may include an old version.

PS: For many things it doesn't require root, it is only required where it is explicitely stated "need root" (see help: minutil -h).
[Miscellaneous Android Development] AnonVendetta:
You're right, I flashed the busybox installer by @osm0sis as a Magisk module, the message doesn't appear anymore.
[Miscellaneous Android Development] weskerty:
GCSync It worked, successful installation with the same steps. I installed it through Termux with Root. Sync well.

HMD Nokia G20 crDroid 7.16 GSI

Thank you so much.
[Miscellaneous Android Development] ShapeShifter499:
Ok I just installed Magisk manager from the Play Store and let it install everything. After rebooting I switched on "Magisk Hide" and installed Pokemon Go. I'm getting "Unable to authenticate. Please try again." I don't know what I did wrong. Any one with ideas?
[Miscellaneous Android Development] joelh:
Make sure you reboot after first enabling Magisk Hide. If that doesn't do it, I use Magisk 10.2 and I think the 3.0 manager due to issues with Magisk 11, so that might be an option
[Miscellaneous Android Development] ShapeShifter499:
I tried both the latest Magisk Manager and Magisk 11 and 10.2 not working. I wonder if I have been banned or not.
[Miscellaneous Android Development] joelh:
Doubtful. I've had more success on Marshmallow than I have on Nougat, but I couldn't tell you if that's the difference. Which version of the Play Store do you have?
[Miscellaneous Android Development] ShapeShifter499:
Google Play Store version 7.6.07.N-All [0] [PR] 148468439 is what I have

Don't I need something for Safety Net? Does the older version have something to do with Safety Net?

---------- Post added at 09:50 AM ---------- Previous post was at 09:07 AM ----------

@ale5000 Can you please shed light on the Pokemon Go issue?
[Miscellaneous Android Development] joelh:
For SafetyNet (really the only thing we're troubleshooting at this point), you just need the microG DroidGuard apk. The Play Store version shouldn't make a difference in that regard afaik (especially since you can pass SN just with FakeStore).

In MM/LOS13, I can install all of microG through FDroid, and with Magisk, phh systemless root, and Magisk Hide, I pass SafetyNet without making any other changes. If you don't, then your ROM might be the problem. If it matters, I use Tingle, another gift from ale5000, to enable signature spoofing.
[Miscellaneous Android Development] ShapeShifter499:
Maybe it's the bootloader, did you have to unlock yours? I read somewhere that Safety Net was also checking for a unlocked bootloader.
[Miscellaneous Android Development] ShapeShifter499:
It seems it doesn't work on LineageOS 14.1 using microG. If I install the official Google stuff with OpenGapps and then root with Magisk and use Magisk Hide, it works fine.
[Miscellaneous Android Development] franky14:
I am receiving an error while trying to flash in TWRP:

ended with error signal: 4. Is there something wrong I am doing ?

ROM: LineageOS 14.1

Device: Oneplus3
[Miscellaneous Android Development] okias:
Could you please publish also only "opensource" version, without google crapware? I just updated and sadly noticed install Google Play app :(
[Miscellaneous Android Development] justmix4:
LOL

If you want open source store look at Yalp store from FDroid, but using Yalp Google can ban your account because you break their terms of service. ;)
[Miscellaneous Android Development] okias:
Yes, already proud Yalp user (of course, with special Gaccount for nothing, in case of getting banned :P )

Just hoping, that Yalp or something similiar gets included in microG suite :)
[Miscellaneous Android Development] ale5000:
I still have too few time for now.

But I have released a new version, see third post for changelog.

You should be able to pass SafetyNet now.
[Miscellaneous Android Development] ale5000:
[MENTION=562458]okias[/MENTION]: It will be configurable in the future.

[MENTION=2022267]ShapeShifter499[/MENTION] and all: To pass SafetyNet you need to install microG DroidGuard Helper 0.1.0-4 as system app due to SELinux.
[Miscellaneous Android Development] ShapeShifter499:
[MENTION=5627087]ale5000[/MENTION] You should also update the F-Droid privileged extension. They recently added support for Android 6.0 or newer, I've been running it the last few days just fine on LineageOS 14.1
[Miscellaneous Android Development] joelh:
For some reason, I have yet to pass SafetyNet on Nougat. This does work in MM.
[Miscellaneous Android Development] ale5000:
I pass it on Nougat.

I use LineageOS 14.1 on Galaxy S2 without root.
[Miscellaneous Android Development] hungvip2001:
why?

when i install it on my galaxy ace 4 with cm12.1, every ok but TWRP show that galaxy.....( it is not my phone model). when i change the rom to cm11, TWRP also show that intro but the installation is aborted. Why? does you mod is not for universal devices
[Miscellaneous Android Development] joelh:
Are you aware of any issues with native ROM signature spoofing causing cts profile mismatch, instead of using tingle? That's the only difference I can think of.

In MM, I can use Magisk for root and pass SN. In N, I can't, but even disabling root doesn't fix it.

I'm aiming for a setup that uses [MENTION=2226076]stangri[/MENTION]'s App Systemizer magisk module in order to install microG and the Play Store in /data but have it run through /system at boot, allowing me to survive OTAs without messing with any Play Store restrictions I've set in MyAndroidTools. It works, but I don't pass safetynet in N.
[Miscellaneous Android Development] ale5000:
[MENTION=7660770]animeme[/MENTION]: I don't know about problems with signature spoofing but it could more likely be about an unlocked bootloader or Magisk/Xposed.

SafetyNet probably fail if it is able to detect those.

[MENTION=7585095]hungvip2001[/MENTION]: My script is almost universal.

Can you please post the log?
[Miscellaneous Android Development] joelh:
I still pass while running Magisk in MM though :confused:
[Miscellaneous Android Development] ale5000:
Have you tried testing it with the ROM fully clean after wipe?