FORUMS
Remove All Ads from XDA

[Kernel][CM12.1][CM13.0][LOS14.1][J500FN/F][07.10]Hotplug enabled kernel

530 posts
Thanks Meter: 1,089
 
By Koloses, Senior Member on 6th January 2017, 05:01 PM
Post Reply Email Thread
Code:
Your warranty is now void.
I'm not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired, because the alarm app failed. Please
do some research if you have any concerns about features included
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.

So here it is. After testing for a few days I've decided to give out builds of CM 12.1 kernel with a little bit better CPU management.You may see improvement especially when you're not using 3G/LTE as it seems to drain battery almost as fast as before (depending on the use ofc). You'll get much better battery life on wifi though. You may tweak the settings using some kernel control apps but the recommended setup is already applied.


Features:

+ Bricked hotplug driver - turns off CPU cores if the CPU load is not big enough to need them.
+ Powersuspend - a driver that should turn off unused hardware components when screen is off
+ Quickwakeup driver - it allows some tasks to wake up the system to perform certain actions without fully resuming it
+ Min. CPU freq 200MHz (CM12.1 has it set to 800MHz but it seems we don't need it that high after disabling CRC checks)
+ Revised interactive governor target_loads to clock CPU more efficiently

Download:
Kernel:

CM12.1:


CM13:



LOS14.1:



GPU Max Frequency Limiting Scripts:
400 Mhz
475 Mhz
550 Mhz
650 Mhz

Installation:
Just flash the zip for your device in TWRP.

Changelog:

Code:
07.10.2017:
- First release rebased on @vince2678 kernel source and device trees (Will work only with his Los14.1 builds from now on, don't even try any older ROMs available)
- Added some tweaks by @Bulgaricus

24.07.2017:
- Rebased on newest LOS kernel
- Reimplemented some of tweaks previously reverted due to conflict (The most important being Display driver update, refresh rate should be better now)

30.05.2017:
- Merged upstream changes (new power hal compability etc.)

19.05.2017:
- Merged base kernel updates
- Enabled thermal core control
- Change throttling cpu temperature from 60°C to 80°C to avoid performance loss
- Enabled CPU_BOOST config
- Kernel now should boot on both LL and MM bootloaders (needs testing)

18.05.2017:
- First release for Lineage OS 14.1
- Rebased on @SoUnd001 kernel source (LOS 14.1 only)
- Drop CM1300/LOS13.0 support

02.03.2017:
- Fixed slow charging
- Cpusets tweaks for hotplug (multitasking related)


25.01.2017:
- Squashed update to 3.10.104
- Additional CPU & Battery tweaks
- Faster boot

16.01.2017:
- Major cleanup
- Tweaked recommended values
- Final release for CM12.1
- First release for CM13.0


08.01.2017:
- Added GPU OC up to 720MHz (you may change max frequency if you don't like OC or want it to be a little less thanks to the scripts included in downloads. Previous default freq was 400 MHz)
- Changed default gpu governor to simple_ondemand to avoid frequency bug described in #16

06.01.2017
- Initial release
- Added bricked hotplug driver
- Added powersuspend driver
- Added quickwakeup driver
- Changed CPU min freq. to 200MHz instead of 800MHz
- Optimized interactive's target_load

XDA:DevDB Information
Hotplug enabled kernel for Cyanogenmod 12.1/13.0, LOS 14.1, Kernel for the Samsung Galaxy J5

Contributors
Koloses, Nick Verse, ganesh varma, #Henkate, SoUnd001, vince2678, Bulgaricus
Source Code: https://github.com/hotplugj5

Kernel Special Features:

Version Information
Status: Stable

Created 2017-01-06
Last Updated 2017-10-07
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2017-01-04-19-46-50.png
Views:	6846
Size:	75.3 KB
ID:	3992974   Click image for larger version

Name:	Screenshot_2017-01-06-17-21-34.png
Views:	6782
Size:	73.8 KB
ID:	3992975   Click image for larger version

Name:	Screenshot_2017-01-06-17-24-30.png
Views:	6814
Size:	159.2 KB
ID:	3992976   Click image for larger version

Name:	Screenshot_2017-01-06-17-25-46.png
Views:	6620
Size:	83.6 KB
ID:	3992977   Click image for larger version

Name:	Screenshot_2017-01-08-22-24-25.jpg
Views:	6334
Size:	81.2 KB
ID:	3996167  
The Following 29 Users Say Thank You to Koloses For This Useful Post: [ View ] Gift Koloses Ad-Free
7th January 2017, 11:15 AM |#2  
wyr007's Avatar
Senior Member
Flag praha
Thanks Meter: 12
 
More
GJ
great work on FN works pretty good
7th January 2017, 12:43 PM |#3  
Senior Member
Flag Noida
Thanks Meter: 452
 
Donate to Me
More
Awesome, can I request you to build one with 1.4 OC!?
The Following User Says Thank You to updesh94 For This Useful Post: [ View ] Gift updesh94 Ad-Free
7th January 2017, 02:39 PM |#4  
Amarius1's Avatar
Senior Member
Flag Craiova
Thanks Meter: 188
 
Donate to Me
More
Can you make for Ressurection Remix too?

Sent from my SM-J500FN using XDA Labs
7th January 2017, 02:51 PM |#5  
Koloses's Avatar
OP Senior Member
Flag Zielona Góra
Thanks Meter: 1,089
 
Donate to Me
More
Since most if not all of custom ROMs are similiar, this should work on RR, just try it. I'll look into overclocking later on since it's not the most needed feature and I wanted to release stable kernel first. I also plan adding adreno idler.
The Following 4 Users Say Thank You to Koloses For This Useful Post: [ View ] Gift Koloses Ad-Free
7th January 2017, 03:32 PM |#6  
Senior Member
Flag Noida
Thanks Meter: 452
 
Donate to Me
More
Quote:
Originally Posted by Koloses

Since most if not all of custom ROMs are similiar, this should work on RR, just try it. I'll look into overclocking later on since it's not the most needed feature and I wanted to release stable kernel first. I also plan adding adreno idler.

Yep, it's confirmed working on RR..
7th January 2017, 03:46 PM |#7  
Koloses's Avatar
OP Senior Member
Flag Zielona Góra
Thanks Meter: 1,089
 
Donate to Me
More
Well, GPU overclock seems to work (3D score) . We'll see about CPU later on as it doesn't seem to have any impact other than showing time in state. I'll add GPU OC to the next build.

First screenshot is without GPU overclock, second is overclocked GPU.


Click image for larger version

Name:	Screenshot_2017-01-07-15-20-30.png
Views:	1402
Size:	53.3 KB
ID:	3994178Click image for larger version

Name:	Screenshot_2017-01-07-15-12-13.png
Views:	1392
Size:	47.7 KB
ID:	3994179

Sent from SM-J500 CM12.1
The Following User Says Thank You to Koloses For This Useful Post: [ View ] Gift Koloses Ad-Free
7th January 2017, 04:12 PM |#8  
Amarius1's Avatar
Senior Member
Flag Craiova
Thanks Meter: 188
 
Donate to Me
More
So to install this on RR we just have to flash in TWRP?

Sent from my SM-J500FN using XDA Labs
7th January 2017, 04:27 PM |#9  
Senior Member
Flag Puck
Thanks Meter: 19
 
More
Cm 13 on lolypop bootloader will work?
7th January 2017, 04:35 PM |#10  
Amarius1's Avatar
Senior Member
Flag Craiova
Thanks Meter: 188
 
Donate to Me
More
Does this hurt the hardware in anyway? (Not using overclocking of course)

Sent from my SM-J500FN using XDA Labs
7th January 2017, 04:43 PM |#11  
#Henkate's Avatar
Senior Member
Flag フェアリーテイル
Thanks Meter: 3,135
 
Donate to Me
More
Quote:
Originally Posted by Koloses

Well, GPU overclock seems to work (3D score) . We'll see about CPU later on as it doesn't seem to have any impact other than showing time in state. I'll add GPU OC to the next build.


Attachment 3994178Attachment 3994179

Sent from SM-J500 CM12.1

I got higher GPU score without overclock (879).
Benchmarks may or may not reflect the real phone performance. Personally im against OC.

Any CM kernel should work on RR as well, since RR is using cm kernel.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes