[WIP][6.0][LineageOS13] (Marshmallow) Custom Droid 4/RAZR OC Kernel and SDSwap

Search This thread

joojoobee666

Senior Member
Jul 9, 2008
624
504
Hello, it didnt flash becuase there is no meta inf folder for the install so I made my own meta inf folder and it flashed if you do not know how to do that than just extract the the one from the previous build and then extract this build and and zip them both into the same folder and the flash will go through. I flashed the one i used kitchen to make and then I flashed another one with by the method I told you and they both worked. ;)

Strange, thanks for the info. I missed that when I tested but clearly they are broken. I'll have some new ones up in a bit. :eek:
 

joojoobee666

Senior Member
Jul 9, 2008
624
504
I am getting a failed while trying to flash the 2017-02-19 lineage 13 OC full scale lite. right after skipping the md5 check it says error flashing. I am on the spyder with stargo's lineage-13.0-20170219-UNOFFICIAL. I've not tried any other kernels.

Issue is now resolved. New kernels/links are up (links/files from yesterday are pulled).:good:
 

OGdroidster

Senior Member
Nov 29, 2015
478
99
Strange, thanks for the info. I missed that when I tested but clearly they are broken. I'll have some new ones up in a bit. :eek:
Your welcome, thanks for the kernel I was able to use it to get rid of a memory leak in a rebuild I did of resurrection remix to satisfy my particular needs. Thanks to your kernel I just flash it and I don't have to deal with my mistake. It fixes everything :). I'm so lazy :D.
 
Last edited:

schmatzler

Senior Member
Sep 12, 2009
126
43
This custom kernel causes a bootloop with the latest lineage-13.0-20170603-nightly.

20170527 still works fine.
 

joojoobee666

Senior Member
Jul 9, 2008
624
504
Same for me with the latest ROM (10 June), bootloops, none of the kernels works, not even the NON-OC kernel.

Yeah, I haven't built anything for the Droid 4 in a while. It's in a drawer. However, seeing there is still interest I can blow off the dust and see about getting some updates made this weekend.
 

belrei

Senior Member
Jan 13, 2008
74
7
Hey all, updated once again. I left out f2fs module on last build.:eek:

tested on slot 1, works fine, but:
Crashes completely on stock slot, screen goes black, phone not responding at all, :crying: could boot into recovery with VOL UP + VOL DOWN + POWER keys :D
Had backed up before, could restore. :good:
Would like to use your custom kernel, but my working system is on the stock slot, any suggestions?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 25
    This is a custom kernel for D4/RAZR based off of the CM13.0 Kernel that was created by @stargo 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 @daniel_m)
    • 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 @u.b.o.o.t.

    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 @u.b.o.o.t 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 @u.b.o.o.t. 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:

    Special SELinux permissive kernel

    SD Card Swapper zip
    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
    8
    All, even newer kernels up. Just some fixes from upstream. Check the first post for details. :good:

    Should also note that there is a new SDSwap as well.
    8
    This is why I'm perplexed that they dropped the stock clocks from 1.2 down to 1.0GHz for targa from CM11 to CM13 at whatever point.

    What are you talking about? targa is running at 1.2GHz on CM13.

    Regards,
    Michael, who has spent months of unpaid time to just keep the OMAP4s current on CM. Even with usage testing.
    7
    Hey all, another update. Again, just a couple security fixes. :good:
    7
    Hey all, another kernel and SDSwap update for you. These include the fixes for the compass, but you will need the latest nightly as well, possibly tonight's. :silly:

    Update: Confirmed. Tonight's nightly will have the rest of the compass fixes needed with this update.