• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Kernel-EAS][Custom|OOS]mcd-kernel[r12, r29]

Search This thread

mcdachpappe

Recognized Developer
Oct 25, 2015
681
2,810
caMCQkK.png

Code:
* I am not responsible for bricked devices, dead SD cards, or you getting
* fired because the alarm app failed. Please do some research if you have any
* concerns about features included in this KERNEL before flashing it. YOU are
* choosing to make these modifications.

I have to thank all these really nice people around xda/github and software development for helping me out, giving me useful tipps/tricks/guides and their feedback!​



It is mandatory to select the correct kernel depending on your current ROM:

1. CUSTOM ROMs [OREO | PIE]

2. OxygenOS [OREO] - [EOL]
  • Based on RenderZenith Kernel [big thanks to joshuous and RenderBroken]
  • Upstreamed to stable linux branch v3.18.138

3. OxygenOS [PIE]


In addition to my used bases mentioned above I've added some features from different kernels out here to give the user more control about their device and to extend it's abilities. Feel free to ask for features that you would like to see in this kernel.

Features added:
  • Compiled with custom-built Linaro 6.4.1 toolchain targeting msm8996/SD820/SD821
  • anykernel3: adress more selinux denials
  • init: cpu-boost: Create separate tunable for Dynamic Schedtune Boost duration [1500ms by default]
  • init: enable wake_boost [set to 1000ms] - [thanks to kerneltoast] [custom variant only!]
  • init: set our custom thermal-values [10 zones] [performance-orientated profile]
  • ################################################
  • Upstreamed f2fs [custom variant only!]
  • f2fs rapid GC commits and fixes - [thanks to arter97] [custom variant only!]
  • Upstreamed RCU sub-system
  • Backlight dimmer
  • Boeffla Wakelock Blocker - [enabled by default]
  • CPU Governors: schedutil, helix_schedutil, blu_schedutil, pwrutilx, energy-dcfc, darknesssched, alucardsched
  • CRC toggle - [disabled by default]
  • Debugging and logging disabled/removed
  • Disable buttons on touch toggle - [enabled by default]
  • DriveDroid support
  • DTS: HeadphoneX - Official thread
  • Gestures: add sweep2sleep - [disabled by default]
  • Haptics: Haptic control and vibration strength control
  • HID keyboard/mouse gadget support - [thanks to jcadduono]
  • I/O Scheduler: BFQ, MAPLE and ZEN - [maple as default]
  • KCAL
  • K-Lapse - Offical thread - [thanks to @tanish2k09]
  • WLAN driver LA.UM.6.6.r1-10100-89xx.0 - [v 4.0.11.213X] [custom variant only!]
  • Sound Control - [thanks to Flar2]
  • Spectrum support - [4 pre-defined profiles]
  • TCP protocol tweaks - [westwood by default]
  • Thermal: thermal-simple - [thanks to kerneltoast]
  • USB fast charging toggle - [disabled by default]
  • Nethunter: Packet injection patch; monitor mode support [custom variant only!]
  • Nethunter: External USB WiFi adapter support; HID Emulation
  • Nethunter: CDC_ACM Proxmark/Chameleon detection (all versions); dynamic module loading [custom variant only!]
  • vDSO implementation for better performance of 32-bit binaries
  • Verity disabled
  • Wireguard support
  • zRAM - [enabled by default]
  • some misc changes to improve user experience


Downloads:



1. Custom ROMs
Current: mcd-kernel-custom-r12.zip


2. Oxygen-OS [OREO]:
[EOL]: mcd-kernel-r25-oreo.zip


3. Oxygen-OS [PIE]:
Current: mcd-kernel-r29-pie.zip



Telegram:


Sources:


Credits:
  • Thanks to @RenderBroken and @joshuous for porting EAS features to our device.
  • Thanks to @HolyAngel for his kernel base!
  • Credits to the dev's who brought all this included features to our device - thank you very much.
  • Huge thanks to @rippledrums who is the best moderator [in our telegram groups] i've seen so far and for our designing logo!
  • Thanks to @vinoxflame, @nickpapeir,@theduke7 and @deepak jr for testing and their feedback.



