Updating Play Services to 8.1.x, reverts to 7.8.99 on reboot 0_o

Skitals

Senior Member
Sep 7, 2010
242
91
0
This is driving me crazy. I tried updating to Google Play Services 8.1.14 so I can try Android Pay. I can install the apk, and it seems to work fine. However, when I reboot I'm always back to GPS 7.8.99.

I uninstalled Android Wear, Android Pay, etc. I turned on airplane mode, reverted all GPS updates (puts it on 6.x), installed the 8.1.14 apk, and when I reboot.... still on 7.8.99!

Yes, I am using the correct built (-238). I am on stock/rooted/s-off 5.0.1 w/ root turned off in SuperSU. If anyone has any clue whats happening here, let me know!
 

Skitals

Senior Member
Sep 7, 2010
242
91
0
Okay, so it looks like I solved my own problem. I reenabled root and UNINSTALLED Google Play Services via Titanium, then installed 8.1.14, and it seems to have stuck. I still have no clue why the update was reverting, but... whatever. Hopefully this helps someone in the future if they have the same issue.
 

Skitals

Senior Member
Sep 7, 2010
242
91
0
Disregard my last, that was not successful. Smart Lock disappeared, and my Trust Agents page was blank with no obvious fix. I did a clean install w/ the latest stock/rooted RUU, and updated straight to services 8.1.14 apk, which worked fine (ncluding smart lock). Until...

Until an 8.1.15 auto-update. Which put me right back into the same revert on reboot loop, except now it would update to 8.1.15 a couple minutes after ever boot, and then revert to 8.1.14 every reboot.

I sorta narrowed down the problem... The 8.1.14 update I installed manually via apk resided at /data/app/com.google.android.gms-1

Every time I rebooted, it created a NEW folder and redownloaded 8.1.15 to to those folders, named com.google.android.gms-2, com.google.android.gms-3, com.google.android.gms-4, etc.

I'm assuming this is exactly what it was doing before i wiped, except 7.8.99 was installed to the com.google.android.gms-1 folder which it always reverts to.

The fix was simple: delete com.google.android.gms-1... rename com.google.android.gms-2 to com.google.android.gms-1. Delete all the extra copies.

If anyone could explain this behaviour, I would love to hear. This seems like a pretty big bug, I'm not sure if it's related to the (stock) rom or a bug with the 8.1.x google play services.
 

Skitals

Senior Member
Sep 7, 2010
242
91
0
http://forum.xda-developers.com/ver...lipop-apps-reverts-to-version-reboot-t3076563

this was a few pages back on this section. You basically need to change the owner of '/data/app' to the system. Post 7 has the adb commands or use root explorer or some other app to change all folder and subs.

Regards
:victory: Some times my searching skills aren't up to snuff. I thought my issue was specific to play services, so this didn't come up. This is good to know, and should be added to the RUU thread!
 

carm01

Senior Member
:victory: Some times my searching skills aren't up to snuff. I thought my issue was specific to play services, so this didn't come up. This is good to know, and should be added to the RUU thread!
I would agree about adding to ruu thread, however, i cannot enforce that. I know some of the newer ROMS might support that like fluent 6.1 i believe does, and santod latest debloat i have not had any of those issues with those.
 

andybones

Recognized Contributor / Inactive Recognized Devel
May 18, 2010
14,454
14,654
263
Upstate NY
No issues here. What I did was let it download gmscore, then I cut and pasted base.apk and lib (from data/app) to system/priv-app/GmsCore (deleting preeviois GmsCore.apk and lib first) and renamed to GmsCore.apk - then reboot.
Id try this.
 

Attachments

Last edited: