yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] :
I do not think that you need the Google Backup Transport at all. As far as I understand, the app is used for syncing various system / app settings, such as WiFi passwords, etc. The Contacs and Calendar Sync apps work fine on their own without it.

Does the Backup Transport work with microG though? I think I did get it to work in KitKat before but in Marshmallow / Nougat it is impossible to select a Google account for backup in the Backup & reset settings.
[Android Apps and Games] finalista:
Anyone else has or had the problem that after doze kicks in WhatsApp or Signal messages are only received if App is excluded from battery saving or after opening the app? I'm using microg as latest nanomod magisk module with Los 14.1 from sultanxda.

Any help is appreciated - Thanks :)
[Android Apps and Games] marcdw:
I'm thinking it might be necessary, or at least helpful. It's now included in the NanoMod packages so I figure it may be needed for later androids.

I always use DAVdroid so I haven't tested/used the sync adapters in awhile. Mahdi KitKat had them but I kept losing one or the other adapter periodically so I just did away with them.

LG G3 D851, crDroidAndroid v3.5.1 ROM, Artx v5.0 Kernel, microG (NoGapps), MultiROM, Tapatalk 4.9.5
[Android Apps and Games] budbay:
I have had the same issue with signal, I also set it to not optimize battery saving. So far that is only solution I know.
[Android Apps and Games] Dobsgw:
This the best solution.

It shouldn't affect battery life in any noticeable way as it has to use microG to ping for messages anyway.

I have Whatsapp, signal and telegram excluded from doze.
[Android Apps and Games] :
Well, the only case of "losing" the adapters (the Calendar sync adapter, to be specific) for me was after installing the official Google Calendar app. I have tried doing it several times and the issue was always reproducible. The Google Calendar app would make the Calendar sync adapter disappear from the Accounts sync settings. To get it back you have to uninstall the Calendar app and then reinstall the adapter. I have not experienced any other issues with them.

MicroG is supposed to wake the apps in background. It can even wake those which have been greenified before. It sounds like something is blocking them from running. In case of high priority GCM the apps should be woken even when using aggressive / force doze.

The only situation I have personally seen that would cause such a behaviour was when using PowerNap. That would block everything from running in background, regardless of GCM or not, unless whitelisted in its settings.
[Android Apps and Games] finalista:
well, in my case microg receives the message as expected but fails to wake up whatsapp so the message does not get delivered. Here what i found in logcat:

I'm using latest GmsCore and GsfProxy (and also the other parts). I installed via Magisk Module (Nanomod). ROM is LOS 14.1 (sultanxda mod).

I also tried to reinstall Whatsapp & Signal. Did not help.

Maybe someone knows how to fix this :fingers-crossed:
[Android Apps and Games] naifaharsy:
Very usefull..
[Android Apps and Games] vladniko:
Did you ever find a better fix for this?
[Android Apps and Games] budbay:
I personally do not use powernap/greenify or any apps of the sort. But having signal not optimized does not seem to have any negative affect on battery. Just my observations could be different for others.
[Android Apps and Games] :
I am also on LOS 14.1 but the only difference is that I am not using NanoMod because Google Calendar Sync does not work with it. I just put the GmsCore and GsfProxy apks directly into /system/priv-app manually. I do not know if it is the NanoMod to be responsible for the issues but just to be sure you may try the manual installation.

Unfortunately there are apps that cause many alarms / wakelocks together with the GCM related ones and they can drain battery more when used without battery optimization. It really depends on the situation.
[Android Apps and Games] freegame619:
Thanks for all the help, I was able to install microg easily and configure it even more easily. Install rom-> spoof signature using nanomod-patcher ->install nanomod-micro, done.
[Android Apps and Games] ale5000:
It isn't necessarily true, sometimes it just FC for something in a dirty system and a clean ROM flash fix it.

But I cannot be sure without trying it directly.
[Android Apps and Games] :
I also experienced FCs when trying to use the 7.x version of the Contacts sync adapter in Marshmallow. Since then I have always been using only the corresponding versions of the app and had no such issues anymore.
[Android Apps and Games] NAZUnlimited:
weird issue. i hard reseted the rom of my phone and now i cant insert my google account. it says that an app is already trying to sign in and to continue, it displays 2 buttons, sign in and cancel but neither is responding to touch. i am using Services Core com.google.android.gms 0.2.4-103-gd9e86d9. with previous versions that screen never appeared and i was always able to put the google account. anyone has experienced that?
[Android Apps and Games] :
Which version of the PlayStore app are you using? How did you install microG?
[Android Apps and Games] ale5000:
Know issue, see here.

I suggest to use version 0.2.4-81 on Android < 5
[Android Apps and Games] Gonfebo:
Also try sing-in using a older version (0.2.4?) And after, update to latest release, it works for me on android 4.3 (n7 2012)

Enviado desde mi Aquaris X5 Plus mediante Tapatalk
[Android Apps and Games] ale5000:
[MENTION=5129403]Gonfebo[/MENTION]: You don't need such old version, 0.2.4-81 is enogh.
[Android Apps and Games] Gonfebo:
When i try to install contact sync, it force closes after reboot o directly dont show the sync toggle, im trying the android 6, and O version from apkmirror, copying it to /system/priv-app and apling 644 permissions (and in setting their permissions), what have i forgoted? Im trying that on S5 CM 13.0

Enviado desde mi Aquaris X5 Plus mediante Tapatalk
[Android Apps and Games] gh0stzk:
Try contactsync app directly from the gapps. Justo extracto it
[Android Apps and Games] NAZUnlimited:
i was aware of that bug but i never had it in the +1 year that i use microg in my main phone, nor i related it with the last version (103-XXX....), thats why asked if anyone had experienced the same. i quickly solved it by re-flashing the previous version (81-XXXX....), insert account and re-flash the 103-xxxx... <- i need the last version because of some apps not working with previous version (81).

[MENTION=5038522]tomasz86[/MENTION] i'm using the last playstore version 8.0.73 and all microg stuff needed is flashed as a system app.
[Android Apps and Games] Shadow53:
I'd recommend downloading a flashable zip from my site instead of installing manually. Bonuses included reports that it works and a survival script that persists across ROM updates.

https://shadow53.com/no-gapps/downloads/

If you do, be sure to remove your manual installation first.
[Android Apps and Games] Gonfebo:
Nothing, when the phone boot, it doesnt fc like other versions, but also doesnt appear the toggle in accounts settings:( i do the procedure explained on your web

Maibe its a bug?

I flashes contact only package, the calendar sync works good (and i dont use calendar :facepalm: )

Enviado desde mi Aquaris X5 Plus mediante Tapatalk
[Android Apps and Games] Gonfebo:
Its very strange... The rom comes with a contacts app, but the dialer (any) says that arent any contacts app installed, and dont let me to import the csv, or do anything with these app.

If i open the contacts, it stay in "loading" doimg anything

Enviado desde mi Aquaris X5 Plus mediante Tapatalk
[Android Apps and Games] Shadow53:
It's possible it's a bug, though with my sync package or your ROM is hard to tell. Are you sure you removed everything from your attempt to install it manually? There could be something conflicting there. Otherwise, feel free to leave a bug report on the repo (see below).

This makes me think you should try a clean flash of your ROM before submitting a bug report. A clean flash may fix whatever problems you are having, and it means less you have to tell me if you make a bug report. You can make the bug report at https://gitlab.com/Shadow53/android-zip-builder/issues - be sure to leave your ROM, android version, how you installed microG, as well as a logcat. If you do not try a clean flash first (please do, though), be sure to include how you did the manual installation and how you removed it. More details, the better.
[Android Apps and Games] Gonfebo:
Finally i solved doing a questionable procedure:

I flashed the rom + gapps, login and configured all, after the app restauration, i dirty flashed the rom with microg, and this works for me, contacs appear to be working and sync also works misteriously. With this procedure i also kept some accounts games from play games (i.e: CR), and for now there arent any conflicts.

I know that isnt the better way to install microg, but its the only one that i have founded for solve contacts problem.

The phone was s5 g900f with lineageos 13.0, without mods. Magisk v13 + xposed

Enviado desde mi Aquaris X5 Plus mediante Tapatalk
[Android Apps and Games] technotravel:
I'm absolutely not sure this will work for you - but I ran into a fc-issue too recently. What solved it for me was the flashing of beans - although I want to be free of google. Afterwards, the fc-issue was gone, and I could clean flash my preferred ROM without beans- no issues afterwards. Then I flashed shadow's microg zip.

You can read about it here.

Good luck

Chris
[Android Apps and Games] RobotPhone:
That makes no sense. If you clean flashed, you formatted /system and /data, which wiped beans and everything else. So whatever you did before clean flashing would be meaningless.
[Android Apps and Games] technotravel:
Sense or not - that's how it was :)

My problem actually occurred after flashing the microG unofficial installer.

Cheers

Chris
[Android Apps and Games] ale5000:
I have released new versions of microG unofficial installer and Google Sync Add-on with hopefully all problems fixed.

It would be nice if you try it and report back.
[Android Apps and Games] dopim:
Nice Job.
[Android Apps and Games] sirdoha:
Bro [MENTION=3999488]MaR-V-iN[/MENTION], Google Photos app doesn't work with MicroG. Please add support for this features because Google Photos is a must-have app. Thanks for your hard work!

Issues:

com.google.android.apps.photos.app.PhotosApplication relies on Google Play Services
[Android Apps and Games] RobotPhone:
lol umm no
[Android Apps and Games] Shadow53:
The purpose of microG is to provide an *alternative* to Google's apps. If you're going to continue using Google's services, why bother using microG, when it's just an added hassle?
[Android Apps and Games] sirdoha:
Not really exactly. Since many users come to MicroG just for replace the battery-eating Play Service while continue to use other essential google apps.
[Android Apps and Games] Oswald Boelcke:
@Shadow53 is absolutely correct with his statement here.

Please allow me to partially quote the OP:

The second sentence clarifies in my opinion that microG is designed for system without Google applications but to allow other applications, which unluckily depend on Google Play Services, to run. From my point of view, the implementation status of mircoG underlines this approach.

Furthermore, my own experience from pre-microG times: There's no significant battery saving with microG; a "GApps system" doesn't "eat" more energy if thoroughly and effectively been configured.
[Android Apps and Games] :
Google Play Services definitely uses more RAM and CPU though. If you flash GApps (even the smallest version) on an older device with 512 RAM or less, the OS basically becomes completely unusable.

I would also not be so sure about there being no difference in battery savings. Even with location related wakelocks blocked, the Play Services still causes countless other wakelocks which are not present in microG. I have been using mostly older / slower devices, and battery life on such devices has always been better with microG.
[Android Apps and Games] MrMarques01:
Seems like play music is broken with MicroG. It syncs correctly and I can play songs from the "recents" screen, but searching for an artist and clicking on his name results in a infinite spinning wheel. When trying to access my music library, I just stays blank. Anyone else facing the end issue? I've granted play music all permissions
[Android Apps and Games] michael-oc:
Dont know if it will ever run on Android itself but it is written in Java. So it is not a Windows APP [emoji6]
[Android Apps and Games] bigsupersquid:
I didn't mean run /on/ Android, just on-device in a Linux chroot. Oracle released official jre for arm years ago, and java programs run fine in a terminal as long as they don't use gui or audio functions (then you need a vnc or xserver xsdl on an android device.)

raccoon sounds like a good way to get around some of the limitations of the play store substitutes with microg.
[Android Apps and Games] herrdeh:
Deleted. I wrote nonsense.
[Android Apps and Games] Wh1t3Rose:
I have MicroGMS/XposedUnifiedNLP installed. Everything checks out in MicroG system check except for "UnifiedNLP is registered in System" & System Supports Location". I think I have everything installed correctly.

I'm on UntouchedAOSP 6.0.1. Can someone help me? I also have XposedUnifiedNLP module installed as well as FakeGapps Xposed and "This App will Run W/O GPS"
[Android Apps and Games] MaR-V-iN:
The spoofing does not affect the Android system and the package manager. Signatures will still be validated with signature spoofing enabled, exactly how it was done before. This is because the Android package manager actually verifies signatures while Google only reads them. The spoofing will not be able to trick a proper verification implementation.

I don't receive this on my phone. Can you: Mention what app you tried to download (is it paid or large size?), check that all BlankStore account details are fine (re-create the BlankStore account).

Can you please: Look at self-check results if everything is fine, if you have a Google account linked, try removing and re-creating it, check for loops in logcat (can affect all apps) and report anything you see. Thanks.

There will be a dedicated F-Droid repo as it's not possible to push GmsCore to F-Droid without removing UnifiedNlp. Currently this repo needs some unexpected work as F-Droid does not play very well with signature spoofing right now.

You will likely have problems installing apps if you don't push the Phonesky.apk to /system/priv-app as Play Store expects permission to install apps without user confirmation.

Don't use XposedUnifiedNlp with GmsCore, use XposedGmsCoreUnifiedNlp by [MENTION=1401600]intika[/MENTION] instead. Note that the need of the extension most likely means that the ROM you use is broken and misses the config overlay for location provider as done OmniROM or CyanogenMod - you might want to let the ROM developer know about that.
[Android Apps and Games] wis3m0nkey:
Thanks, I'm out of town for 2 days. I'll try and get u info as I get back.

Oh BTW here is an observation I installed Waze before installing gmscore and it works perfectly (I deny unnecessary access permissions through xprivacy) however as soon as I install gmscore Waze starts force closing. I need to grab logcat for that as well, I'll try to roll up this with battery info
[Android Apps and Games] Wh1t3Rose:
Thanks! After installing XposedGmsCoreUnifiedNlp and rebooting everything checked out INCLUDING the location provider. But I'll still let the ROM Dev know.

---------- Post added at 08:34 PM ---------- Previous post was at 08:16 PM ----------

Now I was wondering if there is a way to get YT working? For me it force close on launch. That's the only Google app I care about. Well that and maybe YT Studio.
[Android Apps and Games] darthvishous:
You can try webtube https://github.com/martykan/webTube/blob/HEAD/README.md for YouTube videos.
[Android Apps and Games] Wh1t3Rose:
Looks plenty decent thanks! I'm seeing some massive drain. 30%/hr. That's With using soundcloud. I'll give it a few days to see if things improve.
[Android Apps and Games] wis3m0nkey:
Been using SoundCloud without Google services or gmscore. I don't see huge battery drain. I've not tried it after gmscore though.
[Android Apps and Games] Wh1t3Rose:
Would you mind using GMSCore? Just to test?

---------- Post added at 03:15 AM ---------- Previous post was at 02:26 AM ----------

Gmscore is causing 2 alarms/min
[Android Apps and Games] masmoe:
I installed Gaaps again because my company application need it. But I notice that microg location service perform better than google in my phone.

Could someone give me advise how to use microg location service with gaaps installed?
[Android Apps and Games] wis3m0nkey:
I don't think u can but I'll let others comment as well. I think op says no gapps compatible and you need to uninstall gapps to use microG

---------- Post added at 05:24 AM ---------- Previous post was at 05:23 AM ----------

I'll give it a try but not for a day cause I'm traveling.
[Android Apps and Games] bilbonotry:
This cycle gmscore is only at 5%. I erased and readded my Google account, but I am not sure it was necessary.

Oh and self check results were all fine.
[Android Apps and Games] dabl8:
The wiki says I need to enable signature spoofing on Omni (unofficial build from 29/01 for Nexus 7) but I see no option for that. Anyway, I enabled the permissions I could and I see that all the boxes are ticked in self-test except for 'PhoneSky has correct signature'. But FakeStore has no permissions that I can enable. So I can't get any location even though I have a couple of providers and I rebooted. I just see

E WifiService: Permission denial: Need ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission to get scan result in the logcat 01-30 15:37:14.118 1250 1250
D AppleNlpBackendService: Found 0 wifis, of whom 0 with location and 0 unknown.
01-30 15:37:14.119 1250 1250
D AppleNlpCalculator: Build classes of size:
.
.
.
01-30 15:41:30.708 5281 5326 W GooglePlayServicesUtil: Google Play Store signature invalid.
[Android Apps and Games] MaR-V-iN:
2 alarms/min does not necessarily mean a battery drain. You can reduce alarms by increasing the cloud messaging heartbeat interval.

You can use UnifiedNlp with GAPPS as long as you have Xposed. There is a special build for that use and a Closed module.

Can you tell me what application is that or what exactly is not working using microG GmsCore with that app? I'd be happy to fix that for you ;)
[Android Apps and Games] Wh1t3Rose:
Normally I'd agree with you but I can see it affecting deep sleep. I increased the interval to 600. Let's see start what happens
[Android Apps and Games] ExNihilo01:
According to Xda Labs, I already have this app installed, and it has an update available now. The thing is, I'm using GApps, which are incompatible, according to the description. I'd like to see if updating might help my battery life problems, but I don't want to risk any problems that might arise due to incompatibility with GApps. Anyone have any advice?
[Android Apps and Games] MaR-V-iN:
You can not easily upgrade from original GAPPS to microG, but need to remove everything first. You might want to report to XDA Labs that microG GmsCore is shown as an update for Google Play Services as it's a separate app/project and not an update
[Android Apps and Games] Draygon:
Hello,

I installed GmsCore and want to use it with the official Play Store.

I downloaded the latest apk from apkmirror and installed it.

I use Cyanogenmod 13 and installed the Xposed Framework with Signature Spoofing, it seems to work so far. GCM push is working, too.

If I open the installed Play Store, it asks me for my google account. After that it's crashing.

Opening it again is asking for my google account again, but it tells me my account is already registered at my device (which it is, I see it in system settings).

It's not going further, the play store is not opening and asking me for my login credentials again and again.

Does someone have a clue what to do?

Edit: Blank Store is also just crashing, can't get both to work. :(
[Android Apps and Games] Oswald Boelcke:
I'm not using any Google stuff i.e. not familar with Google Play Music but a quick search in the search brought me to this post. Maybe that's something to work it out?
[Android Apps and Games] Orion281:
Please help me someone! I installed microG and companion apps(Mozilla UnifiedNlp Backedn, Nomination Geocoder Backend, and Wifi UnifiedNlp Backend) as privileged apps. Everything works fine except location. I've tried different ROMs, different method of installing microG but no luck. First I installed flashable zips provided by Shadow53, then nano mod with and without magisk but no matter what I do just don't work. I attaching screenshots of microG self-check configuration. Please have a look and Also thanks.
[Android Apps and Games] Oswald Boelcke:
Did you grant the required permissions to your backends?

Maybe this thread supports?
[Android Apps and Games] Orion281:
Yes! all necessary permissions have been granted to backends.
[Android Apps and Games] n76:
The backends do not need to be installed as system or privileged apps. The only two items I have installed in /system/priv-app/ are microG itself and BlankStore (you could also use FakeStore). Everything else can be installed as plain old user apps.

The WiFi backend won't give a location until it has learned the area, and it learns by listening to GPS locations when other apps have the GPS turned on. If just installed on a fresh ROM it won't help. The local GSM backend requires you install a database before it will give a location.

The Mozilla backend requires that you have network connectivity as it sends info about cell towers and wifi hotspots it sees to a server run by the Mozilla people. If your area has not been mapped using the Mozilla stumbler, then it may not have data in your area.

Do you have location set to "high accuracy" in your system settings?
[Android Apps and Games] Shadow53:
It looks like you have network location ("battery saving" or "high accuracy") enabled, which would be my first guess.

This may be a silly question, but have you *enabled* the backends in the microG/UnifiedNlp settings? That might be the problem, as they are not enabled by default even if they were installed by a zip.

Also, have you tried using any apps that request location, or are you just trying to get the box checked? It's possible that having an app make a location request will be enough to trigger UnifiedNlp.
[Android Apps and Games] Orion281:
Yes! I have location on high accuracy mode.

Also enabled backends in microG settings as can be seen in screenshots.

After configuring microG I tried to update weather in my weather app but it didn't.
[Android Apps and Games] ale5000:
Try to disable the backends, confirm (it is important) and re-enable them.

This fix the permission problem for me many times.

Sometimes permissions may appear granted while in reality they aren't.
[Android Apps and Games] masterlo3:
I want to try this because gplay services is eating away my battery. Will I be able to sync my contact if I use this mod? That's the only important thing I use in gplay services.
[Android Apps and Games] Oswald Boelcke:
Yes, you are definitely. However, search this thread for additional information.
[Android Apps and Games] masterlo3:
Okay thanks. That's bye bye to my top battery eater. Uses battery more than screen. Gplay