Small note:
Please leave a comment here if this kernel works or doesn't work for you. This thread stays alive with your contributions and your feedback. Additionally this will motivate me to continue working on this kernel. And if you like you can do a little donation to me: paypal.me/mcdachpappe - Thank you very much!




XDA:DevDB Information
EAS-Kernel with extended features, Kernel for the OnePlus 3

Contributors
mcdachpappe
Kernel Special Features: Energy Aware Scheduling

Version Information
Status: Stable

Created 2018-09-05
Last Updated 2019-07-06
 
Last edited:

mcdachpappe

Recognized Developer
Oct 25, 2015
681
2,810
Useful information

'Clean flash' instructions:
  1. Delete your kernel-tweak-app data
  2. Boot into recovery (latest TWRP)
  3. Flash desired oos-stock boot.img / flash the full oos-rom.zip
  4. Optional: Flash magisk - if you want root
  5. Flash this kernel .zip
  6. Optional: Delete cache / dalvik cache

Explanation of the EAS boosting-values:


Adaptive Stune App:
Adaptive Stune App [based on @azaidi's work and @crian's modification] which calculates the Dynamic stune boost on the EAS kernel for each activity you are running.

Thanks to @deepak kumar android and @theduke7 for testing.​



Resources:
 
Last edited:

spione2013

Senior Member
Jan 31, 2014
304
130
Anyone who tried this kernel, how's battery backup? There's some bugs?
Can somebody post some screenshot of battery consumption?
Thanks
 

mcdachpappe

Recognized Developer
Oct 25, 2015
681
2,810
Used this kernel for 2 days, very good. During usage seems to consume a little bit more than stock, but nevermind, the phone is super snappy. :cool:

Last build seems more snappy to me for some reason..

Thank you for your feedback! :)

That's because I've set the top-app boosting values to the ones which joshuous mentioned along the v1.1.0 release in his thread (see OP).

On the other hand I 've lowered the values (frequencies and time) of input-boosting to save a little bit of energy:

little cores: 844800 [stock: 1036800]
big cores: 614400 [stock: 750000]
boosting time: 40ms [stock: 100ms]​

There should be a little bit of more energy consumption but not that much more. I'm still achieving good battery lifetime results with these settings.


Nice kernel buddy..
What can i adjust on boost settings to make it more battery friendly?..

you can revert to the "stock settings" from the original renderzenith kernel:

/dev/stune/schedtune.sched_boost 0 [mine 10]
/dev/stune/top-app/schedtune.sched_boost 0 [mine 50]
/sys/module/cpu_boost/parameters/dynamic_stune_boost 1 [mine 50]​

Correct me if I'm wrong with these values. I don't remember the stock settings excactly ..
 
Last edited:

ManuBBXX

Senior Member
May 18, 2013
610
111
Aix en provence
Wonderful !!
I waited for that ! ( lack of personalization options in the official one )

Is it based on the latest July 27th build ?

Why the CPU max freq is not the highest possible ?
Does it not limit performances ?
 
Last edited:
  • Like
Reactions: mcdachpappe

mcdachpappe

Recognized Developer
Oct 25, 2015
681
2,810
update 180910 [v1.1]

Time for an update!

Changelog:
  • merge stable-linux v3.18.122
  • anykernel: add some cosmetics to our installer
  • anykernel/tools: update to busybox (1.29.2)
  • fix some memory leaks
  • gestures: add sweep2wake and doubletap2wake
  • gestures: add sweep2sleep gestures
  • init: lowered sched_boost to save battery [from 50 to 30]
  • init: fixed some code [frequencies and some misc stuff]
  • tcp_westwood: code improvements and tweaks
  • some minor stuff i may forgot

Download:
mcd-oos-eas-OP3-v1.1-180910.zip


Notes:
  1. Dirty flashing is fine
  2. You may have to delete your kernel-tweak app to see the new default values

@ManuBBXX
i was struggling to get the max frequencies set at boot but this is now finally fixed :)

//edit:
The download link of v1.1 has been removed because of several issues in this release. Everything is fixed in the new v.1.3 release which you can find in post 39.

