[Kernel][CM 11][4.4.x] crpalmer's kernel for CM11 nightlies

Search This thread

orangechoochoo

Senior Member
Nov 30, 2012
2,204
735
Beating up dumbbells
The scripts get run every time you boot the phone. Post #2 explains how you configure what the scripts do. There is nothing that you need to run yourself.
And you can verify it worked by looking at the crpalmer.log to see if the settings you wanted were applied.

It's always best to double check that just in case you misspelled something.
 
  • Like
Reactions: dreamdoggy

mjpitts

Senior Member
Feb 16, 2013
72
6
Not sure if it has anything to do with the kernel but volume wake seems to be hit or miss after flashing this Kernel.

Sent from my HTC6435LVW using Tapatalk
 

schott12521

Member
Nov 14, 2012
24
5
Maryland
I didn't see this mentioned elsewhere, but does this still have USB OTG or will I need to stay on 4.3 until it is ready? Thanks!
 

crpalmer

Inactive Recognized Developer
Mar 25, 2011
2,999
8,280
I didn't see this mentioned elsewhere, but does this still have USB OTG or will I need to stay on 4.3 until it is ready? Thanks!

One user in the CM11 thread is reporting problems with mounting an SD card. I do not have any problems myself. I have also tested a USB mouse which work fine.
 

kun.aries

Senior Member
May 21, 2013
211
12
Vung Tau City
CPU Frequencies
* Frequencies loaded from /sdcard/crpalmer-cpufreq-min and /sdcard/crpalmer-cpufreq-max
* Governor loaded from /sdcard/crpalmer-cpufreq-governor
* If you specify either or both of these frequencies, it will lock down all of the CPU frequency controls. I had to do this because HTC overrides them in a script that is run very late in the boot process (thanks HTC!).
* E.g. adb shell su -c "echo 192000 > /sdcard/crpalmer-cpufreq-min"
* E.g. adb shell su -c "echo 1728000 > /sdcard/crpalmer-cpufreq-max"
* E.g. adb shell su -c "echo interactive > /sdcard/crpalmer-cpufreq-governor"

Undervolting
* + or - value loaded from /sdcard/crplamer-uv
* The undervolting in 2.0.23 for FAST binned CPUs would be specified as:
* E.g. adb shell su -c "echo -100 > /sdcard/crpalmer-uv"

Lightsensor
* My light sensor changes didn't sound like they worked well for everyone. If you don't like them you can disable them by:
* E.g. adb shell touch /sdcard/crpalmer-stock-lightsensor

HTC Colour "Enhancement"
* If this file is present then the HTC's colour "enhancement" will be used, otherwise it will be disabled.
* If this file contains the string "m7" then it will use one of the colour enhancement that was used in the M7 kernel for a panel most like ours.
** E.g. adb shell touch /sdcard/crpalmer-color-enhancement


sorry, this is the first time I use your kernel, IDK how to add these command, where? I reboot to bootloader but when I use these command it said "error:device not found". I use Terminal Emulator and it's the same. :confused:
 

Gungrave223

Senior Member
Jun 12, 2011
633
106
Loganville
Also thanks for the crpalmer, but question, can I please have mirror link...with cherry on top. My network does really like filesharing sites like that, so can I have a google drive, dropbox, or even mega.co.nz please.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 39
    This kernel extends the CM kernel with some new features:

    New init.d scripts to allow some tweaking without needing any 3rd party apps
    * See the next post for details.

    Replaced HTC's mpdecision with a new custom hot-plug driver that I created:

    * This hot-plug driver is more aggressive about bring cores on and off-line to match the load on the system.
    * Bringing cores online earlier makes your phone more responsive / smooth.
    * Taking cores offline earlier improves battery life.
    * It ramps up very quickly on resume to avoid lag.

    Replaced HTC's lightsensor table with one that is more sensible and that matches what other devices use. If you have custom auto-brightness settings, you'll probably need to tweak them after installing this kernel.

    There are many additional changes to boost performance and battery life:

    * Linaro -O3 compiled (Linaro 4.8).
    * Overclocking
    * I disable tons of HTC debugging crap left enabled and needlessly consuming battery.
    * Improvements to the core locking code of the kernel.
    * Patches that transform traditional locks into RCU backed data structures.
    * CAF changes to power management to sleep faster and waste less CPU during suspend.
    * Improved code for moving data to/from user-space and manipulating strings within the kernel.
    * And tons of other patches such as scheduler improvements, I/O improvements, networking improvements, etc, etc, etc.

    Other features:

    * Voltage control (faux123) to allow user-space under-volting.
    * BFQ I/O scheduler.
    * Track upstream Linux changes

    Links

    A link to each version is included in the changelog entry. Scroll down to the changelog to download the latest version.

    Source (GitHub):
    * Kernel source
    * Build tools

    Installation Instructions:

    If you are S-OFF you can flash the update.zip in recovery.

    If you are S-ON, then after you flash the update.zip in recovery then, while still in recovery, you must run

    Code:
    adb pull /tmp/boot.img
    <reboot into bootloader>
    fastboot flash boot boot.img

    Changelog:

    Version 5.7.6: April 7, 2014: General Fixes, Linux 3.4.86
    * Linux version 3.4.86
    * Other changes, mostly have been merged into the CM kernel and I forget which changes weren't...

    Version 5.7.6: April 7, 2014: General Fixes, Linux 3.4.86
    * Linux version 3.4.86
    * Other changes, mostly have been merged into the CM kernel and I forget which changes weren't...

    Version 5.8.2: July 19, 2014: Upstream updates and security fixes
    * Patched up to linux 3.4.99 (latest version of as now)
    * Patched up to latest CM (fixes a couple of CVEs, not a whole lot else was missing)
    * Update some video bandwidth parameters

    Version 5.5.2: January 19, 2014: Linux 3.4.77, CM changes
    * CM changes include a fix for the cpu-boost driver, smooth streaming and governor fixes
    * Linux 3.4.77

    Version 5.4.2: January 5, 2014: Linux 3.4.75, I/O Optimizations, CM changes
    * CM changes may resolve lingering problems with min frequency set to max frequency.

    Version 5.3.7: December 20, 2013: Linux 3.4.74, WiFi Optimizations, cpufreq gov. changes
    * Linux 3.4.74
    * Various WiFi optimizations including using less battery when suspended
    * Removed ondemandCRP: It existed because it helped a2dp but, thanks to improvements upstream, this is no longer needed
    * cpufreq config scripts set the governor before the frequencies
    * ondemand: ignore io_is_busy, improves battery

    Version 5.2.11: December 7, 2013: Initial KK release: Linux 3.4.72, Optimizations
    * Linux 3.4.72
    * Various optimizations

    XDA:DevDB Information
    crpalmer-droid-dna-5.x, Kernel for the HTC Droid DNA

    Contributors
    crpalmer
    Kernel Special Features:

    Version Information
    Status: Stable

    Created 2013-12-07
    Last Updated 2014-07-19
    18
    Reserved

    init.d tweaks

    I created some scripts that run on boot (init.d) because I install my kernel so many times that I would go insane if I had to use an installer to configure it each time. By using these scripts and configuration files on the sdcard, I can just configure it once and keep installing away to my heart's content.

    After installing this kernel, there will be:

    /system/etc/init.d/99crpalmer

    run at boot, even if you switch to another kernel. It is safe to leave this file there and to let it run as it only makes changes if the kernel contains "crpalmer" in the version. If run with a kernel that contains crpalmer in the version, it will rename mpdecision so it can't run. If you install another kernel it will then rename mpdecision back so that it will run in the new kernel. In addition to stopping the built-in mpdecision it will allow the following tweaks:

    CPU Frequencies
    * Frequencies loaded from /sdcard/crpalmer-cpufreq-min and /sdcard/crpalmer-cpufreq-max
    * Governor loaded from /sdcard/crpalmer-cpufreq-governor
    * If you specify either or both of these frequencies, it will lock down all of the CPU frequency controls. I had to do this because HTC overrides them in a script that is run very late in the boot process (thanks HTC!).
    * E.g. adb shell su -c "echo 192000 > /sdcard/crpalmer-cpufreq-min"
    * E.g. adb shell su -c "echo 1728000 > /sdcard/crpalmer-cpufreq-max"
    * E.g. adb shell su -c "echo interactive > /sdcard/crpalmer-cpufreq-governor"

    Undervolting
    * + or - value loaded from /sdcard/crplamer-uv
    * The undervolting in 2.0.23 for FAST binned CPUs would be specified as:
    * E.g. adb shell su -c "echo -100 > /sdcard/crpalmer-uv"

    Lightsensor
    * My light sensor changes didn't sound like they worked well for everyone. If you don't like them you can disable them by:
    * E.g. adb shell touch /sdcard/crpalmer-stock-lightsensor

    HTC Colour "Enhancement"
    * If this file is present then the HTC's colour "enhancement" will be used, otherwise it will be disabled.
    * If this file contains the string "m7" then it will use one of the colour enhancement that was used in the M7 kernel for a panel most like ours.
    ** E.g. adb shell touch /sdcard/crpalmer-color-enhancement
    12
    New release:

    Version 5.5.2: January 19, 2014: Linux 3.4.77, CM changes
    * CM changes include a fix for the cpu-boost driver, smooth streaming and governor fixes
    * Linux 3.4.77
    10
    New version, sorry about the bad changelog but I mostly submit changes to CM these days and it's too hard to keep track of what I've done....

    Version 5.7.6: April 7, 2014: General Fixes, Linux 3.4.86
    * Linux version 3.4.86
    * Other changes, mostly have been merged into the CM kernel and I forget which changes weren't...
    9
    I didn't like smartmax anyway...made me feel like I had a droid incredible again. Very VERY smooth. This on crdroid with halo 2.0 is gold. Thanks for sticking with us. Fast charge would be nice, but I'm content.

    Do you take donations? Not trying to look haughty or anything...I truly don't know.

    Actually smartmax is gone from anything using the CM kernel, not just my kernel. I think crdroid is using their own kernel so it may still be left in there (it's up to them whether or not they cherry-pick my removal of it...).

    I don't accept donations. I do all my android work for fun and only for fun. Thanks for the thought though.