yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] pablitos76:
no deep sleep on k 2-10 back to k2-5

running checkrom v1.0
[Galaxy S II Original Android Development] Seifer1975:
Guess I spoke too soon. On k2-10-test3, deep sleep disappears after a reboot. No deep sleep also on latest k2-10.
[Galaxy S II Original Android Development] SDeba:
In my case there is deep sleep and the phone is smoother than on the previous ones. K2-10

Sent from my Samsung Galaxy SII
[Galaxy S II Original Android Development] aegisfreedom:
No deep sleep on k2-10.. Back to 5
[Galaxy S II Original Android Development] thanksgiving60:
no deep sleep here
[Galaxy S II Original Android Development] Tyrol:
Never experienced the lack of Deep Sleep from K2-1 to K2-9, but with K2-10 I saw the problem for myself.
[Galaxy S II Original Android Development] xos84292:
do you wipe dalvik cache?
[Galaxy S II Original Android Development] gtda:
I had both apps working, deep sleep working on all kernels. I'm on kitchen rom xwki8
[Galaxy S II Original Android Development] shawnaye:
Deep sleep still working fine for me on k2-10.
[Galaxy S II Original Android Development] tkalli:
RomKitchen(Tricky103) XWKI8_Slim_b2_ speedmod-kernel-s2-k2-9

​
[Galaxy S II Original Android Development] uronfire:
+1

deep sleep working on all kernels

im on stock xxk14

K2- 7 was the smoothest.
[Galaxy S II Original Android Development] thanksgiving60:
ok

i flashed back to cognition 1.5.1 which doesnt have init.d tweaks and flashed k2-9 and deep sleep is working like a true champ again

but for some reason k2-10 is just not working

the previous roms i tried that failed to enter deep sleep all had init.d tweaks

so just like hardcore mentioned that init.d is the real culprit here...

EDIT: rebooted and deep sleep is gone again
[Galaxy S II Original Android Development] aegisfreedom:
Done that, still the same.
[Galaxy S II Original Android Development] Seifer1975:
For those with deep sleep working, have you tried rebooting your phone? Few occasions when I have it working, on k2-8 and k2-10-test3, it was gone after a reboot.
[Galaxy S II Original Android Development] hardcore:
Guys kind of sure the init.d scripts have something to do with it. Maybe the script hung while running or something.

Anyway, if you are having this no deep sleep problem, please send the output of:

adb shell cat /data/user.log

or simply the output of /data/user.log which shows whether init.d scripts have been run.
[Galaxy S II Original Android Development] aegisfreedom:
How to do that? Any link?
[Galaxy S II Original Android Development] hardcore:
There's a test version K2-11-test for people having no deep sleep to try. Although I'd still like to get the output of /data/user.log if possible.
[Galaxy S II Original Android Development] soyef:
This is an amazing kernel

Would be great if fuse support was added

Great work and thanks

Sent from my GT-I9100
[Galaxy S II Original Android Development] Dennys_Santos:
Hi, hardcore.

after executing the command XXX, the result was this:

adb shell cat /data/user.log

grep: /system/etc/tweaks.conf: No such file or directory

mount: mounting none on /acct failed: Device or resource busy

mount: mounting none on /dev/cpuctl failed: Device or resource busy

su already exists

Superuser.apk already exists

Mon Oct 24 20:09:19 BRST 2011 USER EARLY INIT START from /system/etc/init.d

Mon Oct 24 20:09:19 BRST 2011 USER EARLY INIT DONE from /system/etc/init.d

Mon Oct 24 20:09:19 BRST 2011 USER EARLY INIT START from /data/init.d

Mon Oct 24 20:09:19 BRST 2011 USER EARLY INIT DONE from /data/init.d

Mon Oct 24 20:09:19 BRST 2011 USER INIT START from /system/etc/init.d

Mon Oct 24 20:09:19 BRST 2011 USER INIT DONE from /system/etc/init.d

Mon Oct 24 20:09:19 BRST 2011 USER INIT START from /data/init.d

Mon Oct 24 20:09:19 BRST 2011 USER INIT DONE from /data/init.d

Mon Oct 24 20:09:19 BRST 2011 END of post-init.sh

ls /system/etc/init.d
ls: /system/etc/init.d: No such file or directory

ls /data/init.d
ls: /data/init.d: No such file or directory

Note that the init.d folders do not exist ...

But there is a startup script called init.rc

My ROM is XXKI8 NEE with K2-10

I hope it help ...

And thanks for your work with the kernel.
[Galaxy S II Original Android Development] thanksgiving60:
i dont have adb installed on this comp im on right now

or i would gladly help

thanks for this great kernel, hardcore!!!
[Galaxy S II Original Android Development] Mr.Gambir:
can someone please please please answer me...

i notice most of u got a good battery life compare to mine..

how did u guys do dat?i know d basic guide(brightness,wifi etc),but did u guys do something else?

please help me or at least guide me a website for my answer...thank you so much..
[Galaxy S II Original Android Development] c010:
how do you define good battery life? how bad was your battery life?
[Galaxy S II Original Android Development] scorpion667:
Likewise. I even rebooted and checked afterward and no issues.
[Galaxy S II Original Android Development] thanksgiving60:
first off, you need to calibrate you battery if you havent done that

and it really depends on how you use your phone
[Galaxy S II Original Android Development] aegisfreedom:
Tried k2-11 test, still no deep sleep.. Rebooted, no deep sleep..
[Galaxy S II Original Android Development] Mr.Gambir:
i hope that i can get at least 14hours above battery life for moderate use of my phone...now my battery life = 3 hours =30% off already. not heavy usage..

---------- Post added at 11:04 AM ---------- Previous post was at 11:03 AM ----------

how to calibrate my battery?im not a heavy user...just use for twitter+fb and some text messaging..
[Galaxy S II Original Android Development] ringrover:
Mate thanks for for you hard work and keeping improvement this kernel

And I have been speed user since the K1-1 to 41 ... You did a fantastic thing

And regarding the deep sleep ... I tried all releases and the only two virgene which I can have the deep is the K2 -1 and. K2-5 ....and the strange thing some ppl here have deep sleep and others did not ...so where is the problem coz this deffnetlly not from the kernel in my opinion ... What do you think mate ?
[Galaxy S II Original Android Development] c010:
ok confirm something is wrong. run batterystats to see what's causing wakelock.
[Galaxy S II Original Android Development] ephraim:
I still experience deep sleep using k2-10..
[Galaxy S II Original Android Development] ringrover:
Ok mate if I run this app ... What I have to do then please
[Galaxy S II Original Android Development] oyebto:
in what way is it the best! by the way, is it true you really need a few battery cycles to test out a kernel? or is it a myth? cause at the fantastic rate this kernel is updated, it seems not many actually test it for a few cycles before evaluating it...
[Galaxy S II Original Android Development] enami_I9000:
Hope it helps. (I am on Goa Rom ki8)

grep: /system/etc/tweaks.conf: No such file or directory

mount: mounting none on /acct failed: Device or resource busy

mount: mounting none on /dev/cpuctl failed: Device or resource busy

su already exists

Superuser.apk already exists

Mon Oct 24 22:05:01 CEST 2011 USER EARLY INIT START from /system/etc/init.d

Mon Oct 24 22:05:01 CEST 2011 USER EARLY INIT DONE from /system/etc/init.d

Mon Oct 24 22:05:01 CEST 2011 USER EARLY INIT START from /data/init.d

Mon Oct 24 22:05:01 CEST 2011 USER EARLY INIT DONE from /data/init.d

Mon Oct 24 22:05:01 CEST 2011 USER INIT START from /system/etc/init.d

START 'S70zipalign'

Starting FV Automatic ZipAlign 10-24-2011 22:05:02

Automatic ZipAlign finished at 10-24-2011 22:05:14

EXIT 'S70zipalign' (0)

START 'S95sdcardspeedfix'

EXIT 'S95sdcardspeedfix' (0)

START 'S96complete'

EXIT 'S96complete' (0)

START 'S97ramscript'

EXIT 'S97ramscript' (0)

Mon Oct 24 22:05:14 CEST 2011 USER INIT DONE from /system/etc/init.d

Mon Oct 24 22:05:14 CEST 2011 USER INIT START from /data/init.d

Mon Oct 24 22:05:14 CEST 2011 USER INIT DONE from /data/init.d

Mon Oct 24 22:05:14 CEST 2011 END of post-init.sh
[Galaxy S II Original Android Development] hardcore:
Thanks. Is deep sleep working for you?
[Galaxy S II Original Android Development] c010:
basically the app will tell you what was running to keep your phone awake. from there you can pin point to the problematic app. have you rebooted your phone before?
[Galaxy S II Original Android Development] Mr.Gambir:
what is batterystats?is it an apps?cant find it in market...btw..what is wakelock..

sry so many newbie questions...really new to this thing..
[Galaxy S II Original Android Development] ringrover:
What do you mean by rebooted before ?.. You mean ever or after running the app ... Or when exactly
[Galaxy S II Original Android Development] c010:
just wanna know whether he has rebooted his phone b4 when he was facing battery drain. if after phone reboot still facing same issue, then he might need to drill further to see what's causing the battery drain
[Galaxy S II Original Android Development] Seifer1975:
Hi Hardcore,

My inputs

user.log for K2-10 (NO deep sleep)

grep: /system/etc/tweaks.conf: No such file or directory

mount: mounting none on /acct failed: Device or resource busy

mount: mounting none on /dev/cpuctl failed: Device or resource busy

su already exists

Superuser.apk already exists

Tue Oct 25 10:59:21 SGT 2011 USER EARLY INIT START from /system/etc/init.d

Tue Oct 25 10:59:21 SGT 2011 USER EARLY INIT DONE from /system/etc/init.d

Tue Oct 25 10:59:21 SGT 2011 USER EARLY INIT START from /data/init.d

Tue Oct 25 10:59:21 SGT 2011 USER EARLY INIT DONE from /data/init.d

Tue Oct 25 10:59:21 SGT 2011 USER INIT START from /system/etc/init.d

Tue Oct 25 10:59:21 SGT 2011 USER INIT DONE from /system/etc/init.d

Tue Oct 25 10:59:21 SGT 2011 USER INIT START from /data/init.d

Tue Oct 25 10:59:21 SGT 2011 USER INIT DONE from /data/init.d

Tue Oct 25 10:59:21 SGT 2011 END of post-init.sh

user.log for K2-5 (Deep Sleep)

grep: /system/etc/tweaks.conf: No such file or directory

mount: mounting none on /acct failed: Device or resource busy

mount: mounting none on /dev/cpuctl failed: Device or resource busy

su already exists

Superuser.apk already exists

Tue Oct 25 11:08:20 SGT 2011 USER EARLY INIT START from /system/etc/init.d

Tue Oct 25 11:08:20 SGT 2011 USER EARLY INIT DONE from /system/etc/init.d

Tue Oct 25 11:08:20 SGT 2011 USER EARLY INIT START from /data/init.d

Tue Oct 25 11:08:20 SGT 2011 USER EARLY INIT DONE from /data/init.d

Tue Oct 25 11:08:20 SGT 2011 USER INIT START from /system/etc/init.d

Tue Oct 25 11:08:20 SGT 2011 USER INIT DONE from /system/etc/init.d

Tue Oct 25 11:08:20 SGT 2011 USER INIT START from /data/init.d

Tue Oct 25 11:08:20 SGT 2011 USER INIT DONE from /data/init.d

Highlighted in bold seems to be the only difference.
[Galaxy S II Original Android Development] ringrover:
Yes mate is after rebooting ... And now how I can solve this with battery stats ????
[Galaxy S II Original Android Development] byobodybag:
Is K2-10 worth the flashing from K2-9? I don't have any of those deepsleep issues anyway.

Man gotta give props to you hardcore...

An update a day keeps the kernel comparisons away! lol :D
[Galaxy S II Original Android Development] NZgeek:
The battery meter chip on our phones doesn't provide any way to calibrate it. It just uses some internal voodoo to work out the battery levels without calibration.

The closest we can get to calibration is to remove the battery from the phone for a few minutes. This should trick the phone into thinking you've put in a new battery, and it'll do whatever it does when a new battery is inserted.
[Galaxy S II Original Android Development] byobodybag:
I go for another method.

1. Charge to Full, where it really says Full on the status bar and not just a blinking 100%.

2. Reboot into recovery (still connected)

3. Wipe battery stats

4. Watch it charge for a few more minutes all the way to Full again.

5. Disconnect and use
[Galaxy S II Original Android Development] lokhor:
I have a question regarding the Android OS bug - how do I know if I have it?

My current stats at 31% battery life are:

10h36m on battery

Display 46% 2h20m

Android OS 34% 1h16m

Cell standby 6% Time on 10h36m

everything else is below 5%

To me that Android OS usage is quite high, but not sure what other people are getting.
[Galaxy S II Original Android Development] enami_I9000:
No, it doesn't work.
[Galaxy S II Original Android Development] c010:
you have to identify what's causing your phone to stay awake first.
[Galaxy S II Original Android Development] dzontra11:
I have a great deep sleep with k-2 10..but over night i lose 6%...i mean it is huge for me..so how i lose 6% ...no wakelocks..deep sleep around 90-93%....???

Tnx
[Galaxy S II Original Android Development] hardcore:
I think losing 6% overnight is quite a good result, especially if you have Sync running.
[Galaxy S II Original Android Development] dzontra11:
No..i dont have it...

On t41..i lose zero..on k2-2 too..etc...anyway...amazing work pal.
[Galaxy S II Original Android Development] hardcore:
Did you have Wifi turned on overnight last time? Sometimes it seems you lose 0% because it can take a long time for the battery to discharge from 100% to 99%.
[Galaxy S II Original Android Development] hardcore:
The Android OS usage level is probably irrelevant. So far, there is no correlation between it and the actual battery usage. It's probably just a stats reporting problem.

Thanks. I added the new line in K2-10 to see if the script reaches its end. Anyway, there is a new K2-11-test2 out, which I'd appreciate7 if you can try.

I've been trying to isolate all the changes I've made between K2-5 and K2-10.
[Galaxy S II Original Android Development] coolfire:
Yeah, especially if overnight means at least 8-10 hours. :)

Sent from my SGSII
[Galaxy S II Original Android Development] BAWS:
Is there any reason too move from K2-5 to K2-10/k2-11?

.
[Galaxy S II Original Android Development] lokhor:
So is my battery usage normal? I thought I'd get at least 18hrs including 3.5 hours screen time..
[Galaxy S II Original Android Development] renton82:
About this... (little ot), is it possible to calibrate the battery rate between 100% and 85% ? Because it seems the numbers between 99% and 85% drop down faster than the other. And the 100% still stay longer than the other...
[Galaxy S II Original Android Development] Seifer1975:
Hardcore, really appreciate all your effort to diagnose this problem so far. Unfortunately, there is still no deep sleep on K2-11-test2.

EDIT: Something seems to be wrong with K2-11-test2. List of errors observed in user.log. Download the user.log here (too many errors to paste here) http://db.tt/q6s1dFiv
[Galaxy S II Original Android Development] thanksgiving60:
i have no doubt that hardcore will sort out this problem in no time

give it time guys
[Galaxy S II Original Android Development] dzontra11:
No..wifi turned off....i dont know but something strange its wake over night...i have a huge awake...but beter battery dont report that....:-P
[Galaxy S II Original Android Development] pjdona:
I have lost in six hours of last night 1% with airplane mode! Very good kernel, the versione K2-10 is fanstastic and the deep sleep works very very good!!
[Galaxy S II Original Android Development] ziggyboy:
6% overnight is not as good. I lose 3% with the following:

ROM: XWKI8 stock

Kernel: CF-Root XWKI8

Wifi: enabled with access point in the same room

Sync: WhatsApp, Google Contacts, GMail, Google Calendar

Widgets: Clock only

SetCPU: 200-500Mhz conservative on 'screen off'

Frozen apps: all non-essential Samsung (MusicHub, etc.)

If I can trim that down to 2% drain in 8 hours using SpeedMod then I'll give it a go.
[Galaxy S II Original Android Development] hardcore:
Oh thanks! I updated the CWM recovery to 4.0.1.5 and probably forgot to create the link.

Actually about your deep sleep problem, I really think its not the kernel. Because K2-11-test2 is pretty much identical to K2-5. I don't see why there should be a difference.
[Galaxy S II Original Android Development] Brujo64:
No issues from K2-5 -> K2-10 with deep sleep on Cog 1.6 with no tweaks / scripts in /etc/init.d. I also did several reboots or wiped chache / dalvik and still no probs to get deep sleep. If you still need the output then I will past it.

Brujo
[Galaxy S II Original Android Development] Jeremy:
Could it be a checkrom revolution 1.0 specific problem?

Perhaps some incompatibility between your kernel and their ROM.
[Galaxy S II Original Android Development] tonysac:
I don't think so....I am with this rom and deep sleep is present

Sent from Galaxy
[Galaxy S II Original Android Development] Inuit:
I´m also on CheckROM.

No problems with deepsleep.

Greetings Inuit
[Galaxy S II Original Android Development] bluesith:
I'm on CheckROM Revolution and no deepsleep problems for me since i started using this kernel, k2-7, k2-8 and now k2-9 have all been great.

Many thanks hardcore for a cool kernel, i'm glad I tried it.
[Galaxy S II Original Android Development] Seifer1975:
HC, no issue. Appreciate it very much. I am perfectly happy with K2-5.
[Galaxy S II Original Android Development] Amokbunny:
Hey Tricky,

Since the switch to the update3 code (so from k2-5 on), the wifi disconnect problem is back. Same continuous disconnects like before when switching to update2, so i'm back to 2-3.

I guess the init.d scripts need some tweaking again.

Cheers!
[Galaxy S II Original Android Development] Jeremy:
Then could you guys with checkrom revolution and no deep sleep problem share your flashing procedure?

Also perhaps your setcpu settings and stuff?

Much appreciated.
[Galaxy S II Original Android Development] davelinders:
2% for me on 6 hours deep sleep. k10
[Galaxy S II Original Android Development] tonysac:
For rom no wipe, flashed through recovery..no setcpu or anything else

For kernel flashed through cwm manager application

Sent from Galaxy
[Galaxy S II Original Android Development] SupraN0va:
CheckROM Revolution v1.0

Code:

New Much Improved XXKI4 base (2.3.5)

I9100XXKI4 Modem

Deodexed

Zipallinged

Kernel:CF-ROOT XXKI4

Samsung apps removed

added Jkay 12

Added DK Engine

Kernel script

Usual 1000Mhz Kernel UC

My personal Battery Saver Codes

Raise JPG quality to 100% tweak

Render UI with GPU

Decreased dialing out delay

Increased scrolling responsiveness

Increased overall touch responsiveness

Raised photo and video recording quality

Super (3G) tweaks

Super Net speed tweaks

No blackscreen issue after a call

In Check there is a cpu script. Also gpu is activated. Maybe this got something to do with the deep sleep issue.
[Galaxy S II Original Android Development] SupraN0va:
Just flashed cf kernel again, see there, goes into deep sleep in no time.
[Galaxy S II Original Android Development] andresalonika:
Never had issue with deep sleep with speedmod kernel!! Maybe you guys its the custom roms you are using which are messing up with the coding..
[Galaxy S II Original Android Development] FrenchSparda:
Thats why i dont like custom ROMs with lots of init tweaking or undervolting script....they're useless

No deep sleep issue on k2-10...
[Galaxy S II Original Android Development] ozzyita:
Could be the rom you are using

Inviato dal mio GT-I9100 usando Tapatalk
[Galaxy S II Original Android Development] aegisfreedom:
Im using checkron rev..
[Galaxy S II Original Android Development] micmaccc:
+1

:rolleyes:

custom rom tend to be buggy

:D
[Galaxy S II Original Android Development] grac:
Kernel works great with my open rom xxki4 :)
[Galaxy S II Original Android Development] Tyrol:
My 'no deep sleep' just now was a dud, user error on my part, apologies. Deep Sleep works great with CheckROM Revolution for me. I'll share my flashing procedure here but I'm thinking it could be dependent on the mods that you flashed from the kitchen as well?

Jumped from Revolution 2.7.1 to CRR, cleared cache and Dalvik but didn't do a full wipe/factory reset. Flashed SpeedMod from CWM Recovery after rebooting to check that the ROM's functioning okay, no bootloops and such.

Mods installed from Kitchen include SNS Support, MIUI Dialer and efs backup (which I'm still not sure how/where to access/use).

Theme is HTC CFC Blue-coloured by JKay, v12.1. No SetCPU or anything like that.

@HardCore, what's the change from CWM 4.0.1.2 to 4.0.1.5 which I think you said is bundled in K2-11?
[Galaxy S II Original Android Development] Mekrel:
Deep sleep working great here, on my own ROM based on KG6 (I hate 2.3.5 builds due to overscroll glow).

Only init.d scripts I have is zipalign.
[Galaxy S II Original Android Development] BAWS:
Yes me too,

Are there any reason to change to a newer?
[Galaxy S II Original Android Development] syahrulzaman:
Same here with checkrom...no issue with sleep...
[Galaxy S II Original Android Development] scary_master:
My Situation WITH Deep Sleep Problem

1. I was on a fully tweaked ChekRom Rev 1.0 with no deep sleep problem until k2-8 came out.

2. Today i ve installed CheckRom Rev. 1.0 and wiped (before and after installation) everything: soft and hard factory reset, cache, dalvik). Also i ve deleted internal and external sd-card just to be safe.

I ve even wiped my girlfriend and my dog!!!!

After that i ve installed no tweaks. So the first thing i ve installed was speedmod k2-10. And there was no deep sleep. I ve tried your k2-11test3...still no deep sleep. so i tried k2-6 and deep sleep is back. I JUST CAN NOT UNDERSTAND IT.

P.S. My CSC: DBT (Debitel/Germany)
[Galaxy S II Original Android Development] thanksgiving60:
hardcore

i wiped everything and even formatted my phone and clean installed cognition 1.5.1, still no go

WHAT THE HELL COULD THE PROBLEM BE!!!???
[Galaxy S II Original Android Development] Toss3:
No deep sleep for me either and I'm currently using a stock KI4 rom. Could it be a carrier problem i.e. fast dormancy? Gonna try turning it off and report back.
[Galaxy S II Original Android Development] KennyLegend:
Most likely to do with init .d tweaks in the Rom. Try it on stock Rom or try any custom rom based on stock...ie..Rom kitchen ki8.

11 hours overnight and 1% idle on k2-10.

View attachment 760729
[Galaxy S II Original Android Development] Lownita:
k2-6 did deepsleep with checkrom revolution without problems. This issue appeared with k2-9 for me.
[Galaxy S II Original Android Development] thanksgiving60:
the thing is that cognition does not have init .d tweaks...

f*ck me sideways...
[Galaxy S II Original Android Development] Lownita:
lol guys I disabled Fast Dormancy, did a reboot and now deep sleep is working !!!!!!!!!!!! :eek:
[Galaxy S II Original Android Development] thanksgiving60:
k2-7 was the last version that worked for me...

---------- Post added at 03:55 AM ---------- Previous post was at 03:55 AM ----------

the hell?!

how can this be?!

im no expert

someone need to dig into this
[Galaxy S II Original Android Development] KennyLegend:
Cognition has built in scripts right?? I think it has.
[Galaxy S II Original Android Development] thanksgiving60:
holy ****

i'll be damned

i disabled fast dormancy

guess what?

deep sleep is working like a true champ...

---------- Post added at 04:05 AM ---------- Previous post was at 04:01 AM ----------

okay rebooted again and deep sleep is gone
[Galaxy S II Original Android Development] Toss3:
Yup it's not related to fast dormancy, was just a theory. Didn't get deep sleep even though I disabled fast dormancy either.
[Galaxy S II Original Android Development] thanksgiving60:
yup sorry for getting you guys all hyped up for nothing :D
[Galaxy S II Original Android Development] Lownita:
Yes you are right, it doesn't. But that is very strange. It worked after a reboot, then I did the same thing, enabled FD+reboot+disabled FD+reboot and it did NOT work again. :confused::confused::confused::confused:
[Galaxy S II Original Android Development] plocri:
With this kernel and Check ROM, after about 5h of stand by I'm still on 100% battery!
[Galaxy S II Original Android Development] hardcore:
Guys, it could be related to Fast Dormancy. Try it and see if it changes anything.

And if it's related to Fast Dormancy, it means it could be related to the radio ROM. What radio ROM are you guys using?
[Galaxy S II Original Android Development] thanksgiving60:
KI4 cognition 1.5.1