Direct link:
 
Last edited:

spione2013

Senior Member
Jan 31, 2014
304
130
Time for an update!

Changelog:
merge stable-linux v3.18.122
add some cosmetics to our installer
fix some memory leaks
gestures: add sweep2wake and doubletap2wake
gestures: add sweep2sleep gestures
init: lowered sched_boost to save battery [from 50 to 30]
init: fixed some code [frequencies and some misc stuff]
tcp_westwood: code improvements and tweaks
some minor stuff i may forgot


Download:
mcd-oos-eas-OP3-v1.1-180910.zip


Notes:
Dirty flashing is fine
You may have to delete your kernel-tweak app to see the new default values


@ManuBBXX
i was struggling to get the max frequencies set at boot but this is now finally fixed :)
Wow super
 

Top Liked Posts

  • There are no posts matching your filters.
  • 73
    caMCQkK.png

    Code:
    * I am not responsible for bricked devices, dead SD cards, or you getting
    * fired because the alarm app failed. Please do some research if you have any
    * concerns about features included in this KERNEL before flashing it. YOU are
    * choosing to make these modifications.

    I have to thank all these really nice people around xda/github and software development for helping me out, giving me useful tipps/tricks/guides and their feedback!​



    It is mandatory to select the correct kernel depending on your current ROM:

    1. CUSTOM ROMs [OREO | PIE]

    2. OxygenOS [OREO] - [EOL]
    • Based on RenderZenith Kernel [big thanks to joshuous and RenderBroken]
    • Upstreamed to stable linux branch v3.18.138

    3. OxygenOS [PIE]


    In addition to my used bases mentioned above I've added some features from different kernels out here to give the user more control about their device and to extend it's abilities. Feel free to ask for features that you would like to see in this kernel.

    Features added:
    • Compiled with custom-built Linaro 6.4.1 toolchain targeting msm8996/SD820/SD821
    • anykernel3: adress more selinux denials
    • init: cpu-boost: Create separate tunable for Dynamic Schedtune Boost duration [1500ms by default]
    • init: enable wake_boost [set to 1000ms] - [thanks to kerneltoast] [custom variant only!]
    • init: set our custom thermal-values [10 zones] [performance-orientated profile]
    • ################################################
    • Upstreamed f2fs [custom variant only!]
    • f2fs rapid GC commits and fixes - [thanks to arter97] [custom variant only!]
    • Upstreamed RCU sub-system
    • Backlight dimmer
    • Boeffla Wakelock Blocker - [enabled by default]
    • CPU Governors: schedutil, helix_schedutil, blu_schedutil, pwrutilx, energy-dcfc, darknesssched, alucardsched
    • CRC toggle - [disabled by default]
    • Debugging and logging disabled/removed
    • Disable buttons on touch toggle - [enabled by default]
    • DriveDroid support
    • DTS: HeadphoneX - Official thread
    • Gestures: add sweep2sleep - [disabled by default]
    • Haptics: Haptic control and vibration strength control
    • HID keyboard/mouse gadget support - [thanks to jcadduono]
    • I/O Scheduler: BFQ, MAPLE and ZEN - [maple as default]
    • KCAL
    • K-Lapse - Offical thread - [thanks to @tanish2k09]
    • WLAN driver LA.UM.6.6.r1-10100-89xx.0 - [v 4.0.11.213X] [custom variant only!]
    • Sound Control - [thanks to Flar2]
    • Spectrum support - [4 pre-defined profiles]
    • TCP protocol tweaks - [westwood by default]
    • Thermal: thermal-simple - [thanks to kerneltoast]
    • USB fast charging toggle - [disabled by default]
    • Nethunter: Packet injection patch; monitor mode support [custom variant only!]
    • Nethunter: External USB WiFi adapter support; HID Emulation
    • Nethunter: CDC_ACM Proxmark/Chameleon detection (all versions); dynamic module loading [custom variant only!]
    • vDSO implementation for better performance of 32-bit binaries
    • Verity disabled
    • Wireguard support
    • zRAM - [enabled by default]
    • some misc changes to improve user experience


    Downloads:



    1. Custom ROMs
    Current: mcd-kernel-custom-r12.zip


    2. Oxygen-OS [OREO]:
    [EOL]: mcd-kernel-r25-oreo.zip


    3. Oxygen-OS [PIE]:
    Current: mcd-kernel-r29-pie.zip



    Telegram:


    Sources:


    Credits:
    • Thanks to @RenderBroken and @joshuous for porting EAS features to our device.
    • Thanks to @HolyAngel for his kernel base!
    • Credits to the dev's who brought all this included features to our device - thank you very much.
    • Huge thanks to @rippledrums who is the best moderator [in our telegram groups] i've seen so far and for our designing logo!
    • Thanks to @vinoxflame, @nickpapeir,@theduke7 and @deepak jr for testing and their feedback.



    Small note:
    Please leave a comment here if this kernel works or doesn't work for you. This thread stays alive with your contributions and your feedback. Additionally this will motivate me to continue working on this kernel. And if you like you can do a little donation to me: paypal.me/mcdachpappe - Thank you very much!




    XDA:DevDB Information
    EAS-Kernel with extended features, Kernel for the OnePlus 3

    Contributors
    mcdachpappe
    Kernel Special Features: Energy Aware Scheduling

    Version Information
    Status: Stable

    Created 2018-09-05
    Last Updated 2019-07-06
    35
    I'm working on an eas-build with mcd-features based on the latest official pie sources provided by oneplus. Please be patient - OP3/T development isn't dead, yet :)
    34
    mcd-kernel-custom-r1

    Here is our first EAS-kernel release which supports custom roms [oreo / pie].

    This release is based on Franco-kernel [pie-custom branch / Lineagetree] which should support almost every custom rom out there. It has been already successfully tested on Havoc-OS 2.3.

    Nevertheless is this release in it's early stages - if you are facing any weird issues please take a log and report them here or in our telegram group. Thank you.

    //EDIT:
    It seems that magisk is mandatory to apply our custom ramdisk changes on lineageos based rom's (e.g. lineage, havoc). If you are un-rooted you may face poor performance.


    What do you get:
    • Based on Franco-Kernel with all his features
    • Enery-Aware-Scheduling 'ported' from RenderZenith-Kernel for OOS
    • Compiled with custom-built Linaro 6.4.1 toolchain targeting msm8996/SD820/SD821 [thanks to @HolyAngel]
    • Build with SDCLANG v6.0.4
    • Latest Stable-Linux / CAF-Branch merged
    • Almost all the features you know from our OxygenOS release


    Changelog:
    • Initial Custom ROM support
    • Merged stable-linux v3.18.136
    • Added EAS-Backported features [dynamic-stune-boost v3]
    • Removed some HMP-Specific code [remove hmp governors - set schedutil as default]
    • Add almost all the features from our OOS-O release
    • DTS: Ultra support [Thread]
    • Introduce K-Lapse [by @tanish2k09 - Thread]


    Download:



    A huge thanks goes to @deepak jr for testing!


    Notes:
    1. Feedback is highly appreciated
    2. You may delete the data of your kernel-tweak app to see/apply the new default values
    3. Telegram-Group: t.me/mcdkernel
    30
    Useful information

    'Clean flash' instructions:
    1. Delete your kernel-tweak-app data
    2. Boot into recovery (latest TWRP)
    3. Flash desired oos-stock boot.img / flash the full oos-rom.zip
    4. Optional: Flash magisk - if you want root
    5. Flash this kernel .zip
    6. Optional: Delete cache / dalvik cache

    Explanation of the EAS boosting-values:


    Adaptive Stune App:
    Adaptive Stune App [based on @azaidi's work and @crian's modification] which calculates the Dynamic stune boost on the EAS kernel for each activity you are running.

    Thanks to @deepak kumar android and @theduke7 for testing.​



    Resources:
    27
    EAS - Custom Rom support

    Some good news for everyone who is waiting for custom rom support:

    We are nearly there to release an eas-kernel which supports custom roms [oreo & pie] on our device.

    A huge thanks to @deepak jr for testing and his feedback!