yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II SGH-I777] naturallyfrozen:
There's a search button you can use...

Current setup? I believe it doesn't wipe anything if you're already running previous version of the kernel.

NoSig
[AT&T Samsung Galaxy S II SGH-I777] nyydynasty:
entropy, great job on the latest kernel (so far). I've only tested it for about 60 minutes but at work, I normally drain battery at about 5% per hour (at idle) and after 1 hour, its only drained 2% after the lastest kernel update. It could be a coincidence but its looking good very early.
[AT&T Samsung Galaxy S II SGH-I777] NJGSII:
Did an AnTuTU benchmark last night using this kernal at 1.2GHZ performance.

Results are very close to Siyah's kernal.

So far it feels great. Haven't noticed much with the sound yet. Will continue to listen to that before saying more.
[AT&T Samsung Galaxy S II SGH-I777] stalked_r/t:
The irony in this post is humorous.

Thanks for the answer I got above though.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
5%/hour idle screams "wakelock" to me.

The cpuidle changes might have dropped the wakelock power penalties - something I'll need to test this weekend. I usually don't expect major improvements from patches like this, so it would surprise me...
[AT&T Samsung Galaxy S II SGH-I777] mjgspr95:
Battery is definitely better on this kernel over siyah. Only real advantage to siyah is easy GPU oc/uv controls and VR, SIO scheduler options. I know your kernel has a method of adjusting GPU (above my pay grade), any way to allow voltage control to adjust?

i777 stock

Entropy512 Doom

Onepointsixingit
[AT&T Samsung Galaxy S II SGH-I777] nyydynasty:
yeah, even on my captivate i used to drain about 5% per hour at idle, while at work (at work = no wifi). While at home, I drain about 3% per hour (while on wifi).

as soon as I upgraded to your latest kernel, its cut the drain by half. I'll continue to test but thanks for that update. It seems to be working pretty well so far.
[AT&T Samsung Galaxy S II SGH-I777] erad1:
Just installed your kernel into latest unnamed ROM and wanted to ask a couple questions...first I want to say thanks for your kernel development skill and making this phone more enjoyable to use...I have recently upgraded from my Captivate and was using the Tegrak o/c module, will that work on your latest release? Also I noticed there is no identifying of your kernel in settings/about phone/kernel version...is this normal? I apologize if these have been previously answered but searching threads is useless from mobile app. ;-)
[AT&T Samsung Galaxy S II SGH-I777] Peaster111:
Like you I was using the Tegrak O/C on my Cappy.... Don't use it on this one! It is not a good match on the SGS2. Head to the market and get "Set CPU" to o/c and "CPU Spy" to determine the kernel version. About phone for kernal info is pretty useless on the SGS2 (unlike the Cappy).
[AT&T Samsung Galaxy S II SGH-I777] Alucardis666:
Gonna flash the 12/01/11 release now and try it out. Thanks!

EDIT:

Flashed without a hitch and everything is working well. it feels a little snappier than siyah's kernel. and my CRT animation no longer lags. Also the audio does sound a little cleaner and less distorted at high levels. Thanks
[AT&T Samsung Galaxy S II SGH-I777] clumsywob:
Any progress on this? :) I appreciate all your hardwork. Do you know if this can be used to work with Touchdown as well?
[AT&T Samsung Galaxy S II SGH-I777] hkeyman:
I use Touchdown and its working fine with it so far on mine.
[AT&T Samsung Galaxy S II SGH-I777] desiromeo719:
have the liblights or w.e thats needed to make bln work been added to the new kernel? or is that specific to roms...
[AT&T Samsung Galaxy S II SGH-I777] iRide113:
+1

Quadrants don't mean crap.

I can get 38 hours with wifi on all the time and at least 4 hours of screen time. I drain about .8% an hour if I don't touch the phone at all.
[AT&T Samsung Galaxy S II SGH-I777] paleman27:
What up?
[AT&T Samsung Galaxy S II SGH-I777] Hobbbez:
Great kernel. Really helped with battery life with the unNamed Rom. Sound seems very good, as well! Thanks a lot!
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
liblights is in the system partition (i.e. the ROM) - It can be added yourself, see post #3 or 4 (forget which one)
[AT&T Samsung Galaxy S II SGH-I777] Audiochild:
Hi, has anyone noticed a decrease in earphone volume running the 12/1 update. I flashed this over Unnamed 1.3.1 expecting only better audio if anything but all day I've had to turn headset volume up all the way to hear conversations and have struggled even at max vol. This is not something I noticed previously. Standard handset speaker and speakerphone volumes both seem the same to me. I have a nandroid backup with the 11/23 version, thinking of a restore. Just don't wanna act prematurely in case my mind's playing tricks on me! Thoughts?

PS. Thanks devs for such great work and everyone for the amazing forums! So glad to be a part of such a committed group. I'll try and keep my "noob-ness" from obstructing the real business!
[AT&T Samsung Galaxy S II SGH-I777] autonomous-inc:
Actually, running UnNamed I've realized the opposite. Just had a phone call that came in clear and plenty loud.

On top of that, battery life seems to be a hell of alot better like others mentioned. As far as speed goes, I don't notice much of a difference, but then again I'm not running intensive applications that push my phone to its limits. Like one user mentioned, "apparently" Quadrant scores don't mean crap. Regardless, for those interested, I'm still getting a consistent ~5000 in it.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Flash back and forth between the 11/23 zip and the 12/1 zip and test. No need to nandroid back and forth.

Reports like this are why I asked people to beat on sound - look at the changelog.

To be clear - this is wired headset volume in calls only? Or media playback?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
As I mentioned before, 5%/hour is consistent with a perma-wakelock.

I just tested, and full-wakelock power usage in airplane mode didn't drop much at all. It was 4-4.5%/hour before, still is.

I think you just got lucky and somehow escaped a perma-wakelock.

With no wifi and extreme weak signal (At my desk at work it varies from one bar of 3G to 1 bar EDGE to no signal), I dropped around 2%/hour with UCKH7-based ROMs. Since moving to VillainROM, it dropped to 1%/hour with no kernel changes.

I did notice in an overnight on-wifi test the first night I tested, it seemed to be far less drain than normal - but I was doing a wakelock test last night.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Oh, tip for those who want "smartass"-like behavior without the bugs often present in wacky alternative governors:

Use SetCPU to set a minimum higher than 200 MHz when screen is on.

For example, I have screen-on with min 500 max 1200, and screen-off with min 200 max 500.

The only advantage smartass has then is slightly less latency for the screen-on transition - but our device takes 650 msec to wake up from suspend anyway, so who cares? The advantage then becomes that instead of living with smartass' default screen-on/off behavior, you can use whatever governor you like within the on/off limits.
[AT&T Samsung Galaxy S II SGH-I777] hussarfilms:
the liblights folder has 2 files.

Bln and stock.

using es file explorer do I only push the"bln light" file to the system folder you specified?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Yes, the BLN one, and rename it (if you use the ADB instructions given, it will do this for you)

You also need to change the permissions, that's what the chmod line does.
[AT&T Samsung Galaxy S II SGH-I777] clumsywob:
Did you have to change anything or do anything special? Right now, the only app that is triggering the BLN is Gmail. GoSMS nor Touchdown work. If I remember correctly, just about any notification on my Craptivate triggered it.
[AT&T Samsung Galaxy S II SGH-I777] prince_niceguy:
using min higher than 200MHz results in deep sleep getting unused. I think that should reduce battery life... correct me if I am wrong.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Wrong - deep sleep (suspend) is independent of the clock governor settings used when not suspended.

Of course in this case - the whole point of what I recommend in the post is to raise the minimum when the screen is on, and the device will NEVER enter deep sleep when the screen is on.

You could set a minimum of 500 MHz when the screen is off and you would still enter deep sleep, but tbh - having a min of 500 with screen-off is kind of silly.

I usually do min 200/max 500 when screen-off, min 500/max1200 when screen-on.

Having a min of 500 in any situation will reduce battery life - but the idea is that when the screen is on, this affect is negligible compared to all of the other things consuming power.
[AT&T Samsung Galaxy S II SGH-I777] Audiochild:
Good call on the flashing back and forth, thx for that... and yes my comment was specifically concerning wired headset call volume only. There didn't seem to be a volume shortage with media play. I'll post back after living with it some more. Thx
[AT&T Samsung Galaxy S II SGH-I777] hussarfilms:
Great.

Used es file explorer and it worked perfectly.

Thanks for the help.
[AT&T Samsung Galaxy S II SGH-I777] Peaster111:
That's the tip of the day! Great idea. .. Simple and effective.

BTW... I should have time tomorrow to perform some audio testing. I'll post my thoughts. It'll be wired headset testing like Audiochild.
[AT&T Samsung Galaxy S II SGH-I777] desiromeo719:
Just tested with wired apple headset w/o mic to make a call and sound was normal and clear, so was without the headset using earpiece and also on speaker...didnt test any bluetooth device. So far sound quality seemed great and cant wait for the next update3 patch...
[AT&T Samsung Galaxy S II SGH-I777] evodon84:
ok just flashed the new kernal. Under about phone, my kernal shows 2.6.35.7. Is that correct?
[AT&T Samsung Galaxy S II SGH-I777] desiromeo719:
Yes. If u have cpu spy u can get more information about the kernel....but as far as under About Phone your not going to see any change.
[AT&T Samsung Galaxy S II SGH-I777] evodon84:
oh ok thanks
[AT&T Samsung Galaxy S II SGH-I777] garyd9:
After using this (12/1) for a day or so.. I'm seeing no major difference between it and the 11/13 kernel (both running unnamed 1.31.) I've made no additional changes to any kernel parameters. (I think unnamed turns on ondemand via an init script.)

However, it may not be a "fair" test, as I also changed external SD cards when I changed kernels. (From a 16GB PNY class 10 to a 32GB Lexar class 10.)

Instead of a pretty screenshot of battery usage graphs, I'll just type out:

68% remaining after 17 hours (since full charge), 1 hour and 23 minutes of phone talk time (39%)(most with the speakerphone on while I was on hold with AT&T), 30 minutes display on time (9%) (modified auto brightness.) The battery graphs show "android OS" at 28%.

Phone seems to go into deep sleep just fine, and there's nothing standing out on my BBS partial wakelocks.
[AT&T Samsung Galaxy S II SGH-I777] hussarfilms:
likewise, although for me the only thing that triggers it is the email app. Nothing with gmail or mms.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Unnamed does turn on ondemand in the initscripts.

Those are pretty good numbers considering 1h23m of talk time! In fact I'm surprised you had that much battery left with that much talk time.
[AT&T Samsung Galaxy S II SGH-I777] naturallyfrozen:
I just wanna say that you're definitely one very hard working man at this, Entropy. You're dedication can be applauded.

Thank you very much, keep up the awesome work.

NoSig
[AT&T Samsung Galaxy S II SGH-I777] evodon84:
Awesome work entropy, flashed this afternoon and battery life seems a bit better so far. Thanks for all your hard work on this. Sent you a donation.
[AT&T Samsung Galaxy S II SGH-I777] garyd9:
This thing is really only sipping at the battery right now. Now I'm at 63% remaining battery with 1 day, 29 minutes uptime since last charge. No additional voice calls, but 39 minutes of screen time.

I'm guessing that changing to the conservative governor (in favor of ondemand) would prolong the battery? What "real world" impact would I see in using the phone if I were to do that?

Thanks

Gary
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
Yes, it would. Not drastically, but perhaps noticeably. As far as real world impact, a lot of people have said that they don't notice any slowdown with conservative on this kernel. Personally, I prefer ondemand.
[AT&T Samsung Galaxy S II SGH-I777] eep2378:
+1 1hr 23min talk time and 68% remaining?? I'd certainly have no complaints there!! :D
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
You might notice a slight decrease in interactivity since the CPU ramps up slower.

Conservative's defaults have been tuned to be a little more performance-oriented than normal though - if you want to really bias it towards battery increase the up_threshold to around 90 and the down threshold a little bit. (Advanced tab of SetCPU)
[AT&T Samsung Galaxy S II SGH-I777] eep2378:
You mean turn up the down threshold "a little bit"? Default is 35. So 40? 50?
[AT&T Samsung Galaxy S II SGH-I777] Alucardis666:
I'm trying 75 up, 50 down and 25 freq step.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
I'm running 45. Moving it higher will bias even more towards battery, but I'm not sure if there's a chance that with a low polling interval and a high down threshold, the governor might "bounce" a bit.
[AT&T Samsung Galaxy S II SGH-I777] eep2378:
ok thanks! What about "ignore nice load"? I always use "1" based on a post by another kernel dev from the captivate forums. Here:http://xdaforums.com/showthread.php?p=13670067#post13670067

Note: this link has no real bearing on your kernel, and the mentioned SetCpu values will differ from device to device, but there is some good overall information about how sampling freqs work, and other various features that Setcpu allows us to adjust. Namely those we have just discussed(up/down_thresholds).
[AT&T Samsung Galaxy S II SGH-I777] hkeyman:
10/7 installed

I will keep you posted on anything...I just installed the latest (10/7) and I will be watching CPU Spy and also any weird anomalies that happen (If any) and let you guys know.
[AT&T Samsung Galaxy S II SGH-I777] tassadar898:
does this kernel allow gpu Oc/UV?
[AT&T Samsung Galaxy S II SGH-I777] eep2378:
Just flashed 10/7 kernel(no doom, for now :)) Will let you know how things go over the next day of so :)
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Do you see that listed as a feature? I know I don't remember writing it in the features list.

If my kernel has a specific feature, especially one as unstable as that one, you'll see it in the list.

Currently: Not planned. Not unless people can prove their intelligence and maturity by not reporting overclock/undervolt stability problems. We'll see how that works, but if history is any inkling of what is to come, people are going to ignore the big red text.
[AT&T Samsung Galaxy S II SGH-I777] hkeyman:
Would this Kernel have any effect on not using both cores? I just did quadrant and checked device information and it lists Cores as one. But previously before the current Kernel install it was showing two Cores.
[AT&T Samsung Galaxy S II SGH-I777] amerikian:
Any chance for a cwm flashable version?
[AT&T Samsung Galaxy S II SGH-I777] TechSilver13:
Using the doom core and overclocked to 1.6ghz about 2 hours ago. I've made phone calls watched videos and ran quadrant 4 times in a row (got 5108) fantastic battery life so far (my wifi was not sleeping on 10/06 before for 2 hours straight and I wasn't on wifi that's what was killing my battery the first time. After a reflash of doom it seems to be just fine) thank you for the oc feature it works great with cognition x2 b3.
[AT&T Samsung Galaxy S II SGH-I777] TheTodFather:
Adfkja;DlfjaS;sldfJOWejksdoifjwoEje

Sorry! had to wipe the jizz off my keyboard. The DOOM Kernel just made my quadrants hit a worlds records and my linpack score, hit 80 on ONE CORE! LoL ridiculous! Don't think i'll keep it overclocked but just wanted to test drive it!, BUT....I'll keep it on for a few days see if this thing will create anti-matter or what not.

Thanks for the "DOOM"...

Amazingly this thing is feeling cool and not getting warm. That was surprising!
[AT&T Samsung Galaxy S II SGH-I777] manbeer:
Damn you guys I'm all excited and stuff :)

Wish I was able to check it out, I have my inspire tonight
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Eventually, now that I'm running out of major features to implement and things will slow down a bit, I'll research whether the methods for CWM flashing on the Infuse are safe on this device.

Maybe tomorrow. Not sure.

ARM supports CPU hotplug - to save power it'll completely shut off one core and remove it from the system if it's not needed. As a result, the number of CPUs in the system changes depending on load level.

For example, here's /proc/cpuinfo when idle:

Processor : ARMv7 Processor rev 1 (v7l)
processor : 0
BogoMIPS : 1592.52

Features : swp half thumb fastmult vfp edsp neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc09
CPU revision : 1

Hardware : SMDKC210
Revision : 000e
Serial : 304d19a9c7396a8e

And while running StabilityTest:

Processor : ARMv7 Processor rev 1 (v7l)
processor : 0
BogoMIPS : 1592.52

processor : 1
BogoMIPS : 1592.52

Features : swp half thumb fastmult vfp edsp neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc09
CPU revision : 1

Hardware : SMDKC210
Revision : 000e
Serial : 304d19a9c7396a8e

Note how Processor 1 only appears when there is heavy load.

Some of the cpufreq bugfixes I pulled in from Ninphetamine were related to CPU hotplug, so either that or just the timing of when you looked at Quadrant are why.

I'll try flashing back to 10/04 to see if there's actually a difference... Looking at the code I think hotplug worked, it just leaked memory and had a few oddities. (The Ninphetamine commits were between 10/04 and 10/06)
[AT&T Samsung Galaxy S II SGH-I777] manbeer:
Any other methods of flashing besides odin? I am having troubles with my computer connecting with the phone tonight regardless of what tricks I use
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Heimdall, or via ADB (gotta extract zImage from the .tar first):

adb push zImage /sdcard/zImage
adb shell dd if=/sdcard/zImage of=/dev/block/mmcblk0p5

I'll work on CWM flashing tomorrow.
[AT&T Samsung Galaxy S II SGH-I777] VFO:
Hey Entropy, what version of Heimdall are you using for the GS2? I am having a heck of a time getting my phone to be recognized by Heimdall. All Zadig sees when I look for drivers is Gadget Serial and even though I download that I still can't connect to the frontend. I am using version 1.1 and it has always worked with my Captivate but for some reason not with my GS2. Any ideas?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Latest, 1.3.0 on Linux.

And on an unrelated note: Third update for today, "Doom v2" released. Only one change, support for standard bootanimations (/system/media/bootanimation.zip). It's also CWM-flashable this time.

I really need to work on my version numbering for when I do multiple releases per day...
[AT&T Samsung Galaxy S II SGH-I777] hkeyman:
Flashing now...Thanks Entropy!
[AT&T Samsung Galaxy S II SGH-I777] designgears:
Here ya go, CWM flashable.

md5: E2FB3585E33BF19FD3A2C2DA1AE73CF3
[AT&T Samsung Galaxy S II SGH-I777] mjgspr95:
Just what I've been waiting for... Thank YOU Entropy!!!!! Yes a drink for you sir!

Flashed with odin about and 15 minutes ago. Running full tilt 1600. I'll let you now how it goes. I'm still in my 30 days, lol.

Only interesting thing so far is a high pitched tone when screen tap sound would happen or charger plugged in. I switched off screen selection sound. Never really use it anyway. I switched to deadline and ondemand (my old cappy/infuse set up) and sound is accurate now...?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Slowpoke! :P (But thanks anyway - I used the Cognition ROM as a reference for how to properly flash on an I777. Yay no more redbend_ua... The method is very different from on the Infuse.)

Odd... Don't recall any high pitched sounds of any sort. I think I have screen selection sound off though, will poke at it a little.
[AT&T Samsung Galaxy S II SGH-I777] mjgspr95:
Bench Marks smokin'!!!! I'll monitor battery and heat. Strangely less hot while charging than it was prior. UV I suppose :)

There's nothing I do that requires any more speed than this... I don't think I'll be flashing any Roms. Transparent notification would be cool, but I was never big on lock screens and boot/shutdown animations and such. I think the power button on my cappy broke from all the flashing :/ I may flash a fix for the yellow triangle at boot once we figure that out, lol
[AT&T Samsung Galaxy S II SGH-I777] SeanHacker:
would you want something like this bro. just working on theming cognition beta3.
[AT&T Samsung Galaxy S II SGH-I777] desiromeo719:
How do i set my governor to conservative if im on UnNamed and it gets set to on demand on boot? I see that my phone spends most time in either 200mhz or 1200...and nothing in-between...i'd like it to ramp up slowly so it can use whats needed. Any help?
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
SetCPU

It's also on the market. There are some useful posts (like the last 5) about conservative settings.
[AT&T Samsung Galaxy S II SGH-I777] desiromeo719:
Thanks Simba...I have setcpu...so if i just change the governor to 'conservative' in there and check 'set on boot'...will this override the init.d script gtg has set in unnamed to make the governor 'on demand'. Would this cause any issues...
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
It'll override it, or if you just delete the file, the kernel will default to conservative. Either way works. And no, it won't cause any issues.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
The init.d scripts run once and then never again (unless they spawn a task to do something, which the ondemand override script does NOT do), and run long before SetCPU runs.
[AT&T Samsung Galaxy S II SGH-I777] desiromeo719:
Lets see that next update Entropy!
[AT&T Samsung Galaxy S II SGH-I777] garyd9:
It's amusing how different people think in different ways. To me, the best way to deal with that is to remove or edit the script thats actually setting it. (/etc/init.d/S60ondemand.)

My reasoning is one of simplicity: There's something wrong with the universe if the kernel sets it by default to conservative, then a script changes it to ondemand, and then another "at startup" program runs to change it back to conservative.

Then again, I prefer being close and snuggly with the lower levels of my toys. A pretty GUI is quite a bit more frightening to me than a simple bash prompt (though I have to be honest and admit I prefer tcsh.)

I still haven't switched to the conservative governor myself, as I got distracted with my galaxy tab 7 plus. Of course, with the battery life I'm currently enjoying with 12/1 and ondemand, I might not mess with it. Okay, that's not true. I won't be able to resist messing with it, but I want to do it under a semi-controlled environment, which means it'll have to wait until next weekend.

Take care

Gary
[AT&T Samsung Galaxy S II SGH-I777] desiromeo719:
How do i delete the file? When i try from root explorer it says "has read only permission"...i already saved a copy in my sdcard incase i want it back...
[AT&T Samsung Galaxy S II SGH-I777] chase10784:
click on the mount R/w thing on the top of root explorer and you should be able to edit or delete it.