Home

Awesome

Kernel SU for Xiaomi Mi 10 Ultra

点我获取每周自动在线构建的最新ksu内核 / Click to get CI version!

Kernel Builder Xiaomi Mi 10 Ultra (cas) (legacy) Kernel Builder Xiaomi Mi 10 Ultra (cas) (cloud)

ksuManagerScreenshot

编译过程视频(算得上教程吧...?) / Video Tutorial

[ZH/CN] Bilibili

咋编译? / How to compile?

在Ubuntu上编译 / Compile on Ubuntu<br/> (我只在Arch Linux上测试过,Debian自己试 / I only did this on my Arch Linux, for Debian you should test it yourself.) 第一步:在这个文件夹开个命令行窗口 / STEP ZERO: OPEN A TERMINAL WINDOW HERE

装依赖 / Install dependences first:

Debian

sudo apt install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev libgl1-mesa-dev libxml2-utils xsltproc unzip bc

Arch Linux

sudo pacman -S base-devel

设置环境变量 / Then set environment vars:

export ARCH=arm64
export CROSS_COMPILE=./gcc/gcc-arm64-gcc-master/bin/aarch64-elf-
export CROSS_COMPILE_ARM32=./gcc/gcc-arm-gcc-master/bin/arm-eabi-

开整 / GO!!!

cd kernel && make

编好的内核在哪? / Where is the kernel image file?

./kernel/arch/arm64/boot/

鸣谢 / Thanks

KernelSU Project

Kernel for Xiaomi sm 8250