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

Status
Not open for further replies.
Search This thread

okitavera

Senior Member
Jan 6, 2016
436
808
Malang
okitavera.me
I tried with 84hz, the animations and transitions between apps is stuttering, it's like the phone itself can't keep up with it.
Turning down to 74hz, that problem are still happening.

Also I tried with 64hz, it works quite well. but the battery consumption isn't normal.
 

Attachments

  • Screenshot_2019-06-28-23-53-27-707_com.finalwire.aida64.jpg
    Screenshot_2019-06-28-23-53-27-707_com.finalwire.aida64.jpg
    177.9 KB · Views: 173
  • Like
Reactions: denzel09

denzel09

Senior Member
Jun 28, 2009
4,215
874
Teheran
I tried with 84hz, the animations and transitions between apps is stuttering, it's like the phone itself can't keep up with it.
Turning down to 74hz, that problem are still happening.

Also I tried with 64hz, it works quite well. but the battery consumption isn't normal.

Can you write a guide to how mod the dtbo img for change display HZ? We are searching to do this on Mi9 to try lower HZ like 75 for example. Ask this because 84 cause a green tint really awful. Thanks
 

okitavera

Senior Member
Jan 6, 2016
436
808
Malang
okitavera.me
  • Like
Reactions: denzel09

okitavera

Senior Member
Jan 6, 2016
436
808
Malang
okitavera.me
Hello everyone!

Here's the update notes for v3.0

Changelogs

- Remove xiaomi's memory management and restore it to the default Linux/CAF changes (zram, vmalloc, lmk).
- Remove unused xiaomi's package runtime info, manual watchdog invocation and other minor changes.
- Now this kernel uses compiled dtbo.img from the source code itself, thanks to @faust93 for the patch.
- Merged Qualcomm Atheros WLAN modules (LA.UM.7.8.r4-01000-SDM710.0).
- More tweaks on the CPU big cluster battery costs.
- Reduced the GPU idle timeout for earlier low-power state.
 
Last edited:

faust93

Senior Member
Apr 27, 2010
502
1,188
Moscow
Wait, so everytime the phone's boot, we need to re-enable it ?
Just like that ?

Sent from my Mi 9 SE using Tapatalk

Right, perhaps we could leverage magisk with simple module for that.
But it's interesting what they have changed in dev so that it does not work by default.
My assumption is that they have changed sysfs fod naming in the new kernel (from fod_status to something else, could be checked on dev with default kernel if /sys/devices/virtual/touch/tp_dev/fod_status is still there) or have reimplemented sensor enable logic somehow. Also it would be nice to compare hal diffs (grep fod_status /vendor/lib64/hw) between old and dev miui to get more understanding.
 
  • Like
Reactions: Tianjingbaozi2

okitavera

Senior Member
Jan 6, 2016
436
808
Malang
okitavera.me
Right, perhaps we could leverage magisk with simple module for that.
But it's interesting what they have changed in dev so that it does not work by default.
My assumption is that they have changed sysfs fod naming in the new kernel (from fod_status to something else, could be checked on dev with default kernel if /sys/devices/virtual/touch/tp_dev/fod_status is still there) or have reimplemented sensor enable logic somehow. Also it would be nice to compare hal diffs (grep fod_status /vendor/lib64/hw) between old and dev miui to get more understanding.


Yeah, i'm not a huge fan of additional init script (that's why my kernel don't have a ramdisk changes) though.
So maybe we can fix it through the module itself.

Anyways, Thank you for the information, absolutely helpful.


*downloading dev rom
 

osmancan71

Senior Member
Sep 11, 2012
185
14
ankara
Hello everyone! Sorry for a quick updates.

Here's the update notes for v3.5

Changelogs

- Fix unavailable Fingerprint-on-Display on MIUI Developer
- Added Headphone Sound control
- Completely reduce GPU timeout

For the details you can check the commit history here : .../commits/v3.5

Download



Go to : Releases Page
Or mirror : Google Drive

very nice. i am trying.

fingerprint is working :good:
 
Last edited:

vecino

Senior Member
Aug 12, 2008
554
187
Finger print issue on xiaomi.eu dev with this kernel are gone? I think do not respond FP on switch off display.

Can I use latest Magisk?

Many thanks dev
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 39

    eHjVLwZ.png


    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
    15
    Breaking news.

    Xiaomi already publish the Mi A3 (or Mi CC9, CC9 Meitu, whatever you named it, Xiaomi) Kernel source code.
    It basically uses the same base as ours, and after some hours of inspection,
    me and @pengus77 got a few things from Mi A3 and Mi 9 source code that can be ported to fix several issues on this device (like the brightness, fod, etc) :)
    14
    Good Bye :D

    Hello everyone!
    Unfortunately, I have to stop the development for Mi 9 SE due to device change
    smile.gif

    The kernel sources for this device still available at my GitHub page if you want to fork or even just looking around.

    Thanks for all the support given and see you later :)
    14
    Hello everyone!

    Here's the update notes for v4.0

    Changelogs

    - Add Sound Control for our Speaker
    - Fix overlapped call and notification values on haptic control
    - Cleanup debug bloat on Wi-Fi driver as much as possible
    - Cleanup some unused xiaomi changes on driver departments (camera and fragmention)
    - Removed schedutil_pixel (blu_schedutil and default schedutil is more than enough)
    - Adjust Dynamic Stune Boost default to 10%
    - Turned-down Performance cluster to 748MHz
    - Keeping boosted freq that based on touch input a litte bit longer
    - Enable workqueue power saving by default
    14
    Hello everyone!

    Here's the update notes for v4.5

    Changelogs

    - Upstream kernel to 4.9.185 (android-linux-stable)
    - Allow enforcing deepest cluster idle state selection
    - Use power efficient workqueues on the vmstat and audio-kernel
    - hardcode dirty_expire_centisecs to 30s (https://android-review.googlesource.com/c/platform/system/core/+/938362)
    - Add IPA_RM12 and IPA_WS to the default block list (thanks to @pengus77 for more wakelock block list)
    - Updated Goodix GT9886 firmware from MIUI Dev
    - Cleaned-up unused touchscreen driver

    Notes
    I can't fix the short brightness bugs on MIUI Dev yet, so lmao yeah.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone