[DISCONTINUED][KERNEL][2011-04-05]kAmMa's Lightweight Kernel for Enthusiasts v2.3

Search This thread

kamma

Senior Member
Jul 9, 2006
828
527
Nymburk
Use at your own risk
I take no responsibility for any demage, which this kernel can cause


Key kernel features
- OC MAX to 1.53GHz
- undervolted
- Interactive, powersave, conservative, ondemand, performance governor
- BFQ IO scheduler
- SLQB allocator
- EXT4 support
- TUN module
- CIFS module
- snq- CPU Vdd levels
- change frequency on-the-fly



I bought Motorola Atrix 4G


Changelog v2.3 - for real enthusiasts
- RockPlayer lag fixed
- adb developer mode fixed
- added BFQ IO sched as default

kkernel_v23_cw.zip (4.65 MB) http://www.multiupload.com/H18USJBXZI
kkernel_v23_fb.zip (4.33 MB) http://www.multiupload.com/Z15SUAXI3Y

How to change any frequency above 1017600Hz on-the-fly
Code:
echo 'c1536000 1593600 1325' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
"c" means CHANGE
"1536000" old frequency
"1593600" new frequency (unlimited)
"1325" voltage (limited to 1500mV)

How to set max frequency on-the-fly
Code:
echo 'm1593600 1350' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
"m" means max frequency
1593600 is max frequency (no limitation)
1350 is voltage for this frequency (maximum is limited to 1500mV)

===================================================================

Changelog v2.2 - for real enthusiasts
- some minor updates
- source clean-up
- EXT2/EXT3/EXT4 support
- only CFS version for this and future releases
- tested few days with CoreDroid ROM with no issue found
- Quadrant score 3438 (1.53GHz) - screenshot bellow

kkernel_v22cfs_cw.zip (4.63 MB) http://www.multiupload.com/4CU729S1HK

Changelog v2.1 - for real enthusiasts
- SLQB added
- BFS/CFS version

kkernel_v21bfs_cw.zip (3.41 MB) http://www.multiupload.com/SP0VBME6TF
kkernel_v21cfs_cw.zip (3.43 MB) http://www.multiupload.com/YCWT6VC0O9

Changelog v2.0 - for real enthusiasts
- based on new HTC sources
- CIFS and UTF8 support directly in kernel (no *.ko module needed)
- EXT4 support

kkernel_v20cfs_cw.zip (3.43 MB) http://www.multiupload.com/B04O7RGJNH

Changelog v1.9 - for real enthusiasts
- change any frequency above 1017600Hz on-the-fly
- YouTube issue solved

kkernel_v19bfs_cw.zip (4.57 MB) http://www.multiupload.com/SA5ZF9PV57
kkernel_v19cfs_cw.zip (4.62 MB) http://www.multiupload.com/34H269DABM

Changelog v1.8 - for real enthusiasts
- SLQB allocator added

kkernel_v18_172_cw.zip (4.59 MB) http://www.multiupload.com/HK1AUAUB6M
kkernel_v18_cw.zip (4.56 MB) http://www.multiupload.com/7NM0KTQJAZ
kkernel_v18cfs_172_cw.zip (4.64 MB) http://www.multiupload.com/1J68SEDLWW
kkernel_v18cfs_cw.zip (4.64 MB) http://www.multiupload.com/FBHSDR7GBH

Changelog v1.7 - for real enthusiasts
- code refactor
- 2 builds - BFS vs CFS
- IO scheduler could be changed on-the-fly (included CFQ(default), BFQ, DEADLINE, NOOP)
- Smartass Governor removed (no time to optimize it in these days)

kkernel_v17bfs_172_cw.zip (4.58 MB) http://www.multiupload.com/4XGD6GUO5V
kkernel_v17bfs_cw.zip (4.54 MB) http://www.multiupload.com/NDY2H9TBZ0
kkernel_v17cfs_172_cw.zip (4.62 MB) http://www.multiupload.com/0H0C0WIE38
kkernel_v17cfs_cw.zip (4.59 MB) http://www.multiupload.com/U8973AAQZP

Changelog v1.6 - for real enthusiasts
- CFS scheduler (wake-up lag and RockPlayer issue solved)
- CFQ IO scheduler
- Smartass Governor added

kkernel_v16_172_cw.zip (4.63 MB) http://www.multiupload.com/BIU9S15PK1
kkernel_v16_cw.zip (4.59 MB) http://www.multiupload.com/EFNVJ8LT1Z

Changelog v1.5 - for real enthusiasts
- max frequency set on-the-fly !!! WARNING - Using this feature can make your device very unstable or cause permanent demage !!!
- freq. table reduced to these values (245760 368640 768000 1017600 1094400 1209600 1305600 1459200 1536000)
Fastboot package - http://rapidshare.com/files/445794634/kkernel_v15.zip
CW package (for HTC Sense ROM v1.32) - http://rapidshare.com/files/445794656/kkernel_v15_cw.zip
CW package (for HTC Sense ROM v1.72) - http://rapidshare.com/files/445794649/kkernel_v15_172_cw.zip

MIRROR
=======
kkernel_v15_172_cw.zip (4.57 MB) http://www.multiupload.com/C81VKGI6U5
kkernel_v15.zip (4.21 MB) http://www.multiupload.com/OJAFAG4XDH
kkernel_v15_cw.zip (4.54 MB) http://www.multiupload.com/C658TD6H4E

Changelog v1.4 - for real enthusiasts
- there was a bug in the real-time VDD levels settings (it wasnt work at all) - fixed
- UV for your device (how-to: http://xdaforums.com/showthread.php?t=821372) - WARNING - Using this feature can cause your device very unstable
Fastboot package - http://rapidshare.com/files/439578054/kkernel_v14.zip
CW package - http://rapidshare.com/files/439578055/kkernel_v14_cw.zip
CW package (for HTC Sense ROM v1.72) - http://rapidshare.com/files/443779735/kkernel_v14_172_cw.zip

Changelog v1.3 - for real enthusiasts
- snq- CPU Vdd levels added: you can change your Voltages on-the-fly and make optimal UV for your device (how-to: http://xdaforums.com/showthread.php?t=821372) - WARNING - Using this feature can cause your device very unstable
Fastboot package (noUV) - http://rapidshare.com/files/438863626/kkernel_v13_noUV.zip
CW package (noUV) - http://rapidshare.com/files/438863625/kkernel_v13_cw.zip

Changelog v1.2
- updated Interactive Governor
- undervolted
- new freq. table (43 freq. steps)
- errata 430973, 458693, 460075
Fastboot package - http://rapidshare.com/files/435843449/kkernel_v12.zip
Fastboot package (noUV) - http://rapidshare.com/files/435896232/kkernel_v12_noUV.zip
CW package (noUV) - http://www.multiupload.com/8A7ZBOBVFF

Changelog v1.1
- new tweaks - now 3255 in Quadrant Standard (picture bellow)
- back to BFS (overall performance VS RockPlayer issue)
- HW3D enabled
- CIFS module added
Fastboot package - http://rapidshare.com/files/435082129/kkernel_v11.zip

Changelog v1.0
- tweaks in boot-ramdisk (CFS)
- tweaks in Interactive Governor (set max speed on wake-up)
- merged with tweaks from Cyanogens HTC Vision kernel
CW package - http://rapidshare.com/files/433888764/kkernel_v10cfs_cw.zip

Changelog v0.9
- some tweaks
- changed freq_table (removed unused frequencies - otptimization for Interactive Governor)

Fastboot package (CFS scheduler) - http://rapidshare.com/files/433020765/kkernel_v09cfs.zip
CW package (CFS scheduler) - http://rapidshare.com/files/433020854/kkernel_v09cfs_cw.zip

Changelog v0.8
- some tweaks - now 3234 in Quadrant
- added module for OpenVPN (tun.ko)

Fastboot package (BFS scheduler) - http://rapidshare.com/files/432431783/kkernel_v08.zip
CW package (BFS scheduler) - http://rapidshare.com/files/432813639/kkernel_v08bfs_cw.zip

Fastboot package (CFS scheduler) - http://rapidshare.com/files/432619838/kkernel_v08cfs.zip
CW package (CFS scheduler) - http://rapidshare.com/files/432812575/kkernel_v08cfs_cw.zip

Changelog v0.7
- added EXT4 support (upgraded)
- some tweaks - now 3056 in Quadrant with BFS kernel

Changelog v0.6a
- removed BFS - caused issues in RockPlayer and YouTube

Changelog v0.6
- added BFQ
- bugfix: perflock disabled

Changelog v0.5
- added BFS scheduler
- 3030 in Quadrant Standard

Changelog v0.4
- reverted back to official HTC Ace kernel version 2.6.32.21 - better performance
- added custom frequencies (1440000, 1516800, 1536000)
- 2759 in Quadrant Standard

Changelog v0.3
- updated kernel to version 2.6.32.25
- back to stable voltages (but still little lower than in v0.1)

Changelog v0.2 experimental:
- all features as 0.1
- decreased voltages
If you already have v0.1, you dont need to install wifi module (bcm4329.ko).
If you notice any instability, change kernel to v0.1 and let me know.

Initial version 0.1:
- overclockability to 1.49GHz
- added Interactive governor
- added Conservative governor
- added Powersave governor

Info:
default governor is Interactive with scaling from 245Mhz to 1497MHz

How to install
1. unpack downloaded ZIP file (for example to d:/temp)
2. connect device with computer with Android SDK tools (adb, fastboot)
3. reboot to bootloader
adb reboot bootloader
4. flash new kernel
fastboot flash zimage d:/temp/zImage
5. restart device
6. push new wifi module
adb push *.ko /data/local/
adb shell
su
mount -o remount,rw /dev/block/mmcblk0p25 /system
busybox cp /data/local/*.ko /system/lib/modules/


This kernel is based on changes made by: Cyanogen, coolbho3000, Apache14, snq-, erasmux

Source code: https://github.com/kamma/ace_kernel
 

Attachments

  • kkernel_v01.zip
    2.8 MB · Views: 283
  • kkernel_v03.zip
    2.8 MB · Views: 89
  • kkernel_v04.zip
    2.8 MB · Views: 78
  • kkernel_v05.zip
    2.8 MB · Views: 159
  • kkernel_v06.zip
    2.8 MB · Views: 813
  • device.jpg
    device.jpg
    30.3 KB · Views: 712
Last edited:

cd993

Senior Member
May 8, 2009
3,711
1,379
London
OnePlus 12
Hi Kamma, looking forward to giving this a try! At 1.49ghz what voltage will t be at, how much overvolted or undervolted if thats even possible? lol
 

kamma

Senior Member
Jul 9, 2006
828
527
Nymburk
Hi Kamma, looking forward to giving this a try! At 1.49ghz what voltage will t be at, how much overvolted or undervolted if thats even possible? lol

because of stability a use same values as cyanogen in visoin kernel :

{ 1017600, PLL_2, 3, 0, 192000, 1200, VDD_RAW(1200) },
{ 1113600, PLL_2, 3, 0, 192000, 1200, VDD_RAW(1200) },
{ 1209600, PLL_2, 3, 0, 192000, 1200, VDD_RAW(1200) },
{ 1305600, PLL_2, 3, 0, 192000, 1200, VDD_RAW(1200) },
{ 1401600, PLL_2, 3, 0, 192000, 1200, VDD_RAW(1200) },
{ 1497600, PLL_2, 3, 0, 192000, 1300, VDD_RAW(1300) },
 
T

Thyrus

Guest
Works like a charm thanks buddy

Sent from my Desire HD using XDA App
 

muzens

Senior Member
Dec 2, 2008
194
29
Eastbourne
Please could someone help, I have completed 1-5 no problems, but when trying to push the wifi module I get this

11112010154742.png


Any help much appreciated
 

kamma

Senior Member
Jul 9, 2006
828
527
Nymburk
Maybe be a stupid question, How do I allow it?
Thanks for your help

if you start any application, which wants to gain root access, for the first time, then SuperUser app shows you dialog where you can allow or deny to gain root.

if you already denied to adb gain root, so you have to clear it in SuperUser app.
 

muzens

Senior Member
Dec 2, 2008
194
29
Eastbourne
if you start any application, which wants to gain root access, for the first time, then SuperUser app shows you dialog where you can allow or deny to gain root.

if you already denied to adb gain root, so you have to clear it in SuperUser app.

I have allowed other apps, but ADB hasn't shown up, nor is it in the list of the allowed apps.
 

muzens

Senior Member
Dec 2, 2008
194
29
Eastbourne
i dont know then...
it should look like that :

I will play around and see if anything happens, thank you for your modules,kernels and help ;)

EDIT: I don't know why but I ran VISIONary r12 and permarooted, again, now everything is working fine :) Thanks again

Donation sent 53217024Y03045217
 
Last edited:

kamma

Senior Member
Jul 9, 2006
828
527
Nymburk
  • Like
Reactions: Dr.FANTASTIK-US

dubbeld00

Senior Member
Mar 8, 2008
278
2
Im not sure about default voltages. But i can build experimental kernel with lower voltages.

Well I was looking for a stable kernel with stable voltages ;) if the normal voltage is 1100, it might be a bit overkill to put it at 1200mV (since we have another CPU, the voltages might also differ from the Desire Z)

But I can't find any information about it...

Edit: Can't find it in the original acpuclock-7x30.c... seems that HTC doesn't updated this file (cause it stops at specifiing mV's and speeds to 800mhz, which is the default clock of the Desire Z).
 
Last edited:

Top Liked Posts