Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
x99percent
Old
(Last edited by x99percent; 30th October 2011 at 09:44 PM.) Reason: new versions
#1  
Senior Member - OP
Thanks Meter 112
Posts: 352
Join Date: Dec 2007
Location: Detroit

 
DONATE TO ME
Default [KERNEL] 2011-10-30 - x99kernel OC/UC/UV 1.2/1.8GHz smartass - Sense & CM7/AOSP

First things first...
MAKE A NANDROID BACKUP.

I take NO responsibility for ANYTHING that goes wrong with your phone, life, job, home, car, sex life, dog, cat, turtle, pet rock, etc. as a direct or indirect result of your use of this kernel.




Features of kernel for Sense ROMs:
  • Based on HTC source code - this should work on any stock-ish ROM


Features of kernel for CM7 ROMs:
  • Based on Toast's fork of the Cyanogenmod kernel


Common features:
  • BFQ I/O scheduler
  • Smartass governor
  • Undervolted (battery savings)
  • Overclocked - up to 1.8GHz (WHY?!? lol)
  • Underclocked - down to 184Mhz (battery savings)
  • By default, the kernel will clock up to 1.2GHz with the smartass governor. I personally just flash the kernel and run it as-is. If you want something different, use an overclock utility like "No-frills CPU Control". Be aware that some of these utilities run background processes and SUCK battery life.


Troubleshooting:

ON CM7.0.2
You will need to flash the kernel *AFTER* booting up the ROM for the first time. If you do a clean install of CM7.0.2 + the x99kernel, turning on wifi may make your phone go into a "boot loop" (restarting the shell, over and over).

If you're stuck in a boot loop, go into recovery (yank battery then vol down + power OR "adb reboot recovery"), flash the 7.0.2 file again, let it boot, make sure Wifi works, then go back into recovery and flash the x99kernel.

If anyone has further input on this, I'm all ears.


My phone is locking up!
Try a slower clock speed and/or a different governor. I have run this kernel reliably at 1.55GHz for a long time, but different phones can have different results. I have personally experienced lock-ups at high speeds with the interactive governor. Again, I have been running this kernel "as-is" without making any clock/governor changes... IMO, 1.2GHz is plenty fast for day-to-day use.

My phone is running hot and/or the battery is draining quickly!
Most likely, you're running the CPU at a HIGH speed and/or there are some over-active processes.

I suggest downloading OSMonitor from the market to see what processes are active. In the options, you can choose to sort the process list by CPU Load and also check the "Order" box to have the active processes shown at the top of the list. The "Misc" tab will show the current clock speed and phone temperature... you can also use it to change the speed or governor if you'd like.

"adb logcat" can reveal a LOT about what your phone is doing in the background.




Credit:
bcnice20 - I followed a lot of what he was doing with his own kernel, but removed bits that didn't seem to work right for me.
toast - CM7 kernel is forked from his github
cloverdale - Proper root in Sense kernel



Old, out-of-date changelog:
  • 20110414
    • Step up to 2.6.32.36 from 2.6.32.33 in CM7 kernel
  • 20110411
    • camera fix for bcnice20's Desire ROM in Sense kernel
  • 20110408
    • Proper root in sense kernel
  • 20110404
    • Added BFQ I/O scheduler
    • Misc compiler tweaks
    • Added version for CM7
  • 20110323
    • Lowered voltage on 184MHz and 245MHz speeds
  • 20110322
    • Re-tweaked the smartass governor (see current strategy below)
    • Slightly increased voltages for CPU speeds between 768MHz and 1.55GHz (may help some people with lock-ups)
    • Added an additional low speed... 184Mhz (power savings?)
  • 20110321
    • Tweaked the smartass governor
    • Added the interactive governor
  • 20110318
    • Added two additional clock speeds between 768MHz and 368MHz. By default, the smartass governor can't make the "jump" down from 768MHz to 368MHz, because the step is too large.
    • Added conservative governor (untested, but should be OK).


Current smartass strategy:
  • Max sleep speed is 245MHz
  • CPU load under 35% = step down. Can step down as much as is determined to be OK at once.
  • CPU load over 70% = step up. Will make steps upward of as much as 384MHz at a time.
  • If CPU is at 100%, jump up to at least 1.1GHz.




Current versions:

Download x99kernel-GBSense-20111030 #1 FOR GINGERBREAD SENSE ROMs, NOT FROYO. No smartass governor yet. Uses improved flashing script.
md5sum: 1973b881d09796f16c2ab7a485c1b6df

Download x99kernel-cm7-20111003 #5(?) This is a 2.6.35 kernel! Slightly incomplete... no underclocking yet. Improved flashing script to avoid missing module files (fix WiFi errors). Max smartass sleep speed is 368Mhz.`
md5sum: a215897e48f26a1d03510f5e632f59bb

Download x99kernel-cm7-20110530 Still #2 This is a 2.6.32 kernel! For CM 7.0.3.1, CM7 nightly #87, or earlier.
md5sum: 9569a39d5746756b9f6a3a5bfcc63a9b

Download x99kernel-sense-20110411 #8 FOR FROYO SENSE ROMs, NOT GINGERBREAD.
md5sum: 2e94b170f3976cdc44dcecbfb21f9157


Old versions:
Download x99kernel-cm7-20110615 #4 This is a 2.6.35 kernel! Slightly incomplete... no underclocking yet.
md5sum: 1318f22887322cefca3ebafd44043bb6
Download x99kernel-cm7-20110611 #3 This is a 2.6.35 kernel! Slightly incomplete... no undervolting or underclocking yet.
md5sum: 3d36a18e7590dd29689d216028452137
Download x99kernel-cm7-20110414 #2
Download x99kernel-sense-20110408 Still #7
Download x99kernel-cm7-20110404 #1
Download x99kernel-sense-20110404 #7
Download x99kernel-20110323 for Sense #6
Download x99kernel-20110322 for Sense #5
Download x99kernel-20110321 for Sense #4
Download x99kernel-20110318 for Sense
Download x99kernel-20110317 for Sense



GPL Source
Can you people *please* stop posting irrelevant comments that contribute nothing to the topic? That's how we get threads with a zillion posts that no one wants to read through, and then people get all offended when someone asks a question that was already answered "8 pages back"...
The Following 12 Users Say Thank You to x99percent For This Useful Post: [ Click to Expand ]
 
DWake014
Old
#2  
Senior Member
Thanks Meter 16
Posts: 377
Join Date: Mar 2010
So 4g, gps, and all those other bugs are worked out on this kernel? And can i apply this over nfx stock rom?

Sent from my PG06100 using XDA App
MoPho
 
mcarrion78
Old
#3  
mcarrion78's Avatar
Senior Member
Thanks Meter 23
Posts: 302
Join Date: Jun 2010
Location: Fayetteville NC
Nice job on the kernel. Been running it for bout two hours clocked to 1.8ghz on performance in setcpu. Temp hasn't reached over 80. Hitting steadu 2400 in quadrant.

Sent from my fast as **** Evo Shift 4G using Tapatalk
 
e240
Old
#4  
Senior Member
Thanks Meter 14
Posts: 272
Join Date: Feb 2011
so which one would u guys recommend? this or bcnices1.8 kernel? what are the differences
 
JKILO
Old
#5  
JKILO's Avatar
Senior Member
Thanks Meter 158
Posts: 658
Join Date: Feb 2011
Location: Columbus

 
DONATE TO ME
Quote:
Originally Posted by x99percent View Post

MAKE A NANDROID BACKUP FIRST.

I take NO responsibility for ANYTHING that goes wrong with your phone, life, job, home, car, sex life, dog, cat, turtle, pet rock, etc. as a direct or indirect result of your use of this kernel.


My sex life instantly was overclocked!

Sent from HTC Knight using Mikrom..because CM7 got overrated like CWM


TEAM MiK
Since FEB 2011

 
alher591
Old
#6  
alher591's Avatar
Senior Member
Thanks Meter 7
Posts: 265
Join Date: Sep 2009
Location: Texas
Lol

Sent from my Htc Evo Shift 4G
Fully Rooted HTC Evo Shift 4G
 
JKILO
Old
#7  
JKILO's Avatar
Senior Member
Thanks Meter 158
Posts: 658
Join Date: Feb 2011
Location: Columbus

 
DONATE TO ME
K running this now and hitting 53 linpack score 1.8 perf..pretty nice so far

Sent from HTC Knight using MikShift..because CM7 got overrated like CWM


TEAM MiK
Since FEB 2011

 
x99percent
Old
#8  
Senior Member - OP
Thanks Meter 112
Posts: 352
Join Date: Dec 2007
Location: Detroit

 
DONATE TO ME
Quote:
Originally Posted by DWake014 View Post
So 4g, gps, and all those other bugs are worked out on this kernel? And can i apply this over nfx stock rom?
There *shouldn't* be any issues with 4G or GPS, since this is based on the original HTC source code. I have used it successfully over NFX's ROMs before... I think I'm running one of his now.

I have edited the orignal post to be a little more clear.
Can you people *please* stop posting irrelevant comments that contribute nothing to the topic? That's how we get threads with a zillion posts that no one wants to read through, and then people get all offended when someone asks a question that was already answered "8 pages back"...
 
abanh
Old
#9  
Senior Member
Thanks Meter 7
Posts: 193
Join Date: Jun 2010
Just a heads up - the smartass governor doesn't scale below 768 mhz. I believe bcnice mentioned he had the same issue on his kernel.

Sent from my PG06100 using XDA App
 
adamr240
Old
#10  
Senior Member
Thanks Meter 2
Posts: 150
Join Date: Nov 2010
so this kernel seems to have solved my issue with loading pages in the browser locking up the phone. Nice.
Is there anyway you can add the wired tether patch so I can just use that? I'm not to keen on switching roms and having to start over.

EVO Shift and XDA app

 
Post Reply+
Tags
evo shift, kernel, overclock, x99kernel
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...