[Motorola Droid 4] joojoobee666:
This is a custom kernel based off of the CM12.0 Kernel that was created by stargo for Lollipop. Below is the list of features this kernel adds to the Stock CM12.x:

Over-clocking to 1.3 and 1.4Ghz

Additional Governors - InteractiveX, KToonservative, Lionheart, SmartassH3 and ZZMove)

Additional Schedulers - ROW, SIO, SIO Plus, VR and Zen

IntelliPlug driver - Hotplugging while sleeping for all governors (leave governor Hotplug disabled as this overrides)

I've included my SDSwap in separate zip as well here for folks who would like to swap sdcard0 and sdcard1 around (makes external SD card primary). This also includes a modified mount.exfat which fixes crashes caused by using large SD cards (>32GB). See links at the bottom.

Speeds up to 1.4Ghz. I have no issues with 1.4, but mileage may vary per device. Try the LV (Low Voltage) first. If this does not work, try the HV. If neither work, you may just have to use one that maxes out at 1.3Ghz.

Welcome RAZR users. :cool:

Changes:

Update: Sync with upstream: just some fixes for MM, OMM and SMP

Update: 10-04-15: Added SDSwap zip file.

Update: 09-22-15

Includes new BFQ I/O scheduler. This is supposed to improve some of the laginess. This is the new default I/O scheduler.

Includes a modified libthermal-manager.cfg. This appears to fix the issues with the CPU getting stuck at 1Ghz when using the "Interactive" governor.

Shortened name of files so it's easier to see the full file name from recovery.

Update: 07-25-15 - List of changes:

Includes an additional 410 kernel patches, bringing it much closer to 3.0.101

Ktoonsertative sampling_rate now defaults to 30000 (that's for you @septfox ;))

Update: 07-14-15 - Added an addtitional 75 upstream patches from 3.0.101 in general kernel, mmc, ext3, fat, drivers bass, power management and hwmon.

Update: 07-12-15 - Added an additional 14 mem manger patches bringing the total to 116. (All of these are now in the mainline CM12.x kernel/nightlies after 07-15)

Update: 07-09-15 - List of changes:

Fixed missing ZRam settings during build

102 patches included to the kernel memory manager from the mainline Linux kernel up to 3.0.101 (These are not in D4 CM12.x stock.)

Sync to upstream. This enables a 256MB ZRam with LZ4 compression (nightly for 07-08 and up)

New SDSwap to accompany here. (Note: sorted by date). This is ONLY required if you want to Swap SD Cards 0 and 1 and is needed for stock OR my kernel.

***Repeat: NOT REQUIRED for my kernel unless you want swap.***

Update: 07-08-15 - List of changes: Pulled. Missing ZRAM in config during build. Oopsie :eek: Links are dead for now, new build on the way with more patches.

Update: 06-18-15 - List of changes:

Sync with upstream. Mostly binder fixes in the IPC layer. You can see all the changes involved here.

Added ULV (Ultra-Low Voltage) option for all 1.4Ghz enabled kernels. These kernels run the 1.4Ghz frequency at 1.409v instead of 1.415 (LV) or 1.439 (HV). I noticed some throttling at times on 1.415 due to heat and this seemed to help. Obviously, not all devices are going to like this so if it doesn't boot, just use the normal voltage you have been using.

Update: 05-17-15 - Sync with upstream. Fix CPU Frequency policy from getting stuck when user & kernel min/max don't overlap.

Update: 05-15-15 - Sync with upstream. This includes the new CPU-BOOST driver @stargo added. This will be enabled with tonight's (05-16) nightly. You can use this with older builds but the driver will do nothing.

Update: 04-22-15 - List of changes:

Added IntelliPlug 3.8 support. This allows hotplugging independent of the governor chosen. Also, it currently will only shut down cpu1 when the screen is off. No SODs so far in testing and I notices a nice boost in battery life. I was initially using version 4.0, but this too caused SOD. Thanks to [MENTION=4287139]dtrail1[/MENTION], I've used a modified 3.8 that seems to make these Omap4's happy.

KToonServative governor adjustments: sampling_rate_min is now 15,000 (I'm looking at you, [MENTION=5521404]Septfox[/MENTION]), and hotplugging is force disabled as the setting the default flag does not work correctly. You cannot enable even if you wanted to for now. ;)

Update: 04-15-15 - List of changes:

Added Lionheart governor

Set default profile of ZZMove to 1, disabled Hotplugging

Sync to upstream: Use -O2 instead of -Os for faster zram and disk performance.

Update: 04-04-15 - List of changes

sync to upstream: disable memory resource controller for cgroups

Update: 03-26-15 - List of changes

Reduced 1.4Ghz LV voltage to 1.415 and increased 1.4Ghz HV to 1.439

Removed modified Power HAL since changes were merged into official CM device tree

Update: 03-20-15 - Updated all non fullscale 14 kernels. 1300 was left in but should not have been.

Update: 03-19-15 - List of changes

Added links for individual PowerHALs for maserati, spyder and umts spyder. See in downloads section below.

Added the following I/O schedulers: ROW, SIO, SIO Plus, VR and Zen

Added the following governors: InteractiveX, Ktoonservative, SmartassH3 and ZZMoove.

Updated all kernels with the new schedulers, governors and Power HALs. All kernels also contain the modded power HAL for Maserati, Spyder and UMTS Spyder.

All downloads now hosted at new location. Please let me know if any issues are encountered.

Update: 03-17-15 - List of changes

New download location thanks to @stargo : http://droid.cs.fau.de/jjb666/Kernels/

Work has begun on adding some additional governors, currently SmartAssH3 and InteractiveX are running. A test kernel is listed below. It's currently set for Full Scale 1.4Ghz and the default governor is still interactive.

Update: 03-09-15 - List of changes:

Included modified power hal module to better set some of the scale settings and add some logging.

Added options for full range of frequencies avail: 300Mhz, 400Mhz, 500Mhz, 600Mhz, 700Mhz, 800Mhz, 900Mhz, 1.0Ghz, 1.1Hgz, 1.2Ghz, 1.3Ghz and 1.4Ghz

Added Low Voltage and High voltage version of all 1.4Ghz enabled kernels (LV = Low Voltage 1.42, HV = High Voltage of 1.435)

Update: 03-04-15 - Added additional options (downloads at bottom):

Run 'N Gun - Has the following frequencies enabled: 300, 1Ghz, 1.2Ghz and 1.4Ghz

Run 'N Gun Lite - Has the following frequencies enabled: 300, 1Ghz, 1.2Ghz and 1.3Ghz

Update: 03-02-15

Max to 1.4Ghz.

Available speeds 300Mhz, 600Mhz, 800Mhz, 1.2Ghz and 1.4Ghz

02-26-15

Initial release.

Available speeds 300Mhz, 600Mhz, 800Mhz, 1.2Ghz and 1.3Ghz

Downloads:

12-05-15 CM12 Run 'N Gun Kernel ULV (Ultra-Low Voltage) (300Mhz, 1Ghz, 1.2Ghz and 1.4Ghz)

12-05-15 CM12 Run 'N Gun Kernel LV (Low Voltage) (300Mhz, 1Ghz, 1.2Ghz and 1.4Ghz)

12-05-15 CM12 Run 'N Gun Kernel HV (High Voltage) (300Mhz, 1Ghz, 1.2Ghz and 1.4Ghz)

12-05-15 CM12 Run 'N Gun Lite Kernel (300Mhz, 1Ghz, 1.2Ghz and 1.3 Ghz)

12-05-15 CM12 OC 1.3Ghz Kernel (300Mhz, 600Mhz, 800Mhz, 1Ghz, 1.2Ghz and 1.3 Ghz)

12-05-15 CM12 OC 1.4Ghz Kernel ULV (Ultra-Low Voltage) (300Mhz, 600Mhz, 800Mhz, 1Ghz, 1.2Ghz and 1.4 Ghz)

12-05-15 CM12 OC 1.4Ghz Kernel LV (Low Voltage) (300Mhz, 600Mhz, 800Mhz, 1Ghz, 1.2Ghz and 1.4 Ghz)

12-05-15 CM12 OC 1.4Ghz Kernel HV (High Voltage) (300Mhz, 600Mhz, 800Mhz, 1Ghz, 1.2Ghz and 1.4 Ghz)

12-05-15 CM12 OC Full Scale Lite 1.3Ghz Kernel (300Mhz, 400Mhz, 500Mhz, 600Mhz, 700Mhz, 800Mhz, 900Mhz, 1Ghz, 1.2Ghz 1.2Ghz and 1.3 Ghz)

12-05-15 CM12 OC Full Scale 1.4Ghz Kernel ULV (Ultra-Low Voltage) (300Mhz, 400Mhz, 500Mhz, 600Mhz, 700Mhz, 800Mhz, 900Mhz, 1Ghz, 1.1Ghz, 1.2Ghz, 1.3 Ghz and 1.4Ghz)

12-05-15 CM12 OC Full Scale 1.4Ghz Kernel LV (Low Voltage) (300Mhz, 400Mhz, 500Mhz, 600Mhz, 700Mhz, 800Mhz, 900Mhz, 1Ghz, 1.1Ghz, 1.2Ghz, 1.3 Ghz and 1.4Ghz)

12-05-15 CM12 OC Full Scale 1.4Ghz Kernel HV (High Voltage) (300Mhz, 400Mhz, 500Mhz, 600Mhz, 700Mhz, 800Mhz, 900Mhz, 1Ghz, 1.1Ghz, 1.2Ghz, 1.3 Ghz and 1.4Ghz)

12-05-15 CM12 Custom NON-OC RunNGun Kernel (300Mhz, 1Ghz and 1.2Ghz)

SD Card Swapper zip

10-05-15 SD Card Swapper

Older/Archived kernels can be downloaded here if needed: http://droid.cs.fau.de/jjb666/Kernels

Power HALs to correct speed setting issues (No longer needed as of 3/23 nightlies and 3/26 kernels)

power.maserati.so

power.spyder.so

power.umts_spyder.so

Disclaimer: You did it, not me. :cool:

XDA:DevDB Information

Custom 1.3Ghz and 1.4Ghz OC Kernel for Droid 4/RAZR on CM12, Kernel for the Motorola Droid 4

Contributors

joojoobee666, stargo, Hashcode

Source Code: https://github.com/JooJooBee666/android_kernel_motorola_omap4-common

Kernel Special Features: Overclock to 1.3Ghz and 1.4Ghz

Version Information

Status: Testing

Created 2015-02-27

Last Updated 2015-12-29