yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] crypticc:
thank you. So at 31 / 30 i fall between IDS b1 and b2 = (4); and HPM >d1 = (7).

Then reading the code that means because HPM is highest I use HPM to find my cpu is class 4 = (7 - 3) which in turn means it undervolts by a further 25 to 50 mV beyond the defined voltage, depending on the frequency. Which means that even though mine is a good CPU, I might not be able to undervolt too much because mine effectively gets undervolted already even before I start.

I see my internal bus isn't under volted at all.

Good stuff
[Galaxy S II Original Android Development] RebellionElite:
Hi there

first of all fantastic kernal and this script is a fantastic thing to play around with. I am just having one problem, my GPU clock does not seem to be stepping up, I have confirmed this by clocking up the GPU step Low and Gl Benchmark scores increase, but for the life of me I can't get it to step up. Anyone have any ideas?

Should have stated I am on Rc2
[Galaxy S II Original Android Development] hispanico957:
In which way i can comeback to CWM 4.0.0.2 ??

Thank
[Galaxy S II Original Android Development] dragon546:
Flashback to 1.8 is the safest way also please for questions please post in this thread in future:

http://xdaforums.com/showthread.php?t=1325831

Thanks
[Galaxy S II Original Android Development] rauschkugl:
Use search and you will find a cwm flashable zip here.

Sent from my GT-I9100
[Galaxy S II Original Android Development] hausmanis:
Can performance and batterylife realy go hand in hand ?

Im a big fan of this kernel but i got a feeling there is much more battery to squeze out of the SGS2, would love to have a performance edition and a battery edition of my fav kernel, but tbh i dont know anything about kernel code so maybe best performance is also best battery ?
[Galaxy S II Original Android Development] incubus_fr:
RC3 is as fast as beta14.

Only 9 points below my best score ;-)
[Galaxy S II Original Android Development] YoTu_01:
Of course not, technology isn't there yet! people has to stop asking this, Either you have top performance or top battery life!, want both? buy a bigger battery. simple.
[Galaxy S II Original Android Development] lambstone:
I'm guessing he must have turned off a lot of things.

I get nearly one day's worth of use.

3g turned on 24/7. Exchange Mail Push from 9am-4pm. Weather widget syncs every 2 hours. Google sync on. GPS on. Friendcaster Sync on. Whatsapp installed and frequently used.

UC but not OC
[Galaxy S II Original Android Development] lpsi2000:
@gokhanmoral,

I took sometime to do some testing because I wanted to confirm that the last two releases with auto root at every reboot did indeed show my cards:(. This is not going to reveal anything new to you because I think we discussed it already in previous posts. Nonetheless I wanted to point out what I observed.

I went back to a Samsung ROM because of the famous media scanning and immediately after few seconds my corporate apps were up while the media scans was still going. I remember you mentioning something way back in this thread about wanting the (init.d) scripts to have a delay in order have media scan finish. Well I think that part is working well.:p I am reverting to RC1 for now because the corporate apps is a must on my phone in order to get real work done. I would really appreciate it while you are researching on what you can do if you could send me a copy without auto root (or the old one time root after flashing).

BTW, wow it freaking amazing on how well this kernel performed, I don't think I am going back to CM or MIUI for while. I have been playing with CM and MIUI for the past few weeks, struggling trying to make them fit when Samsung provided much more capabilities / features and with this kernel (RC2 or RC3) it is screaming. That new governor is pretty dawn nice.:D

Thank you for all of your efforts
[Galaxy S II Original Android Development] joeyfong:
Thx I am using lulzactive with sio
[Galaxy S II Original Android Development] PsychicSaint:
Please remove auto-root...

it reverts su binary to a older version every time I reboot...
[Galaxy S II Original Android Development] ObihoernchenDE:
Have a look at /system/app There should be SuperUser and Superuser.apk One is the old one. You have to delete it.
[Galaxy S II Original Android Development] timberwolf60:
Used S2 root 1.5.1 to un root, it will clran up the su and bb rabbish, and root it back so it will gave you a flash su and bb. Used CWM flash kernel to flash siyah kernel back. It should solved the problem. http://xdaforums.com/showthread.php?t=1125414
[Galaxy S II Original Android Development] fenomeno83:
Have you experience in gpu underclock/undervolt? Is this a really battery improvement? And what values do you use? My idea is leave minumum and maximum stock clock frequency and undervolt both of 50mv
[Galaxy S II Original Android Development] screamworks:
Hi all,

So I recently rooted my Galaxy S II using the CF-Root Kernel and then flashed MIUI through recovery -- but this kernel really interests me, as it has some seriously awesome features!

Unfortunately, I'm relatively new to flashing, so I'm a bit lost as to the procedure I need to take to install this kernel.

Would I need to flash it from Odin (and then even re-flash MIUI? :confused:)

Or just flash it from recovery and keep using my current ROM?

If so, what would I need to wipe in recovery first?

I'm sorry for the (annoyingly) simple questions, but I have done as much reading as I can, and it's all still got me pretty overwhelmed :(

Thanks for your time :o
[Galaxy S II Original Android Development] lesa0208:
you don't need to reflash your rom, you can flash from odin or recovery, and you don't need to wipe, just flash kernel and that is all.
[Galaxy S II Original Android Development] screamworks:
Thanks for that :)
[Galaxy S II Original Android Development] pockobg:
Keep getting sudden blackouts when locked with RC3 and i have to pull the battery!
[Galaxy S II Original Android Development] cbeckstein:
aahhhhh...

and the just released Titanium Backup supports selective app+data restores from CWM 5 nandroid backups

great...
[Galaxy S II Original Android Development] S7oneCu77er:
+1

same problem here.

at first i tought it was JD underclock too low, but even after i disabled the CPU control the phone randomly froze after the screen turn off.

@pockobg

you don't have to pull the battery, just long (long as 7 - 10 seconds) press the power button and the phone will turn off and on (even when completely stuck)
[Galaxy S II Original Android Development] inferno17x:
Try not to undervolt use stock voltage without any profile and it will be fine so far RC3 works great for me.
[Galaxy S II Original Android Development] rodries:
you don't need to pull the bettery only press power button about 5 secs or press power button and release when you see the starting screen
[Galaxy S II Original Android Development] jdonk:
I've had a few SOD's as well with rc 3 and no under voting, lulzactive governor. Going to try rc 2 again to make sure its not something else.
[Galaxy S II Original Android Development] woodyxxl:
Same here.... also try RC2... (RC2 is stabile like B14... - with B15, B16, RC1 I've same problems/SOD's)
[Galaxy S II Original Android Development] BoneMo:
i did not have problems with any beta or rc....what is your 100 or 200 Mhz voltage ?.....for me 850mv on both speeds no SOD,, 825mv=SOD....increase 100-200Mhz voltages a try again

from my experience ...

SOD= not enough mV on lowest speeds

sudden reboot,freeze = not enough mV on highest speeds
[Galaxy S II Original Android Development] pappschlumpf:
Experiences with RC2 (RC3 and all other 500 Mhz version sleep forever on my phone) and lulzactive as govenor. Smooth using the shell, laggy as hell with all other apps like games, fritz app (voip for the fritz box), even the sms sound i is stuttering out off the speaker. Sorry, an unusable combination for now! With ondemandx it's smooth and stable as all other versions before.
[Galaxy S II Original Android Development] lpsi2000:
Can someone else confirm whether there two files or just the one (Superuser.apk). Please see remember there are case sensitive? I am wondering if I missed the "SuperUser" one?
[Galaxy S II Original Android Development] fasst:
Only Superuser.apk ver. v.3.06(40) for me. No problems.

BTW. Shouldn't this type of questions, and answers, be i posted in the new thread?

http://xdaforums.com/showthread.php?t=1325831
[Galaxy S II Original Android Development] pvillasuso:
I agree 100% with all said by @pappschlumpf

....

Sent using Tapatalk

[ @Samsung GS.II ]
[Galaxy S II Original Android Development] nightranger73:
My phone hangs some time after plugging/unplugging the charger. It seems to be GPU related as it happens mostly on screen transitions even using stock values.

I'm on CM7 #98 and siyah 2.1rc3 but it happens since earlier 2.1 beta. I haven't tried the 2.0 but I used it with MIUI and it didn't happen

Anyone else noticed it?
[Galaxy S II Original Android Development] fenomeno83:
Up

and:

what is your battery experience with luzactive governor?
[Galaxy S II Original Android Development] the^one123:
init.d

Hey Guys...

i need help with my init.d scripts. Following Problem. In the attached file there are three scripts.

S07cpuundervolt: my good old init.d script for UV CPU works perfect.

S07cpuundervolt_new: no changes done at startup

S07cpuundervolt_easy: no changes done at startup

I dont know what the problem is, and yes i have used the search function but i didn't found a solution for me.

The S07cpuundervolt_easy script is only to test the easiest way of changing the freq_table but it doesen't work.

Any idea what the hell is going wrong.

Rom: Revolution Rom v1.0

Kernel: Siyah 2.1rc2

thx

theone
[Galaxy S II Original Android Development] Entropy512:
In the same kernel? Potentially yes.

At the same time? No.

Why can these answers differ? A kernel can offer multiple configuration options - tunable for either performance or battery.
[Galaxy S II Original Android Development] eiraku:
But in the end, IMHO increased battery life with USABLE performance is all that's REALLY needed from a smartphone kernel. Yes the kernel can be tuned to blow benchmarks but I'd personally rather have a kernel that stutters sometimes while lasting for days, vs an ultra smooth one that dies in hours.

Come on guys, we're running a portable device here, not some overclocked, liquid cooled desktop rig built sorely to break (relatively useless) benchmarks.

Then there's also the question of battery life or performance over usability, features and reliability? And vice versa.

Now THAT is a major conundrum. Though I feel that Gok has managed to balance things out quite well thus far in the greater scale of things.

And like entropy said, the fact that a kernel can be made tunable and flexible makes this issue a little less problematic.

Though I wonder how much modular can a kernel be tuned to be? As being able to turn stuff on and off at will (in real time) does sound tempting, to say the least.

Just my 5 cents in kernel philosophy, do ignore if it's of no relevance.
[Galaxy S II Original Android Development] hausmanis:
totally agree.

its battery that has real use.

performance on a already blazing phone is just numbers in a bench program
[Galaxy S II Original Android Development] lumannnn:
havent read such a good n true post in a while.
[Galaxy S II Original Android Development] chiefroastbeef:
hi guys,

I tried to flash the enablelogger.zip via both cwm and darky's app, however after flashing it, my App Lock app still does not work. Anyone know what I am doing wrong?

Thanks!
[Galaxy S II Original Android Development] Paradoxxx:
Please? :D
[Galaxy S II Original Android Development] Lownita:
What are the differences between Siyah 2.1 and checkrom Siyah dark knight 2.1 kernel? Dark Knight is more battery friendly I guess?
[Galaxy S II Original Android Development] chadouming:
probably outdated since the latest RC have BFQ scheduler while i dont see it in Dark Knight kernel.
[Galaxy S II Original Android Development] Rockin_Zombie:
to be honest, DK seems the same kernel with a couple of (somewhat ambiguous) tweaks like "dark knight engine" thrown in. Not sure what that does. Would be curious to see how that kernel turns out.
[Galaxy S II Original Android Development] chadouming:
@gokhanmoral, you think you would be able to make an ICS rom boot ? from what i read over The SDK rom port, it look simple but i'm not an expert xD. Seems like they are not able to get a file loading which cause them trouble. If you manage to do this you could rule over CM, MIUI, Sammy and SDK rom ! ^^.
[Galaxy S II Original Android Development] :
Its benchmarks are WAY higher than any other kernel on checkrom revolution 2... We are talking hundreds in quadrant and antutu. sounds strange, how comes it is faster than siyah itself? :/
[Galaxy S II Original Android Development] razor 116:
1 day 11 hours with 45% percent battery remaining moderate-extreme usage (Few games, text messaging, general web browsing, music etc.

Cm7 Nightly 98 Siyah 2.1 Rc2
[Galaxy S II Original Android Development] chadouming:
maybe he has disabled a lot of debugging xD. I also don't think he can beat a 8k Quadrant score by some hundred ^^
[Galaxy S II Original Android Development] Rockin_Zombie:
hmm would love to see a comparison between these two, saw some scores from the checkrom thread, doesn't seem like its higher than siyah.
[Galaxy S II Original Android Development] BlackRainX:
How much "Total RAM" is avaible in this kernel?

835+MB or 910MB? I don´t know what is total ram related but its quite bad if somebody have 835 somebody 910MB.. Can somebody explain it to me? :)
[Galaxy S II Original Android Development] AndreiLux:
I'm seeing Lulzactive : suspend prepare @ 1000MHz messages in dmesg, what's that about? I'm not even using it, I'm on ondemand.
[Galaxy S II Original Android Development] privat75:
This is the darknight-kernel.

On latest speedmod i get 6148.
[Galaxy S II Original Android Development] privat75:
I see 2.1 final on gökhans homepage.
[Galaxy S II Original Android Development] Muchoaliento:
"Coming soon" says here
[Galaxy S II Original Android Development] privat75:
No downloadlink there. :-(
[Galaxy S II Original Android Development] DobermanS:
@ privat 75

on the same dark-knight kernel+lulzactive i get 6362 with miui...

it also depends which governor you choose...
[Galaxy S II Original Android Development] sence:
ntfs otg

hai guys.I am new to xda.I previously used the 2.3.3 with stock kernel.In that i used to connect pendrives with ntfs file system.I followed the procedure from the link below

http://xdaforums.com/showpost.php?p=15167790&postcount=41

But after installing various custom roms (based on 2.3.4 and2.3.5) i am not getting this feature......please some body help.....:(
[Galaxy S II Original Android Development] dragon546:
You might get a better response in the Q&A section you would also need to let people know if you are using this kernel or not.
[Galaxy S II Original Android Development] tolis626:
Guys,something I've been noticing for a long time now and always forgot to report...

So,each time I want to run a benchmark,I use performance governor as most of you would do.However,when I go back to ondemand(It doesn't happen with ondemandx),it stays stuck at the maximum frequency for some time.While the time it needs to return to normal behaviour seems to be a little random,if I lower the max clock,it will stay stuck at the lowest maximum clock I set until it returns to normal.I don't remember however,if it happened with other kernels or only with Siyah.I think it also happened with Ninphetamine,but it's been a while and I can't be sure...

Other than that,all is well with rc2.And no,I didn't use rc3 more than 15 minutes because of the SODs.I like my voltages.
[Galaxy S II Original Android Development] xeq544:
Ive noticed that too and its annoying me. At first I thought its just voltage control displaying bug but after more observations with cpu spy I found out it really gets stuck, for me its mostly on 500mhz and doesnt want to go lower no matter what I do, but after I switch some governors play with the frequencies it returns back to normal. I can reproduce it everytime. Im on ondemandX all the time, switch to performance, switch back to ondemandX and the frequencies get all screwed up. I think it started sometime between beta 11 and 13
[Galaxy S II Original Android Development] chadouming:
noticed it also, test this :

- Put your phone on performance, then back to ondemand.

- Go to voltage control and your freq should be locked to your max freq.

- Drop your max freq usable to your min freq available. ( If you have 100-1600 usually, drop 100-100 ) then apply.

- Get it back to normal ( if you had 100-1600, then go back from 100-100 to 100-1600)

Everything should be alright. This is my temporary fix.
[Galaxy S II Original Android Development] nolimits_:
Tnx dude this kernel is amazing!!
[Galaxy S II Original Android Development] jaykhan:
Try using ondemand, my phone also freezes in smartass no matter what voltage I use for 100 MHz.

This happened specially if some application is running in background and screen turned off.
[Galaxy S II Original Android Development] gokhanmoral:
do the applications check for the filename or the permissions of the su binary?

you can try to set the permissions of su to 777 (and also the dir containing that, in case you need to have root later. or else you will need to reflash) and the kernel will not write it again as it already exists.
[Galaxy S II Original Android Development] gokhanmoral:
there is no easy way to check it as there are different ways.

try the kernel.. if it doesn't work ask the one who cooks the rom if he has any undervolting script. he might have a better idea why this kernel doesn't work.
[Galaxy S II Original Android Development] lpsi2000:
It is checking for the file name. I don't mind reflashing or rename, because that is what I do now.
[Galaxy S II Original Android Development] roymustafa:
Thanks a lot brother...I send you PM..
[Galaxy S II Original Android Development] gokhanmoral:
unfortunately the kernel also checks for the filename.

the easiest way would be to use an init script such as:

#!/bin/sh
mount /system -o remount,rw
rm /system/sbin/su
rm /system/app/Superuser.apk
mount /system -o remount,rw

place this as S99RemoveRoot

if you can make a CWM flashable version of this script and also another CWM flashable file to remove that script, it will solve all your problems.
[Galaxy S II Original Android Development] lpsi2000:
Ah, nice let me give that a shot. Why did I not think about this as well:D. I am so focused on this app that runs on start-up, however the script should run before the app and remove root. I will give this a shot and let you know.

Thanks,
[Galaxy S II Original Android Development] uronfire:
can I use this kernel with k13 2.3.5?

Thanks
[Galaxy S II Original Android Development] lpsi2000:
Try this and it did not work for me. I am wondering how CF-ROOT is able to bring down these files at first boot only.
[Galaxy S II Original Android Development] gokhanmoral:
you can use "betterbatterystats" as I adviced in the second post. use google to find it.

there is a serious problem with your config, either with your modem or an application....

kernel itself would not cause a problem in 3G connection or that much battery drain.

try to update your modem. there is a thread which has several modem versions in the "original" android development section (I think pulsar's)
[Galaxy S II Original Android Development] gokhanmoral:
did you check that the files are removed?

I didn't try that script but if it runs correctly before your application launches it should work. the kernel copies only those two files and removing them means removing root.
[Galaxy S II Original Android Development] lpsi2000:
I think I got it working now but I now have a different issue. It seems as I am getting bootloop. I am going to disable other scripts to see what happens.

BTW, it was a permission issue with the script
[Galaxy S II Original Android Development] gokhanmoral:
try a bit more :) it should be working.

you can rename the file to 01_RemoveSU to make it run as the first script during boot...
[Galaxy S II Original Android Development] R16:
gokhanmoral

I put these two scripts in the folder /system/etc/init.d

http://xdaforums.com/showthread.php?p=17798583#post17798583

I need to do something else or just that the scripts run???
[Galaxy S II Original Android Development] gokhanmoral:
those scripts are just examples (very good examples indeed) to change the parameters during boot.

if you have changed the parameters with the ones which is compatible with your device or to your liking then that's all (or not) you have to do...

I am working on an application during my last free hours to make it possible to customize the settings during boot time... until then, you can use the init scripts to change the parameters, or just leave them as they are...
[Galaxy S II Original Android Development] R16:
ok gokhanmoral, i am waiting for your app but tell me, those scripts are well in the folder system/etc/init.d

or more must be done something for them to run???

Thanks for your attention
[Galaxy S II Original Android Development] gokhanmoral:
You have to change their permisson to 755 to make them executable. that's all
[Galaxy S II Original Android Development] roymustafa:
Dear Gokhan....I flashed KG2 now, do you recomend to use your great kernel with this firmware?
[Galaxy S II Original Android Development] tolis626:
In fact no.I've already tried this several times in the past,but it only speeds up the return to normal,it doesn't actually fix anything,even temporarily.Also,turning the screen off and then back on seems to have the same effect.Straaaaaaange...! :eek:
[Galaxy S II Original Android Development] incubus_fr:
Il use scripts to change from normal to benchmark settings and back and don't have this issue.
[Galaxy S II Original Android Development] shankai:
Can anyone share stable setcpu mhzs and voltages?
[Galaxy S II Original Android Development] m00moo:
Phones been running for 10 hours and 30 minutes with 68% battery left :D

sent about 50 texts, 20 minutes of music on loudspeaker, 30 minutes of browsing, facebook/twitter sync every 1 hour, 10 minutes Youtubing.

Stable Voltages via SetCPU on Demandx

100mhz - 850mV

200mhz - 850mV

500mhz - 875mV

800mhz - 950mV

1000mhz - 1075mV

1200mhz - 1175mV

Screen off 100mhz - 500mhz

Yesterday i got 27 hours usage, i think i will beat that today. :)
[Galaxy S II Original Android Development] kokoskokis544:
battery life cm + rc3

i m very disappointed with the battery life using the combination of the latest nightly and RC3 kernel. its been 13hours and my phone is about to die..tried different governors but the best for me regarding performance and stability is ondemandx. I hope is the nightly's fault and not the kernel's. I had amazing battery using b14 and nightlies..lets see what the final version has to offer :P

ps. i noticed a strange thing with RC3 and only happened once. I plugged in the charger and the phone rebooted. never happened again..something wrong with voltages? i didnt modify them
[Galaxy S II Original Android Development] chadouming:
you have spbShell 3d ?
[Galaxy S II Original Android Development] kokoskokis544:
No adw ex..
[Galaxy S II Original Android Development] kokoskokis544:
this always happens to me mate is not a problem i believe is because during the update the gapps are deleted. anw just clear the cache, dalvik cache and reinstall the gapps. also reinstall the kernel. you need to sign in into your google account again and check the settings in the sync for contacts, gmail etc...the kernel has nothing to do with this..
[Galaxy S II Original Android Development] razor 116:
Try fixing permissions after the update, however regarding the CM7 nightlies its always best practice to do a full wipe before installing the latest nightlies.