[Kernel][AOSP][05/23/13][001] KozmiKKernel [CPU OC][GPU OC]

Search This thread

poczynek

Senior Member
Jul 10, 2012
1,892
791
Sydney
Correct. Mine is 3 as well. And for this kernel I use a single table for all variants based on my device.

I'll do more tweaking in the future but for now this is a bit of room for adjusting voltages. Its not nearly as tightly configured as my one x kernel yet.

Sent from my HTC One using xda premium

Thank you. Do you think it's worthwhile going below 384?

Sent from my HTC One using xda premium
 

n3ocort3x

Senior Member
May 10, 2012
5,859
10,822
Vienna
@kozmikkick

ICJ needs:
export ANDROID_CACHE /data in init.rc
CM builds doesent need it, and causing FC on startup if the line is in Ramdisk. On rootbox, and aokp it doesent matter if its there or not.
 

kozmikkick

Senior Member
Nov 26, 2010
1,278
1,215
Seattle, WA
Note:

Any and ALL errors or issues getting this to work are either rom or user related.

If you have issues. LEARN to repack. And by learn I mean do it yourself and not using an online repacking service. Those services are not setup for this device yet.


Sent from my HTC One using xda premium
 

kozmikkick

Senior Member
Nov 26, 2010
1,278
1,215
Seattle, WA
Check out my elementalx kernel for the Motorola xoom, it has a universal installer that injects the zimage into existing boot.img so it's compatible with anything. Very simple script.

I'll take a look at it. Should just involve coping the boot.img to tmp dir extracting it and repacking with the new kernel.

Thanks for the help.

Sent from my HTC One using xda premium
 

Freak07

Recognized Developer / Recognized Contributor
Jan 2, 2011
6,441
23,039
May i ask where you guys are getting the icj builds for the m7? :)

Edit: nvm. Neos signature :)

Sent from my HTC One using xda premium
 
Last edited:

Freak07

Recognized Developer / Recognized Contributor
Jan 2, 2011
6,441
23,039
Pretty easy to build as well ;)

Sent from my HTC One using xda premium

Yeah did a few builds for the one x but didn't knew icj existed for the m7.
I go and give it a try when I got time :) are there any instructions? :D

Sent from my HTC One using xda premium
 

dc4

Senior Member
Aug 4, 2006
214
42
Vancouver
I'd be grateful if you could add dt2w as well, its my go to move to wake the device and I'm missing it badly.

Sent from my HTC One using xda premium
 
  • Like
Reactions: poczynek

crzykiller

Senior Member
Sep 20, 2012
632
252
Hi I was wondering if you can incorporate the MSM-DCVS governor into this kernel. Also I don't know why but when using any other governor besides performance games lag a lot. After tweaking the on demand governor I made it stop the lag but for other people they might not know how to do it. Besides those two things, games run like butter compared to sense ROMs and their kernels and the stock kernel running ice cold jelly. Haven't gotten to test battery life as I just installed but looking forward to it :D
 

Top Liked Posts

  • There are no posts matching your filters.
  • 14
    KozmiKKernel​


    Features:
    Custom User Voltage Control - Faux123
    Max GPU OC 450mhz - Faux123
    Max CPU OC up to 2096 ghz
    Min CPU 48mhz
    Linaro/Arm optimizations - showp1984
    Governors: Interactive (default), Ondemand, Conservative, Smartmax, Performance
    I/O Schedulers: Row (default), Deadline, CFQ, SIO, FIOPS

    Touchscreen Magic: h2w/l2w/s2w/logo2menu/long tap sleep - Tbalden


    Faqs:

    Initial min cpu freq is 192mhz and max cpu freq is 1782. If you want to raise the or lower the freqs you may do so with virtually any cpu manager.

    This kernel uses a unified frequency table which means that the better your cpu variant is the more you will be able to undervolt and likewise the worse your variant is the less you'll be able to undervolt. ;)

    This may blow your phone up, bring the end of the world, or otherwise devastate your life. I claim zero responsibility as I did not make you flash this on our phone.

    Before flashing it is advised to remove all undervolting scripts and anything that modifies the cpu/gpu on boot. This kernel uses dvfs/voltages not currently used in other kernels for this device. Not removing said scripts may very easily result in boot loops.

    This is forked off CyanogenMod/android_kernel_htc_m7. Hence any issues that are kernel related with Cyanogenmod are possibly broken here. Can always try and find out ;)


    Downloads:

    001


    Installation:

    Flash zip in recovery. If you have any issues you may need to repack the kernel. However this should not be necessary.


    Github (Source):
    My Source


    Benchmark:
    Will come in awhile...


    Credits:
    CyanogenMod
    LorDClockaN
    Faux123
    Showp1984
    Tbalden
    Flemmard
    and many others as per Change Log ;)
    5
    here a repacked kernel for cm 10.1 with ramdisk from build 20130528, please try and report me -> pm. http://www.rootstyle.de/kozmik_cm_kernel.zip
    4
    Change Log:

    4e6fef2 2013-05-23 Timothy Nelson (HEAD, origin/kozmikkernel, kozmikkernel) KozmiKKernel: Updating defconfig
    2001050 2013-05-23 Timothy Nelson mach-msm: msm-config: Setting VDD_MEM_MAX & VDD_DIG_MAX back to stock 1150000
    7ad9f9f 2013-05-23 Timothy Nelson GPU OC: 450mhz
    230c132 2013-05-23 Timothy Nelson cpufreq: Adding back in trace_cpu_up_frequency & trace_cpu_down_frequency,
    35d2c2e 2012-12-15 Shaohua Li block: fiops add some trace information
    039e4e7 2012-12-15 Shaohua Li block: fiops bias sync workload
    5741035 2012-12-15 Shaohua Li block: fiops preserve vios key for deep queue depth workload
    1bb4b04 2012-12-15 Shaohua Li block: fiops add ioprio support
    fac0928 2012-12-15 Shaohua Li block: fiops sync/async scale
    be622ce 2012-12-15 Shaohua Li block: fiops read/write request scale
    dfc63ba 2012-12-15 Shaohua Li block: fiops ioscheduler core
    5f67a64 2013-05-23 Timothy Nelson mach-msm: msm_dcvs: Increasing DCVS_MAX_NUM_FREQS.
    2ee1e3f 2013-05-23 Timothy Nelson mach-msm: acpuclock-8064: Removing extra #endif added on accident.
    fc9a4c9 2013-04-28 Timothy Nelson drivers: cpufreq: cpufreq_ondemand: Switching from using trace/events/cpufreq_interactive.h to trace/events/cpufreq_ondemand.h. In addition to reverting bac
    eed152a 2013-05-19 Timothy Nelson mach-msm: acpuclock-8064: Adding 48000 and 96000 L2 Freq and CPU Freq
    f670ecf 2013-05-08 Timothy Nelson mach-msm: acpuclock-8064: Adjusting freqencies.
    2742c04 2013-04-30 Timothy Nelson mach-msm: msm-config: Setting min freq to 192mhz
    6263514 2013-05-08 Dennis Rassmann mach-msm: Overlclocking: Changing to use one singular freqency table. And adding min freq setup for 192mhz.
    1a90946 2013-04-30 Dennis Rassmann mach-msm/cpufreq: set safe frequencies from config
    e776ce0 2013-04-30 Timothy Nelson mach-msm: Setting initial max and min freq from a central file include/mach/msm-config.h
    66b13db 2012-11-22 faux123 Overclocking: limit initial max to system default
    5fab39d 2013-04-30 Timothy Nelson mach-msm: acpuclock-krait: Switching VDD MIN/MAX to call values from include/mach/msm-config.h
    5e679e2 2013-04-28 Timothy Nelson mach-msm: Switching to using custom msm-config.h
    de774d1 2013-04-23 Timothy Nelson KozmiKKernel: mach-msm: KozmiK OC
    2e4a7b4 2013-01-21 Gokhan Moral Add SIO I/O scheduler
    1261d4e 2013-05-14 Timothy Nelson KozmiKKernel: Updating updater-script to flash boot.img in recovery
    80869ff 2013-05-15 Chad Froebel bluetooth: Fix unusued variable warnings in bluesleep_bcm
    1abf72c 2013-04-03 faux123 Voltage Control: allow for lower minimums
    17024e5 2012-11-22 faux123 Voltage Control: add sysfs interface
    c17b964 2012-11-22 faux123 Voltage Control: initial voltage control for MSM S4-Pro SOC
    f8b7f14 2013-05-19 Timothy Nelson KozmiKKernel: Updating defconfig
    bb148e6 2012-09-24 Dennis Rassmann fix gcc4.7 compile
    592bef9 2013-04-28 Paul Reioux kernel/power/main: fix #ifdef derp by HTC :p
    95aeec1 2012-12-05 Dennis Rassmann fix: warning: 'dport' may be used uninitialized in this function
    ee3a596 2012-12-05 Dennis Rassmann fix: warning: 'sport' may be used uninitialized in this function
    5cc5e23 2012-12-05 Dennis Rassmann fix: warning: 'protocol' may be used uninitialized in this function
    ce271b6 2012-12-05 Dennis Rassmann fix: warning: 'daddr' may be used uninitialized in this function
    e27750c 2012-12-05 Dennis Rassmann fix: warning: 'saddr' may be used uninitialized in this function
    8fcd2b9 2012-12-05 Dennis Rassmann fix: warning: 'dport' may be used uninitialized in this function
    2b6518ed 2012-12-05 Dennis Rassmann fix: warning: 'sport' may be used uninitialized in this function
    1607a57 2013-03-10 Dennis Rassmann drivers/media/common/tuners/xc4000: initalize hw_major/minor and fw_major/minor
    fd71403 2012-12-18 Dennis Rassmann drivers/media/common/tuners/xc4000: fix 'warning: '...' may be used uninitialized in this function'
    70c617b 2013-05-19 Timothy Nelson KozmiKKernel: Adding defconfig
    bbd4cc4 2013-05-19 Timothy Nelson KozmiKKernel: Adding Build scripting
    7fc8a77 2013-05-17 tbalden (master) defconfig: remove HTC perflock and htc pnp manager
    0215fac 2013-05-16 tbalden synaptics: fix touchscreen getting stuck with h2w/l2w/s2w
    3df711c 2013-05-15 Ethan Chen msm: m7: free requested RCV_PAMP GPIO
    3b0ebdc 2013-05-15 Ethan Chen ASoC: Squashed commit reverting all changes for RCV AMP usage
    fb7673a 2013-05-15 Ethan Chen Merge "ASoC: re-enable RCV_AMP gpio_request code, Linux kernel style cleanup" into cm-10.1
    bad2c54 2013-05-15 Ethan Chen Merge "msm_serial_hs: bulk update from CodeAurora" into cm-10.1
    55c5c93 2013-05-14 Ethan Chen ASoC: re-enable RCV_AMP gpio_request code, Linux kernel style cleanup
    23fe3ac 2013-01-08 Subhash Chandra Bose Naripeddy ASoC: msm: Decrease the playback period size of PCM driver
    715cb71 2012-12-14 Phani Kumar Uppalapati ASoC: msm: Modify min and max period bytes and num periods
    4f5314d 2012-11-19 Mingming Yin ASoC: msm: reduce period_bytes_min for voice call
    7418f59 2012-08-24 Aviral Gupta ASoC: msm: Modify default buffer params of compressed driver
    f3dc5b7 2012-09-21 SathishKumar Mani msm-pcm-q6: Add support for flexible recording period size
    c5c5776 2012-09-11 SathishKumar Mani ASoc: msm: Increase default buffersize to 4k for audio playback
    3fee4ed 2013-05-14 Ethan Chen msm_serial_hs: bulk update from CodeAurora
    4742be6 2013-04-16 Minsung Kim cpufreq: interactive: fix uninitialized spinlock
    1c3cb04 2013-03-21 Todd Poynor cpufreq: interactive: base above_hispeed_delay on target freq, not current
    6d4a3ec 2013-03-20 Todd Poynor cpufreq: interactive: fix crash on error paths in get_tokenized_data
    bc9de2f 2013-02-22 Lianwei Wang cpufreq: interactive: add io_is_busy interface
    ec7cf89 2013-02-25 Minsung Kim cpufreq: interactive: allow arbitrary speed / delay mappings
    87ebb83 2012-10-10 Steve Kondik cpufreq: interactive: Enable CPU utilization statistics
    fda5f5e 2013-01-07 Lianwei Wang cpufreq: interactive: fix race on governor start/stop
    7ca8344 2013-01-02 Todd Poynor cpufreq: interactive: fix deadlock on spinlock in timer
    205f508 2012-12-23 Todd Poynor cpufreq: interactive: don't handle transition notification if not enabled
    89eaca7 2012-12-21 Todd Poynor cpufreq: interactive: init default values at compile time
    db6fdc3 2012-12-21 Todd Poynor cpufreq: interactive: default go_hispeed_load 99%, doc updates
    0469bbf 2012-12-20 Todd Poynor cpufreq: interactive: fix race on timer restart on governor start
    11befdc 2012-12-18 Todd Poynor cpufreq: interactive: fix racy timer stopping
    01307bc 2012-12-19 Todd Poynor cpufreq: interactive: fix boosting logic
    fb7c5d8 2012-12-18 Todd Poynor cpufreq: interactive: add timer slack to limit idle at speed > min
    bbba813 2012-12-14 Todd Poynor cpufreq: interactive: specify duration of CPU speed boost pulse
    767da94 2012-12-11 Todd Poynor cpufreq: interactive: adjust load for changes in speed
    3d16c70e 2012-12-07 Todd Poynor cpufreq: interactive: remove load since last speed change
    d2f897d 2012-11-14 Todd Poynor cpufreq: interactive: allow arbitrary speed / target load mappings
    9476a3f 2012-11-08 Todd Poynor cpufreq: interactive: apply above_hispeed_delay to each step above hispeed
    2170855 2012-11-28 Todd Poynor cpufreq: interactive: change speed according to current speed and target load
    63b49f7 2012-11-28 Todd Poynor cpufreq: interactive: trace actual speed in target speed decisions
    a1c52c2 2012-10-08 Todd Poynor cpufreq: interactive: kick timer on idle exit past expiry
    0bd291d 2012-11-01 Lianwei Wang cpufreq: interactive: use deferrable timer by default
    46aacf9 2012-11-05 Todd Poynor cpufreq: interactive: pin timers to associated CPU
    427f5f3 2012-10-03 Todd Poynor cpufreq: interactive: run at fraction of hispeed_freq when load is low
    7eaf0ba 2012-09-24 Todd Poynor cpufreq: interactive: always limit initial speed bump to hispeed
    64e3b1d 2012-07-16 Todd Poynor cpufreq: interactive: remove input_boost handling
    1c36d96 2012-07-16 Todd Poynor cpufreq: interactive: handle speed up and down in the realtime task
    2b6f41b 2012-06-27 Sam Leffler cpufreq: interactive: keep freezer happy when not current governor
    1c77c67 2012-06-27 Sam Leffler cpufreq: interactive: take idle notifications only when active
    7feb9ee 2013-05-14 Ethan Chen Revert "cpufreq: fix interactive bug during hotplug."
    4299418 2012-11-01 Narayanan Gopalakrishnan msm: cpufreq: increase priority of thread that increases frequencies
    6cf3006 2013-03-11 Praveen Chidambaram Revert "msm: cpufreq: Remove cross-calling limitation"
    766cdc2 2012-12-13 Anji Jonnala msm: cpufreq: Implement suspend/resume for cpufreq driver
    6eb067c 2012-09-18 Praveen Chidambaram msm: cpufreq: Remove cross-calling limitation
    3ac50bd 2012-07-17 Narayanan Gopalakrishnan msm: cpufreq: fix a race between hotplug and cpufreq
    87f560f 2013-05-14 Ethan Chen m7: build modules into kernel where possible
    06f338b 2013-05-13 Ethan Chen net: wireless: enable HTC beacon functions only for BCMDHD_4335
    096a4f8 2013-05-13 Steve Kondik bluetooth: Fix race conditions in BT LPM
    595c90c 2013-05-13 Steve Kondik bluetooth: Add low-power mode to support Bluedroid
    dacc7b4 2013-05-13 Ethan Chen msm: m7: set GPIOs used by msm_serial_hs
    ad4a265 2013-05-13 tbalden synaptics: fix touch screen to not report events when ts is off
    c152246 2013-05-12 Daniel Hillenbrand Merge "m7: use interactive as the default CPU governor" into cm-10.1
    4dff2f8 2013-05-12 Daniel Hillenbrand Merge "m7: use ROW as default IO scheduler" into cm-10.1
    ef460f3 2013-05-12 Ethan Chen m7: use interactive as the default CPU governor
    ce137db 2013-05-12 Ethan Chen m7: use ROW as default IO scheduler
    3a1c468 2013-05-12 Daniel Hillenbrand Merge "m7: use Google AOSP bcmdhd" into cm-10.1
    ba4b7da 2013-05-12 Daniel Hillenbrand Merge "net: wireless bcmdhd: Update to version 1.88.16" into cm-10.1
    b69b2fb 2013-05-12 Ethan Chen m7: use Google AOSP bcmdhd
    976345c4 2013-05-12 Ethan Chen net: wireless bcmdhd: Update to version 1.88.16
    e935f66 2013-05-12 Daniel Hillenbrand cpufreq: bulk update from caf, restore comments, disable 2 phase ondemand
    8de55d7 2013-05-12 tbalden synaptics: logo2menu: fix remaining use cases for long tap sleep
    7c64c21 2013-05-12 Daniel Hillenbrand Merge "Block (Squashed commit of msm-3.4 updates)" into cm-10.1
    b93f0c1 2013-05-12 Daniel Hillenbrand Merge "logo2menu: adding option to sync on/off input events separately" into cm-10.1
    5b1a174 2013-05-12 tbalden logo2menu: adding option to sync on/off input events separately
    b9c4498 2013-05-12 Daniel Hillenbrand Merge "board-m7-gpu: Increase bus freq at lowest GPU frequency" into cm-10.1
    0ec5cc5 2013-05-12 Andrew Dodd board-m7-gpu: Increase bus freq at lowest GPU frequency
    26ac4ec 2013-05-11 tbalden soc msm: lowering gain level and steps to avoid distortion
    504fa2e 2013-05-11 Daniel Hillenbrand Merge "remove extraneous gpio_free() call" into cm-10.1
    6517ff5 2013-05-11 Daniel Hillenbrand pm8xxx-vibrator: reduce logspam
    6442e86 2013-05-10 Nicholas Flintham Block (Squashed commit of msm-3.4 updates)
    8331fbb 2013-05-11 tbalden Adding Touchscreen magic: h2w/l2w/s2w/logo2menu/long tap sleep
    8649a33 2013-05-09 Roman Birg remove extraneous gpio_free() call
    b16cc68 2013-05-10 tbalden defconfig: enable cpu freq stats
    d1af028 2013-05-10 Daniel Hillenbrand m7: rename defconfig to cyanogenmod_m7_defconfig, add stock defconfig back
    83c04e7 2013-05-10 Daniel Hillenbrand m7: set localversion
    82c1e77 2013-05-10 Daniel Hillenbrand add vfe iommu domains back
    4f518aa 2013-05-09 h8rift rt5501: adjust amp value for wired headset and headphones
    b855ad5 2013-05-08 h8rift Merge pull request #1 from mrbirdman/cm-10.1
    615aad2 2013-05-06 Daniel Hillenbrand m7: reduce initial voltage level for vibrator from 2700 to 1700
    42849f8 2013-05-06 Daniel Hillenbrand media: apply camera changes from 1.29.401.2_R
    4cb1ab0 2013-04-26 Chad Froebel rt5501: Reduce gain to -6dB, turn additonal noise gate on
    3d40e4d 2013-05-05 detule ion: ioctl compatibility with userland using old api
    b6702c7 2013-05-05 Daniel Hillenbrand pm8xxx-vibrator: show raw voltage level without strings
    c701879 2013-05-05 Daniel Hillenbrand defuxx usb, break all teh things
    ec746aa 2013-05-03 Daniel Hillenbrand m1: update defconfig
    df67b97 2013-05-03 Chad Froebel Add bluedroid compatible bluesleep and utilize it.
    644e4ac 2013-05-03 Chad Froebel board-m7: Rename msm_serial_hs_brcm to msm_serial_hs.
    9130386 2013-05-03 Christopher R. Palmer bluetooth: bulk update to the CAF drivers
    743d215 2013-05-02 Daniel Hillenbrand msm_rotator: bulk update from caf
    18d15f2 2013-05-02 Daniel Hillenbrand Kbuild: copy msm headers
    25efde3 2013-05-02 Daniel Hillenbrand gadget: enable adb by default
    5e9d07e 2013-05-01 Nicholas Flintham update defconfig
    84721e4 2013-04-21 tbalden Fixing earpiece amplification in call.
    61f26b2 2013-04-30 Flemmard get rid of hci_get_drvdata
    488f4a6 2013-04-30 Flemmard iommu and ****.
    8c6a490 2013-04-30 Nicholas Flintham kgsl and video/msm from msm8960 2.5 branch
    7e09f37 2013-04-11 Flemmard Init wfd writeback panel later ..
    8c63c96 2013-04-11 Flemmard More clock changes for iommu
    877127b 2013-04-11 Flemmard msm-3.4 (commit 35cca8ba3ee0e6a2085dbcac48fb2ccbaa72ba98) video/gpu/iommu .. and all the hacks that goes with that
    c72185d 2013-04-11 Flemmard m7-gpu: add adreno versioning logic according to soc
    9c2fa24 2013-04-10 Flemmard Oh, and m7_defconfig too ..
    fd04ea2 2013-04-10 Flemmard A bunch of crap. initial dcvs, some hacks in f_projector, a hack delaying writeback_panel init so that device one is inited first, some missing files, some board/d
    91237d1 2013-04-10 Flemmard Updated iommu/msm_bus
    7be7734 2013-04-10 Flemmard Second row
    fe2ecc3 2013-04-10 Flemmard First raw of porting old to new ion api calls
    9fc1014 2013-04-10 Flemmard Copied caf 2.5.1 video/gpu genlock and rotator [WIP]
    1e3d311 2013-04-10 Nicholas Flintham Initial commit from HTC m7ul-3.4.10-jb-crc-ddcfb8c
    117af06 2013-04-10 Flinny Initial commit
    2
    Those guys with the NFC FC problem on kernel:

    Its one line responsible for cache handling in Ramdisk

    export ANDROID_CACHE /data, extract the kernels ramdisk and delte this line if u are on a CM build. If u are on a build like rootbox, aokp or ICJ, leave it as it is. That solves ur problems :)
    2
    Can't wait to eventually try this kernel, I'm just waiting till the AOSP ROMs become more optimized and bug free. I imagine the min 48 will be nice for the battery :)

    Sent from my HTC One

    Only real issue is bluetooth in aosp right now. Everything else is pretty minor if at all.