yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Portgas D. Ace:
As far as I know, it's exactly the other way around. GPS uses less battery than network scanning (which will constantly use WiFi scanning and thus results in higher wakelock times). The "Battery Saving" option within the location settings has been designed with respect to the "High Accuracy" mode, which uses both GPS and network location at the same time, thus shutting down one service (GPS) will save some battery, but shutting down the network location setting would result in even higher battery savings. Using only GPS is the most battery friendly way for location services.
[Android Apps and Games] :
I think it depends on a situation. Constant background scanning for location will of course drain battery. However, if you just open a map application and want it to find your current location, then using WiFi or cellular towers will be both quicker and better for battery than GPS. The best way would be to use some kind of automation software (like Tasker, etc.) to switch "High Accuracy" on and off depending on the opened app.

Now, I do not think there is any background scanning for location in case of microG (and its location backends) so the above really applies only to the original Google Play Services. With microG I just set location services to "High Accuracy" and forget about it.
[Android Apps and Games] Primokorn:
I don't use this kind of services but you may want to try FonBot or FindMyPhone (both on F-Droid), Prey or ODM.
[Android Apps and Games] 2phazt:
All weather apps I know just use wifi if high accuracy is selected. And usually they scan in a configurable interval and not always.

The only kind of app that needs constant location is a navigation. And therefor gps is usally used.

Afaik even google now has an (short) interval.

High accuracy only allows both methods and doesn't force a specific one.
[Android Apps and Games] n76:
The backends can be coded any way the developer of them wants and could potentially be scanning all the time.

That said, MicroG/UnifiedNlp only calls the backend when an app has requested location updates. You can easily verify that by monitoring at logcat and the location icon that shows up at the top of your phone's screen.

The backends that I am aware of (having coded two and read the source for others) don't scan unless they have been called by UnifiedNlp/MicroG to provide an updated location estimate. If you have lots of apps that periodically want to know where they are or are running a mapping or navigation app, then there will be lots of scanning going on. But otherwise there should be little or no scanning.
[Android Apps and Games] wkwkwk:
All I did was putting the microg apks under /system/priv-app while still in recovery (before the initial boot). That apparently is the trick for the official gapps as well.

You can either do it via adb or with the file copy function in twrp.

Beaware that things are still broken in marshmallow but at least some functionality will be fine
[Android Apps and Games] darthvishous:
This is what the blankstore shows me. http://imgur.com/X4TKZQa
[Android Apps and Games] :
Oh yeah you're right. I forgot, I just use multirom and dualboot a rom with gapps on it, then use titanium backup to get most of my apps. I know clash of clans works with microg though. I'm playing it right now
[Android Apps and Games] darthvishous:
Thanks. I shall try that.
[Android Apps and Games] Izzysoft:
Speaking about Blankstore: is it just me, or does it not display the permissions at all? Everytime I apply an update, it directly jumps to the install. I do not get asked to accept the permissions. This way I don't even know whether there were new permissions added. Did I miss something?
[Android Apps and Games] sp47:
Blankstore doesn't work with 2-step google verification.
[Android Apps and Games] Koloses:
Use app password instead of password. You can generate it on PC in google account settings.
[Android Apps and Games] :
That's normal for blankstore. I just use xprivacy xposed module to control apps' permissions.
[Android Apps and Games] Izzysoft:
OK, I do that as well. Still I'd like to see what I'm up to :) OK, at least now I know it's not a mistake at my end. Was hoping it would resolve that way … Thanks for the feedback!
[Android Apps and Games] bamtan2:
thanks for keeping up on this topic :) it isn't working well enough for me to use yet, but I hope for great things :)
[Android Apps and Games] wis3m0nkey:
I've been using my phone without gapps for year and half now (xperia z1 and now nexus 6p).

I still wish I can buy some play store apps though.

And few apps just don't want to run well without Google services (PayPal, redfin, etc.)

I'm thinking of going with microg, the only reason I don't use gapps is because of privacy issues. Keeping that in mind I've few questions (I'm on marshmallow ROM)

I installed xposed module and core app without any problems

1. If I'm not using any text service (telegram have their push service and SMS just works) do I still need gsfproxy?

2. I'm thinking of installing blank store, can I purchase apps or does it work on free apps only? Plus can you please add blank store related info to this thread since nogapps is deprecated?

3. I use xprivacy module, I allow all requests by this project, is that okay?

Thanks
[Android Apps and Games] Koloses:
1. yes, it's there for the compability I think.

2. Only free apps, but from my experience the play store works with microg already (still using that combo anyway)

3. It's okay. There's no additional stuff being send or anything like that.
[Android Apps and Games] wis3m0nkey:
Thanks I'll try to search and install original play store

I'll install gsfproxy as well.

---------- Post added at 09:39 AM ---------- Previous post was at 08:53 AM ----------

Installed play store from 9th December 2015 apk but microg services force close.

https://pastee.org/eh8vw refer to that for related logcat.
[Android Apps and Games] wis3m0nkey:
I suppose I needed installed and configured unifiedNlp and nomination to get play store to working, however now play store only goes to initialize screen and not beyond it the very first time it accepted my login credentials but after that it just reports this account already exist in device.
[Android Apps and Games] wis3m0nkey:
Logcat shows me something like:

01-07 14:10:16.127 W/GooglePlayServicesUtil(32760): Google Play services out of date. Requires 8296000 but found 8115238
[Android Apps and Games] EscapeMaster:
Very nice. But on wich platforms(smartphones) is GPG not supportet? Or will this be something, that will replace the googeplaygames App?
[Android Apps and Games] wis3m0nkey:
I think u misunderstood the point of app. All smartphone (android) support Google play games, the main purpose of these apps is - not to provide (provide minimal) private information to Google apps, so yes it will replace gpg of user choose to.
[Android Apps and Games] EscapeMaster:
Allright, thank you. :)
[Android Apps and Games] bigsupersquid:
OP says no Games services implemented.

Sorry.
[Android Apps and Games] nxb:
You don't really need those. I've yet to see a game complain about it. Goes in the trash like google books/news/blood sample.

Tried latest version with gmail 4.2, worked until I hit deep sleep. After that crazy lag again. Upgraded to latest gmail and the app works now without crying about google services being missing. It doesn't lag but also polluted my contacts with gmail peeps. Luckily I had read contacts permission revoked or it would have stolen my real contacts. So now gmail can't modify calendar/read sms or futz with contacts.

So for those that said... just use a pop/imap client... I'd be re-downloading tons of email right now or worse losing it all. Pop/Imap tends to like to download + delete from the server by default... at least every client I've used on desktops.... and every corpo crying recover my email from outlook/etc.

I may try something between 4.2 and latest to see where the sweet spot is. Gmail has ballooned from ~3mb to over 15MB.
[Android Apps and Games] Portgas D. Ace:
I was thinking about situations where you use an app that constantly requires location services, such as navigation apps. For a short position check, the difference in battery drain is negligible, but for constant usage, there is a huge difference between the two modes.
[Android Apps and Games] n76:
On my particular phone, the GPS circuitry and logic use more power than the Wifi/WLAN. Don't know if that is true on other (probably newer) phones.
[Android Apps and Games] Portgas D. Ace:
That's interesting. On my devices, GPS only has always used less battery than high accuracy mode. Maybe it is related to the GPS software itself. Does anyone know for sure if this software is different for different devices? My idea would be that it is indeed different, as there are different GPS sensors which need a different software.
[Android Apps and Games] oF2pks:
Hope [MENTION=3999488]MaR-V-iN[/MENTION] will take advantage (& comment) on this : http://blog.checkpoint.com/2016/11/30/1-million-google-accounts-breached-gooligan/

"After achieving root access, Gooligan downloads a new, malicious module from the C&C server and installs it on the infected device. This module injects code into running Google Play or GMS (Google Mobile Services) to mimic user behavior so Gooligan can avoid detection, a technique first seen with the mobile malware HummingBad. "
[Android Apps and Games] ale5000:
[MENTION=3999488]MaR-V-iN[/MENTION]: It would be nice if microG have some code to prevent "code injection inside microG", ref.: [MENTION=7489364]oF2pks[/MENTION] post.
[Android Apps and Games] MaR-V-iN:
As far as I understand the Gooligan malware, it first uses a root exploit to gain root access. Once an app has root permission it can easily "inject code" into every application (think of: you can install Xposed with root permissions). There is no way microG can do anything aginst this kind of attack and in fact, if you were compromised by Gooligan, your account authentication token is likely stolen as well, because microG uses the same system API to store authentication tokens (well, it was designed for exactly that).
[Android Apps and Games] oF2pks:
I was wondering on the live infection: if Gooligan/module needs to poke directly official running GoogleServices, maybe using microG will void this attempt to nowhere (different app&path)?

BTW direct checkpoint https://gooligan.checkpoint.com/

(Nota: can minimize infections (HummingBad...) http://repo.xposed.info/module/it.matsca09.xposedmod.directapkinstall)
[Android Apps and Games] redj12:
Hi there. I bought an N5 and for various reason I decided to keep the stock and I cleaned the GAPPS. I followed the OP and install all needed apps. In the settings all boxes are checked except UnifiedNlP. I selected the Mozilla Location Service in UnifiedNlp settings. I can open the apps that require Google Play services like Maps or Strava but these apps can't find my location.

Thank you.
[Android Apps and Games] Oswald Boelcke:
How did you clean your device from GApps?
[Android Apps and Games] redj12:
Yes as I said in my previous message all gapps are removed.
[Android Apps and Games] rnd83:
Did you reboot the phone?
[Android Apps and Games] Oswald Boelcke:
I've no doubt in what you say; certainly I trust your statements. But I know that it's quite difficult to actually uninstall all the Google crap without any remnants I was curious how you performed the respective deinstallation.

Just for my knowledge, did you follow this procedure http://hex.ro/wp/blog/removing-gapps-from-cyanogenmod-11/?
[Android Apps and Games] redj12:
I don't know how can I apply the procedure on the link you posted. As I said I flashed the Google foctory image so all gapps are included. Your link explain how to remove if the gapps zip was flashed.

I removed all google apps with titanium backup.
[Android Apps and Games] Oswald Boelcke:
Please allow me to quote the OP:

I doubt that you're system is really GApps-free if only TB was used in the attempt to uninstall GApps. I'm personally not wondering now that there are issues. I had that in the very beginning when I tried that way. My personal choice was then to flash a completely GApps-free ROM and obviously not to flash GApps.
[Android Apps and Games] redj12:
I bought my nexus 5 some days ago (secondhand) and tried many AOSP/CM ROM. There was a huge freeze and reboots on all these ROMS so I decided to flash the factory image and it's really stable. On my previous devices (N4), there was no issues. I ran CM gappsfree with MicroG. On my N5 even if I flash the stable release of CM there are freeze and reboots.

Please tell me if you know or find some way to remove all gapps from the stock ROM. I will remove MicroG until I find the solution. Thank you.
[Android Apps and Games] BryanByteZ:
Anyone with random FC's on Micro G Service Proxy (the GSF)?
[Android Apps and Games] Dr_DjEnder:
I get them when I log into a Google account on the phone assumed they are normal. But if you mean randomly nope.
[Android Apps and Games] Oswald Boelcke:
Negative, Sir!
[Android Apps and Games] mandayugana:
- moved to UnifiedNlp thread
[Android Apps and Games] 2phazt:
The only thing I'm really missing is chromecast support.

Since bubbleupnp still is able to connect it would be great if native mirroring and other apps like netflix would find the chromecast again.
[Android Apps and Games] BryanByteZ:
After upgrading GMS core no more FC's on GSF.
[Android Apps and Games] oF2pks:
Thx for patches, I also found similar https://github.com/kimjisoo/frameworks_base/commit/a6caff4a116a2f4b065abea50bc4af1205df4d4c

i don't have aosp7/cm14 in the oven , but I wonder why a little bit of code was removed from :

https://github.com/microg/android_p...aster/patches/android_frameworks_base-M.patch

--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -1298,6 +1298,8 @@
<string-array name="config_locationProviderPackageNames" translatable="false">
<!-- The standard AOSP fused location provider -->
<item>com.android.location.fused</item>
+ <!-- The (faked) microg fused location provider -->
+ <item>com.google.android.gms</item>
</string-array>

[MENTION=2980661]bigsupersquid[/MENTION] , [MENTION=3999488]MaR-V-iN[/MENTION] , can some give help ?
[Android Apps and Games] kwkw480:
I use acip for the op3 which is based off cm14 I would really love it ifvdoneone could hold my hand and patch the frameware to enable signatures sporting :)
[Android Apps and Games] Dr_DjEnder:
You can probably use needle (see micro G website or github) to patch it yourself just download it make sure you got adb installed follow instructions and install microg I did it on rr oneplus 2 worked fine
[Android Apps and Games] qu4gmire:
Well, I had a whole damn post written up, but the forums logged me out so this'll be less clean that it should've been.

I'm trying not to depend on root being constantly required, but I definitely want to keep microG. Is this even possible? I'm using CM 13 on a device that doesn't support Omnirom or other decent ROMs that allow signature spoofing OOTB. I only use root for AdAway and for the fakegapps Xposed module, so I'm thinking that if I can get microG working without Xposed, I'll be able to fully unroot between periodic updates to AdAway. I can't shake the feeling that having Magisk/superuser/Xposed running all the time somehow either drains resources or poses a security risk.

However, I can't seem to wrap my head around Needle/Tingle/Haystack, nor can I find a guide that I can learn from. Most of the community help available seems to be for Android 2.x-4 or 5, too, so I don't know whether following that advice might be dangerous for Marshmallow-based ROMs. Regardless, once the framework is patched using any of those, is root still required?

I also can't figure out whether CM 13 is odexed or deodexed by default, since all search results seem to be about CM 12 and older. Any deodexing tools I've found seem to be for older versions as well, so I'm sort of assuming CM 13 is just deodexed by default. Still would love to know for sure. In either case, I'd be happy to patch my ROM with the patch available on microG's github site, but again all information I've found for that sort of thing is about older versions of Android that are apparently set up differently, so I have no idea whether those guides will help me.

I apologize if any of these questions are irrelevant or redundant. This is the third time I've written this post so if there's more info anyone needs that I forgot to include, just let me know.
[Android Apps and Games] ale5000:
[MENTION=7639195]qu4gmire[/MENTION]: New ROMs may be odexed or deodexed, there isn't a general rule.

Probably official builds are more likely to be odexed and unofficial builds are more likely to be deodexed.

Just look at the size of /system/framework/framework.jar, if it is like 5KB then it is odexed instead if it is like 3MB/6MB then it is deodexed.

Tingle will detect if the ROM is odexed and say it clearly.

Needle/Tingle/Haystack patch the ROM, once the patch is applied root is no longer needed.
[Android Apps and Games] BryanByteZ:
The security question is a thing to think because the patched framework (to make microG work) is a security hole too. When you patch the framework (Tingle) you will don't depend on xposed or root. From what I see tingle is just run on recovery.
[Android Apps and Games] ale5000:
[MENTION=5842893]BryanByteZ[/MENTION]: Tingle will work also if the phone is in the recovery but it is usually run when the phone is inside the ROM.

Also it may not work with all recovery but it should always work when the phone is inside the ROM.
[Android Apps and Games] qu4gmire:
Oh, definitely, I have no illusions about that. It's just fun to tinker :)

Thanks for all the info!

Does that mean I can use the phone's terminal app instead of running adb through my PC?
[Android Apps and Games] rnd83:
No, because the scripts are written in python. But it's anyway faster on a PC and fairly simple - at least on Linux.
[Android Apps and Games] ale5000:
[MENTION=7639195]qu4gmire[/MENTION], [MENTION=5076953]rnd83[/MENTION]

Any patch have its peculiarity and compatibility, if we talk about Tingle (the one developed by me) it support the following modes:

- Run patch on the PC (any OS) with a phone connected with Android opened

- Run patch on the PC (any OS) with a phone connected with Recovery opened

- Run patch on the phone inside Android (need QPython3 installed)

The latest mode is slow and more complicate for the medium user but it works.
[Android Apps and Games] baxtex:
So I wanted to try this so I removed gapps. Then I tried installing both the blank store and the microg apk files, but the installation just fails almost instantly.

I also could not get signature spoofing enabled, even though I installed the xposed module and enabled it.
[Android Apps and Games] Tech 4 9:
Delete
[Android Apps and Games] Primokorn:
How did you remove Gapps? Which error do you have?
[Android Apps and Games] Oswald Boelcke:
Do you think this might support people in installation and getting microG to run?
[Android Apps and Games] mikeskid07:
I actually copy pasted all of your posts from that thread into a text editor and printed a hard copy for notes and hi-lighting. My method differed slightly from yours due to different device and America vs Europe, but I couldn't have done it without a recent and concise set of examples like yours. Your posts have received my thanks!

I doubt that the OP could provide your Play Store instructions legally though. Or that he'd want to, as this is a FOSS implementation.
[Android Apps and Games] 1plus:
[MENTION=3999488]MaR-V-iN[/MENTION]

I have a bit of a random trouble with GMScore, specifically unifiedNLP on version 28 and 30.

That is on device which is my main daily driver so it is (unfortunately) still on CM13. Therefore nothing from CM14 actually affects it.

So in short, for some random reason, unified NLP sometimes becomes unregistered. All other boxes remain checked. No crashes or any notification messages are displayed though. It did happen a few times in the past as well. I'm currently with build 30 of gmscore.

e.g. today I just checked on satstat if location services work, and they did not. self-check reports unifiednlp as unregistered. Rebooted -- still same. Installed over the apk (gmscore) all works again then. Cannot really tell what happened between last time it work and stopped working. But there were a few reboots and a cache cleaning in twrp. But not even dirty flash (my rom hasn't been updated for two weeks already, being very agitated :crazy: )

---------- Post added at 07:22 PM ---------- Previous post was at 07:06 PM ----------

I'm a very experienced in gapps-free setup :) Having multiple devices is highly beneficial for that, first I implemented that on a tablet, then proceeded eventually with two phones.

With CM roms it is as easy as 123, no trouble whatsoever. CM has plenty of apps like email to use instead of gapps. Any apps can be downloaded as is from apk-dl or any other such website without introducing a heavy overbloated power and data hungry gapps framework.

However if one decides to go entirely FOSS (i.e. no apps on the phone unless they are FOSS) it is more complicated. For instance, I do need occasionally to open, just to view, not to edit .docx and .pdf files. To my knowledge there is not a single working FOSS app that can do it.
[Android Apps and Games] justmix4:
I had EXACTLY the same situation on my Nexus 4. Following the OP instructions I did everything, but location was not working. That's why I went back to Open Gapps and now everything works. I used microG a really long time and I don't see difference in battery life between this and Google Services. Maybe that's why the Nexus 4 battery capacity is only 2100 mAh. This is another reason to return. I wish you all best microG developers, but I'm staying with OGapps.

Sent from Tapatalk N4
[Android Apps and Games] moriel5:
There is, and it's on F-droid, it's just still in development.

LibreOffice Viewer.

And in the experimental settings, you'll find a switch to allow editing.
[Android Apps and Games] tofu:
I've been 99% FOSS since I got my OPO. That 1% remains for Spotify.

Use Libreoffice for .docx and Document Viewer from F-Droid for PDF files.

You can download LibreOffice latest daily from here (it's much more up to date than the stable version): http://dev-builds.libreoffice.org/daily/master/Android-ARM@24-Bytemark-Hosting/current/

And in generally Fdroid is the best place for open source apps.
[Android Apps and Games] moriel5:
I personally have no qualms with closed source software (although my support leans towards OSS (whether it's free or not, it matters not to me)), but I have been running my devices 99% GAPPS free (I manually insert a few libraries, and use certain Google apps, but never the framework apks, or anything that requires it, either, and I always disable the parts that send data back to Google) for a few years already, since Google is evil (no Google account either, trying to move over to ProtonMail from Yahoo).

However, how did you get document viewer to work?

It doesn't seem to be able to open any PDFs for me, however I use MiXplorer's built-in document viewer, so it doesn't matter very much to me.
[Android Apps and Games] Deedend:
I want to remove all the gapps stuff from my Redmi Note 3 Kate, can you help me?

Sent from my Redmi Note 3 Special Edition "kate"