yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] THE RED BLUR:
In all honesty the touch gestures are not that great.

If they are reasons for causing instability and sods we should remove them from code.

You can do similar thing with launchers like apex anyway.

I will now test new voku kernel.

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] kantjer:
+1, I have disabled the gestures in ExTweaks and use the launcher gestures, Nova in my case.

Now testing Voku's 22/8 preview kernel. With the following ExTweaks setting in default profile:

Smooth scaling 800MHz

Gentle_fair_sleepers off (per default)

Gestures off
[Galaxy S II Android Development] kantjer:
One other thing I just realised is that the recent sod's were all when on battery. I haven't had any sod's wile on external power.

I did have a few sod's in the last weeks right after disconnecting from external power.

can anybody confirm this?
[Galaxy S II Android Development] stevtec86:
Info compatibility

Hi Dori, only one question:

i love your kernel, in fact mount the 5.67 rom on 4.0.3 .... I was wondering why it is not 100% compatible with ICS 4.0.3? You can not, therefore, fit well to ICS 4.0.3?

Thanks for reply
[Galaxy S II Android Development] Nitrogen:
+1 few times
[Galaxy S II Android Development] CWobbles:
same here. Lock screen is only time I get freeze and GPS toggle has it's non working moments still.

Samung stock rom 4.0.4 XWLPT

Baseband: I900XXLPS

Kernel 5.67
[Galaxy S II Android Development] zenosteam:
same happened to me on latest version this is why i go back to v5.65.1 the perfect version for me until now
[Galaxy S II Android Development] haramizuki:
I like 5.65.1 too but im getting random reboots with my settings on batt profile. Arent you getting any random boots?

I haven't experienced random boots and freezes on battery profile with my settings on 5.67 and test kernels.

With 8/22 test kernel my phone isn't going to deep sleep.

I haven't installed any new apps since 5.64~ Deep sleep is okay with 5.65.1 I'll try to flash 5.65.1 again and see if I'll get any freezes and reboots. If it does, then its def not because of my settings because im not experiencing any reboots and freezes on 5.67 and test kernels.

Sent from my JELLY BEANY PARANOID S2
[Galaxy S II Android Development] azz_kikr:
For me the 5.67 has no more issues....

i just disabled the gestures... dont use them anyway...

only thing i have...is when i restart phone. it asks for pin... if i let the screen go out then witouth entering the pin... the phone hangs... if i enter the pin, no problems at all, so its only a minor issue... tought i'll report it..

(stock 5.67, latest cmiui)

good job:good:
[Galaxy S II Android Development] kantjer:
And again I had a freeze (22/8 preview) unlocking the screen. The unlock screen appeared and that was it, complete freeze. :crying:

This time the phone wasn't on external power .

I have ran the bug reports in ExTweaks after reboot. I hope they provide useful information.
[Galaxy S II Android Development] THE RED BLUR:
Oh man. Damn so turning off gesture didn't make a difference. Have u tried with cortexbrain off yet?

I'm haven't flashed latest voku test kernel yet I'm still on yesterday's but i'm on my ics rr 2.6.1 rom. I'm on default settings with only gestures turned off. No freeze or sod so far.

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] kantjer:
I tried cortexbrain off yesterday with previous test kernel, no luck, had a freeze within an hour.

I have set the scaling_min_stanby_freq to 200000kHz again. Until now I never had a freeze or sod on any of the recent kernels with that setting.

I'm more and more convinced that the default scaling_min_stanby_freq setting of 100000kHz is just to low for my phone, ROM or config.
[Galaxy S II Android Development] johnbeetee:
...meaning, if I'm reading this right, your having freezes/sod's on RR261 with yesterdays test kernel ?

weird...we're on more or less the same rom and config....I think I had one sod on 5.66 ( but it could also have been due to myself and my experimenting a bit) ...other than that, no issues at all on yesterdays test kernel, running for over a day now....all options, cortex, gestures, you name it....

Any suggestions how I can try to reproduce any, and see if I can help ?

( I'm considering installing RR304 or rootbox22 coming weekend...just don't have the time now...and see what's going on...but if I can try and reproduce it on ICS, it will be great....)

edit: looking at the image you posted, aren't you having a bad reception mostly all the time?
[Galaxy S II Android Development] THE RED BLUR:
No I haven't had any freezes on test kernel on ics. I have had them on jb rom without fail at some point on as posted yesterday.

I was the just feeling for kantjer as I thought the problem was narrowed down to the touch gestures but as he said maybe for jb rom he has to just increase the cpu frequency.

But pigmachine reported some freezes yesterday and he uses rr 2.6.1 I think he is currently running some tests as we speak as he occurred a freeze on it and now turned off some option.

Oh about the reception is just the area and my house as it's just been extended and very thick walls.

As soon as I step out the house its fine.

Will now boot in JB rom and test if i get sod with the cpu frequency increased.

It just could be that is all the problem is so i don't know how are dori and voku are going to know what to change as voku has kindly made two new beta tests and made changes but did he have to make any at all if all the problem was to increase cpu frequency.

As I said before I didn't have problems in ics it just effected me in JB.

Kantjer could u set up duel boot with rr ics 2.6.1 and test to see if u get freezes on that on default kernal settings.

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:
Weird. Ive had 2-3 sod's and freezes with yesterdays test kernel one was while listening to music :/ . Default settings .

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:
Have been on yesterday's test kernel for over 2 hours on my jb rom with the cpu tweaks suggested I've had no freezes or sods so far. :)

Everything all at kernel default even the gesture is on.

I've been Web browsing and using xda app as yesterday when I had the sods.

Main ROM : RR AOKP 2.6.1

2nd Rom : RR JB 3.04 (ONLINE)

KERNEL : Dorimanx 5.67 voku

Modem : BVLP7

Root app: SuperSu
[Galaxy S II Android Development] kantjer:
If it's still needed it can do that Friday, I'm having a company meeting tomorrow all day. So no time to play with my phone ;)
[Galaxy S II Android Development] Krishnadusad:
I completely agree but weirdly i had no sods with min scaling frequency set to 100000kHz with versions 5.65.1 or before :/

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:
But is that on jb rom or ics. I only encountered it on jb myself.

Main ROM : RR AOKP 2.6.1

2nd Rom : RR JB 3.04 (ONLINE)

KERNEL : Dorimanx 5.67 voku

Modem : BVLP7

Root app: SuperSu
[Galaxy S II Android Development] kantjer:
Good to to hear, I'm using the same setting now with today's test kernel, so far no issues.
[Galaxy S II Android Development] Krishnadusad:
Ics. I personally dont use jb much.

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] kantjer:
I was also on ICS before voku's 5.65.1, earlier version weren't compatible with RootBOX JB
[Galaxy S II Android Development] Krishnadusad:
But he does have the scaling min freq set to 100000kHz with which i had an sod :/

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] johnbeetee:
OK....I can reproduce at least one problem causing an sod...just can't be sure it's THE problem that has been causing all the reports lately....

basically it goes like this:

- turn on the screen (leave it on the lockscreen)

- use the 3 finger swipe, from up to down, to turn the screen back off

at some point (depending in what phase cortexbrain was at) it will crash, and doesn't turn on again

This fits a lot of descriptions of the problems reported, as it doesn't occur when on charger, because the cortex sleep phase isn't called in that state.

I've tried a few changes in the cortexbrain script, and this is the one that works for me :

if [ $cortexbrain_background_process == 1 ] && [ `pgrep -f "/sbin/ext/cortexbrain-tune.sh" | wc -l` \< 3 ]; then
(while [ 1 ]; do
# AWAKE State! all system ON!
PIDOFCORTEX=`pgrep -f "/sbin/ext/cortexbrain-tune.sh"`;
for i in $PIDOFCORTEX; do
echo "-600" > /proc/$i/oom_score_adj;
done;
STATE=`$(cat /sys/power/wait_for_fb_wake)`;
PROFILE=`cat /data/.siyah/.active.profile`;
. /data/.siyah/$PROFILE.profile;
AWAKE_MODE;
sleep 15;

# SLEEP state! All system to power save!
STATE=`$(cat /sys/power/wait_for_fb_sleep)`;
PROFILE=`cat /data/.siyah/.active.profile`;
. /data/.siyah/$PROFILE.profile;
echo "${standby_freq}" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq;
# Install ROOT is requested!
ROOT_INSTALL_NOW
[COLOR="Red"]#GESTURE_FUNCTION_OFF[/COLOR]
CHARGING=`cat /sys/class/power_supply/battery/charging_source`;
if [ ! "$CHARGING" -ge "1" ]; then
SLEEP_MODE;
fi;
[COLOR="Red"]sleep 2;[/COLOR]
done &);
else
echo "Cortex background process already running";
fi;

@voku/dorimanx:

1. personally I don't see the need to kill the gesture process, as it doesn't consume any battery (the mechanism is based on the same one used for the cortexbrain loop, which is a trigger mechanism, and not a continous loop (no wakelocks either....)

2. the 2 sec. grace period used in this construct is really needed I think, for the mechanism to re-arm (meaning for one of the polled files /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake to get the chance to be locked by the system, to activate the trigger)

After these changes, I didn't succeed in reproducing the sod anymore.....

Again, I don't know if this is THE culprit we are looking for, but potentially it could be ....

edit: both changes are required ; tested each one individually, but that didn't swing it ....
[Galaxy S II Android Development] kantjer:
Ye but the scaling_min_stanby_freq is set to 200000, please give it a try.
[Galaxy S II Android Development] Krishnadusad:
Just tried reproducing it but got no sod or freeze

Device : GT-I9100

Kernel : DORIMANX 5.67 new

Primary Rom : RR 2.6.1

Secondary Rom : RR 3.0.1

---------- Post added at 03:00 PM ---------- Previous post was at 02:58 PM ----------

I just changed it to 200000

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:
Damit I got my first freeze on jb rom . The screen just froze on the lockscreen and nothing would respond. I had to remove battery. I should have waited before posting. So i think now i will turn off cortexbrain and then gestures if that doesn't work and run more tests in JB.

Main ROM : RR AOKP 2.6.1

2nd Rom : RR JB 3.04 (ONLINE)

KERNEL : Dorimanx 5.67 voku

Modem : BVLP7

Root app: SuperSu
[Galaxy S II Android Development] Krishnadusad:
You should probably increase the min scaling frequency to 200000kHz too

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] johnbeetee:
...keep trying...maybe let it rest and go near sleep phase a while...and try then...It's not consistently repetitive, but depends on a certain transition in cortexbrain
[Galaxy S II Android Development] Krishnadusad:
Oh. Will try reproducing it the way you say master :p :D

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:
U mean the minimum scaling suspend frequency. Because I only did it for the standby one.

Main ROM : RR AOKP 2.6.1

2nd Rom : RR JB 3.04 (ONLINE)

KERNEL : Dorimanx 5.67 voku

Modem : BVLP7

Root app: SuperSu
[Galaxy S II Android Development] Krishnadusad:
Yess

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] kantjer:
That's the exact same thing that happened to me earlier today
[Galaxy S II Android Development] MDE_86:
Also had a freeze on CM9. Also on lockscreen. All settings default. Doris 5.67

Tapatalk / SGS2 / Cyanogenmod 9 Nightly / DorimanX Kernel.
[Galaxy S II Android Development] THE RED BLUR:
Hi. Did u increase the suspend frequency as well at the time because I only did the other one when the crash happened so both have now been increased and testing before I turn off cortexbrain and gesture.

Main ROM : RR AOKP 2.6.1

2nd Rom : RR JB 3.04 (ONLINE)

KERNEL : Dorimanx 5.67 voku

Modem : BVLP7

Root app: SuperSu
[Galaxy S II Android Development] kantjer:
I have now set it also, just to be safe
[Galaxy S II Android Development] cypherlwind:
Does this Kernel supports Rootbox 2.2 JellyBean?
[Galaxy S II Android Development] THE RED BLUR:
Ok mate we are now synchronized ;) at the same time. Hopefully this will do it.

Main ROM : RR AOKP 2.6.1

2nd Rom : RR JB 3.04 (ONLINE)

KERNEL : Dorimanx 5.67 voku

Modem : BVLP7

Root app: SuperSu
[Galaxy S II Android Development] kantjer:
No at the time of that freeze al frequency's where set at default. I increased them after the freeze and only increased the suspend frequency 5 minutes ago. No problems since then.

---------- Post added at 04:26 PM ---------- Previous post was at 04:25 PM ----------

Look at my sig, what do you think ;)
[Galaxy S II Android Development] Krishnadusad:
Guys ive heard about this (from droidphile) could you have a look

http://xdaforums.com/showthread.php?p=23827087

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] johnbeetee:
...and your question/concern is....? :)
[Galaxy S II Android Development] cypherlwind:
Hi Mate,

Sorry, was too tied up with work ... cant read properly ... LOL ... alright I shall try it now see how is the performance. I am currently on Dream Kernel 2.7.1+ :) Thanks Mate !
[Galaxy S II Android Development] Krishnadusad:
Lol sorry i forgot :P could you check if we have this script implemented :p

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] johnbeetee:
The construct used is implemented in cortexbrain and in the gestures script, but if you're worried about this giving problems, rest assured...if that was the case, it would have given problems long ago.

I think the problem pikachu01 is indicating, is probably the same problem Tungstwenty ran into, when implementing his gestures script, for use as an init.d script. But that mystery is solved ; it was due to certain characters used in the comments, but for some reason these were misinterpreted by the shell and causing the hangs at boot (init.d). If invoked in a later phase, like cortex and gestures is implemented in dorimanx, that's ok....

been using such construct's a long time now on different roms, and I never encountered any problems, as suggested in that thread, although I consider pikachu01 as a valued member of xda. I did learn one or two things, thanks to him.
[Galaxy S II Android Development] shawnaye:
Hey guys, i've recently made the jump from fluxi b5 to Dorimanx 5.67, been thoroughly satisfied with the speed of the kernel thus far, no SOD's past day even with -50mv of UV.

Max freq 1000 Min 200.

Smooth Scaled to 800.

Hyper when Awake and Conservertive when in Sleep.

Well i tweaked many other settings like load up etc.

What i really want to ask is, could anyone post a description of Hyper & Scary governors?

Really quite satisfied with this kernel thus far, hoping battery life will settle down SOON! haha.

You guys should share your setups!

I feel more people will make the jump to Dorimanx when they hear enough positive reviews about it!
[Galaxy S II Android Development] Krishnadusad:
Woah !

John you're THE MAN :D: cool:

So we have construct implemented through cortex right ? And we do not need to run the script do we ?

Device : GT-I9100

Kernel : DORIMANX 5.67 new

Primary Rom : RR 2.6.1

Secondary Rom : RR 3.0.1

---------- Post added at 05:18 PM ---------- Previous post was at 05:15 PM ----------

I would recommend using ondemand as the sleep gov as it is highly tweaked by dori for this purpose

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] shawnaye:
will do that now, thanks!
[Galaxy S II Android Development] johnbeetee:
I think you are refering to the Thunderbolt! scripts, but that's a whole collection of optimizing scripts you can configure through a mian script....

but yes...a lot of those optimizations have already been implemented in dorimanx, so no need to use them, they won't make things much better than it already is (...they may even interfere with the dorimanx optimizations, as he fine tuned a lot of them to his own vision and insight..)
[Galaxy S II Android Development] Krishnadusad:
Oh . Sorry then. And thanks for the explanation :D

Oh and btw i just succeed in reproducing the sod as you said.

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] johnbeetee:
Thanx!
[Galaxy S II Android Development] Krishnadusad:
Shouldn't i be the one thanking thee :p

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:
Ok guys I have had another freeze on jb rom even after doing the tweaks to cpu scale.

I at the time was reading johnbeetee great answer about the thunderbolt script and my screen went off as I set to go off after 15 seconds of inactivity and as soon as I pressed home button the the screen just froze on XDA app screen no response what so ever.

As you may or may not know in JB rom u can't properly set the home button action.

On ics it just goes to default action and normally awakes the screen if it goes blank and back to the app I was on.

But in JB it just takes u out of whatever app and straight to ur home screen. Why I pressed it was out of habit as I normally use the power button in JB to awake my phone.

I don't know for sure if this could cause the freeze and sod but if someone else on jb try to replicate.

I will know test with gestures off and then with cortexbrain off now.

Still on voku's test kernel from yesterday for those that haven't read my prior posts.

Kantjer how u doing since we tweaked cpu at the same time. Can u replicate what happened to me please.

Main ROM : RR AOKP 2.6.1

2nd Rom : RR JB 3.04 (ONLINE)

KERNEL : Dorimanx 5.67 voku

Modem : BVLP7

Root app: SuperSu
[Galaxy S II Android Development] johnbeetee:
This fits the symptoms of the problem I described (screen off -> sleep-state activated by cortex -> rapid awake just after).

Are you a bit handy with scripts? or maybe with just shuffling arround files with rootexplorer ?

You could try cortex with the small changes I've made....?
[Galaxy S II Android Development] THE RED BLUR:
Ok that could very well be it. I haven't dabbled in scripts yet. To me it looks like French and i can't understand it yet. But I will try to learn. Until then i will just turn off cortexbrain and see what happens.

JB ain't even my main rom but i thought I would try and help to find and debug this problem. Missing my ics 2.6.1 soo much right now.

Main ROM : RR AOKP 2.6.1

2nd Rom : RR JB 3.04 (ONLINE)

KERNEL : Dorimanx 5.67 voku

Modem : BVLP7

Root app: SuperSu
[Galaxy S II Android Development] Krishnadusad:
:eek: i also tweaked rhe cpu almost at the same time . No problem here though . Sod's are getting weirder

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] johnbeetee:
This problem potentially exist on ics 2.6.1 too....I did reproduce it and confirmed by Krishnadusad....

After the changes, problem gone.....
[Galaxy S II Android Development] KcLKcL:
I had this kind of freeze too. After monitoring this thread for a few pages back, I'm trying to disable Gestures and see if my phone runs much more stable now.
[Galaxy S II Android Development] THE RED BLUR:
Yeah probably yes. Maybe something in the way jb works makes it more susceptible to the freeze and sod.

Because it don't happen too me so easily on 2.6.1. I will try to reproduce what u stated once I'm back to it.

Main ROM : RR AOKP 2.6.1

2nd Rom : RR JB 3.04 (ONLINE)

KERNEL : Dorimanx 5.67 voku

Modem : BVLP7

Root app: SuperSu
[Galaxy S II Android Development] Pigmachine:
went from 80% battery this night.. only to wake up to a 'dead' phone today.. or so I thought, since it didn't respond to anything.

Then I plugged the charger in.. and to my great joy , the charging started.. and I were able to start the phone.. and it really did show 0% battery

Still on Voku's first test-kernel 'Kernel_Dorimanx-SGII-ICS-V5.67-T-11-01-D-21-08'.. will monitor the deep-sleep today, instead of freezes :confused: :p
[Galaxy S II Android Development] THE RED BLUR:
Yeah but i'm not worried about it on ics 2.6.1. It's only rr jb 3.04 where it's happening for me.

If u ain't testing that rom please do or the 3.01 one ur on.

Main ROM : RR AOKP 2.6.1

2nd Rom : RR JB 3.04 (ONLINE)

KERNEL : Dorimanx 5.67 voku

Modem : BVLP7

Root app: SuperSu
[Galaxy S II Android Development] Krishnadusad:
Ok. Booting to 3.0.1 now to see if sod occurs again

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] johnbeetee:
:) okay...I'll just post this for anyone who feels like trying it.... I'll describe the steps using rootexplorer convention:

1. unzip attached file ; it's the cortexbrain scripts with the small changes I posted earlier

2. using rootexplorer (or similar) goto to where you unzipped it

3. copy

4. goto /sbin/ext (stepping into /sbin might take a jiffy ; lots of small files...)

5. paste and overwrite the existing one (don;t worry, if anything goes wrong, after reboot, you get the original one back

6. longpress the file for options

7. permissions -> change to rwxr-x-r-x or with the checkboxes looking like this :

xxx

x0x

x0x

8. longpress again, scroll down to change owner

9. change owner and group both to 'system ' (as the original cortex file

10. close explorer

11. open extweaks

12. disable cortexbrain and wait a couple of seconds

13. enable cortexbrain

14. done

...and off you go testing again......:)

keep in mind this changed version will be overwritten by the original after a reboot....
[Galaxy S II Android Development] Krishnadusad:
Ok now lets try replicating the sod. What were you doing when you had sod ?

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:
Mainly most of the times I was connected to wifi and using xda app and reading posts.

Main ROM : RR AOKP 2.6.1

2nd Rom : RR JB 3.04 (ONLINE)

KERNEL : Dorimanx 5.67 voku

Modem : BVLP7

Root app: SuperSu
[Galaxy S II Android Development] kantjer:
done and testing. I will keep you informed
[Galaxy S II Android Development] Krishnadusad:
I have tapatalk :/ . Installing the xda app will be reporting soon.

Device : GT-I9100

Kernel : DORIMANX 5.67 new

Primary Rom : RR 2.6.1

Secondary Rom : RR 3.0.1