yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S II SGH-T989] Pellel2:
I am not joking i was getting almost days on my I9100 using CM7.

well guys i need your votes.

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

---------- Post added at 05:41 PM ---------- Previous post was at 05:39 PM ----------

hey r u using stock Telus ROM??? i can tell by the 4G icon. it is ok for you to use a custom tmob rom. eventho it wont say 4G you still get 4G speeds. I would suggest flashing a custom tmob rom and this kernel again and see what happens.
[T-Mobile Samsung Galaxy S II SGH-T989] mettleh3d:
I would be glad with over 12+ hours if I'm on 4G only. Really glad like if topping 12 hours would end world hunger glad.
[T-Mobile Samsung Galaxy S II SGH-T989] Pellel2:
yeah go the thread and vote! thanks mate
[T-Mobile Samsung Galaxy S II SGH-T989] skadude66:
Yeah, I'm really looking into flashing a custom ROM, the only thing I'm waiting for is that Mr X said that he would look into taking your system dump from CWM and making it into a flashable zip from CWM. Once I have that I will go ROM-crazy :D
[T-Mobile Samsung Galaxy S II SGH-T989] AllGamer:
ran 0.5 + Juggernaut since it came out yesterday to now, it's rock solid, not a random reboot once
[T-Mobile Samsung Galaxy S II SGH-T989] Pellel2:
yeah that would be sweet if someone can do that. i was lucky enough to get my hands on a system dump lol.
[T-Mobile Samsung Galaxy S II SGH-T989] skadude66:
Yeah haha. I mean, worst case scenario, I can always go back to stock ROM with your Nandroid, right? I've always made Nandroids, but never had to use them :D
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
DO you ahve other apps that you use to monitor cpu and set clock? like system tuner possibly? something is conflicting with setcpu.
[T-Mobile Samsung Galaxy S II SGH-T989] skadude66:
Had System Tuner installed, uninstalled it, rebooted and still have the same issue :( I think I might flash a custom ROM and your kernel and see if that might fix the issue.. I can use Pellel2's Nandroid to revert to stock if I don't like it?
[T-Mobile Samsung Galaxy S II SGH-T989] Ashtear:
Or maybe a SetCPU profile?

I also wanted to ask, if I have System Tuner installed, in that application sometimes I see the second core shut down, though rarely. Most of the time I see an N-shape in the clock speed graph, with core 0 spiking to max and slowly ramping down, before spiking up again. Core 1 remains at the bottom, at the lowest speed. This happens regardless of CPU load. This is all in the lagfree governor.

I also notice that if I change the CPU governor there, SetCPU will change it back. I have always used SetCPU in the past with my prior devices, installed System Tuner now because it allows me to see the individual cure speeds where SetCPU doesn't.

Any better apps for this, both setting up profiles and clock speeds as well as seeing per-core speeds? Any chances having both apps is causing any harm, with conflicting instructions or whatnot?
[T-Mobile Samsung Galaxy S II SGH-T989] rUsTyRuSs:
What did you change for it to work? I had to switch to go sms.
[T-Mobile Samsung Galaxy S II SGH-T989] Rekzer:
Im getting this exact same issue to, using Juggernaut 2.0 with Synergy. SetCPU seems to show 1512 min/max for me despite me setting the min to ~400. I havent installed any other cpu apps.

Still getting rapid battery drain to, not sure what to do.
[T-Mobile Samsung Galaxy S II SGH-T989] hazard99:
if your on lagfree its cause their is no deepsleep. the phone doesnt shut down and runs wide open.
[T-Mobile Samsung Galaxy S II SGH-T989] redz1234:
Does this Kernal replace the 4G icon for Telus users and does this work with the EaglesBlood rom?
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
no and yes
[T-Mobile Samsung Galaxy S II SGH-T989] sl___:
Really? I'm using this kernel and I only have the 3G icon.. wait that might be because of BeastMOD.. lol. Why does this happen anyways..
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
why do you say this?

Lagfree is just ondemand but modified to gracefully step the cpu up and down rather then ramping to max freq when cpu load is detected.

Lagfree will ramp down to the lowest freq and stay there given there is no device cpu activity, if there is it will ramp up and down and "flutter" the clocks as needed to ensure the cpu is there to respond when needed and never under max load for optimal performance. lagfree also limits screen off freq to 384mhz.

with that said i am loosening lagfree up a little bit so that its not so twitchy under min load situations.
[T-Mobile Samsung Galaxy S II SGH-T989] skadude66:
It's because of the way that the stock Telus ROM and the way Telus coded their framework, it shows 3G as the icon, but the speeds are still 4G. Just aesthetic.
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
Tmobile does not have a 4G icon in there rom thats why. beast mod is based on the tmobile rom
[T-Mobile Samsung Galaxy S II SGH-T989] hazard99:
the reason why I said this was because I was using cpuspy to monitor my cpu states and I noticed it never recorded deepsleep. As you have stated it limits the screen off to 384mhz. It is in my uneducated opinion that this is whats causing such a high drain.

Please install cpyspy as it is free and give me your thoughts. I Also noticed if you play the advanced settings in setcpu you can almost create the same effect as lagfree. Only differences you get the benefit of the deepsleep state.

this is a screen shot taken while using the ondemand gov.

all in all I love using your kernel. I just would like help in anyway I can
[T-Mobile Samsung Galaxy S II SGH-T989] fatboy547:
yes it won't deep sleep.any one know how to get it to sleep?
[T-Mobile Samsung Galaxy S II SGH-T989] SheCo:
Yeah, it would be nice if the frequency could go as low as the stock kernel. I find that battery life is OK with "ondemand" profile but it could still be better when compared to stock. I am using your kernel with the stock Telus ROM - it makes things quite snappy all around.
[T-Mobile Samsung Galaxy S II SGH-T989] hazard99:
take a look a in your advanced tab if you are using setcpu and ondemand. Those settings will dictate how fast the cpu jumps and when It settles down.

Like Mr X said he is going to be making some changes to how erratic lagfree is .. hopefully it will have a fast response with better battery.

I Found that I could even make conservative respond in a fashion that made it speedy yet slowed down when the "Nos" wasnt needed. I dont know enough about how all these settings work but I do know that I felt pretty smooth to me.
[T-Mobile Samsung Galaxy S II SGH-T989] phewizzo:
T-Mobile does have 4G icon in their rom, as far as I know.
[T-Mobile Samsung Galaxy S II SGH-T989] Rekzer:
Interesting

I still need to figure out why setCPU is showing min 1512 sometimes when ive set it to 384.

Also, if i did set ondemand/conservative/whatever, is that EXACTLY the same as using a stock kernel for those same governors, or are those modified as well?
[T-Mobile Samsung Galaxy S II SGH-T989] hazard99:
They would be stock unless modifications have been introduced to them. I think my stock battery life was worse than what I have now.
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
yes i check'd, the reason si the telus systemui.apk shows 4g for 3g speeds to trick the users. i never realized because im in a 4g area. and am on the stock rom still for testing
[T-Mobile Samsung Galaxy S II SGH-T989] redz1234:
Good to Know.. I'm in a 4G area also and like 70% of Telus is 4G..

I believe here in Winnipeg we only have 4G.

---------- Post added at 07:03 PM ---------- Previous post was at 07:01 PM ----------

I have another noob question.. By flashing the Kernal do you lose any settings, apps and such?

ReDz
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
You would consider deep sleep 192mhz?
[T-Mobile Samsung Galaxy S II SGH-T989] hazard99:
Seriously Is that what that is. cause as I understand we dont even have 192mhz on the table with this rom.

So I am just going off of what I see. I Know nothing and Im learning.
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
well deep sleep is supposed to shut the cpu off. however i have yet to ever see any gov do this on this device. even ondemand is not using the "deep sleep" clock

and i also have 192mhz reenabled on the kernel im testing now
[T-Mobile Samsung Galaxy S II SGH-T989] redz1234:
I have another noob question.. By flashing the Kernal do you lose any settings, apps and such?

ReDz
[T-Mobile Samsung Galaxy S II SGH-T989] Mudkip:
i get a 4g signal. never seem to be in 3g though =( its 4g or edge
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
Alright did some reading on some code here.

here is the skinny guys:

we will never be able to hit deep sleep with BLN as it uses the 'wakelock' function to allow its self to send notifications to the leds.

The up side to this is that, i think i can source BLN code that may not use wake lock, i'm not sure but i remember stumbling upon it a few days ago.

the better up side to this is, I removed Samsung ****ery and have set the second cpu to dynamically turn on and off as needed screen on and forced off on screen off. so the second cpu is always in a "deep sleep" mode when screen is off.

other things to note is lagfree is going as low as its allowd to on screen off and idle which is 192 mhz, and its spending the most time in those clocks when screen off or idle.

I did a 15 min test and 74% is spent in 192mhz whilst the other 26% is spread across the top 5 clocks because i did have a few text messages i answered during that period.
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
the telus rom is newer then the tmobile one, now that there is a dump hopefully rom devs will move to it. you should request they do :)
[T-Mobile Samsung Galaxy S II SGH-T989] fatboy547:
you think 192 will still cause sod? if it doesn't I think this kernel you mention before is the best option for optimal performance and battery life
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
it never did for me, many of you reported it did for you.

As for the Deep sleep, every time you get a message BLN starts wake lock for the lights to flash and then releases it after they are done flashing, so if your a hollywood your device may never see deepsleep.
[T-Mobile Samsung Galaxy S II SGH-T989] FRuiTBoOT:
So does this mean an update is coming? I know that is a no no on XDA, no asking when but if. Sorry just curious due to your current findings.
[T-Mobile Samsung Galaxy S II SGH-T989] hazard99:
Ok so let me get an understanding of this. The cpu spy is confusing 192mhz with deep sleep or is deep sleep replaced by 192mhz on lagfree.

I am asking because I see That our cpu can go to sleep while using on demand or conservative(interactive didnt seem to sleep) but lagfree hovers.
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
i cant get any of the govs to deep sleep what are you setting it to so i can test?
[T-Mobile Samsung Galaxy S II SGH-T989] fatboy547:
according to cpuspy. I had 5 hours at 384.and 1 hour of deep sleep. this was while I was sleeping and charging the phone over night. i'm on lagfree. max 1782 min 384. so I can confirm it does deep sleep but not consistently. hope that helps
[T-Mobile Samsung Galaxy S II SGH-T989] hazard99:
ok so using cpuspy to monitor

And setcpu to set my speeds.

My max is 1728 and min is 384 using the on demand gov

Under the advanced tab I have set

sampling rate 10000

up threshold 50

ignore nice load 0

powersave bias 0

And this is what ive gotten after hanging with the gf
[T-Mobile Samsung Galaxy S II SGH-T989] mikeyinid:
Yea. Huge difference. No lag and apps open/close smooth. 1.8 was a huge improvement over stock so i just left it.
[T-Mobile Samsung Galaxy S II SGH-T989] kennyp987:
What's ck3+ ?
[T-Mobile Samsung Galaxy S II SGH-T989] phewizzo:
I flashed the kernel and when it booted is was very very sluggish. Went to setcpu and saw it booted at 1800mhz so i put it back down to 1512 and everything is smooth
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
CK3 patch sets were originally designed by Con kolivas improve system responsiveness and interactivity with specific emphasis on the desktop, but suitable to any workload.

It merges BFS with Jens Axboe's CFQ I/O scheduer. The patchset includes a number of interesting patches, including autoregulated virtual memory swappiness, batch scheduling, isochronous scheduling, and improved support for hyperthreading.

So default sched is CFQ but its the ck3 edition. the + stands for some tweaks Ziggy471 has done to further make them optimized for the android mobile platform.
[T-Mobile Samsung Galaxy S II SGH-T989] ThC23:
Confirm working on Juggernaut v2.0, great job. Everything running smooth. Thanks.

Hercules Hercules!!
[T-Mobile Samsung Galaxy S II SGH-T989] movieaddict:
ty!! gonna try it out after jugs
[T-Mobile Samsung Galaxy S II SGH-T989] G1_enthusiast:
i dint even use setCPU i just let it run stock and it was sluggish especially when you try to swipe from screen to screen.
[T-Mobile Samsung Galaxy S II SGH-T989] rUsTyRuSs:
Any chance of adding BLN support?
[T-Mobile Samsung Galaxy S II SGH-T989] phewizzo:
Yea cuz it boots at 1800 but ur gonna have to put it down with setcpu and it will be buttery smooth. This feels smoother then Jugs and I was on Jugs for 2 days.
[T-Mobile Samsung Galaxy S II SGH-T989] kennyp987:
Thanks! Definitely will try it out
[T-Mobile Samsung Galaxy S II SGH-T989] manekineko:
Great to see kernel development starting to warm up.

A second here for BLN support, that'd be really great.

Also, would it be possible to make the undervolting use whatever interface SetCPU uses to control voltage? That was a really pleasant way to undervolt on my previous phone.
[T-Mobile Samsung Galaxy S II SGH-T989] Pellel2:
the system crashes when you set setCPU to 1.8 or so....too unstable will try later on update versions. Any suggestion why? im using juggernaut ROM in my T989D
[T-Mobile Samsung Galaxy S II SGH-T989] kenvan19:
Gah! Multipleupload >< If I put it on my dropbox and mirror it there (and keep it up-to-date) would you use that link instead? lol
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
I took a look at bln, i do want this but it is a friday night i honestly said "i'm good" for today lol

As for it booting it ahould not be according to the cpu tables i have set. However i do not dissregard amu claims of this i will take a look in the source tomorrow and have a patch and fix.
[T-Mobile Samsung Galaxy S II SGH-T989] no6969el:
thank you but what does it do better than the other kernel by jugs
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
I dont claim anything is better then any other developers work. I like this setup this is why i started development on it. what i include in this kernel has been disclosed publicly. Ive also explained ck3 in a previous post. Better or worse opinions are in the eye of the beholder. You the uswr has to test and include your input.
[T-Mobile Samsung Galaxy S II SGH-T989] Virus:
woot epic good job niggg
[T-Mobile Samsung Galaxy S II SGH-T989] Hoezack:
Quadrant score please.
[T-Mobile Samsung Galaxy S II SGH-T989] b0ricuaguerrero:
Gets sluggish when you clock it to the max. But it's fine on 1.7
[T-Mobile Samsung Galaxy S II SGH-T989] zoth:
Not all chips/cpu's can handle 1.8
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
Thanks for the test i am goign to run my own tonight.

I am loosening lag free up some to see if it will achieve more consistent deep sleep.
[T-Mobile Samsung Galaxy S II SGH-T989] DirtySant0:
Newbie Question

Newb question,

Can I simply install this Kernel and get better performance without having to use any CPU apps or anything else to modify the speeds? Im just looking for something that will give me better performance than STOCK KERNEL and allow me to run longer off battery and in between charges.
[T-Mobile Samsung Galaxy S II SGH-T989] JaylanPHNX:
With the BLN support using wake lock, I wonder if it would be prudent to just make two separate downloads, one with BLN, and one without. That way, folks could decide which is more important to them. Of course, managing two different branches could be a pain in the butt.

Sent from my beastly Galaxy S 2.
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
bln is supposed to release wakelock after the lights turn off, however from logcats i dont see it releasing wakelock. i can log the bln app turning on the alarm, and then nothing after the fact.

I currently have bln disabled and am testing.

This is lagfree @ 1.8GHz with BLN disabled after roughlt 1h in sleep mode
[T-Mobile Samsung Galaxy S II SGH-T989] cwalker0906:
If the phone is on charger it wont go into deep sleep ....at least mine dont...dont undersrand how to test phone battery and sleep issues while on charger...wont get accurate results...off charger it sleeps fine
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
this is correct, i had always assumed that people were testing on battery.

BLN on and BLN of makes no difference, this time with BLN on i have been in deep sleep for 94% of 28 minutes.

i think loosening up lagfree ramp up on cpu activity has fixed the no deep sleep on lagfree.
[T-Mobile Samsung Galaxy S II SGH-T989] fatboy547:
great work mr.x. what do you mean by loosening up lagfree?
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
Before i had the lag freq min cpu usage set quite low to make sure it ramped up smoothly and quickly when under load. the problem was it was so low it was very touchy and caused the clocks to ramp up and down quite often. this stopped the deep sleep from happening. i gave it a little bump and its running much better
[T-Mobile Samsung Galaxy S II SGH-T989] phewizzo:
Upload cuz Jugs kernel is sooo slow compared to urs lol.
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
im working on a safe undervolt right now

i am going through each clock freq and making sure there are no crashes and that the benches stay consistent. if they do i will release this kernel along side the current release. I hope to achieve under-volts that are fair and act well on every ones device. this combined with my introduction to the dynamic second core and the ability to shut it right off when not in use or screen off should achieve the best battery life we have all seen yet.
[T-Mobile Samsung Galaxy S II SGH-T989] JaylanPHNX:
Dude, I can't wait. Mad props, as the kids say.

Sent from my beastly Galaxy S 2.
[T-Mobile Samsung Galaxy S II SGH-T989] Pellel2:
Mr x look at SiyahKernel for I9100.
[T-Mobile Samsung Galaxy S II SGH-T989] phewizzo:
Niceeee...
[T-Mobile Samsung Galaxy S II SGH-T989] Pellel2:
Great work on your rom I'm using interactive I love it try to incorporate interactiveX if you could. Once ppl use it they will love it it is one of the beat rated governors along the basic interactive gov. Thanks a lot for your constant hard work
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
care to expand on why? lol
[T-Mobile Samsung Galaxy S II SGH-T989] Pellel2:
It is the best kernel for the I9100. Just look at it. Just trying to make your work a bit easier.
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
i can look, but they hardware is much different. work... there will still be lots lol
[T-Mobile Samsung Galaxy S II SGH-T989] Pellel2:
Oh yeah absolutely but the main code and added features could be easily added to your kernel.
[T-Mobile Samsung Galaxy S II SGH-T989] pb05life:
I can not get that line during screen on to go away. I wiped both caches and fix permissions neither helped. Other then that everything has been great
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
im fairly sure this is a rom thing not kernel thing. i do not know because i am running a stock rom right now.
[T-Mobile Samsung Galaxy S II SGH-T989] mbernusg:
Yeah its beast mod problem and its horribly annoying

sent from my real Gs move in silence like lasagna
[T-Mobile Samsung Galaxy S II SGH-T989] pb05life:
I reinstalled the kernel and wiped afterwards, the line is gone now.
[T-Mobile Samsung Galaxy S II SGH-T989] mbernusg:
It was gone at first but came back

sent from my real Gs move in silence like lasagna
[T-Mobile Samsung Galaxy S II SGH-T989] batvan:
Why can't I set the freq higher than 1512 ? Even wiping both cache .
[T-Mobile Samsung Galaxy S II SGH-T989] Ashtear:
Try restarting from scratch. When I ran into issues with the kernel not updating properly, I reinstalled the ROM I was using to make sure the kernel was back to the stock for that ROM, and then reinstalled the Synergy kernel. Give that a shot.
[T-Mobile Samsung Galaxy S II SGH-T989] :
this kernel is the destroyer of battery life. lol
[T-Mobile Samsung Galaxy S II SGH-T989] redz1234:
Is that good or bad?
[T-Mobile Samsung Galaxy S II SGH-T989] :
bad... very bad
[T-Mobile Samsung Galaxy S II SGH-T989] cashyftw:
Haha! Creative name!
[T-Mobile Samsung Galaxy S II SGH-T989] }{Alienz}{:
I know. Battery is terrible. And if you use CPU Spy you will see the reason. It basically NEVER sleeps. Always stays at 384Mhz for me. Lol. Still getting my 12 hours. I can live a week till **** gets fixed.
[T-Mobile Samsung Galaxy S II SGH-T989] hazard99:
It never sleeps while using lagfree. The so. Here's an idea, change the gov when your out and about.
[T-Mobile Samsung Galaxy S II SGH-T989] fatboy547:
what should we change it to?
[T-Mobile Samsung Galaxy S II SGH-T989] JaylanPHNX:
I'm getting decent results on interactive.

Sent from my beastly Galaxy S 2.
[T-Mobile Samsung Galaxy S II SGH-T989] batvan:
I will give it a shot but I am on stock rom .
[T-Mobile Samsung Galaxy S II SGH-T989] hazard99:
I'm using ondemand and conservative.
[T-Mobile Samsung Galaxy S II SGH-T989] :
Why is this kernel requesting su permissions every three minutes?

-We do what we must because we can. For the good of all us, except the ones who are dead.-
[T-Mobile Samsung Galaxy S II SGH-T989] cashyftw:
Not happening to me.
[T-Mobile Samsung Galaxy S II SGH-T989] hazard99:
You consider that the kernel asking for su? I consider that setcpu asking. But maybe the parameters that you set are being rejected or reset
[T-Mobile Samsung Galaxy S II SGH-T989] Ashtear:
You know, in my experience lagfree sleeps, just not when charging. If it's charging it will never dip under min speed. But as soon as you unplug it and turn off the screen, it begins to dip into deep sleep.

Here I just reset the timers as soon as I unplugged it and turned off the screen a few seconds to illustrate my point.

[edit] same with on demand. It sleeps just fine, just not while charging.
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
After much testing, I have concluded lagfree as well as other govs are deep sleeping fine. My first issue was the fact that i had not considered that deep sleep does not happen when charging or on usb, after fixing that brain fart all my tests were conclusive in the fact that they all deep sleep for the majority of there screen off state. Lagfree being a little bit more touchy because its designed to ramp up cpu at 15% usage. and 15% usage at 192-384mhz was pretty easy to achieve even idle. I did however get 1h18m of deep sleep overnight last night while it was charging, according to cpu spy.

so i loosened it up so it only starts ramping at 30% usage. this should help keep it asleep when we want it to be as well as still allow lagfree to give us decent cpu scheduling.

I did all my tests with bln off as i did not want a message to cause the lights to pull the device out of a sleep into a wakelock while they were on. However when i did test with bln on, after the lights go out bln seems to be successfully releasing the device from a wakelocked state as it should be, as im getting deep sleep. Although in logcat i can see the alarm manager even asking for or releasing wakelock when bln kicks on. so battery drain with it would be minimal unless your phone is always exploding with alerts and messages.