[KERNEL][UV][Linux 3.4.48] Harsh Kernel build June-10

Status
Not open for further replies.
Search This thread

nycelitemaster

Senior Member
May 11, 2007
1,364
403
Long Island, NY
Anyone know a kernel that doesnt modify much of system like harsh kernel. I dont want ramdisk mod.. Some plugs for core bla bla. Just kernel similar to harsh plus uv. Thx

Sent from my Nexus 4
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 190
    Hello guys n gals,

    This is Kernel for Nexus 4 should work on all ROMs if having unmodified RAMDISK. For sources visit my github
    It is CWM flashable zip file. So can be easily flashed.
    Those having kernels with modified RAMDISK and other things, do flash RESET kernel(provided by other great devs in their kernel thread) before flashing this kernel.

    harshkernel was made by me from google sources, and some extra tweaks for Personal USE.
    I do not have time to support like other devs, I am just sharing what I have made for myself as my daily driver.

    Well, our cpu are made at some quality standards. We have 4 different quality of cpu for apq8064 from Qualcomm. so depending on which one is on your phone it selects frequency table from slow, nominal, fast and faster.
    Google kernel source have same frequency table for fast and faster. So those with faster are not getting their extra advantage :crying:
    You can identify you CPU chip by below command in terminal.
    adb shell dmesg | grep PVS
    It will give you some output as given example below
    Code:
    adb shell dmesg | grep PVS
    [ 0.873920] acpuclk-8064 acpuclk-8064: ACPU PVS: FAST
    And faster binned CPU has lot to do with UV, when you look as frequency table of faster, it is already preconfigured to have lower voltages than fast, and lot lower than slow binned.
    Phones with faster binned should have better battery than slower binned phone out of box without any other configuration.
    And for UV its already hardcoded and can be adjusted by System Tuner app further. And OC I am not willing to add. Maybe will adjust frequency(underclock) later on but hardcoded and tested.

    Features:
    • Added support for people who have CPU with FASTER binning.
    • So now cpu supports Slow, Nominal, Fast and Faster.
    • UV accordingly to have best stability. min UV is 100 so also not so less either
    • Updated OnDemand and Interactive governor
    • Raw ioscheduler
    • Gamma control faux, also enabled init.d
    • HSIC wakelock fixed

    If you like it hit THANKS button.

    Download file is in AnyKernel format from koush, should work on all ROMs with unmodified RAMDISK
    harshkrnl build June-10 Linux 3.4.48 Link: DOWNLOAD

    No update to boot.img from now on, cant upload stuff as fast as before. Slow internet :(
    Boot Image Feb-20 (build with new 4.2.2 ramdisk): http://d-h.st/7vB

    Google's 4.2.2 Stock kernel with UV, Gamma and faux's Sound. Nothing more nothing less.
    Download Link: http://d-h.st/8z8

    boot images will not be updated, as having very few downloads :D... maybe those who use it are senior members and can pack by their own if required.

    sourcecode
    129
    And for Gamma Controlling using init.d script or using terminal.

    Examples to learn about it.
    LG Preset Undercover
    Code:
    #!/system/bin/sh
    
    # First we set colors
    echo "255 255 255" > /sys/devices/platform/kcal_ctrl.0/kcal
    
    # Now Gamma, need to change values at place 6 and 7 only
    # value at 6 is amp0 and at 7 is amp1
    # kgamma_r is for red, g for green and b for blue
    
    # values amp0 and amp1 are located below $$$$
    # ---------------------$$$$$-----------
    echo "208 114 21 118 0 [B][COLOR="Red"]20 00[/COLOR][/B] 80 48 2" > /sys/devices/platform/mipi_lgit.1537/kgamma_r
    echo "210 114 21 118 0 [B][COLOR="red"]19 00[/COLOR][/B] 80 48 2" > /sys/devices/platform/mipi_lgit.1537/kgamma_g
    echo "212 114 21 118 0 [B][COLOR="red"]19 00[/COLOR][/B] 80 48 2" > /sys/devices/platform/mipi_lgit.1537/kgamma_b
    # undercover's LG Preset values :D, thank you.

    My kernel defaults, Google Preset
    Code:
    #!/system/bin/sh
    
    # First we set colors
    echo "255 255 255" > /sys/devices/platform/kcal_ctrl.0/kcal
    
    # Now Gamma, need to change values at place 6 and 7 only
    # value at 6 is amp0 and at 7 is amp1
    # kgamma_r is for red, g for green and b for blue
    
    # values amp0 and amp1 are located below $$$$
    # --------------------$$$$$-----------
    echo "208 64 68 118 1 [COLOR="red"][B]04 02[/B][/COLOR] 48 32 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_r
    echo "210 64 68 118 1 [B][COLOR="red"]00 00[/COLOR][/B] 48 32 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_g
    echo "212 32 35 116 0 [B][COLOR="red"]26 16[/COLOR][/B] 80 51 3" > /sys/devices/platform/mipi_lgit.1537/kgamma_b
    # Harshkernel default settings

    Values marked in RED color are only values you need to change while using this script.
    and all these echo commands you can use it in terminal too, or you can run script from terminal.

    I am providing scripts here, so you can directly download it to your mobile phone. Remove txt extention, and put it in /system/etc/init.d folder, and set permissions.

    XDA:DevDB Information
    [KERNEL][UV][Linux 3.4.48] Harsh Kernel build June-10, a Kernel for the Google Nexus 4

    Contributors
    Harsh
    Kernel Special Features: Kernel for JB 4.2.2

    Version Information
    Status: Stable

    Created 2013-08-22
    Last Updated 2013-08-22
    65
    Changelog:
    Build June-10
    Linux 3.4.48

    Build May-15
    Linux 3.4.45
    Faux's Sound 2.1
    Don't break whats not broken :D

    Build Mar-21
    Linux 3.4.37

    Build Mar-12
    Linux 3.4.35
    Faux's Sound Control

    Build Mar-01
    Linux 3.4.34
    Disable few wifi debug

    Build Feb-24
    Linux 3.4.33
    Upgrade to Graphics Driver from caf
    More HSIC Patches from caf

    Build Feb-20
    Linux 3.4.32
    Updated RAW to latest caf source

    Build Feb-16
    Linux 3.4.31
    Sync with Google 4.2.2 sources
    New video drivers from google
    1st India Edition

    Build Feb-05
    Linux 3.4.29
    Compiled from new setup of my Laptop

    Build Feb-03
    More changes to UV
    Added latest fixes by Google

    Build Feb-01: Safe UV
    Safe UV by Skkip (UV accordingly so that stability is priority)

    Build Jan-29: Gamma
    Added Gamma control possibility using script or terminal
    Step forward in CLEANER device (no kernel controlling apps)

    Build Jan-28
    Linux 3.4.28
    Nothing much
    Uploaded 2 builds (Normal and Lower UVed)

    Build Jan-24 -fixed
    Linux 3.4.27
    Added westwood+ and set as default
    Removed some of logging and debugs
    And UV is now -100 mV across the board as per many requests.
    Fixed TouchControl from my previous mess-up.

    Build Jan-22
    TouchControl Supported now.
    Gamma control added, and also tweaked inside kernel
    Removed some IO schedulers
    Removed some unnecessary debugging

    Build Jan-20
    Updated to Linux 3.4.26
    Camera driver tweak testing (not proven improvement but does not harm either)
    Enabled CIFS suddenly I had need for this one

    Build Jan-18
    Interactive Governor is now fixed
    OnDemand is set as default (use trickster app to select Interactive governor).

    Build Jan-16
    More changes to RAW io scheduler from caf
    Update to Linux 3.4.25
    And smoothness of Jan-15 continues :D

    Build Jan-15
    More tuning outside kernel code(compiler) for better smoothness.
    Secret (its not kernel thing, so no GPL code) ;)

    Build Jan-11
    RAW iosched patches from caf
    Update interactive gov from google (plz dont use it yet)
    Build with gcc46 again to test. (previous build was gcc47)
    More caf patches

    Build Jan-07
    Showp-1984's suggested touchscreen fix
    Everything same as below. Its just for touchscreen fix

    Build Jan-05 L2
    Updates to L2 table
    Try2 on 3g data fix (no reverts on hsic wakelock fix, its still there)
    Been testing this build since yesterday on 3g with sweep2wake enabled consumed my 1/3 of monthly data and had no problems. 23h 7m all on 3g - s2w enabled, with 1h 50m screen on. Battery currently at 23%

    Build datatest
    Lots of changes look for my github IPA branch for it. :D

    Build Jan-03
    Disabled sweep2wake by default (can be enabled by various apps)
    Add support for krait cores retention (low power mode cpu core voltage handling changes)
    Added Internet Protocol Accelerator (testing phase, data is working do not worry :p)

    Build 0201
    Added ROW iosched and set as default
    Removed some governors (ondemand is default and preferred)
    Qualcomm Secure Execution Environment Communicator fixes which were missed out before.

    Build 3012
    better 3g battery proven from last version
    Better cpufrequency management
    Changes in Omdemand for above :good:
    last version for year 2012
    Happy New Year.... Once again :laugh:

    Build 2912
    test for HSDPA battery consumption
    Probably last version for year 2012 (going Paris tomorrow)
    Happy New Year....

    Build 2812
    Fixed msm_hsic_host wakelock
    Edit: 2nd Attempt to fix hsic wakelocks

    Build 2712
    Completely Cleaned all remaining Qualcomm InKernel mpdecision traces
    Should be perfectly stable now.

    Build 2512
    Merry xmas
    Reverted back to original mpdecision (thanks showp-1984 and Imperticus)
    Added Sweep2Wake (thanks again showp-1984 genius :highfive:)
    Warning: Sweep2Wake only active for bottom part of screen (navigation bar area)

    Build 2212
    Updated Latest OnDemand governor from codeaurora
    Codeaurora mpdicision InKernel Solution (possible to set max frequency below project butter :D)
    InKernel mpdicision is new approach from Codeaurora sources and not similar to show-p1984(s2w salute :cowboy:)

    Build 2212
    Merged kernel.org Linux 3.4.x upto latest current Linux 3.4.24
    Updated prima wifi drivers "prima: release 3.2.1.13"

    Build 1912
    CPU Binning Names added back. No more numbers ;)
    Color can be set using Franco's Display Control or Trickster Kernel MOD

    Build 1812
    Build Using more msm CPU oriented flags
    Enable Voltage control (using System Tuner app from market)
    Thanks Faux and motley for that. :good:

    Build 1612
    Added UV for all 4 frequency table slow, nominal, fast and faster
    UV added accordingly to maintain stability for all.
    As I have NOMINAL CPU, its tested on that only :D

    Build 1512
    Add support for FASTER PVS bin
    Support selecting different PVS tables
    Lower VDD_DIG voltage vote for L2
    Color calibrated to my own liking (reduced yellow screen effect)

    If you like it hit THANKS button.
    44
    Guys new build updated

    Changelog Build Feb-20:
    Linux 3.4.32
    Updated RAW to caf latest sources

    Download links in 1st page OP.

    As usual, If you like my work, hit thanks :D
    44
    Crossing fingers for the new build :eek:

    New build uploaded :D

    Build Feb-24 Changelog in post 2....

    And download link in Post1.... sorry friends no upload of boot.img as my internet upload speed is about 20kbps, very slow.

    If you like my kernel or download it, hit thanks :D