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

Search This thread

TeamMex

Recognized Developer / Inactive RC
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
AOSP R version will work on MIUI R but not all wil work like led
 
  • Like
Reactions: kadorna1

TeamMex

Recognized Developer / Inactive RC
I added some boosting info for they who have some laggy issues on some games


COD Mobile for reference
1623981540092.png
 

TeamMex

Recognized Developer / Inactive RC
It's ok, I've installed Havoc OS 4.6 on the phone. I have a question though: Would you recommend the kernel for better battery life? Performance is good on Havoc but the battery life is quite average.
I'm sorry but normally I am not interested in having a thousand hours of battery life.
And maintaining good performance without hurting the battery is not so easy or causes abnormal operation or lags.
 
I'm sorry but normally I am not interested in having a thousand hours of battery life.
And maintaining good performance without hurting the battery is not so easy or causes abnormal operation or lags.
I see. I guess long battery life is kind of redundant now with fast charging and all that. Anyways, I flashed your kernel on Havoc and it's working great. The idle drain at least seems to have improved a lot. So, thanks for your work I guess xD
 

ky1998

Member
Dec 31, 2019
5
0
Después de flashear e intentar arrancar, la rom se reinicia y me envía al modo fastboot, estoy en octaviOs A12. Intento flashear el yuki 4.14.255

----------

MOD EDIT: English Translation Below

After flashing and trying to boot, the rom reboots and sends me to fastboot mode, I'm on octaviOs A12. I am trying to flash the yuki 4.14.255
 
Last edited by a moderator:

Drkm433

Member
Jan 30, 2016
16
1
bootloops on miui 12.5, joyeuse
miui version gets stucked on Redmi logo and AOSP just reboots before booting
 
Después de flashear e intentar arrancar, la rom se reinicia y me envía al modo fastboot, estoy en octaviOs A12. Intento flashear el yuki 4.14.255

----------

MOD EDIT: English Translation Below

After flashing and trying to boot, the rom reboots and sends me to fastboot mode, I'm on octaviOs A12. I am trying to flash the yuki 4.14.255
Qué tal es octaviOS? Acabo de flashear ProjectElixir 1.1 y está pero también vi ese

----------

MOD EDIT: English Translation Below

How is OctaviOS? I just flashed ProjectElixir 1.1 and it is but I also saw that
 
Last edited by a moderator:

ky1998

Member
Dec 31, 2019
5
0
Qué tal es octaviOS? Acabo de flashear ProjectElixir 1.1 y está pero también vi ese

----------

MOD EDIT: English Translation Below

How is OctaviOS? I just flashed ProjectElixir 1.1 and it is but I also saw that
Es muy buena, tiene algunos Bugs y eso, pero es utilizable para el día a día.
La dejé hace 4 días, actualmente estoy en nusantara 4,0

----------

MOD EDIT: English Translation Below

It is very good, it has some bugs and that, but it is usable for day to day.
I left it 4 days ago, I am currently on nusantara 4.0
 
Last edited by a moderator:

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.