yashsingh1/xdaforums huggingface dataset:
[Thunderbolt Android Development] bmerrill63:
Loaded Lean V2.4 this morning, not sure if the script is working properly though. In terminal I selected the extreme version, which is OC'd to 1.4, however I still have CPU setting options all the way up to 1.92Ghz. Ive ran the previous versions of extreme and never noticed this before.
[Thunderbolt Android Development] TsaiKimon:
I believe this is the correct functioning of the new kernel. It's made to not even need setCPU since sleep options are included in governors. All clock levels are included and the correct ranges and voltages are set when you use the script. This is the reason for the setCPU warning after running the script. You can check what I'm saying by going into manage applications and clearing data for setCPU. Afterwards run the script and choose an option. Then run setCPU and automatically detect slots and you'll see that the correct ranges are selected.

On second thought I guess you'd need setCPU to select governors but the rest holds true. I wouldn't be surprised to see governor selection added to the script. EmoSaiyan is an animal. J/k Imoseyon :)
[Thunderbolt Android Development] IvanNCase:
Just an idea I had that anyone tweaking there voltages and concerned about bootlooping here is how I'm going about figuring out my optimal voltages without having to reflash whenever I go to far. To tweak the high end set your " /etc/init.d/01vdd_levels" file to stay below whatever MHz your currantly tweaking do you edits and then use SetCPU to go to those frequencies but make sure you have "Set on boot" DISABLED so if your phone reboots it wont be able to go to those frequencies till you have a chance to change them. Once you have your high end stable you can do the same thing with the low end buy setting " /etc/init.d/01vdd_levels" to not go too low and use SetCPU to temporarily allow to go to your low end.
[Thunderbolt Android Development] corenojoe:
Imoseyon,

A.) Is swap able to be used with 2.4? If so just flash enableswap.zip?

B.) Now that its been a few weeks, any update on if you even recommend using swap or not?

Thanks
[Thunderbolt Android Development] Veridor:
Curious about swap as well on 2.4. Also, are the speedtweak.sh option effective immediately or do they need a reboot to apply?
[Thunderbolt Android Development] Imoseyon:
If you don't need TUN, EXT4, or in-call recording, use the lean version.

It's an anagram.. ;)

hmm now that you mention governors, when you use setcpu to select a new governor you run the risk of resetting min/max which were previously set by speedtweak.sh. I will add governor selection in the script for the next version as well. I wish setcpu's interface was a bit more explicit.

A) yes, B) I still believe it really depends on your usage pattern. It will work for some people and it won't work for others. The benefits will most likely be subtle so i'd enable it until you notice any ill effects. Sorry I can't help more there.

They are immediate.
[Thunderbolt Android Development] yumms:
Oh great...I've tried several Terminal Emulators from the market and they all force close on me :/

Guess I'll stick with the default settings.
[Thunderbolt Android Development] Imoseyon:
Yikes sorry to hear that. Terminal Emulator by Jack Palevich should work for everyone. What ROM are you on? It's possible that something in the ROM is preventing it from running. I'd also try clearing cache.

You can also use telnet or adb but that's a bit more involved..
[Thunderbolt Android Development] bmerrill63:
I've ran into the same issue. Running bamf stripped which includes the toolbox. The toolbox has terminal emulator built in and I'm wondering if that's why we are seeing FC's. I used the built terminal within the toolbox without any issues.

Sent by the Tbolt
[Thunderbolt Android Development] bokechukwu1:
Quick question chef, when I do the kernel setting in terminal emulator and when I go to set CPU the clock stays at the highest are the kernels still sleeping at the lowest 184 Mhz or is it something extra I need to do? Voltage wise or whatever thanks.
[Thunderbolt Android Development] IvanNCase:
Here's some numbers for those that are interested. I ran Quadrant a couple of times first because the first run is always lower than subsequent

runs.

Sense 2.4 Battsaver voltages

245760 @ 800 - Quad (663,650,643) 652 avg

368640 @ 850 - Quad (845,936,894) 891.66 avg

768000 @ 925 - Quad (1676,1602,1439) 1572.33 avg

1017600 @1100 - Quad (1970,1959,2040) 1989.66 avg

My voltages

245760 @ 750 - Quad (536,507,563) 535.33 avg

368640 @ 800 - Quad (915,938,865) 906 avg

768000 @ 850 - Quad (1538,1561,1656) 1585 avg

1017600 @ 950 - Quad (1871,1730,2049) 1883.33 avg

It seems to take a bit of a hit in 245Mhz slot at 750 but since it's not doing a lot there I think the lowest voltage is more important than speed unless the processor is strugeling at that voltage. I'll have to see if the battery life in 245 @ 750 is better or worse. One question I do have though is voltage the only factor in battery drain from the processor or does frequency effect it at all on its own as in would 245 @ 900 drain the battery at the exact same rate as 768 @ 900?
[Thunderbolt Android Development] slammed:
nice work, time to 'mosey on' and try 2.4
[Thunderbolt Android Development] yumms:
Tried that version too. Using the Blackhole 1.1 rom, everything is running perfect for me except for the terminal emulators.

Cleared cache, same result.
[Thunderbolt Android Development] Imoseyon:
I need to clarify this in the first post. The max/min settings are "soft limits" set by my script and can easily be overridden by setcpu (perhaps inadvertently). In fact it's identical to using the slider in setcpu. The slots are there but are not used.

It should. Keep in mind, though, running something at 245mhz may take 3 times as long as running it at 768mhz, meaning overall you've used up 3 times as much battery (assuming they're at the same voltage). So oftentimes it's really not all that beneficial to stick to low frequency unless your phone is idle.
[Thunderbolt Android Development] mmtoman:
How can I check my voltage. I wanna be sure I have the lowest voltage with batt saver
[Thunderbolt Android Development] BennyJr:
Dang u guys having fun editing your voltages..im stuck here lol anyone wanna upload a low voltage kernal they came up with? Or maybe imoseyon can make one for me?
[Thunderbolt Android Development] sublimaze:
Just use the default settings, don't mess with speedtweak.sh script
[Thunderbolt Android Development] BennyJr:
Yeah thats what im doing but i know my phone can handle lower voltages.
[Thunderbolt Android Development] bokechukwu1:
So are the kernels still sleeping at the lowest Mhz? Because in the last version when I woke the phone up I saw the set CPU widget read 184mhz where as now it reads 1.2 like its sleeping at 1.2, and that's the max I have set 1.2
[Thunderbolt Android Development] Forgetfull:
I updated to 2.2 from 1.2.3 last night and now my phone is definitely running hotter. I rebooted multiple times just to let the kernel set in. Normally overnight the phone returns to room temp but thus morning it was not. And running its higher in general. Any ideas, should I go to 2.4 or revert back?
[Thunderbolt Android Development] Joanni:
I just found something, I don't think smartass goes below 245, like, ever. Interactive does just fine but when I switch it to smartass it goes up to 245. Also, does smartass throttle slower to max speed as needed than interactive? Want to know which one would utilize the slots better according to need instead of jumping from min to max with little to no in between
[Thunderbolt Android Development] mamoru16:
What happens if you don't use SetCPU? I like using different kernels but don't tweak them just because I'm not sure what I'm doing. Is there a drastic difference using SetCPU or not?
[Thunderbolt Android Development] corenojoe:
Actually that is very helpful. Just wanted ur opinion. Thanks man.
[Thunderbolt Android Development] Imoseyon:
Check the first post. :) I made two flashable zips: 1) make_extreme and 2) make_battsaver. These zips will do the same thing the tweak script will do.

Hmm it's not possible for my governors to sleep at 1.2Ghz.

Yep you are correct. ;) Both interactiveX and ondemandX will go down to 184Mhz if unlocked but not smartass. I thought i fixed it it 2.2 but i might have put it off on purpose....i just gotta remember why. ;)

SetCPU is not necessary for my kernels. Use the speedtweak.sh script, or one of the flashable zips on the first post.
[Thunderbolt Android Development] BennyJr:
Ok so i flashed it...how do i know its running? Check through ur speedtweak script?
[Thunderbolt Android Development] Forgetfull:
Nv............
[Thunderbolt Android Development] Imoseyon:
Well if you know how to use the script already then you don't need to flash the zip. ;) I'm going to make an update to the script later today so it's easy to tell which mode you're currently running. Right now, if you select option 8, it will tell you the voltages, min/max, etc. but it doesn't tell you which mode.
[Thunderbolt Android Development] BSDADON:
I've experienced a faster battery drain and a hotter phone ever since the 184 slot was added. I'm running 2.4 battsaver and I have it locked so it doesn't drop that low. I'm still dealing with a faster battery drain and hot phone unfortunately. I want to go back to 1.2.3 unfortunately I accidentally erased it. Anyone have a link to that one?
[Thunderbolt Android Development] yardi4life:
From what I understand EXT4 is the better filesystem, so why not enable it in the lean kernel?
[Thunderbolt Android Development] BSDADON:
Don't need a link. Just remembered I had it in my dropbox.
[Thunderbolt Android Development] BennyJr:
Oh lol ok well i flashed it and the voltages look lower. thanks again! :D
[Thunderbolt Android Development] Imoseyon:
Hmm did you run setcpu by any chance? It's super easy to accidentally reenable 184 that way.

sent from my phone running leanKernel + Tesla coil
[Thunderbolt Android Development] Imoseyon:
The thing with ext4 is that it does add a bit of code to kernel and it does require Rom support. I think only one Rom supports it currently.

I will add it back to lean probably when we get more Rom support. But yeah not really a great reason. :)

sent from my phone running leanKernel + Tesla coil
[Thunderbolt Android Development] kenmills78:
How are you setting the governor without setcpu or like?
[Thunderbolt Android Development] BSDADON:
Yea I have but I thought it was disabled by default with the previous versions too. Or would setcpu have overridden that also?
[Thunderbolt Android Development] Auronis1:
Here's another file from last night, 2.2 extreme, mostly charging/sleeping. The steps appear to be working but my battery is always 95 F+ even after me and the phone sleeping for 4 hours. I'm afraid when I start up wireless tether it's going to push 120 F again.

This is exactly what I'm experiencing ^

I noticed this too hence why I keep checking if the steps are working. Is there something different from 1.2 to 2.2 that the 2.2 kernel steps up faster than we can unlock the screen so we do not see it underclock when sleeping?
[Thunderbolt Android Development] Nikolai2.1:
What do guys over clock to? I just found out I can run 1.9ghz stable,but is there a point in doing this or is it a waste in battery life?
[Thunderbolt Android Development] Joanni:
So whats the lowest voltage when undervolted? i see that 184 runs at 900 but idk if thats how it is when UV or its more set towards safe minor undervolting since i heard talk about 750 being lowest. might be confused but its good to ask since my phone handles most if not all released undervolting.

good job btw these kernels are like crack, i check more often here than to flash new roms lol
[Thunderbolt Android Development] WormDoes:
Imoseyon-

I apologize in advance for this, but I'm kind of confused with the 2 versions of the newest sense kernels. I'm currently using the Kernel listed in my sig and would like to stay with the same u/v and settings (including 184 slot) Would I flash the first "lean kernel", run the script then enter the corresponding number from the OP? Do you have to play with the voltages, or is that just for people who really want to? I know nothing about it so it's kind of intimidating, to be honest. Will the functionality/performance increase by switching to the newer kernel? Thanks in advance, sir
[Thunderbolt Android Development] tu3218:
I'm running das BAMF and it has its own built in CPU settings. Should I ignore that and just set the speed, voltage, etc with the script settings for this kernel?
[Thunderbolt Android Development] adrynalyne:
ext4 doesn't require rom support.

Not for ext3 devices. ext3 formatted partitions can be mounted as ext4, as its only a driver change.

Oh and for the price of this information, I'm kanging all your governors :D
[Thunderbolt Android Development] BennyJr:
To me anything pass 1.4 really doesnt have a point unless u are going for quadrants. the phone stock at 1ghz is plenty plenty fast.
[Thunderbolt Android Development] adrynalyne:
My kernel gets 2.2k quadrants on conservative governor. Yeah, oveclocking is just for fun, imo, and not needed.
[Thunderbolt Android Development] Nikolai2.1:
Yeah I agree, but It seems like I see a noticeable performance increase with OC tho...might be my mind, I'll go back to 1ghz and try, maybe I won't miss anything lol
[Thunderbolt Android Development] corenojoe:
How do u check voltage?
[Thunderbolt Android Development] Imoseyon:
750VDD is the lowest our tbolts will go. If you guys are adventurous try setting 246Mhz to 750VDD. :)

Yup that's it. Install the lean version and run the script (or flash one of the make zips from the first post).

Ah but that's not true ext4 and will not have all the ext4 specific features. Either the ROM or a flashable zip will still need to format the partitions as ext4 or enable the ext4 features via tune2fs, but then once you do that you can no longer flash kernels that don't support ext4. But you gave me an idea about changing ramdisk to mount everything as ext4 anyway, so for that you may kang at will! ;)

Man I keep trying to go back to CM7 but you guys keep finding more stuff for me to do!

Ah but what does Linpack say? ;) I can honestly tell the difference between 1024Mhz and 1920Mhz but probably not between 1024 and 1410.
[Thunderbolt Android Development] johnclevenger:
I'm a little unclear on the difference between the ondemandX governor and the smartass governor. Does smartass ramp up quicker than ondemandX? If so, does that mean that ondemandX is better for battery life?

EDIT: Also, I forgot to mention that these kernels are pretty great. I'm running BAMF 1.6.3 with the battery saver kernel (ondemandX governor), and I'm impressed by both performance and battery life (I was able to get about 12 hours of light to moderate use yesterday, though only 5 hours were spent away from wifi).
[Thunderbolt Android Development] adrynalyne:
40-42.

So, what features would those be that ext4 mounted ext3 partitions cannot use? (That we would even utilize)
[Thunderbolt Android Development] Imoseyon:
https://ext4.wiki.kernel.org/index.php/Ext4_Howto#Extents

Which is pretty awesome, and i believe without extents you don't get much performance benefits mounting as ext4. You should get that going in your ROM. :)
[Thunderbolt Android Development] Nikolai2.1:
That's what I'm saying, I feel a difference, but are you saying that you feel a performance boost going from 1.4 to 1.92? In the OP you said it would hardly make a difference
[Thunderbolt Android Development] Jazi:
So, I had been using smartass with 2.4 (extreme, 184 enabled, couple setcpu profiles too) and it seemed to be draining quickly. I had the same relative setup on CM7 Pre-Alpha with the latest release and was doing okay in battery. Weird, so I switched to interactiveX and it has been fine since. I love this kernel so much.

Sidenote: Call recording force closes everytime I get an incoming call, I dunno if this is a Kernel or ROM issue though.
[Thunderbolt Android Development] adrynalyne:
Too risky.

Its a pain in the butt to go backwards, and is gonna end up bricking those who are less skilled in the arts of "hack the hell out of your phone."

That and I am getting similar performance as is using the ext4 driver as the Samsung Fascinate and Nexus S on true ext4, so I think the extents probably don't matter a whole lot with these little flash devices.
[Thunderbolt Android Development] PineTre3:
adrynalyne, so i'm running your bamf stripped rom should i use Imoseyon's 2.4 lean version or special edition version? will the ext4 work or not?
[Thunderbolt Android Development] adrynalyne:
I don't know. My kernel will mount you as ext4 with my own mount options. Not sure about imoseyon's.

Either kernel will work on the rom though.
[Thunderbolt Android Development] Imoseyon:
I think if I really really really try to pay attention I might. :p

Yeah 2.4 and below will mount the file systems as ext3. 2.4.1 will mount them as ext4. :)
[Thunderbolt Android Development] Jazi:
Ext4 is on the special.

From what I understand. Special is basically designed for BAMF roms (at least 1.6+), lean is for all other sense roms.
[Thunderbolt Android Development] distortedloop:
Damn straight! My 29 year old son died last Saturday night. Needless to say, I've been an emotional wreck. The call recording feature in Das BAMF has been invaluable in letting me re-listen to the details of certain calls that my emotional state kept me from recalling properly.
[Thunderbolt Android Development] Jazi:
Thank you for sharing this great example. I agree that call recording is invaluable and of great use. That being said, at least in California it is illegal to record a call on both sides without consent and knowledge of both parties (although, fun fact, it is perfectly legal to videotape someone without their consent/knowledge). Thanks to having a lawyer for a father on me knowing this one ;)
[Thunderbolt Android Development] distortedloop:
They were discussing that very same ironic difference between call recording and video taping on one of the TWiT shows last week or so...I think it was Tech News Today.

Anyways, several days behind in reading, gotta read back ten pages or so and see if call recording's working and I can try leanKernel on my phone again. :cool:
[Thunderbolt Android Development] PineTre3:
when shall I be expecting 2.4.1 lol no rush or anything :)
[Thunderbolt Android Development] Jazi:
I was just discussing it with my father haha. His stance was "the law is the law". It just makes no sense to me. Especially since calls prove less about identity. And video can be potentially more damaging. Oh well, maybe someday this will be looked at haha.
[Thunderbolt Android Development] Imoseyon:
v2.4.1 Sense (5/11/11)

- enhanced speedtweak.sh to include governors and show current mode. You shouldn't have to use setcpu to set governors anymore - use speedtweak.sh.

- EXT4 mounting is now enabled for EXT3 partitions.

- Temporarily added a 246Mhz version until I get in touch with setcpu folks. If you're having issues with heat and battery drain, use this version!

No more bug reports please! I gotta go back to CM7! :p j/k
[Thunderbolt Android Development] RjsShadows:
Do the lean and special edition kernels get same battery life?
[Thunderbolt Android Development] smashtheguitar:
Just installed the new version, but I can't seem to get the 184mhz slot. I ran the speedtweak.sh to set it to extreme/interactiveX/unlock 184mhz, but 184mhz doesn't show up in setCPU and in terminal it says the min is 245. Anyone else having this issue?
[Thunderbolt Android Development] PineTre3:
so both lean and special edition are both ext4 now?
[Thunderbolt Android Development] Imoseyon:
They should for now. But having the sp version may make you use the phone more for in-call recording and doing VPN, so maybe not. :p

Sorry about that. Fixed in 2.4.2!

Correct!
[Thunderbolt Android Development] PineTre3:
and we shouldn't use setcpu?
[Thunderbolt Android Development] Nikolai2.1:
Hey do you think you could edit the script so it doesnt close everytime you select an option? Retyping speedtweak.sh gets annoying lol, whenever you have time, no rush
[Thunderbolt Android Development] JonKyu:
Just about to ask the same thing. Or perhaps a way to execute a few numbers at the same time like a queue or something?
[Thunderbolt Android Development] BennyJr:
Just flashed it and disabled setcpu. Running good so far
[Thunderbolt Android Development] FoxRacR17:
Had to go back to 2.4 because 2.4.1 and 2.4.2 weren't correctly reading the voltage changes I was making to the vdd file under etc/init.d/, I would make the changes using root explorer like normal then reboot and check the current settings with option 11 and most of my voltages would show but some of them would be duplicated in other speed steps. I would double check the voltage file and everything is correct in it so I don't know what's going on
[Thunderbolt Android Development] corenojoe:
Not sure that its kernel related, but canoot get a GPS lock!
[Thunderbolt Android Development] PineTre3:
has anyone tried the 256mhz kernel? i'm interested in using this one due to heat issues in other versions
[Thunderbolt Android Development] WillTheGreat:
First reboot experienced on Extreme while turning off Wireless Tether. However, for everything else, so far so good.
[Thunderbolt Android Development] BSDADON:
I'm currently running it. Phone isn't getting hot and the battery life is back to normal again for me. :D Try it out. If anything you'll just have to flash back to your previous kernel.
[Thunderbolt Android Development] want a droid:
If you want to add to your original post, the das Bamf toolkit has terminal emulator built in.
[Thunderbolt Android Development] 52brandon:
after about 14 hours on 2.4 on set to extreme and smartass and 184-1.408 I lost 8% battery on minimal use (mostly standby), amazing doesn't describe the battery improvement over the past few months. Can't wait to see what's in store for the future
[Thunderbolt Android Development] shock2sys:
after installing the kernel and running speedtweak, i ran into some errors:

first it said busy box not found (i have it install via my titanium backup)

after i made a selection, i got the error:

/sbin/speedtweak.sh cannot create /system/etc/init.d/01vdd_levels: read-only file system.

several iteration of this error message followed that one.

when i ran the terminal emulator, the first thing that i did was type SU and i got the pop-up saying that terminal emulator was granted super user rights.

i'm running a rooted/stock TB.
[Thunderbolt Android Development] PineTre3:
so can I use setcpu or no because I'm not experienced with terminal?
[Thunderbolt Android Development] JonKyu:
I think so, what I do is set what flavor kernel is want to use then use setcpu to set the base speed and one profile to overclock more when plugged in.
[Thunderbolt Android Development] bmerrill63:
Loaded the settings for batterysaver/smartass gov/unlocked 184mhz in terminal emulator and ran great. Here's the question, I rebooted my phone (trying to kill the battery hehe) and the settings I applied didn't stay. Has anyone else experienced this?

After rebooting settings went back to 1.92ghz Max/245Mhz min and interactiveX gov.

However the terminal script still showed I was currently running batterysaver and clearly wasn't.

Anyone confirm?

BAMF stripped 1.1 ROM too.

Sent by the Tbolt
[Thunderbolt Android Development] mbh87:
Mine is doing the same, I just tweeted him about it.
[Thunderbolt Android Development] 52brandon:
try installing busybox from market fixing permissions in recovery or via rom manager. Reboot, and try again
[Thunderbolt Android Development] m1mgd00:
Ditto. When I checked settings after reboot, it says that I'm running BATTSAVER but then has the max clockspeed at 1.92 ghz. For now, I'm using No-Frills CPU to force max speed to stock.
[Thunderbolt Android Development] 52brandon:
Odd, mine stick on das BAMF remix
[Thunderbolt Android Development] sublimaze:
You must mount system/etc as r/w