• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[KERNEL][CM7][BATTFIX] hrkfdn kernel - 1.2Ghz OC [b66#03/14/11][UC/UV][BFQ][SLQB]

Search This thread

hrkfdn

Retired Recognized Developer
Dec 3, 2010
181
183
To make the battery drain fix work, either run Google Voice Search once (or anything else that uses the microphone) or use a ROM that has the FM-Radio disabled (for instance phunkycow's PNK builds). This is due to a bug in the FM-Radio code preventing the kernel from powering down the AIC3254.

This kernel is based on the HTC source and features several performance patches and driver updates. It has been tested with CM7 and works flawlessly and very smoothly. Feedback is warmly welcome!

The latest update introduces CM7 support for the HTC Inspire 4G and should fix proximity sensor issues!

Code:
####################################################
    _    ____ _____     _  _      ____ _  ______  
   / \  / ___| ____|  _| || |_   / ___| |/ /___ \ 
  / _ \| |   |  _|   |_  ..  _| | |   | ' /  __) |
 / ___ \ |___| |___  |_      _| | |___| . \ / __/ 
/_/   \_\____|_____|   |_||_|    \____|_|\_\_____|
                                                  
 ____  _____ ___      _  _     _____ _   _ _   _ 
| __ )|  ___/ _ \   _| || |_  |_   _| | | | \ | |
|  _ \| |_ | | | | |_  ..  _|   | | | | | |  \| |
| |_) |  _|| |_| | |_      _|   | | | |_| | |\  |
|____/|_|   \__\_\   |_||_|     |_|  \___/|_| \_|
                                                 
			- hrkfdn @ 50hz.ws
			- 2.6.32.21-ck2-hrkfdn #66
####################################################

HTC Ace Linux Kernel v2.6.32.21 recompilation
with the following changes/patches:

- Merge CK2 patchset by ckolivas
- Merge BFQ IO scheduler
- Merge SLQB allocator
- Enable EXT4
- Enable TUN
- Use bcm4329 from official Android tree
- Undervolt CPU for the lower frequencies
- Overclock CPU
- Interactive governor

####################################################

NOTE:

This kernel has been tested with CM7. It may or may
not work with other frameworks.

I am NOT RESPONSIBLE for any damages, malfunctions,
whatsoever.

Source is available at: 
	https://github.com/hrkfdn/linux-htc-ace

####################################################

HOWTO INSTALL IT:
Flash ZIP with CWM.

####################################################

Changelog:
Code:
BUILD 66:
- Disable BFS
- Power down AIC3254 after usage (battery drain fix)
- Remove 122MHz
- Reset OC back to 1.2GHz
- bcm4329 updates

BUILD 59:
- Compress with LZMA (reduce filesize)
- Add OC to 1.5GHz
- Apply HTC Inspire 4G patches
- Move to CWM-flashable ZIPs

BUILD 56:
- Apply QMR update from HTC including updates and fixes for:
  - The sound driver
  [B]- Proximity sensor (most likely to fix the prox. sensor problem)[/B]
  - Display panel
    .. and other stuff
- Fix Atmel touchscreen build
[B]- Inspire 4G support[/B]

BUILD 41:
- Fix battery charging delays
- Update WiFi driver to 4.218.248-23

BUILD 38:
- Readd 122MHz @ 850mV
- Improve voltages/frequencies
- Minor bugfixes
- Fix USB tethering
- Preliminary support for CM6/MIUI

BUILD 31:
- Add OC frequencies up to 1.2 GHz
- Remove 122MHz UC because apparently 
  it was causing problems for some people
- Tweak UV
- Minor bugfixes

BUILD 26:
- Remove HTC perflock
- Add UC frequencies
- Add 'interactive' governor
- Use 'interactive' governor by default

BUILD 21:
- Add SLQB allocator
- Update Bluetooth driver
- Remove Sense specific Bluetooth code (fixes crash)

BUILD 13:
- Update BCM4329 to 4.218.248-20
- Apply UV

BUILD 9:
- Use AOSP MSM USB gadget code

BUILD 8:
- Several USB bugfixes from official msm tree
- Implement BCM LPM interface
- Enable UART interface (fixes Bluetooth on AOSP)

BUILD 4:
- Initial release:
	- Enable EXT4
	- Enable TUN
	- Merge -ck2 patch (introducing BFS CPU scheduler)
	- Merge BFQ IO scheduler
	- Update BCM4329 WiFi driver

 
Last edited:

randomblame

Recognized Developer
May 18, 2009
2,711
18,009
woot someone ought to post a full cm7 + kernel package I'll test it out if I get time today - children are wonderful but they really get in the way of my computer time
 

DOAlaboratories

Senior Member
Jul 31, 2010
357
38
Simi Valley
this is why I hate my captivate.
over 6 months of being out, even with support of awesome devs, still no CM love.
Inspire: been out for less than two weeks and we already have CM.

Thanks dude, this is awesome. Flashing now.

Any chance in incorporating a 1.5-1.6ghz step in the future? :D
 

gtg465x

Inactive Recognized Developer
Jun 16, 2008
4,750
3,277
Anyone test this yet to see if all of the audio aspects are working correctly?

edit: Oops, I see now that this was only posted a few minutes ago haha.
 

dowenprs

Senior Member
Apr 1, 2010
218
52
Awesome! Thank you so much! this is very much appreciated! XDA is awesome!

Sent from my Desire HD using XDA App
 

FalseBuddha

Member
Sep 29, 2010
28
3
Smyrna, GA
I've got CM7 installed now, but adb won't find my phone to flash the kernel.

EDIT: I forgot I hadn't installed Sync on my laptop for the correct drivers. PC's got it working now. Still no sound and no wifi for me.
 
Last edited:

id10terrordfw

Senior Member
Aug 3, 2010
2,245
455
Fort Worth, TX
Hmm, I followed the steps exactly and still no sound, about phone still shows the CWM kernel. Anyone who knows how to make a CWM zip, wanna give it a shot?

Edit: I also now get remote not allowed, and I am S-Off
 
Last edited:

DOAlaboratories

Senior Member
Jul 31, 2010
357
38
Simi Valley
You need ENG S-OFF. I guess it would be a good idea if someone made a CWM flashable zip. Any volunteers? :)

let me look into syntax of updater-script and figure it out, in the meantime we can use the one click ENG S-OFF in the HD section

EDIT1: making a flashable zip with AnyKernel
EDIT2: SUCCESS!
 

Attachments

  • CM7PE1.2.zip
    3.3 MB · Views: 230
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    You need ENG S-OFF. I guess it would be a good idea if someone made a CWM flashable zip. Any volunteers? :)

    let me look into syntax of updater-script and figure it out, in the meantime we can use the one click ENG S-OFF in the HD section

    EDIT1: making a flashable zip with AnyKernel
    EDIT2: SUCCESS!
    3
    To make the battery drain fix work, either run Google Voice Search once (or anything else that uses the microphone) or use a ROM that has the FM-Radio disabled (for instance phunkycow's PNK builds). This is due to a bug in the FM-Radio code preventing the kernel from powering down the AIC3254.

    This kernel is based on the HTC source and features several performance patches and driver updates. It has been tested with CM7 and works flawlessly and very smoothly. Feedback is warmly welcome!

    The latest update introduces CM7 support for the HTC Inspire 4G and should fix proximity sensor issues!

    Code:
    ####################################################
        _    ____ _____     _  _      ____ _  ______  
       / \  / ___| ____|  _| || |_   / ___| |/ /___ \ 
      / _ \| |   |  _|   |_  ..  _| | |   | ' /  __) |
     / ___ \ |___| |___  |_      _| | |___| . \ / __/ 
    /_/   \_\____|_____|   |_||_|    \____|_|\_\_____|
                                                      
     ____  _____ ___      _  _     _____ _   _ _   _ 
    | __ )|  ___/ _ \   _| || |_  |_   _| | | | \ | |
    |  _ \| |_ | | | | |_  ..  _|   | | | | | |  \| |
    | |_) |  _|| |_| | |_      _|   | | | |_| | |\  |
    |____/|_|   \__\_\   |_||_|     |_|  \___/|_| \_|
                                                     
    			- hrkfdn @ 50hz.ws
    			- 2.6.32.21-ck2-hrkfdn #66
    ####################################################
    
    HTC Ace Linux Kernel v2.6.32.21 recompilation
    with the following changes/patches:
    
    - Merge CK2 patchset by ckolivas
    - Merge BFQ IO scheduler
    - Merge SLQB allocator
    - Enable EXT4
    - Enable TUN
    - Use bcm4329 from official Android tree
    - Undervolt CPU for the lower frequencies
    - Overclock CPU
    - Interactive governor
    
    ####################################################
    
    NOTE:
    
    This kernel has been tested with CM7. It may or may
    not work with other frameworks.
    
    I am NOT RESPONSIBLE for any damages, malfunctions,
    whatsoever.
    
    Source is available at: 
    	https://github.com/hrkfdn/linux-htc-ace
    
    ####################################################
    
    HOWTO INSTALL IT:
    Flash ZIP with CWM.
    
    ####################################################

    Changelog:
    Code:
    BUILD 66:
    - Disable BFS
    - Power down AIC3254 after usage (battery drain fix)
    - Remove 122MHz
    - Reset OC back to 1.2GHz
    - bcm4329 updates
    
    BUILD 59:
    - Compress with LZMA (reduce filesize)
    - Add OC to 1.5GHz
    - Apply HTC Inspire 4G patches
    - Move to CWM-flashable ZIPs
    
    BUILD 56:
    - Apply QMR update from HTC including updates and fixes for:
      - The sound driver
      [B]- Proximity sensor (most likely to fix the prox. sensor problem)[/B]
      - Display panel
        .. and other stuff
    - Fix Atmel touchscreen build
    [B]- Inspire 4G support[/B]
    
    BUILD 41:
    - Fix battery charging delays
    - Update WiFi driver to 4.218.248-23
    
    BUILD 38:
    - Readd 122MHz @ 850mV
    - Improve voltages/frequencies
    - Minor bugfixes
    - Fix USB tethering
    - Preliminary support for CM6/MIUI
    
    BUILD 31:
    - Add OC frequencies up to 1.2 GHz
    - Remove 122MHz UC because apparently 
      it was causing problems for some people
    - Tweak UV
    - Minor bugfixes
    
    BUILD 26:
    - Remove HTC perflock
    - Add UC frequencies
    - Add 'interactive' governor
    - Use 'interactive' governor by default
    
    BUILD 21:
    - Add SLQB allocator
    - Update Bluetooth driver
    - Remove Sense specific Bluetooth code (fixes crash)
    
    BUILD 13:
    - Update BCM4329 to 4.218.248-20
    - Apply UV
    
    BUILD 9:
    - Use AOSP MSM USB gadget code
    
    BUILD 8:
    - Several USB bugfixes from official msm tree
    - Implement BCM LPM interface
    - Enable UART interface (fixes Bluetooth on AOSP)
    
    BUILD 4:
    - Initial release:
    	- Enable EXT4
    	- Enable TUN
    	- Merge -ck2 patch (introducing BFS CPU scheduler)
    	- Merge BFQ IO scheduler
    	- Update BCM4329 WiFi driver

    1
    Fastboot

    Hold the volume down, then hold power button down.
    1
    Yes, then kernel again
    What did you do, flash the last nightly on top of every thing?



    Sent from my Desire HD using XDA App
    1
    Looks like he removed 67 due to issues with it. He took it out of the equivalent Desire HD thread. Apparently it doesn't quite fix everything yet.