[Samsung Captivate Glide] giannhs_n:
Deep Sleep ISSUE

Info:

After 2 days many days of swiching roms to 4.0.4-4.4 on our captivate glide i figured why the wifi prevents deep sleep on our phone.

on android 4.1.2 when i had wifi/andvanced/always on my device was unable to get completely deep sleep due l2_hsic and some times because rx_wake too

i disable l2_hsic wakelock and i normaly had sleep mode on my phone

problem not solved after some hours of use cpu lost deep sleep again.

on cm11 bubor have pached l2_hsic to kernel, but (maybe) for some reason that patch do not leave the wifi manager work well

SOLOUTION for all roms,

I installed Wake Lock manager from market and selected ~WIFI_MODE_FULL_HIGH_PREF (mode) and my phone could sleep again and i have wifi scanning (advanced wifi settings wifi keep when screen is off never!)

Another thing,when the phone is on usb/charger will not sleep again am looking for a solouton too

Its a cm/gogle play services bugg if you have installed gms services the phone will not sleep, here is my permanent solution for the problem

Create a script with any scripter for android and launch it on boot,it must be launched after some time of system boot just to be sure that all packages are loaded from the system / Warning: do not run this script on ini.t it will just delay your boot up for 8-9 min

launch_script.sh

sleep 500

/system/bin/gms.sh

code script at system/bin

gms.sh

su -c"pm enable com.google.android.gms/.update.SystemUpdateActivity"

su -c"pm enable com.google.android.gms/.update.SystemUpdateService"

su -c"pm enable com.google.android.gms/.update.SystemUpdateService$ActiveReceiver"

su -c"pm enable com.google.android.gms/.update.SystemUpdateService$Receiver"

su -c"pm enable com.google.android.gms/.update.SystemUpdateService$SecretCodeReceiver"

su -c"pm enable com.google.android.gsf/.update.SystemUpdateActivity"

su -c"pm enable com.google.android.gsf/.update.SystemUpdatePanoActivity"

su -c"pm enable com.google.android.gsf/.update.SystemUpdateService"

su -c"pm enable com.google.android.gsf/.update.SystemUpdateService$Receiver"

su -c"pm enable com.google.android.gsf/.update.SystemUpdateService$SecretCodeReceiver"

su -c"pm disable com.google.android.gms/.update.SystemUpdateActivity"

su -c"pm disable com.google.android.gms/.update.SystemUpdateService"

su -c"pm disable com.google.android.gms/.update.SystemUpdateService$ActiveReceiver"

su -c"pm disable com.google.android.gms/.update.SystemUpdateService$Receiver"

su -c"pm disable com.google.android.gms/.update.SystemUpdateService$SecretCodeReceiver"

su -c"pm disable com.google.android.gsf/.update.SystemUpdateActivity"

su -c"pm disable com.google.android.gsf/.update.SystemUpdatePanoActivity"

su -c"pm disable com.google.android.gsf/.update.SystemUpdateService"

su -c"pm disable com.google.android.gsf/.update.SystemUpdateService$Receiver"

su -c"pm disable com.google.android.gsf/.update.SystemUpdateService$SecretCodeReceiver"

exit

-------------------------------------------------

off topic, can anyone help me how to build cm11 from source i am kind of newbie on syrc staff to get it working...and source is not available on cm tree, thanks !