yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] Vanb85:
Yeah, I tried the basic (no root necessary) method of using an earlier version and trying to stop it from auto-updating already. It was extremely temporary, as in 5 minutes worth of temporary. Some of the other suggestions appear to involve having root access which I don't have. So, that's a no go.

For me, it doesn't really matter so much, because I have almost no vested interest in getting Gapps running on my phone. There's nothing that I need from the Google Play Store, and I refuse to tip toe around my own phone just to keep it on there. I had just installed it because it was possible to do it. When it started going wonky, my tinkering brain had to at least try to see if it could be fixed. I'm personally done playing with it now. I'm just going to wait for Google to fix their own mess. I may try re-installing down the road once they've gotten their act together.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] GSLEON3:
Odd, I don't know what it did differently, aside from reverting via Titanium, but that's all I have done & mine has stuck since that day. In fact, after doing that, I reverted the updated apps that require the newer GPSvs & everything is working again just fine. I haven't been auto-updated once since then.

At any rate, has anyone pulled a logcat during the crashes & refresh failures to see whats going on? Maybe something that an Xposed module could easily fix.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] bspisak@mail.com:
logcat of failure

logcat of failure attached.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] Hasney:
Reverting via Titanium applies its rooted app freeze I believe? Thanks for mentioning either way as I'm going to need to do that.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] Cevyn:
This is what I did to prevent the defective update

I seem to have solved the issue on my Rooted HDX by doing the following:

Uninstall Play Services

Install Play Services 7.0.99

Load Terminal Emulator

Issue these commands:

$ su

# cd /data/app

# type > com.google.android.gms-2.apk

# chattr +i com.google.android.gms-2.apk

Now, the older play services 7.0.99 is active as com.google.android.gms-1.apk. Every time Google tries to install an upgraded one as com.google.android.gms-2.apk it fails, because it's an immutable file. No more updates, even after a reboot. I used ES File Explorer to observe /data/app to see that Google does still download the .tmp file with the new gms, but then it can't rename it.

Good luck!!!

EDIT: I'm running Play Store v5.3.6 on my HDX. Download GMS 7.0.99 HERE.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] Cevyn:
You may need to install BusyBox. I forgot I had that installed as well.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] SimbaaDaLion:
Sorry but I am new and dont know much about that busybox so is it an app ?

can you guide me regarding it ? would be nice

thanks
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] Cevyn:
Search for Busybox in Play Store, install that, then open it and hit Install. Now the CHATTR command should work.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] SimbaaDaLion:
the command worked

I will let you know if it does updates or not

btw i am using google playstore v5.4

does it conflicts?
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] KindofBlues71:
Thx Cevyn, the commands worked but I got a parsing error when trying to install the Play Services apk. I must have a different HDX version than you do and I was able to find a version of the apk that installedl. But thanks for this fix none the less!
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] Hasney:
Followed this guide and it worked great. No command window, but it's doing the same thing really.

http://topusefulsolutions.com/409593/google-play-services-7-3-28-keeps-stopping
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] Cevyn:
My HDX Play Services has not successfully updated since I ran these commands.

I had tried the suggestion on http://topusefulsolutions.com and my Play Services still updated, leading me to work out another way to prevent it and start this thread.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] mkid89:
It may be a good idea to post a reversal guide to this to help out people who eventually want the updates back when and if google ever corrects this issue.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] fabische:
Thanks Cevyn. Your idea sounds reasonable. However, Google play services fail to install. I have tried different versions on my rooted hdx 3rd Gen.Shortly after launching the apk install process interrupts with an "apk failed to install" error. I have tried

com.google.android.gms-7.0.99_(1809214-836)-7099836-minAPI19.apk

and

com.google.android.gms-7.0.99_(1809214-034)-7099034-minAPI9.all

producing the same error.

Any ideas?

Thanks!

UPDATE

I have figured out my mistake: after actually rebooting the device I could install Play Services 7.0.99

However, I am still stuck because apparently the Google apps won't sign me in despite the fact that I have reentered my password a couple of times correctly...
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] EncryptedCurse:
Do you still have the newer Google Play Services installed?

Android doesn't let you downgrade apps.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] djclark25:
AARRRGGHHHHHH!! this is doing my head in! Im trying to reinstall old versions, etc and the play store will work once after a reboot and then when I try to go in again I get a screen asking me to login again. I cant see how to login to my google account. i cant remember how I did it when I installed GAPPS. I copied the setupwizard.apk back into priv-app but it doesnt run on boot up.

I havent actually tried completely wiping GAPPS and starting again, will try that next.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] nickytun:
What does it mean. I don't know how to use terminal. Help me pls. Thanks
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] stormerider:
Don't type the # as part of the command. That's a prompt.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] nickytun:
Now it's said. What can i do next?
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] Cevyn:
Reversal:

$ su

# cd /data/app

# chattr -i com.google.android.gms-2.apk

Next update will then be able to overwrite the gms-2 apk file as needed

---------- Post added at 09:02 PM ---------- Previous post was at 08:54 PM ----------

Looks like you're not rooted. After su command prompt should be a #. Since yours stays a $ this means su didn't work.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] nickytun:
My kindle was rooted. I'm using titanium backup and lucky patcher as well.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] fabische:
It's quite a mess now: with the reinstalled Google Play Services 7.0.99 I cannot login into the Google Services due to account login errors. Apparently, there is something wrong with the login manager/procedure. Trying to un- and reinstall Play Services only makes the mess bigger: while installing, I get a "insufficient storage" error.

Even when I try to uninstall Play Services with Titanium Backup on a rooted HDX 8.9 (FireOS 4.5.2) after rebooting Play Services are still there...

Basically, I would like to remove to whole GAPPS package now and reinstall it. However, I am not sure if I can simply revert the Gapps install procedure described here in another thread...?
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] DB126:
Given the likely number of upgrade/downgrade/tweak'n-twiddle iterations and inability to uninstall Play Services via Titanium it is unlikely you will successfully be able to identify and remove all the pieces. Depending on device generation you may want to consider rolling back to 3.2.8 and then forward to 4.5.2 flush out the remnants. Rollback is only available on 1st/3rd generation Apollo (8.9") models with a 2.2GHz CPU. 2nd/4th generation Saturn devices with upgraded 2.5GHz CPU can not be rolled back. Note the rollback/upgrade process is not without significant risks; two individuals recently posted spontaneous failures (brick like symptoms) upgrading to 4.5.2.

Your other option is to meticulously deconstruct all previous framework installs which can extend to other Google apps. You'll need to pull crud out of the system partition which is likely why you are getting "insufficient storage" errors. In your shoes I would uninstall everything that came through the Play Store and/or has a dependency on Google services. Then try to remove Play services and related frameworks.

If you are ultimately successful think long and hard about reinstalling Google Play Services. The latest incident is likely to repeat in the future as neither Amazon nor Google have any incentive to insure compatibility with Fire OS. You can probably get most of what you need from the Amazon app store and alternative markets such as 1Mobile. It ain't perfect (especially for paid apps and games with cumulative rewards) but a better alternative to a unusable device IMO.

Hopefully someone will have a better suggestion.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] sergtot:
Try to flash the latest supersu to make Titanium work. My Titanium with the latest supersu successfully deletes Google Services.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] fabische:
Thank you, Davey126 and sergtot.

The solution eventually proved to be less painful than I had feared: instead of continuing to mess around with the Google services I have rolled back my 3rd Gen Apollo to 3.2.8, immediately upgraded to 4.5.2, rooted and made a clean install of the latest GAPPS mini package recommended in this thread. This took me less than an hour and thanks to the Titanium backup of my data and apps I have now a fully functional Google-Amazon tablet - again.

Of course, the root of all evil was the fatal recent Google Play Services update that had killed the Play Store. I hope that I have successfully prevented this update to return by write protecting the Services file as described elsewhere in this thread.

Thanks again for your support!

THIS IS HOW YOU PROTECT THE PLAY SERVICES FILE

Issue these commands with "Terminal Emulator":

$ su

# cd /data/app

# type > com.google.android.gms-2.apk

# chattr +i com.google.android.gms-2.apk

(n.b.: chattr command needs busybox installed)
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] DB126:
Glad it worked out. I think the path you chose facilitated a quick/clean solution. Thanks for posting the outcome and steps used to block Google updates. While documented elsewhere it's good to reiterate for others just coming to this thread.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] CertifiedBlyndGuy:
Looks like an issue with the Osconstants library. I'm not really a developer or anything. It might be that OsConstants is a missing dependency? I've never seen that folder before. Maybe we could get someone with a Nexus to upload it so we could test it?
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] Grtschnk:
Anyone wakelocks? (on new version)

Just performing the recommended steps. Thank you for the instructions!

You're all talking about a non working play store (mine is also not working) but haven't you also noticed the much more severe problem: 100% wakelock? BetterBatteryStats tells me that Google Play services (the new 7.5.X version) constantly holds a sync wakelock.

Downside of that downgrade method: GMail complains, hope an older version will solve the problem, also google now doesn't seem to work. Or would a simple launcher downgrade help? Downgrade of other Google Apps did the trick.

€: Also, may I ask: What changed from version 7.0.99 that you chose it/it is known as the last working one?
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] KindofBlues71:
How can these commands be reversed/removed? I need to reinstall Google Play Services and cannot due to this working too well! I managed to uninstall it but com.google.android.gms-2.apk cannot be edited or removed. I tried the commands using com.google.android.gms-1.apk but it didn't work. Now I have both files with zero bytes that cannot be edited or deleted. What now?

Update: I figured it out. To reverse it just use this command: chattr -i com.google.android.gsm-2.apk

Thanks,

KindofBlues71
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] GSLEON3:
I have not had the play store issues everyone else had, at least not initially. HOWEVER, I uninstalled everything & tried to duplicate it with the last bad gms.apk & it finally crapped out on me.

What everyone should try however, is installing the update from yesterday, version 7.5.71 (1955121-036), which immediately restored all function for me once again. Make sure you use Play Store to update, or get the correct resolution version, which is either the -036 or -038. -036 is universal & seems to have less issues for me at least.

EDIT: I am also using the latest Play Store version of apk. One note, if anyone is still using any of the older files, especially the "Accout & Sync-Settings" app, aka: com.android.subscribedfeeds, this will also cause issues. That app is no longer used & will cause the exact same issue with Play Store failing to sync & retrieve account data.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] mkid89:
Do you have a list of "older files" that can continue to cause the issue? I never had "Account & Sync-Settings"/com.android.subscribedfeeds. I downgraded to an old working version of Play Services and upgraded directly to 1955121-036 and I'm still having the same issues.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] lekofraggle:
GSLEONE,

Can you post a link/ version number of your gapps? I am having the same problem. Also, what version of Kindle OS are you running?

A hypothesis is that this error could be due to the version of gapps we installed. If we find another which works on our device, we may be able to consistently update. Also, there are some people who have no issues at all, I wonder why.

~Leko
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] aoleg:
I confirm that Google Play Services 7.5.74 (036) work without issues.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] rob583:
I followed your instructions to the T, but ADB kept saying all files were in a read-only directory. Do I need to start with an additional command to fix that before doing the 0644 commands?

I ended up manually setting permissions for every single file and double checked twice in ES File Explorer. Play is still not working.

Edit: using the old instructions I was able to get into google play once. I tried downloading and installing one file after logging in and it closed instead. Haven't been able to open it since, it just immediately closes.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] DB126:
I can't offer a direct solution but curious if you would be interested/willing to try a different ROM that natively supports the Play Store? Your device must be on 4.5.2, rooted and not have deep ties into the Amazon ecosystem. Ultimately you will be able to toggle between FireOS and Nexus with a simple reboot but that piece is still under development. It's relatively safe and reversible. Something to consider given gaps on FireOS is an unhappy marriage and you have to freeze everything once working as Amazon and Google continue to evolve.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] rob583:
Absolutely. I've been trying to get the full potential out of this thing for ages, ive rolled it back and tinkered with it since I got it. In the mean time I'll keep plugging away at this, but the level of consistency from device to device seems relatively terrible on these tablets when it comes to results from exploits and workarounds. I'm wondering if there weren's significant enough changes in production from start to finish even amongst 3rd generation HDXs

---------- Post added at 02:23 PM ---------- Previous post was at 02:13 PM ----------

In the mean time, is there any reason ADB would have told me all of the directories were read only while trying to issue the commands to change to 644? I tried modifying the permissions on the folders temporarily to no avail as well.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] DB126:
Take a look here: http://xdaforums.com/showthread.php?t=3125808 .
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] GSLEON3:
Not if you are rooted with SuperSU & running ADB in SU mode. I always set my SU to "grant" automatically while working on things, but I don't think that should make a difference. You can always issue the adb command: mount -o remount,rw /system (or whatever directory you are trying to mount to RW). I know that unless you have gms installed, RootExplorer can sometimes have issues "finding" root, but with ADB, that should not be an issue.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] rob583:
I'll give this a shot this evening, likely the issue.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] rob583:
This completely solved the problem, I was getting the same issue while trying to redo the install with terminal emulator. Signing in to Google now. Thanks a ton!
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] rob583:
Damn, it allowed me to sign in and then started closing the second I open services, and play gets stuck loading the screen. I'm going to try to safestrap the nexus rom.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] vishaljh:
I used following method to install GAPPS - http://xdaforums.com/kindle-fire-hdx/general/tut-disable-ota-4-5-2-install-gapps-t3043550

So as it stands currently, is there no simple way of fixing this Google play issue?
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] DB126:
Short answer *no* although someone may have a short term fix for a specific combination of Amazon and Google components. A Franken-Kindle will always be a maintenance headache. A better solution is to install a different rom (Nexus or CM11) which has become remarkably easy/safe with the release of Safestrap v4.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] vishaljh:
Thanks.

The only reason I don't want to go with safe strap is because I use Amazon instant video, especially the download option to watch movie in train. I think the instant video is available but you cannot download movies from instant to watch later.

Also, my kindle in only 16GB. if I keep existing kindle firmware and install Nexus on a diffrent partition, I will end up with very less usuable space.

Do I need bootloader unlocked for Safestrap 4? Is this easy?

Thanks in anticipation.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] lekofraggle:
Okay,

I think I finally figured it out!!!!

I have tried all of the fixes and workarounds. I am currently on an old boot loader (3.2.3) and rooted 13.4.5.4, but this should work on any rooted version of x.4.5.x.

What I realized after having to erase and reregister again (periodically, my Amazon apps keep crashing, so I need to erase and reregister to fix it).

Anyway, I realized that there are two files I do not overwrite when installing the play store.

/system/framework/com.google.widevine.software.drm.jar

And

/system/etc/permissions/com.google.widevine.software.drm.xml

Once I did, the newer version of Google Play Services worked.

Version 7.5.74_(1997312-036)

I used the most recent version of minimal gapps zip that the Block OTA and Install Play Store thread links to.

I followed the install directions as I have always done, but overwrote the two files when prompted.

/system/framework/com.google.widevine.software.drm.jar

And

/system/etc/permissions/com.google.widevine.software.drm.xml

I installed the version of GPS included in the zip, rebooted, and installed the new GPS. It seemed to have worked.

I agree with Davey that it is much easier and cleaner to just run a less restricted Rom. However, I want the best of both worlds. I happen to enjoy the Amazon ecosystem of apps (though I detest the launcher). It seems I have finally got there.

~Leko
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] DB126:
You can access prime video content from other ROMs but Amazon doesn't make it easy. You end up installing an older version of the Amazon phone shopping app which has imbedded video support. Amazon does prompt you through the process and the phone app isn't that bad on a tablet. However, you can't download content which is what you're looking for.

Safestrap v4 only supports WiFi in the base slot so you'd have to choose between FireOS and Nexus (or CM11). Bootloader does not need to be unlocked and it's easy to install/configure.

** See recent post by Leko for a possible solution to the current Google Play/Services problem on FireOS v4. Woohoo!
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] vishaljh:
Thanks Davey126 and lekofraggle.

lekofraggle, I have a rooted fireOS (HDX 8.9 3rd Gen) on 4.5.2. I was not aware you can root 4.5.4.

In any case, I followed the instruction from the "Block OTA and install GAPPS" thread and previously overwritten the 2 files you flagged. the GMS from the zip file works fine but when I install the 7.5.74, Play store stops working.

Anything else I can try and do? I am not sure if this is a prob. When I copies all the relevant files from the ZIP from the "Bloack OTA.." thread, I only changed permissions for the apk files which were supposed to be copied to the /system/priv-app. I did not change permissions for any other lib or framework files. Not sure if this can be an issue. However, the same set-up works with the original GMS from the zip file.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] chintzle:
http://www.apkmirror.com/apk/google...ices-7-0-99-1809214-038-android-apk-download/ Did the best for me. After installing this version i could use the newest Play Store and had no Problems with Hangouts (with other versions no video chat) and other Google Apps. I disabled automatic updates in Google Play Store. After installing this version you should delete all yout data for Play Services. Otherwise he says in Play Store that there is a problem with your account an should login again ;)
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] vishaljh:
Chintzle,

I have managed to get this to work with the play services version you flagged. The play store seems to be working fine. The gmail app is not and is asking to download latest play services. Any thoughts on which gmail apk will work fine with this Google play services?

Vishal
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] lekofraggle:
That is a known work around, but you will have issues with that version (try opening gmail, maps, or even netflix). The fix that worked with me allowed me to use a newer Google play services.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] DB126:
In general you can't but there are exceptions. Not going to go into detail but in general need a device with an unlocked bootloader to pull it off. Point of this post is to dispel any rumor that 4.5.4 can be easily rooted using any known exploit. It can not. Hopefully soon ... :)