yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] terence74:
New Kernel Question

Ziggy's kernels is my fav kernels to use.

But I do I need setcpu with the new one, if so just for over clocking or I should the profiles also. And should I keep the governor set to conservative.

I also noticed the tweak zip, is that something worth flashing also?

Thanks
[EVO 4G Android Development] BuddaBelly:
Thanks Ziggy. Will give her a roll.
[EVO 4G Android Development] gotshores:
What do the tweaks do specifically?
[EVO 4G Android Development] BuddaBelly:
My phone runs so well on this kernel. Setting to smartass i still manage 1650 on Quadrant. Linpak is 38 with smartass.
[EVO 4G Android Development] fixxxer2008:
can anybody confirm the audio boost on this kernel? also will it run on a 004 hardware evo? none of the other kernels work for me on my new one.
[EVO 4G Android Development] ziggy471:
I forgot to add the explanation to the post on my site, fixed that now. It adds a screenstate scaling init script, 245-384 with the screen off, and up to 1.13G with the screen on. It also includes a sysctl.conf file, Mr. X will have to explain all the settings he did in that one, I just included the research he had done.

Z
[EVO 4G Android Development] eduardmc:
somehow your latest kernel does not boot in my evo. i have myn warm and running your 10/28 kernel which it does work fine.
[EVO 4G Android Development] MRFERRARI23:
With the latest updated ziggy kernel could you just flash it and leave it at that or should you do the other stuff to it?? Sorry just want to make sure whats what!!

THANKS A MILLION AS ALWAYS!!! MUCH APPRECIATED!!
[EVO 4G Android Development] terence74:
Is this with overclocking using setcpu?

Just curious if you are overclocking this at all to get those scores.

Thanks
[EVO 4G Android Development] BuddaBelly:
Yup I'm running 1152 with smartass enabled.
[EVO 4G Android Development] EndlessDissent:
Is this version for sense only, or will it work for AOSP roms, too?
[EVO 4G Android Development] plmiller0905:
I'd like to know this too.
[EVO 4G Android Development] xlGmanlx:
I would assume sense, does his site say anything?

Edit : I would say sense since all the devices are HTC
[EVO 4G Android Development] EndlessDissent:
Yeah, I was thinking sense, but his AOSP kernel hasn't been updated for while. I was hoping this was like one of netarchy's universal kernels. Also, are these kernels based on 2.6.32, 2.6.34, or 2.6.35?

Edit: Also, I'm pretty sure the Bravo is Motorola.
[EVO 4G Android Development] alero:
Very fast on my Evo so far.
[EVO 4G Android Development] terence74:
Tweaks zip and setcpu

Can I use the new tweaks zip with screen scaling and so forth with setcpu.

Thanks
[EVO 4G Android Development] Atticustrd:
Do you just flash the tweak like you would a kernel? And it sets it's self?
[EVO 4G Android Development] mountainbyker:
Is there any value to using setcpu along with this ROM? I've read posts about people setting the mode but not using profiles, is that still necessary?

Thanks!
[EVO 4G Android Development] TorxT3D:
any difference between ziggy beta and official 11/13 release?

still running the beta and i cant even remember the last time i charged.

i thought i had a nuclear fission battery
[EVO 4G Android Development] eniamg02:
Was wondering why 11/05 had lower scores in nenamark compared to other kernels...anyone wanna give scores on new kernel?
[EVO 4G Android Development] TorxT3D:
yea, all ziggy kernels ive tested have given me a straight 16.x on nenamark, every other kernal is 20fps+

im wondering what he can do to increase that score. something to do with opengl right?
[EVO 4G Android Development] thisguy23:
Anyone notice the new 11/13 kernel in setcpu with smartass CPU speed is bouncing all over at idle? Once I set interactive it stays at min. Bug maybe?

I AM using screen off profile. Should I use ziggy's tweak?
[EVO 4G Android Development] ziggy471:
Going for a record multi-quote....lol

No, it's Sense only, had issues with the AOSP kernels, until I work that out, I'm not doing any more, sorry.

Bravo is the HTC Bravo, i.e. HTC Desire. I only do the GSM, since that's what Telus went to, and I had originally done them for Mr. X and Mighty Mike.

And ALL my kernels are 2.6.32.25, which is the latest 2.6.32 stable from the Linux mainline.

No, I wouldn't recommend it, since the screen scaling script and SetCPU will fight each other.

Yes, it's a standard update zip file, no need to wipe, however, if you run into problems, please wipe dalvik cache.

That's kinda how smartass works, I realize that I need to tweak it some, like netarchy did, but haven't got around to that.

Z
[EVO 4G Android Development] ziggy471:
Also, for those that don't follow me on Twitter,

Ziggy471 Kernels INC/Bravo/EVO (Updated 14 Nov) - http://www.ziggy471.com/2010/11/14/ziggy471-kernels-incbravoevo-updated-14-nov/

Z
[EVO 4G Android Development] TorxT3D:
yeeaaa!!! new kernel again! lol.
[EVO 4G Android Development] oskinosmee:
Whats your twitter name?
[EVO 4G Android Development] ziggy471:
Ziggy471, duh......lol

Z
[EVO 4G Android Development] benshtc:
Great kernel ziggy I just scored 1652 on the Virus Anthrax rc 1.4 beta build
[EVO 4G Android Development] terence74:
Tweaks zip NOV.14 kernel

Is that tweaks script already included in this kernel or should I use the script that was available for download with the nov13 kernel.
[EVO 4G Android Development] subminimal:
Had a system stopped responding on first boot with the 1 1/14 kernel. Pulled the battery, restated and everything is running great on evo Myn's rls3.

I was a big fan of the 10/23 kernel and hoping this one performs as well! Thanks ziggy.
[EVO 4G Android Development] ziggy471:
I stopped including the init scripts in the kernel a while ago. Nothing has changed in the scripts for quite some time, so yeah, if you want them, just install the one I posted yesterday. If you want higher or lower max freq, just edit the script and reboot, all the variables are at the top that you'll need to edit.

Z
[EVO 4G Android Development] thenewguy821:
I flashed the 11/13 kernel and three script. If I flash a new kernel (11/14 or reflash 11/13), dots the script stay, or get overwritten?
[EVO 4G Android Development] ogrenator:
did i read it right? there is no 4G in the new kernel? not that we have it here right now anyways
[EVO 4G Android Development] ziggy471:
No, they won't be overwritten.

It should have it, but of course, I can't test it, since I don't have an EVO.

Z
[EVO 4G Android Development] jayv1717:
It says no wifi or wimax with the 11/14 kernel can anyone confirm??

Sent from my Htc Evo 4g
[EVO 4G Android Development] Swede2008:
If I want to stop using the tweaks, I just use root explorer and delete the files it installed right?

Sent from my HTC Evo! :-D
[EVO 4G Android Development] ogrenator:
yeah ziggy thats what i was askin about....I saw you replied to my post and thats good enough for me.....great work!
[EVO 4G Android Development] ziggy471:
idk, wyn tested for me last night and had no issues, so I'm not sure why it's not working.

Yes, then reboot.

Again, I'm still not sure why they're not working.

