yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] icecoldsipra:
It took a while for me to figure it out but finally managed to get the Gmail app to work with microG. If ever there are other users like me who also had some challenges, the below steps may be able to help you same some time and effort too. It is assumed that microG is already installed along with appropriate signature spoofing. I have also taken into account first time users who have flashed the microG installer from this thread and need help getting things to work.

Step 1 - In microG settings, ensure 'Google device registration', 'Google Cloud Messaging' and 'Google SafetyNet' are all enabled. If either one of them is disabled, please enable them

Note - Steps 1A,1B and 1C are only for those who want to get the Play Store to work with microG. Others who already have a working Play Store with microG can simply move to Step 2

Step 1A - Do not try to open the Play Store yet. It kept crashing for me. In phone settings, go to Accounts, click on Add Account, select Google and sign into your google acvount by following the on screen instructions

Step 1B - Do not try to open the Play Store yet. Simply reboot phone for settings to take effect

Step 1C - You can now access the Play Store. It will auto-update to the newer version which is fine. Play Store will work as normal. You can download/update apps as usual.

Note - The first thing I did after opening Play Store for first time was to disable auto-update of apps in Play Store settings. I have not tested if everything works if auto-update of apps is enabled

Step 2 - From Play Store install Gmail app.

Note - Once app is installed, if you try to open it, the app asks you to sign in even though you already have a google account. Move to Step 3

Step 3 - For gmail app to work with microG, some permissions are required. Go to phone Settings, select Apps, Select Gmail from list, Select Permissions. Here, grant permissions for Contacts. Also, under Additional permissions, grant access to Google Mail. It looks like these two permissions are required for Gmail to work. As an option, you can even grant permission to Storage if you want to download/upload files in gmail

Step 4 - Once required permissions are granted to Gmail app, simply reboot phone for settings to take effect

Step 5 - You can access Gmail app as normal. If ever the app still asks you to sign in to your gmail account, go to phone settings, select Accounts, just delete the Google account and add the account again. A reboot may be required for settings to take effect

Note - For some reason Gmail app does not register under Google Cloud Messaging in microG settings for me even though GCM has been enabled. I have turned off Auto-Sync in my Accounts (so I do not get push notification for new emails) and that could be a reason

Hope these steps are helpful to the community as I had to crack my head open to get some of these things to work.
[Miscellaneous Android Development] baxxter106:
no i think only these available from playstore...
[Miscellaneous Android Development] Oswald Boelcke:
Negative, certainly not all. If an app developer takes user privacy seriously and doesn't require to acquire hell of ad funds developers could certainly go an own but rocky road. Interesting article on F-droid: How Tutanota replaced Google’s FCM with their own notification system

And just to mention, FCM contains tracking code delivering data to Google by default unless the app developer takes active action and disables them.
[Miscellaneous Android Development] icecoldsipra:
Thanks for sharing this article. It's quite fascinating how Google is creating an ecosystem where its getting harder for companies to not use their services and also how these companies are working towards breaking free. Are there any identifiers for us end users to figure out if an app is using GCM/FCM or their own notification system?
[Miscellaneous Android Development] SGH-i200:
Of course I was talking about the apps that are using GCM right now.

Yes, some apps moved from GCM to their own push implementation. This has nothing to do with migration from GCM to FCM.
[Miscellaneous Android Development] starbright_:
A question:

Yalp offers me apps that are downloaded by FDroid that can't be become uptodate by Yalp. It seems to me that "ignoring" works jsut for some time.

It also offers microG core: But in Playstore there is not microG. So where is it from?

Edit probably it offers original playservices as update to microG.
[Miscellaneous Android Development] baxxter106:
ridiculous! New update of substratum has firebase analytics in it...now deinstalling...looking foreward that bucket (fka substratum librem) will be that good...
[Miscellaneous Android Development] Oswald Boelcke:
Even if it's very easy for me to reply in German I'm convinced you don't mind that I continue in English thus allowing much more people to follow the conversation and to contribute in order to support all users at XDA. Actually, this is also requested by para. 4 of the XDA Forum Rules (remark: a MUST READ for everybody enjoying XDA):

Regarding your first question that Yalp offers you updates to applications you'd installed from F-Droid but you can't update via Yalp.

That's pretty normal from my understanding because these applications are available both at F-Droid and Google Play Store; however bearing different signatures. Personally, I'm using the setting to ignore all updates for this app and it works for me (current example for me is Firefox Klar).

Regarding your question that Yalp permanently offers you to update microG Services Core despite the fact that µG isn't available at the Play Store, and that the version numbers don't fit.

Please refer to the attached screenshots. In my understanding and own words: Yalp scans the device for all available applications (what you by the way could block by e.g. XPrivacyLua but it makes no sense in this case) and recognises microG Services Core with its own assigned version number as µG. But as the µG GitHub page states at the very top, microG Services Core is an "Implementation of Play Services Core package", meaning to me that it's recognised by the Play Store as the Google Play Services (com.google.android.gms) obviously with its native version number as Google Play Services. I've personally enabled to ignore all updates for this application. It's on the Yalp black list and doesn't show up anymore.

I apologise for the very lengthy reply but I wanted to ensure everybody understands, to what questions I've answered.

Yeah, sorrowfully correct. However, I'm in the glad situation to be able to use the Xposed framework and in turn XPrivacyLua that is prefectly blocking firebase analytics, too. But I'm absolutely content in indignation and definitely question why the developers don't offer an opt-out in the Substratum settings at least if they believe they require firebase analytics. My personal opinion: Opt-out is the wrong approach - Opt-in should be a legal requirement.
[Miscellaneous Android Development] starbright_:
Sure, I am very sorry - don't know how this could happend :confused:
[Miscellaneous Android Development] PriteshChauhan:
Any alternative download links for the latest beta? aFH is giving error ! Edit. Got the link working. Thanks. BTW can I use gsync on android pie?
[Miscellaneous Android Development] SGH-i200:
Please add an english translation to your post. I would use the german based DeepL: https://www.deepl.com/translator
[Miscellaneous Android Development] Oswald Boelcke:
I think this was already handled here (just three posts above yours) including the translation of the original post.

And below is a quotation of the very acceptable reply:
[Miscellaneous Android Development] SGH-i200:
I would prefere a added translation to the original post, because that's the post everyone reads first.
[Miscellaneous Android Development] starbright_:
I did this already.... Sorry again for this fauxpas
[Miscellaneous Android Development] jw96:
Hello, when I add Google account to device play store still wants me to add it again, same after delete account in settings.

Tested with Lineage os 15.1, microg's build of lineage and ressurection remix with latest installer and 2 older versions

Device : santoni
[Miscellaneous Android Development] icecoldsipra:
In microG settings, have you enabled 'Google device registration' and 'Google SafetyNet'? Also, how are you adding Google account?
[Miscellaneous Android Development] marcdw:
[MENTION=4336485]alezardstar[/MENTION], nah, I just flashed the latest Play Store for the fun of it. Only because I use it on two other microG setups. No reason for anyone else to do so.

I see the boss got us a fix for the self update. Nice.

LG G3 D851, Mahdi KitKat ROM, microG Project (NoGapps), MultiROM, Tapatalk 4.9.5
[Miscellaneous Android Development] raptorddd:
I think that rom had sometjing broken and development jas stopped.. Now am on different rom.. And i was having some weird reboots. They were actually hot reboots as it never showed lg logo. Just dark screen and lockscreen..

May i ask why is that old playstorr is used on your zip?

What happens when latest is used? Thanks
[Miscellaneous Android Development] raptorddd:
not really i just run stable 2.4 i beleive and no purchased apps here. was working fine for me. thats why i asked. and i asked if someone had a flashable zip and ale sent me here. i read thru all pages but didnt see that.:)
[Miscellaneous Android Development] ale5000:
New version 1.0.9 beta

Now it block Play Store self update on all Android versions and avoid possible problems that could happen if the Play Store was already updated before flashing the zip.
[Miscellaneous Android Development] ale5000:
No, just flashing should be fine.

PS: I suggest to remove the account only if you switch from GApps to microG (or viceversa).
[Miscellaneous Android Development] bschtl:
Sorry, but it's not working for me. 1.0.8 neither.

Still get Play Store Updates.

Should I try something like a fresh, clean install? Or can I do something to help you find the problem?

Sorry for all the hassle...
[Miscellaneous Android Development] ale5000:
Can you please do this?

- Flash again the microG unofficial installer

- Start saving a logcat

- Clear the data on Play Store from Android settings

- Terminate the Play Store

- Reopen the Play Store and go in the app list inside the Play Store

- Wait 20 minutes

- Stop saving the logcat

- Send me the logcat
[Miscellaneous Android Development] dan.man:
I installed microG on my ROM manually but failed to get it working as I got stuck at the "Just a sec" screen while adding the account. So, I tried installing this zip but got this error (see attachment).
[Miscellaneous Android Development] ale5000:
[MENTION=5114941]dan.man[/MENTION]: This log doesn't show most of the messages that I need to debug it, you should use the "copy log to sd" (I don't remember the exact name) to get the full log file.

PS: Which is the installed recovery?
[Miscellaneous Android Development] dan.man:
The recovery installed is TWRP. I tried copying log but it didn't do anything as there is no log in sdcard. :confused:
[Miscellaneous Android Development] ale5000:
Version of TWRP?

Have you searched also in the internal memory?
[Miscellaneous Android Development] dan.man:
V3.0.2.0

There is no memory card installed in my phone.

I managed to get the log to be written on internal memory and here it is:

Installing zip file '/sdcard/microG-unofficial-installer-ale5000-v1.0.9-beta-signed.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
Updater process ended with signal: 4
I:Legacy property environment disabled.
Error installing zip file '/sdcard/microG-unofficial-installer-ale5000-v1.0.9-beta-signed.zip'
[Miscellaneous Android Development] NoodleFox:
It worked great for me, except that every time I opened the play store it ask me to log with a Google account :confused: It worked the 1st time, crashed and now I'm in a log loop

What should I try to make it work ?

Resolution Remix 5.7.4 (6.0.1 CM13 based) on a Z9 Max
[Miscellaneous Android Development] raptorddd:
i think you should go to root/ect and look for host file. i think i delete it, then flashed his zip and worked after that
[Miscellaneous Android Development] bschtl:
Sorry not possible atm. I was playing around and uninstalled Google Play completely but now the installer-zip doesn't install it again, so atm I'm without Google Play completely, but trying to get it back.

When done and the error still persists, I will send you the logcat.
[Miscellaneous Android Development] ale5000:
After flashing the zip could you please save the log so I can see if the problems are in the installation phase? (TWRP have an option "Copy Log to SD")

Do you have a file manager with root access?

If yes, can you please go at /data/app and write here all file and folders that start with "com.android.vending"?

Also going in /system/priv-app and write here all file and folders that start with "Phonesky"?

If I can get any hint maybe I can pinpoint the problem.
[Miscellaneous Android Development] ale5000:
[MENTION=5114941]dan.man[/MENTION]: Your problem is the same of [MENTION=4958579]Primokorn[/MENTION]

I need some time to fix this.

[MENTION=7228526]NoodleFox[/MENTION]: Try also to remove the Google account, delete data of Play Store and then re-add the account from Android settings (instead of Play Store).
[Miscellaneous Android Development] bschtl:
[MENTION=5627087]ale5000[/MENTION]

Here you are:

In /data/app there is one file named "com.android.vending-1"

In /system/priv-app there is one folder "Phonesky" with one file "Phonesky.apk" in it.

TWRP log file is attached.

Thank you!
[Miscellaneous Android Development] ale5000:
[MENTION=5376816]bschtl[/MENTION]: Strange, it looks like everything is fine.

When you have time could you please try this?

- Try to remove "com.android.vending-1" file and "Phonesky" folder then restart normally.

- Manually install Play Store apk from inside Android and verify that the icon appears.

- Uninstall it.

- Then go in recovery and try to flash the microG installer again.

- Start saving a logcat

- Run Play Store and go in the app list

- Wait some time to allow Play Store to try updating itself

- Stop saving the logcat
[Miscellaneous Android Development] dan.man:
Thanks for the tip but I already tried that. Besides I can't even flash the zip right now
[Miscellaneous Android Development] rayman95:
Just tested with last LOS16.0 for my device with clean flash + clean and format all except external sdcard, got reboot to recovery after a while with last MicroG zip...tried to flash rom, reboot, setup, reboot flash microG but still same problem.....
[Miscellaneous Android Development] jw96:
Of course, every time after flash

I added account by account setting and after tap on playstore it automatically ask to log in to Google account , calendar app asked too , did the same but with no luck
[Miscellaneous Android Development] icecoldsipra:
See this post from a couple of pages back on getting microG to work. Let me know if following these steps help you.

https://xdaforums.com/showpost.php?p=77614963&postcount=979
[Miscellaneous Android Development] jw96:
nothing, same, still asking for login on santoni 8.1 oreo lineage

but suzuran lineage 7.1.2 works like a boss, strange
[Miscellaneous Android Development] icecoldsipra:
Well I don't have a device with Oreo rom as mine is 7.1.2 rom. So not really sure what could be causing your problem. Maybe experts in the community here who have better experience and knowledge could help you out!
[Miscellaneous Android Development] baxxter106:
could somebody explain how to deinstall the package? i was not aware that playstore will be installed and i don't want any "real" google stuff in my phone...usually i use yalp and aurora
[Miscellaneous Android Development] marcdw:
I figure you could just remove phonesky.apk from your system and be done. Might have to add fakestore for compatibility reasons.
[Miscellaneous Android Development] baxxter106:
i found in the zip an uninstall.sh but i guess this will delete all. i have a lineage microg image. could i also resolve it by flashing only systempartition with the new release of today? (because i decided to keep a clean rom where i am able to update components with the fdroid repo)
[Miscellaneous Android Development] nickelnine:
Hi,

What's the sequence of flashing the zips on a Oneplus 6 device with a/b partitions running Android 9?

I tried different ways but always end up booting back into TWRP.

Usually its ROM, twrp, reboot in twrp, then magisk.

Any help is appreciated.
[Miscellaneous Android Development] kurtn:
Yes. Wipe system and flash ROM. That removes all OTA surviving stuff, and you keep all user apps and settings.
[Miscellaneous Android Development] zolyyy:
Support Android 9? Pie not xposed compatible. FakeGapps required for signification.
[Miscellaneous Android Development] ale5000:
In my installer you can choose between PlayStore and FakeStore (just press the + volume key during flashing).

FakeStore is needed also if you use Yalp Store or Aurora Store.

PS: Look at the content of the installer here.

PS2: To uninstall you can execute the unistall.sh as root.
[Miscellaneous Android Development] :
Hello, does unofficial installer supports x64 cpus? I have Samsung S6 and would like to know before I try installing it.
[Miscellaneous Android Development] ale5000:
Hi,

yes, it support also x64 CPUs.
[Miscellaneous Android Development] Shobit Joura:
I flashed the installer on android 9 pie armx64 but the device stands at booting animation ,

I tried the same with 2to 3 ROMs but same results and i clean flashed the rom
[Miscellaneous Android Development] vd69:
Me too. Exactly the same
[Miscellaneous Android Development] Shobit Joura:
Plzz help us!!!!!
[Miscellaneous Android Development] kurtn:
Try a different installer like nanodroid
[Miscellaneous Android Development] ale5000:
Can you please provide a logcat?
[Miscellaneous Android Development] ale5000:
microG unofficial installer 1.0.32 beta released.

It should fix SafetyNet attestation and should also fix compatibility problems with Android 8 and 9 (need testing).

It will also auto-preset microG repository for F-Droid 1.5 or later.

The full changelog is here.
[Miscellaneous Android Development] vd69:
Galaxy s5 liquid remix pie rom. Clean flash. Stays on boot screen animation not booting. With the new version.
[Miscellaneous Android Development] vd69:
how do i do that?
[Miscellaneous Android Development] marcdw:
By searching the web maybe. Logs are needed by devs because there is no way for them to know why something isn't working. The ole without logs then it didn't happen thing.

See here...

https://xdaforums.com/showthread.php?t=2025911

LG G3 D851, Mahdi v2.9 ROM (4.4.4), microG (NoGApps), MultiROM, XDA Legacy
[Miscellaneous Android Development] :
Maybe it doesn't support android Pie since its really new android version.
[Miscellaneous Android Development] sxml2015:
The orbot I installed still does not open this setting.

microG settings

How to use him?
[Miscellaneous Android Development] ale5000:
It will never appear, it isn't supported; there is only a placeholder text.

But it will probably supported in a future version of microG.
[Miscellaneous Android Development] vd69:
By searching the net i couldnt find how to take a logcat from a rom that is not booting .

Maybe you can help me?
[Miscellaneous Android Development] michaaa62:
Here is a useful thread to cover logcats in many situations:

https://xdaforums.com/showthread.php?t=1726238
[Miscellaneous Android Development] devilhopper:
Sound issues

I've flashed this mod into my Galaxy S5 running lineage OS - unfortunately I have no sound on voice calls now, but i don't know if the issue is actually related to the mod.

https://xdaforums.com/showpost.php?p=78068546&postcount=560

Is this by any chance a known issue?
[Miscellaneous Android Development] hacker_zombie:
Is official YouTube app working on pie roms

Please clarify
[Miscellaneous Android Development] HDragonHR:
Error 79 : Unsupported CPU, ABI List

I tried to flash MicroG 1.0.32 beta and also 1.0.27 beta to my Redmi Note 2 (with Lineage OS 14.1).

Flashing failed with ERROR Unsupported CPU, ABI list: ....

Updater process ended with ERROR : 79

Refering to post #619 and #620 of this thread,

Here is my ABI from Device Info HW : arm64-v8a

Anybody knows what went wrong?
[Miscellaneous Android Development] Oswald Boelcke:
Using µG with RR v5.8.5 on a Samsung Galaxy S5 LTE+ (SM-G901F), no issues at all. Quite a few days ago, I was briefly on Oreo (LOS and RR) but reverted to Nougat as Oreo still has too many issues on the G901F, severe ones from my point of view to make it my daily used ROM.

First, please be aware that a title you post isn't shown on XDA Labs i.e. unless you repeat the title in your post you're most likely going to receive less replies.

Second, as far as my monitoring of the µG thread is concerned (and your question is µG related but not to this unofficial installer) most people have issues with the official YouTube app, and not only on Pie.
[Miscellaneous Android Development] ale5000:
Probably the recovery do something unexpected.

Could you please install adb on the pc, run these while the connected phone is in the recovery and post the results?

adb shell "/sbin/getprop ro.product.cpu.abi"
adb shell "/sbin/getprop ro.product.cpu.abi2"
adb shell "/sbin/getprop ro.product.cpu.abilist"
[Miscellaneous Android Development] HDragonHR:
Im not sure if Im doing this correctly.

I have rebooted into TWRP, typed adb devices in my shell and saw my device(yeah, adb is working).

But when I typed the commands you gave, the shell gave empty line as a respone.

Also no activity on my phone.

Perhaps you expected some log files but there is none.
[Miscellaneous Android Development] ale5000:
I need to know exactly what it show where you have placed the dots.

PS: Can you also please post a copy of /default.prop?

You can get it with:

adb pull /default.prop .
[Miscellaneous Android Development] schmanto:
When I select Fakestore during flash, I don't get this 'Google Play Store signature' tick (see Screenshot)

Is it supposed to be like this or is there something I'm missing? Or does it even matter if I only use Yalp store instead Play Store? Thanks in advance :)
[Miscellaneous Android Development] HDragonHR:
Here is the screenshot of the error screen

https://imgur.com/EyII37K

And here is the default.prop

#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.adb.secure=0
persist.sys.usb.config=mtp,mass_storage
persist.service.acm.enable=0
ro.secure=0
ro.allow.mock.location=0
ro.debuggable=1
ro.zygote=zygote64_32
ro.mount.fs=EXT4
camera.disable_zsl_mode=1
dalvik.vm.dex2oat-Xms=64m
dalvik.vm.dex2oat-Xmx=512m
dalvik.vm.image-dex2oat-Xms=64m
dalvik.vm.image-dex2oat-Xmx=64m
ro.dalvik.vm.native.bridge=0
ro.product.model=Redmi_Note_2
ro.product.device=hermes
[Miscellaneous Android Development] DeebWeb:
An error in the package installer application failed again.How to fix ? Not one application is not installed
[Miscellaneous Android Development] ale5000:
Could you please post the result of this command (the phone must be in the recovery)?

adb shell ls /sbin