[Kernel][LOS 16]Standard frequency/Helix Engine friendly kernel for Mi5

Search This thread

mrmathematica

Senior Member
Nov 23, 2012
455
330
Xiaomi Mi Pad 4
Redmi K20 Pro
Default LOS kernel (also used by a lot of LOS based ROMs) underclocks the snapdragon 820 SoC for Mi 5 standard version (32GB version). Also it doesn't allow TouchBoost to be turned off. This will hurt battery life. For people who want the best of balance between CPU/GPU power and battery life, I made this kernel. It differs from LOS kernel in 3 places:

1. For 32 GB Mi5, both CPU and GPU frequencies are restored to normal snapdragon 820 setting;

2. TouchBoost can be turned off, but is leaved on by default. Applying AKT profiles or Helix Engine will turn it off for you, which also sets the power profile. There are different profiles to fit different user needs, but overall the goal is just choose the right balance between CPU/GPU power and battery life.

3. It should pass SafetyNet (with Magisk).

I know there are other kernels on XDA that does more. But I feel adding too mach features make the phone less stable. This kernel is suppose to be as stable as LOS official build. I plan to make new builds when LOS update the kernel code.

Download:
https://androidfilehost.com/?w=files&flid=288217

Old builds in year 2018:
https://androidfilehost.com/?w=files&flid=238618

Source:
https://github.com/mrmathematica/android_kernel_xiaomi_msm8996

Install:
Flash through TWRP (or any compatible recovery). You will need to flash the kernel every time you update LineageOS.

FAQ:
Q: On which ROM does will this kernel work?
A: All AOSP based ROMs. This includes (but is not limited to): LineageOS, Mokee, Slim, AOSP, RR, CAF.

Acknowledgement:
WhyOrean
 
Last edited:

longnt2007

Senior Member
Nov 2, 2015
100
139
Thank you for kernel, I've used your commit for unlock frequency Mi5 32GB version with JDCTeam AOSP kernel source and it work very good :good:
 

gowtham300

Senior Member
May 4, 2016
724
217
there is another 820 lite variant for ex moto z international edition the phone uses the same 820 lite
 

mrmathematica

Senior Member
Nov 23, 2012
455
330
Xiaomi Mi Pad 4
Redmi K20 Pro
  • Like
Reactions: Phil_Smith

gowtham300

Senior Member
May 4, 2016
724
217

Attachments

  • Screenshot_2017-05-04-14-29-14-691_com.android.browser.jpg
    Screenshot_2017-05-04-14-29-14-691_com.android.browser.jpg
    159.3 KB · Views: 959

gowtham300

Senior Member
May 4, 2016
724
217
According to gsmarena (http://www.gsmarena.com/motorola_moto_z-8094.php), moto z uses:

Quad-core (2x2.15 GHz Kryo & 2x1.6 GHz Kryo) - USA
Quad-core (2x1.8 GHz Kryo & 2x1.6 GHz Kryo) - Global

This "820 lite variant" is not the same as Mi 5 standard version:
Quad-core (2x1.8 GHz Kryo & 2x1.36 GHz Kryo) - Standard edition
Gsm arena little core seems to be a typo https://xdaforums.com/moto-z/development/kernel-turbo-z-custom-kernel-moto-z-t3493354/page26 . Check this thread this is a custom kernel for moto z having cpu and GPU oc

---------- Post added at 10:50 AM ---------- Previous post was at 10:44 AM ----------

https://www.motorola.in/products/moto-z
Gsm arena is wrong you can also check moto z XDA threads for oc kernels
Ok I'm sorry just checked the version on moto z is different its little is at 1.6ghz like standard 820 but it's big and GPU are same as mi5
 

pierrejeanes

Member
Apr 20, 2011
14
0
my mistake my actual version is not 3.8.0 but 5.8.0m sorry.

yeah, but the problem with latest resurrection remix (based on 7.1.2) wich is 5.8.4 i think, has some errors like: fingerprint does not work, so home button push...mmm no so cool maybe i break the button before a ggod undate, so for now 5.8.0
 

Top Liked Posts

  • There are no posts matching your filters.
  • 60
    Default LOS kernel (also used by a lot of LOS based ROMs) underclocks the snapdragon 820 SoC for Mi 5 standard version (32GB version). Also it doesn't allow TouchBoost to be turned off. This will hurt battery life. For people who want the best of balance between CPU/GPU power and battery life, I made this kernel. It differs from LOS kernel in 3 places:

    1. For 32 GB Mi5, both CPU and GPU frequencies are restored to normal snapdragon 820 setting;

    2. TouchBoost can be turned off, but is leaved on by default. Applying AKT profiles or Helix Engine will turn it off for you, which also sets the power profile. There are different profiles to fit different user needs, but overall the goal is just choose the right balance between CPU/GPU power and battery life.

    3. It should pass SafetyNet (with Magisk).

    I know there are other kernels on XDA that does more. But I feel adding too mach features make the phone less stable. This kernel is suppose to be as stable as LOS official build. I plan to make new builds when LOS update the kernel code.

    Download:
    https://androidfilehost.com/?w=files&flid=288217

    Old builds in year 2018:
    https://androidfilehost.com/?w=files&flid=238618

    Source:
    https://github.com/mrmathematica/android_kernel_xiaomi_msm8996

    Install:
    Flash through TWRP (or any compatible recovery). You will need to flash the kernel every time you update LineageOS.

    FAQ:
    Q: On which ROM does will this kernel work?
    A: All AOSP based ROMs. This includes (but is not limited to): LineageOS, Mokee, Slim, AOSP, RR, CAF.

    Acknowledgement:
    WhyOrean
    9
    0630 build is up.
    8
    0627 build is up. Changes can be seen on Github (links in OP).
    5
    0912 Changelog:

    Synchronize drives with latest CAF
    4
    I might upload may 09's file again and call it may 16's build. I will double check tomorrow on my computer to make sure it is correct. Sorry for the confusion.

    New file uploaded (0517).