Z
[EVO 4G Android Development] subminimal:
I am running the 11/14 (ziggy 471@mightyrom # 12) with script update on myn's rls3. wifi and 4g are working fine. Battery is still being determined. Idle I was on pace for 60 + hours..with use it's coming back to a pace of 12 hours on a charge.

I can tell the script is helping.
[EVO 4G Android Development] Trident:
I've been having horrendous battery life... until yesterday's Ziggy kernel. Still not great, but seems decent. I'm going to try today's update.

Is there a description anywhere of what the Tweaks do?
[EVO 4G Android Development] fixxxer2008:
60+ hours without a charge on a stock battery? sorry man but i call bull... i cannot get past 15 on mine.
[EVO 4G Android Development] axemanmike:
skyraider

sorry to ask ( im noob) but will this work with skyraider... and will my wifi tether still work or will i have to dl something else ?
[EVO 4G Android Development] jayv1717:
Sorry i've been out of the loop, can you point me towards the right steps to the script update

Sent from my Htc Evo 4g
[EVO 4G Android Development] subminimal:
Call it if you want but I did say that was a pace of 60 hours and completely idle. With legitimate, heavy use I can get about 4-5.

Here's a screenprint from when I was using ziggy's 10/23 rom. I had 17+ hours with plenty to spare at that time. I know the efficiency has become better with the recent updates.
[EVO 4G Android Development] xlGmanlx:
Not bad but most after market kernels can get those results. Looks like it had every radio turned off. No offense but that doesn't show real world use
[EVO 4G Android Development] currybaker:
how exactly do you remove ziggy's tweak? What do i search for in root explorer to remove?
[EVO 4G Android Development] fixxxer2008:
+1... that's why he got great battery life he had the radio & data turned off. on normal use you would only get maybe 15+ hours if lucky. the evo is a battery whore.
[EVO 4G Android Development] Trident:
I would be incredibly happy with 15 hours of normal usage. I've been searching for the right kernel/ROM/settings combination to have good speed, stability and battery life. I'll be putting it through the paces tomorrow.
[EVO 4G Android Development] fixxxer2008:
i get a good 13-15 hours with normal usage with the stock newest kernel and steelh rom.
[EVO 4G Android Development] subminimal:
Agree on results and no offense taken with anyone's response. Sharing the results and debating the points surely can help someone out there!

Average day use I get 10-12 hours with a previous ziggy kernel (10/23). Usually anywhere kings gets around 8-9 and stock around 6-7. Again, heavy use is tough to get 4 hours. I believe that is where you reach the physical limit of the stock battery due to constant energy demand and little opportunity to throttle.

The screen print was about 9 hours of overnight and the rest on my desk at work with minimal text/email. The data connection (3g/4g) was on the whole time (active connection maintained..I hate turning that off since gmail won't push) but ziggy's kernel seems to do a great job managing the power consumption of my evo in an idle state. This has given confidence that I can make it a full day of basic use without worrying if I plugged in the night before or have access to a charger.

One thing I have learned is the stats can be very misleading and confusing. Regardless, my point is that ziggy has done fine work that happens to play nice with my evo and obviously many others. Some praise kings, netarchy, stock, etc but those simply have not provided me the same performance level with my evo and the roms I run (mostly myn and occasionally virus).

I'm not trying to convince anyone to use one kernel or another... I've spent several weeks/months of trial/error and narrowed down to what works best for me. :)
[EVO 4G Android Development] nuformzdesign:
I can attest to some insane battery life on this kernel. Granted I'm still using the 10/28 version, but I've been using mine off the charger for almost 36 hours and still have 18% left. And I would not consider myself a light user by any means. ;-)
[EVO 4G Android Development] fixxxer2008:
what do you have disabled and what are your settings then? stock battery? you can see why some of us are doubting that 36hrs.
[EVO 4G Android Development] INebilim:
agreed. i got 18 hours out of mine with good use and i am happy.

36 hours is more an endurance test. not useful
[EVO 4G Android Development] Ragster:
Ziggy, I seem to be having problems with this kernel and Myn's. ever since the first time I've used them back on 10/25 I think it was. Whenever I boot my phone, I get a an error that's something like "System has stopped respoinding" and its either Force close or Wait, no matter what I pick, the phone won't boot up. So I pull the battery and restart it and it comes again! I wipe Dalvik and it goes away but now my phone seems to be slow. I put the speed on 1190, which has worked fine on kings and nets kernel. Even when you took OC out I had this problem. When my phone is working just fine, it starts to have random reboots, sometimes when I'm on the phone, sometimes after it turns on and stays on for about a minute, it just does it at random times. After having this weird reboot issue, I went back to nets 4.2.1 more bfs and everything was back to normal. Any idea why my phone goes nuts when I use your kernel lol? Could it be something I have installed or SetCPU doing something?

I would keep nets or kings but I am getting horrible battery life with them, the best I've gotten was 13 hours standy by, 4 hours awake with 8% left. Used 5 mins of phone calls and mainly just texting and checking emails, facebook etc.
[EVO 4G Android Development] aeo 37:
I to am having a problem with the 11/14 update. My phone would regularly lag/ freeze up, random restarts and a lot of my apps disappeared. When I try to reinstall it, the installation would always be incomplete.

I returned back to 11/5 kernel and now everything is back and running smoothy.

