[Kernel]HTC GB[2.6.35.13](v0.0.9)OC~2.03GHz/UV/BFS/BFQ/SLQB/SmartAss/MinMax[Jul-13]

faux123

Senior Member
Dec 16, 2010
8,536
34,426
113
West Los Angeles
www.canonspike.com
NOTICE: This is ONLY COMPATIBLE with New HTC Gingerbread Sense Leaks!!!!
(Including: Orange Glacier 2.0, Royal Panache, Evil Dee's MyTGB, Virtuous Fusion, Elite Sense, Uber Sense, Deck Sense, ALL of Rafy's GB Sense Ports :D )

Just a statement regarding kernel source: The Kernel Source is of course covered under GPL version 2. Free software does NOT mean no work or time was spent working on it. I have donated a large sum of my free time to hack this kernel. If you use my modified kernel source in its entirety, I kindly ask you to send me a github pull request or PM whenever you find bugs or think you can help improve my kernel hack further. This way the entire community will truly benefit from the spirit of open source. Thank you :cool:



All GB CM7/AOSP ROMs should use my GB CM7 / AOSP Kernel
All Froyo AOSP ROMs should use my Froyo AOSP Kernel
All Froyo Sense ROMs should use my Froyo Sense Kernel


Hi XDA members and fellow MT4G users:

This is my Fifth kernel hack. I want to thank Cyanogen, Zinx, Erasmux, and several others I cannot recall for inspiring me to venture into this unfamiliar territory for me.

What is a Kernel? The Kernel is the Foundation in which everything else builds upon in any software system.
[Car Analogy]: Kernel is like the Engine, Electrical system and the Transmission to a car. The Library, Framework and the Apps [AKA ROM] are the body frame and the rest of the Car.




THIS KERNEL is BASED ON HTC Source Code. So it is COMPATIBLE ONLY WITH HTC Gingerbread Sense Builds.

Please DO NOT use any task killers, they DO NOT improve performance nor battery life. They INTERFERE with your phone's stability (more crashes) and App compatibilities (Forced Close).


MinMax Governor (Battery Saver)

This governor will try to minimize the frequency jumps/changes which cause voltage spikes/changes which supposedly drains more battery life... Supposedly designed to work with SetCPU... so give it a whirl...

SmartAss Governor (Balanced)

This governor has a built-in "profile" similar to SetCPU, so screen off will use lower clock rate thus conserve more battery, but it also has a fast wake up feature so that user interaction will not see the lag when switching from Sleep to Wake state.... (So SetCPU Profiles are sorta redundant when using this governor, you can still use SetCPU to OC to higher than default Clock frequency).

Interactive Governor (Performance)

This governor is designed to put more priority to User Interface (UI aka Apps) tasks, therefore appears more responsive then the traditional OnDemand governor. So if you want the smoothest UI interaction, this governor is for you...

Brain F*ck Scheduler - (BFS)

This scheduler is designed to be simple and speedy tailor specifically for user interface type systems such as desktop/smart phone devices where user interaction is MORE important than serving 1 million web requests (CFS, the default scheduler) at the same time (think of nimble desktop workstations vs large corporate servers).

SLQB - (SLAB allocator with Queue)

This memory allocator is designed for small number of CPUs system (such as desktop or smart phone devices). This allocator is design to be simple and it is optimized for using order-0 pages as much as possible (order-0 pages are the simplest therefore quickest type of memory in a Linux system to allocate). Not all kernels are using SLQB including CM7 main line...

Fair Budget Queue (BFQ I/O scheduler)

This I/O scheduler is an improvement on top of Completely Fair Queue (CFQ). CFQ is fair in terms of time but not in terms of throughput / bandwidth, so BFQ make sure that both time and throughput / bandwidth are balanced across all requests.

Installation Instructions:

Here's a step by step instruction to install this kernel:

( NOTE: If you experienced BOOT LOOPS, Load the First Time Kernel Before Updating to newer kernels)
The File ==> First Time Kernel <==

[ CFS-Smartass ] (Mainline)
The File ==> HTC GB Sense Kernel 0.0.9 CFS Low Voltage <==
The File ==> HTC GB Sense Kernel 0.0.9 CFS Stock Voltage <==

[ BFS-Interactive ] (Enthusiast Edition)
The File ==> Not Available <==
The File ==> Not Available <==


Low Voltage - Under Volt the processor, therefore uses Less Battery, but NOT ALL CHIPS can handle Under Volt.. If you experience instability, try the Stock Voltage Version.

Stock Voltage - Uses the voltage values from ORIGINAL HTC Kernel Source.

There are NO PERFORMANCE DIFFERENCE between the 2 versions!


1. download the above file (via phone directly or to a PC)
2. copy the downloaded zip file to /sdcard/download/
3. Open ROM Manager and select "Reboot into Recovery" and select "OK"
4. Once in recovery, select "wipe cache partition", select "Yes", then select "advanced", then select "Wipe Dalvik Cache", then select "Yes" again. Once finished, click the back button to go back to the main recovery menu. On that menu, select "Install Zip From SDCad", then select "Choose zip from SDCard", then go to /sdcard/download and select the downloaded zip file and let it run its script.
5. Once the script is done, select "reboot system now"

Note: After FLASHING, the first reboot may take longer than usual, please be patient... After the first reboot, it may lag during initial load (let everything finish loading). Once everything is loaded and phone is ready for use, reboot the phone a 2nd time and the lag will be gone and everything should be silky smooth...


NEWS BULLETIN:

Version 0.0.9 is OUT!
1. Fixed MMS while on WiFi calling
2. Adjusted Frequency/Voltage table to allow upto 2.03 GHz
3. Volume Boost for Speakerphone, Handset and Bluetooth

BFS is not very compatible with Sense.... I am dropping BFS unless huge user demand for it..


Please don't hesitate to talk among yourselves and help each other out... The MT4G/XDA community is what inspired me to hack kernels for everyone since everyone here is nice and helpful to each other... Keep helping each other.... Famous proverb: It's better to give than to receive...

BUGS:


Not All CHIPS ARE CREATED EQUAL


TO DO:

version 1.x.x -- Haven't thought about it yet...

History:

See Post below...

Standard Disclaimer: Not responsible for bricking your phone, voiding your warranty, or any other pain or suffering you may feel as result of using this kernel!!!

My Github Complying with GPL :D

Follow me on :

If you find this Kernel useful, feel free to hit the [Thanks] button below
 
Last edited:

faux123

Senior Member
Dec 16, 2010
8,536
34,426
113
West Los Angeles
www.canonspike.com
Version History

Version 0.0.1

- Based on 100% HTC source code!
- Initial release OC~1.84 GHz
- Under Volt
- BFS Like Tweak to CFS
- EXT 4 Support, CIFS support, NLS Support
- Kineto_gan Support (WiFi Calling)
- CFQ I/O Scheduler default

Version 0.0.2

- CPU Min/Max Frequency Enabled
- 245~1113 Default :D (For those with Weak CPUs :p)

Version 0.0.3 (deprecated)

- SmartAss, MinMax, and Interactive Governors Added
- SmartAss Governor Set as Default for CFS

Version 0.0.4 (deprecated)

- TUN VPN support added
- SLQB memory allocator added and made default
- BFQ I/O scheduler added and made default
- Compiler optimization for NEON, ARM, etc...

Version 0.0.5 (deprecated)

- Upgraded BFQ I/O scheduler to version 2.1
- Enabled BFQ CGroup
- Upgraded to new Interactive Governor
- Fixed Freq table error for Stock voltage version
- Fixed minor overclocking bugs

Version 0.0.6 (deprecated)

- Disabled BFQ CGroup

Version 0.0.7 (Short Term Release)

The File ==> HTC GB Sense Kernel 0.0.7 CFS Low Voltage #16 <==
The File ==> HTC GB Sense Kernel 0.0.7 CFS Stock Voltage #17 <==

- Revert to OLD BFQ I/O scheduler (it appears that the new one is NOT compatible with Sense)

Version 0.0.8 (Short Term Release)

The File ==> HTC GB Sense Kernel 0.0.8 BFS Low Voltage <==
The File ==> HTC GB Sense Kernel 0.0.8 BFS Stock Voltage <==

- Patched core kernel from 2.6.35.10 to 2.6.35.13
- Added BFS version 4.0.4 :D

Version 0.0.9 (Current)

Fixed MMS while on WiFi calling
Adjusted Frequency/Voltage table to allow upto 2.03 GHz
Volume Boost for Speakerphone, Handset and Bluetooth
 
Last edited:

Tweezydak1d

Senior Member
May 6, 2009
642
86
0
Sacramento, CA
Hey faux I just wanna say thanks for not bailing on us dude....im sure I speak for the whole mt4g community when I say thank you and we appreciate everything that uve done for us and will hopfully do for us in the future... Thanks dude!

Sent from my HTC Glacier using XDA Premium App
 
  • Like
Reactions: skuubage

Lakeshow423

Senior Member
Nov 14, 2010
2,383
275
0
SoCal
Got a question faux...my wifi has been dropping in and out like a ***** with any of these new GB sense Roms. Will your kernel help with this problem? I tried stock and the newest radio and it happens on both. Can your kernel help this problem or is it not based on a kernel update. THANKS! l Appreciate it brotha!
 
Last edited:
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone