yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] filjusz:
[MENTION=5565731]azakosath[/MENTION] here are my steps:

1.flashed system in recovery

2.reboot

3.flashed MicroG, SuperSU and Xperia keyboard

4.reboot

5.Some crashes, but i dont give a f**k

6.wipe data and everything seems to work perfectly
[Android Apps and Games] bigsupersquid:
I wanted to mention an odd effect I've observed.

When upgrading from cm13 to cm14 and leaving userdata, microg self check reports signature spoofing supported by system (it's not) and signatures for gmscore and phonesky not spoofed (correct.)

The funny thing is that BlankStore still works after the "upgrade." Google maps installs and runs and as expected complains about missing play services. It just seemed odd that BlankStore didn't need signature spoofing to work when previously installed and permitted.
[Android Apps and Games] marcdw:
Odd coincidence. Just observed something similar on the ROM with microG. Had a temporary problem where Google Calendar didn't work. Calendar sync also. Was told I need Play Services. Found out signature spoofing was out (Xposed was no longer activated). But contacts sync and Play Store performed as normal.

Not sure why but cool enough.

LG G3 D851, Fulmics v6.6 ROM, Solid v2.2 Kernel, Tapatalk 4.9.5
[Android Apps and Games] mrfrantastic:
Do I have to use DAVdroid and Owndrive to Sync my contacts becuase I can't chose my Google Account in the CM13 Contacts App. Everything else works fine.
[Android Apps and Games] Oswald Boelcke:
I apologise but I want to learn... Why should I get rid of Google, its services and applications, and go for microG when I afterwards intend to maintain my Google account (except for Play Store) and to even synchronise my contacts (or something else) with Google?

Did I miss something?

Allow me to quote the microG Wiki but also to highlight one single statement:
[Android Apps and Games] elmex1000:
Congratulations! Finally somebody makes the point. You are absolutely right.
[Android Apps and Games] pbeckmann:
Hey,

so there are some points, like a better battery life or a better feeling. :silly:

Personally I use microg just for Signal

Greetings
[Android Apps and Games] Oswald Boelcke:
Better battery duration I actually don't experience and I monitor it currently daily (because I hoped differently). Better feeling in regard to privacy, negative - because I know my privacy is much better guarded than with any Google crap; that's their business concept not to pay by money but with your data for its "services".

I'm away from "Signal" 'cause I don't like the idea of using my phone number as the ID feature, meta data are still accessible (and it's tremendous what can just be "done" by knowledge of meta data).

Meanwhile I use "Conversations" with a XMPP-Jabber-account on a German server. I assume we both talk the same language (not only literally) this is a very interesting blog: https://www.kuketz-blog.de/
[Android Apps and Games] pbeckmann:
Hey,

Yes, i'm a native german.

I know the blog and have obviously also xmpp accounts.

Signal was the only way to communicate with my family away from WhatsApp...

I had much problems with the original GApps building my own ROM -> Another point for microg.

Greetings

P.S.: chaosdaten@jabber(.CCC).de
[Android Apps and Games] blastagator:
Just updated to version 0.2.4-28. It seems this version BREAKS gcm registration. I install apps and they do not register. I downgraded to 0.2.4-27, and installing apps shows proper registration.

Seems latest version broke something :crying:

Excellent work otherwise!
[Android Apps and Games] :
This has been already discussed many times ;).

I personally do not mind having my data synced using Google services. What I do mind though is Google Play Services eating RAM, CPU, and causing thousands of wakelocks for things I do not really need (I only need Contacts and Calendar sync).

I do not know what kind of device(s) you have, but the difference between microG and Google Play Services when installed on older / slow hardware with 1 GB of RAM or less is huge (both in battery drain and CPU and RAM use).
[Android Apps and Games] MaR-V-iN:
I don't have problems with gcm registration on 0.2.4-28 and so far nobody else reported such. Can you provide a logcat for the issue?
[Android Apps and Games] solomonR15:
do you mind telling how you synced contacts? Calendar syncs for me tho.

Installed both sync agents.
[Android Apps and Games] blastagator:
I will try again when I have some time to mess with it. When is the best time to logcat, while installing an app? I noticed strange effect of signature spoofing seemed to make it so I couldn't upgrade the app without uninstalling first.

When I uninstalled, reinstalled, fixed permissions, couple reboots -> Uninstalled and installed one of my apps with push, nothing showed up in the microG settings to show the app was registered/recognized.
[Android Apps and Games] catsruul:
Got microG and BlankStore working fine.

However, Google Play Games isn't working, at least on my device. Anyone else (explain what you did if it does work)?
[Android Apps and Games] :
I pushed both GoogleContactsSyncAdapter.apk and GoogleCalendarSyncAdapter.apk to the /system/priv-app folder, changed their permissions to 0644, reboot the system, allowed all permissions for the two apps in the system settings, reboot again. Both Contacts and Calendar should appear in your Google account sync settings then.

I use CM 13 so there had been no Gapps in the OS at all before installing microG. Make sure that the Contacts and Calendar apk files are compatible with your Android version.
[Android Apps and Games] Primokorn:
Play Games are not supported: https://github.com/microg/android_packages_apps_GmsCore/wiki/Implementation-Status
[Android Apps and Games] ale5000:
COMPARISON

Google Apps:

- Send identification data even without account

- More battery use

- More RAM use

- More disk space used

- Support only certified phones

- Update itself without even asking

- Can grant itself unlimited permissions without even asking

- It do NOT allow to configure GCM to enable/disable it or configure apps

microG:

- Do NOT send identification data except the account that is optional

- Less battery use

- Less RAM use

- Less disk space used (do anyone care about the internal memory of the phone like me?)

- Support all phones (and it do works perfectly also on really old phones :laugh:)

- The update is as other apps

- It just use the required permissions

- It allow full control of GCM
[Android Apps and Games] rnd83:
Some apps require Google Play Services to work. MicroG provides that functionality WITHOUT the need of having GApps installed.

Of course if you want to use GApps anyway - and store your data on Googles servers - then there is no point in using MicroG.
[Android Apps and Games] Oswald Boelcke:
I appreciate that you share this very interesting perspective with me. Please allow me to quote you at this post as your personal opinion is certainly helpful to others.

Thanks to both of you for the vivid information.
[Android Apps and Games] MaR-V-iN:
At first start of the app.

Signature spoofing is not involved in the package management and has nothing to do with upgrading apps. If you can't upgrade microG this means you are running on an unofficial build that is signed with a different key. Downgrading might not be possible using the installer UI, but is always when using `adb install -r -d file.apk`. Please note that downgrading (even between preview releases) is not supported and might lead to certain broken things.
[Android Apps and Games] 1plus:
[MENTION=3999488]MaR-V-iN[/MENTION]

clarification please -- it seems that after reinstall of GMSCore it is not enough just to install the same version of a messaging application.

In my case I upgraded to build 28, then removed it and installed build 22 again (I was doing upgrades because unifiedNLP stopped providing location w/o any errors).

It seems that in order to register already installed (at the time of GMScore install) apps one needs to completely uninstall and reinstall these apps.

It is correct or is there a way to re-register these apps some other way?

P.S. New UI in version 28 looks awesome btw.
[Android Apps and Games] ale5000:
Not true, see here.
[Android Apps and Games] blastagator:
There was an issue using F-Droid to upgrade - that is what gave me the signature error. Manual download and install worked fine. I updated to -28. I still have my GCM registrations. Will post an update if I have the issue again.

Thanks for the help!
[Android Apps and Games] ghostENVY:
Any chance you can share this AOSP Rom you built for yourself? Theres only 1 available at the moment and Im itching to try MicroG even with limited functionality.
[Android Apps and Games] MaR-V-iN:
Apps are responsible to manage their registration state. Some apps fail to do so properly, some do it automatically and some allow you to re-register manually. microG can not fix the registration behaviour of the apps (and stay in any way compatible to the Google implementation). If you uninstall and reinstall original Play Services you would have the same behaviour. It is not necessary to uninstall the app, if it was already registered to an uninstalled version of microG, it's "enough" to clean it's data, because it does not know that it registered once after you do so.
[Android Apps and Games] barturblits:
Could you elaborate on the procedure how the registration works and where data gets saved? If I understand correctly for gcm to work it needs two things: a registration at microg/gmscore (saved in microg data) and an initialization of gcm (saved in app data). Installing/reinstalling an app triggers registration at gsmcore and resetting/clearing data of an app starts the initialization. The initialization requires an registration at gsmcore to be successful, so order matters.
[Android Apps and Games] MaR-V-iN:
The registration process is as follows:

1. GmsCore registers device for push notifications (part of device registration)

2.1. App requests registration from GmsCore

2.2. GmsCore registers app at Google servers for the device

2.3. GmsCore stores registration token (technically not required, only for increased performance)

2.4. GmsCore answers registration token to app

3. app sends registration token on app server

Messages are then send by the app server with the registration token to Google which will forward it to GmsCore, which sends it to the app.

If you uninstall GmsCore, device registration is lost and as such, all registration tokens become invalid (because they are mapped to the device registration).

Installing GmsCore again will create a new device registration that is not linked to the previous one. If the app server now sends a message using the old registration token it will not be received by GmsCore, the message is lost.

As the app knows that it is registered for push notifications (even though this registration is invalid now), it will not register again at GmsCore. Some apps do nonetheless, these will automatically recover from GmsCore uninstall/reinstall.

Removing app data will cause the app to think it is freshly installed and thus not registered for push notifications so far. Thus, it will register again and GmsCore can receive messages again.

Uninstalling an app will also cause GmsCore to unregister it for push notifications (so you are not receiving push notifications for apps you installed years ago). If you uninstall an app, then install it and then (before starting it the first time) recover it's data (e.g. with Titanium Backup) it will also think it's registered even though it's not. If you use Titanium Backup to backup and recover GmsCore data, it will also recover device registration and all push notification registrations from that time.
[Android Apps and Games] :
Thank you for a very detailed explanation.

I have a question regarding instant messengers that use both GCM and their own polling system. I had this particular problem with a Korean messenger app called KakaoTalk. First I restored the app with its old data using Titanium Backup. Only after that I installed GmsCore. Then I cleared the app data (did it several times) but the app would still not register for GCM. Only a full uninstallation and reinstallation made it register again. My guess would be that the app thought that Google Services were unavailable on the phone and kept falling back to its own polling system, but I am not really sure about :confused:.
[Android Apps and Games] MaR-V-iN:
There is the other thing that using GCM requires a permission that is only present after GmsCore is installed. As permissions are granted at app installation time, if GmsCore was not installed when you installed KakaoTalk, it is not granted the permission and thus can't use GCM. The typical work-around for this issue (without data-loss) is to install the same version of the app again after installing GmsCore, uninstall/reinstall flow is not required for permission granting.

Generally speaken: uninstall/reinstall should never be required for anything as it is always equivalent to clear-data/reinstall.
[Android Apps and Games] ale5000:
[MENTION=3999488]MaR-V-iN[/MENTION]: Can microG detect in any way at runtime if an app is linked to an old or wrong device registration and show a popup message?
[Android Apps and Games] barturblits:
Thanks Marvin, that was really insightful!
[Android Apps and Games] kojak1989:
hi, if i use this i must uninstal google play services and google play app ?
[Android Apps and Games] Primokorn:
You can keep Google Play Store.
[Android Apps and Games] kojak1989:
something else i must remove ?
[Android Apps and Games] Primokorn:
Read OP and you will understand what you have to do. That's what I did the first time I installed microG :)
[Android Apps and Games] kojak1989:
for me its not going to install im on android 7.0
[Android Apps and Games] bigsupersquid:
Any remnants of the apps you removed need to be purged from /data/data and /data/dalvik-cache before installing microg
[Android Apps and Games] solomonR15:
Guys, Does google maps working for yall? It detected my location the first time i opened it., but never detects my location from then on. Should i install any backend for google maps to work?
[Android Apps and Games] 1plus:
[MENTION=3999488]MaR-V-iN[/MENTION]

I have a bit of trouble with 28 build on CM14.1 (clean install on another device). Signature spoofing is enabled, it is rooted and no xposed on the system (spoofing is built-in to the rom). All works but somehow unifiednlp says "the system did not bind the unifiednlp service"

reboots do not fix the issue.

Anything I need to try? Or is CM14.1 not yet fully supported?
[Android Apps and Games] jisoo:
Did you place the apk in /system/priv-app ?
[Android Apps and Games] Death Mask Salesman:
Personally, I use microG for its lightweight approach. One day, I would like to see one Android ROM which features microG as its core, since Google forbids the inclusion of their GApps by default. Sadly, I lack the appropriate workstation to make this happen.
[Android Apps and Games] toji12:
My rom isnt compatible with xposed, is there another way to signature spoofing?
[Android Apps and Games] Shadow53:
https://github.com/microg/android_packages_apps_GmsCore/wiki/Signature-Spoofing
[Android Apps and Games] SenK9:
I use this with CM13, works well: https://github.com/ale5000-git/tingle
[Android Apps and Games] toji12:
I just have to installTingle, do i need to do anything else?
[Android Apps and Games] SenK9:
Just boot to TWRP recovery, mount system, then connect your phone to ADB, then on computer, run 'python ./main.py' and it will grab the required files from the phone, patch them and re-upload to phone. Then just reboot, the first boot Android will need to rebuild apps, so will take a bit of time.

Needs Python installed on your computer, there is also a backup made so you can roll back if needed.
[Android Apps and Games] wis3m0nkey:
Does play music work with microG?

Thanks
[Android Apps and Games] bigsupersquid:
I just downloaded it from blankstore and it worked fine.

Cm14.1 with spoofing patches including nlp patch to allow user app location provider.

I saw someone else mention as well, the new ui looks very up-to-date and downright spiffy.
[Android Apps and Games] wis3m0nkey:
I can't figure out what am I missing (BTW player works but not the online version
[Android Apps and Games] bigsupersquid:
Dunno. Didn't try to play any local files, streamed a short bit of something techno derived and uninstalled it.

And I meant the new microG ui looks spiffy, haven't see play music since messing with kitkat full pa gapps on my optimus v.
[Android Apps and Games] wis3m0nkey:
Thanks, I'll try few more things.

For me local media works, streaming doesn't work. Let me try reinstalling.
[Android Apps and Games] 1plus:
more about that thing please. I have on another device a cm14.1 with signature patch but NLP service does not register. I tried to install in the priv-app folder and the problem remains.
[Android Apps and Games] #Henkate:
Btw, using Disable Service app, you can disable following service of Google Play Store:

SelfUpdateCheckerScheduler$SelfUpdateCheckerTaskService

(com.google.android.finsky.selfupdate.SelfUpdateCheckerScheduler$SelfUpdateCheckerTaskService )

I guess it should stop self updating. Also, I believe it can be done with an init.d (can disable more services too), but it's easier to use Disable Services.
[Android Apps and Games] bigsupersquid:
https://github.com/microg/android_p...aster/patches/android_frameworks_base-N.patch

And my variant on the omni-6.0 spoofing patch

https://github.com/bigsupersquid/an...mmit/a392f9b6398bb6da8af3750c7fda4be4d65ea08f
[Android Apps and Games] zosfer:
Hi!

I install migro g latest version and fakegapps(xposed)

But google play not signing in.

Error is:

Micro G self check is completed

How do I solve this problem?

Please help me!
[Android Apps and Games] tofu:
How can I use these patches? I know nothing about rom development and the dev of my rom won't include this. So what to do? Cannot figure out how to get location provider registered.
[Android Apps and Games] bigsupersquid:
can't use these, but needle or tingle or haystack may fix you up (info spread through this thread)
[Android Apps and Games] zosfer:
Ahh, ok.

huge tanks, problem is solved :D
[Android Apps and Games] blastagator:
Does anyone have a recommendation for a free, light-weight, (preferably open source) "find my android" type app? (Or how to get Google's to work? I use microG for my battery, not the privacy aspect)

Thanks!
[Android Apps and Games] bluexp:
I have trouble installing microg.

my phone came with minimal google service installed. I unistalled them by deleting apks from system folder and rebooted the device.

Then I tried to install microg, the installation completed but I was not able to open the app because "open" button was disabled and no icon created for this app in launcher so I could launch it.

I have to mention, the android version is 6.0.1 and I have xposed installed and also activated fakegapps module.

Can anybody help?
[Android Apps and Games] Oswald Boelcke:
Did you read the OP, especially no. 1 in the preparation instructions?
[Android Apps and Games] bluexp:
Ok, It seems I ignored "remove them" part
[Android Apps and Games] AnonVendetta:
I need some clarification on exactly what is the purpose and function of a "location backend" and "address lookup backend". I tried a few of each but just dont grasp what they are for. If various apps like Google Maps, Locus Map Pro, OsmAnd, etc are able to locate me and generally function as intended (which they do, for me), then do I really need these backends?

Am I correctly in assuming that GPS uses only satellites to find my location, whereas "network location" uses the Net/my data connection/WiFI to find location? Which is more accurate (GPS, I think)? Which uses more power? On my LG stock ROM (mostly cleaned of GApps) I can find over 6 system apps which may be location-related (EchoLocate, Fused Location, LGMapUI, Location Services/com.qualcomm/location, "My Places", and "My Places Engine". There is also something called "iZat" in my Settings' app's location settings. It appears to be some kind of proprietary supplementary location service. It's also referenced in /system/etc/gps.conf. I've replaced this file with a gps.conf from CM13, GPS locks on quickly within seconds rather than 30+ seconds with the default file. Everything seems the same.

How can I tell who my network location provider is? Google? LG? Qualcomm? In the MicroG app under "Network location provider support" there is an entry called "System supports location provider", which is unchecked by default. I have to use an Xposed module called XposedGmsCoreUnifiedNlp to make it be checked. So this seems to imply that my built-in location provider isnt supported by default. On the MicroG UnifiedNlp download page (GitHub) there is LegacyNetworkLocation.apk, NetworkLocation.apk, and UnifiedNlp.apk. I tried pushing these to /system/priv-app, renaming to NetworkLocation.apk, and setting permissions, but this box never gets checked. At least one of these APKs identifies as MicroG, and it's my understanding that MicroG has UnifiedNlp built-in. So what causes my problem? I had asked this before but never got answers.

Thanks!
[Android Apps and Games] rnd83:
I can't answer all of your questions but maybe some.

MicroG includes the location service so you don't need UnifiedNlp.apk or one of the others. These apks provide only the location service (in case you don't need any other functionality that's included in MicroG). There are different versions depending on where you have gapps installed or not.

The location backends provide location data based on WiFi and/or cell signals. Some need an internet connection, some work offline. You can find them on FDroid. The difference here is that they don't send your position to Google. In general they will be quicker to find your location but are less precise than GPS.

Yes Wi-Fi uses battery as does GPS. But Wi-Fi is usually switched on anyway. I guess you have to test what works best for you.
[Android Apps and Games] ale5000:
You have to put GmsCore in /system/priv-app to have "System supports location provider" checked without manually patch the ROM or using an Xposed module.
[Android Apps and Games] Shadow53:
A location provider is specifically a *network* location provider - it determines your location using your WiFi and/or mobile data connections. The address lookup backend is one that translates a street address to long/lat coordinates and vice versa. You do not technically need any of these backends, but you will be limited to GPS and the slight chance of another provider being installed on your system (doubtful). The reason you need one of these backends is that the choice of which service to trust was left to the user - some backends even download a database locally so it doesn't make any "calls home" - and microG/UnifiedNLP is only there to redirect the reported location to the system as a trusted network location provider.

You would be correct that GPS uses only satellites and that network location uses your network. GPS is generally more accurate, though it uses much more battery and, as I understand, needs a moment to "warm up" and find your location. The network location by itself saves battery and is generally as accurate as you need for things like weather. The two together is marked as the "high accuracy" option in Android, however.

I believe that Google's own locations services are used by default with GApps installed, though it is possible an OEM could override that (not something I know about). As far as the problem with UNLP not being bound to the system, in Android N the current solution is to install microG to /system/priv-app, as for some reason the system only trusts packages from there. In android 6 and before, you should only need a reboot. As far as the other apks from GitHub, those are unnecessary, and UnifiedNLP.apk is a standalone package for the microG location provider.

Finally, I have no clue what those other apps and services are on your device or what they do.

I hope that helped.