Any ideas why this happen, would really like to run my phone above 998 again
[EVO 4G Android Development] VoXHTC:
Wish I had known 4G was broken on the latest kernel with Calkins rom. :(
[EVO 4G Android Development] phistyle:
seems like a lot of people are having problems... I'm on 11/12 version on Myn's rom and it works great..
[EVO 4G Android Development] kkwus74:
Hmmmm....everything works great for me on 11/14.....including wifi.can't test 4g but I could turn it in though....
[EVO 4G Android Development] anthony1487:
Wow I started hearing more and more of Ziggy's kernel and wanted to see what all the fuss was about. Seems like people are really liking this kernel. For those of you getting 15+ hours are you running the script on Ziggys's website (Ziggy's Tweak) or the Collins battery tweak? If so do you just flash either/or through recovery or turn it on through ADB? Just wondering since this is my second Evo and STILL can't get more than 8+ hours. Thanks!
[EVO 4G Android Development] Quick2822:
I've been using Ziggy's kernel since 10/28 and I've had nothing but great performance and battery life, especially after I ditched SetCPU and setup his init script and sysctl tweak.

Also, I have no problems with 4G on my phone (using Myn's RLS3).
[EVO 4G Android Development] anthony1487:
Where can I find the init script and sysctl tweak? Can you please walk me through or direct me on how to set it up? Thanks.
[EVO 4G Android Development] ziggy471:
I'm thinking some of the issues with the WiFi and 4G may be related to bad downloads, I'd recommend re-downloading, checking the md5sums, and trying again.

As for the random reboots, that's a voltage issue, I've already changed all my values to the known good ones in netarchy's kernel, so I need some volunteers this evening to test it out, and as usual, that'll be done in IRC. So those of you that don't already join us in IRC, please stop by tonight. freenode #HTC-EVO

Z
[EVO 4G Android Development] zaaye:
Where do you download the scripts
[EVO 4G Android Development] elas123:
how to do you remove the script once installed?
[EVO 4G Android Development] ziggy471:
My website, just like the kernels.

Just delete /system/etc/init.d/90screenstate_scaling & 90sysctl.

Z
[EVO 4G Android Development] elas123:
thanks ziggy
[EVO 4G Android Development] jayv1717:
Does the tweak stay when you switch kernels??

Sent from my Htc Evo 4g
[EVO 4G Android Development] ziggy471:
Yes, it's independent of the kernel, however, it's dependent on the ROM, the ROM must have run-parts enabled.

Z
[EVO 4G Android Development] rde34:
I know how to flash a ROM, install a backup and install a .apk. However, I don't know much else. Is it safe to assume that most of the ROMS we flash (AVA, AZRAEL, MYNS) have run-parts enabled? Thanks in advance.
[EVO 4G Android Development] jayv1717:
Ok thanks.. So the only way to get rid of it is to delete those files..or will a wipe remove them

Sent from my Htc Evo 4g
[EVO 4G Android Development] TwoORUfive:
Does Setcpu mess with the 11/14?! Should i uninstall it or can it still be used?
[EVO 4G Android Development] Ragster:
Well I seem to have noticed when my lag comes, when my phone is on the charger I sometimes lag really bad. When I take it off the charger the lag goes away. Is that a voltage thing too?
[EVO 4G Android Development] DrRyder:
Alright...I've been using the 11/14 kernel since it came out. Seems to be fast. The OC'ing, I don't think is a great idea because that's obviously not going to save battery power. Have to use SetCPU to keep it at 998. Some things that I want to make clear.

1. With the 11/14 EVO kernel, are the tweaks that you posted for the 90sysctl and 90screenstate_scaling still necessary for the kernel to autoscale when it's sleeping/awake?

2. The default scaling without SetCPU is 245-998? If so, what governor is it using?

3. Doesn't seem to be a battery saver. It's been 5 minutes since unplugged at 100% and it's at 90%. 4 minutes of that was spent asleep. Don't know why that is? Do you?

4. On some boots, the screen is messed up. Looks like there are lines on the screen, it flickers, and is sometimes unreadable and requires a restart to "fix" it.

This is a nice kernel. You've done good work and I enjoy using it. I just need something that will save battery as much as possible. Hoping you can shed some light on the above points.
[EVO 4G Android Development] BuddaBelly:
I'm using the 11/14 kernel and have nothing but good luck with it. I've been running 1152 with smartass and while not as fast as the 10/24 kernel is has been extremely stable and trouble free. Wifi works for me as well. I'm running the kernel on Calks rom. I get pretty decent battery life if I use stock clocks but what fun would that be. Anyway nice job ziggy.
[EVO 4G Android Development] ziggy471:
1. With the 11/14 EVO kernel, are the tweaks that you posted for the 90sysctl and 90screenstate_scaling still necessary for the kernel to autoscale when it's sleeping/awake?

The cpufreq governors automatically scale the processor as needed. However, the main point of the script is to change the max freq to a much lower value while the screen is off.
​

2. The default scaling without SetCPU is 245-998? If so, what governor is it using?

The default governor is set to Interactive.
​

3. Doesn't seem to be a battery saver. It's been 5 minutes since unplugged at 100% and it's at 90%. 4 minutes of that was spent asleep. Don't know why that is? Do you?

I'd recommend deleting battery stats, then bump charging. It's either that, or you have a run away process.
​

4. On some boots, the screen is messed up. Looks like there are lines on the screen, it flickers, and is sometimes unreadable and requires a restart to "fix" it.

That may be from the gpu+ patch that I have in there. I've never experienced that myself. So in other words, I really don't know.

​

Z
[EVO 4G Android Development] Quick2822:
The EVO does a floating charge. So when you plug your phone in, and it hits 100% and the green LED turns on, the phone will start to drain the battery down to the lower 90's, then change back up to 100%. It does that over and over.

That is why if you unplug and turn off your phone and plug it back in, it will charge more.

So if you unplugged your phone, and it dropped from 100% to the lower 90's, that just means you unplugged it when it was at the bottom of the "floating charge"
[EVO 4G Android Development] DrRyder:
Ohh. Thanks for the quick reply guys. That floating charge sounds interesting. I noticed once that my phone was at 100%, I turned it off, and it went orange again for a couple minutes then turned green again. I guess I was seeing what you just explained to me. I will do that and also delete the battery stats.

Thanks again.

Edit: That seemed to have done it. It's dropping slowly in the 90s now. Guess when I flash my rom again, I should just delete batterystats and charge to full while it's off to get the best out of it.

Edit 2: I had the screen problems again, but they seemed to went away just by turning the screen off and back on. It's weird. Hopefully I'm not the only one with this problem.
[EVO 4G Android Development] thenewguy821:
So, just af further clarification... If the tweak is separate from the kernel, if we were to try a different kernel (be it king, netarchy, or stock), would the tweak still stay and regulate the scaling still, or is the tweak designed to only work on your kernels?

Just want to make sure that if I try out a different kernel, the tweak won't react badly with it and cause problems.
[EVO 4G Android Development] Osrinith:
I've been getting that odd screen problem sometimes as well. Just as you found, turning the screen off and then back on seems to fix it for me. I'm on the 11/4 kernel. The 11/14 version caused major problems, battery-wise. Went from 100% to 90% on startup, and then dropped to 75% over the next 15 minutes (and this is with the 3500mA extended battery!). Switched back to the 11/4 kernel and things are going fairly well.
[EVO 4G Android Development] DualSportDad:
i get the lines down the screen on every kernel i run other than stock. happens on first boot, turn screen off and back on and its fine till i turn the phone off again. it's normal.
[EVO 4G Android Development] ziggy471:
I don't know why you'd want to use another kernel. lol

I haven't seen a kernel that the screen scaling script wouldn't work for, most of us leave the sysfs interface for cpufreq turned on, which is what the script uses.

Z
[EVO 4G Android Development] R32_Rocky:
So that WOULD mean that if someone tried your kernel and script, then flashed a different kernel, but forgot to delete your script, and then went to use SetCPU cause they thought they needed to in order to control the newly installed kernel, they would end up being counter productive? Would be causing massive conflicts perhaps?

If that is the case, might want to add an addendum to your posts to remind everyone to remove your script before trying another kernel and SetCPU along with it.

But on the POSITIVE side, you could also promote your script as an alternative to using SetCPU for "supported" kernels.
[EVO 4G Android Development] dthomas03:
First: ..Ziggy great job love your work man....Even though you dont have ur personal EVO...

Second: Is the 11.14 Kernel main governor (in SetCPU) supposed to be on-demand. I know on the website you stated that the default boot speed is set back to 998MHz but when I load SetCPU for the first time (after multiple times) it still shows 1113MHz as the max - even without me changing anything.

------I Dont know if I am flashing properly or not..but I am wiping cache, dalvik & battery stats.

Any help is appreciated.
[EVO 4G Android Development] Quick2822:
My understanding is that the boot speed was clocked back down to 998, but after it boots it goes up to 1113. I guess during boot up, being clocked at 1113 was causing some problems.

Assuming you didn't flash his tweaks along with the kernel, you can use SetCPU to clock it back down to 998 if you want. If you did flash the tweaks, then you either need to modify the init file and reboot your phone, or just delete the init files and reboot your phone.
[EVO 4G Android Development] w84mike:
How do I delete or modify the tweak scripts? I can find them in the init.d file using Root Explorer, but when I try to delete them, I receive a warning that the files cannot be deleted because the file system is read only. What am I doing wrong here? If I wanted to edit the script, say to alter the sleep paramaters, how would I go about that?

Thanks for your help.

*Oh, doh!!! That's what the "Mount R/W" button is for, lol! Problem solved. Thanks anyhoo.
[EVO 4G Android Development] DrRyder:
I used nano in terminal emulator to change the max frequency when the screen is on to 998400 instead of the 1113000 in the /system/etc/init.d/90screenstate_scaling script. Works perfect. I'd just rather not use SetCPU if it's unnecessary and with this script, it's certainly not necessary.