yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] azz_kikr:
for me the 5.67 kernel is working fine... except for some reason it hard ever uses deep sleep....

it always goes back to 100Mhz.... but no deep sleep.

all settings are default/using defaults profile.

on kernel 5.64, i didnt have this issue....

al the software is the same as on 5.64

//for some reason its tapatalk holding the phone in 100mhz...but on the older it goes into deep sleep with no problems...
[Galaxy S II Android Development] THE RED BLUR:
Thanks its not working fine is it:confused:

Need to provide more info next time like what rom are u using.

All the dorimanx kernels for the last few months deepsleep has always worked.

You may have issue with rom or u need to look at if an app is preventing deepsleep.

You may need to do a full wipe installation of Rom and kernel.

Main ROM : RR AOKP 2.6.1

2nd Rom : RR JB 3.04

KERNEL : Dorimanx 5.67 voku

Modem : BVLP7

Root app: SuperSu
[Galaxy S II Android Development] Krishnadusad:
You may also see if your port has something wrong like mine did . Check if it shows the charging sign even when not connected to the charger.

Device : GT-I9100

Kernel : DORIMANX 5.67 new

Primary Rom : RR 2.6.1

Secondary Rom : RR 3.0.1
[Galaxy S II Android Development] THE RED BLUR:
Yeah of course silly me for not mentioning that since I just overcame that issue;) U see u are a fellow geek.

Ok back to testing voku's new test kernel. I experienced my first Sod in JB rom. I'm on default settings with the exemption of oc to 1400.

I was using xda app via wifi at the time and the screen is just blank. Its on because i plugged into the pc and it made that connected sound on pc but no screen. I tried to call my phone and it is ringing but no sound from phone coming. The screen is just black.

So there still is an issue i suspect with jb roms at least. Im gonna boot back to my ics rom now and just try not reboot phone as long as possible and stay on that to see if a freeze occurs via xda app.
[Galaxy S II Android Development] azz_kikr:
i'm using cmiui latest ICS rom...

i have flashed the 5.64(after using the kernel wiper), cleared cache....,started phone, wait for like 30 mins, and go cying in cpu spy and i see that its been in deep sleep for like 25 mins.

i reflash 5.67 (after using kernel wiper), cleared cache. started phone, wait for like 30 mins, and then by going into cpu spy, it has been like 25 minutes in 100mhz mode.

when going back to 5.64, everything is the ok again.... no change in soft/rom/.... only kernel flash....

i know, its very weird... it looks like tapatalk keeps the 5.67 kernel awake, but doesnt keep the 5.64 awake for some odd reason..

i disabled tapatalk for now for notification checks..
[Galaxy S II Android Development] THE RED BLUR:
Thanks. That's a better debug. :thumbup:

Um that's strange. U could try voku1987 new test version of Kernel and see if it goes into deepsleep.

Do ur normal kernel clean stuff and clear kernal profile and fix permissions.

1st ROM: RR ics 2.6.1 ONLINE

2nd Rom : RR JB 3.04

KERNEL : Dorimanx 5.67 voku

Modem : BVLP7

Root app: SuperSu
[Galaxy S II Android Development] chule250:
That´s great battery life! are you using stock battery?

Could you please post your settings? like ex profiles.. UV? governor? CPU max speeds? brightness? gpu settings? where´s the magic!?

Im using The same rom and kernel as you, roms included radio, and even when i dont make any calls, i just use facebook or whatsapp, but i cant get 2 days of battery even with low brightness.

Thanks in advance!
[Galaxy S II Android Development] jomaga:
Facebook is a great battery eater, Google Chrome is another one

You can reach Pigmachine's performance using your phone as a phone. If you want some gaming + facebook + browsing the web, all with moderate use you'll wont get more than 15-20h, don't matter wich kernel tweaks you apply. There's no magic: 2 days or more = phone idle almost all the time

I have 95% deep sleep overnight, with low % loss (Dorimanx 5.67), My battery stats are now over 20h (19% batt left) and 1h58min af screen time with moderate use (flipboard, internet, some calls, some gaming)
[Galaxy S II Android Development] chule250:
thanks! i know is boring to read only post about battery life, but i think we all care about it until we find the settings that match our usage.

I must confess i didnt even calibrate the battery with my last rom flash. I should do it, although I dont think that will help that much.
[Galaxy S II Android Development] jomaga:
You can try with Scary in both Default and Deep sleep governors (the one I have now). Very happy with it
[Galaxy S II Android Development] haramizuki:
Using Voku's test kernel. No sods as of yet. But there are times that backlight turns on even when it's set to always off. It doesn't turn on on screen-on, but when screen is off and is just sitting quitely, backlight and screen suddenly lights up. It happens randomly. Didnt encounter it on 5.67 and I didnt install any new app. Well it's a test kernel after all, just want to share my experience. Will just wait for 5.68 and I feel it's very soon. ;)

Edit: after unplugging, i haven't yet encounter the random bln + screen on.

Sent from my JELLY BEANY PARANOID S2
[Galaxy S II Android Development] Ryther:
With CM9 an N.E.A.K. kernel 2.0.6 i got 1d 13h of battery, always on 3g/wifi (even over night) with almost 4h with screen on...

Tonight I was on CM9 and Dori 5.67 and lost 19% on wifi while reading on manga watcher for 1,10h and youtube for 20m with lowest brightness and screenfilter on at standard value... and I lost 6% battery over 6hour of sleep in airplane mode, this mean I even had some problems, mainly with AudioOut_1 (I have all the audio mods like sound on press and on lockscreen disasbled).

Now after almost 20h, some flashing (and still having problems on the battery side) and another hour of screen on I'm at 38%! As you can see I think you have a problem on your side :D Which settings are you using? Which ROM?

I'm using this settings (what I've changed from stock values):

15 steps (gonna try 6 for better battery life)

200-1000 mnhz screen on

Conservative gov screen on (now on HYPER for testing

FOR GPU:

133mhz (800mA)

160mhz (800mA)

200mhz (850mA)

Gpu threshold:

1-UP: 85%

2-DOWN: 60%

2-UP: 95%

3-DOWN: 70%

Thresholds need to be tested :p

Gentle Fair Sleeper 1

sched_mc 2

Min_Gamma: 0

Max_Gamma: 10

BLN and touchkeys always off (I know where they are better than I know my GF :p )

WiFi scan interval: 180sec

zRAM 150mb

CPU Voltages (with SetCPU):

100mhz (800mA)

200mhz (825mA)

300mhz (850mA)

400mhz (875mA)

500mhz (925mA)

600mhz (925mA)

700mhz (950mA)

800mhz (950mA)

900mhz (1000mA)

1000mhz (1075mA)

Well... all this post to say that battery life seems pretty impressive on this version of the kernel :D now i give a shot to RootBOX ICS 1.7 to see if i can improve even more :D
[Galaxy S II Android Development] Krishnadusad:
You may want to enable Force wifi if you're a battery freak like me :)

Device : GT-I9100

Kernel : DORIMANX 5.67 new

Primary Rom : RR 2.6.1

Secondary Rom : RR 3.0.1
[Galaxy S II Android Development] voku1987:
+1 ;)

... and you can also disable zRam because this need more cpu-usage then without compressed memory.
[Galaxy S II Android Development] NuclearBastard:
Yo Dorimanx, my favorite developer!

I flashed 5.67 on my CM9 after a clean installation (all wipes + system format), and we the default preset, I get SOD.

My cpu is uv'ed by -75, tried putting it on 0 and it still sods...

only when I disable cortexbrain everything is fine.

What gives?

Thanks!!
[Galaxy S II Android Development] voku1987:
thx for testing ... in the past we also had problems with the "cortexbrain-background-process" & auto edit CPU-settings while screen on/off ... so maybe we restored to much :P -> https://github.com/voku/initramfs3/blob/master/sbin/ext/cortexbrain-tune.sh

PS: can someone please confirm that we have SOD with "cortexbrain-background-process"?!? Thx!!!
[Galaxy S II Android Development] Pigmachine:
Very little screentime these days. I know I'm now fully utilizing the phones potential but I use it mainly as a phone.. in 2 days I only have around 1 hour screentime :cyclops:
[Galaxy S II Android Development] Nitrogen:
Damn! 3rd freeze today :(

Going back to 5.65
[Galaxy S II Android Development] kantjer:
Hi Voku,

I have been running this preview kernel now for almost 7 hours without any problems.

Default profile, only set smooth scaling to 1200, cortexbrain enabled as per default.

Everything is working data, BT, wifi, GPS etc. With al the earlier version I needed to set min. suspend and standby frequency's to 200MHz otherwise I had a Sod within the hour. With the test kernel both frequency's are set to 100MHz and no problems.
[Galaxy S II Android Development] Ryther:
No thanks ;) I love to be always online, I even use easy battery saver to sync on mobile data "only" every 15min! I'm a battery freaks, when the battery doesn't impact functionality!

EDIT: On HYPER and 6 freq steps i have a really big drop in performance, anyone can confirm this? Thanks :D

EDIT2: On conservative and 6 steps no problem!
[Galaxy S II Android Development] kantjer:
I have an idea why more people are suffering from freezes and sod's with kernels later than 5.65.

Before installing Voku's test kernel I was testing ExTweaks setting because I was also suffering from sod's

I noticed that after setting the scaling_min_standby_freq to 200000kHz and keeping scaling_min_suspend_freq at 100000kHz my phone was stable.

I then had a look in CPU Spy and noticed that with that setting the 100MHz was hardly used, it stood in the list as used frequency but with 0% utilisation.

If you look in de change log you will see that Dori changed the default scaling_min_standby_freq to 100000kHz starting 5.66.

Coincident ?????
[Galaxy S II Android Development] chule250:
i´ve noticed 2 problems, on my RR with .67. When i set the max speed to 600mhz for example, with hyper (i havent tried with other gov) it jumps to 700mhz every time i use the screen. And when i try to use 5 steps, also with hyper and default settings other than 200-1000mhz, it stays on 200mhz and doesnt go any further.
[Galaxy S II Android Development] voku1987:
first rule!!! -> don't change any settings if you don't know what causes it ... or test it (I do it as well :D ) but then please don't report nonexistent bugs ...

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

"700mhz every time i use the screen" -> touch sreen cpu-freq (take a look at ExTweaks -> Screen)

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

"when i try to use 5 steps ..." -> ? -> upload your current profile, so that we can see what you have done ;)

https://github.com/voku/initramfs3/blob/master/res/customconfig/customconfig.xml ->

6 (1200-1000-800-500-200-100MHz)

7 (1400->100-7-Steps)

8 (1500->100-8-Steps)

9 (1500->100-9-Steps)

15 (1500->100-15-Steps)

-----------------
[Galaxy S II Android Development] FeuchtVonLipwig:
also froze for me one time now :/
[Galaxy S II Android Development] Krishnadusad:
Please take time to read the brief description of all settings available. Force wifi doesn't turn you offline :/

Device : GT-I9100

Kernel : DORIMANX 5.67 new

Primary Rom : RR 2.6.1

Secondary Rom : RR 3.0.1

---------- Post added at 04:50 PM ---------- Previous post was at 04:28 PM ----------

@Voku could you tell me where is the file created when we click on the kernel/app bug ? Thanks :)

Device : GT-I9100

Kernel : DORIMANX 5.67 new

Primary Rom : RR 2.6.1

Secondary Rom : RR 3.0.1
[Galaxy S II Android Development] Pigmachine:
After 4 spontaneous hangs in a few hours time.. I jumped to the Voku test-kernel
[Galaxy S II Android Development] Ryther:
The description say: enable or disable "wifi turn off while screen is off"-function; so, if I enable it, while my screen is off my wifi is also off -> not connected to internet. Correct me if I'm wrong. Maybe I've translated it wrongly :p
[Galaxy S II Android Development] voku1987:
"Force wifi doesn't turn you offline :/ " -> I have optimized the function :) -> so that it really disable Wifi if screen is off and enable it again if screen is on (only if Wifi was enabled, before screen goes off -> then Wifi will automatically enable again)

"Voku could you tell me where is the file created when we click on the kernel/app bug ?" -> /sdcard/ ;)
[Galaxy S II Android Development] THE RED BLUR:
When it hanged what where u doing at the time. I'm on voku kernel at the moment and no problems on ics but when I was on jb rom earlier it froze when I was using xda app.

1st ROM: RR ics 2.6.1 ONLINE

2nd Rom : RR JB 3.04

KERNEL : Dorimanx 5.67 voku

Modem : BVLP7

Root app: SuperSu
[Galaxy S II Android Development] Krishnadusad:
So you require wifi even when screen is off ? O.o do you download much ?

Device : GT-I9100

Kernel : DORIMANX 5.67 new

Primary Rom : RR 2.6.1

Secondary Rom : RR 3.0.1

---------- Post added at 05:51 PM ---------- Previous post was at 05:48 PM ----------

I knoww its function and i love it :p :)

Oh thanks :) . Love the debug option . Can we change the destination though ?

Device : GT-I9100

Kernel : DORIMANX 5.67 new

Primary Rom : RR 2.6.1

Secondary Rom : RR 3.0.1
[Galaxy S II Android Development] Pigmachine:
Different things all the time, once when hanging up the phone. once when waking up the phone once when plugging it into the computer and once just to piss me off

And test-kernel just hung too this minute, when waking it up with home-button!? I'm using Gentle_Fair_Sleepers .. since I have no problem with UI speed.. will try to disable it once
[Galaxy S II Android Development] voku1987:
... can you please test it again with disabled "cortexbrain-background-process". Thx!
[Galaxy S II Android Development] Ryther:
No, but if you want notifications from the apps (like Facebook, whatsapp etc) you needs an internet connection :p having Wi-Fi and sync while screen is off take 1% battery per hour, so it's not a big drainer ;)
[Galaxy S II Android Development] Krishnadusad:
Just a matter of personal opinion ;)

Device : GT-I9100

Kernel : DORIMANX 5.67 new

Primary Rom : RR 2.6.1

Secondary Rom : RR 3.0.1
[Galaxy S II Android Development] voku1987:
why you want to change the destination of the log? Maybe wie can rename it to "Debug To SD-Card" so that everybody knows the location of the logfile ...

PS: I missed Rom-Info in the debug-log :P and if someone missing other info, then please report it ...
[Galaxy S II Android Development] Pigmachine:
Will try it without Gentle_Fair_Sleeper for a while first.. if it hangs again, I disable cortexbrain-background-process..

I currently wake it up after it goes to deepsleep every 6 minutes.. and no hang so far, but it wasn't possible to enter extweaks while having terminal explorer running? (running logcat to file) It said extweaks don't answer, report/close/wait
[Galaxy S II Android Development] nitinvaid:
Is there any way so that I can switch to default Samsung light sensors values
[Galaxy S II Android Development] Krishnadusad:
:thumbup: :thumbup: it takes quite an effort even to read it i wonder why devs like you and dori not classified as SUPERHUMANS . What a comprehensive debug :eek: but i think apart from rom info it misses the info that does the user have dual boot and the profile selected by the user from recovery. I maybe wrong though.

Device : GT-I9100

Kernel : DORIMANX 5.67 new

Primary Rom : RR 2.6.1

Secondary Rom : RR 3.0.1
[Galaxy S II Android Development] Flint2:
SOD with V5.67-T-11-01-D-21-08

After 6 hours of moderate use (aprox 20 normal wakeups, enabled, disabled wi-fi and data several times) had SOD (black screen, not responsive, adb not connecting) with kernel:

Linux version 3.0.41-Siyah-Dorimanx-V5.67-SGII-ICS (lars@****UP) (gcc version 4.7.2 20120701 (prerelease) (Linaro-A9-XX.2012.07) ) #25 SMP PREEMPT Tue Aug 21 11:00:57 CEST 2012

now disabled cortexbrain and testing...

attached new dorimanx_debug
[Galaxy S II Android Development] ludester:
All stock no tweaking I just had my phone go into an infinite vibration.

All I did was go to unlock the phone. No debug logs :(
[Galaxy S II Android Development] johnbeetee:
small tip for smooth_scaling values

For those of you experimenting with the smooth_scaling setting in extweaks, here a small tip :

Stock device ex-factory with stock rom, knows only 5 freq steps ; 200 500 800 1000 1200. For some reason samsung chose these steps, and thats probably because of their stability (proven in their labs, I guess...). Consider these 5 values as strong and reliable freq's.

All others were intorduced by custom kernels, and in theory their ok for use as a transit freq's going from low to high and back, and jumped on once in a while.

Setting one of these extraneous freq's ( not one of the 5 strong ones...) as the smooth_scaling value can at occasion present a problem, because of their weakness, depending on your device (hardware components). Because this freq. (smooth_scaling) will be jumped on more frequently than in normal other usage. A workaround would be to overvolt this particular freq. and making it stable.

These weaker freq's will become more apparent in case you undervolt, especially using an even spread decrement, as used in extweaks.

So as a general rule of thumb for smooth_scaling value: use one of the 'strong' freq's, mentioned above, or if after setting one of the other values (nothing else changed), you notice a tendency towards freezing/hick-ups/or any other glitches, try overvolting that freq. a notch. This is device dependent, so it can work just fine as it is, but it could be something to consider, if your having any misbehaviour.

(this tip inspired by debug file posted by Flint2 ; had a quick glance and this was one small detail I noticed)

( I use btw 200....)
[Galaxy S II Android Development] xxvitaljaxx:
.

Had the same problem.first time while going to unlock the phone.

second time after receiving a message and third time after starting

to charge the phone.stock 4.0.3 with 5.67 dorikernel nothing changed in extweaks

everything on default back to 5.64-»no problems so far
[Galaxy S II Android Development] Pigmachine:
Efter disbling Gentle_Fair_Sleepers (that I always used) I haven't had another hang for quite a while now.. (on test-kernel) will keep trying it :fingers-crossed:
[Galaxy S II Android Development] kantjer:
I had 2 sod's this evening running the test kernel, the first was with cortexbrain-background-process enabeled. This was running stable since this morning but tonight I had a sod.

Second time was with cortexbrain-background-process disabled like you asked.

In both situations al cpu settings in ExTweaks were left at default.
[Galaxy S II Android Development] blaex:
hows is the best gpu three step setup for battery safeing?

66 133 200 ?

thanks for sharing ur experience
[Galaxy S II Android Development] :
Just had 2 complete freezes 1 right after restarting.
[Galaxy S II Android Development] lakicamm:
hi there :)

i registered recently, and finally got 10 meaningful posts, so i can try to contribute to this great thread :)

i used fluxxi kernel, and switched over to doris at v5.3 or so... and tried almost every kernel version since. some of them were more successful than others, of course, but i really appreciate the efforts of the devs and all users, and somehow its now clear that this is the only kernel with future :)

anyways, i will try to help as much as my knowledge allows me to, so here are my latest experiences:

5.65 -> way improved battery life

5.65.1 -> had some problems, random freezes and occasional slowdowns, resolved with screen off-on, so i had to get back to 5.65

5.67 -> similar to 5.65.1, with 2 sods and one 10 seconds vibration during wake-up

5.67 by voku -> so far so good, no sods, no vibrations, no slowdowns

i'm using rr v2.6.1 with xxlps, no uv, no oc or dc, hyper gov with sio scheduler, ondemand for deepsleep, cortexbrain on, mainly default settings

i'm also medium user, with lots of opera browsing (opera is pretty cpu/battery intensive tho), some gaming, video and music playback, so battery life during usage is also important to me (deep sleep is always important to everyone heheh), and that goal was achieved at 5.65 or even 5.64, cant remember exactly...

there are few things that are bugging me:

- bln never worked for me the way it did with fluxxi, although test bln works, for example (missed call bln that is)

- even that i googled a lot and searched all over xda, i didnt find precise explanation of mc_sched, especially mode 0 and 2 (mode 1 is well explainded)

- i'm so used to new gestures and i love them, i even managed to make my own gestures, but i lack knowledge for actions...would be nice if someone could make trigger for torch on/off

- zram is set to OFF, but zram stats give me -> FIX ME! implement ttyname() bionic/libc/bionic/stubs.c:432 error ... dont know if its normal when zram is off

anyway, keep the good work, and as i said, i will try to help as much as i can :)
[Galaxy S II Android Development] voku1987:
ok, I haven't any problems so far but I have build a new preview-kernel and revert some build-flags that maybe not good for all roms/devices.

download:"Kernel_Dorimanx-SGII-ICS-V5.67-T-02-23-D-22-08.zip"

-> http://samdroid.voku-online.de/index.php?action=list&dir=SGS2&order=mod&srt=yes

+ changed compiler-flags -> https://github.com/voku/siyahkernel3/commit/c0bd6501131c604b4fbf57ddc0f9e30a1c748ec3

+ testing some video fixes from dreamkernel-ics -> https://github.com/Talustus/dreamkernel-ics/compare/e8cc0f5534...e702cb0016

+ added Rom-Info for the debug-logfile via ExTweaks App -> https://github.com/voku/initramfs3/commit/0d9167533a55f59848ac63ad82845934e1548a90
[Galaxy S II Android Development] Flint2:
Thank you very much!

New kernel installed and testing.

This time with Reset ExTweaks Profiles, las time i don't know why smooth_scaling was set in 1500 and i think is better 800

I will test with cortexbrain and gestures enabled, if SOD or Freeze i will disable gestures and if still problems disable cortexbrain.
[Galaxy S II Android Development] Pigmachine:
Still no freeze on first Voku test-kernel, with Gentle_Fair_Sleepers off. But had none the first day with 5.67 the first day either.

Will report back on the matter tomorrow :p
[Galaxy S II Android Development] yeeahnick:
Im also getting complete freezes once in a while.

Also is it normal if every RR mod/boot animation i flash just doesnt take effect... Then i flash siyah 4.0.1and flash the same mods and it works...
[Galaxy S II Android Development] haramizuki:
I havent encountered sod/hang/freeze with test kernel. Tried it with ondemand and scary gov. I use battery settings using :

200-800mhz 15steps scary/noop -75UV 200mhz smooth scaling, GPU: 66/133/267-800/900/1050, cortex is enabled, and auto wifi is disabled.

That's my setup ever since. I did experience reboots on 5.65.1 but not on 5.67 and test kernel. Currently on test kernel and so far so good. Still drains a lot on screen-on after long hours of deep sleep. I feel that 5.65.1 has better battery for me, although it has problems with random reboots.

Edit: I'm using voku's 8/21 test kernel yesterday. I'll download 8-22 test kernel now.

Edit: I think with 5.65.1 or 5.65, it doesn't drain battery that much on screen-on after deep sleep.

Sent from my JELLY BEANY PARANOID S2
[Galaxy S II Android Development] Flint2:
Had SOD, this time with USB and ADB shell and logcat connected , this is one of the few process alive:

3091 root 1880 S cat /sys/devices/virtual/misc/touch_gestures/wait_fo

Attached complete logcat since boot to sod

Now testing with disabled gestures, if i experience sod or freeze i will disable cortebraxrain
[Galaxy S II Android Development] KcLKcL:
I've got too much SOD and unrecoverable freezes too when using 5.67. These happen when I was away from home so I couldn't do a logcat.

When I was playing temple run, the phone even freeze like the sound is looping and struttering, like when a PS1 game hangs and the sound looping over and over again