yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Deltadroid:
Exchange

Google Exchange has been updated to version 6.5-1791555-500065

Google Exchange addon for 4.4.4: gapps-kk-google-exchange-20150525-1-signed.zip (replaces stock exchange service and enables push for pop3 gmail accounts)

Google Exchange addon for 5.0.2+: gapps-lp-google-exchange-20150525-1-signed.zip (replaces stock exchange service and enables push for pop3 gmail accounts)

diff -ru '--exclude=CERT.RSA' '--exclude=CERT.SF' '--exclude=MANIFEST.MF' gapps-kk-google-exchange-20150317-1-signed/META-INF/com/google/android/updater-script gapps-kk-google-exchange-20150525-1-signed/META-INF/com/google/android/updater-script
--- gapps-kk-google-exchange-20150317-1-signed/META-INF/com/google/android/updater-script	2008-02-29 02:33:46.000000000 +0100
+++ gapps-kk-google-exchange-20150525-1-signed/META-INF/com/google/android/updater-script	2008-02-29 02:33:46.000000000 +0100
@@ -4,8 +4,9 @@

ui_print("Installing files.");
run_program("/sbin/busybox", "mount", "/system");
+run_program("/sbin/mount", "-o", "remount,rw", "/system", "/system");
show_progress(1, 15);
-delete("/system/app/Exchange2.apk");
+delete("/system/app/Exchange2.apk","/system/app/PrebuiltExchange3Google.apk");
package_extract_dir("system", "/system");
show_progress(1, 15);
ui_print("Setting metadata.");
Binary files gapps-kk-google-exchange-20150317-1-signed/system/app/PrebuiltExchange3Google.apk and gapps-kk-google-exchange-20150525-1-signed/system/app/PrebuiltExchange3Google.apk differ

diff -ru '--exclude=CERT.RSA' '--exclude=CERT.SF' '--exclude=MANIFEST.MF' gapps-lp-google-exchange-20150317-1-signed/META-INF/com/google/android/updater-script gapps-lp-google-exchange-20150525-1-signed/META-INF/com/google/android/updater-script
--- gapps-lp-google-exchange-20150317-1-signed/META-INF/com/google/android/updater-script	2008-02-29 02:33:46.000000000 +0100
+++ gapps-lp-google-exchange-20150525-1-signed/META-INF/com/google/android/updater-script	2008-02-29 02:33:46.000000000 +0100
@@ -4,11 +4,12 @@

ui_print("Installing files.");
run_program("/sbin/busybox", "mount", "/system");
+run_program("/sbin/mount", "-o", "remount,rw", "/system", "/system");
show_progress(1, 15);
-delete_recursive("/system/app/Exchange2");
+delete_recursive("/system/app/Exchange2","/system/app/PrebuiltExchange3Google");
package_extract_dir("system", "/system");
show_progress(1, 15);
-ui_print("Cleaning up and setting metadata...");
+ui_print("Setting metadata.");
set_metadata_recursive("/system/addon.d", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/app", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
run_program("/sbin/busybox", "umount", "/system");
Binary files gapps-lp-google-exchange-20150317-1-signed/system/app/PrebuiltExchange3Google/PrebuiltExchange3Google.apk and gapps-lp-google-exchange-20150525-1-signed/system/app/PrebuiltExchange3Google/PrebuiltExchange3Google.apk differ
[Android Software Development] Deltadroid:
Thanks! Now, if we could just find the universal dpi version (909010120) , I can do it. :)

Edit:

Im also looking for univeral dpi versions of Google Docs (1.4.192.11.30-51921130) and Google Slides (1.2.192.12.30-51921230)
[Android Software Development] galen2:
Fixed on post, i renamed the file, my bad.
[Android Software Development] DFault:
No succes

I've tried alot of things, pretty much all the options you gave or I could think of trying. And to no succes so far.

First tried flashing as usual (ROM, newest gapps base, addons) This got me alot of the FCs. Tried cleaning cache and tried this:

This was unsuccesful. I did notice however that after flashing the 20150515 the version stayed at 7.5.71 (I think, 7.5.x anyway). Figured that wouldn't matter. Seems to have worked for a while but using GPS seems to break it. I noticed problems with Maps, setting locations in Smart Lock (using maps) but also in the Play store or Google App.

To be as clean as possible I tried this:

1) Flash ROM (Fusion ROM v6.0 nightlies, which is based on AOSP 5.1.1 r3)

2) Flash Gapps base 20150515

3) Flash addons (see the list below)

4) Boot to systems

5) Let the playstore download apps from previous install. (Here I noticed that both Inbox and Playstore first didn't want to work, the Play Services app had version 7.3.x, then updated itself to 7.5.x and the Inbox and Playstore worked)

6) Reboot to recovery

7) Flash 20150524 base

8) Reboot to system.

9) Get FC. Tried cleaning cache, rebooting, no succes.

Then tried:

1) Reboot to recovery

2) Wipe /system

3) Dirty flash ROM

4) Flash 20150515 Gapps

5) Reboot to sytem. Got FC, Play Service version at 7.5.x...

Lastely I have tried:

1) Full wipe

2) Flash ROM

3) Flash Gapps base 20150515

4) Flash kernel

5) Boot to system

6) Go through first setup (adding account and such)

7) As soon as boot completes, reboot to recovery

8) Flash Gapps base 20150524

9) Flash addons

10) Reboot to system.

11) Restore apps and data

12) Try Smart Lock

13) Unfortunatly, get FC...

I did notice that the Google Play Services had a different size with the two ways above, being over 100 MB on the first and just under 80 on the second go. (also see screenshots) while being the same version. No idea if it is significant but thought I'd mention it.

Here are a few logs taken along the way after getting the FCs, the screenshots are also in there. http://ge.tt/2LNsH7H2?c

I will be trying a different ROM with the same Gapps, hope that works. If not, I will need to try different Gapps... Would hate to do that, but if it doesn't work..?Going on that option, would your addons be compatible with another minimal base package? Or is that not how it works?

The list of addons I install, all the latest version:

Calendar

Chrome

Cloudprint

Exchange

Inbox

Maps

Search

Street

Translate

TTS
[Android Software Development] Phazmos:
Since you're a noob, here ya go.

You actually had it at one point, then blew it!

You need play services 7.3 - which is official from Google.

Now you get the pleasure of going through everything again, but this time, stick with the older gapps.

Truthfully, I'm not sure what version of gps is in that 5-15 package, but go through the process, then check gps version.

If it's not 7.3.x, find an older package, and go through the process again.

So close - so very close!
[Android Software Development] Deltadroid:
Just stick with 20150515 gapps base that contains Google Play Services 7.3.29 (which is latest stable) and let it update itself to 7.5 if it wants to.
[Android Software Development] DFault:
Thanks for trying, but no. You are to quick at calling me a noob. See point 5 of my first go. After boot it was at 7.3.x, Play store didn't work. I did not do a thing but wait, then it updated itself to 7.5.x (call me crazy if that seems weird, thats what happened) and stuff worked again. I did however get FCs all the time during the above steps, sometimes more then others, if at any point I would have stopped getting FCs I would have stopped trying to "fix" things.

Now I installed a different ROM (based on 5.1.1 r2) and flashed the Gapps base 20150515 from recovery. However, in screenshots here: http://ge.tt/1HZRo7H2?c you can see that the Play Services is at 7.5.x and also under the 'downloaded' apps. Also, I am using 0515 since the OP [MENTION=5227588]Deltadroid[/MENTION] mentioned this as the newest package having the 7.3.x. Could it be that is not completely true and that is what is going wrong?

Edit in response to Deltadroid: I think I got FCs when I was there in between steps, thats why I kept going. But I will try, lets see if it'll work. Also, is the size difference and the fact that it is under downloaded apps (which I thought was impossible for system apps) no problem?
[Android Software Development] Phazmos:
Join date and #of posts = noob. But nothing wrong with that, we were all noobs at one point!

I missed the gps updating part. And I was going to point out that Google may be using different versions for different countries/regions.

In usa, 7.3 doesn't update, but apparently does elsewhere, for some - or you wouldn't get the update.

Google may be screwing/fixing/updating with their services in your country or region - good old Google!

In that case, Google screwing around is screwing a lot of users! And in that case, only thing to do is wait on Google.

That is a bummer.

PS - I hear some have luck using device only location setting. May be worth a shot.
[Android Software Development] DFault:
Ah, the noob in the good old "newbie" meaning of the word. In that case, you are correct, sir! ;)

Hm, that doesn't sound to great. But ok, nothing else to do I guess, because then other Gapps would update as well. I will try going with the 20150515 base and not touch it, let it update if it wants and pray that it keeps working...

Thanks for the help and hope the logs I prodived will help somewhere along the way.
[Android Software Development] Xemidra:
It will still update itself to newer version which is faulty.

I think that all we can do is wait for Google to fix this.
[Android Software Development] Phazmos:
I may have more for ya - there's so much of this going around - and I do love a good problem - so try this too.

Disable location in privacy guard or app ops or whatever the rom you're using has (I think cm has privacy guard).

Since some report luck with device only, I'm thinking there's a point of failure when trying to connect to Google database that holds access point locations.

High accuracy, that's actually a laugh - sounds cool - but really only gives Google a huge database of wifi locations - shame on Google - needs to connect to those databases to get the access point location. If it can't, it fails, and I can see a fc popping up.

Since 7.3 doesn't work for ya, you kinda have to go with 7.5, so try the above, and please do report back - pm me would probably be best.

Results would be MOST interesting, to me anyway.

Thanx a bunch!

Oh, I like to say the devil is in the details. If more actually gave some details, as you did (namely 7.3 won't connect and auto update to 7.5) things would be a lot easier. Those 2 bits of info I think may be critical. Good job man!!!!
[Android Software Development] Deltadroid:
Google Play Services has a built in automatic update system that will install the latest Google Play Services to the data partition (the same location as the Play Store installs things). The 20150515 gapps package installed Google Play Services 7.3.29 to your system partition, but Google has pushed the update officially in your region. So, that's why you see it in the download section. That is how it is supposed to be.
[Android Software Development] Phazmos:
What say about above post?
[Android Software Development] DFault:
Makes sense, thanks for clearing that up!

I will give it a try. For now, I am seeing what it does after it auto updates from the 7.3.x to the 7.5.x. Must say that with this ROM I have now it seems good so far, was able to set Smart Lock and everything. I do prefer the other ROM though, so I will reinstall that fresh later and if needed give your idea a try and let you know what happens.

Well, thanks! I am happy to help, improves it for me too. And I figure helping out is the least I can do for all the great free stuff people on XDA offer me (and everyone else for that matter)!
[Android Software Development] Deltadroid:
Yes, privacy guard could cause database update problems. I would try resetting all privacy guard settings in addition to clearing data/cache of Google Play Services to try a fix the fc's.

Although...

Another potential problem could be when Google Play Services updates itself to the data partition then gapps updates Google Play Services on the system partition with the same version. Lollipop has a new upgrade feature that checks if the version of a system application is newer than the version of the same application on the data partition. If the system is newer, then lollipop automatically removes the version on the data partition. This upgrade feature seems to get stuck sometimes when system applications change versions. Installing and uninstalling updates seems to fix the update glitch. I'm curious if this is related to the problem.
[Android Software Development] DFault:
If I can help by trying stuff and/or making logs, let me know!

For now maybe this adds to your thought process:

I flashed the 20150515 base, so 7.3.x, which has updated itself to the 7.5.71 version. The button "uninstall updates" is however non-functional (can not click it at all) as if there has never been an update. The "force stop" also isnt clickable, but the "disable" and "manage space" are working.
[Android Software Development] Phazmos:
Theory - gps trying to access wifi locations, and failing, is the issue. Disabling location access, or device only, keeps gps from trying to access hotspot location.

Maybe [MENTION=6529701]DFault[/MENTION] can check apk location after update. See if it's in 1, or maybe both.
[Android Software Development] Deltadroid:
Yes, I've seen that. It's in that state I just described in the previous post. I remember that happened to me once and I seemed to have fixed it by rebooting and using ti backup to uninstall the update.

It got glitched because Google Play Services was updated on the system partition while the same version was already automatically installed on the data partition. The system is confused where it is installed now.
[Android Software Development] Acid0057:
Does this GPS bug only affect lollipop builds? I'm on KitKat, cm11 nightlies and am going to wipe my phone soon. Would be interested to hear if people using deltas gapps and kitkat are seeing fcs

Sent from my GT-I9100 flowing on SwiftKey in Tapatalk
[Android Software Development] Deltadroid:
I haven't had any problems...
[Android Software Development] Acid0057:
Thanks for the quick reply delta. I'll let you know when I redo my Rom if I come across any.

Sent from my GT-I9100 flowing on SwiftKey in Tapatalk
[Android Software Development] Deltadroid:
I think that everyone that has a device with Google Play Services that automatically updated itself are having the fc's when they go to update Google Play Services on the system partition.
[Android Software Development] soralz:
Thanks for keeping KitKat Gapps alive, now I saw many threads already abandoned KK Gapps, I tried Lollipop for a week, not my flavor and now went back to KK, maybe it's just me, I feel like Lollipop still haven't mature yet or just I couldn't accept the changes...
[Android Software Development] Phazmos:
That should make sense for those that do auto update.

But, many are flashing 7.5 straight away after a clean install, or a supposedly clean install (I find lots of confusion on this point) and get fcs right off the bat.

Flashing a gapps package with 7.5 should dump to system, and should be no need for an update.

The more I look, and I do follow many threads, sure seems like it goes like this

USA users

Flash 7.3 - no fcs - no update

Flash 7.5 - fcs right off

Non USA users - seems a majority of non US users anyway

Flash 7.3 - doesn't function properly - updates itself soon after install, then fcs

Flash 7.5 - fcs right off

I certainly don't mean to take over a thread, but I really do love an interesting problem. That's why I spent close to 15 yrs troubleshooting computers, networks, software, users - my favorite - and most anything in between.

The other thing is - it would be nice to get back to normal here on xda, instead of 9 out of 10 posts being about some dam fc!

That would be really nice!
[Android Software Development] Deltadroid:
I appreciate everyone's input on this. :)
[Android Software Development] Deltadroid:
Just thinking out loud...

Some of Google Play Services' settings are stored on Google's servers. Maybe that is why a factory reset doesn't fix the FC's.

If the FC's are related to location, maybe Google Settings --> Account History --> Location History needs to be enabled.

A factory reset would not change this option, I think.

I'm starting to think the issue is related to the user account.
[Android Software Development] Phazmos:
Fwiw - location history, along with any other history Google wants to keep, has been turned off since I started using Android. Never had a fc.

Imho - Google, Microsoft, yahoo, whatever, knows plenty enough about us already. I never intend to make it easy for them to get even more intimate.

Some report device only is a fix. That should not contact Google servers for wifi and cell tower location info.

Aww heck, I guess it's time to do some flashing and pay around.

Too hot to play golf anyway!
[Android Software Development] deepongi:
pa_gapps nano package from april comes with GPS 7.0.99, and stays that version until you install Google Maps from Play Store. After you install latest Maps, GPS will be updated to the problematic version 7.5.71 ... So i removed Maps, and downgraded GPS to version 7.0.99. Installed manually GPS 7.3.29, and after the lastest Google Maps from Play store, and didnt asked to update to GPS 7.5.71 .. No FC's or errors so far..

hope this helps debug, and Ill update this post if further development emerges.

regards.
[Android Software Development] Deltadroid:
One of the big differences between Google Play Services 7.3.x and 7.5.x is that libgames_rtmp_jni.so has been moved to the Play Games packages. Maybe installing the Play Games package solves some kind of missing dependency. Google Play Services 7.5.x might also be having problems if Google Maps is not installed to the system partition.

Edit:

I should also note that I have almost all of the addons installed on my devices, so maybe that is why I have not had any issues.
[Android Software Development] Phazmos:
I'm a minimalist - no add ons!

But see additions above.
[Android Software Development] coalee:
Thanks for the suggestion, but install Play Game didn't help the FC. I have installed old 7.3.x Play Service then let it automatic update to 7.5 by itself when I sign-in to Google account. It was running well without FC for a few reboot then after 15mins FC is come back. Some people said install 7.3.x Play Service fixed the problem. Can you tell me the step you did?
[Android Software Development] Phazmos:
C my looooooong post for info. I do wish all the best of luck with this one!

I'll try and spread the word on threads I subscribe to. Maybe xda can get back to abnormal again!
[Android Software Development] Acid0057:
Just fresh installed cm11 nightly with all the latest kk gapps. Been running for 6 hours and no fc from gps

Sent from my GT-I9100 flowing on SwiftKey in Tapatalk
[Android Software Development] Deltadroid:
I have just factory reset last week. I've been flashing gapps base packages on top of the previous versions without having to clear data or cache. I have not had any fc's on cm11 or cm12.1. I've also got most of the add-ons installed.
[Android Software Development] blueren:
If I was to install the "I've also got most of the add-ons installed" on Chroma, which one would it be? :) Nexus 6 here...
[Android Software Development] mentat:
Greetings Google Fans,

I have been using the base Gapps packages (with great success) on various KK and LP ROMs and would like to thank [MENTION=5227588]Deltadroid[/MENTION] for all the prompt updates and forum responses.

I don't use very many Google applications (mainly Maps and Hangouts) and currently, just install them from Google Play, once a new ROM and the base Gapps have been flashed.

So, I would like to ask the more experienced users of the modular packages (provided in this thread):

What is the advantage of flashing (the Maps and Hangouts modules, for example) as opposed to allowing Google Play to install and (automatically) update these applications?

Thanks.
[Android Software Development] deepongi:
GPS 7.5.71 (438), Play Games 3.0.11 (038), Play Store 5.6.6 ..

Running it since yesterday. All fine. I think you are right about the Play Games lib.

lol... the FC's started now ... :D

and yeah, back to GPS 7.3.29 fixes everything.
[Android Software Development] Deltadroid:
Installing gapps to the system partition is mainly to save space on the data partition. There are no performance differences, although it's nice to have everything already updated on the system partition after factory resetting.
[Android Software Development] Deltadroid:
Thanks for confirming that this is a lollipop only problem.

I wonder if the reason why I'm not having any problems with the latest gps on lollipop is because I'm using selinux in permissive mode. Maybe selinux in enforcing mode is blocking gps access to the location service and adjustments need to be made to the selinux rules.
[Android Software Development] Phazmos:
Looks like I forgot to make note in my testing - I'm was using permissive kernel.

Uber kernel can be set to permissive, or enforcing, via it's config file.
[Android Software Development] c0080900v:
Will you eventually offer individual GApp packages like: Micro. mini, nano?

Which GApps does the 5.1./5.1.1 modular package include?
[Android Software Development] Deltadroid:
The base gapps is as minimal as you can get without losing any functionality with the stock aosp/cm rom applications. Everything additional is modular.
[Android Software Development] DFault:
Not sure what the SE state is on the ROM I was using, but I have been running in SE Permissive with my current ROM for a day now with base 20150515 which has updated itself to 7.5.71, the latest Maps addon and not the Games addon. I have even navigated using Maps and set the Smart Lock locations with the map, which was both impossible on the former installation. So far I've had 1 FC right after first boot and not a single one since... Fingers crossed and knock on wood, but might be that you are right and the SE Permissive state is a fix...

Edit: checked the thread of the former ROM, seems it defaults to Enforcing, really looks like you might be on to something... I need my phone to work the next few hours, but later today I will change the state on this ROM to enforcing, see if it breaks anything. Later on I will try the other ROM and if I get FCs again I will try and change the state there, see if that fixes it.
[Android Software Development] amarjit_rsingh:
you stated that gapps are for 32 bit, so will it work on 64 bit ?

Sent from 3rd Rock from Sun
[Android Software Development] Deltadroid:
All the packages on the OP are for 32 bit devices only. They won't work for 64 bit devices.
[Android Software Development] jnetode:
No, Sir.

I am on CM11 and also having multiple FC's since yesterday. Tried cleaning a lot, reseting, reinstalling gapps, but they come back to bite me. :(
[Android Software Development] adrman:
I'm using your base package and most of the standard add-ons on two groupers running rastapop/stock kernel and believe that combo to be selinux enforcing. Just checked both devices and both have updated themselves to gps 7.5.71. The original base package I flashed both devices with was from 5/19, but I remember it was 7.5.xx. I have not experienced a fc on either device. The only thing i needed to do was clear data on Google App. Although not using your GApps, I'm also not seeing any problem on my shamu running MeanPop, a stock based rom. I think this is a problem with specific aosp roms.
[Android Software Development] DFault:
Or maybe version? The ROM I'm now running without problems is a 5.1.1 r2, the one giving problems yesterday was a 5.1.1 r3. Any idea what versions the ROMs you are talking about are?
[Android Software Development] adrman:
The latest Rastapop for grouper is 5.1.1 r3, LMY48B.
[Android Software Development] DFault:
Ok, so it's not that simple. ;)
[Android Software Development] -iHackerz-:
Maybe this has already been answered but anyway to make the Gapps update to system? I keep getting duplicate applications which are both in system and internal memory when they update through the play store.
[Android Software Development] Phazmos:
Yes it has