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.
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 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 @dtrail1, 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, @Septfox), 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.
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
Antutu seems to think it's alright.
Overall score rose by ~800 (15400 -> 16200)
Multitask rose by ~200
Runtime rose by ~100
CPU Integer and Float-point rose by ~60
Single-thread Integer and Float-point rose by ~100
Not bad at all for a 100mhz bump, about what I would expect.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If this is similar to the JBX kernel's OMAP4 overclocking functions, you should be able to use trickstermod to overclock the MPU (basically, like overclocking a PC's front side bus).
Stock MPU is 100, CPU multiplier is 13 for 1.3ghz. If you increase MPU to 108, you should get 1404mhz out of the CPU (13x108=1404). I ran 1391mhz for about 5 months straight without any stability issues, I think the CPU voltage was at 1.360v to achieve this stable.
Does this kernel also allow OCing the GPU to 384mhz? I would just try it if I still had my D4 (replaced with photon Q, sold to sister).
Elanzer said:
If this is similar to the JBX kernel's OMAP4 overclocking functions, you should be able to use trickstermod to overclock the MPU (basically, like overclocking a PC's front side bus).
Stock MPU is 100, CPU multiplier is 13 for 1.3ghz. If you increase MPU to 108, you should get 1404mhz out of the CPU (13x108=1404). I ran 1391mhz for about 5 months straight without any stability issues, I think the CPU voltage was at 1.360v to achieve this stable.
Does this kernel also allow OCing the GPU to 384mhz? I would just try it if I still had my D4 (replaced with photon Q, sold to sister).
Click to expand...
Click to collapse
At this point, no GPU OC. It's just running at the stock 304. I planned on testing MPU @ 1.4 and possibly adding some intermediate speeds. GPU possible too, but I had to start somewhere.
Can you commit this in official CM repository? Just to make sure that custom kernel is always compatible with last version of CM.
nicolay.n said:
Can you commit this in official CM repository? Just to make sure that custom kernel is always compatible with last version of CM.
Click to expand...
Click to collapse
It doesn't work that way. If he has this on his own private gh and tracks omap4-common commits it will always be compatible. Btw our board has a max freq of 1.5Ghz. I used to run my bionic on 1.490 and it was fast but got too hot. 1.35/1.4 is a more stable freq to work with.
Sent from my XT894 using XDA Free mobile app
The problem with 1.4ghz is, it seems to be where things go pear-shaped unless phone-specific amounts of voltage are pushed. A one-size-fits-all approach for voltage will probably work, but then you're inevitably going to overvolt some devices that don't need it.
MPU and voltage control, along with an extra multiplier at the bottom end (to compensate for the higher MPU), would be ideal. Probably a fair bit of work, though.
GPU overclocking is apparently not as productive as you would think for the increase in frequency and power/heat (I've heard that the bottlenecks are elsewhere in the system, and it seems like the increase in benchmark scores under KK didn't strike me as impressive). Might get more out of it overall by just focusing on increasing the CPU speed.
My 2c, anyway. Whatever you decide to do, it improves what we have, and for that you have my appreciation.
Septfox said:
The problem with 1.4ghz is, it seems to be where things go pear-shaped unless phone-specific amounts of voltage are pushed. A one-size-fits-all approach for voltage will probably work, but then you're inevitably going to overvolt some devices that don't need it.
MPU and voltage control, along with an extra multiplier at the bottom end (to compensate for the higher MPU), would be ideal. Probably a fair bit of work, though.
GPU overclocking is apparently not as productive as you would think for the increase in frequency and power/heat (I've heard that the bottlenecks are elsewhere in the system, and it seems like the increase in benchmark scores under KK didn't strike me as impressive). Might get more out of it overall by just focusing on increasing the CPU speed.
My 2c, anyway. Whatever you decide to do, it improves what we have, and for that you have my appreciation.
Click to expand...
Click to collapse
Yeah, well this is all in test phase anyhow. I just didn't see any other CM12 compatible kernels with OC around at this point and figured it would be a nice gap to fill. I'm still planning on additional testing with voltage/clocks and maybe eventually adding different governors, etc. However, I'm still fairly wet behind the ears on Linux kernels in general so don't expect a lot of updates quickly. Though I plan on keeping this and future variations in line with stargo's cm12 kernel so there's always an alternative to stock.
nicolay.n said:
Can you commit this in official CM repository? Just to make sure that custom kernel is always compatible with last version of CM.
Click to expand...
Click to collapse
Probably never going to happen, these mods would never be approved for official CM. Again, I do plan on keeping this updated to work with D4/Moto Omap4 CM12 as long as I have my crappy D4.
joojoobee666 said:
as long as I have my crappy D4.
Click to expand...
Click to collapse
Take that back! Lol the droid4 is awesome. I love the hardware keyboard. I would say that I wish they'd make a droid5 but with the turbo.....god knows they'd make it unhackable..
Sent from my XT894 using XDA Free mobile app
Oggie7797 said:
Take that back! Lol the droid4 is awesome. I love the hardware keyboard. I would say that I wish they'd make a droid5 but with the turbo.....god knows they'd make it unhackable..
Sent from my XT894 using XDA Free mobile app
Click to expand...
Click to collapse
Hardware QWERTY is the ONLY reason I'm still here
joojoobee666 said:
Yeah, well this is all in test phase anyhow. I just didn't see any other CM12 compatible kernels with OC around at this point and figured it would be a nice gap to fill. I'm still planning on additional testing with voltage/clocks and maybe eventually adding different governors, etc. However, I'm still fairly wet behind the ears on Linux kernels in general so don't expect a lot of updates quickly.
Click to expand...
Click to collapse
Don't get me wrong, I wasn't trying to criticize what you've done or how you're going about it. Sorry if I came off sounding like...er...something unpleasant, I don't know. Wasn't my intention.
-
Thus far, no problems with the OCed kernel. The extra bit of UNFH is especially visually noticeable in the Store, where scrolling has smoothed a bit more, but the phone overall feels a bit faster. Good stuff.
Can't really say anything in the way of extra battery drain yet.
joojoobee666 said:
Hardware QWERTY is the ONLY reason I'm still here
Click to expand...
Click to collapse
Right lol if $700 would ever appear in my wallet id go get me a nexus6 id overlook no keyboard then.
Sent from my XT894 using XDA Free mobile app
Septfox said:
Don't get me wrong, I wasn't trying to criticize what you've done or how you're going about it. Sorry if I came off sounding like...er...something unpleasant, I don't know. Wasn't my intention.
-
Thus far, no problems with the OCed kernel. The extra bit of UNFH is especially visually noticeable in the Store, where scrolling has smoothed a bit more, but the phone overall feels a bit faster. Good stuff.
Can't really say anything in the way of extra battery drain yet.
Click to expand...
Click to collapse
You got yourself wrong. I didn't take it offensively. at all
Work in to CM11?
Sent from my XT894 using XDA Free mobile app
maisdoiscorregos said:
Work in to CM11?
Sent from my XT894 using XDA Free mobile app
Click to expand...
Click to collapse
Idk why it wouldn't....flash it and if it fails to boot simply wipe /system and flash cm11+gapps again. It won't hurt anything or brick you to the point you need an sbf
Sent from my XT894 using XDA Free mobile app
#joojoobee666, could carry a CM11 kernel with OC?
Sent from my XT894 using XDA Free mobile app
maisdoiscorregos said:
#joojoobee666, could carry a CM11 kernel with OC?
Sent from my XT894 using XDA Free mobile app
Click to expand...
Click to collapse
First off, to tag on xda use a @ and secondly, not to my knowledge and making one would be a little counterproductive imho since lollipop is kind of the new thing. Could always test flash this on cm11 literally the worst thing that could happen is it won't boot and that's a basic fix: wipe system and reflash cm11 and gapps. No data will be lost.
Sent from my XT894 using XDA Free mobile app
Oggie7797 said:
First off, to tag on xda use a @ and secondly, not to my knowledge and making one would be a little counterproductive imho since lollipop is kind of the new thing. Could always test flash this on cm11 literally the worst thing that could happen is it won't boot and that's a basic fix: wipe system and reflash cm11 and gapps. No data will be lost.
Sent from my XT894 using XDA Free mobile app
Click to expand...
Click to collapse
Excuse me, I have 84 apps installed on CM11, if I install the same 84 apps on CM12, I have a very slow, making it impossible to use, can barely answer a call. I agree that CM12 is evolution, but as he is extremely slow exporadicamente, CM11 use in stock slot, and CM12 in slot 1, have a kernel overclocked to CM11, would be good for multiple users of CM11 as daily rom.
maisdoiscorregos said:
Excuse me, I have 84 apps installed on CM11, if I install the same 84 apps on CM12, I have a very slow, making it impossible to use, can barely answer a call. I agree that CM12 is evolution, but as he is extremely slow exporadicamente, CM11 use in stock slot, and CM12 in slot 1, have a kernel overclocked to CM11, would be good for multiple users of CM11 as daily rom.
Click to expand...
Click to collapse
You must not be reading what I'm saying.....make a nandroid in twrp. Then flash this kernel. If it won't boot just restore the nandroid. Test to see if it works. If it does then that'll be cool
Sent from my XT894 using XDA Free mobile app
Oggie7797 said:
You must not be reading what I'm saying.....make a nandroid in twrp. Then flash this kernel. If it won't boot just restore the nandroid. Test to see if it works. If it does then that'll be cool
Sent from my XT894 using XDA Free mobile app
Click to expand...
Click to collapse
I already tested and does not work