[KERNEL][N5] Criterion r37 + Profiles [Android 10 & 11]

Which profile do you prefer as the default?

  • Bluspark

  • Criterion

  • Faux

  • Franco


Results are only viewable after voting.

$lmnj

Senior Member
Oct 27, 2018
152
528
103
Code:
#include <std_disclaimer.h>

/*
* Your warranty is now void.
*
* I am 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 in this Kernel
* 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.
*
*/
Features:
  • Forked from @z3DD3r's LineageOS kernel (Linux 3.4.113)
  • Compiled using latest GCC 10.2-2020.11 toolchain
  • Built with -O3 compiler flag optimized for performance
  • Powered by @osm0sis' AnyKernel3
  • Additional Governors: ElementalX (default), Blu_active, Intelliactive, Alucard
  • Enhanced Interactive governor with improvements from CAF and Franco
  • Additional Hotplug drivers: Bricked_plug (default), MSM Hotplug, Blu_plug, AutoSMP, IntelliPlug
  • Additional I/O Schedulers: FIOPS (default), Maple, SIOPlus, Zen
  • Advanced TCP congestion control (default: Cubic)
  • Simple GPU governor by Faux (default: disabled)
  • CPU boost & Input boost (default: disabled)
  • Power-efficient workqueues (default: enabled)
  • Franco's simplified thermal driver
  • DoubleTap2Wake & Sweep2Wake (default: disabled)
  • Toggle FSync (default: enabled)
  • CPU voltage control
  • USB Fast Charge (default: disabled)
  • Faux sound control (default: disabled)
  • Gamma display control
  • CONFIG_HZ set to 300
  • Backlight dimmer (default: disabled)
  • Kernel Same-page Merging (default: disabled)
  • Adaptive LMK (default: disabled)
  • ZRAM (default: 512MB)
  • Block certain wakelocks (default: blocked)
  • Minimized kernel debugging
  • Built-in kernel profiles (Read Post #2)

Important:
  • Builds starting from r37 are compatible with Android 10 & 11
  • Requires the latest version of Magisk (v21+) with overlay.d support
  • Flash Magisk and then flash the kernel; AnyKernel3 will preserve root
  • Don't report issues if you have installed Xposed, kernel mods/tweaks etc
  • PixelExperience users should stick to "r20x" until the ROM is updated

Links:

Credits:
@franciscofranco, @flar2, @osm0sis, @z3DD3r, @topjohnwu, @nathanchance, @Sashko98, @EnesSastim, @faux123, @show-p1984, @alucard_24, @mrg666, @dorimanx, @amaces, @neobuddy89, @razorloves, @myfluxi, @NYCHitman1, @eng.stk, @frap129, @Tomoms
 
Last edited:

$lmnj

Senior Member
Oct 27, 2018
152
528
103
As of r31, it is possible to enable and switch between profiles via the terminal. No reboot required.
For example, to enable "franco" profile, pull up the terminal and type:

Code:
su
setprop criterion.profile franco
The profile's parameters will be applied within 60 seconds.
Available profiles: criterion (default), bluspark, faux, franco
Keep in mind that the profile will be reset to "criterion" on reboot.


Criterion
  • ElementalX governor (gboost disabled)
  • MSM MPDecision (aka Bricked_plug)
  • Thermal throttle at 60°c
  • FIOPS I/O scheduler
  • ZRAM 512MB
  • Cubic TCP congestion control
  • Blocked certain wakelocks
Bluspark
Based on Blu_spark kernel. Credits to @eng.stk.
  • Blu_active governor (tuned)
  • Blu_plug hotplug driver
  • Thermal throttle at 65°c
  • Simple GPU governor
  • Zen I/O scheduler
  • I/O read-ahead 512KB
  • Westwood TCP congestion control
  • Blocked certain wakelocks
Faux
Based on Faux Kernel. Credits to @faux123.
  • Intelliactive governor (tuned)
  • IntelliPlug hotplug driver (tuned)
  • Thermal throttle at 60°c
  • Simple GPU governor (tuned)
  • FIOPS I/O scheduler
  • Configured KSM and VM
  • ZRAM increased to 1024MB
  • Westwood TCP congestion control
  • Blocked certain wakelocks
Franco
Based on Franco Kernel. Credits to @franciscofranco.
  • Interactive governor (tuned)
  • Hotplugging disabled
  • Input boost enabled and configured
  • Thermal throttle at 60°c
  • Noop I/O scheduler
  • Configured I/O, KSM and VM
  • ZRAM increased to 1016MB
  • Cubic TCP congestion control
  • Blocked certain wakelocks
 
Last edited:

kerwin1ee

Member
Jan 15, 2020
16
1
0
Congratulations

Criterion-pr1
The kernel works completely fine on LOS 17.1. But I couldn't find time to try it on other Android 10 based ROMs. This is a pre-release for anyone interested in testing the kernel. Give it a shot and share your experience.

Congratulations, you have done such a wonderful incredible job :good: :victory:.

If you don’t mind, could you please sent the final file "FKE_v2.1.0.zip" to me ? I am trying to install Magisk v20.3, but the attached file "FKE_v2.0.0.zip" does not work pretty well. It's just useful for my phone within Pie rom. Thanks so much :highfive:
 
Last edited:

$lmnj

Senior Member
Oct 27, 2018
152
528
103
Criterion-r1
Pushed the first stable release with a couple of changes. Stay tuned for more updates with added features and improvements.

Changelog:
- Initial release
- Removed Ondemand governor
- Wakelocks aren't blocked by default
- Few fixes for devices that are not rooted
- Merged latest AnyKernel3 patches

Download
 
Last edited:

kerwin1ee

Member
Jan 15, 2020
16
1
0
Criterion-r1
Pushed the first stable release with a couple of changes. Stay tuned for more updates with added features and improvements.

Changelog:
- Initial release
- Removed Ondemand governor
- Wakelocks aren't blocked by default
- Few fixes for devices that are not rooted
- Merged latest AnyKernel3 patches
----------------------------------------------------------------------------------------------------------------------------------------------
I just need it within two main functions, such as “doubletap2wake” and “USB Fast Charge”.
Could you please add in it :confused: