yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S II SGH-T989] Ashtear:
Mr. X, in your understanding, should both lagfree and ondemand behave similarly in screen off conditions, that is, spending as much time in deep sleep or min clock speed?

In that case, their difference stands in how they prioritize performance vs battery drain while awake, with lagfree being more performance-focused than ondemand at the cost of battery drain, right?

Or do you believe the difference in battery drain between them to be negligible?
[T-Mobile Samsung Galaxy S II SGH-T989] tiquau:
I got the same thing. Not only on this kernel but also on the jug v0.3 . I am running the jug v0.1 now and have not seen the same log. Same ROM same setup, just different kernels.
[T-Mobile Samsung Galaxy S II SGH-T989] hazard99:
cant wait to test the relaxed lagfree settings. I wish I knew how to edit these id play around with it and see what I liked

Or maybe we could make something to set these values at boot that way you can tune it to your own personal liking.
[T-Mobile Samsung Galaxy S II SGH-T989] solrac.dc:
If you are not picky like I am, you can disable the permissions in superuser under "notifications" in preferences just uncheck the box next to it. :D
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
I'll be uploading shortly.

You can edit the cpu gov settings via the sysfs just like voltage tables. but i am kind of hoping we will get our app going soon that will give you a gui for all for this.
[T-Mobile Samsung Galaxy S II SGH-T989] hazard99:
that would rock and I would totally donate for that.

I'm all about supporting the community.

In the mean time Im playing around with with the ondemand gov and the up threshold.

I wanna find out where it stalling out is annoying for me.
[T-Mobile Samsung Galaxy S II SGH-T989] tiquau:
I am not bothered by the notifications and btw, I did disable the notifications. I just wondered if the new features added in the later kernel releases might have cause it (in case of the jugs kernel), because it does not happen in jugs version v0.1. I am not complaining just my observation.
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
Lagfree is a little bit of on-demand and a little bit of conservative mixed together then on some roids. It will use some more battery because its ramp up happens much sooner then either of the others, and much faster, but it also ramps back down faster as well, it also gracefully ramps up and down through all clock ranges rather then sending the prossesor right to max freq.

Users really have to try them and see what works for them, soem users use there device more and have more demanding apps. so different gov's will work better for some andn ot others.
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
V 0.5.2 isi n the first post

Since i undervolted V0.05.2 significantly, this release is along side V0.05 in case users need to roll back. I have tested rigorously it with my device for stability, no lag and consistent benchmarks. But this does not mean its stable for every one so i need you guys to try it out.
[T-Mobile Samsung Galaxy S II SGH-T989] Ashtear:
I ask because in checking with System Tuner and different min and max clock frequencies, I see ondemand being more conservative than lagfree, which is what leads me to judging it more battery-friendly, whereas I see lagfree spiking up yet stair-stepping down, doing that distinctive N-shape regardless of load. I don't know if it's intended or not, yet I would imagine it helps it with it's responsiveness, since no matter when there is always at least one core ready to pick up sudden load increases.

Yet I'll hold back on deeper scrutiny, since you already effected some changes on lagfree that we haven't tested. I'll test it then, though, see if the situation persists.
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
By design lagfree is supposed to keep one cpu active, since i have one core dynamicly shutting off, you see that the cpu will remain some what active on screen on showing that N patternt, i've relaxed the settings so it is not as rapid now, but you are going to see that cpu still cycle its frequencies waiting for load, its keeping its self "warm" if you want to call it that so its ready immediately when you throw something at it.

By increasing the min load on the gov to 30 i'm just trying to help those who say they cannot get lagfree to deep sleep, however as others have suggested they may have mistakenly been trying to achieve this while charging.

Bottom line, I prefer lagfree, it uses more battery. There is no doubt about it. But in my daily situations i have access to a charger in most cases and i enjoy the responsiveness.

When i have to go out and i know there will be no charger i most always choose interactive or conservative.

And thats pretty much what i do and have been doing since my first android device, i choose the right one for my current situation and needs.
[T-Mobile Samsung Galaxy S II SGH-T989] phewizzo:
X as soon as I flashed the latest I got the white line in the middle of the screen when turning on the screen, wiping cache, davlik and fixing permissions didnt help. But i will let u know how battery life is.
[T-Mobile Samsung Galaxy S II SGH-T989] Pellel2:
Lagfree was dropped in I9100 for the same reason you guys are saying here. It does not really work properly and eventhough is a great idea it drains too much battery. I was surprised to see you guys didn't know the phone never sleeps while charging because the CPU needs to be at min freq at all times to charge the battery. It is designed like that. I keep saying you guys should really try Interactive governor. It is a perfect mix between ondemand and conservative. It was designed to hive you the best performance and battery drain you can get. It is very simple as well so the phone CPU can actually follow it without going crazy. It does not matter if you are in stock or custom rom as it is an option in kernel settings. Do yourself a favour. Try interactive governor and post back your results you will be surprised. I will love if mr. X could possibly add interactiveX as I consider it the best governor out there besides smartassV2
[T-Mobile Samsung Galaxy S II SGH-T989] hazard99:
donated sir....

thanks for your constant updates and attention to detail.
[T-Mobile Samsung Galaxy S II SGH-T989] Ashtear:
It's great work all around. Thank you for the time and attention to answer to user feedback and for making this great kernel, which allows this phone to behave exactly like it should have from the beginning. I've always said that, perhaps sadly, but still assuredly, the community picks up the slack the device manufacturers and carriers leave when they don't properly tune their hardware.

Again, thanks, and keep it up! ^_^
[T-Mobile Samsung Galaxy S II SGH-T989] hazard99:
I got the same... wiped dalvik fix permissions and wala it was fixed
[T-Mobile Samsung Galaxy S II SGH-T989] Ashtear:
Wow. My apologies. My ignorance got the best of me. I didn't think that the reason why the CPU didn't sleep when plugged was to feed the battery. Now I feel stupid. Sounds kind of obvious now. o.O

As for the suggestion of Interactive, I'll give it a shot. From what I understand in this kernel it's just a faster-stepping ondemand, no? Speeds up faster on load and slows down faster when done, right?
[T-Mobile Samsung Galaxy S II SGH-T989] lamlux:
Flashed with 0.05.2 :) running interactive (as i have been since it was placed in governors, 0.03?, always seems to have the best effect on my phone), on screen active, and powersave with screen off.

Will report with findings!

Thanks as always and taking the time to explain what is going on here.
[T-Mobile Samsung Galaxy S II SGH-T989] Pellel2:
Not a problem buddy we are here to help. I really don't know the insights of the code for interactive but I can say it can ramp up the CPU faster and most precisely to the correct CPU freq and then it slows down faster too. InteractoveX governor is even better because it sets min and Max freqs while screen is off by kernel code and not setcpu so it is a way better and cleaner way of saving battery. Think about it setcpu has to be awake while the screen is off to constraint freqs so do you think the CPU will really sleep? No so that's why I don't get ppl who set setcpu with these screen off patterns when at the end you waste more battery. Android system is very simple. Please guys think about ur issues before posting them. If u can't really get it then post otherwise u just waste pages.
[T-Mobile Samsung Galaxy S II SGH-T989] Ashtear:
It's easier to use SetCPU than to fix a kernel. Having these kinds of upgrade possibilities to the kernel depends on a kind soul like Mr. X who not only has the knowledge and motivation to effect these fixes, but who also shares them with the community. Not all devices have someone working in kernels, or necessarily at this detail.
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
Just finished patching in ondemandx and interactivex. interactive x had an error that was confusing me, but it turned otu to be a single line of code that i had over looked multiple times lol ugh i'm tire3d today.

Also thank you hazard99 for the donation, I appreciate it!
[T-Mobile Samsung Galaxy S II SGH-T989] Pellel2:
hey Mr X is there a way you can incorporate in your kernel a wipe of batterystat every time we reboot the phone. that might be a way of fixing our 100% bug some of us have.

PS. Great job and motivation man. Keep it up you are the best.
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
i had always been told wiping battery stats too often can cause the device to report 100% battery when its not fully charged and vice versa.

I don't know if this would be a good idea, maybe rebooting to recovery and wiping them on an as needed basis like people have been doing is better
[T-Mobile Samsung Galaxy S II SGH-T989] Pellel2:
yeah there must be a better solution. stupid samsung there r useless
[T-Mobile Samsung Galaxy S II SGH-T989] manekineko:
Personally, I'm not sure that wiping battery stats affects the 100% bug in any way. People were getting hit by their battery getting stuck at 100% and that's why they started wiping the battery stats in the first place. Then people got hit by the bug afterwards and thought it might be wiping the stats too much.

Still, whether or not the bug is related to the battery stats, it really looks like a bug in the driver for the battery, as whatever the stats are, it shouldn't be getting stuck at 100%. Plus, this problem is resolved (albeit temporarily) by rebooting whether or not stats are wiped.
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
I remember back in the nexus days, users were saying if you flash a rom while plugged in you can cause your battery stats to get messed up and start reporting the wrong battery %. this is why the battery stats wipe was introduced in CWM.

To the guys getting stuck at 100% does this happen after you flash a rom or something?
[T-Mobile Samsung Galaxy S II SGH-T989] Ashtear:
Not necessarily. I remember it happening when the phone was completely stock, even before root. So I'm pretty sure it's a software issue with the low-level battery drivers below Android itself. After all, if it were hardware, rebooting wouldn't fix it, and the wrong battery level report is consistent all across Android, be it the notification bar or any other apps.
[T-Mobile Samsung Galaxy S II SGH-T989] Pellel2:
No happens in any rom even on stock after a while. You are right tho it may be a driver problem
[T-Mobile Samsung Galaxy S II SGH-T989] Pellel2:
Hey mr x r u using the drivers from T-Mobile kernel or telus kernel because I think telus has the new drivers if I'm not mistaken
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
My kernel is 100% based on telus.
[T-Mobile Samsung Galaxy S II SGH-T989] Ashtear:
ANy idea if the ROMs here are based off of Telus? I mean, I don't know jack about development below the Android level, but maybe the ROMs we're using aren't based off of the Telus stock? I would assume the drivers for all the low-level hardware are on the ROM, or are they packaged on the kernel?
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
drivers are in kernel, and afaik no roms are basted off telus.
[T-Mobile Samsung Galaxy S II SGH-T989] Pellel2:
it could be because of T-Mobile rom. if you look at the posts they are mostly T-Mobile users not Telus. I am on Telus and i dont remember having this issue on stock
[T-Mobile Samsung Galaxy S II SGH-T989] Ashtear:
I was noticing that. What I wonder is if the Telus ROM has no issues yet Mr. X is working with the Telus kernel source, why do we still have the problem? That would discard the driver being at fault, I think...
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
So far interactive x and ondemandx are working. I'll update shortly and update the source in the first post.
[T-Mobile Samsung Galaxy S II SGH-T989] Pellel2:
Thanks a lot mr x u r the best
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
has any one had stability issues on the 0.05.5? thats the undervolted one.
[T-Mobile Samsung Galaxy S II SGH-T989] skadude66:
So far so good! No reboots or anything.
[T-Mobile Samsung Galaxy S II SGH-T989] phewizzo:
05.5? I thought u went to 05.2. But no stability issues at all. Battery seems much better then before. Still draining a little more then stock but i will take it for your kernels awesome performance. Also hoping the new kernels will be better the ondemand.
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
go look at the first post, there is v0.05.5 in there that has massive undervolts, smartassv2 added back and i forget what else lol
[T-Mobile Samsung Galaxy S II SGH-T989] phewizzo:
I see no 05.5 i must be blind. I though 05.2 was the massive undervolts.
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
nope, i'm just slow in theh ead today. I was asking about the kernel i havnt released yet lmao. what i meant to saw was,

Has any one had stability issues on V0.05.2? lol
[T-Mobile Samsung Galaxy S II SGH-T989] phewizzo:
Bwauhahaha. Na everything is real good with 05.2.
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
I have an oddity.

Interactive x works great if you set on it.

HOWEVER if you try to boot with it default the device randomly reboots.

So i'm checking some kmsg's and what not see whats up.
[T-Mobile Samsung Galaxy S II SGH-T989] Ashtear:
This is what my phone's looking like with 0.05.2. Notice the weird CPU Spy values...
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
ive seen this before, just reset the stats in the menu and click refresh and it will load them up properly.
[T-Mobile Samsung Galaxy S II SGH-T989] Jjday7:
The new kernel is running great but every rom that I run it on, it causes the half crt animation when turning on the screen. I have run this on 3 roms and sometimes it happens right away and sometimes it takes a few restarts.

I know it was posted to just wipe dalvik and fix permissions, but that causes you to have a clear lockscreen and doesn't fix the problem.

Can anyone tell me a solid way of fixing this?
[T-Mobile Samsung Galaxy S II SGH-T989] skadude66:
The clear lock screen can be fixed by just resetting your lockscreen picture in the settings.
[T-Mobile Samsung Galaxy S II SGH-T989] Jjday7:
ok so the fix stated earlier is a actual working fix? Does the problem come back at all? I love the kernel and it runs really smooth. I am trying to do whatever I can to keep running it and avoiding the stock kernel.
[T-Mobile Samsung Galaxy S II SGH-T989] manekineko:
I really don't think this has anything to do with your kernel. I'm on the stock kernel that comes with Juggernaut ROM and I have the bug. I think it's the custom ROMs.
[T-Mobile Samsung Galaxy S II SGH-T989] phewizzo:
It didnt work for me either till i wiped davlik cache and fix permissions then flashed the kernel again
[T-Mobile Samsung Galaxy S II SGH-T989] hazard99:
So far everything is good for me no reboots or sods my touch screen is acting retarded but that might just be me
[T-Mobile Samsung Galaxy S II SGH-T989] Jjday7:
I'll have to give this a try, Thanks.

This is definetely kernel related because it only happens after I flash the kernel. The original stock kernel doesn't do this and roman's stock kernel does. Sometimes it takes a while to happen but it does eventually.
[T-Mobile Samsung Galaxy S II SGH-T989] AllGamer:
the 192 speed setting came back on v0.05.2

was that intended?
[T-Mobile Samsung Galaxy S II SGH-T989] takev215:
i have beastmod 2.1-1. i flashed this kernel and i got the half crt line when screen comes on...i tried wiping cache and dalvic and fix permission in cwr but it didnt solved the problem, i had to go into rom manager and fix permission thru there. than went to cwr and wipe cache , dalvic cache and fix permission than rebooted....problem solved, i than installed some games and it caused the line to come back..i repeated the steps and it went away
[T-Mobile Samsung Galaxy S II SGH-T989] JaylanPHNX:
I flashed the kernel (twice) and set CPU refuses to overclock or use any governor but lagfree. I'm using stock Tmobile ROM. Any suggestions?

Sent from my beastly Galaxy S 2.
[T-Mobile Samsung Galaxy S II SGH-T989] Jjday7:
I just posted about this a few post before you. I haven't tried the steps listed above but will report back if it works for me.
[T-Mobile Samsung Galaxy S II SGH-T989] phewizzo:
I flashed back to this kernel and im also getting it again. Im trying everything to get rid of it and this time its not going away. Before i wiped cache and davlik, fix permissions and flashed kernel again. Now i tried and nothing.
[T-Mobile Samsung Galaxy S II SGH-T989] Ashtear:
Not just you. I had this issue a version or two ago. Don't know if it's related. Even when moving the finger in a smooth line it would jump and skip the touch point randomly, but just an instant at a time.
[T-Mobile Samsung Galaxy S II SGH-T989] TricH:
I updated Bombaridier to version 1.4 running this kernel!
[T-Mobile Samsung Galaxy S II SGH-T989] mbernusg:
The way to fix it is the cache and dalvik cache wipe.. but if you don't let the phone sit for 10 min and let dalvik rebuild it will not fix the line..

sent from my real Gs move in silence like lasagna
[T-Mobile Samsung Galaxy S II SGH-T989] phewizzo:
Sit in recovery or at boot?
[T-Mobile Samsung Galaxy S II SGH-T989] takev215:
did you fix permission in rom manager first?

i dont have that issue anymore on my phone
[T-Mobile Samsung Galaxy S II SGH-T989] hazard99:
I don't either and I had it with other roms, and kernels. I first saw it when juggernaut 2.0 came out.
[T-Mobile Samsung Galaxy S II SGH-T989] iwasblown:
The UV kernel is great on my phone, smartass if much improved, its slot more conservative than before, lag free seems to be a high performance scheduler which can come in handy when you need it to be your daily drive but its still to rich for my blood when it comes to battery consumption. Great job though an much love
[T-Mobile Samsung Galaxy S II SGH-T989] fatboy547:
what is the scaling pattern for smartassv2?
[T-Mobile Samsung Galaxy S II SGH-T989] hazard99:
From what I can tell it doesn't step through the speeds it bounces to whatever it thinks is good at the time. Where as lagfree hauls ass to full speed then slows Down.
[T-Mobile Samsung Galaxy S II SGH-T989] blackmamba0730:
I'm having the same issue with the CRT animation. I tried the solutions mentioned above but still a no go.
[T-Mobile Samsung Galaxy S II SGH-T989] phewizzo:
Fix permissions in rom manger, not in recovery.
[T-Mobile Samsung Galaxy S II SGH-T989] blackmamba0730:
Tried that too :/
[T-Mobile Samsung Galaxy S II SGH-T989] mbernusg:
Sit at boot for at least 10 min

sent from my real Gs move in silence like lasagna
[T-Mobile Samsung Galaxy S II SGH-T989] JaylanPHNX:
I went back to version 0.03.2, the last version I was using, and it works. Set CPU lets me change clock speeds and governor. Any ideas why .05.2 wouldn't work?

Sent from my beastly Galaxy S 2.
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
there shouldnt be an issue, try try downloading the kernel and flashing again, also make sure to clear the dalvik cache.
[T-Mobile Samsung Galaxy S II SGH-T989] VICosPhi:
Mr. X you should update thread title with BLN :D
[T-Mobile Samsung Galaxy S II SGH-T989] fatboy547:
Mr x. what do you suggest for a good balance of speed and battery. smartass or lagfree?
[T-Mobile Samsung Galaxy S II SGH-T989] JaylanPHNX:
I flashed .05.2 for a fourth time. Set CPU still won't take anything other than lagfree at 1512. I even tried flashing .05, then.05.2. Neither worked. .03.2 works. I cleared both cache partition and dalvik cache each time. I'm on Tmobile stock ROM. I double checked that I still have root (terminal emulator says I do). I'm stumped.

Sent from my beastly Galaxy S 2.
[T-Mobile Samsung Galaxy S II SGH-T989] -Mr. X-:
ill take a look at the updater-script in a few and see if i can see why this isnt working for you.

EDIT:

Try this

http://www.multiupload.com/PS6XHI6TC8
[T-Mobile Samsung Galaxy S II SGH-T989] }{Alienz}{:
Hmm...two things I'd like to see in the future.

1. GPU OC to get rid of the choppiness in homescreen scrolling

2. Battery issues fixed

Other than that it's a very nice kernel!
[T-Mobile Samsung Galaxy S II SGH-T989] Ashtear:
What are you talking about?
[T-Mobile Samsung Galaxy S II SGH-T989] Docmjldds:
Wow. Believe it or not, this is the first kernel I decided to try since I basically have been happy with my performance as well as battery times on the majority of ROMs here for this phone. Running Juggernaut 2.0 I just clean installed and restored the majority of my apps. Not a huge fan of Quadrant, but just to give users here a show of Kudos from me to you, I was able to OC to the max, 1836MHz and posted a score a bit over 4500 which is my all time record for this phone. I wasn't trying either to shut down all the processes etc to tweak the setup to give me a high score. Got this basically on the third try and all others stayed at 4400+. See attached. Also uploading a screenshot of SD tools showing read and write speeds for my 32GB Patriot Class 10. On my prior ROM using Melvin's Beast, I had hit a few 10MB/s write speeds but the majority stayed in the low to mid 9's. With your kernel and the juggernaut 2.0 ROM, I had fairly consistent 10.0MB/s write speeds which is more in line with the specs for my card. IOW, your kernel and the Juggernaut ROM combo has most definitely given me the best performance to date.

HOW I INSTALLED:

Since I saw a few posts on issues with installing, I first flashed the kernel. I then wiped only the Dalvik cache, and followed this with fixing permissions. The permissions took almost one minute to complete. It was not instantaneous as I have seen on using this for various prior reasons. No hangs on booting up and so far absolutely smooth in all aspects.

BTW..used this kernel

http://www.multiupload.com/PS6XHI6TC8

Synergy-Kernel-v0.05.3-2.6.35.11-ck3+-OC1.8-UV-BFQ-LAGFREE-Autogroup.zip (10.18 MB)

Edit: SetCPU works with all aspects of settings choices. Currently trying the SmartAss Gov and slight OC to 1620MHz
[T-Mobile Samsung Galaxy S II SGH-T989] JaylanPHNX:
The new one didn't work either, but I tried using system tuner instead of set CPU and that works. So it's something with set CPU only going with your default settings.

Sent from my beastly Galaxy S 2.