I absolutely take no creative credit in making this kernel as all I have done is used the lower voltage code on Ivan Dimkovic's github and build based on the LEO kernel tree. The real credit goes to them.
Please check "Save battery while running ANY Android build on your HD2" for how to tweak the system with setcpu.
In this kernel, I have enabled the follows:
Conservative CPUfreq governor
Conservative governor is the default CPUfreq governor
Voltage goes down to 1000 mv (zImage_1000mv) or 925mv (zImage_925mv) or 1050mv (default voltage)
Overclocking to 1.113 GHz max.
Remember, I hold NO responsibility for anything that goes wrong. I'm simply providing the kernel, whatever happens with it is on your shoulders not mine.
If you do not like the overclocked feature, you can use SetCPU to disable it.
minor tweaking to drivers/cpufreq/cpufreq_ondemand.c
#define DEF_FREQUENCY_DOWN_DIFFERENTIAL (30)
#define MICRO_FREQUENCY_UP_THRESHOLD (65)
#define MICRO_FREQUENCY_MIN_SAMPLE_RATE (9500)
minor tweaking to drivers/cpufreq/cpufreq_conservative.c
#define DEF_FREQUENCY_UP_THRESHOLD (65)
#define DEF_FREQUENCY_DOWN_THRESHOLD (30)
To use it, overwrite the existing zImage and push the bcm4329.ko to the /system/lib/modules:
Code:
adb remount
adb push bcm4329.ko /system/lib/modules/bcm4329.ko
for detailed instruction, please check[Discussion]Linux and Android on the HD2 *READ POST4 BEFORE ASKING QUESTIONS
The main purpose of the AUFS is to provide an overlay to a read only file system (usually a compressed filesystem, such as squashfs or cramfs). Since the ext2 images are writable, and we are not using a compressed filesystem, what is the point of using AUFS? The real issue is this, currently the HD2 is running on the sdcard, and reading from sdcard is slow. If the file system is compressed, you'll read less and decompress it, and decompression is pretty fast. Hopefully, the decompression overhead is smaller than the read performance gain from a compressed file system. It could mean that overall compressed file system is faster than ext2 (i hope).
Change Log
version 0.4:
kernel based on LEO tree (HEAD version 827fa85),
add aufs support
huanyu said:
I absolutely take no creative credit in making this kernel as all I have done is used the lower voltage code on Ivan Dimkovic's github and build based on Cotulla kernel tree. The real credit goes to them.
In this kernel, I have enabled the follows:
Conservative CPUfreq governor
Conservative governor is the default CPUfreq governor
Voltage goes down to 0.925 volts
Overclocking to 1.1 GHz max.
You can use SetCPU to configure the overclocking settings
minor tweaking to drivers/cpufreq/cpufreq_ondemand.c
#define MICRO_FREQUENCY_UP_THRESHOLD (65)
#define MICRO_FREQUENCY_MIN_SAMPLE_RATE (9500)
minor tweaking to drivers/cpufreq/cpufreq_conservative.c
#define DEF_FREQUENCY_UP_THRESHOLD (65)
#define DEF_FREQUENCY_DOWN_THRESHOLD (30)
To use it, overwrite the existing zImage and push the bcm4329.ko to the /system/lib/modules:
Code:
adb remount
adb push bcm4329.ko /system/lib/modules/bcm4329.ko
Click to expand...
Click to collapse
interesting... did you include manusfreedom's 384mb RAM patch by any chance?
pongster said:
interesting... did you include manusfreedom's 384mb RAM patch by any chance?
Click to expand...
Click to collapse
lol.. only 1 way to find out..
Ok nice, I guess. What does it bring me?
Better battery performance probably. Do you have any experience with it? Does it slow down the overall performance?
Im willing to test it, but i need to know what to look for...
Sent from my HTC HD2 using XDA App
How about a detailed step by step NOOB guide to use this. Where to put the downloaded file, what to use to overwrite, etc. may sound like stupid questions but....
Thanks
Is this bcm4329.ko incluying the wifi module for ZImage.384Mo ?
Thxs.
huanyu said:
I absolutely take no creative credit in making this kernel as all I have done is used the lower voltage code on Ivan Dimkovic's github and build based on Cotulla kernel tree. The real credit goes to them.
In this kernel, I have enabled the follows:
Conservative CPUfreq governor
Conservative governor is the default CPUfreq governor
Voltage goes down to 0.925 volts
Overclocking to 1.1 GHz max.
You can use SetCPU to configure the overclocking settings
minor tweaking to drivers/cpufreq/cpufreq_ondemand.c
#define MICRO_FREQUENCY_UP_THRESHOLD (65)
#define MICRO_FREQUENCY_MIN_SAMPLE_RATE (9500)
minor tweaking to drivers/cpufreq/cpufreq_conservative.c
#define DEF_FREQUENCY_UP_THRESHOLD (65)
#define DEF_FREQUENCY_DOWN_THRESHOLD (30)
To use it, overwrite the existing zImage and push the bcm4329.ko to the /system/lib/modules:
Code:
adb remount
adb push bcm4329.ko /system/lib/modules/bcm4329.ko
Click to expand...
Click to collapse
Had try it but call, data do not works
Overclocking works however linpack scores arent any different, the undervolting works too (voltage readings on bootup are lower). Thanks for the kernel
p.s. you should try adding this to the 384mb ram image here: http://htcleo.noobhands.net/manusfreedom/
JJbdoggg said:
Overclocking works however linpack scores arent any different, the undervolting works too (voltage readings on bootup are lower). Thanks for the kernel
p.s. you should try adding this to the 384mb ram image here: http://htcleo.noobhands.net/manusfreedom/
Click to expand...
Click to collapse
thnks for the share
JJbdoggg said:
Overclocking works however linpack scores arent any different, the undervolting works too (voltage readings on bootup are lower). Thanks for the kernel
p.s. you should try adding this to the 384mb ram image here: http://htcleo.noobhands.net/manusfreedom/
Click to expand...
Click to collapse
The 1.113GHz has about 30 linpack score ( pretty consistent ) and the default speed (998MHz) is about 28. Make sure you switch to performance mode when running linpack.
WOW!! THIS IS AWESOME!! Anyway to combine this with the extra ram zImage?! For those not getting the overclock to work, you must redo autodetect speeds.
huanyu said:
... Make sure you switch to performance mode when running linpack.
Click to expand...
Click to collapse
Performance mode????? Where is this thing?
OrionBG said:
Performance mode????? Where is this thing?
Click to expand...
Click to collapse
You need SetCPU app to set overclock and other profiles. It is free for xda membs and a paid app in the market. My favorite app so far.
Link-->http://forum.xda-developers.com/showthread.php?t=734886
reocej said:
You need SetCPU app to set overclock and other profiles. It is free for xda membs and a paid app in the market. My favorite app so far.
Link-->http://forum.xda-developers.com/showthread.php?t=734886
Click to expand...
Click to collapse
Oh! I though that there is some setting in linpack!
BTW Can somebody tell me why the HD2 without OC scores around 27 in Linpack and the Samsung Galaxy-S that have supposedly better CPU scores around 14 (under Froyo)???
I'd love to see these features go into a mainstream build. Especially the undervolting. It'd make it much easier for people like me..
JJbdoggg said:
p.s. you should try adding this to the 384mb ram image here: http://htcleo.noobhands.net/manusfreedom/
Click to expand...
Click to collapse
i will wait until the 384mb ram merge into the LEO kernel.
aceo07 said:
I'd love to see these features go into a mainstream build. Especially the undervolting. It'd make it much easier for people like me..
Click to expand...
Click to collapse
I have create a patch for the undervolt and overclock features. Other kernel developers/builders can just apply the patch to have the UV and OC features.
Someone please implement this with the increased ram kernel!
reocej said:
Someone please implement this with the increased ram kernel!
Click to expand...
Click to collapse
Its a kernel not a hack
@OP
Add [KERNEL] to your post title, it'd give it alot more views.
Updated my thread on battery saving and added a link and directions to using the conservative power setting enabled in your kernel. Check it out and let me know if i missed something. Maybe add it to the first post to save you some questions.
Thanks for this!
just for curiosity sake, whats the original voltage?
and how do i push the bcm module?
Any update on this kernel? Dying to see this merged with the fullram kernel!!!!
Related
Here we go guys, new version of my BFS AOSP kernel (sense to come)
Been working hard on this kernel for quite some time, and Birdman helped out drastically (even though he broke stuff )
Big thanks to: Birdman, Slayher, Captainkrtek, Imoseyon (for the 2.6.35 port), Jake Day, Pershoot, and plenty of others I can't remember right now.
KangBang 0.8
Kanged workqueue 2.6.36.1 backport from Imoseyon
Kanged 3.0rc6 cpufreq/cpuidle backport from Imoseyon
Couple other adjustments
Added new CPU governor: LagFree. This new governor is based on conservative, and tweaked to lower the cpu frequency on suspend, and keep it over a minium value
during phone operation. This governor added some nice tweaks to be added to other governors, looking in to that.
Swap cache dropped more agressively via ck1 patch
More compiler optimizations
Decrease default dirty ratio via ck3 patch
Enable swaptoken only when swap is full via ck3 patch
Wifi voltage lowered
2.6.39 Conservative governor backported
Call Recording support added
2.6.39 bcm4329 (wifi) driver backported
Mecha: Add gan sound device.
Mecha: Allow varying of button backlight levels.
Mecha: Allow disabling of the back mic.
Mecha: Add gan sound device
Mecha: wifi: Improve BT-coex in A2DP mode
KangBang 0.7:
Added SmartAss back
Ondemand and interactive have sleep profiles again
Sound fix from birdman included
SLQB Memory Allocator re-added
KangBang 0.6:
Re-based to Ace kernel source, so I lost some of my changes for now (until i'm not so lazy and fix them)
There are a LOT of changes/additions.
Theres a new RCU boost, which is proving to be nice so far.
Changed the memory allocator to SLUB until I get SLQB ported in
As of right now, theres no auto sleep profile in ondemand/interactive. Both of these governors still need adjustments.
The clock frequencies are the default CM frequencies. Their table is populated correctly, and currently, I'm adding frequencies back in one at a time to make sure it will boot. This will take a while... bare with me guys
Lowered RR_Interval to 6 to increase latency. Might drop it to 4
Neon and VFP optimizations
OnDemand governor Threshold adjustments
CONFIG_HZ=300 instead of 100
Add Tiny Preempt RCU
RCU Boost Prio set to 50, Delay set to 300 (still playing with these)
Sound tweaks credit to CodeAurora/Birdman
GPU Memory allocation raised
Numerous fixes from CM kernel source
KangBang 0.5:
Reverted the GPU/Camera memory allocation adjustment, as it screwed up the camera.
Reverted to my old config file, as the extra slim one broke certain apps
Stabilized voltages
KangBang 0.4:
Full wifi/settings/MMS/etc. fix credit to beavis9k!!
Added V/R I/O Scheduler (still using BFQ as default for now)
BT Audio volume raised (Credit to Slayher)
Prevent memory leak on hotplug (thx Pershoot)
GPU/Camera memory allocations raised
Cleaned up my defconfig even more. This kernel is tiny, tinier than ever before. The actual kernel zImage is 1.9mb as opposed to the 2.2 it was before. This will allow a performance increase, as there is less the kernel is trying to crank out.
Initial release, 0.3:
Feature packed for the first release.
2.6.35.13 (latest upstream linux kernel)
System/Data/Cache mounted EXT4
Numerous EXT4 file system tweaks
Overclock up to 1.8 Ghz
Undervolted for battery life/stability
BFS v404 (HUGE performance increase from the v3xx BFS series)
Tiny RCU
SLQB Memory Allocator
BFQ v2rc1 I/O Scheduler (much nicer than the original BFQ)
Kernel speed defaulted to 1024, stock tbolt speed
OnDemand governor backported from 2.6.39, with sleep/wake code (kanged from Imoseyon's OnDemandX, thanks Imoseyon!)
Wifi driver updated to latest AOSP driver
AOSP-style BT driver (kanged from Slayher's kernel source, thanks Slayher!)
MULTIPLE fixes pulled in from CyanogenMod MSM7x30 kernel source (time compensation, ashmem flush, wifi n support, CPU-supported unaligned access, compensation for rounding on odd-frequency clocksources, etc.)
Interactive governor with sleep/wake code (kanged from interactiveX, thanks Imoseyon!)
Numerous BFS tweaks for better performance, and better support for android.
SD Card read-ahead buffer increased
FS read-ahead buffer increased
Some other things I probably can't remember right now (I should take better notes, I'll add more as I remember)
Whew. Pretty hefty initial release.
Secondly, I comply with GPL. Here is my source code. Feel free to kang away, just credit me, at least in your source if not anywhere else
http://bit.ly/lSXnZx
Now to the goodies:
Download link:
BFS:
http://bit.ly/nHxIV1
CFS:
not yet updated
Broken list in 2nd post, To Do List with it.
For the latest news/updates, or just to show some love, follow me on twitter! @Drod2169
If you like my work, please consider helping support my red bull addiction!
http://bit.ly/k5swff
Broken:
Car dock.
To Do List:
Sense/GB Sense/AOSP specific defconfigs
Add Simple I/O scheduler. V/R is already in, just not built with the kernel.
Add extra frequencies one at a time to make sure it will boot (WIP)
Looks like I have a new kernal to try out
Do I overclock the same way I overclock on IMO
Sent from my ThunderBolt using XDA App
dc iz 2 legit said:
Looks like I have a new kernal to try out
Sent from my ThunderBolt using XDA App
Click to expand...
Click to collapse
Post back your experiences, please
It's been an openish beta on twitter for a while, but this release version has quite a few nice additions.
I will bang this kang and let you know what's goodies.
Looking forward to the sense version - unless of course the cell standby battery drain issue is no longer there on CM7 using this kernel.
Big thanks to: Birdman, Slayher, Captainkrtek, Imoseyon (for the 2.6.35 port), Jake Day, and plenty of others I can't remember right now.
Click to expand...
Click to collapse
-.- ..........
Installed came from dream kernal...so far so good has alot of overclock options I'm on stock speeds right now right of the bat I notice its charging really quickly, no apps uninstalled yet
Edit: wifi connected right away but right when I turned it of had 3g
green but no data did reboot with wifi off and fixed
Edit: battery is really good on this kernal I'm getting 10min per percentage on medium to heavy use
Sent from my ThunderBolt using XDA App
FINALLY, about dam time!!
Will report back!!
Awesome work, cant wait for a sense version!
Berzerker7 said:
-.- ..........
Click to expand...
Click to collapse
Jake's been a big help and support to me in my kernel work. He taught me a lot when I first got started, and he's been nothing short of a great guy. While you have your opinions, I will continue to respect the man. Please don't clutter the thread with this talk.
Wow man running super fast, wasn't planning on leaving stock, but this has surpassed my expectations. Thanks a lot!
Sent from my ThunderBolt using XDA App
Downloaded, will try later or tomorrow and post back.
Thanks for your hard work!
Data seems to be a little flakey. Performance is smooth, will report back on WiFi and battery life
Sent from my ThunderBolt using XDA App
Derrtydozen said:
Data seems to be a little flakey. Performance is smooth, will report back on WiFi and battery life
Sent from my ThunderBolt using XDA App
Click to expand...
Click to collapse
From what I can tell, data handoff seems to be A LOT LESS flaky than on other kernels. Battery life will the true test for me.
Unrelated but related: Anyone have LPP FC upon EVERY reboot now? Works fine after it has been restarted.
I have experienced this across kernels/voltages/governors/CPU freq.
Awesome, just loaded it up.
Preferred tweak method......CM settings, setcpu, does it have speedtweak?
Thanks!!!!
Sent from my ThunderBolt using XDA Premium App
So does wifi not work at all with this kernal?
Bimmer323 said:
Awesome, just loaded it up.
Preferred tweak method......CM settings, setcpu, does it have speedtweak?
Thanks!!!!
Sent from my ThunderBolt using XDA Premium App
Click to expand...
Click to collapse
it does not.
I run ondemand governor, at min: 230mhz, max: 1024mhz (stock settings)
iastonish said:
So does wifi not work at all with this kernal?
Click to expand...
Click to collapse
been told by numerous people it works flawlessy. if you have issues, try flashing imoseyon's fixwifi zip from his kernel thread
I stand corrected, data is working fine, WiFi is working fine, battery seems good. The true test for battery will be tomorrow for work
Sent from my ThunderBolt using XDA App
This is a minimalistic Thunderbolt kernel based on the official gingerbread kernel source, patched to 2.6.35.14, and then a bunch of lean mods added (look at feature list below).
GB SENSE DOWNLOADS:
1) lean (normal lean version), 1) 184Mhz (184Mhz can be unlocked via st - note for many people 184Mhz is unstable and cause issues, also supports outgoing call recording)
speedtweak.sh
This script will allow you to "transform" your kernel into normal, extreme, 1.92, 1.92X and battsaver versions (ie. it allows you to control speed, voltage, and slots to a certain degree). Once you run the script, everything will be self-explanatory. To run the script:
1) Open Terminal Emulator (install it from market if you don't have it).
2) Type "su" (without quotes) and hit enter.
3) Type "speedtweak.sh" (without quotes) and hit enter.
leanKernel kernel speed tweaker
------------------------------_
1) normal: undervolted, overclocked to 1.41Ghz
2) extreme: extremely undervolted, overclocked to 1.41Ghz
3) 1.92: undervolted, overclocked to 1.92Ghz
4) 1.92X: extremely undervolted, overclocked to 1.92Ghz
5) battsaver: extremely undervolted, not overclocked
6) Unlock 184Mhz
7) Lock 184Mhz
8) View current settings
Please type 1, 2, 3, 4, 5, 6, 7, or 8:
Click to expand...
Click to collapse
speedtweak.sh and SetCPU
The risk of running setcpu is that it can inadvertently override the min and the max that were set by the speedtweak script. (oh it can also override the governor setting but that's not as bad). Other than that it's pretty harmless - it can't mess with the voltage settings. So if you're going to use SetCPU, keep this in mind. One way to make this work is to use SetCPU to configure governor and min/max, and use speedtweak.sh to configure voltage settings. Or just don't use SetCPU.
FEATURES
Includes lots of goodies from kernel source (2.6.36.x & 3.x from kernel.org) newer than stock.
speedtweak.sh script to adjust clock frequencies and voltages.
SVS - manual voltage tweaking via /etc/init.d/01vdd_levels
InteractiveX and ondemandX governors! Added my own suspend code to interactive and ondemand code to make the phone lock at low clock speed when screen is off. No need for sleep setcpu profile anymore.
For 1.92Ghz builds, interactiveX and smartass governors were modified to minimize unnecessary spikes above 1.8Ghz to keep phone stable.
vm, minfree, memory, buffers readahead buffer tweaks
All unnecessary kernel components removed to make kernel lean and fast!
low # (5-10) of cpufreq slots for simple management and less governer transitions.
Undervolted for longer battery life.
SWAP and EXT4 enabled.
Filesystems mounted via EXT4, and tweaked for performance.
init.d enabled in ramdisk
TUN, CIFS, NSIO (netspector) module support
zram (from linux 3.1) module support (to enable, go into Terminal, type su, and then type "zram enable" without quotes). What is zram?
Supports Sense 3.0 as well as Sense 3.5.
TINY_PREEMPT_RCU patch.
CHANGELOGS
v4.1.3 - last version based on old kernel base.
v5.0.0 - based on official kernel source from HTC.
v5.0.1 - (minor update) scaling_available_frequencies sysfs added, netspector/nsio module updated to 2.0.
v5.1.0 - cpufreq and cpuidle updated to linux v3.2rc1, suspend support for LTE, 184mhz version supports in-call recording now (outgoing only until i have some more time to fix incoming).
DIRECTIONS
Uh.... flash the zip in clockworkmod. You may need to wipe Dalvik cache and/or delete /data/misc/dhcp, /data/misc/wifi.
Donate to your favorite charity, or donate to me.
GOVERNORS
First, my take on the governors that are out there: http://forum.xda-developers.com/showpost.php?p=13020648&postcount=617
I offer three governors: interactiveX, ondemandX, and smartass. What are they?
interactiveX - it's the interactive governor from CM, but I added suspend/wake logic so when the phone screen is off it runs at 246Mhz (but has the ability to go up to 384Mhz). Also, I modified its code some more to minimize unnecessary cpu spikes above 1.8Ghz if you happen to be running one of my 1.92 kernels. Most tbolts are unstable above 1.8Ghz, and it's the quick jump above 1.8Ghz that usually locks up the phone. It will hit 1.92Ghz only when it makes sense (ie. sustained high load). This is my favorite governor - perfect combination of speed and power efficiency.
ondemandX - ondemand governor code from latest linux source *plus* the suspend/wake logic described above, except it has the ability to ramp to 369Mhz while screen is off. No additional code was added for stabilizing above 1.8Ghz.
smartass - smartass code from erasmux, but I wasn't happy with its performance so I tuned it for quicker ramp up in speed. It has the same suspend/wake logic as ondemandX, and the same >1.8Ghz stabilizing mod as interactiveX.
Source code
https://github.com/imoseyon/leanKernel-tbolt-gingerbread/tree/gbs
I used this on ShiftS3ns3 based on 2.11 leak and it works with no need to AnyKernel. Battery charges with no issue. Flashed in recovery as is. Thanks for this I now have my governors and battery save mode back. WiFi also works with no issue. +1 and thanks again for ur hard work.
Sent from my Shift3d Thunderbolt using XDA Application
If I helped you please use Thank You button
Which of the three did you install?
Grnlantern79 said:
I used this on ShiftS3ns3 based on 2.11 leak and it works with no need to AnyKernel. Battery charges with no issue. Flashed in recovery as is. Thanks for this I now have my governors and battery save mode back. WiFi also works with no issue. +1 and thanks again for ur hard work.
Sent from my Shift3d Thunderbolt using XDA Application
If I helped you please use Thank You button
Click to expand...
Click to collapse
Congrats on a complete masterpiece! This is the most lag-free kernel I've ever used on the Gingeritis ROM. I'm running it with the smartass gov clocked down to 184MHz, with a max of 1.4GHz. I adjusted the smartass to be a little more conservative and it's still extremely responsive. Max_cpu_load is 50, min_cpu_load is 35, and up_min_freq is 550000. It doesn't ramp up as fast, or to as high a clock freq, but it's just as responsive and snappy. Totally love this kernel! Keep of the excellent work, my friend!
Lean test
Sent from my Shift3d Thunderbolt using XDA Application
If I helped you please use Thank You button
I'm curious on how to enable TUN support in this kernel, my Cisco AnyConnect client requires it.
Speedtweak.sh isn't working for me on this kernel or might be ROM or superuser issue?
Sent from my ADR6400L using xda premium
I had issues with the previous version allowing me to run speedtweak.sh, but this one works fine. I was/am on Bamf 2.4.1 side project. What I did to get this one to work was uninstall Rom Manager, Reinstall it, then Reinstall Clockwork Mod through RM. Worked like a charm after that.
radiantx said:
I'm curious on how to enable TUN support in this kernel, my Cisco AnyConnect client requires it.
Click to expand...
Click to collapse
My kernel does not load the module automatically. You need to run this command as root:
insmod /system/modules/tun.ko
You can ask your rom dev to add support for it too..
sent from my phone
Imoseyon said:
My kernel does not load the module automatically. You need to run this command as root:
insmod /system/modules/tun.ko
You can ask your rom dev to add support for it too..
sent from my phone
Click to expand...
Click to collapse
Doesn't look like BAMF does as I am trying out one of the newer versions of their roms too.
Thanks for info though and the updated kernel.
Sent from my ADR6400L using xda premium
Works for me are you pressing
Su
Speedtweak.sh
00negative said:
Speedtweak.sh isn't working for me on this kernel or might be ROM or superuser issue?
Sent from my ADR6400L using xda premium
Click to expand...
Click to collapse
Sent from my Shift3d Thunderbolt using XDA Application
If I helped you please use Thank You button
Grnlantern79 said:
Works for me are you pressing
Su
Speedtweak.sh
Sent from my Shift3d Thunderbolt using XDA Application
If I helped you please use Thank You button
Click to expand...
Click to collapse
Imo answered it above or on previous page.
Sent from my ADR6400L using xda premium
g-sensor driver fixed in 3.7.1
Imoseyon said:
g-sensor driver fixed in 3.7.1
Click to expand...
Click to collapse
What was wrong with sensor I didn't have an issue with it, explain so i can test.
Sent from my Shift3d Thunderbolt using XDA Application
If I helped you please use Thank You button
Grnlantern79 said:
What was wrong with sensor I didn't have an issue with it, explain so i can test.
Sent from my Shift3d Thunderbolt using XDA Application
If I helped you please use Thank You button
Click to expand...
Click to collapse
Actually sensor was fine it was user calibration that was broke.
sent from my phone
Everything works great, thanks man!
Update: Had a couple of reboots, mostly on the charger though. Next time I have one I will grab a dmesg for ya.
i am somewhat having issues with speedtweak... i adjust the my settings but i'm always getting lines not found in the /sbin/speedtweak.sh
Update I'm also having overheating problems on 4g
Sent from my ADR6400L using Tapatalk
CZ Eddie said:
Any chance this kernel could be ported to the AT&T SIII?
Click to expand...
Click to collapse
Romanbb said:
I will try and remember do it tonight. Shouldn't be hard
Click to expand...
Click to collapse
Please click this link to go give Romanbb some thanks!
http://forum.xda-developers.com/showthread.php?t=1741684
T-Mobile kernel. ***********DO NOT FLASH ON YOUR ATT, SPRINT OR VERIZON PHONE***********
Romanbb said:
Heyo
I've compiled a *very* simple kernel for our phones just to play with
001
- O/C to 1.8ghz by default
- insecure
002
- should boot up to 1.5 by default (read more on this below the log)
- raised max clock to 1.89GHz
- lowered voltage on a many frequencies
- added init.d support (busybox needs to be installed to /system/xbin!)
Also I'd suggest having your OC app (like SetCPU) go ahead and set your clock at whatever you want your max to be. thermald (a service which watches your phones temp and lowers it if it gets too hot) seems to be messing with the clocks until you set one after it's all booted. So if you don't want to OC, just set it to 1512000 in the app and click "Set on boot" option or whatever it may be.
================================================================
More to come as I play with it. Seems pretty stable (and warm!) at 1.8 ghz.
Thanks to faux123 & mdeejay for helping me out with a few things
Flash at your own risk. Make sure you have a NANDROID backup. Flashing the stock kernel via ODIN may not be enough to restore your device. You've been warned
Click to expand...
Click to collapse
This is exciting. An overclocked kernal and some uv/uc is what will make this great device amazing
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
I don't really care for OC, since 1.5GHZ is SO MUCH POWER.
But I would love to be able to undervolt it to save some battery power throughout the day.
basicly you don't need to build your own gov inside your kernel unless you want to modify the script. savie have make it for us. its save, quick, and easy for anyone. btw, the list is on repencis and savies kernel.
kurotsugi said:
basicly you don't need to build your own gov inside your kernel unless you want to modify the script. savie have make it for us. its save, quick, and easy for anyone. btw, the list is on repencis and savies kernel.
Click to expand...
Click to collapse
Thanks.. hotplug works on our phone!!??
Sent from my GT-S5360 using XDA
thats depend on the source. some govs like sakuractive basicly only work on cpu with hotplug feature. some other govs like lulzactive won't work without proper modification. you don't know untill you tried. btw, some tips. you don't need to copy the files then edit your kconfig and makefile anytime. in kconfig, set the gov name "gov1, gov2, gov3, etc". you'll also have to rename the source to cpufreq_gov1.c, cpufreq_gov2.c etc. do the same thing in makefile. when you want to test a source code, you'll only need to replace the script inside cpufreq_gov1.c (and friends) with the scritpt from the gov you want to test. in this way, you don't need to edit kconfig and makefile anytime you want to test a gov. when you've finished, you can edit the gov description on kconfig.
So far 22gov.. Not try from ur info kuro-kun..
savie said:
So far 22gov.. Not try from ur info kuro-kun..
Click to expand...
Click to collapse
22 gov but only a few useful
BTW Savie Rev 65 is so far so good:good:
@savie: only wheatley works on that github. sakuractive doesn't work. i've found some another "alien" govs but I'm just too lazy to test them. we only have 4 freq (3 really working) so no matter govs we us it won't show a significance performance differences.
Till now I have loaded 11 kernel in my kernel... I am free for testing any governor.
Sent from my GT-S5360 using XDA
kurotsugi said:
@savie: only wheatley works on that github. sakuractive doesn't work. i've found some another "alien" govs but I'm just too lazy to test them. we only have 4 freq (3 really working) so no matter govs we us it won't show a significance performance differences.
Click to expand...
Click to collapse
Dont know since when 468 working on 2freq 312-468 use interactive governor modified by irfan.. but i see when use that freq more than 30minuit.. at begining only show 468..
savie said:
Dont know since when 468 working on 2freq 312-468 use interactive governor modified by irfan.. but i see when use that freq more than 30minuit.. at begining only show 468..
Click to expand...
Click to collapse
i wish we know what is the 2/4 value so we can have 4 working freq....
our kernel partition size is limited. 11 is too much since basicly we only need three govs. 1 batt saving, 1 balanced, and 1 for performance stuff. we'd better to make use the space for different stuff like the driver or stuffs. I've found that our device is actually support v3d sync and framebuffer for better graphic quality. however, our kernel source is incomplete thus we can't use them properly (framebuffer is working but make the UI a lil bit slower-v3d sync couldn't compiled). we also have multimedia support for better video encode-decode and better sound quality. some of the wifi stuff isn't working but se still can use VLAN driver on it. the good news, all of them is working. you'll only need to add them to your kernel. the bad news, it takes more spaces. 1. it will be a burden for the ram if its too big. 2. we need more spacious room if we want to put cwm. thus, we must be wise with our kernel. for the additional govs I prefer to use modules since its is a good idea to make it easier and could give me more spaces.
kurotsugi said:
our kernel partition size is limited. 11 is too much since basicly we only need three govs. 1 batt saving, 1 balanced, and 1 for performance stuff. we'd better to make use the space for different stuff like the driver or stuffs. I've found that our device is actually support v3d sync and framebuffer for better graphic quality. however, our kernel source is incomplete thus we can't use them properly (framebuffer is working but make the UI a lil bit slower-v3d sync couldn't compiled). we also have multimedia support for better video encode-decode and better sound quality. some of the wifi stuff isn't working but se still can use VLAN driver on it. the good news, all of them is working. you'll only need to add them to your kernel. the bad news, it takes more spaces. 1. it will be a burden for the ram if its too big. 2. we need more spacious room if we want to put cwm. thus, we must be wise with our kernel. for the additional govs I prefer to use modules since its is a good idea to make it easier and could give me more spaces.
Click to expand...
Click to collapse
Where can I get modules of governor from??
Sent from my GT-S5360 using XDA
savie's thread. about gov and iosched modules
what about LionHeart?? How is it?
iPanther said:
what about LionHeart?? How is it?
Click to expand...
Click to collapse
Read this to clarify your doubts on governoers,ios and schedulers.
Finally after someone pm'd me I looked back into GPU Overclocking.
New thread created issues with old thread OP permissions (people seem to be asking the same questions over and over again all information will be kept in OP & DO READ THE THREAD, repetitive questions will now be ignored)
Benefits:
Smoother UI
Handle 2d & 3d core GPU intensive applications & games
Currently only 2D core has been overclocked working on 3D core OC
2D-core original value - 192mhz OC to 245mhz DONE achieved 25% performance boost grp_2d_clk outputs 245760000hz
3D-core original value - 245mhz OC to 300+mhz WIP hoping to achieve 40-50% performance boost
2D-core OC only Download: Coming soon...
Download Links for other devices coming soon...
Works for all HTC Sense/Cm9/Cm10 kernels (Just ask a kernel developer for your device to implement the source code)
Note: Don't have internet on PC so providing 3 main files that need replaced for 2D-core OC to work
Download link to source code: http://d-h.st/wbH
3D-CORE OC TESTS Download: Coming soon...
Do check under sys/kernel/debug/htc_clock/clks/ look for file with all clocks & look for GRP_clks (Graphics clock)
OK so basically today I've been thinking and I've come to the conclusion that I will release the 2D-core OC patch As Soon As Possible, 3D-core Core OC is NOT Impossible but for now I'll give it a break, I will attempt 3D-core OC If/When I can get a hold of a msm7x30/msm8x55 device, as it will make it much easier for both me & users.
So for now you can enjoy the 50mhz increase/bump up, perf boost 25% in 2D-core (will increase performance in both 2D/3D intensive appications as 2D-core is used for 3D AFAIK and increase User Interface performance (Note: This will not take a hit on battery life)), I will also release a couple of fixes on patchas kernel that shouldnt be there/set etc.
(Theres a device available in my area for roughly £90, if anyone wants to contribute towards getting that device or can donate a device , more than welcome and shoot me a PM so I can list you here.)
(This isnt a promise of 3D-Overclock if you donate, if you donate please do so expecting nothing I will only attempt 3D-overclock)
Working device list - all kernel 3.0+ msm7x30/msm8x55 soc devices.
Main thread is in Desire HD Android Development section: http://forum.xda-developers.com/show....php?t=2368497
Thanks for your efforts.
I'm trying to follow the link to your Desire thread and it seems it's broken.
Nevermind, found it: LINK
I think a kernel dev from the droid incredible 2 has a 3d gpu overclock in a kernel but I didn't use it in mine because I worry about the heat output being overclocked combined with that.
Sent from my ADR6400L using Tapatalk 2
disconnecktie said:
I think a kernel dev from the droid incredible 2 has a 3d gpu overclock in a kernel but I didn't use it in mine because I worry about the heat output being overclocked combined with that.
Sent from my ADR6400L using Tapatalk 2
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2372291
you must be referring to this...
Someone already showed me the commits
no one has managed gpu overclocking at all on any msm7x30/msm8x55 platform/soc devices
I saw it someone's git when I was building my kernel. I couldn't find useful posts about kernel stuff so I just looked for git accounts that were from similar devices.
Sent from my ADR6400L using Tapatalk 2
Probably Kangaroo Kernel based off of Beast Mode.
Oh ya that's the one. Been a while since i looked.
Sent from my ADR6400L using Tapatalk 2
Shaky156 said:
OK so basically today I've been thinking and I've come to the conclusion that I will release the 2D-core OC patch As Soon As Possible, 3D-core Core OC is NOT Impossible but for now I'll give it a break, I will attempt 3D-core OC If/When I can get a hold of a msm7x30/msm8x55 device, as it will make it much easier for both me & users.
So for now you can enjoy the 50mhz increase/bump up, perf boost 25% in 2D-core (will increase performance in both 2D/3D intensive appications as 2D-core is used for 3D AFAIK and increase User Interface performance (Note: This will not take a hit on battery life)), I will also release a couple of fixes on patchas kernel that shouldnt be there/set etc.
(Theres a device available in my area for roughly £90, if anyone wants to contribute towards getting that device or can donate a device , more than welcome and shoot me a PM so I can list you here.)
(This isnt a promise of 3D-Overclock if you donate, if you donate please do so expecting nothing I will only attempt 3D-overclock)
Working device list - all kernel 3.0+ msm7x30/msm8x55 soc devices.
Main thread is in Desire HD Android Development section: http://forum.xda-developers.com/show....php?t=2368497
Click to expand...
Click to collapse
I have an Inc2 id be willing to test on if you'd like...
Sent from my Maserati using XDA Premium
Everyone has been modifying the kernel graphics software layer platform data with values that dont make sense and are impossible more above with values that dont exist within thw graphics table anywayx
3d oc is abit more difficult
Devs + testers join IRC will make life easier
Irc freenode #s1gpuoc
I wouldn't recommend replacing those files in any current kernel directly. Since there is no github to see what the actual changes are isolated from the file, it's hard to say if all the changes made are compatible. Some of them were unnecessary, and simply added credits to a line that was unchanged (most likely because it has been updated since the original writing of the files).
https://github.com/StarKissed/stark...mmit/dc381024f122a114b770076e2992cd5097f5c47c <- The specific changes required
twistedumbrella said:
Does this include a sysfs interface to throttle the overclock?
https://github.com/StarKissed/stark...mmit/618b9e076f7b2c0a8f9f0c5733f61d4ef27261c0
Click to expand...
Click to collapse
There isnt any need for a sys fs at the moment due to the way qualcomm have made their msm7x30
Shaky156 said:
There isnt any need for a sys fs at the moment due to the way qualcomm have made their msm7x30
Click to expand...
Click to collapse
Any time values that aren't stock are being forced, it's good to have the option to turn it off but in this case it's only forcing stock values to persist so it doesn't really matter.
Sent from my Galaxy Nexus using Tapatalk 2
Okay after looking @ GPU Overclock for 2 weeks, This is the news on GPU OC for MSM8x55/MSM7x30 socs.
My findings...
2D-core OC from 192mhz to 245mhz successful.
3D-core OC will not happen without me obtaining the datasheet (which is proprietary)
The clocks are protected, via Ownership/Permissions, and maybe an RCU/MPU
No Overclocking the CPU does NOT Overclock the GPU, thats the worst thing I've heard in my life lol.
The lowest the GPU can hit is 192mhz or lpxo freq
Bus is not overclockable, it always is 192mhz
EBI_2D_clk will and has always been 0mhz
Modifying kgsl platform data and/or the graphics table with random values or even calculated values from correct pll freqs will NOT OC the gpu
it's ashame the GPU clocks are protected.
IF anyone is looking to continuing this project and is on the right track you're more than welcome to get in contact with me, especially if you have the msm7x30 datasheet.
The QSD8x50 soc is more open than this soc, so I'm doing a few tests on the HD2