FORUMS

Okitavera's Kernel for Mi 9 SE - v8.4

436 posts
Thanks Meter: 808
 
Thread Closed Email Thread

okitavera-kernel

Intro
Okitavera's kernel is a custom kernel based on CAF Kernel with specific patches from Xiaomi.
Aims to provide stability, security, and other benefits from having a regular patches from Linux Stable, CAF, and Google.

Features
  • Merged patches from :
    • Linux Stable currently on: v4.9.197
    • Google's kernel common: android-4.9
    • CAF specific fork for for Snapdragon 71*, currently on: LA.UM.7.8.r1-07100-SDM710.0
  • Dynamic SchedTune boost
  • BBR and Westwood TCP congestion-avoidance algorithm (optional)
  • Exposure Adjustment (DC Dimming)
  • AVB and SafetyNet bypassed
  • KCAL, KLapse, Vibration control, and Sound control
  • Check GitHub commits for more
  • TL;DR : The best custom karamel (arguable)

Compatibility (v8.4)
  • AOSP-based custom ROM (Pie)
  • MIUI 10 and 11 (Stable or Weekly. Pie, NOT THE Q)

Downloads
Zach said this link should be bigger and as you can see he's right


Installation
  • Backup your dtbo and boot partition.
  • Flash the kernel.zip file via twrp

Credits and Thanks to
  • Linus, The Linux Foundation, Google, CodeAurora, Xiaomi
  • arter97
  • celtare21
  • faust93
  • flar2
  • franciscofranco
  • kdrag0n
  • kerneltoast
  • krasCGQ
  • nathanchance
  • osm0sis
  • pengus77
  • RenderBroken
  • ... and all of the contributors from commits and patches on my git


XDA:DevDB Information
Okitavera's Kernel, Kernel for the Xiaomi Mi 9 SE

Contributors
yuneharuka
Source Code: https://github.com/okitavera/msm-4.9-grus-okita

Kernel Special Features: Family friendly, no overclocked.

Version Information
Status: Stable
Current Stable Version: 8.4
Stable Release Date: 2019-10-19

Created 2019-05-26
Last Updated 2019-10-19
The Following 39 Users Say Thank You to okitavera For This Useful Post: [ View ] Gift okitavera Ad-Free
26th May 2019, 09:27 PM |#2  
okitavera's Avatar
OP Senior Member
Flag Malang
Thanks Meter: 808
 
Donate to Me
More
Pinned posts

- FAQ -> https://forum.xda-developers.com/sho...50&postcount=3
- How to tune schedutil for your preferences -> https://forum.xda-developers.com/sho...&postcount=620
- Tunable sysfs paths for DC-Dimming -> https://forum.xda-developers.com/sho...&postcount=516
26th May 2019, 10:17 PM |#3  
okitavera's Avatar
OP Senior Member
Flag Malang
Thanks Meter: 808
 
Donate to Me
More
FAQ (Fricking Asked Question)

Q : is this a battery-life or performance aware kernel ?
A : Neither of it, this kernel is focused on upstreaming and bug-fixing so it can be used on many ROM as much as possible. But well, sometimes I'm interested on some additional features and include it on this kernel.

Q : My phone is hot after installing this kernel!
A : next question please!

Q : When kramel update xdd ?
A : Whenever I want. fun project != ETA

Q : Can I talk about my probl..
A : PM will be ignored, Discuss the problem on this thread instead.

Q : Magisk user should flash it before or after installing this kernel ?
A : Starting from v2.5, you can flash magisk at anytime, it will be preserved.

Q : Please more battery backup sur
A : next.

Q : What is your app recommendation for tuning this kernel ?
A : I'm using EXKM, but you can use any other app. Oh wait, based on user report, Kernel Adiutor/SmartPack can't read the big cluster cpufreq table properly.

Q : I have some problem, what can I do for you to diagnose it ?
A : dmesg, logcat, and also any additional information would be helpful.

Blocked Requests
- Additional cpu governor or io-scheduler
- In-kernel wakelock blocker
- Any weird, unused, or stuff that likely makes the phone in a dangerous state like overclocking, undervolting, and so on.
The Following 12 Users Say Thank You to okitavera For This Useful Post: [ View ] Gift okitavera Ad-Free
26th May 2019, 10:31 PM |#4  
Senior Member
Thanks Meter: 22
 
More
Thanks for your work.
It's compatible with xiaomi.eu rom?
The Following User Says Thank You to ale.giordano For This Useful Post: [ View ] Gift ale.giordano Ad-Free
26th May 2019, 10:36 PM |#5  
okitavera's Avatar
OP Senior Member
Flag Malang
Thanks Meter: 808
 
Donate to Me
More
Quote:
Originally Posted by ale.giordano

Thanks for your work.
It's compatible with xiaomi.eu rom?


Yes. in fact, currently I'm using Xiaomi.eu ROM


But also don't forget to backup your boot and dtbo partition just in case you want to restore it back,
since this kernel uses dtbo from global stable to match the kernel source from Xiaomi.
The Following 4 Users Say Thank You to okitavera For This Useful Post: [ View ] Gift okitavera Ad-Free
26th May 2019, 10:42 PM |#6  
Senior Member
Flag Teheran
Thanks Meter: 872
 
More
What is the kernel version? Thank you

---------- Post added at 11:42 PM ---------- Previous post was at 11:38 PM ----------

A question. I see this: Optional : Flash Magisk Installer zip file after flashing the kernel

I always seen the dev Franco to say that Magisk must be flashed before flashing the kernel because Magisk can mess with ramdisk, etc.. I have done alwys in this way with Pocophone and Franco kernel.
The Following User Says Thank You to denzel09 For This Useful Post: [ View ] Gift denzel09 Ad-Free
26th May 2019, 10:52 PM |#7  
okitavera's Avatar
OP Senior Member
Flag Malang
Thanks Meter: 808
 
Donate to Me
More
Quote:
Originally Posted by denzel09

What is the kernel version? Thank you

---------- Post added at 11:42 PM ---------- Previous post was at 11:38 PM ----------

A question. I see this: Optional : Flash Magisk Installer zip file after flashing the kernel

I always seen the dev Franco to say that Magisk must be flashed before flashing the kernel because Magisk can mess with ramdisk, etc.. I have done alwys in this way with Pocophone and Franco kernel.


it uses kernel 4.9.112 from MiCode with Merged CAF Tag LA.UM.7.8.r1-05600-SDM710.0


For the magisk situations,
I am using a customized AK2 installer for be able to flash kernel on a clean stock boot partition that doesn't have a ramdisk (yes, our boot partition doesn't have ramdisk on it) without needing to flash the magisk first.



So if you guys are not using magisk, just flash like a normal.
but if you're using Magisk, you can reflash magisk after installing or reinstalling the kernel
The Following User Says Thank You to okitavera For This Useful Post: [ View ] Gift okitavera Ad-Free
26th May 2019, 11:17 PM |#8  
PeppeCNN's Avatar
Senior Member
Thanks Meter: 531
 
More
why backup of dtbo n boot?
26th May 2019, 11:28 PM |#9  
bonbibonkers's Avatar
Member
Thanks Meter: 6
 
More
Many thanks )))(
26th May 2019, 11:32 PM |#10  
okitavera's Avatar
OP Senior Member
Flag Malang
Thanks Meter: 808
 
Donate to Me
More
Quote:
Originally Posted by PeppeCNN

why backup of dtbo n boot?


Just in case you want to restore it back to the default rom.

This kernel is using stock global stable dtbo.
And if you try to use dtbo from a custom rom like Xiaomi.eu, it will breaks the camera drivers since the dt aren't compatible with the camera source that are released by xiaomi in their github (well, typical xiaomi's behaviour)
The Following User Says Thank You to okitavera For This Useful Post: [ View ] Gift okitavera Ad-Free
26th May 2019, 11:39 PM |#11  
skyline91's Avatar
Senior Member
Thanks Meter: 59
 
More
Quote:
Originally Posted by yuneharuka

Just in case you want to restore it back to the default rom.

This kernel is using stock global stable dtbo.
And if you try to use dtbo from a custom rom like Xiaomi.eu, it will breaks the camera drivers since the dt aren't compatible with the camera source that are released by xiaomi in their github (well, typical xiaomi's behaviour)

can you flash it from stock img via fastboot? or need to backup?
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes