Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Get Phone to Deep Sleep[Dang you GPlay Services]

OP PiggyFlooper

24th August 2014, 01:28 AM   |  #1  
PiggyFlooper's Avatar
OP Senior Member
Thanks Meter: 69
 
310 posts
Join Date:Joined: Oct 2013
This worked for me, it may not work for you. I used Wakelock Detector app to peek out wakelocks, makes sense. And Rom Toolbox to knock out some receivers n services.
So, I'll display pics at end of post, cuz with xda premium app can't figure out how to place them along the way, and I'm running out of pics on Tapatalk.

GPlay Services is my culprit. With the system update built in(may be for Nexus devices) my phone won't deep sleep. See pic
So I just ran the stupid thing, by using terminal emulator with this command-

am start -n com.google.android.gms/.update.SystemUpdateActivity

see below
This will survive a reboot

Then there's the wretched checkin service and Checkin Handoff. This has me baffled, because it comes and goes. When unticking any services or receivers of Gplay services(checkin....)with Rom Toolbox, they are re-enabled automatically instantly. wtf. But when knocking them off in Google Services Framework, it seems to help with the frequency of checkin. Please chime in if ya got more info.

Also, use Never as option in WiFi advanced settings for Keep WiFi on During Sleep.


Sent from above using XDA Premium
Attached Images
File Type: jpg 1408836229224.jpg - [Click for QR Code] (48.7 KB, 83 views)
File Type: jpg 1408836249804.jpg - [Click for QR Code] (30.2 KB, 69 views)
File Type: jpg 1408836323945.jpg - [Click for QR Code] (58.9 KB, 68 views)
File Type: jpg 1408836357848.jpg - [Click for QR Code] (55.9 KB, 68 views)
File Type: jpg 1408836385519.jpg - [Click for QR Code] (59.2 KB, 66 views)
File Type: jpg 1408836429328.jpg - [Click for QR Code] (41.0 KB, 69 views)
File Type: jpg 1408836461695.jpg - [Click for QR Code] (72.7 KB, 66 views)
File Type: jpg 1408836485727.jpg - [Click for QR Code] (140.8 KB, 67 views)
File Type: jpg 1408836505775.jpg - [Click for QR Code] (61.0 KB, 73 views)
4th October 2014, 05:05 AM   |  #2  
PiggyFlooper's Avatar
OP Senior Member
Thanks Meter: 69
 
310 posts
Join Date:Joined: Oct 2013
Also would like to share this, for stopping Play Store and Google Play Services from updating.
Flash zip in recovery, then run the RunScriptOnce.sh in /data, then delete that script. This is bigtime riggin it, but I'm tired of the unwanted updates.
Make sure to uninstall G Play Store and/or Services from /data before flashing.
Also, there's an init.d script, it'll sleep for 8 minutes(gives time to dl) and remove the downloaded update to Play Services(it won't install). It's the last script to run.
Freedom!

https://db.tt/JK08KR1k

Edit, hold up on this, I'm working on a permanent fix.

Sent from above using Xparent Tapatalk Blue
Last edited by PiggyFlooper; 25th October 2014 at 02:18 AM.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes