[Kernel][MIUI-AOSP]Yuki ユキ Kernel 3.9 Miui 6 AOSP[curtana,excalibur,gram,joyeuse]

Search This thread

vlouis

Senior Member
Dec 2, 2017
217
80
How to return to former kernel, if I don't like yuki kernel?
If you want to return to kernel built in rom, the easiest way is to dirty flash the rom, will overwrite the kernel too.
Other possibility is to extract from rom zip the boot.img and dtbo.img, then flash in recovery (never tried...).
Making backup before try any of this, is a smart idea...
 

DFatMan

Member
Mar 27, 2006
13
0
44
i have miui 12.0.1.0 but i have joyeuse 6gb QJZMIXM. and first ask what is ur code name phone ? (Joyeuse or curtana) if u have Joyeuse go HERE Xiaomi eu page scroll down when u see date: Edit October 23, 2020: LR.TWRP 3.4.1B 0530 read this instruction and get this Twrp and install or if u have working good TWRP unroot ur device and Root with magisk . stock miui roms dont like normal super su root. and maybe this is problem why LMK killing ur apps
Thanks but I use magisk already. I wrote that my phone curtana 4gb.
 

TeamMex

Recognized Developer / Inactive RC
Hey, That is last update for Miui Rom i think 2020-11-29...
there will be some update for miui or only just for a nasty AOSP.​

The miui kernel will be updated until xiaomi releases Miui R for all devices.
I have no plans to install MIUI soon and if I do it would be to install the version of miui R for the firmware.

Hello guys, I want to flash yuki kernel while I have another kernel in place... So how should I flash yuki kernel? Should I dirty flash it or should I start from scratch?
remove any magisk module installed by your old kernel or ypu will have problems with yuki kernel
after installing make wipe cache
 

felipovicc

Senior Member
Jul 31, 2015
65
7
Barcelona
Hi, just a question. I'm running latest version on fluidos, is it normal that selinux changed to permissive after flashing the kernel? Everything running great though! Thanks!
 

nightcrawler218

Senior Member
Jun 25, 2012
159
18
Kolkata
Redmi Note 9 Pro
Want to flash this kernel on top of my android 11 custom rom installation. System config in screenshot. Will this kernel allows 3 finger screenshot and dtt wake feature?

Thanks
 

Attachments

  • Screenshot_20210410-092422_System_update.png
    Screenshot_20210410-092422_System_update.png
    82.8 KB · Views: 40

TeamMex

Recognized Developer / Inactive RC
Want to flash this kernel on top of my android 11 custom rom installation. System config in screenshot. Will this kernel allows 3 finger screenshot and dtt wake feature?

Thanks

(?) the double tap to wake is handled by the power hal if it is propper configured it works
also 3finger screenshot is handled by the system so it should work too

All of them works on xperience rom.
 
  • Like
Reactions: nightcrawler218
Oct 26, 2014
8
4
I just flashed yuki on Curtana (RN9P - India). I have a couple of questions if anyone can answer it would be a great help. I am using FKM since I purchased it some time back. Please note that FKM does recognize Yuki Kernel is installed.

1. Manthilla governer is not shown in FKM, has anyone experienced this before? If so, have you found any workaround / fix?

2. The automatic update JSON is not working in FKM for me, it returns an error code " The JSON url seems unreachable with error code-1" Any suggestions on this?

Note: My ROM - Pixel Experience (Android-R) by XRPDigital and blackman01 for Curtana. Yuki Kernel file flashed - 4.14.231-Yuki-Kernel-Redmi-Note-9s-Pro-AOSP-R-2021-04-23.zip (23-04-2021 build from Miatoll folder)

Thanks in advance.
 
Last edited:

TeamMex

Recognized Developer / Inactive RC
Is this work on redmi note 9 pro 5g?
Nope

I just flashed yuki on Curtana (RN9P - India). I have a couple of questions if anyone can answer it would be a great help. I am using FKM since I purchased it some time back. Please note that FKM does recognize Yuki Kernel is installed.

1. Manthilla governer is not shown in FKM, has anyone experienced this before? If so, have you found any workaround / fix?

2. The automatic update JSON is not working in FKM for me, it returns an error code " The JSON url seems unreachable with error code-1" Any suggestions on this?

Note: My ROM - Pixel Experience (Android-R) by XRPDigital and blackman01 for Curtana. Yuki Kernel file flashed - 4.14.231-Yuki-Kernel-Redmi-Note-9s-Pro-AOSP-R-2021-04-23.zip (23-04-2021 build from Miatoll folder)

Thanks in advance.
Manthilla was removed I will return it soon...
Also i will fix the FKM Json
 

kadorna1

Senior Member
Apr 10, 2015
78
8
Hello does this work with android 11 or it targets android 10?

EDIT: joyeuse running 12.0.1.0.RJZMIXM at the moment
 
Last edited:

kadorna1

Senior Member
Apr 10, 2015
78
8
Q version for Android 10
R version for Android 11

MIUI version should be Android 10
android 11 has been released for joyeuse officially about a month ago, new version of miui is 12.0.1.0.RJZMIXM, previous version was 12.0.3.0.QJZMIXM which was on android 10. that's why i'm asking since it was developed when android 10 was the latest on joyeuse at least, and it hasn't been updated since
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    xtArsqe.png


    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 ROM/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.
    */
    Yuki kernel is based in CAF

    /* Details */
    • Last Xiaomi Changes
    • Last CAF Merges
    • LZ4 zram
    • LMK PSI
    • Backported pidfd
    • Use power efficient working queues
    • Use overlayed DT (to avoid making dtbo images)
    • LMK config module (see screenshots)
    • Wireguard
    • kCAL
    • Manthilla governor
    • Jump label optimizations
    • CLANG LTO-CFI-SCS
    • F2FS Rapid GC
    • BBR2 tcp cong

    /* Work in progress features */
    • sound control
    • Upstream

    /* Instructions */

    • Simply flash the kernel zip file from the recovery.
    • This kernel uses Anykernel 3 so no need to reflash magisk (if you use magisk) after installing it.
    • For good work don't disable Yuki-ユキ Kernel RN9Pro LMKD module (see the image click to see the image...)


    Note: Yuki kernel (curtana folder) is for miui roms, miatoll folder is for AOSP based roms.
    Note2: Now the AOSP variant have 2 versions uno for Android R versions for better compatibility zip name similar to this
    "4.14.117-Redmi-Note-9s-Pro-AOSP-R.zip".



    It is not necessary but if you like my job you could invite me a cup of coffee :)

    Changelog in second post.

    XDA:DevDB Information
    Yuki-&#12518;&#12461; Kernel 3.6 for Xiaomi Atoll devices [curtana,excalibur,gram,joyeuse], Kernel for the Redmi Note 9 Pro

    Contributors
    TeamMex
    Source Code: https://github.com/Klozz/android_kernel_xiaomi_sm6250

    Kernel Special Features: LMK psi, Last CAF Merges, Backported pidfd, Wireguard and more...

    Version Information
    Status: Stable

    Created 2020-10-26
    Last Updated 2020-11-29
    3
    Reserved

    Changelog:
    19/02/2021

    • Upstream to 4.14.221
    • Add Klapse and kcal
    • Optimice randomness
    • don't leak vdso pagelist
    • Use a larger on-stack video copy buffer
    • UPSTREAM: net: bpf: Make bpf_ktime_get_ns() available to non GPL programs
    • BACKPORT: bpf: add bpf_ktime_get_boot_ns()
    • Yuki ユキ clang update to 20210219 build
    • Merge tag ' LA.UM.9.1.r1-08600-SMxxx0.0 '
    Note: AOSP android R with inline encrypt only.
    Miui kernel will be updatyed when xiaomi release R miui for all devices.
    Q kernel will be updated soon.

    24/01/2021
    • Fixed performance regretions
    • Implement via userspace and update exec prog configuration
    • Don't force Low Memory killer configuration if detects we are using LMDK
    • Reconfigure LMKD configuration if detects 4GB ram device (needs more testing i have RN9Pro 6GB ram device)
    • Track power changes from Gram Q OSS
    • power: Drop “_3P5” from type to get recognized in AOSP (some roms haven't added this flag yet and sometimes cause issues so remove it)
    • Update ds28e16 driver from Q gram OSS
    • Merge tag 'LA.UM.8.1.r1-16600-sm8150.0'
    • Upstream to 4.14.214
    • optimize bpf modulo operation
    • RCU fixes
    • disable binderfs [Q ROM]

    29/11/2020
    • exfat 5.8 [both]
    • bindefs port (as per R requeriments) (R in the name Redmi-Note-9s-Pro-AOSP-R.zip)
    • haptic update from gram-q-oss [AOSP]
    • NFC firmware download fixes (from CAF)[AOSP]
    • magical changes to make your life better (or not)[both]

      NOTE: AOSP zip have 2 variants now, 1 for Android Q and other for R
      Some new requirements on Android R won't work on Q based roms and may cause fastboot reboot

    14/11/2020
    • Fix usb XHCI connection
    • Fix usb EHCI connection
    • Fix usb OHCI connection
    • v4l2-ioctl: Use a larger on-stack video copy buffer
    • printk: Add sleep time to timestamps
    • Mark vdso_pagelist allocation as not a leak
    • Avoid dynamically allocating memory in ext4_ext_remove_space
    • Alsa: Don't dynamically allocate a single struct instance
    • Atoll: increase linux,cma to 128M
    • Enable ULP
    • TTL Fixed (?)
    • some more.... for both kernels miui and aosp variants

    30/10/2020AOSP variant only

    26/10/2020
    • Rebased over LA.UM.8.9.r1-10600-SM6xx.0 (AOSP variant only)
    • Merge tag 'LA.UM.8.1.r1-16200-sm8150.0'
    • Wifi, Audio tag used LA.UM.8.9.r1-10600-SM6xx.0
    • Net Wireward
    • Enable PSI monitor
    • Add pidfd backport
    • Fixed boot on Joyeuse (Miui variant )
    • Last xiaomi changes (Miui variant )
    • Disable LMK
      Removed
    • [TESTING] exec: Add node tampering blacklist function
    • [TESTING] allow power@2 and perf 2 to tampering blacklist


    Old log history


    • dm-crypt: increase threads
    • mm: Introduce kvcalloc()
    • treewide: kvzalloc() -> kvcalloc()
    • Increase the cgroup limit to 7
    • fs: exec: Introduce is_zygote_pid()
    • [TESTING] exec: Add node tampering blacklist function
    • [TESTING] allow power@2 and perf 2 to tampering blacklist
    • Optimize CRC32
    • UFS pm_qos
    • use buffer from the stack space
    • implement stpcpy
    • expose event streams
    • Allocate decoder buffers
    • Fix VLA's
    • Improve backwards memmove performance
    • Enable vDSO + vDSO COMPAT (32bit)
    3
    @TeamMex This is a very fine kernel. I am currently working with using it (compiled with clang-11.0.4) as the kernel for OrangeFox Recovery, and it is looking very promising. :highfive:
    3
    Credits not in order:
    • Xiaomi (MiCode) for kernel sources
    • Code Aurora Forum for kernel changes
    • Google for easy access to PSI Pidfd changes
    • Demon000 for his work on AOSP kernel
    • kdragon for proton clang
    • xlidz for Yuki logo
    • RN9pro tg group for donate the device
    • KernelToast for kernel changes like qOS etc
    • To you for use my work
    • and a lot of others developers :)

    this config help with some "laggy issues"
    I leave some config for get more perf on gaming
    ySLbxGD.png


    oBvx5D3.png
    2
    hey @TeamMex ! great to see you developing for our device. I remember your Xperience Rom was one of the first roms i flashed back in the day on the original moto G lol. looking forward to trying this kernel :)
    Nice :D

    Yesterday, I installed yuki kernel on my joyeuse phone, it was really strong but after flashing I haven't been able to use my hhd hard drive
    My device didn't recognize that
    So I forced to flash stock boot

    fixed!

    It is possible to update
    new curtana branch?

    Because aosp has a newer branch

    Rebased over LA.UM.8.9.r1-10600-SM6xx.0 (AOSP variant only)
    Merge Tag 'LA.UM.8.1.r1-16200-sm8150.0'
    Wifi, LA.UM.8.9.r1-10600-SM6xx.0 audio tag applied

    I would like to check if galileo and dual gps work.

    Because cortana has this kernel there is no galileo and dual gps.

    I do not have a lag system
    check the miatoll core to see if it can detect galileo indual gps

    ---------- Post added at 12:40 PM ---------- Previous post was at 12:34 PM ----------



    I am also joining the request

    Not needed to switch to new branch i merged it

    What about fix TTL feature?

    It should be working on the latest version.
    let me know if not.