[KERNEL] HTC DNA LK_DNA 0.9.6 [4-30-13] System Write/Standby fixes/Voltage mod

Search This thread

elkay

Senior Member
Apr 6, 2005
693
285
github.com
Hello! Here's an HTC DNA kernel with system write access based off HTC's 2.04.605.2 source. While system write is awesome for those without s-off, there are just a few other things some of us desire while maintaining stability of our DNAs. The most glaring thing to me was the horrible standby battery time on our stock phones. The issue is due to a wakelock of msm_hsic_host that prevents the phone from going into deep sleep. This absolutely kills standby time. I've put fixes into place to correct this issue. I'll likely be adding some additional features to this kernel, but I won't be going crazy. My main concern with this kernel is stability and good battery life, so if you're looking for a benchmarking kernel you should probably try a different one for now. Don't ask for release dates!

Installation:

You must be unlocked and rooted to install this kernel. The process to unlock and root are covered in other threads dealing directly with those tasks. If you are unfamiliar with Recovery Mode or fastboot, this modification is not yet for you and you should read up on those things first. There's always the potential that you may damage your phone with any system modification, and by installing and using this kernel you take full responsibility for any damage you may cause to your phone. Download the zip file for the version you want to install. This zip file should be extracted on your computer and contains a boot.img file that needs to be flashed in fastboot, as well as another zip file containing the modules which must be put on your phone's storage and installed in Recovery Mode. DO NOT INSTALL THE FULL DOWNLOADED ZIP FILE IN RECOVERY. After flashing boot.img and installing the modules zip file, make sure you wipe your cache and Dalvik (recommended with each update, too).

Known bugs:

- None at this time

Changelog:

0.9.6 [4-30-13]
- Fresh code base from HTC 2.04.605.2 source
- System write
- HSIC wakelock fixes
- Enabled CPU stats
- Added tables for Faster bin CPUs tweaked with lower stock voltages
- Added voltage control

0.9.5 [2-7-13]
- Reverted some HSIC changes made by HTC

0.9.4 [1-25-13]
- More HSIC fixes
- Added tables for Faster bin CPUs tweaked with lower stock voltages
- Added voltage control

0.9.3 [1-20-13]
- Enabled CPU stats

0.9.2 [1-20-13]
- More USB/HSIC fixes

0.9.1 [1-18-13]
- More USB/HSIC fixes
- Fixes for 3G dropout
- Possible data drops (airplane mode or reboot will fix it)

0.9.0 [1-18-13]
- Initial release (fork from dsb9938's System Write Stock Kernel)
- System write / root in ADB (thanks dsb9938)
- Fixes for msm_hsic_host wakelock problem
- Possible 3G dropout (airplane mode or reboot will fix it)

Downloads:

LK_DNA 0.9.6
http://www.mediafire.com/?zvav29v4v6o6tp8
MD5:16532ed065cfa72aa71d9d0899290c43

LK_DNA 0.9.5
http://www.mediafire.com/?63jol7u21eemu2z
MD5:9f2ef4ca48baf2e58ba5ade26b89e42c

LK_DNA 0.9.4
http://www.mediafire.com/?x9469bbdo6n4bsz
MD5: e0c71e23d7e0e1e3a67fba0cd1a3c028

LK_DNA 0.9.3
http://www.mediafire.com/?d1f4uel8eh131l3
MD5: c984f3c72ec3c321bd88d59aecae9bbf

Kernel source:
https://github.com/elkay
 
Last edited:

scumpoop

Member
Jun 28, 2012
46
9
Re: [KERNEL] HTC DNA LK_DNA 0.9.1 [1-18-13] System Write/Standby fixes

Downloads are down for me. Thanks for the contribution though!

Edit: It says that download permissions are denied by uploader.
 
Last edited:

Melodycd

Senior Member
Jul 13, 2012
372
58
Re: [KERNEL] HTC DNA LK_DNA 0.9.1 [1-18-13] System Write/Standby fixes

Link is broken ((( Ready to try it!

Sent from my HTC6435LVW using xda premium
 

madAdam6LOVE

Senior Member
Jul 8, 2010
768
155
Gilford, NH
Re: [KERNEL] HTC DNA LK_DNA 0.9.1 [1-18-13] System Write/Standby fixes

Do we need to flash your modules if we're already on Stock Writable?

Sent from my HTC6435LVW using Tapatalk 2
 

madAdam6LOVE

Senior Member
Jul 8, 2010
768
155
Gilford, NH
Re: [KERNEL] HTC DNA LK_DNA 0.9.1 [1-18-13] System Write/Standby fixes

I'm showing max CPU is 1134. Did you throttle the kernel?

Sent from my HTC6435LVW using Tapatalk 2
 

madAdam6LOVE

Senior Member
Jul 8, 2010
768
155
Gilford, NH
Re: [KERNEL] HTC DNA LK_DNA 0.9.1 [1-18-13] System Write/Standby fixes

No. Using System Tuner Pro, I'm seeing cores go to 1.51Ghz just fine. Where are you seeing only 1134?

System Tuner CPU max slider sticks at 1.13. Confirmed with SetCPU. But flashed back to Stock Writable and notice the same max. On a fresh install of Viper. :-\

Sent from my HTC6435LVW using Tapatalk 2
 

elkay

Senior Member
Apr 6, 2005
693
285
github.com
System Tuner CPU max slider sticks at 1.13. Confirmed with SetCPU. But flashed back to Stock Writable and notice the same max. On a fresh install of Viper. :-\

Sent from my HTC6435LVW using Tapatalk 2

Try flashing my kernel and make sure you install my modules. If it's still showing 1.13, then you have something else installed that is limiting it. I haven't touched the CPU code yet.
 

madAdam6LOVE

Senior Member
Jul 8, 2010
768
155
Gilford, NH
Re: [KERNEL] HTC DNA LK_DNA 0.9.1 [1-18-13] System Write/Standby fixes

Try flashing my kernel and make sure you install my modules. If it's still showing 1.13, then you have something else installed that is limiting it. I haven't touched the CPU code yet.

Reinstalled and it's all good. Thanks for this. I live and work on the fringes of LTE, 3G and 1X so I'll let you know if my data drops.

Sent from my HTC6435LVW using Tapatalk 2
 

madAdam6LOVE

Senior Member
Jul 8, 2010
768
155
Gilford, NH
Re: [KERNEL] HTC DNA LK_DNA 0.9.1 [1-18-13] System Write/Standby fixes

System Tuner CPU max slider sticks at 1.13. Confirmed with SetCPU. But flashed back to Stock Writable and notice the same max. On a fresh install of Viper. :-\

Sent from my HTC6435LVW using Tapatalk 2

Just looked in on Viper thread and see that the 1.1 max issue is a known bug.

Sent from my HTC6435LVW using Tapatalk 2
 

orangechoochoo

Senior Member
Nov 30, 2012
2,204
735
Beating up dumbbells
I'm thinking the modules would probably have to be flashed separately then the Rom, DSB'S stock writeable kernel never had that problem by itself.

Edit: looks like a reboot solves the problem on Viper.

I would like to try out this kernel but I'm one of the few who gets an sod every few days.
 
Last edited:
Re: [KERNEL] HTC DNA LK_DNA 0.9.1 [1-18-13] System Write/Standby fixes

Just flashed this using flash image gui after extracting the contents. I rebooted into recovery to flash the modules. No problems here with Viper ROM.

I can't wait to see the battery benefits.

Thanks!

Sent from my HTC6435LVW using xda premium
 

wpsantennas

Senior Member
Nov 30, 2006
181
12
www.wpsantennas.com
I ran into the all cores online issue that others who tried to go from DSB's cubed 2.4.2 kernel to DSB's stock write kernel have had.

I used Flash GUI to flash the Return to Stock boot.img, booted into recovery (TWRP 2.4.0.0beta touch recovery) and then flashed the Return to Stock modules.

After rebooting, I used Flash GUI to flash the LK_DNA 0.9.1 boot.img, booted into recovery and then flashed the LK_DNA 0.9.1 modules.

About 30 minutes after reboot, System Tuner showed that all cores were online (and stayed online)

In both instances, I wiped the Dalvik and cache as part of the Flash GUI flash. I'm using the stock ROM (with some apps removed and mods.)

As others have when they've run into this issue, I believe I've done this properly so I don't know what the issue is.

I've since reflashed 2.4.2 boot.img and modules and everything is back to "normal."
 
  • Like
Reactions: docnok63

elkay

Senior Member
Apr 6, 2005
693
285
github.com
Just finished what I'm going to consider 0.9.2 and have it up and running on my phone. I have another small set of USB/HSIC fixes I'd like to apply, but I've already added quite a few to this build so I'd like to take it in a few steps. If everything seems alright over the next day or so I'll probably post it sometime Sunday. The last few fixes are fairly intricate because of how HTC separated some of the code out for their own customization, so those fixes will take a little longer and I'd like to test them separately.
 
  • Like
Reactions: madAdam6LOVE

Top Liked Posts

  • There are no posts matching your filters.
  • 48
    Hello! Here's an HTC DNA kernel with system write access based off HTC's 2.04.605.2 source. While system write is awesome for those without s-off, there are just a few other things some of us desire while maintaining stability of our DNAs. The most glaring thing to me was the horrible standby battery time on our stock phones. The issue is due to a wakelock of msm_hsic_host that prevents the phone from going into deep sleep. This absolutely kills standby time. I've put fixes into place to correct this issue. I'll likely be adding some additional features to this kernel, but I won't be going crazy. My main concern with this kernel is stability and good battery life, so if you're looking for a benchmarking kernel you should probably try a different one for now. Don't ask for release dates!

    Installation:

    You must be unlocked and rooted to install this kernel. The process to unlock and root are covered in other threads dealing directly with those tasks. If you are unfamiliar with Recovery Mode or fastboot, this modification is not yet for you and you should read up on those things first. There's always the potential that you may damage your phone with any system modification, and by installing and using this kernel you take full responsibility for any damage you may cause to your phone. Download the zip file for the version you want to install. This zip file should be extracted on your computer and contains a boot.img file that needs to be flashed in fastboot, as well as another zip file containing the modules which must be put on your phone's storage and installed in Recovery Mode. DO NOT INSTALL THE FULL DOWNLOADED ZIP FILE IN RECOVERY. After flashing boot.img and installing the modules zip file, make sure you wipe your cache and Dalvik (recommended with each update, too).

    Known bugs:

    - None at this time

    Changelog:

    0.9.6 [4-30-13]
    - Fresh code base from HTC 2.04.605.2 source
    - System write
    - HSIC wakelock fixes
    - Enabled CPU stats
    - Added tables for Faster bin CPUs tweaked with lower stock voltages
    - Added voltage control

    0.9.5 [2-7-13]
    - Reverted some HSIC changes made by HTC

    0.9.4 [1-25-13]
    - More HSIC fixes
    - Added tables for Faster bin CPUs tweaked with lower stock voltages
    - Added voltage control

    0.9.3 [1-20-13]
    - Enabled CPU stats

    0.9.2 [1-20-13]
    - More USB/HSIC fixes

    0.9.1 [1-18-13]
    - More USB/HSIC fixes
    - Fixes for 3G dropout
    - Possible data drops (airplane mode or reboot will fix it)

    0.9.0 [1-18-13]
    - Initial release (fork from dsb9938's System Write Stock Kernel)
    - System write / root in ADB (thanks dsb9938)
    - Fixes for msm_hsic_host wakelock problem
    - Possible 3G dropout (airplane mode or reboot will fix it)

    Downloads:

    LK_DNA 0.9.6
    http://www.mediafire.com/?zvav29v4v6o6tp8
    MD5:16532ed065cfa72aa71d9d0899290c43

    LK_DNA 0.9.5
    http://www.mediafire.com/?63jol7u21eemu2z
    MD5:9f2ef4ca48baf2e58ba5ade26b89e42c

    LK_DNA 0.9.4
    http://www.mediafire.com/?x9469bbdo6n4bsz
    MD5: e0c71e23d7e0e1e3a67fba0cd1a3c028

    LK_DNA 0.9.3
    http://www.mediafire.com/?d1f4uel8eh131l3
    MD5: c984f3c72ec3c321bd88d59aecae9bbf

    Kernel source:
    https://github.com/elkay
    12
    Source is out for the DNAs new ota.

    http://www.htcdev.com/devcenter/downloads

    Sent from my HTC6435LVW using xda app-developers app

    Awesome! I started a new job Monday so I might not get around to digging into their code until this weekend, but I'll make sure to get you guys a build ASAP. :)
    8
    Just to clear some things up.

    I fixed my return to stock flash, thanks elkay for pointing out my derp.

    Second, you only need to flash that if coming from my custom kernel, not any of the stock based ones. On the custom one, I remove some files from your phone because the functions are built into the custom kernel. Flashing that file puts them back.

    D

    .
    7
    I pulled down the source and am starting to take a look at it. Pretty busy weekend but I'll see what I can do about getting something together.
    5
    According to the viper ROM instructions flashing the dsb modules isn't necessary, it's built in to his script.

    You're correct in that when flashing Viper as a clean install after full wipe, you don't need modules for the dsb kernel since they're built in to the ROM. However, to change to elkays kernel, you must flash the DNA.Stock.Kernel.Modules.Fixed.zip module to restore the missing stock files, then flash the new kernel. It's really a quick and painless procedure, but has to be done in correct sequence.

    So what you should do now to set things straight, and might as well move on elkay 0.9.4:
    1. Download and unzip the LK_DNA_0.9.4.zip file on your "SD"
    2. Download but leave zipped the DNA.Stock.Kernel.Modules.Fixed.zip file.
    3. Use flash GUI to flash boot.img file in unzipped LK_DNA_0.9.4 folder. (same as flashing boot.img through adb in bootloader with "fastboot flash boot boot.img" but a hell of a lot quicker).
    4. Reboot to recovery.
    5. Clear cache and dalvik cache, flash DNA.Stock.Kernel.Modules.Fixed.zip then flash LK_DNA.Modules.zip in the unzipped LK_DNA_0.9.4 folder. You can do all that in one recovery session without rebooting.
    5. Now reboot. Bet things will be a lot better.:good: