yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] officiallyme:
dori, more of a request or question about doability than a bug, but i have noticed that my phone only ever goes to 1.5GHz if an app gets stuck.

well, in everyday use i mean.

like i wsnted to restore an app via titanium backup and it got stuck and ran on 1.5GHz for 5min.

is there any way of having the kernel detect how long a single process is using a specific cpu state and then scaling that process down?

maybe with a whitelist feature?

just curious as i am running performance profile and like the speed of it but of course the drain in those cases is immense :)
[Galaxy S II Android Development] dorimanx:
News update!

Kernels 8.25 and 9.25 ONLINE!

We have worked hard on this release to fix some known reported bugs

And seems that all is great now! :)

This is post 24000 :highfive::laugh:

Change Log:

*Fixed Slide2Wake bug that was holding touch screen active in call and we could hangup the call by cheek :) not any more! so i have enabled the mod in performance profiles.

*Alucard fixed all active govs to operate with hotplug and remove there stuff from ram when we change from gov to gov in cortex or by hand.

Now all fixed and working great!

*Fixed small bugs in INIT scripts and cortex script.

*Added new updates to logging system we have max update from 3.10.y!

effect dmesg and logcat and last_kmsg

*Fixed random reboots! and small lags.

*Added button in CPU voltage tab to check CPU voltage Group, if your CPU is Number 1 or 2, you must have more voltage on each freq to be stable! it's not my fault that your CPU is hungry for power! read the description!

*Updated the WIFI driver, some users may now get it working as should.

*Removed some junk logs from kernel messages.

*Added new Kernel debug log that generate LAST KERNEL LOG before phone STUCK or Rebooted! so now you can show us what was the problem! and we can try to solve it. read the button description in Stweaks Debug tab.

*Fixed missing symlink in SAMMY roms config that prevented some apps to find the external sdcard and write some stuff there, now will be OK.

*Big_Bun fixed the kernel check button in Stweaks, now works for all roms!

*Tuned RAM tuning to give more smooth performance in expense of free RAM.

we have good OOM service that will take care of things.

*Ported Dynamic File System Sync code from Faux123! now filesystem will be in sync when we turn off the screen, so it's speed up the I/O, also will be auto in sync at reboot or kernel panic!

*Fixed big SDCARD initialization problem, and set reasonable timeout in driver.

This may fix some SODS if using BIG sdcards that have low quality. (crappy cards! :) )

*Restored Power savers to reduce power drain on sleep/awake.

Have fun people! :)

Report and support us! :)
[Galaxy S II Android Development] dorimanx:
if system need full power and you allow it!

then full power is used!

you can reduce CPU speed in STweaks, till you finish some task to save power.

no white lists in kernel.
[Galaxy S II Android Development] eskriminal:
new release smooth so far, the cpu grouping check in stweaks isn't working here, just get a black box, no text as popup

thanks for the work dori!

should include the deletion and addition count in changelog to show how much you did in that one commit, you worked like a beast on that one
[Galaxy S II Android Development] fatjoez:
this kernel is simply awesome.

thanks for all the hard work. flashing 9.25 now,

running rootbox v4
[Galaxy S II Android Development] Nos_20:
Working here....

I seem to be in lucky group 4!

Sent from my GT-I9100
[Galaxy S II Android Development] officiallyme:
mine shows nothing either
[Galaxy S II Android Development] Nos_20:
If it is not showing anything try flashing hawkers gs2kernelwipe.zip first.

I did and all seems to be working great!

Sent from my GT-I9100
[Galaxy S II Android Development] leechseed:
Working here - Nr. 2 :(

never had SoD, i was used to Phenomenal Extreme (very UV), so dunno if its really related..

Also used KernelWIPE from hawk this time :thumbup:

Greetz

SlimBean-b5|Dorimanx9.25|i9100¬Tapa2
[Galaxy S II Android Development] officiallyme:
kernel wipe scripts should not be needed with dorimanx kernels as it does the cleaning itself.

plus coming from doriman there shouldn't be anything to clean.
[Galaxy S II Android Development] 99x:
It's all about group 5 :p
[Galaxy S II Android Development] dorimanx:
Groups 1 and 2 are not BAD or something, just from long experience seems that CPU need more POWER, and it's also set by SAMMY devs, not invented by me...

so it's just like that, more close to 0 group, more power added per freq!

if no SODS, then just be happy, :)

And i see that TEST for Voltage Group will work only after reboot!

then the log just deleted and replaced by other things and we get blank box in stweaks.

i will fix it! in next kernel it's will be constant.

EDIT. FIXED:

https://github.com/dorimanx/initramfs3/commit/609224507d63a4068601d7853a9838cdc50bbd66
[Galaxy S II Android Development] infatality:
I'm in group 2 and never had any sod when under-volting.. Everything seems fine since I started using this kernel months back..
[Galaxy S II Android Development] leo2589:
Group 3 here... I have set from two releases an uv of 25mv on the key freqs that dori says in the 9.23's changelog... Other freqs 50mv.. Every gpu's freqs -50mv.. No Sod.. The Dorimanx works well :D:thumbup:

Sent from Tapatalked JB GT~i91x10²​

​
[Galaxy S II Android Development] eskriminal:
so fast as usual, great work

EDIT: yep reboot fixed it, group 3 it is

figures since I use -100 uv, except on pesky 500 mhz which refuses to take more than -50
[Galaxy S II Android Development] jgcaap:
the issue is that with dorimanx kernel, you use all frequencys at its full capacity. On the other kernels, they usualy raise up so quickly that it wont even have time to match its full power, and thats why it'll seem you'll be having SOD because of kernel. When in fact is because the other kernels wich you've been using does use some frequencys at its full.

I've discovered this, when i was using siyah, and i could undervolt some frequencys and never had sod, but i had sod with dori. So i tested quite alot, till i found out was voltage related. Later i started to check the logs, and i saw this, on dorimanx, you'll see CPU hitting all frequencys between 200-1200 (or in my case 1400) . And on siyah, the 300 mhz, 400 , 700, 900,1100 where almost never used or even never used. Thats why i didnt get sods.

Dorimanx kernel is very powerfull because of this... Saves you alot battery compared to others :)

Hope it help take conclusions. :)
[Galaxy S II Android Development] mduma77:
Just go to recovery and reset stweaks profiles.

By the way... thank you master Dori and team. Everything A.O.K. :)

If I helped hit thanks.
[Galaxy S II Android Development] d_Schizzo:
Hi Dori,

thank you for the new kernel!:good:

Unfortunelly i had a freeze and had to reboot. The good thing is, that the last-kmsg feature in stweaks works as it should.:laugh:

Log attached
[Galaxy S II Android Development] bogdan1980:
I update kernel, at logo phone shutdown. Start again, remain at logo forever. Then manage to enter os, but after i plug phone to wall charge, phone died. If i start it again it died when phone sleep, then it reset my os.... I have backup.

http://db.tt/NnIaoGIc

http://db.tt/uHxUNshq

http://db.tt/fjIj9Ztw

Funny thing is that i never receive sod, freeze, etc on >8.10 til 8.24(included)

Galaxy S2 powered by Dorimanx!
[Galaxy S II Android Development] Tak3r07:
Okay new kernel works fine, no sods yet BUT:

After reboot, some of my app data is lost, for example whatsapp+ data. 2nd reboot has forced gsam battery widget to reset its data

Dunno which apps are affected aswell.

Maybe refers to the new update with the new dynamic file system sync by faux123?

Gesendet von meinem GT-I9100 mit Tapatalk 2
[Galaxy S II Android Development] JokerAce:
New Kernel, new excitement, let's direct it to the right place! See you guys at the..

[Kernel][ICS/JB]Dorimanx Q&A / Discussion thread | Non-development posts
[Galaxy S II Android Development] valerio65:
Guys, when I click the kernel that I want, I'm redirected to a post where there isn't any download link? What have I to do? :confused:
[Galaxy S II Android Development] dorimanx:
Read the red words Above change log links!

Why people so careless, i think best if you will not install it and just keep the stock.

Sent from my GT-I9100
[Galaxy S II Android Development] mario_21:
Hi Dori, I installed v 8.25. Unfortunately I have a bootloop with this version. I tried to reset stweaks, init.d, I used gs2kernelwipe but no luck. But problem is that if I go back to older version (8.24 worked fine for me), I still have bootloop and my phone doesn't want to boot. Doesn't matter which version of your kernel I use... Do you have any idea how to resolve it? Thanks in advance.

Edit:

So I had to restore my CWM backup and I'm back on 8.24 which works perfectly. It looks that during flashing new version something was corrupted...
[Galaxy S II Android Development] MICa.fighter:
i just flashed 9.25 after 1st boot some apps behaved weird, light sensor showed max value in dark room. fixing permissions in cwm and reboot fixed everything. great work as always :good: thank you dori, voku & allucard and everybody else who contributes to this awesome kernel :)

ps very coool pic on OP :D :D :D
[Galaxy S II Android Development] valerio65:
Usually I read the top informations about any thread, and I search very quickly the download links, without read the rest... It's a my characteristic the "hurry" ... sorry :o
[Galaxy S II Android Development] dorimanx:
You will have to read all about any thing you will want to mod in this kernel, or very very fast you get in trouble, and say, this kernel is bad.

Read! ask later.

Sent from my GT-I9100
[Galaxy S II Android Development] ferxx17:
Hi dori your kernel is awesome i tried the version 8.25 and its fast amd really stable i dont experienced any lag but when i put to sleep my phone

When i listening music the music stop suddenly 1 second or hear like i pressed the pause button four times or something like that i only want

To report that and thanks for the kernel
[Galaxy S II Android Development] nicola1989:
same problem here some one say how to fix?
[Galaxy S II Android Development] MICa.fighter:
you know its not really helpful without a log, and also it doesnt belong in the dev thread w/o a log, please use support thread next time. and try increasing min cpu freq in stweaks.

just got a soft reboot, phone is on charger btw.

one question: if i already have a last kmsg from stweaks, and i make a new, it rewrites the old one right?
[Galaxy S II Android Development] dorimanx:
when screen turn OFF system sync the filesystem, and when music play it's stop streaming to sync as should,

for now it's cant be fixed... but i will think of something...
[Galaxy S II Android Development] dorimanx:
each time you push the log button it's cat all last_kmsg to NEW file in sdcard!

but content will be the same or + 2~3 new lines that written to log already

Kernel has watchdog deamon that seek HARD lockups and reboot to prevent SOD and dead battery after short time, and you will notice when device is long time dead.

so best to reboot, now WHY, that can be bad written APP or BUG in ROM that stuck some service and watchdog notice it, and reboot after delay... if not unstuck

i will see you log, thanks.

EDIT:

in log i see

Disabling non-boot CPUs ...

<4>0Restarting system with command 'recovery'.

seems that you have rebooted to get to recovery, or some app done that,

no errors in your log
[Galaxy S II Android Development] vrwmiaris1:
New kernel works smooth and fast, real racing 3 runs fine, no sod or freeze till now, so for me kernel is back on form.now i want to ask you I'm on group 2 with default settings,I didn't add the +25 , should i add it or not?RB v4.0,doris 9.25

Στάλθηκε από το GT-I9100 μου χρησιμοποιώντας Tapatalk 2
[Galaxy S II Android Development] Unexist6969:
Got a freeze unfortunately, haptic feedback worked and powerkey(I saw in adb), the rest was dead lol (default settings, no other tweaks/init.d) using 9.25 with aokp-nightly from bajee 24-5,

it's easy reproducible for me (when using aggressive ram cleaning apps like fast reboot, memory cleaner and clean master) Some kernel versions earlier I had no issues with it, in case u think it's being caused by the apps. Sometimes also happens while making titanium backups, and aswell as using the browser. I removed xda app;) (but I saw some error about tapatalk too..) tell me if you need better debug info, don't hesitate =p you guys already spent many hours on developing last days so take a break(maybe I need fullwipe install:p)

dorimanx_debug_9.25
[Galaxy S II Android Development] MICa.fighter:
sorry i meant overwrite instead of "rewrite" , so it creates a new log but with the same name as the old, so the old gets deleted:)

thanks for explaining nice to know, we really have the most advanced kernel :D

sorry for not being more specific, i was in the google now app trying to search, it freezed for a couple of secs, then the phone was at launcher home page, widget loading again,(only needs to load after booting) no signal, radio is connecting to tower, wifi searching for connection too.
[Galaxy S II Android Development] apfelstyle:
I had a freeze, at lock screen it seems that the to. Restarts(because no app was open, am BBS shows since boot etc) but without a real reboot. The screen freezes for about 1minute and then it seems like the phone was restarted.

I did all 3 log types, hope it helps you dori!

Root box v4

9.25

Default profile!

http://db.tt/uIX9jLcF

Gesendet von meinem GT-I9100
[Galaxy S II Android Development] gorandroid:
Excuse me [MENTION=2376110]dorimanx[/MENTION]

What is your goal in kernel develop.?
[Galaxy S II Android Development] eskriminal:
1. discussion thread

2. op
[Galaxy S II Android Development] Steili:
Just had the first SOD with 9.25

Log : http://www.osnanet.de/s.litke/dorimanx_last_kmsg_log
[Galaxy S II Android Development] Unexist6969:
Ok, another debug copy pasted from terminal, when the freeze happened, using clean master then memory cleaner is the reproducable combo for me:P

(the kmsg didn't save for some reason), if you want the full log tell me ;)

https://www.dropbox.com/s/ch2m0gkek5paptf/dorimanx_debug9.25-log%2Bkmsg.rar
[Galaxy S II Android Development] gingersandwich16:
So, funny story...

I was reading the change logs for 9.25 when I had an Sod :P and it produced a kmsg. In case it's still relevant it's attached.
[Galaxy S II Android Development] gingersandwich16:
This reply should be in the report thread BUT...

as dori said some of it is the system doing stuff. However, i had the same problem and I found that it was cortex tune doing stuff based on the screen state. Try turning off cortex in stweaks and see if that makes a difference. And, if your music player supports it, increase the music buffer size.
[Galaxy S II Android Development] djsky2011:
To those with freezes are you tuning the CPU voltages correctly according to the number returned?
[Galaxy S II Android Development] oL00No:
[MENTION=2376110]dorimanx[/MENTION]:

Been playing with latest kernel, and indeed I think some freezes are merely caused by CPU voltage being too low. You already know this, but here's the kicker: if "stable" is going to be achieved by this kernel, shouldn't voltage be set by the neediest CPU, and then let people UV to their hearts content? My CPU is group 1, but a .25 lift seems enough.

It would not adversely affect the other groups, and have minimal impact on battery life.
[Galaxy S II Android Development] Tyrol:
For me, the kernel works pretty smoothly when it's awake, but when it goes to sleep, sometimes it sleeps and doesn't wake up. I've tried Sleepy/Noop & the default OnDemand/ROW but both give me the same problems.

I've uploaded my last kmsg here, hope it helps: http://db.tt/NQYToom3
[Galaxy S II Android Development] vidwhal:
kernel log

Hi Dori

Had a complete freeze when finished transferring file to another phone using SuperBeam.

Ive attached the kernel log generated from within stweaks.

had default kernel settings on 9.25.

Cheers.
[Galaxy S II Android Development] P0tato:
I had that issue too but I fixed it. I set the deep sleep governor from ondemand to zzmoove and thats all. The music never stops. Oh btw, it was on 8.24 cuz on 8.25 it plays the music smoothly for me with ondemand gov.
[Galaxy S II Android Development] dorimanx:
sadly nothing in the log show the reason.

in that case it's tell me that CPU died! and without CPU there is nothing to log,

no one to do it...

no cpu = dead black brick = no logs

seems that we must obey voltage table from SAMMY kernel for CPU to avoid stuck CPU...

i will have to reset all FREQS in all 5 CPU Voltage Groups to SAMMY DEV default.

then if people want to UV(not recommended!) they will have the option.
[Galaxy S II Android Development] dorimanx:
New CPU Voltage table.

/* ASV_VOLTAGE_TABLE
* SS, A1, A2, B1, B2, C1, C2, D
*
* GROUP 1 GROUP 2 GROUP 3 GROUP 4 GROUP 5 */
{ 1450000, 1475000, 1450000, 1425000, 1400000, 1325000, 1350000, 1350000 }, //1600MHz
{ 1425000, 1450000, 1425000, 1400000, 1375000, 1300000, 1325000, 1325000 }, //1500MHz
{ 1400000, 1400000, 1350000, 1325000, 1300000, 1275000, 1250000, 1225000 }, //1400MHz
{ 1375000, 1375000, 1325000, 1300000, 1275000, 1250000, 1225000, 1200000 }, //1300MHz
{ 1350000, 1350000, 1300000, 1275000, 1250000, 1225000, 1200000, 1175000 }, //1200MHz
{ 1325000, 1300000, 1250000, 1225000, 1200000, 1175000, 1150000, 1125000 }, //1100MHz
{ 1300000, 1250000, 1200000, 1175000, 1150000, 1125000, 1100000, 1075000 }, //1000MHz
{ 1250000, 1175000, 1150000, 1125000, 1100000, 1075000, 1050000, 1025000 }, // 900MHz
{ 1200000, 1150000, 1100000, 1075000, 1050000, 1025000, 1000000, 975000 }, // 800MHz
{ 1150000, 1100000, 1075000, 1050000, 1025000, 1000000, 975000, 950000 }, // 700MHz
{ 1125000, 1075000, 1050000, 1025000, 1000000, 975000, 950000, 950000 }, // 600MHz
{ 1100000, 1050000, 1000000, 975000, 975000, 950000, 925000, 925000 }, // 500MHz
{ 1075000, 1000000, 975000, 975000, 975000, 950000, 925000, 925000 }, // 400MHz
{ 1075000, 1000000, 975000, 975000, 975000, 950000, 925000, 925000 }, // 300MHz
{ 1050000, 1000000, 975000, 950000, 950000, 925000, 925000, 925000 }, // 200MHz
{ 1050000, 1000000, 975000, 950000, 950000, 925000, 900000, 900000 }, // 100MHz
[Galaxy S II Android Development] voku1987:
...
<4>6s5p-ehci s5p-ehci: host_phy_susp
<4>3INFO: rcu_preempt detected stallr on CPUs/tasks: {} (detected by 0, t=15002 jiffies, g=77782, c=77781, q=1240)
<4>3INFO: Stall ended before state dump start
Ibl: pbl_read_emmc441() read 8k
Ibl: pbl_read_emmc441() read 96k
Ibl: pbl_read_emmc441() read download info
Ibl: pbl_read_emmc441() endop
Ibl: jum0() verify_binary_integrity...ok
Ibl: jump() jump!!!

... this are the last messages (from last_kmsg) of a SOD from my device.

Info: https://www.kernel.org/doc/Documentation/RCU/stallwarn.txt

PS: I searched for this problem and here is what I have first found and please take a look at other last_kmsg, if the error is also there, THX!

1.) I saw this old backport from samsung, maybe we still need it? Only a idea!? - https://github.com/Entropy512/kernel_galaxys2_ics/commit/4161582e8be9586ecd432c5745fb79489636ca1f

2.) and I read in a arch-linux bug-report that IPv6 can create this RCU-errors on Linux 3.1 ?!?

3.) I have also found the error-message in a patch-comment here: https://patchwork.kernel.org/patch/2150091/ -> "This patch causes RCU errors on my ARM systems (which have 2 or 4 CPUs)"
[Galaxy S II Android Development] officiallyme:
is there a known cause for no cpu voltage group being shown?

or a terminal command to test?
[Galaxy S II Android Development] oL00No:
Yes. Tick the master switch above it before probing.
[Galaxy S II Android Development] officiallyme:
ah ok. group 3 then. never had it ticked as I don't see the point in pimping my s2 further ^^
[Galaxy S II Android Development] dorimanx:
1) > https://github.com/dorimanx/Doriman...mmit/f7804a667671e2c57b84ebc7ea220695bb6fd55d

https://github.com/dorimanx/Doriman...mmit/d50643e0eb6d046ba96e5ae7df8a894b8e6f7b14

https://github.com/dorimanx/Doriman...mmit/bbf862273f1865f101c44514f135639640364f90

2) can be, we have not made too much updates to IPv6

3)we dont have this patch.

No SODS for me and Allucard. 3 days

4>3INFO: rcu_preempt detected stallr on CPUs/tasks: {} (detected by 0, t=15002 jiffies, g=77782, c=77781, q=1240) <4>3INFO: Stall ended before state dump start

this say tha

Stall ended before state dump start
[Galaxy S II Android Development] vicegio:
Block.............

Kernel 8.25 rom lsd....

first block.......:crying:

I enclose my dorimanx_last_kmsg_log...

thanks :)
[Galaxy S II Android Development] JokerAce:
First SOD and reboot on 9.25..

Was browsing image intensive web site and it hanged twice before it rebooted
[Galaxy S II Android Development] djsky2011:
Since I upped my voltages I'm having a hard time crashing my device. I have had a few 3 second freezes but that's due to RAM hungry Facebook app
[Galaxy S II Android Development] FlanjeUK:
We need some more positive posts for petes sake, I have just read the past few pages of this thread and I think most people would have thought "f*** that, I'll wait for X.26 to be released" but I just went for it (forgot to do a nandroid aswel!) and I'm glad I did, booted up first time no problem, set up performance profile (turned the few options off I don't want/use/need) and restarted, again no issues so far, thank you Mr DorimanX :D

9100GTi // RootBox [20130524V2] // DorimanX 9.25 // Hue 2.9 by Kroz
[Galaxy S II Android Development] lovermed:
Also no problem at all under all the possible stress with the default setting..most stable version here

Rootbox 28v2 dori 9.25
[Galaxy S II Android Development] FlanjeUK:
28v2 am I missing out? where to find? or 20130530 better? (currently downloading but no idea whats updated yet)

9100GTi // RootBox [20130524V2] // DorimanX 9.25 // Hue 2.9 by Kroz
[Galaxy S II Android Development] lovermed:
24v2 sory :D
[Galaxy S II Android Development] MEMOREX2:
8.25 is stable with default setting and with overclock to 1400mhz cpu gpu 330mhz but i have noted less performance in bench ......is not important good battery thanks all Dory's team ^_^
[Galaxy S II Android Development] dorimanx:
News update!

Kernels 8.26 and 9.26 ONLINE!

x.25 kernels removed! possible data lose from broken SYNC with FSYNC mode from faux123 (Removed in X.26 version)

Change Log:

*Removed FSYNC by faux123 to prevent data lose.

*Fixed HOTBOOT possibility. its was broken. some apps can HOTBOOT our device, now they work.

*Pulled updates to SMP and ARM Kernel from 3.10.y

*I have set all Voltage Groups Tables as set in SAMMY Kernel Source!

now each group have there own voltage, and you can see it in STweaks! there is no more DEFAULT voltage,

every CPU use one of 1,2,3,4,5 voltage groups, and voltage selected for it.

New interface will allow to mod your own CPU group voltage! :)

I hope to prevent SODS with this change.

*Added EXT2 support as set in SAMMY Kernel source.

*Fixed blank box in CPU voltage group after some time, now will show any time.

Group will never change for your device! it's hardware related! nothing i can do.

have fun.

and remember always do backups! so if all gone...

you say, damm, ok no matter, RESTORING :)
[Galaxy S II Android Development] myszonokr:
First one! Sorry for OT, could not resist :D

Everyone happy testing

wytapatalkowane