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

Search This thread

twistyplain

Senior Member
Nov 21, 2011
423
187
Nairobi
So which roms are advised to use with this kernel ?
The dev just told you which ROMs he uses. Why do you ask him to recommend ROMs he hasn't tested? If you want to know if the kernel works on a different rom then go ahead and test it. Just make sure you use the correct version of yuki. Use Miui version for Miui based ROMs and AOSP version for AOSP based roms.
 

DFatMan

Member
Mar 27, 2006
13
0
44
Hi.
I flashed last version of your kernel for MIUI. Sometimes front-working application may be killed. Is it any way to fix this collision?
 

Attachments

  • saved_log.zip
    178.1 KB · Views: 7

DFatMan

Member
Mar 27, 2006
13
0
44
If you are on android 10, Dirty Flash this version 4.14.117... It should work... However, I am using AOSP, so your milage may vary...
My phone is on stock rooted MIUI 12.0.2. Android 10 than I flashed this version, it is last for my phone. It works but sometimes applications was killed by lowmemorykiller. I don't know why. I performed all authors recommendations.
 
Last edited:

Bagonzo

Member
Jan 26, 2016
49
16
Bangalore
My phone is on stock rooted MIUI 12.0.2. Android 10 than I flashed this version, it is last for my phone. It works but sometimes applications was killed by lowmemorykiller. I don't know why. I performed all authors recommendations.

In that case, the only thing you can do is to try older ones. I'm on AOSP so I can't tell you which one is the most stable. Just keep dirty flashing till you find the one which is most stable. Don't forget to turn off auto update if you're using a kernel manager. One more thing that you can do is read all the replies in the thread. That should give you an idea as to which is more stable, i.e., if people talked about it.
Good luck mate! 😄 🤞
Edit:
Unfortunately, even I have that problem... So IDK....
 
  • Like
Reactions: DFatMan

Kranzes

Member
Nov 25, 2020
6
1
Hey im trying to flash your AOSP R kernel on my joyeuse running lineageos 18 (android 11) and after flashing the kernel from recovery i get stuck on the boot splash screen that says "Redmi", im not sure exactly why that is happening, Thanks.
(running on the latest kernel version that came out today) i tried like 4 older ones and its the same thing.
 

felipovicc

Senior Member
Jul 31, 2015
65
7
Barcelona
Hey, I had an issue but I am not sure if it was due to the kernel. I was running pixel extended and flashed the latest version with inline encryption.

Had it running nice for one day, today the phone suddenly rebooted iyaelf and it went on I thought it was a bootloop.

To my surprise, it is bricked as it won't say on for more than 5 or 10 secs. If I go into recovery or fastboot it will reboot itself so I haven't been able to flash the stock firmware via fastboot as it shut down after starting.

I am expecting the battery to discharge to see if I am amble to boot into fastboot and see if I can solve the issue.

Any recommendations?
 

TeamMex

Recognized Developer / Inactive RC
Hey, I had an issue but I am not sure if it was due to the kernel. I was running pixel extended and flashed the latest version with inline encryption.

Had it running nice for one day, today the phone suddenly rebooted iyaelf and it went on I thought it was a bootloop.

To my surprise, it is bricked as it won't say on for more than 5 or 10 secs. If I go into recovery or fastboot it will reboot itself so I haven't been able to flash the stock firmware via fastboot as it shut down after starting.

I am expecting the battery to discharge to see if I am amble to boot into fastboot and see if I can solve the issue.

Any recommendations?

try this
 
  • Like
Reactions: rokes_h

niccoss

Member
Aug 10, 2015
47
1
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.​
 

niccoss

Member
Aug 10, 2015
47
1
My phone is on stock rooted MIUI 12.0.2. Android 10 than I flashed this version, it is last for my phone. It works but sometimes applications was killed by lowmemorykiller. I don't know why. I performed all authors recommendations.


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
 

Arwan_Farizi

Member
Jul 26, 2016
22
4
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?
 

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.