[KERNEL][13MAY]LorDModHD V4.5|ALL AOSP ROMS|2.6.35.13|TOO MUCH STUFF

Search This thread

LorD ClockaN

Inactive Recognized Developer
Sep 1, 2008
14,106
28,536
Veli Losinj
www.losinj.com
LorDmodHD-logo.png



Hello from me again!

This time we take it a little further.
I must say at the very beginning that all credits for porting 2.6.35.10 kernel to DHD goes to James Zdziebkowski. I used his source with his permission to be our new foundation for further updates and patches.



KERNEL:
  • Based on James Zdziebkowski's port 2.6.35.10
  • It has parts from HTC Saga and HTC Incredible in it - James Zdziebkowski
  • Offcourse newest adreno drivers from CM7 - James Zdziebkowski
  • Included battery fix from teamdesire - James Zdziebkowski
  • OC to 1.5Ghz - James Zdziebkowski
  • Smartass included - James Zdziebkowski
  • CFS only by default
  • vvvvvvvvvvvvvvvv from here modded by me
  • Added Volume boost of 20%
  • Patched libsqlite.so to disable db loops – thanx to ownhere
  • Default UV
  • Smartass and CPU tables as in 4.4.1 ROM (smooth)
  • VDD user interface (by -snq, modified by LorD Clockan for 2.6.35)
  • Under volt editions, UUV edition might not work for all.. use -25mV edition
  • CPU freq going from 122MHz (230 default) to 1920MHz
  • Allocated more GPU memory
  • Added SLQB slab memory allocator
  • Tweaked read/write video buffer
  • Added TinyRCU Bloatwatch edition v8
  • Tweaked Interactve and Ondemand governors
  • Added V(r) I/O data scheduler
  • Added Tweaks and patches from latest CM7 kernel for Wlan chip and USB
  • Enable Deathray for flashlite
  • Ported BFQ v2 from 2.6.37 (by Thalamus) and patched to v2.1 and set as default I/O data scheduler
  • Patched kernel to 2.6.35.13 (by me)
  • Added USB mount support (James Zdziebkowski)
  • Added 2 way recording patch - all compliments go to avs333 (go to Call Recording app and disable recording if you don't use it) - for MIUI, enable third party apps in MIUI dialer
  • Hopefully compatible with all AOSP ROMS for DHD - CM7 all bases, MIUI, UltimateDroid...
  • Implemented USB thetering support - by James Zdziebkowski
  • Ported lots of drivers from HTC official source - by James Zdziebkowski


PLEASE DO A NANDROID BACKUP OF YOUR ROM

This kernel copies some system libs and overwrites your default libs and can't go back to older kernel.. Maybe this can help (not tested yet) - zip

BFQ I/O scheduler. V(r) I/O scheduler
Download link for:
LorDmod HD V4.5 BFQ - zip
LorDmod HD V4.5 VIO - zip

There are some problems with DSPmode and 2.6.35 base, but what I've heard Kali- is working on them and porting 2.6.35 to CM7 for Ace

Same UV scripts as in 2.6.32.39 kernel V4.5.2 (all ready for EXT4 flash):
-25mV zip
-50mV zip
UUV zip
PUV zip - This is heavely UV even for UUV edition.. going from min 775mV trough all the freq range. If UUV worked for you, you must test this :cool: It's working fine for me 122/1380MHZ 24/7
Restore defaults zip
If you want SD card speed patch, put this file into /etc/init.d folder and give it executable perrmision. It can corrupt your SD data! CAUTION - BACKUP



AGAIN - don't FORGET to do a nandroid backup prior to flashing!

Bugs:
I've noticed that the max freq after first boot is set as 384MHz, so please just rise it

Thanx goes to: teamdesire, Kali-, MDJ, LeeDroid, adrynaline, -snq, Cyanogen team, DOAlaboratories, my beta testers and those who I forgot

DONATIONS so far: Walker Street, alexmason14, McGyver85, danalive, justaguy84, ...
 
Last edited:

LorD ClockaN

Inactive Recognized Developer
Sep 1, 2008
14,106
28,536
Veli Losinj
www.losinj.com
Governors for NOOBS:
  • interactive - Instead of sampling the cpu at a specified rate, the governor will scale the cpu frequency up when coming out of idle. When the cpu comes out of idle, a timer is configured to fire within 1-2 ticks. If the cpu is 100% busy from exiting idle to when the timer fires then we assume the cpu is underpowered and ramp to MAX speed.
  • smartass - Is an improved version of interactive governor
  • ondemand – Available in most kernels, and the default governor in most kernels. When the CPU load reaches a certain point (see “up threshold” in Advanced Settings), ondemand will rapidly scale the CPU up to meet demand, then gradually scale the CPU down when it isn't needed.
  • conservative – Available in some kernels. It is similar to the ondemand governor, but will scale the CPU up more gradually to better fit demand. Conservative provides a less responsive experience than ondemand, but can save battery.
  • performance – Available in most kernels. It will keep the CPU running at the “max” set value at all times. This is a bit more efficient than simply setting “max” and “min” to the same value and using ondemand because the system will not waste resources scanning for CPU load.
  • powersave – Available in some kernels. It will keep the CPU running at the “min” set value at all times.
  • userspace – A method for controlling the CPU speed that isn't currently used by SetCPU. For best results, do not use the userspace governor.

Old versions:
LorDmod HD V4.0 BFQ - zip
LorDmod HD V4.0 VIO - zip
LorDmod HD V3.6 BFQ - zip
LorDmod HD V3.5 VIO - zip
LorDmod HD V3.5 BFQ - zip - based on boot.img from nightly 64
LorDmod HD V3.5 VIO - zip - same base as BFQ
LorDmod HD V3.1 BFQ - zip REUPLOAD #2 - Only for (from to ...) nightly 63 and roms based on 63... WLAN STILL BROKEN... TRYING TO FIX IT
LorDmod HD V3.1 VIO - zip
LorDmod HD V3.0 - zip - Only for builds later than nightly 57 to 62! 63 wlan broken!!!
LorDmod HD V2.0 - zip - Only for builds later than nightly 57!!!
LorDmod HD V1.4 - zip - Only for builds later than nightly 57!!! - looks like USB mount doesn't work...
LorDmod HD V1.3 -zip - only for nightly 57 or older!!!
LorDmod HD V1.2 - zip - for kangs newer than nightly 57
LorDmod HD V1.1 - zip - wlan not working
LorDmod HD V1.0 - zip
LorDmod HD V0.2.2 - zip
LorDmod HD V0.2 - zip


History:
Code:
13-05-2011     LorDmod HD 4.5
[LIST]
[*]Added all new board files from updated HTC source code. starting from panel driver, sub-audio system, battery, mmc, touchscreen, audio drivers and some other stuff - ported by James Zdziebkowski
[/LIST]
11-05-2011     LorDmod HD 4.0
[LIST]
[*]Implemented USB thetering support - by James Zdziebkowski
[*]Tweaked Interactive and Conservative governors
[/LIST]
09-05-2011     LorDmod HD 3.6 - For all AOSP ROMS
[LIST]
[*]Changed the update script (AnyKernel.zip + Apache14) to suite all AOSP roms
[/LIST]
06-05-2011     LorDmod HD 3.5 - Based on boot.img from nightly 64
[LIST]
[*]Added 2 way recording patch - all compliments go to avs333
[/LIST]
05-05-2011     LorDmod HD 3.1 - Only for nightly 63 (and 63 based roms) and later...
[LIST]
[*]Fixed WLAN for nightly 63
[*]Fixed and reuploaded voltage scripts for nightly 63
[*]Added V(r) I/O based kernel for download
[/LIST]
04-05-2011     LorDmod HD 3.0 - Only for builds later than nightly 57 to 62! 63 wlan broken!!!
[LIST]
[*]allocate uncached buffers as writecombined
[*]HW3D fix
[*]Lots of small fixes and patches
[*]Tweaked Interactive and Ondemand governors
[*]Kernal patched to .13
[*]Reuploaded fixed PUV script - thanx to colonel_lp
[/LIST]
02-05-2011     LorDmod HD 2.0 - Only for builds later than nightly 57
[LIST]
[*]Enable Deathray for flashlite
[*]Ported BFQ v2 from 2.6.37 (by Thalamus)
[*]Updated BFQ v2 to v2.1
[*]Patched kernel to 2.6.35.12 (by me)
[*]Tweaked smartass some more
[*]Added USB mount support (James Zdziebkowski)
[/LIST]
01-05-2011     LorDmod HD 1.4 - Only for builds later than nightly 57
[LIST]
[*]Added Tweaks and patches from latest CM7 kernel for Wlan chip and USB
[*]Now for real set V(r) I/O scheduler as default (it was set to Noop by mistake in earlier versions)
[/LIST]
01-05-2011     LorDmod HD 1.3
[LIST]
[*]Fixed Wlan for nightly 57 or older
[/LIST]
30-04-2011     LorDmod HD 1.2
[LIST]
[*]Added TinyRCU Bloatwatch edition v8
[*]Tweaked Interactve and Ondemand governors
[*]Added V(r) I/O data scheduler and set as default
[/LIST]
30-04-2011     LorDmod HD V1.1
[LIST]
[*]Hopefully fixed volume boost for new driver
[*]Correct dimensions and output format of framebuffer
[/LIST]
30-04-2011     LorDmod HD V1.0
[LIST]
[*]Allocated more GPU memory
[*]Added SLQB slab memory allocator
[*]Tweaked read/write video buffer
[*]Added BFQ I/O data scheduler
[/LIST]
28-04-2011     LorDmod HD V0.2.2
[LIST]
[*]Redone smartass and CPU tables like in LorDmod kernel
[*]Min freq 122 (230MHz default), Max freq 1920MHz (1075 defaut)
[*]Implemented VDD user interface (by -snq, modified by LorD Clockan for 2.6.35)
[*]Normal kernel comes as UV (totaly stable for all)
[*]Added scripts for more UV
[/LIST]
28-04-2011     LorDmod HD V0.2
[LIST]
[*]Initial release
[*]Added Volume boost of 20%
[*]Patched libsqlite.so to disable db loops – thanx to ownhere
[/LIST]
 
Last edited:

io53

Senior Member
Oct 25, 2010
772
254
Is it just me or is this smoother than the other kernel?
Thumbs up for 2.6.35! :)

Sent from my Desire HD using XDA Premium App
 

io53

Senior Member
Oct 25, 2010
772
254
But that's just smartass. Im using ondemand/interactive and those 2 are scaling just fine :)

Sent from my Desire HD using XDA Premium App
 

Try4Ce

Senior Member
Jul 29, 2010
1,841
460
NRW
I guess it doesnt work on SENSE ROMs right? Because I am really curious about those GPU drivers. If we could include the CM / MIUI GPU Drivers into Sense, that would most likely kickass!
 

erbse

Senior Member
Sep 1, 2008
131
10
Hi LorD ClockaN,

thx for the your work and the kernel :)

downloaded and started testing...


a question to the sound drivers

Are the audio drivers the same which are used in your other kernel and/or HTC kernel (rom base >= 1.84) ?


regards
 

erbse

Senior Member
Sep 1, 2008
131
10
Drivers are new from HTC Saga and they are used in my 4.5.2 kernel only

Mhmm ok, i ask because the audio quality is the only main issue for me. Performance and so on are fine Thx to your kernel :) I don't have a saga and so i don't know something about the audio quality from saga.


Is it possible to increase the quality to the same like sense rom? Could the HTC driver merged into your kernel or is more needed as the audio driver?

Thx :)

Sent from my Desire HD using XDA App
 

Ratix0

Senior Member
Jan 9, 2011
194
12
Hi! I have just flashed this over the previous 4.4.1.

I have one big issue with this one though, the graphics performance drops considerably, although usage wise its very smooth. I'd even go as far to say the graphics performance is worse than stock CM7's kernel.

This is very obvious when I am playing Chrono Cross on FPse. Previously, while on stock kernel, it is able to run the game at constant almost max speed(60fps) for most parts, except in menus and battle fading scenes as well as some spell casting scenes. After flashing your 4.4.2 kernel, the fps soared even more. I was very impressed.

I just flashed this version and the framerate dropped considerably, it no longer maintains 60FPS even in non "intensive" scenes.

I am not sure if this have got to do with the newer HTC Saga's graphics drivers but I'd say the previous one is better if that is the case. Previously I was using BFQhs CFS as well, running same clockspeed same governer.

EDIT: My bad! Its working fine now. I have no idea how set CPU reads my clock speed at some weird clock when the slider is at somewhere else, managed to fix it. Its running great =). Loving it.

Would want to know more on the big difference between this and 4.5.2. It looks like both are similar except this is based on HTC Saga's kernel? Or something?
 
Last edited:

michelD

Senior Member
Jan 12, 2009
641
221
OK My Lord you convince my !!

And indeed you'r right (of course), everything is working like a charm for me including the patch to improve the sd card read speed and the usb <=> pc.

Great job, (as usual). I'll check if there is any change in prower consumption in standby this night...

Do you intent to issue a V(R) I/O version ?

NB: what value are you using for R ? 0.2 or ...?

THANKS
 

vtec303

Senior Member
Sep 19, 2007
1,409
440
Manchester
OnePlus 8 Pro
Nice work, thanks for all your hard work and time, the CFS 4.4.1 is working awesome for me the phone has never been so smooth, I want to try this one now but does this one has the two way call recording support ?, regards.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    LorDmodHD-logo.png



    Hello from me again!

    This time we take it a little further.
    I must say at the very beginning that all credits for porting 2.6.35.10 kernel to DHD goes to James Zdziebkowski. I used his source with his permission to be our new foundation for further updates and patches.



    KERNEL:
    • Based on James Zdziebkowski's port 2.6.35.10
    • It has parts from HTC Saga and HTC Incredible in it - James Zdziebkowski
    • Offcourse newest adreno drivers from CM7 - James Zdziebkowski
    • Included battery fix from teamdesire - James Zdziebkowski
    • OC to 1.5Ghz - James Zdziebkowski
    • Smartass included - James Zdziebkowski
    • CFS only by default
    • vvvvvvvvvvvvvvvv from here modded by me
    • Added Volume boost of 20%
    • Patched libsqlite.so to disable db loops – thanx to ownhere
    • Default UV
    • Smartass and CPU tables as in 4.4.1 ROM (smooth)
    • VDD user interface (by -snq, modified by LorD Clockan for 2.6.35)
    • Under volt editions, UUV edition might not work for all.. use -25mV edition
    • CPU freq going from 122MHz (230 default) to 1920MHz
    • Allocated more GPU memory
    • Added SLQB slab memory allocator
    • Tweaked read/write video buffer
    • Added TinyRCU Bloatwatch edition v8
    • Tweaked Interactve and Ondemand governors
    • Added V(r) I/O data scheduler
    • Added Tweaks and patches from latest CM7 kernel for Wlan chip and USB
    • Enable Deathray for flashlite
    • Ported BFQ v2 from 2.6.37 (by Thalamus) and patched to v2.1 and set as default I/O data scheduler
    • Patched kernel to 2.6.35.13 (by me)
    • Added USB mount support (James Zdziebkowski)
    • Added 2 way recording patch - all compliments go to avs333 (go to Call Recording app and disable recording if you don't use it) - for MIUI, enable third party apps in MIUI dialer
    • Hopefully compatible with all AOSP ROMS for DHD - CM7 all bases, MIUI, UltimateDroid...
    • Implemented USB thetering support - by James Zdziebkowski
    • Ported lots of drivers from HTC official source - by James Zdziebkowski


    PLEASE DO A NANDROID BACKUP OF YOUR ROM

    This kernel copies some system libs and overwrites your default libs and can't go back to older kernel.. Maybe this can help (not tested yet) - zip

    BFQ I/O scheduler. V(r) I/O scheduler
    Download link for:
    LorDmod HD V4.5 BFQ - zip
    LorDmod HD V4.5 VIO - zip

    There are some problems with DSPmode and 2.6.35 base, but what I've heard Kali- is working on them and porting 2.6.35 to CM7 for Ace

    Same UV scripts as in 2.6.32.39 kernel V4.5.2 (all ready for EXT4 flash):
    -25mV zip
    -50mV zip
    UUV zip
    PUV zip - This is heavely UV even for UUV edition.. going from min 775mV trough all the freq range. If UUV worked for you, you must test this :cool: It's working fine for me 122/1380MHZ 24/7
    Restore defaults zip
    If you want SD card speed patch, put this file into /etc/init.d folder and give it executable perrmision. It can corrupt your SD data! CAUTION - BACKUP



    AGAIN - don't FORGET to do a nandroid backup prior to flashing!

    Bugs:
    I've noticed that the max freq after first boot is set as 384MHz, so please just rise it

    Thanx goes to: teamdesire, Kali-, MDJ, LeeDroid, adrynaline, -snq, Cyanogen team, DOAlaboratories, my beta testers and those who I forgot

    DONATIONS so far: Walker Street, alexmason14, McGyver85, danalive, justaguy84, ...
    6
    Governors for NOOBS:
    • interactive - Instead of sampling the cpu at a specified rate, the governor will scale the cpu frequency up when coming out of idle. When the cpu comes out of idle, a timer is configured to fire within 1-2 ticks. If the cpu is 100% busy from exiting idle to when the timer fires then we assume the cpu is underpowered and ramp to MAX speed.
    • smartass - Is an improved version of interactive governor
    • ondemand – Available in most kernels, and the default governor in most kernels. When the CPU load reaches a certain point (see “up threshold” in Advanced Settings), ondemand will rapidly scale the CPU up to meet demand, then gradually scale the CPU down when it isn't needed.
    • conservative – Available in some kernels. It is similar to the ondemand governor, but will scale the CPU up more gradually to better fit demand. Conservative provides a less responsive experience than ondemand, but can save battery.
    • performance – Available in most kernels. It will keep the CPU running at the “max” set value at all times. This is a bit more efficient than simply setting “max” and “min” to the same value and using ondemand because the system will not waste resources scanning for CPU load.
    • powersave – Available in some kernels. It will keep the CPU running at the “min” set value at all times.
    • userspace – A method for controlling the CPU speed that isn't currently used by SetCPU. For best results, do not use the userspace governor.

    Old versions:
    LorDmod HD V4.0 BFQ - zip
    LorDmod HD V4.0 VIO - zip
    LorDmod HD V3.6 BFQ - zip
    LorDmod HD V3.5 VIO - zip
    LorDmod HD V3.5 BFQ - zip - based on boot.img from nightly 64
    LorDmod HD V3.5 VIO - zip - same base as BFQ
    LorDmod HD V3.1 BFQ - zip REUPLOAD #2 - Only for (from to ...) nightly 63 and roms based on 63... WLAN STILL BROKEN... TRYING TO FIX IT
    LorDmod HD V3.1 VIO - zip
    LorDmod HD V3.0 - zip - Only for builds later than nightly 57 to 62! 63 wlan broken!!!
    LorDmod HD V2.0 - zip - Only for builds later than nightly 57!!!
    LorDmod HD V1.4 - zip - Only for builds later than nightly 57!!! - looks like USB mount doesn't work...
    LorDmod HD V1.3 -zip - only for nightly 57 or older!!!
    LorDmod HD V1.2 - zip - for kangs newer than nightly 57
    LorDmod HD V1.1 - zip - wlan not working
    LorDmod HD V1.0 - zip
    LorDmod HD V0.2.2 - zip
    LorDmod HD V0.2 - zip


    History:
    Code:
    13-05-2011     LorDmod HD 4.5
    [LIST]
    [*]Added all new board files from updated HTC source code. starting from panel driver, sub-audio system, battery, mmc, touchscreen, audio drivers and some other stuff - ported by James Zdziebkowski
    [/LIST]
    11-05-2011     LorDmod HD 4.0
    [LIST]
    [*]Implemented USB thetering support - by James Zdziebkowski
    [*]Tweaked Interactive and Conservative governors
    [/LIST]
    09-05-2011     LorDmod HD 3.6 - For all AOSP ROMS
    [LIST]
    [*]Changed the update script (AnyKernel.zip + Apache14) to suite all AOSP roms
    [/LIST]
    06-05-2011     LorDmod HD 3.5 - Based on boot.img from nightly 64
    [LIST]
    [*]Added 2 way recording patch - all compliments go to avs333
    [/LIST]
    05-05-2011     LorDmod HD 3.1 - Only for nightly 63 (and 63 based roms) and later...
    [LIST]
    [*]Fixed WLAN for nightly 63
    [*]Fixed and reuploaded voltage scripts for nightly 63
    [*]Added V(r) I/O based kernel for download
    [/LIST]
    04-05-2011     LorDmod HD 3.0 - Only for builds later than nightly 57 to 62! 63 wlan broken!!!
    [LIST]
    [*]allocate uncached buffers as writecombined
    [*]HW3D fix
    [*]Lots of small fixes and patches
    [*]Tweaked Interactive and Ondemand governors
    [*]Kernal patched to .13
    [*]Reuploaded fixed PUV script - thanx to colonel_lp
    [/LIST]
    02-05-2011     LorDmod HD 2.0 - Only for builds later than nightly 57
    [LIST]
    [*]Enable Deathray for flashlite
    [*]Ported BFQ v2 from 2.6.37 (by Thalamus)
    [*]Updated BFQ v2 to v2.1
    [*]Patched kernel to 2.6.35.12 (by me)
    [*]Tweaked smartass some more
    [*]Added USB mount support (James Zdziebkowski)
    [/LIST]
    01-05-2011     LorDmod HD 1.4 - Only for builds later than nightly 57
    [LIST]
    [*]Added Tweaks and patches from latest CM7 kernel for Wlan chip and USB
    [*]Now for real set V(r) I/O scheduler as default (it was set to Noop by mistake in earlier versions)
    [/LIST]
    01-05-2011     LorDmod HD 1.3
    [LIST]
    [*]Fixed Wlan for nightly 57 or older
    [/LIST]
    30-04-2011     LorDmod HD 1.2
    [LIST]
    [*]Added TinyRCU Bloatwatch edition v8
    [*]Tweaked Interactve and Ondemand governors
    [*]Added V(r) I/O data scheduler and set as default
    [/LIST]
    30-04-2011     LorDmod HD V1.1
    [LIST]
    [*]Hopefully fixed volume boost for new driver
    [*]Correct dimensions and output format of framebuffer
    [/LIST]
    30-04-2011     LorDmod HD V1.0
    [LIST]
    [*]Allocated more GPU memory
    [*]Added SLQB slab memory allocator
    [*]Tweaked read/write video buffer
    [*]Added BFQ I/O data scheduler
    [/LIST]
    28-04-2011     LorDmod HD V0.2.2
    [LIST]
    [*]Redone smartass and CPU tables like in LorDmod kernel
    [*]Min freq 122 (230MHz default), Max freq 1920MHz (1075 defaut)
    [*]Implemented VDD user interface (by -snq, modified by LorD Clockan for 2.6.35)
    [*]Normal kernel comes as UV (totaly stable for all)
    [*]Added scripts for more UV
    [/LIST]
    28-04-2011     LorDmod HD V0.2
    [LIST]
    [*]Initial release
    [*]Added Volume boost of 20%
    [*]Patched libsqlite.so to disable db loops – thanx to ownhere
    [/LIST]
    2
    No, not for Sense..

    Updated version online..

    last for tonight.. going to sleep!!
    2
    Having some strange troubles with GPS, loosing fix every now and then.
    When i loose the fix i have to turn off - and on GPS, and it's working again.

    Smartass governor (default freq): loosing fix every 5 minutes
    OnDemand governor (default freq): loosing fix every 30 minutes

    Looks like a kernel issue ?

    CM7.0.3 stable
    Lordmod 4.0 - standard , no uv
    Latest SetCPU
    Google Maps Navigation

    I run CM7.0.3; smartass gov; v4.0HD [email protected]; Radio: 26.09.04.11... After applying AngelDeath's GPS fix (see sig) I've had the most amazing GPS experiance with this phone; even better than my NexusOne and far superior to anything I ever saw on the SGS Captivate.

    Before applying the fix; I couldn't even get a lock on MyTracks... After the fix, I tracked this route from work yesterday. Over 20 minutes of uninterupted, accurate GPS fix. :)

    snap20110513_090833.png
    snap20110513_090845.png
    1
    Flash the new Kernel 2.0. I have no problem with 1382mhz UUV script.

    Sent from my Desire HD using XDA App
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