yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] ale5000:
[MENTION=4336485]alezardstar[/MENTION]

Generally you just need one Play Store app that simulate Play Store signature that may be Google Play Store, FakeStore or BlankStore.

If you use BlankStore you don't need Google Play Store and viceversa if you use Google Play Store you don't need BlankStore.

For paid apps the account isn't enough you need Google Play Store.

This question is unclear, only old apps use GSF, new apps use GCM. And this is for push notification, not for Google credentials.

I don't know but there haven't been any known problem with this.
[Miscellaneous Android Development] ale5000:
[MENTION=5308112]raptorddd[/MENTION]: I do not see anything that can cause conflicts in the zip.

Try this:

1) Remove the Google account from Android settings

2) Clear the data of Google Play Store from Android settings

3) Restart in the recovery and delete cache and dalvik cache and reboot

4) Re-add the Google account from Android settings (not from Google Play Store)

5) Now re-try to access app list
[Miscellaneous Android Development] bschtl:
I have a problem: Google Play keeps updating itself. I entered these commands (with version 5.11.1) and afterwards grant Google Play access to the internet. So far it's working, except that I am not being offered any updates for my apps (I know that there are some updateable apps). So I reboot. After that, I check with the app "Disable Services" if the auto-updating services are still disabled and they are (btw can I use this app to disable these services in the first place? It's much easiert than with terminal.). So I open Google Play and now I am being offered updates, but Google Play updates itself meanwhile, too.

Then I restricted internet access, deinstalled Google Play update via adb (works fine), clear data and cache for Google Play, disable the auto-update services, reboot and it's the same situation as before. I had this scenario now 4 times and just don't know what to do anymore.

Can you help me?

PS: I'm on installer 1.0.7.
[Miscellaneous Android Development] ale5000:
[MENTION=5376816]bschtl[/MENTION]: I need some time to work on a better solution.

-------------------------------------------------------------------------

[MENTION=4336485]alezardstar[/MENTION]

I don't think they work in recovery but you can try at worst they don't do anything.

With the latest version license verification don't work and you can't buy apps (plus other minor problems).

This is all a bit confusing but C2DM (Cloud to Device Messaging) is implemented inside GSF (Google Service Framework)

while GCM (Google Cloud Messaging) is implemented inside GmsCore.

GCM is the next generation of C2DM.

microG Services Core is a reimplementation of GmsCore, while microG Services Framework Proxy is a reimplementation of Google Service Framework; both included.

Adding it from Android settings never failed for me so I think is safer although nothing is guaranteed however for the common case there isn't much difference.
[Miscellaneous Android Development] raptorddd:
its a no go. still facing FC. unfortuantelly google playstore has stopped..
[Miscellaneous Android Development] ale5000:
[MENTION=5308112]raptorddd[/MENTION]: Can you please send me a logcat?
[Miscellaneous Android Development] xk0niR:
I recommend you to use "Myandroidtools". Its by the same developer and and offers even more options (disable broadcast receiver).

For the update issue I am not sure but I think there was a way to block updates by creating a folder or so, it's a long time ago.

I am myself on play store 6.05 and he doesn't update himself (maybe because its blacked out version?).

@OP: Can I update microG with F Droid later or does it have another Signature?
[Miscellaneous Android Development] ale5000:
[MENTION=5913734]xk0niR[/MENTION]: Yes, all components included match the ones in F-Droid.
[Miscellaneous Android Development] raptorddd:
sorry... the rom i have has log diabled. i try eneable it. by renaming log. i could not foung logd.

so i couldnt catch a log.:(

i wanted to try the one i sent you and got bootlooped.:D

had to flash rom again.:mad:
[Miscellaneous Android Development] bschtl:
[MENTION=5627087]ale5000[/MENTION]

Thanks for your effort, you're doing great work!

Thanks for both advices.

I just looked for the fix by creating a folder and it's working.

Found it here.

In terminal emulator just type:

su
mkdir /data/app/com.android.vending-1.apk

The created folder can't be overwritten by Play Store and so no update is possible.

Play Store doesn't automatically update itself anymore, even after reboot.
[Miscellaneous Android Development] raptorddd:
i flashed another rom today. and this one it worked. i could see my apps. but playstore have update it itself. and i still was able to download some updates.

so everything is good. thank you
[Miscellaneous Android Development] marcdw:
I remember trying that in the past. Found it didn't quite work. Else or believe it Google will just increment.

For instance, since it couldn't write vending-1, it created vending-2 and Play Store was updated.

Did it all over again to reproduce and it wrote a vending-3, LOL.

I guess it works in some environments but not others.

Somewhat related post.

http://xdaforums.com/showthread.php?p=69871815

LG G3 D851, XenonHD MM ROM, MultiROM, Tapatalk 4.9.3
[Miscellaneous Android Development] bschtl:
[MENTION=6046143]marcdw[/MENTION]

You're right. Realised it yesterday too, was too fast with my post, but hadn't time to reply here.

So let's see if a fix can be found by ale5000.
[Miscellaneous Android Development] Primokorn:
I'm unable to flash v1.0.7 on my OnePlus 3T:

Installing zip file '/sdcard/envoi3/microG-unofficial-installer-ale5000-v1.0.7-beta-signed.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Update binary zip
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.
I:Install took 0 second(s).
Error installing zip file '/sdcard/envoi3/microG-unofficial-installer-ale5000-v1.0.7-beta-signed.zip'
Updating partition details...
I:Data backup size is 328MB, free: 49122MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'flash_done'
I:operation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'copylog'
I:Set page: 'action_page'
I:operation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log
[Miscellaneous Android Development] ale5000:
[MENTION=4958579]Primokorn[/MENTION]: From the log it seems that installation doesn't even start because the zip does not contain SELinux file_contexts.

I never looked at SELinux so fixing this will require some time.
[Miscellaneous Android Development] marcdw:
Finally got around to giving this installer a try. Currently I use microG with Mahdi KitKat and crDroid Nougat. Installers used were from other threads awhile back.

Decided to give this one a go with ParanoidAndroid Lollipop.

Flashed ROM, SuperSU, busybox, Xposed, Google Contacts & Dialer (an old flashable for LP, just because), and other goodies.

Then microG installer followed by latest Play Store 7.4.x from Theme Ready GApps AROMA installer.

Once in the ROM I setup the ROM, installed necessary Xposed module for signature spoofing, and made sure microG had all parts checked as good to go.

After installing all that I needed from F-Droid and got contacts/calendar synced via DAVdroid, the Google account was created.

Fired up Play Store. As on the other ROMs it takes a try or two before it kicks in. After that it was clear sailing. Spent the night installing apps, themes, icons. Most were paid items. When said apps were run, license checks were good.

GPS Status & Toolbox locked onto GPS in seconds.

Instagram, Snapchat, Telegram, A-OK. I stay away from Facebook app and use Metal instead.

Everything is performing wonderfully.

In Google Contacts, once the user contact photo was set I then flashed a newer version from Theme Ready.

Have one game that uses two Google accounts. Created second account and made sure No Play Games Xposed module was enabled. On game's first run it asked for Play Games. I just hit OK. Ran the game and was able to switch users within it.

Given that the game also works on crDroid Nougat where there is no Xposed me thinks Play Games isn't really mandatory for it to work.

In summary, the installer here worked just fine. Haven't yet turned on GCM stuff yet.

LG G3 D851, AOSPA-L ROM, Nebula Rev9.3 Kernel, microG (NoGapps), MultiROM, Tapatalk 4.9.5
[Miscellaneous Android Development] ale5000:
I have relased a new version that block Play Store self update (currently only on Android 5+).

[MENTION=4958579]Primokorn[/MENTION] [MENTION=1427745]kosmas[/MENTION] [MENTION=7581714]fbamopoulos[/MENTION] [MENTION=7660770]animeme[/MENTION] [MENTION=5308112]raptorddd[/MENTION] [MENTION=5376816]bschtl[/MENTION] [MENTION=4336485]alezardstar[/MENTION] [MENTION=6046143]marcdw[/MENTION]

[MENTION=4336485]alezardstar[/MENTION]: In the future maybe the problems of microG with the latest Google Play Store apk will be fixed but in the mean time the version bundled in my zip works perfectly.

[MENTION=5308112]raptorddd[/MENTION]: Please try if there are some improvements in the new version (if you still want to use the ROM that was having the problem).
[Miscellaneous Android Development] bschtl:
Thank you!

Are there any special instructions for installing? Like remove Google account and apps before and then flash? Or just flash the file and everything should be fine?
[Miscellaneous Android Development] kurtn:
Looks like there is some NLP functions in carbon ROM. Could you try a clean installation without microG and then add location backends from f-droid?
[Miscellaneous Android Development] bam80:
I think no - there were no packages in system which include 'gms' in their name, until I installed microG.

But I will try it later anyway for the case. Thanks
[Miscellaneous Android Development] br1go:
check:

1. Turned on "Google device registration" MicroG setting

2. MicroG files are installed as system apps (system/priv-app)

3. Check your firewall settings (if u use some)
[Miscellaneous Android Development] pss34:
It looks like this is your (and mine too) issue:

https://xdaforums.com/showpost.php?p=74655335&postcount=3

AICS, this is actual for CarbonROM until today.

Anyway thanks for investigation. If UnifiedNLP is working even without passing self-check, I'll try today to set it up once more time.

Besides, I have to admit that clean Carbon w/ gapps can not use network-based location for me, GPS mode only. I think, it is because of this config.
[Miscellaneous Android Development] bam80:
Thanks for the info,

but my device seems doesn't suffer from it.

Can't find "config_networkLocationProviderPackageName" strings for Sony:

https://github.com/search?p=1&q=org...kLocationProviderPackageName&type=Code&utf8=✓

Here is the platforms which seems suffer on Carbon:

https://github.com/search?l=XML&q=org:CarbonROM+"com.qualcomm.location"&type=Code&utf8=✓

---------- Post added at 09:04 PM ---------- Previous post was at 08:33 PM ----------

How can I check it on device itself?

---------- Post added at 09:43 PM ---------- Previous post was at 09:04 PM ----------

If it's different issues, your UnifiedNLP may not work.
[Miscellaneous Android Development] djcc_15:
All it's ok, but don't sign in
[Miscellaneous Android Development] pss34:
I had managed MicroG UnifiedNLP to work correctly only using Xposed. I had used Xposed systemless as Magisk module (90.1beta3), original modified Xposed installer from [MENTION=4419114]rovo89[/MENTION], and XposedGmsCoreUnifiedNLP module.

Xposed without Magisk is working too, but I need SafetyNet.

For now I'm running gapps + Xposed systemless + UnifiedNLP Xposed. It is the only way to have working Network Location in most Oreo custom roms, AFAIK.
[Miscellaneous Android Development] bam80:
As I said, Network Location works for me with microG. But needs re-load location backends after boot. Odd..

If you can't get it working without Xposed - then we have different issues.
[Miscellaneous Android Development] kurtn:
Hi [MENTION=5627087]ale5000[/MENTION] did you follow tis discussion:

https://www.reddit.com/r/LineageOS/comments/83wqdp/project_fi_and_gapps_inside_lineageos/

There is a remover zip:

http://www.mediafire.com/file/5k7ypuv767amvhh/remove-fi-signed.zip

Should this become part of your installer? Or [MENTION=7126506]Shadow53[/MENTION] 's?
[Miscellaneous Android Development] Shadow53:
I saw that discussion the other day. My microG zip in particular isn't designed to remove existing Google apps, though it will remove GmsCore, GsfProxy, and Play Store so they can be replaced by microG components.

The difficult thing with providing uninstallers for the sorts of things listed in that discussion is that we either have to provide separate zips for all kinds of configurations so things don't break, or give the user some way to choose what to remove and then blame them if it does. [MENTION=5627087]ale5000[/MENTION] could do that fairly easily with an Aroma menu, however my zips are generated by a program that has no clue how Aroma works (because I have no clue). That's up to him, though.

That said, it's definitely possible and easy to use my zip-builder tool to make a debloater zip to remove those apps, if people want to make their own.
[Miscellaneous Android Development] ecsvik:
[MENTION=5627087]ale5000[/MENTION] Thank you so much! It solved my UnifiedNlp problem on a custom ROM, which I couldn't find any other solutions for.

BTW I'am using GSM Location Service app from F-droid, it downloads updated data from here: https://wvengen.github.io/lacells/about.html

And there is an update for Déjà Vu Location Service and New Pipe (also for New Pipe Beta), you could update your installer :)

I cannot update Déjà Vu and Newpipe with F-droid, probably because it's installed as private app...

(and I think New Pipe should not be in this installer:))
[Miscellaneous Android Development] ale5000:
[MENTION=7126506]Shadow53[/MENTION]: My zip actually "uninstall" every time before installing, so the script is already here but it cannot yet be uninstalled without install microG again (without extracting and running it manually the uninstall script).

I also already support live setup without aroma (so the uninstaller could be possibly executed from here).

It just miss some code to run it and it miss some options to choose whatto remove.

[MENTION=8953310]ecsvik[/MENTION]: I'm a bit busy currently but I will update everything.

How already said everything included in my installer can be updated with F-Droid (if it doesn't work there is another problem that must be investigated).

How already said, in the future, there will be an option to install/not install for any included app.
[Miscellaneous Android Development] ecsvik:
I removed dejavu and newpipe from installation package. Installed dejavu as normal app, and UnifiedNlp still can use it. I think only UnifiedNlp have to be installed as private app.

I think GSM network based location is not very good for driving, it's not enough precise. It's good for weather only, for driving GPS is needed :)
[Miscellaneous Android Development] ale5000:
You are confusing terms, "private app" deasn't mean anything in this case.

Apps installed in the system partition can be installed as privileged apps (/system/priv-app) but can also be installed without privileges (/system/app) but still placed in the system partition.

In my installer dejavu and newpipe are installed as NOT privileged apps but are still in the system partiton so they survive a device wipe and they will also survive OTA updates.

So as long as you don't have filled up completely the system partition (without any free space left) there shouldn't be any problem by having them as system apps.
[Miscellaneous Android Development] ecsvik:
Thank you! Maybe it's F-droid related problem, I should read more about it.

Anyway F-droid downloaded the app updates, but when I pressed the Update button, nothing has happened.
[Miscellaneous Android Development] derby21:
First: Thanks man! You saved me with that unofficial Flash :good::good::good:

I encountered F-Droid Problems too this morning, probably a server problem. Now everything works fine.
[Miscellaneous Android Development] ale5000:
[MENTION=8953310]ecsvik[/MENTION] [MENTION=9035516]derby21[/MENTION]

These problems may also be caused by the F-Droid Privileged Extension, in the future I will ship it in a separate package togheter with F-Droid to have less problems.
[Miscellaneous Android Development] ale5000:
I have updated the installer on GitHub with the

new microG Services Core version

plus other updates.

I haven't yet released the new version because I have other things to complete and I haven't tested it yet but who want to test can build it from GitHub.
[Miscellaneous Android Development] ecsvik:
Thank you! I need to wait for your official build.
[Miscellaneous Android Development] ale5000:
Sorry for the late reply but can you please try this debug version and post the debug-a5k.log file that it create?
[Miscellaneous Android Development] ZeroKool76:
Has anybody figured out how to get chromecaat working with these?
[Miscellaneous Android Development] Jay0r:
I'm sorry, i cant wait any longer for your new build. :p

But how create my own build from Github? Just packing everything from "zip-content" in an new zip and flash or is there something else i need to do?

Would be amazing if you could help me out here :)
[Miscellaneous Android Development] ale5000:
If you are on Windows:

On GitHub go to "Clone or Download" => Download ZIP => extract the zip => Double click on build-win.bat

After the build is ended take the file from the output folder.
[Miscellaneous Android Development] Jay0r:
Well im on Linux but it worked like a charm with the build.sh as well :) Thank you so much for all your work.

I flashed the alpha - no errors - works :good:

Do you maybe have a clue why WhatsApp and Threema won't register anymore for Google push service on microG?

I have this problem since a month and i tried nearly everything to register these two apps again. :(
[Miscellaneous Android Development] deedeeceleb:
It's because of GCM. If you want to register Threema, you need to download version 2.8 (284).

Gesendet von meinem ONE A2003 mit Tapatalk
[Miscellaneous Android Development] ale5000:
I have released the new version :)
[Miscellaneous Android Development] apeofgod:
Updated, but it's not installing the Play Store. Could you fix it?
[Miscellaneous Android Development] cmonty14:
App demands: Google Play Services must be updated

Hi,

can you please advise what I'm supposed to do if an app, in this case "drupe", demands to update Google Services?

I assume updating Google Service from Google PlayStore would destroy MicroG setup?

THX
[Miscellaneous Android Development] ale5000:
I need more info, can you please post the log?

When flashing the zip use the volume button to enable the log or just use copy log of the recovery after flashing.
[Miscellaneous Android Development] apeofgod:
Here is the log.
[Miscellaneous Android Development] Oswald Boelcke:
Affirmative! And if asked for an update of Google services, you need to update the microG Services Core.

A few days (weeks?) ago, a new microG Services Core version (0.2.4-111-gf1cdb48) became available. I usually download and install via F-droid (using the microG repo - address available on the microG page); however, the download (https://microg.org/fdroid/repo/com.g...s-12221403.apk) is also available on the microG Downlaod page.

There are other alternatives like to flash the latest NanoDroid microG module.
[Miscellaneous Android Development] ale5000:
Hi,

if you flash the lastest version of microG unofficial installer on Android 5 and higher you already get the latest version.

Instead if you are on older version of Android you have to flash microG unofficial installer, add a Google account and then update microG Service Core from F-Droid (of from the microG download page).

PS: microG Service Core is identified as Google Play Services but it isn't.
[Miscellaneous Android Development] ale5000:
It seems Play Store is installed correctly, there is probably something in your installation that doesn't make it appear.

Could you please try to do this?

1) manually extract from the zip the file "files/variants/PlayStore-recent.apk";

2) install it normally;

3) uninstall it normally;

4) and reflash the zip.
[Miscellaneous Android Development] LazerL0rd:
[MENTION=5627087]ale5000[/MENTION] , in order to fix the loop in setup wizard you need to set add this code (below) to the microg-permissions.xml file in your installer

<!-- Spoofing -->
<permission name="android.permission.FAKE_PACKAGE_SIGNATURE" fixed="true"></permission>

This permission is required before anyone can add a Google account, which any Gapps-flashed/Google/Nexus/Pixel/Stock-based setup wizard will not continue without.

Seems it somehow also needs Google Device registration set on by default.
[Miscellaneous Android Development] muzab a:
I've installed microg from the unofficial flashable zip, however play store and trying to add an account force closes, based on the log , my webview is missing . Any solutions
[Miscellaneous Android Development] ale5000:
Could you please post the log and tell me what is the version of Android you have?
[Miscellaneous Android Development] -Happy Feet-:
Hello, since I installed microg and magisk I can't pass safetynet... Has anyone an idea why?

Gesendet von meinem Pixel mit Tapatalk
[Miscellaneous Android Development] ale5000:
Google has updated its code, so there is no way to pass until DroidGuard Helper is fixed.
[Miscellaneous Android Development] muzab a:
Its Lineage 15.0 Blocks smartwatch (Android 8.0)
[Miscellaneous Android Development] -Happy Feet-:
Okay I wait for it :ł thx
[Miscellaneous Android Development] ale5000:
Thanks, this is now fixed on GitHub (there isn't yet a new version).

Currently I haven't found a way to enable it by default.
[Miscellaneous Android Development] SGH-i200:
NanoDroid patcher vs Tingle

I'm confused! :confused: Why you use the NanoDroid patcher instead the patch from ale5000?

https://xdaforums.com/apps/magisk/module-nanomod-5-0-20170405-microg-t3584928
[Miscellaneous Android Development] kurtn:
The nanodroid patcher runs in device and has ota survival.
[Miscellaneous Android Development] SGH-i200:
microG unofficial installer vs NanoDroid

OK. But why are you using this microG installer instead of NanoDroid? Because you like to have the Google Play Store instead of F-Droid?
[Miscellaneous Android Development] kurtn:
KISS principle. Shadow53's microG zip does only one thing.
[Miscellaneous Android Development] SGH-i200:
ale5000's MicroG unofficial installer vs Shadow53's microG zip

Now I understand: You are not using ale5000's MicroG unofficial installer at all! :cyclops: