yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] ilikenwf:
The NanoMod sig spoof patch for magisk works well with this, it just takes a while to patch since it does it on device...and you have to do it every time you update your rom.
[Miscellaneous Android Development] tramtrist:
Google photos do not upload at all. Manually or automatic. I guess its not supported?
[Miscellaneous Android Development] PunchUp:
Rebooted several times but still not binding. [MENTION=5627087]ale5000[/MENTION] is the issue still not fixed?
[Miscellaneous Android Development] fastguy:
Yes, not yet supported. There's a bug report on this but not getting much attention.
[Miscellaneous Android Development] AluminumTank:
Hello, I am troubleshooting an error where unifiedNlp does not register in system. The recovery install log is attached to this message. Please let me know what else I can provide to diagnose this issue.
[Miscellaneous Android Development] ale5000:
It isn't an issue of microG but it is an issue of the ROM, it can be fixed manually but the problem is in the ROM and varies from one ROM to another ROM.

[MENTION=5444464]PunchUp[/MENTION] [MENTION=7221179]AluminumTank[/MENTION]

Please post the list of filenames of all files in these folders:

/system/app
/system/priv-app
/system/etc/permissions

(only the names, not the files)

and a copy of this file:

/system/framework/framework-res.apk
[Miscellaneous Android Development] SilentEYE:
There is some problem with the integrated playstore when you try to find your apps.

Some of them are missing, because they are market as incompatible.

(you can find this out by opening the missing app with your browser on the playstore homepage and then link the homepage to the playstore.apk)

Tested app was for example

https://play.google.com/store/apps/details?id=net.kairosoft.android.baseball_en

If I replace the integrated old playstore app with the newest version, everything is working fine, except the known bug of purchasing apps.

Is there a workaround for this?

(couldn't find this bug in by searching through the post)
[Miscellaneous Android Development] marcdw:
[MENTION=899471]SilentEYE[/MENTION], the issue with the old Play Store and missing apps is known. I mentioned it way back and someone explained why that happens. The Store sees the old version of the app so in some cases it assumes one must be on an older Android version.

Oh, see post #213 or so.

You can extract SetiAlpha's Play Store from one of the NanoMod packages and see how things work.

LG G3 D851, AospExtended v4.4 ROM, NanoMod-microG (NoGapps), MultiROM, Tapatalk 4.9.5
[Miscellaneous Android Development] 2phazt:
Aktual official playstore works fine for me - even purchases and inapp-purchases are functional.
[Miscellaneous Android Development] ale5000:
In the new version of the installer (not yet released) there will be an option to choose if use the old or the new version of the Play Store.
[Miscellaneous Android Development] marcdw:
I didn't know that was possible on microG without a nodded Play Store. That's cool.

What's your setup exactly? Enquiring minds and all that. [emoji57]

LG G3 D851, PAC-MAN LP ROM, MultiROM, Tapatalk 4.9.5
[Miscellaneous Android Development] 2phazt:
Well, I installed microg by myself and a long time purchases didn't work.

But out of the sudden the autoupdated playstore doesn't fc anymore on purchases :)
[Miscellaneous Android Development] marcdw:
Well I'll be a monkey's uncle. Yep, same here.

Just flashed Theme Ready Play Store 8.1.29.S last night. Today I gave it a try. Was able to purchase and install an icon pack without a single hiccup. Very nice.

Just wonder how long that will last.

LG G3 D851, AOSPA-L ROM, Nebula Rev9.3 Kernel, microG (NoGapps), MultiROM, Tapatalk 4.9.5
[Miscellaneous Android Development] SilentEYE:
Confirming that actual Play store is working for buying apps. Even registering the fingerprint for purchases doesn't crash anymore.
[Miscellaneous Android Development] TH3.BUG:
I'm also using the most recent Play Store APK from apkmirror.

The only problem / annoyance is the following permanent notification:

View attachment 4254336

The only way to remove it seems to be to force-stop the Play Store.

Do you also get this notification and do you have any idea how to get it away?

:confused:
[Miscellaneous Android Development] 2phazt:
Well, I don't get this notification but I have disabled app updates in the playstore settings - maybe it's related.

You could disable any notification of the playstore in the rom app settings.
[Miscellaneous Android Development] TH3.BUG:
It isn't, I use the same setting: View attachment 4254802

I also disabled all notification settings.

Unfortunately this also disables any useful notification. I am also wondering if the play store is really doing some work in the background the whole time.
[Miscellaneous Android Development] Oswald Boelcke:
I don't receive such a notification; however, I've disabled a few services of the Google Play Store (via MyAndroidTools Pro). This is the related post.
[Miscellaneous Android Development] TH3.BUG:
I removed Play Store and the Google Account, rebooted, and reinstalled it (again in system/app-priv, when installed as a user app, I can't use the Google account for some reason). Now the notification is gone.

To be save, I also disabled the SelfUpdate service via DisableService now.
[Miscellaneous Android Development] Oswald Boelcke:
I never tried to use Google Play Store as a user app. It's always installed as Phonesky.apk in system/priv-app.

By the way: My current Play Store version (see 1st screenshot) that was installed when I flash Nanomod-microG (version at 2nd SS) obviously got two new services ("com.squareup.leakcanary..." refer to 3rd SS), which I also disabled without any problems in regard to the use of Play Store.
[Miscellaneous Android Development] drbabusaha:
can u pls tell the full procedure of using nanomod-microg with magisk in any rom....
[Miscellaneous Android Development] Oswald Boelcke:
Obviously unable to tell you about its usage with any ROM or device, only Samsung GT-i9305 and RR, but please check and search my thread here. Maybe it's helpful - from post #14 on, I started to use Nanomod.
[Miscellaneous Android Development] Wzza:
[MENTION=5627087]ale5000[/MENTION]

Hi,

I'm experiencing the same problem as a few with Unifiednlp on a fresh install of Nougat Carbon Rom on my Z3 Compact: "your system does not support this unifiednlp package". All but the Unifiednlp boxes are checked in the microg self-check. I have flashed your installer directly after the rom.

Attached are the lists of files in /priv-app, /app, and /etc/permissions. I'll post my framework-res.apk file later as it is too large to be attached here.

Thank you for your work.
[Miscellaneous Android Development] ale5000:
Hi,

unfortunately the most important info to debug the problem is in that file.

I need it to know what location services it search.
[Miscellaneous Android Development] nhicko95:
is this compatible on oreo ?
[Miscellaneous Android Development] K3V1991:
Download

microG unofficial installer 1.0.21 beta (Android 2.3 - 8)

Google Sync Add-on 1.0.3 beta (Android 4.4 - 4.4.4 and 7 - 8)

Yes :fingers-crossed:
[Miscellaneous Android Development] ale5000:
It should be but I cannot never be 100% sure because I can't test it on every existing Android version / device.

But if you have any problem just report it and I can help you.
[Miscellaneous Android Development] Wzza:
Here it is (password=xda ; the link will expire on Monday). It would seem the issue is specific to the Carbon Rom I was using. I switched to Lineage 14.1 and it's working fine.
[Miscellaneous Android Development] nhicko95:
can you patch my framework.jar since i dont have a pc to patch it with tingle
[Miscellaneous Android Development] M-A-X:
Hey. Sorry to ask something that is maybe answered already, but I didnt find any Information: is the non-working google play games issue something where will be a solution, or something that most likely wont be fixed at all?
[Miscellaneous Android Development] marcdw:
So far no solutions that I've seen.

ZTE Axon 7 A2017U, Dirty Unicorns v11.6 ROM, Tapatalk 4.9.5
[Miscellaneous Android Development] K3V1991:
I tryed to install it on my LG G6 but after Installation it hangs on the bootscreen

How to solve this?
[Miscellaneous Android Development] super-drone:
first of all, which mod did you actually installed? this one or nanomod? you posted this on both threads :eek:
[Miscellaneous Android Development] K3V1991:
Okay right on an other Forum too, same Problem..

I have tryed to install the latest beta

on Fulmics 2.0
[Miscellaneous Android Development] marcdw:
The problem here is that you are not including enough information. As discussed already, getting microG working on Fulmics stock Nougat is not going to be easy, if even possible.

You say it patched properly. Okay. That handles signature spoofing. What about the Google stuff mentioned previously. Have you managed to remove everything? Have you tried?

On the NanoMod front did you follow all steps exactly?

If you insist on trying to get microG working on that stock ROM you'll have to do things in steps. After flashing ROM, next step is to remove all things Google (told to you before but no response if you attempted it). Use whatever method you can. If manually I suggest doing it via TWRP (I use AROMA file manager). That requires knowing what's there and what to remove.

Can also use one of those flashable debloating scripts. I did that once against Nimax Slim Fit (G3 Marshmallow stock) and ROM wouldn't boot. Something was removed that the ROM relied on I guess.

As mentioned previously I had microG on that ROM as it had a light Google footprint and was easy to deal with.

Which brings me to the other step. After removing Google try and boot the ROM. If it boots, good. If not, I don't know. You'll have to let us know.

If it does then you can go on to patching.

Try booting after that to make sure the patching didn't break anything.

Just throwing things out there. There's more to deal with obviously. For NanoMod I would keep it simple and go with the microG package. I don't remember if you tried system or Magisk install when you got the bootloop.

You got a bootloop with ale5000's installer also but there's no way to know if microG is the cause or not.

Like I said, this is going to be a major pain to deal with. Can't just drop things in and hope they work.

http://xdaforums.com/showthread.php?t=1969755

[MOD][FLASHABLE ZIP] Remove GApps in any ICS/JB ROM

Despite the thread title it was updated for Nougat. Check the last page of the thread.

If nothing else you can examine the script(s) and take notes for manual excising.

LG G3 D851, PAC-MAN LP ROM, MultiROM, Tapatalk 4.9.5
[Miscellaneous Android Development] K3V1991:
Thanks for this long Answer :fingers-crossed:

I have written an debloater..

It removes all Google Apps incl. Google Services Framework & Google Play Services

After deleting the Phone freezes on Bootscreen

I try the remove_gapps_2.3-7.1.zip from Remove GApps in ROM: now support Nougat Thread later :good:
[Miscellaneous Android Development] ale5000:
The problem is that you ROM doesn't search for "com.google.android.gms", but search "org.microg.nlp"; so UnifiedNLP inside microG will not bind, but if you use UnifiedNlp (GAPPS) will bind.

So there are 2 possible causes:

- You have patched the ROM incorrectly

- Or the ROM was designed like this

You could try to install the UnifiedNlp (GAPPS) togheter with microG or patch the ROM.
[Miscellaneous Android Development] ale5000:
It is unlikely that microG cause boot problems, it is more probable that the debloating script cause boot problems.

Boot problems are more likely caused by missing things rather than new things.

Have you tried to flash my installer without removing GApps and without flashing anything else?

My script automatically remove the part of GApps that cause conflict with microG (it doesn't remove everything to avoid boot problems).
[Miscellaneous Android Development] ale5000:
Ok.

PS: Post the file in the Tingle thread, not here.
[Miscellaneous Android Development] marcdw:
In my previous use of Nimax & microG I did just that. I only manually removed some Google apps but didn't mess with core items. Then flashed your installer. Things worked out fine back then.

Side note.

Out of habit I always set up DAVdroid but later realized the sync adapters were still present and working after I saw double calendar entries. [emoji4]

ZTE Axon 7 A2017U, Dirty Unicorns v11.6 ROM, Tapatalk 4.9.5
[Miscellaneous Android Development] ale5000:
I will add an option in the future to choose if remove existing sync adapters or not.

microG unofficial installer currently do not add them but also do not remove them so there will be an option.

Google Sync Add-on instead remove existing ones before add new ones.
[Miscellaneous Android Development] AluminumTank:
Here are lists of files and the apk.
[Miscellaneous Android Development] vd69:
Link doesnt work
[Miscellaneous Android Development] Bearthquake:
I can confirm it does work. Try using a browser and not the xda app etc
[Miscellaneous Android Development] kz hard:
it works on stock marshmallow 6.0 rom with magisk rooted on acer z630s. but the play games doesn't work. i hope in the future there is a workaround or a fake gplay games. im still observing the bat impact, so far i can say it make my phone less laggy.
[Miscellaneous Android Development] peppet:
Contact sync doesn't work on my lollipop rom 5.1.1

Inviato dal mio SM-N920C utilizzando Tapatalk
[Miscellaneous Android Development] K3V1991:
Hmm microG does not add Apps to the Cloud Messaging

Any Help?
[Miscellaneous Android Development] Gonzalez92105:
Did you install the app before microG? Also, which app. I know some apps such as Google voice doesn't push notifications. So you'll never get notified unless you go in the app and refresh manually.
[Miscellaneous Android Development] K3V1991:
Yes, the Fault is WhatsApp..

Thanks i try to re-install
[Miscellaneous Android Development] rabside:
Hi Guys, can I use plex to cast to my chromecast with this version of MicroG?

thanks a lot
[Miscellaneous Android Development] 2phazt:
I use bubble upnp to cast without problems.

Native android casting and mirroring afaik does not work.
[Miscellaneous Android Development] loki32:
Hi,

i'm a little confused about the update procedure of the microG .apk-files themselves. As an other user asked already in a post before (#321), the included apps should be simply updated with a new version of the flashable zip or with F-Droid.

For example:

i flashed the “microG unofficial installer 1.0.21 beta“ with included “GmsCore 0.2.4-103“. The GmsCore.apk was installed in /system/priv-app/GmsCore/ as it should be.

Now when i update GmsCore with F-Droid to version 0.2.4-105, it seems doing the job. F-Droid shows me the new version is installed, and the old one not anymore. MicroG ist still working, and shows me the new version too.

But when i check the filesystem, i get a new folder in /data/app/ called “com.google.android.gms-1“ which includes a base.apk file. I guess this is probably the new version 0.2.4-105 of GmsCore. I'm wondering if the app has the still the same privileges as if it would have when installed in /system/priv-app/ path? I guess not. By the way the old GmsCore.apk (v0.2.4-103) is still to find under /system/priv-app/GmsCore/ and wasn't modified at all. I'm not sure if microG is really using the new version.

May it be better to replace /system/priv-app/GmsCore/GmsCore.apk manually with the new version, or will that break something?
[Miscellaneous Android Development] ale5000:
It is how Android is supposed to work.

The original app in the system partition and the update in data, it will retain the original privileges.

You can update also the version in the system partition and it works but it will not make any difference.

PS: The new version of the installer is near.
[Miscellaneous Android Development] loki32:
Ah okay. Now i understand how it works. Thanks for the information.
[Miscellaneous Android Development] ale5000:
Sorry to be late but I was busy.

Your ROM specifically search for qualcomm location.

To fix manually you need to:

- Decode framework-res.apk with Apktool;

- Open res/values/bools.xml and change the value of config_enableNetworkLocationOverlay and config_enableFusedLocationOverlay to true;

- Build framework-res.apk with Apktool;

- Replace the framework-res.apk on your phone.
[Miscellaneous Android Development] ale5000:
Google Sync Add-on doesn't yet support Android 5, but I will add support for it in the future.
[Miscellaneous Android Development] ale5000:
I have released microG unofficial installer 1.0.22 beta, see changelog on the third post.

Now it include a recent version of the Play Store so apps for Android 5+ will appears correctly in the list.
[Miscellaneous Android Development] super-drone:
about this, is this the only way I can make system to detect unifiedNLP? cause location works fine here but microG does not detect unified on system, is there any difference if it does or doesn't detect?
[Miscellaneous Android Development] ale5000:
No, there are multiple ways.

But the reply was only for him, there are infinite possible problems and it doesn't necessarily apply for you.

Every ROM is possibly different in this regards.

Maybe you just think location is working.

GPS location doesn't use microG so it always work, but network location use microG.

So if an app find the position it doesn't necessariliy mean that location is working.
[Miscellaneous Android Development] Nikhil:
[MENTION=5627087]ale5000[/MENTION] hey, when I try to login via Google account in any app, the popup where you choose the Google account doesn't appear! Do we have any solution for that?

Edit: to be more clear, when you open any app in which you can login via Google or Facebook, there when you choose login with Google account, nothing happens, ideally a pop-up appears and we can then select the Google account which we have logged in to the system
[Miscellaneous Android Development] Gonzalez92105:
What I do is... go into settings, apps, and choose whatever application you are trying this on, then go into storage, and clear data. After clearing data go back and select permissions, then activate "contacts" on that application. Make sure to grant the permission after clearing app data, and before relaunching the application. It works all the time for me, and on the applications that I use. I'm on AOSP 7.1.2, so it might be slightly different for you. This goes without saying that you need Google sync, and it may not work depending on that application.
[Miscellaneous Android Development] Nikhil:
Actually, the app that I am trying to perform Google sign in doesn't ask for 'contacts' permission! :(

Also, I tried clearing data and then giving permissions to apps that asks for 'contacts' permission, yet could not get it to work!

This seems to be an issue with microG

https://github.com/microg/android_packages_apps_GmsCore/issues/423
[Miscellaneous Android Development] ale5000:
Hi,

try this:

- Enable Google device registration in microG settings;

- remove the Google account in Android settings;

- readd the Google account in Android settings;

- uninstall completely the app that cannot login;

- reinstall it;

- retry to login.
[Miscellaneous Android Development] Nikhil:
I tried that, it's not working. I also tried removing the account then clicking on sign in button (within app) from screenshot shared in previous page, normally when you don't have any account added, same pop-up appears with an option to add account, this time, nothing happened.

In microG settings, everything seems okay, self check had all the required checks, Google device registration is enabled, etc.

Could you check once in your system if you are able to login?
[Miscellaneous Android Development] steamrollerpark:
All good and working on Lineage 14.1 on my Galaxy Tab.
[Miscellaneous Android Development] hungvip2001:
Please support the on device flashable signature spoofing
[Miscellaneous Android Development] Bearthquake:
I assume by this comment you mean you want it included.

Not everyone needs the signature spoofer, I don't it's built in my rom. Flashing another signature spoofer seems like it good mess something up due to confliction.

Just flash it yourself. Dang you're lazy
[Miscellaneous Android Development] hungvip2001:
No. I just show a idea

I thing not everyone have PC, or their ROM don't have build-in signature
[Miscellaneous Android Development] ale5000:
Hi,

I will make Tingle working also as flashable zip in the future but not inside microG unofficial installer.
[Miscellaneous Android Development] zolyyy:
Started Google play and white screen and not opening. I recieve error in system uptade lineage os 14.1 nightly. And ogyoutube or youtube network error. Solved->remove google ac****s and add again
[Miscellaneous Android Development] xEmre66:
Why does Play Games not work? I need it.. Thanks anyway for your good work [MENTION=5627087]ale5000[/MENTION]
[Miscellaneous Android Development] Bearthquake:
It just doesn't work. No workaround.

Have to go regular gapps package for it to work.
[Miscellaneous Android Development] Oswald Boelcke:
It's simply not implemented in microG (Implementation Status microG) and probably never will.
[Miscellaneous Android Development] xEmre66:
Okay. Thanks for the quick answer. Gaming on the S3 mini (I8190) is priceless. So I don't need PG anymore.
[Miscellaneous Android Development] deadcore:
Morning, Sir :)

Am I did something wrong?

Device :Redmi Note 3G

Mediatek 6592,

Android 4.4.2 Stock Rom

This my step :

1. Install Fakegps, module On, reboot

2. Unistall google play, play store, and google framework

3.reboot to recovery

4.Flash microG

But always get a bootloop, am i did something wrong in my step?

Thanks before, Sir :)
[Miscellaneous Android Development] ale5000:
Many times the problem happens in the steps before installation, try to do only the step from 1 to 3 and restart the phone to see if it boot correctly and report back.
[Miscellaneous Android Development] deadcore:
Owhh..Work like a charm, thanks a lot sir,then i can edit the step :

1. Install Fakegps, module On, reboot

2. Unistall google play, play store, and google framework, google account etc

3. Normal reboot (reboot to system)

4. Reboot to recovery

4.Flash microG

- google translate, work ✔

Much appreciate, thanks a lot sir :)
[Miscellaneous Android Development] DaniPhii:
I've installed this on my Xperia U running LineageOS 12.1 and it's working. Thanks for making this so easy. :)

And now installed it on my BQ Aquaris M5 running LineageOS 14.1. Everything's working. :)
[Miscellaneous Android Development] boanhdaytien2:
hello, can i just clean flash it with the rom? or i have to boot up first?
[Miscellaneous Android Development] djlukas1983:
I've flashed it right after flashing the ROM before the first boot up and it works.
[Miscellaneous Android Development] ale5000:
In general it is the preferred way to flash it with the ROM.

But if you already have a ROM installed with the real GApps it may be more complicated (but not always).
[Miscellaneous Android Development] boanhdaytien2:
okay thanks, I just flashed it along with the rom and it work perfectly.
[Miscellaneous Android Development] kinuris:
Hello. Don't know if someone has mentioned this before. Google Keep works and syncs ok.. :)
[Miscellaneous Android Development] koniii:
"There was a problem communicating with google servers"

Any how to fix it?
[Miscellaneous Android Development] hungvip2001:
Clear play store data
[Miscellaneous Android Development] koniii:
Thanks

Working now
[Miscellaneous Android Development] chris42too:
Privilege Extension for F-Droid

Hi there,

thanks for the installer, I just tried it on Oreo AOSP and it seems to work. However the Privilege Extension for F-Droid is not needed, as you can select per app, if it allows install in Oreo.

Would it be possible to include a switch in the script and have it omit the Extension on Oreo?

Regards

Chris