yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] raptorddd:
yes when i did the KDZ i had FC.. i think i might know what it is... when you first KDZ it ask you to loging into your account on the start up wizard.. i used a tool to bypass all that and instead of entering all that info it would allow mw to move onto the main window of phone.. so i think that program or script makes playstore FC.. cause this time i didnt use it and i could update or download apps... before eve KDZ, then used bypass script tool then opening playstore gave me FC.. not using the bypass script tool.. no issues .am talking stock gapps,so i blame the script making the PS. foce close.. i have not tried yours.. as i have not have phone ready yet... i just flash it now.. so i need it.. ill play with it for a few days... then i will deleted all stock gapps... and try your method... thanks

yes i know the names change and what each means... thanks for all oyur help.. but i think not having bootloader makes it harder.. so for now ill use the stock gapps.. ill report back.
[Android Apps and Games] AnonVendetta:
Has anyone gotten Google Contacts Sync to work with MicroG? I have alot of contacts stored in my Google account that I need to keep synced. I recently used the gapps-remove.txt from an OpenGapps zip as a refence for files to delete, clearing my system partition of as much Google files as I could. Afterwards I installed MicroG, the GSF proxy, FakeGapps, and Play Store. Everything is mostly working, except now I have no way to sync contacts. I was able to get the Maps API working by extracting com.google.android.maps.xml and com.google.android.maps.jar from the zip and putting them in the correct locations, rendering apps like Lux and CF.Lumen working. I also tried copying GoogleContactsSyncAdapter.apk into a created folder by the same name in /system/app/, and setting proper permissions. I then removed my Google account and cleared Play Store's cache/data. After reboot I signed back into Google, and a contacts sync option was present in the account settings. But tapping it gives a force-close. I checked everything, the APK has no additional files that it depends on, like libraries.

Is there a way to get this working? Suggestions?
[Android Apps and Games] n76:
I am at a loss to understand why you would attempt to avoid Google but then leaver your address book there. . . But the older I get, the less I find I understand about things. :)

DavDroid is a free (at least free on F-Droid) "sync adaptor" that can sync your contacts and calendar events to an industry standard CalDav/CardDav server. There are a number of CalDav service providers, but setting up OwnCloud on a networked PC or cheap VPS will allow you to sync your contacts between your phone(s), tablet(s) and PC(s) with all of your data under your own control. I managed to get a VPS for US$12/yr which I find to be very reasonable to be able to control my own data. Other server software besides OwnCloud is available (I use a different one but it looks like OwnCloud would be a simpler setup than what I have).

Huh? GmsCore has maps APIv2 built in. Not perfect but pretty good. And if you have apps that use maps APIv1, use the older microG code for that (basically just a wrapper and installer for the open source osmdroid maps library).

Between the two, all the apps I have that use maps work pretty well. The older ones that use Maps APIv1 seem to work perfectly. The ones that use then newer Maps APIv2 sometimes have some oddnesses but seem to work well enough for me.

p.s. For migrating your calendar and contacts from Google to OwnCloud there are a number of resources that are pretty easy to find.
[Android Apps and Games] :
Why does Uber app zoom from the top-left corner? Which API does it use?
[Android Apps and Games] oF2pks:
+1 with [MENTION=6204913]n76[/MENTION]

Maybe you like or "need" this:

https://play.google.com/store/apps/details?id=org.dmfs.carddav.sync&hl=en +disable 2-steps Google' verification

But the recently Microsoft' Sunrise dissolution calendar sync gives better understanding to n76' post.

Nota: i believed that FLOSS really means <NO COMPROMISE> so people here are more looking for foundation-like spirit? With your knowledge you could open a thread: [Mixing microG and Google Inc. accounts], i will definitively subscribe to it.

Also xda's moderators could create a whole section [ADH/

Living without GApps

] where all threads will be grouped: mar-v-in's and [MOD][FLASHABLE ZIP] Remove GApps+more...

Stay cool...
[Android Apps and Games] n76:
[MENTION=3999488]MaR-V-iN[/MENTION] I've been using the Maps APIv1 from the old nogapps thread (with a labeled version of 0.5) but there is also a version with a slightly different name on the current microG github account (with a labeled version of 1.0) Am I correct in assuming the on microG GitHub is the successor and should be used?

If so, then maybe the old nogapps thread's first post should be updated to reflect that.
[Android Apps and Games] MaR-V-iN:
The "new" version from the microG GitHub is labeled 0.1.0. It is a complete rewrite and has some advantages over the old implementation (better performance), but is also known to cause severe problems with some apps (actually stopping them from running) and does not implement the same set of features as the "older" version. Until these problems are sorted out, the old version is preferable if you care about stability, but if you want to test the new version, please feel free to do so and report issues.
[Android Apps and Games] jessesam:
I installed microgms apk and flashed fake gapps via xposed. Then I installed blank store and entered the credentials but it crashes afterwards. How do I fix this issue?... How can I keep all my paid Google play apps updated ??... Is there any other way around it rather than installing the regular goggle play service app??
[Android Apps and Games] :
Actually, Hangouts 8 doesn't work properly. It sends one message per chat, waits forever for confirmation (even across OS/app reboots), and won't send another.
[Android Apps and Games] AnonVendetta:
[MENTION=6204913]n76[/MENTION]: I suppose I could probably set up an OwnCloud server on my ASUS ultrabook. But I'm primarily running Fedora Linux as my everyday OS (and Windows in a virtual machine for a few other things like flashing firmware to my devices). I'll have to look into whether the server software has a Linux version. On the other hand, the VPS option sounds very attractive, and I have a need for this because I can offload some tasks to it. $12/yr is a good deal, mind mentioning what provider you have?

I noticed that the NoGapps XDA thread says that only v1 of the Maps API is included. But MicroG is the successor to NoGapps, I assumed that it is still using v1. I've noticed that UnifiedNlp is already installed (apparently bundled with MicroG) if I try to install a NetworkLocation.apk that I found in a thread related to MicroG and NoGapps. But if v2 really is included, then why do the apps I mentioned either crash immediately or fail to lock onto my location, but work when I place the com.google.android.maps.xml and com.google.android.maps.jar in the appropriate places in /system? I think it is either because MicroG either really doesnt include the version of Maps API that these apps expect, or maybe I havent configured location settings in MicroG correctly (I dont have any backends installed because I dont think I really need them). I dont use GPS often but some of my apps do need my location to enable full functionality. I think it is better to just pull these files from a recent GApps zip, ensuring that I have the official API, that it is always relatively up to date, and that apps depending on it work correctly. Would this possibly conflict with what is bundled with this project?

What is the current/latest version of this API that Google has released? Is there a way to detect (programmatically, via a script or an app,etc) the installed version?

[MENTION=325130]jessesam[/MENTION]: Have you configured the options in MicroG settings app? Did you follow the instructions at http://xdaforums.com/showpost.php?p=29115263&postcount=84 and http://xdaforums.com/showpost.php?p=42983611&postcount=306?
[Android Apps and Games] n76:
OwnCloud can be installed on Ubuntu (I tried it as that is my preferred server OS). From their download page it looks like you can either grab a .tar file or use a package configured for a number of Linux distributions including Fedora.

The VPS I am using was a special offer, I have PM'd you about it. FWIW, I have the VPS setup to run a Ubuntu Linux LTS (Long Term Support) version.

Some apps appear to be coded to use the Maps APIv1 and some are coded to use Maps APIv2. Seems like you need both installed if you want all your map aware apps to run.

Not sure about "fail to lock onto my location" as that seems like it should only depend on either GPS or your network based location. For either UnifiedNLP or GmsCore to provide network location you will need to install (and possibly configure) at least one backend. It has been a while since I've used just UnifiedNLP so I am not sure of the current user interface, but GmsCore has a "Self-Check" page that verifies everything is setup properly and shows you what is wrong if it isn't.
[Android Apps and Games] Shadow53:
I found an interesting issue that seems related to this. I don't use apps that use the maps api much at all, but it did make Tasker FC.... Long story short, libraries included in the GmsCore apk are correctly accessible when installed as a user app but need to be extracted to /system/lib when installed as a system app (such as a zip install).

Since apk files are really just zip files AFAIK, you can pretty easily extract the lib files and copy them with a file explorer that has root privileges. Then reboot. No need to extract tons of stuff from Google's package.

Edit: Found where that came from. Here's the GitHub issue where it is mentioned.

https://github.com/microg/android_packages_apps_GmsCore/issues/19
[Android Apps and Games] redj12:
Hi. I was on Pure Nexus ROM some days ago and all was ok. I decided to give a try to Omni and installed microG packages. All seems ok in the settings but I can't use Strava (cycling/running app). It tell me that the app depend of Google services and they are not installed.

Thank you. I attached the screenshots of the app.
[Android Apps and Games] n76:
Another reason, in my opinion, to install GmsCore as a user app. Reasons include but not limited to:

Easier install: Simply add the microG repository to F-Droid and then install like you would any other app.

If installed through F-Droid, you will be notified of updates. I think F-Droid might have an automatic update mechanism but I prefer just notification.

When you update your ROM you don't have to re-install microG if installed as a user app. (I usually do a "dirty upgrade" where I don't clear /data.)

It "just works" "out of the box" without needing to extract libraries and put them elsewhere.

---------- Post added at 07:07 AM ---------- Previous post was at 07:00 AM ----------

Your screen shots show that some Play Store replacement has not been installed. That is what many apps key off of. Install FakeStore or BlankStore and see if that helps. (Or, apparently from what I've read elsewhere on this thread, you can get a copy of the official Play Store and install that.)

Your screen shots also indicate that the network location backend(s) you have installed have not generated a location. Depending on the backend(s) you have installed you may have to go into their individual settings and configure things.

Edit: Just installed Strava and it is giving me the same "won't run without Google Maps" message you describe even though I have microG all setup properly. I guess this will need a change in microG or get the people at Strava to modify their app. There have been other apps whose developers were willing to make minor changes to be able to run microG so that is not out of the question.
[Android Apps and Games] redj12:
Stava need Maps but they will switch to OSM soon. I checked what you said, installed the fake market but the problem was the same. So I installed Xposed and Fakegapps module (http://repo.xposed.info/module/com.thermatk.android.xf.fakegapps) and Strava is working.

I don't like xposed because of alpha stage but there was no others solutions.
[Android Apps and Games] Imperious Rooster:
There was a modded hangouts 2.1 apk posted here a long time ago. I use it daily and I have no issues with it

Currently I'm uploading it on Google Drive and I soon I will edit the post with the link .

Edit: https://docs.google.com/uc?id=0BzbGYEFXEW_0VElqQzF5YmVUSmc&export=download
[Android Apps and Games] Антонио:
If you still want to use GoogleContactsSyncAdapter.apk, you need to add to it manifest android.permission.GET_ACCOUNTS.
[Android Apps and Games] :
Nexus 5X, PureNexus 6.0.1. I can't install this APK.

Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION]

I reported a similar GET_ACCOUNTS bug already. https://github.com/microg/android_packages_apps_GmsCore/issues/144

But this bug only includes the 6.0 case. What version of Android are you running?

Do the Google apps normally get GET_ACCOUNTS privilege by installing in `/sys/priv-app`, in pre-6.0 Android?
[Android Apps and Games] Imperious Rooster:
I think that's because it's not signed properly or something. Drop it in system/app and give it the right permissions.

If you put it in data/app, android will refuse to show it as an app.
[Android Apps and Games] :
I signed the APK (https://github.com/appium/sign#user-content-download ) and it installs now.

https://dl.dropboxusercontent.com/u/34131225/com.google.android.talk-2.1.318.s.apk

Unfortunately I get "No connection" errors every time I launch it. I'll inspect network traffic and/or diff the APK tomorrow.
[Android Apps and Games] Антонио:
This bug appears on Android 4.4 for me, and does not matter where installed GoogleContactsSyncAdapter.apk, /sys/priv-app or /sys/app.

On Android 4.2, however, this bug does not appear, although Android 4.2 is not officially supported.
[Android Apps and Games] sonickles9:
Is it possible that [MENTION=4931549]MA-R-VIN[/MENTION] (or anyone else) makes on a not-so-far future a build of GmsCore compatible with JB and older? I eanted to stick with a stock rom, but it is 4.1 and microg partly works on it. While I wait I may switch to CM11 or CM12.

Enviado do meu GT-S5310B
[Android Apps and Games] GasLoop:
Do it.
[Android Apps and Games] d3ighty:
I cant sync TugaBrowser with my Google Account, it says :"Sorry, syncing can take several minutes". But after 10 minutes its stillnot workin, i just cant login into TugaBrowser with my Google Account. Playstore is working..
[Android Apps and Games] :
I'm still trying to get Hangouts to work. This time, I'm trying to edit Hangouts 2, bump the APK version number to 10.x, and hope the APK version number is sent to Google, preventing the "force-update".

(I'm not sure if hacking on old APKs is the proper solution. We should instead be getting the latest version to function.)

To my surprise, the APK was dismissed as soon as it tried connecting to Google. I discovered through mitmproxy that Hangouts sends its own signature to Google for verification, and Google rejects all edited Hangouts APKs with an "improper" signature.

POST https://android.clients.google.com/auth

accountType: HOSTED_OR_GOOGLE
androidId: (redacted)
app: com.google.android.talk
client_sig: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
callerPkg: com.google.android.talk
callerSig: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
device_country: (redacted)
Email: (redacted)
google_play_services_version: 9083000
lang: (redacted)
operatorCountry: (redacted)
sdk_version: 23
service: oauth2:https://www.googleapis.com/auth/chat https://www.googleapis.com/auth/plus.me
https://www.googleapis.com/auth/hangouts https://www.googleapis.com/auth/chat.native
source: android
Token: (redacted)

Response:
Error=INVALID_SCOPE

I'm not sure how to edit the APK to send a different signature. Is it practical to spoof the signature seen by the app itself? Is this already present in Needle? (It doesn't work on odexed roms :( )

I'll look into newer Hangouts versions soon.
[Android Apps and Games] MaR-V-iN:
Signature spoofing is available in OmniROM. Needle can patch deodexed ROMs to support signature spoofing as well. With both, you can spoof the signature by modifying the AndroidManifest.xml. In <application>, add a new tag:

<meta-data android:name="fake-signature" android:value="your signature here" />

I don't know what signature is required for Hangouts, but I guess it is the same as this one.

It is also possible to spoof signatures via Xposed, see this code as an example.
[Android Apps and Games] @pulkit:
[MENTION=3999488]MaR-V-iN[/MENTION] - First of all, Thanks for providing an alternative to the Memory Hogging, Battery Consuming, RAM consuming Google Play Services.

But, Since the time I have installed in on a Fresh ROM, I have found that It is consuming a very large amount of Battery, even more than consumed by the Google Play Services.

I have given it all the permissions required and I am not using any location services and have set it at the default sync time of 60 seconds which was initially set as default when I installed the Micro GMS.

Can you or anyone help me out.

I do want to stick to it as the original Play services consumes a large amount of memory on my Moto E (1st Gen).

Thanks. :D

---------- Post added at 05:03 PM ---------- Previous post was at 05:01 PM ----------

Using Fake Gapps for signature spoofing.
[Android Apps and Games] adikri:
Can anyone provide a flashable zip...?
[Android Apps and Games] Primokorn:
Try increasing your Cloud Messaging heartbeat interval to 600 (microG settings).
[Android Apps and Games] Shadow53:
If you search through the thread you'll be able to find a few flashable zips to choose from. We've discovered some issues with flashable zips though, specifically ones that install the apps to /system - microG comes with a couple libraries for map interfaces that can be accessed as a user app but must be manually extracted to /system/lib if installed to /system.

I haven't bothered doing anything about it so far, but if you (or anyone else) would like, I think I'll try a zip that installs Play Store to priv-app and the two microG portions into /data. Past that, it'll just be a zip with Play Store and microG can be installed from FDroid.
[Android Apps and Games] Dr_DjEnder:
Two quick questions

One has anyone got this running in exodus? I got random reboots which removed the gcore idk if they were cause by the gcore though? I'm running exodus 7/6 nightly for oneplus 2

Two Does anyone know if this causes Hearthstone to crash it starts up and loads a bit but before the means shows up it closes...
[Android Apps and Games] Shadow53:
Don't use Exodus, but how did you install it in the first place? Someone's flashable zip? FDroid? The Hearthstone issue could be related to how you installed it.

Also: anything that uses services from microG need to be installed *after* microG is installed. Was this the case with Hearthstone or was it installed before microG?
[Android Apps and Games] Dr_DjEnder:
Alright I'm on cyanogen again I think it's f Droid as I used apk no flashing ah well I think I restored apps first then installed them but others seemed to be fine after a reboot will check

Now I can't even run Hearthstone as it wants to download the data from Google play but I do have the apk

Got that last part quick Google search :P

Well got it working and fixed mate ty for the info
[Android Apps and Games] adikri:
Ok... thanks:)
[Android Apps and Games] Shadow53:
Attached is a zip that ONLY installs the Play Store to priv-app. microG and the Gsf are left for you to install on your own, preferably using the FDroid repo. That's https://microg.org/fdroid/repo if you don't have it yet. The apps show up under the category "None".

Disclaimer: Marvin does not support setups using the official Play Store client. Still, it works probably the best compared to BlankStore. Just felt I had to throw that out there.
[Android Apps and Games] adikri:
Ok.. after install microG.. and flash play store.. i have to done anything else..?
[Android Apps and Games] n76:
If you want network location to work, install one or more UnifiedNLP backends (available through F-Droid). UnifiedNLP and microG share the same network location code and use the same backends.
[Android Apps and Games] Shadow53:
Go into the microG settings and run the self-check. You need signature spoofing support in your ROM - OmniROM has it, but Cyanogenmod and most others don't. For those, a python script called Needle can patch the system for you. You can find links about that on the wiki on the microG GitHub page.

If you are using it as a location provider, you will need a location back end as well - those come from FDroid as well. I use the Mozilla one, personally. There is also the address lookup back end. The one in FDroid doesn't work, but I've attached a version that does. You will need to sign up for a free MapQuest developer account and paste your API key into the app for it to work. You can configure and enable both backends under the UnifiedNLP Settings section of the microG settings.

You might also enable device checkin and Google Cloud Messenging, as many apps make use of GCM.

That's all I can think of for now. Past that, keep in mind that the software is in development and not all things work - for instance Casting and Android Wear.
[Android Apps and Games] n76:
I wonder why [MENTION=3999488]MaR-V-iN[/MENTION] hasn't either accepted the pull request to fix that issue or commented on why he thinks the change is a bad idea.
[Android Apps and Games] dic1911:
Hello, I was about to upgrade my microG core, but I'm not sure about how to do it, just direct install the updated apk or is there other step?
[Android Apps and Games] n76:
Easiest way is to setup the microG repository in F-Droid and then simply let it update you.
[Android Apps and Games] AnonVendetta:
I've found that the versions in the F-Droid repos aren't always up to date. I recommend using this page:

https://github.com/microg/android_packages_apps_GmsCore/wiki/Downloads

Use either the latest stable downloads or the unofficials/nightlies. I'm using the latter and have no issues. But if you need stability, go for the stable versions. Just remember that sometimes a newer, unstable versions may fix bugs/issues. The downside of not using F-Droid is that you won't know if an update is pushed out unless you check manually. But it's not like you need to update every day, once every 1 to 4 months should be sufficient. I'm adamant about using the latest app versions, but that's just me.

As for FakeGapps, use the attachment APK I posted in post #1292 (http://xdaforums.com/showpost.php?p=67457191&postcount=1292). The newest FakeGapps v1.1 has an issue that sometimes MicroG will say that signature spoofing isn't enabled.

Edit: http://own.darkcloud.ca:90/Android-Builds/ also has some of the files.

If you're proficient with Linux commands, you can use either Wget (https://en.wikipedia.org/wiki/Wget) or cURL (https://en.wikipedia.org/wiki/CURL) to automatically parse the download pages and fetch the latest APKs (perhaps sort by timestamp to determine if a newer version is available, otherwise skip). You can set it up to run on a schedule as well, with something like Script Manager (https://play.google.com/store/apps/details?id=os.tools.scriptmanager&hl=en). And with busybox and a terminal emulator, you can do this from Android without a PC.

With something like Xinstaller (http://repo.xposed.info/module/com.pyler.xinstaller) you can disable signature checking, enabling the package manager to show version info when installing, backing up APKs automatically to a folder when they're installed (doesn't work with Play Store unless you're using KitKat or below, something changes in Lollipop that made this not work, but it works with nearly everything else I've tried it with), and even auto-installing the APKs in the background without a notification/prompt.