Hello,
I've managed to compile cm-kernel with my own voltage and overclock tweaks. I'd like to know where in the code is possible to change the default max and min clocks so that I can overclock without setcpu or overclockwidget.
Can anyone help?
Bump
Sent from my Nexus One using XDA App
No hints?
You should ask Enomther - he did it for his ROM.
OK, here we go...
smaller (lzma compressed)
overclocked
perflock disabled
interactive governor
ondemand governor fixed
CFQ and BFQ IO schedulers
UTF-8 NLS (default)
LZO compression
ext4 support
CIFS (module)
Aufs (module)
TUN/TAP (module)
...available scaling frequencies are 123, 246, 480, 600, 768, 787 and 806 MHz. Default governor is ondemand. Default speed is 246 MHz min and 600 MHz max. This can be changed using SetCPU or manually via sysfs.
Note
Support for ipv6 was modularized to make kernel smaller. You can activate it by loading ipv6 module through adb shell or terminal:
Code:
insmod /system/lib/modules/ipv6.ko
...the same goes for ext4 support (two modules need to be loaded):
Code:
insmod /system/lib/modules/jbd2.ko
insmod /system/lib/modules/ext4.ko
Legal
This software is licensed under GPLv2, distributed free of charge and WITHOUT ANY WARRANTY! Source code for this software can be found on HTC Developer Center. Links to applied patches are provided in 2nd post. If you feel that this is not enough, I also offer (upon formal request of a third party) all the source code on a customary medium for a charge no more than a cost of phisically performing distribution.
Do not flash if you don't know what kernel is and what it does!
Changelog
0.5 (January 18, 2011)
lzma compression
disabled phone status detection
some cpufreq improvements
some grafx improvements
0.4 (December 23, 2010)
ext4 support
reverted to stock ondemand governor
0.3 (December 3, 2010)
added CFQ and BFQ IO schedulers (BFQ is default)
removed some unneeded stuff from the config (smaller footprint)
0.2 (December 2, 2010)
ported ondemand governor from CM's kernel source
0.1 (November 30, 2010)
initial release
OC table from dumfaq
aufs support
interactive governor
You Sir are a genius. Will flash it now and report back.
EDIT:
Testing current (Screen Off profile 122/122), max and min frequency.
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
[B][COLOR="Lime"]122880[/COLOR][/B]
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
[B][COLOR="Lime"]787200[/COLOR][/B]
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq
[B][COLOR="Lime"]122880[/COLOR][/B]
Working perfectly! My battery gives you a hug!
One thing I noticed: 787/122 ondemand main changes to 787/245 after turning the screen off and on again. Have to click the SetCPU slider for min freq to set it to 122 again even though it shows 122 as current min.
Video:
Works beautifully so far!
Big thank you, to you!
Is the performance any better than with dumfuq's kernel? Just wondering what the advantages to the new kernel are
What is the right way to install system overlay since it has the aufs module?
What I did_
-Flashed aufs_no_kernel.zip
-Rebooted
-adb shell to enable aufs
Code:
aufs --enable
Enabling read-write /system overlay...
Please reboot your phone for changes to take effect...
So far so good but the next reboot stopped at the first "HTC" screen with logcat (or any other adb command) telling me nothing but this:
Code:
C:\androidsdk\tools>adb logcat
- exec '/system/bin/sh' failed: No such file or directory (2) -
Mounting /system through Clockwork recovery didn't help either.
I googled the error and found this answer:
This means that in your recovery image, even though you might have installed busybox, the symlink to it is missing (/system/bin/sh should be either bash or a symlink to your busybox binary)
Click to expand...
Click to collapse
Guess aufs_no_kernel.zip was the wrong file to start with.
FYI, I am running the Modaco 2.2 r4 ROM. The only difference is that I added busybox and /etc/init.d scripts support (busybox run-parts) via the Android Kitchen to it.
Could this cause the error or am I doing something else wrong?
Thanks for you help and work!
Hmmm, it produces some graphic glitches (transient short horizontal lines ) in my Cyanogenmod 6.1 RC2, maybe the cm kernel has some other tweaks.
No probs I did a backup.
Thanks for this anyway, you're quick, man.
Cheers.
will this work for whitetigerdk's froyo rom?
my setcpu Governor states conservatice, and the frequency is Max 787MHz. Is this what it suppose to be? Because i dont understand conservative performance etc.
yanlong94 said:
will this work for whitetigerdk's froyo rom?
my setcpu Governor states conservatice, and the frequency is Max 787MHz. Is this what it suppose to be? Because i dont understand conservative performance etc.
Click to expand...
Click to collapse
You should read up more rather than asking questions that have been asked many times (look at first post bolded in red).
Since you mentioned setcpu, why don't you try to read through the FAQs?
Cheers,
Sent from my HTC Legend using Tapatalk
@BlaY0
my phone freezed with 787 MHz . but i have no problem 768 MHz in old kernel . could i request you to add 768 MHz?
Finished installing, working fine. Thanx for all the work you've done
Sent from my HTC Legend using XDA App
ernestus said:
Hmmm, it produces some graphic glitches (transient short horizontal lines ) in my Cyanogenmod 6.1 RC2, maybe the cm kernel has some other tweaks.
No probs I did a backup.
Thanks for this anyway, you're quick, man.
Cheers.
Click to expand...
Click to collapse
If I'm not wrong CM RC still based on older kernel (2.6.29)? And this one is for official froyo ROM with latest kernel (2.6.32).
Sent from my HTC Legend using Tapatalk
Didnt expect such a big differance, everything runs quite a bit smoother.
Sent from my HTC Legend using XDA App
Just installed, working great. I am using overclock widget.
Thanks for the work!
Ik
BlaY0 said:
...available scaling frequencies are 123, 246, 480, 600 and 787 MHz. Default governor is ondemand with 123 MHz min and 600 MHz max frequency. This can be changed with SetCPU or manually via sysfs.
Click to expand...
Click to collapse
More frequencies would be nice (I'm more than.happy with 768MHz). As would the source code of your kernel.
I am experiencing rather weird behavior of ondemand scaling governor (not just with this customized but also with stock one) comparing to 2.6.29... as if powersave bias isn't working at all. And it is changing states quite heavily comparing to 2.6.29... need to take a closer look...
Click to expand...
Click to collapse
Interesting, I was experiencing the same, I thought it was a problem with the stock froyo ROM and it was one of the main reasons for me to switch back to cm as it heavily reduces battery life. the interactive governor doesn't have this problem?
Well, with 2.6.29 you have to use old Wi-Fi drivers, that means Wi-Fi hotspot won't work coz there's no "hotspot" driver for old kernel.
Sent from my HTC Legend
kugel. said:
Interesting, I was experiencing the same, I thought it was a problem with the stock froyo ROM and it was one of the main reasons for me to switch back to cm as it heavily reduces battery life. the interactive governor doesn't have this problem?
Click to expand...
Click to collapse
Yeah, battery drain while not sleeping was quite heavy. It's not the problem with the ROM itself... I tried good ol' 2.6.29 and ondemand governor was acting just fine. Now I'm using interactive governor and it's doing fine. Will diff ondemand governor as soon as I find some time...
Sent from my HTC Legend
Is there any way to run @ 768 MHz?
Sent from my HTC Legend
gyroing said:
Is there any way to run @ 768 MHz?
Sent from my HTC Legend
Click to expand...
Click to collapse
Nope. :-\
Sent from my HTC Legend using XDA App
What about 825MHz?
Sent from my Legend using Tapatalk
I want to install sentiroN's kernel so i can mainly undervolt to save battery, but i'm also looking to overclock to 1200 mhz, which version of his kernel should i use?
And which version of Xan's voltage control?
Thanks.
hamburgertrain said:
I want to install sentiroN's kernel so i can mainly undervolt to save battery, but i'm also looking to overclock to 1200 mhz, which version of his kernel should i use?
And which version of Xan's voltage control?
Thanks.
Click to expand...
Click to collapse
Use setiron's 1.4.7 oc @1200. This is Odin-flashable only. Don't install it via CWM. Link below.
http://forum.xda-developers.com/attachment.php?attachmentid=466664&d=1292593336
Get Xan's Voltage Control 2.0RC3. That's the version I'm using with setiron's 1.4.7 oc @1200.
Just make sure you back up all your data and disable voodoo lagfix beforehand. Kernel swapping doesn't always go smoothly.
Guys is it possible to enable the Simple GPU governor on the stock kernel and configure it?
tried on trickster mod but it doesn't apply/tick nor does it let me configre it even with th paid version.
regards
I understand we are not able to flash any custom kernel since there are none available with this device having limited dev support.
However, if rooted can we change settings with a kernel manager with the CPU and GPU? Installed EX Kernel Manger and set the CPU governor to "performance" but not seeing any speed or performance increases