yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] AndreiLux:
The idea behind Wheatley is good but there's a big issue behind it; it's optimized for the OMAP44xx on the Galaxy Nexus having a total of 8 different implemented idle states compared to our 2, secondly, if the data in the source code of our device is to be believed, we have a much lower latency for entering simple clock-gating state, and even for full on gating state for much of the rest of the power is much faster than on the Nexus. knzo did nothing but a wimpy attempt of false advertising when implementing it without any kind of testing on it, if he did any kind of porting, he's ignoring answering any of my questions in regard to the timings he has in.
[Galaxy S II Original Android Development] c0x91:
How can I apply this from the phone???

I'm trying Android Terminal Emulator but seem doesnt work
[Galaxy S II Original Android Development] knzo:
If you try that again in a polite manner I might actually answer you.

But since you've been flaming at me for the past few days, I'm not even sure if even then I'll feel like giving you the attention.
[Galaxy S II Original Android Development] AndreiLux:
Yeah, just ignore a legitimate technical question (Which I btw asked politely at first in your thread) by being an asshole about it. Makes you look like an excellent developer, eh? It also seems you don't care about posting sources anymore, while being asked for it by several people.
[Galaxy S II Original Android Development] legendasboy:
problem solved
[Galaxy S II Original Android Development] tomeks:
another day and still chidlish? :-)

if there is gpl violation just report it to the mods, simple as that, really :-)

edit:

such a not asshole as you could for sure handle it, right big boy? ofcourse insted of using such a language and being rude :-)
[Galaxy S II Original Android Development] :
What's this v6 thing mate??

Sent from my SGS2 - Hyperdroid v5.2 | Vertumus ICS Theme |
[Galaxy S II Original Android Development] nikzDHD:
V6 Supercharger, do a search for it mate, there's a thread on it. I think it's for ram, not used it myself.
[Galaxy S II Original Android Development] :
As stated by Nikz its to do with ram and much more..

Here is the link to the original thread. It actually works fine on my phone have noticed a bit difference but hey go have a look and see what you think my friend

http://xdaforums.com/showthread.php?t=991276
[Galaxy S II Original Android Development] Entropy512:
Ah, thanks. I see it's just an updater app, I thought GM had a base for a tweak app he was working from. Still interesting. :)

My opinion on it is here - http://xdaforums.com/showthread.php?t=1369817&page=15

It is interesting, but as it depends on very specific aspects of the OMAP4 architecture (both software and hardware), I question whether it has any benefit on an Exynos + 2.6.35.x combo - later kernels (such as that used for ICS) have a LOT of overhauls in terms of C-state handling/reporting.

Although based on the code, it looks like it just tracks total idle time, so it is less dependent on C-states - the question is - on OUR device, does residing at a higher frequency with more idle entry use less or more power than residing at a lower frequency with less idle time?

I believe that for 100 MHz vs. 200 MHz - this is true based on some tests I've run in the past. At these frequencies, leakage current is a major part of power consumption and the voltage is nearly the same. However I don't think it is true (or is probably a wash) for 200/500 or any pairing above, because Wheatley ignores the issue of dynamic voltage scaling. Once voltage starts rising and static leakage current is a lower portion of the power budget, Wheatley's advantages go away.

Anyone who claims major benefits for Wheatley without data collected using a fine-grained ammeter between the battery and the phone is defrauding their users.

Problem is that binary compatibility of governor modules is a nasty problem...

Yup - if the source is correct (https://github.com/Ezekeel/GLaDOS-nexus-prime/blob/glados-cfs/arch/arm/mach-omap2/cpuidle44xx.c#L108), the exit latency for the C4 state Ezeekel tries to hit with Wheatley is 1500 (not sure what the unit here is)

The exit latency for our deepest supported state is only 10 - https://github.com/Entropy512/linux_kernel_sgh-i777/blob/master/arch/arm/mach-s5pv310/cpuidle.c#L619

However, it is a bit odd that on OMAP4, target residency is equal to exit latency - while on our CPU, it is 40000, which seems crazy high.

We might see major improvements here in ICS... Even Honeycomb kernels have significant improvements - https://github.com/garyd9/linux_kernel_GT-P6210/blob/master/arch/arm/mach-s5pv310/cpuidle.c

It's interesting - for whatever reason, Samsung cpuidle support is extremely poor even in any recent mainlines I can find. Every kernel I can find that isn't a Gingerbread source drop supports idle but not lowpower mode.

I would strongly recommend against using this - The author has proven to be blindly throwing random crap into his script with no justification. For example, he disabled the kernel panic reboot timer, which caused a minor problem (kernel panics due to the wifi module of the Galaxy Tab Plus being closed-source crap) to become a major one (batteries drained to the limit of the battery protection circuit due to the kernel being hung).
[Galaxy S II Original Android Development] nikzDHD:
Cheers Entropy for pointing your thoughts on Wheatley makes sense.
[Galaxy S II Original Android Development] bpivk:
Thanks for the answer. I knew that it had something to do with flashing your kernel but I just wrote it off as a miss calibration due to flashing a new kernel.

BTW: Excellent kernel. I used Lulzactive governor and BFQ scheduler and the phone is really smooth.
[Galaxy S II Original Android Development] :
Thanks for the heads up as well regarding v6. :)
[Galaxy S II Original Android Development] AndreiLux:
I do not believe those values are correct, as they seem ridiculously low, the original patch by a Samsung engineer contained different values, but still vastly lower than the OMAP4. I don't know where inbetween that patch and the implementations in our kernels the value got changed to something as low as that.
[Galaxy S II Original Android Development] ozzyita:
Flashed v11 but SwiftKey does not work I'm getting fc's. Anyone else with SwiftKey having issues?

Inviato dal mio GT-I9100 usando Tapatalk
[Galaxy S II Original Android Development] :
go into settings, apps, find swiftkey. then click on it and try clearing cache and data. come out and reboot your phone. see if that works. might do might not but worth the try
[Galaxy S II Original Android Development] Entropy512:
I'm going to read Venkesh Pallapadi's original cpuidle paper tonight - but it may be that the exit_latency doesn't matter much the way things are written, because of the target_residency being so high.

In our case, it looks like AFTR vs LPA is a "choice" between modes of our second-tier idle state - to consider AFTR, the LPA requirements must be met in terms of exit_latency and target_residency. AFTR gets hit when other checks for the ability to enter LPA fail. (see s5pv310_check_operation() )

In the Tab 7 Plus kernels, AFTR has its own idle state, with a target_residency around 1/4 that of LPA. So they should be able to hit AFTR in a lot of situations where we can't.
[Galaxy S II Original Android Development] barondebxl:
2.6.11 has AMAZING BATTERY LIFE. Nuff said.
[Galaxy S II Original Android Development] sofos1990:
QFT!
[Galaxy S II Original Android Development] Sebsey:
Afterwards I found out that I accidently overread to wipe dalvik and reg. cache. I just did that.. hopefully it will fix the above described issue :/
[Galaxy S II Original Android Development] gokhanmoral:
I have updated v2.6.11 to replace the recovery with the one which is customized for siyahkernel.

thanks to af974 for compiling a custom recovery for me.
[Galaxy S II Original Android Development] seaweeduk:
yeah someones already ported it

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

https://github.com/saurik/mempodroid
[Galaxy S II Original Android Development] Gutana:
What are the differences in the recovery between Siyah and CWM?
[Galaxy S II Original Android Development] gokhanmoral:
it is based on CWM recovery

with different layout

and the ability to mount both internal & external sd over usb.

it is 100% compatible with CWM backups.
[Galaxy S II Original Android Development] soulzero:
You should use ondemand or conservative.

lulzactive is so 2011.
[Galaxy S II Original Android Development] Gutana:
Alright, thanks. I'll update from siyah 2.6.7 when i'm back on gingerbread. Any idea when you'll add support for ICS?
[Galaxy S II Original Android Development] XDA mark:
Im afraid to upgrade. Im still on the "legendary" 2.6.7 :>

But the flasher in me is really wanting to.. flash something. Lol that sounds bad.

So .11 is amazing battery life? Thats good to hear. Is it amazing after flashing or after doing all kinds of weird scripts and stuff? I see people talking about GPU frecuency's all the time since the last update.
[Galaxy S II Original Android Development] CamoGeko:
It's not necessary to apply those GPU steps to get this amazing battery life. I'm getting that just by using my config.

Communicated using an SGS2 droid with XDA premium neurotransmitter while DJ'ing on the Enterprise.
[Galaxy S II Original Android Development] XDA mark:
Ok, tnx.

Yeah I know, only problem is my device isn't such good friends with undervolting. Btw, wanted to pm you about this yesterday: if my device gets freeze/reboots on Siyah 2.6.7 with your undervolt settings, is it POSSIBLE that it will do just fine on another version of the kernel? Or is this more a "your device is the problem, doesnt matter which kernel you have" type of situation?
[Galaxy S II Original Android Development] PedroMRP:
gokhanmoral I can't download from your site using GingerMOD with stock browser... downloading from others sites I have no problem.
[Galaxy S II Original Android Development] soulzero:
Just undervolted my phone few hours ago, which is pretty heavy i think? Will report later.

1200: 1150

1000: 1075

800 : 975

500 : 875

200 : 850

100 : 850
[Galaxy S II Original Android Development] CamoGeko:
It could do well, it could be the same. No way of predicting that. What you can do is take my voltages (thread is now up in General section) and just raise all steps by 50mV. See if your one accepts those settings.

Communicated using an SGS2 droid with XDA premium neurotransmitter while DJ'ing on the Enterprise.
[Galaxy S II Original Android Development] gokhanmoral:
maybe you tried to download while I was replacing the file.

I've just tried on my gingermod rom with stock browser and it downloads the tar file.

please try again.
[Galaxy S II Original Android Development] VFO:
gokhan, I just flashed the latest I777 version of 2.6.11 and I can't seem to get out of recovery. I pulled the battery and and left it out for some time now but as soon as it powers on it goes to the purple and blue recovery. Unfortunately I can't select any options. I can scroll through them but I can't select anything with any button including the power button. Any ideas?
[Galaxy S II Original Android Development] PedroMRP:
No, still can't download its say <Untitled> Download unsuccessful
[Galaxy S II Original Android Development] Vaedryn:
Hope you will stay the recovery for the next versions ?

SGS II Cyanogen Mod Tapatalk
[Galaxy S II Original Android Development] kpyhere:
Hello guys.

So, after this tinkering, what would be the best configs. for maximizing battery life ?

Can somebody make a little tutorial for this kernel specifically ?

Thanks in advance.
[Galaxy S II Original Android Development] tomeks:
are you using 'download all' app from the market?
[Galaxy S II Original Android Development] PedroMRP:
GingerMOD 0.8 stock browser
[Galaxy S II Original Android Development] CamoGeko:
I've now created a thread for my magical config due to popular demand. You can find it here:

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

Communicated using an SGS2 droid with XDA premium neurotransmitter while DJ'ing on the Enterprise.
[Galaxy S II Original Android Development] hallydamaster:
I like the colours of the new recovery, it makes some kind of 3D effect! It might just be my imagination! :-)
[Galaxy S II Original Android Development] VFO:
OK, so I tried every button combination I could think of button No selections could be made with I777 version and new (Purple and Blue) recovery. Finally was able to get into download mode with jig and flashed older Siyah with odin. I did not have this issue with the Redpill recovery (red) from 2.6.11 (first incarnation). Is it possibly an issue with the custom Siyah version of the Redpill recovery?
[Galaxy S II Original Android Development] hallydamaster:
I had problem navigating on my phone with the Siyah recovery, but I have a 9100, so it might be different!
[Galaxy S II Original Android Development] :
Where do I have to copy this into?
[Galaxy S II Original Android Development] Mr.Greg:
For download I'm using Dolphin browser with stock one I almost always have problems. You can try to download with different one. Good luck!
[Galaxy S II Original Android Development] Simba501:
Create a text file, copy that code into it, put the file on your device, move it into /system/etc/init.d, rename it (remove file extension from the end), and set the permissions to 755. Now, run the script via script manager, or reboot.

Make sure that no other apps/scripts are interfering with gpu steps and thresholds.

Sent from my Galaxy SII
[Galaxy S II Original Android Development] VFO:
Looks like there are other people running the I777 version of 2.6.11 and are having the same issues as me. Maybe it's a key mapping issue with the att version?
[Galaxy S II Original Android Development] tomeks:
for stock you just need to install 'download all files',

this is the easiest option for downloading any type of files in the stock browser
[Galaxy S II Original Android Development] poochewer:
I recon its a little harder to read now:D but hey,who sits all day on a recovery screen?
[Galaxy S II Original Android Development] Vaedryn:
Ohhh , i think a lot of people :D

SGS II Cyanogen Mod Tapatalk
[Galaxy S II Original Android Development] barondebxl:
Well I don't overclock or do any of those mods to my phone, I just flash the kernel and I'm using checkrom V4 Rom, the battery is nothing short of FANTASTIC for me. 2.6.7 was very good, 2.6.8 had bad battery drain, 2.6.9 was also good on battery, didn't try 2.6.10 but 2.6.11 is really amazing because not only that the phone barely uses any juice while asleep, but when I use it the battery drains really slow. I don't think I'm going to upgrade from this version, it's amazing to me.
[Galaxy S II Original Android Development] hallydamaster:
For some reason the newer .11 kernel broke all my notification sounds! :-/ Had to set all of them manually! Could these "glitches" be avoided by clearing dalvik/cache? I tend to never do that when upgrading kernels!
[Galaxy S II Original Android Development] :
not sure if this would do the trick or not but reflash the kernel. and yeah try clearing the caches if you want
[Galaxy S II Original Android Development] incubus_fr:
The new recovery blue font is a real pain for my eyes :(
[Galaxy S II Original Android Development] legendasboy:
blue font??? mine is red
[Galaxy S II Original Android Development] rab1412000:
From reading the thread I saw someone post that

Conservative =performance

Ondemand =battery

Seems to counter logic. Can anyone verify if this is true for all kernels 2.6.9 and above?
[Galaxy S II Original Android Development] chadouming:
Usually, the logic is effectively the reverse. But with the tweak made by kernel maker, it happen that what's written up there is true.
[Galaxy S II Original Android Development] CamoGeko:
That was me lol and yes its totally true. :)

Communicated using an SGS2 droid with XDA premium neurotransmitter while DJ'ing on the Enterprise.
[Galaxy S II Original Android Development] stevehkim:
looks like the new cwm is giving issues on the i777. luckily i have the red hyper cwm

My remix:

MIUI rommed, Siyah kernel synthetics, V6 supercharged, struck by a bolt of Thunder!

SGS2 I777
[Galaxy S II Original Android Development] pikachu01:
It's normal. You have to wait sometime for the battery to stabilize after a flash (sometimes). I usually wait a few hours for the battery to climb back (and it always does).
[Galaxy S II Original Android Development] Entropy512:
My opinion is that, with the minimum polling interval reduction:

conservative = flexible

If tuned for performance (low sample_rate, low thresholds) - it will bias towards higher frequencies and provide performance

If tuned for battery (medium sample_rate, high thresholds) - it will bias towards lower frequencies and provide better battery

For example, "lionheart" is a performance-optimized conservative with:

sample_rate = 10000, down_threshold=35, up_threshold = 50

My personal settings (i am a battery whore) are:

sample_rate = 40000 (Default conservative is still 2.5 times slower than this at 100000 - sample_rate is badly named, it's actually an interval, so lower = faster), up_threshold=90, down_threshold=60

The main reason conservative gets a bad rep is that the default polling interval (and the MINIMUM on an unpatched kernel) is 100000 usec = 0.1 seconds. So it can only transition 10 times per second. Ramping from 200 to 1200 MHz with stock steps will take 0.4 seconds.

Drop the interval to 25000 usec (0.025 seconds) and ramping from 200 to 1200 takes 0.1 seconds - 1/4 the time.

Lionheart sets the interval to 10000 usec (1/10 the time), however at this low rate, the CPU will spend a larger percentage of its time changing frequency instead of working, and could potentially have poor load estimates that can cause the governor to "jitter".
[Galaxy S II Original Android Development] PedroMRP:
I was reading Entropy512 Galaxy S2 AT&T Kernel OP and...

In SiyahKernel it's needed to divide by 2.85 or not?
[Galaxy S II Original Android Development] veyka:
Recovery was updated to a custom redpill version, as noted a few posts back.

The new colour choices do clash a bit, but I like purple so its all cool. :D
[Galaxy S II Original Android Development] minjiet:
With 2.6.11, i can't use wifi direct to sent file....did the function taken out?
[Galaxy S II Original Android Development] poochewer:
I was about to give praise for the way that I can now use my menu button to jump up the recovery menu items and then I noticed that after the latest CWM vers.(blue &purple) that it actually jumps alternately to the icon between selections.

I prefered it the way it was in the red vers.

Never mind its still great!!:p

EDIT: all I have to do is simply hit the menu button twice at a fast rate, and the selection curser moves up one line. I'm happy!!!!!!

2ND EDIT: I've just noticed that the alternating icon between selections only ocurrs on the "root menu" of the recovery. Within lower tears the menu button acts as per before. Even better! Thanks to Gokh & AF974
[Galaxy S II Original Android Development] omniwolf:
AndreiLux's GPU settings

Hello,

hope you don't mind Andrei, but i created a script from your settings and put them into a flashable ZIP for people to use. tested it on my system and it worked well, except there seems to be some funny rounding happening?

cat /sys/class/gpu_clock_control/gpu_control

Step0: 40

Step1: 133

Step2: 267

Threshold0-1/up-down: 89% 24%

Threshhold1-2/up-down: 89% 40%

oh well, close enough?

Anyways, flash this if you want Andrei's GPU settings, all credits to him and gok.

[edit] updated the script so it will execute after VC (as long as you use the init.d script method in VC.. if you use the startup service i have no idea what will happen) [/edit]
[Galaxy S II Original Android Development] lpsi2000:
Bravo, I am glad you finally caved. I am sure it is going to keep you busier now:D

Good Luck with the support;)

Edit: I just read your thread and holly sh*t I did not realize it will turn out this way. But you seem to be handling it well. As I said earlier, Good Luck Bro.
[Galaxy S II Original Android Development] poochewer:
+1 from me. Good luck mate.:)
[Galaxy S II Original Android Development] itsedstech:
Quick question if you dont mind, if i flash this do my undervolting settings in voltage control stay?
[Galaxy S II Original Android Development] Gam3-KiNG:
Guyz I just flashed new 2.6.11 kernel, but lost some governors in list. I was using interactivex governor that suited me most. What should I do now, plz guide.
[Galaxy S II Original Android Development] pikachu01:
Use lulzactive or smartassV2 instead. Those are actually interactive governors that are improved.
[Galaxy S II Original Android Development] omniwolf:
your other init.d settings will remain untouched (including VC). my ZIP creates a separate script called 98AndreiLuxGPU, that should be original enough :)
[Galaxy S II Original Android Development] gokhanmoral:
Can at&t users download tar (only tar, not zip) version of 2.6.11 and check if it is ok in recovery?

I reverted recovery binary only and I wanted to make sure that the problem is related with that.
[Galaxy S II Original Android Development] Hannibal226:
*push

No idea?

Sent from my Galaxy S2 - I9100 with SensatioN Rom!
[Galaxy S II Original Android Development] pikachu01:
Did you OC/UV? Any tweaks used?
[Galaxy S II Original Android Development] hausmanis:
I would realy appriciate if someone could make å flashable zip with andreilux gpu settings
[Galaxy S II Original Android Development] Hannibal226:
Nope, didn't change anything in voltage manually.

But tested to change main settings (200-1400/1600; ondemand/conservative/performance)

Sometimes the play didn't crash with each settings but next times (mostly) it crash again.

Sent from my Galaxy S2 - I9100 with SensatioN Rom!
[Galaxy S II Original Android Development] gokhanmoral:
the crash is probably because of heating.

in this case, undervolting may help

and since the problem is related with heat, although overclocking can make the game smoother, overclocking will make the crash happen sooner because it increases the heat generation. try to undervolt and underclock (200-1000)
[Galaxy S II Original Android Development] omniwolf:
10 posts before yours...

http://xdaforums.com/showpost.php?p=21867734&postcount=17984
[Galaxy S II Original Android Development] bervin:
The international zip link for 2.6.11 isn't working. Mirror anyone?
[Galaxy S II Original Android Development] singingshiver:
Using 2.6.7 and getting kernel wakelock wlan_rx_wake at 90%. Any ideas how to get rid/reduce this?
[Galaxy S II Original Android Development] UpInTheAir:
I'm currently using v2.6.11 and Ondemand bfq with Geko95gek UV settings. (Edit: 200-1000MHz) All working fine so far...........

I've previously been a fan of SmartassV2 where it limits the wake-up lag when recieving a call from screen off.

[Q] Is there any way to tweak the Ondemand governor for similar fix, whilst keeping any kernel battery saving settings I have already?

Cheers :)
[Galaxy S II Original Android Development] omniwolf:
2.6.11-CWM for I9100
[Galaxy S II Original Android Development] gokhanmoral:
set wifi sleep profile when the screen is off.
[Galaxy S II Original Android Development] bervin:
So I used your gpu script. Will the gpu uv still be applied via voltage control script?
[Galaxy S II Original Android Development] hausmanis:
Aw Sorry but thx