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

Status
Not open for further replies.
Search This thread

ChocoHR

Senior Member
Apr 26, 2019
91
19
Im so impressed about my battery after all the updates.
6hrs of SOT and a 30ish hours of stand by.

Thanks for it!
 

Attachments

  • Screenshot_2019-07-31-20-38-32-357_com.miui.securitycenter.jpg
    Screenshot_2019-07-31-20-38-32-357_com.miui.securitycenter.jpg
    206.6 KB · Views: 208
  • Screenshot_2019-07-31-20-38-28-230_com.miui.securitycenter.jpg
    Screenshot_2019-07-31-20-38-28-230_com.miui.securitycenter.jpg
    105.1 KB · Views: 208
  • Like
Reactions: Brummbude

davidben73

Senior Member
Oct 3, 2012
501
80
Hi there, I want to ask about K-lapse. Is it okay to use while I'm using KCAL settings on EXKM? Or we have to choose which 1 to use?

Thank you
 

okitavera

Senior Member
Jan 6, 2016
436
808
Malang
okitavera.me
Happy weekend, everyone :eek:
Kernel has been updated, and here's the changelogs for it :

R1 Changelog
- Merge CAF tags to LA.UM.7.8.r1-06500-SDM710.0 (audio-kernel and Wi-Fi modules are updated too)
- Uses a new installer called bootwitch. Open-source too (with GPLv3)
- Add up/down freq transition rate-limits for schedutil. (0 by default, you can adjust it on the governor parameters. https://android-review.googlesource.com/c/kernel/common/+/444322)
- Fix energy compute when a cluster is only a cpu core in multi-cluster system
- Fix massive cpufreq_times memory leaks
- Update LZ4 from upstream AOSP (now our zRAM is even faster than before ??)

R2 Changelog
- Fix invalid WiFi signal after merging latest CAF Tags for WiFi driver

Downloads
 
Last edited:

Voodoojonny

Senior Member
Dec 17, 2015
806
333
Dortmund
Happy weekend, everyone :eek:
Kernel has been updated, and here's the changelogs for it :

- Merge CAF tags to LA.UM.7.8.r1-06500-SDM710.0 (audio-kernel and Wi-Fi modules are updated too)
- Uses a new installer called bootwitch. Open-source too (with GPLv3)
- Add up/down freq transition rate-limits for schedutil. (0 by default, you can adjust it on the governor parameters. https://android-review.googlesource.com/c/kernel/common/+/444322)
- Fix energy compute when a cluster is only a cpu core in multi-cluster system
- Fix massive cpufreq_times memory leaks
- Update LZ4 from upstream AOSP (now our zRAM is even faster than before )

Downloads
Wow, you're on fire! Thank you soooo much!
 

-Luigi.

Senior Member
Jun 26, 2012
260
73
Blumenau
@okitavera

Could you tell me which is the exact file and change that the "microphone / speaker gain" feature of your kernel modifies?

I'm messing a bit with some microphone settings, but yet not sure which is the correct file to modify, as there are many with the same starting name... (I'm under vendor/etc)

I'm trying to increase the volume for a specific device "handset-dmic-endfire", should I change the DEC or ADC values of it?

Thanks in advance!

Sent from my Mi 9 SE using Tapatalk
 

okitavera

Senior Member
Jan 6, 2016
436
808
Malang
okitavera.me
@okitavera

Could you tell me which is the exact file and change that the "microphone / speaker gain" feature of your kernel modifies?

I'm messing a bit with some microphone settings, but yet not sure which is the correct file to modify, as there are many with the same starting name... (I'm under vendor/etc)

I'm trying to increase the volume for a specific device "handset-dmic-endfire", should I change the DEC or ADC values of it?

Thanks in advance!
I don't get it.

It's modified directly on the audio driver inside the kernel.
My kernel never touch anything on your android files like vendor or system.
 
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.