[Motorola Droid 4] joojoobee666:
This is a custom kernel for D4/RAZR based off of the CM13.0 Kernel that was created by [MENTION=3457922]stargo[/MENTION] for Marshmallow. Below is the list of features this kernel adds to the Stock CM13 kernel:

Over-clocking to 1.3 and 1.4Ghz

A special SELinux permissive kernel (here's looking at you [MENTION=4885896]daniel_m[/MENTION])

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)

Additional frequency and scaling scaling options:

RunNGun - all frequencies between 300Mhz and 1000Mhz removed.

Full Scale - all frequencies (in steps of 100Mhz) enabled up to max speed kernel supports

*** All are labeled in the downloads section below ****

Additional Voltage Options for 1.4Ghz frequency: HV (High Voltage), LV (Low Voltage) and ULV (Ultra-Low Voltage)

LMK optomizations thanks to [MENTION=309785]u.b.o.o.t[/MENTION].

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

I've included my SDSwap in separate zip as well here for folks who would like to swap the internal and external SD storage devices around (makes external SD card primary storage as opposed to internal). See links at the bottom. NOTE: You should NOT remove the card while booted when using this as there is no way to safely unmount when booted.

If you need to remove the SDSwap, there are three methods to do so:

Boot to recovery and simply reinstall the ROM you are running do NOT reinstall.

Upgrade to the latest ROM and do NOT reinstall.

Extract the the ramdisk.img file from the current ROM zip from /system/etc/kexec and overwrite the ramdisk.img on your device while either booted in recovery (mount /system first) or booted in the ROM, then reboot.

Kernel Changelog:

2017-10-02: Fixed missing f2fs module.

2017-10-01: Sync to upstream and rebase: 47 fixes, securit patches and cleanup

2017-02-20: Fixed issue causing install to fail.

2017-02-19: Sync to upstream: 10 security fixes and one reversion. *PULLED*

2016-12-11: Sync to upstream: 2 security fixes, one to patch CVE-2016-8655 the other is to patch old ABI handling.

2016-11-30: Sync to upstream: Security fix to disable ION contig heap

2016-11-08: Sync to upstream: 9 patches

3 ALSA security/stability patches

2 Event/Audit log security/statbilty patches

3 Block related stability patches

1 HID stability update

2016-10-30: Sync to upstream: 7 more security patches

2016-10-23: Sync to upstream: patch for CVE-2016-5195

2016-10-11: Sync to Upstream: 2 security fixes

2016-10-10: Updated LMK patches with latest changes from [MENTION=309785]u.b.o.o.t[/MENTION] essentially moving to the 2.2 version.

2016-10-06: Updates

Fixed missing modified libthermal-manager.cfg.

Added in kernel modules found in /system/lib/modules in the event these get updated but you aren't running the latest CM

2016-10-02: Updates:

Sync to upstream: 6 security related updates

Added Low Mem Killer (LMK) optimizations from [MENTION=309785]u.b.o.o.t[/MENTION]. See his thread here for more info.

2016-07-15: Sync to upstream: 2 more security fixes

2016-06-28: Sync to upstream: 4 more security fixes.

2016-06-25: Sync to upstream: KSM (Kernel Same-page Merging) fixes to improve power management.

2016-06-05: Sync to upstream: USB-fix potential infoleak in devio

2016-05-17: Sync to upstream: 6 more security/bug fixes dealing with Alsa, networking and input.

2016-05-10: Sync to upstream: one small USB security related fix.

2016-05-08: Sync to upstream: just more security and bug fixes.

2016-05-03: Updates:

Sync to upstream:Over 170 small bug fixes, the majority around bluetooth. See full log here.

Some minor refactoring of #ifdefs to simplify things a bit for anyone compiling on their own.

2016-03-23: Sync to upstream: poison pointer update to allow lower mmap_min_addr

2016-03-19: Sync to upstream: Memory corruption fix

2016-03-12: Sync to upstream: Security and big fixes

2016-02-15: Sync to upstream:

Timekeeping fix: fix 32-bit overflow in get_monotonic_boottime

Wifi drop fix: Better handling of transition to NUD_PROBE state

2016-02-14: Fixed compile issues causing incorrect clock speeds

2016-02-13: Update: b0rked and not available

Another fuse fixes

Added a Low Voltage 1.4Ghz kernel in permissive mode

2016-01-23: Sync with upstream:

Update for fuse, fixes issues with deletions

AK8975 update to fix compass issues (requires nightly 01-23 or later to benefit)

2016-01-19: Complete removal of zcache.

2016-01-14: Sync with Upstream:

Fixes to DSS to enable LiveDisplay/Color calibration.

Patch for Zram

2016-01-03: Sync with upstream (block fixes) and set SELinux to enforced.

2016-01-02: Sync with upstream. Just small bugfixes.

2015-12-29: Initial port to CM13. For previous changes, see the cm12.x thread.

SDSwap Changelog:

2017-10-01: updated to latest from device source, changes to init.

2016-11-08: Updated fstab from upstream commit: Added ext4 support for /data partition

2016-06-22: KSM (Kernel Samepage Merging) and ZRAM tweaks

2016-05-05: Fixed issue causing boot-loops on RAZR (thanks @stargo and @jul515)

2016-03-19: Updated just to update?

2016-02-15: Updates:

Configure external storage as removable again. Eject at your own peril!

fixboot.sh update: add utf8 to mount-options for internal sd

2016-01-23: Zram adjustments and fixes for compass (compass-fix requires nightly 01-23 or later)

2016-01-19: Removal of zcache.

2016-01-14: Allows usage of CM13 on stock slot

2016-01-08: Allows usage of USB storage devices

Downloads:

2017-10-02 LineageOS13 Run 'N Gun Kernel ULV (Ultra-Low Voltage) (300Mhz, 1Ghz, 1.2Ghz and 1.4Ghz)

2017-10-02 LineageOS13 Run 'N Gun Kernel LV (Low Voltage) (300Mhz, 1Ghz, 1.2Ghz and 1.4Ghz)

2017-10-02 LineageOS13 Run 'N Gun Kernel HV (High Voltage) (300Mhz, 1Ghz, 1.2Ghz and 1.4Ghz)

2017-10-02 LineageOS13 Run 'N Gun Lite Kernel (300Mhz, 1Ghz, 1.2Ghz and 1.3 Ghz)

2017-10-02 LineageOS13 OC 1.3Ghz Kernel (300Mhz, 600Mhz, 800Mhz, 1Ghz, 1.2Ghz and 1.3 Ghz)

2017-10-02 LineageOS13 OC 1.4Ghz Kernel ULV (Ultra-Low Voltage) (300Mhz, 600Mhz, 800Mhz, 1Ghz, 1.2Ghz and 1.4 Ghz)

2017-10-02 LineageOS13 OC 1.4Ghz Kernel LV (Low Voltage) (300Mhz, 600Mhz, 800Mhz, 1Ghz, 1.2Ghz and 1.4 Ghz)

2017-10-02 LineageOS13 OC 1.4Ghz Kernel HV (High Voltage) (300Mhz, 600Mhz, 800Mhz, 1Ghz, 1.2Ghz and 1.4 Ghz)

2017-10-02 LineageOS13 OC Full Scale Lite 1.3Ghz Kernel (300Mhz, 400Mhz, 500Mhz, 600Mhz, 700Mhz, 800Mhz, 900Mhz, 1Ghz, 1.2Ghz 1.2Ghz and 1.3 Ghz)

2017-10-02 LineageOS13 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)

2017-10-02 LineageOS13 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)

2017-10-02 LineageOS13 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)

2017-10-02 LineageOS13 Custom NON-OC RunNGun Kernel (300Mhz, 1Ghz and 1.2Ghz)

Special SELinux permissive kernel

2017-10-02 LineageOS13 OC Full Scale Lite 1.3Ghz Kernel in permissive mode (300Mhz, 400Mhz, 500Mhz, 600Mhz, 700Mhz, 800Mhz, 900Mhz, 1Ghz, 1.2Ghz 1.2Ghz and 1.3 Ghz)

2017-10-02 LineageOS13 OC 1.4Ghz Kernel LV (Low Voltage) in permissive mode (300Mhz, 600Mhz, 800Mhz, 1Ghz, 1.2Ghz and 1.4 Ghz)

SD Card Swapper zip

2017-10-01 SD Card Swapper

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

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

XDA:DevDB Information

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

Contributors

joojoobee666, stargo, hashcode

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

Kernel Special Features: Overclock to 1.3Ghz and 1.4Ghz, additional governors

Version Information

Status: Testing

Created 2015-12-30

Last Updated 2017-10-01

XDA:DevDB Information

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

Contributors

joojoobee666, stargo, hashcode

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

Kernel Special Features: Overclock to 1.3Ghz and 1.4Ghz, additional governors

Version Information

Status: Testing

Created 2015-12-30

Last Updated 2017-10-02