FORUMS
Remove All Ads from XDA

{GPL}[Kernel][Tool] ZenKernel HTC Kernel Overclocked UnderVolted + AnyKernel 8-29-10

2,392 posts
Thanks Meter: 309
 
By zenulator, Retired Recognized Developer on 10th August 2010, 05:08 AM
Post Reply Email Thread
AnyKernel zips will only replace the kernel in your boot.img.

To define a boot.img:

Kernel(zImage) + ramdisk(root file system + init scripts) = boot.img

Where AnyKernel came from:

While searching for different kernels for my Motorola Droid I stumbled on a great idea implemented by Koush. Basically it will split the boot.img from recovery while your phone is running then replace the kernel and make a new boot.img and flash it along with the correct modules for the kernel.

I figured I would implement it on the CDMA Hero and it worked out.

This will work on any rooted rom with a custom recovery running Sense UI including the stock rom.

------------------------------------------------------------------------------------------------------------------------------------------------------------
Here are the undervolted and overclocked kernels for Sense ROMS

These kernels are built from the HTC heroc-2.6.29-bc0d2ccf source with toasts overclock patch modified by darchstar/Decad3nce to include undervolt.

The git repo for this is @ http://github.com/zenulator/htc-heroc-2.6.29-bc0d2cff

The GPL license can be read @ http://www.gnu.org/licenses/gpl.html

ZenKernel-HTC-08122010 no perf lock
It has perf lock disabled to allow full overclocking with out the need use setcpu to disable perf lock. The clock speeds will stay at what ever the target rom uses unless you running a rom with no overclock built in. If so it will scale from 19mhz to 768mhz.
Download

ZenKernel-HTC-08122010 perf lock
Same as above but with perf lock enabled. It will run at stock values on any sense Rom until you use setcpu. To overclock it you will need to set setcpu to autodetect and then disable perf lock inside setcpu.
Download

----------------------------------------------------------------------------------------------------------------------------------------------------------------------

StockVoltage Overclocked Kernel:
This kernel is built from the same source as the rest except the voltages were changed to stock values. It will max out at 691 and the governor is set to performance.
Download


Setcpu is free for xda memebers and can be found here:
http://forum.xda-developers.com/show...37&postcount=1


Instructions:

Download the update and copy it to the root of your sdcard.
Reboot into recovery.
Nandroid (just in case you want to go back)
Flash the update
Reboot
Check Settings > About phone > Software information > Kernel version

__________________________________________________ ___________________________

If you wish to modify this with another kernel just extract the update and replace the zImage in the kernel directory with the one you want and replace the corresponding modules. Then rezip and resign and flash. It will work on any 2.1 sense rom regardless of boot.img.
 
 
10th August 2010, 05:13 AM |#2  
nfinitefx45's Avatar
Senior Member
Flag Abingdon, MD.
Thanks Meter: 722
 
Donate to Me
More
Damn good work zenulator I am downloading it now and will test thoroughly tomorrow and see how it go's.
Thanks for the hard work.
10th August 2010, 07:28 AM |#3  
derekwilkinson's Avatar
Senior Member
Thanks Meter: 327
 
More
Works great, using it with your beta ROM. Lock screen lag is gone
I got used to it so I barely noticed it... but now it seems a lot faster
10th August 2010, 08:15 AM |#4  
thatguythatdid's Avatar
Senior Member
Flag With your mom :) milf
Thanks Meter: 5
 
More
I know you just started this and it says for sense. But I gotta ask is there anyway that this will work with froyo? I'm not a fan of overclock roms because of the lag when you push the menu key till when you screen is actually ready to go. And this gives me hope
of having a kernel that doesn't do that
10th August 2010, 08:31 AM |#5  
zenulator's Avatar
OP Retired Recognized Developer
Thanks Meter: 309
 
Donate to Me
More
Quote:
Originally Posted by thatguythatdid

I know you just started this and it says for sense. But I gotta ask is there anyway that this will work with froyo? I'm not a fan of overclock roms because of the lag when you push the menu key till when you screen is actually ready to go. And this gives me hope
of having a kernel that doesn't do that

Yes it will work for froyo if you modify it and put in the correct zImage (kernel). It won't work with the update I posted since it's made for Sense roms and uses HTC's Synaptics driver which isn't compatible with AOSP 2.2 Froyo/Cyanogenmod.

If you want a AOSP kernel with no overclock and no ability to overclock at all then I can do that but not for a couple days. If you ask darch he might be able to do it quicker since he already has everything set up and most likely only two files will need to be changed before a compile.
10th August 2010, 08:38 AM |#6  
thatguythatdid's Avatar
Senior Member
Flag With your mom :) milf
Thanks Meter: 5
 
More
Quote:
Originally Posted by zenulator

Yes it will work for froyo if you modify it and put in the correct zImage (kernel). It won't work with the update I posted since it's made for Sense roms and uses HTC's Synaptics driver which isn't compatible with AOSP 2.2 Froyo/Cyanogenmod.

If you want a AOSP kernel with no overclock and no ability to overclock at all then I can do that but not for a couple days. If you ask darch he might be able to do it quicker since he already has everything set up and most likely only two files will need to be changed before a compile.

Thanks for the reply I'm gonna give the new kernel a chance to see how it does
10th August 2010, 09:01 AM |#7  
c00ller's Avatar
Senior Member
Thanks Meter: 323
 
More
Excuse my ignorance but how is this different from Standard DarchKernel vUV2 691 MHz found here http://forum.xda-developers.com/showthread.php?t=705074 ?
That's what I'm using and it already says
Kernel version
2.6.29-cyanogenmod
[email protected] #6
10th August 2010, 09:16 AM |#8  
thatguythatdid's Avatar
Senior Member
Flag With your mom :) milf
Thanks Meter: 5
 
More
Thanks for this zen works great
10th August 2010, 09:59 AM |#9  
Senior Member
Flag Seattle,Washington
Thanks Meter: 15
 
More
this is undervolted correct? does this really help the battery life?
10th August 2010, 01:30 PM |#10  
Decad3nce's Avatar
Retired Forum Moderator / Recognized Developer
Thanks Meter: 2,776
 
More
Quote:
Originally Posted by c00ller

Excuse my ignorance but how is this different from Standard DarchKernel vUV2 691 MHz found here http://forum.xda-developers.com/showthread.php?t=705074 ?
That's what I'm using and it already says
Kernel version
2.6.29-cyanogenmod
[email protected] #6

Uhh. I'm going to give a brief explanation.

AnyKernel is a tool created by Koushik Dutta found here on github.

The beauty of it is that it can flash/add a kernel to any boot.img regardless of ramdisk. It literally does the unpacking of the boot.img, extracting of the ramdisk, deletion of the original kernel and repacking of the boot.img together with the kernel of your choice.

The difference with this is probably changes in base address/cmd line and possible how it's extracted(haven't looked at it). Very awesome tool nonetheless, and is a lot more efficient that going through the process of coupling the kernel with each specific ramdisk before releasing a boot.img.

That's how it's different from your quoted "kernel".
10th August 2010, 02:06 PM |#11  
Papa Smurf151's Avatar
Senior Member
Flag Atlanta
Thanks Meter: 6,791
 
Donate to Me
More
Quote:
Originally Posted by Decad3nce

Uhh. I'm going to give a brief explanation.

AnyKernel is a tool created by Koushik Dutta found here on github.

The beauty of it is that it can flash/add a kernel to any boot.img regardless of ramdisk. It literally does the unpacking of the boot.img, extracting of the ramdisk, deletion of the original kernel and repacking of the boot.img together with the kernel of your choice.

The difference with this is probably changes in base address/cmd line and possible how it's extracted(haven't looked at it). Very awesome tool nonetheless, and is a lot more efficient that going through the process of coupling the kernel with each specific ramdisk before releasing a boot.img.

That's how it's different from your quoted "kernel".

I understand the explanation but have to ask what rge different change. I know this will just change the kernal from the boot imiage which is great and it has the HTC synaptic drivers in the kernal but that kernal with the HTC drivers has already been implemented into the latest boot.imgs. its a cool concept and would make it easier to change just the kernal for a one shot stop when a newer kernal comes out but as of right now that's the same kernal most of the sense based roms have already implemented into them at this time. If im wrong I'm sorry.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes