-
Build standart/custom kernel for Google Redbull family
-
Build kernel with KernelSU (patches and kprobes methods)
-
Build kernel with APatch fixes
-
Pack builded kernel into AnyKernel3
- Add support of build and patch kernels for most of android devices
- Make more flexible settings
-
Add more avalible patches
-
WE ARE NOT RESPONSIBLE IF YOUR DEVICE BRICKS OR BREAKS. PROCEED AT YOUR OWN RISK.
THIS SCRIPT IS IN EARLY TESTING AND MAY CAUSE DAMAGE TO YOUR DEVICE IF USED INAPPROPRIATELY. CONSIDER ALL RISKS AND USE IT AT YOUR OWN RESPONSIBILITY.
DO NOT OPEN A NEW ISSUE IF YOU HAVE BRICKED YOUR DEVICE.
You must be running a 64-bit Linux distribution and must have installed some packages to build Kernel. Google recommends using Ubuntu.
Or you can use our FTBE!
sudo curl --create-dirs -L -o /usr/local/bin/repo -O -L https://storage.googleapis.com/git-repo-downloads/repo
sudo chmod a+rx /usr/local/bin/repo
sudo apt-get install -y curl bc flex bison git cmake build-essential libncurses5 libncurses5-dev
git clone https://github.com/DiamivaeBro/YARBS.git
./$HOME/YARBS/build_ksu.sh
- Results you can found in "AnyKernel3" and "out" directories in $HOME/android-kernel
- You can configure for what android version kernel you building, just change branch at script
- Also in releases you can find prebuilded by me redbull kernels that includes KSU. A14 QPR1 ONLY
1. For stock ROM:
-
Unlock bootloader
-
Reboot to bootloader
-
Flash boot.img
fastboot flash boot boot.img
- Boot to system
5 If it dont booted and ask to restore factory data you need to restore factory data
2. For custom ROM (Tested with LineageOS 21 may not work on others)
-
Reboot to recovery
-
Apply update
-
Apply update from ADB
-
Complete installing
adb sideload AnyKernel3.zip
- Reboot to system
- QKIvan - YARBS
- xiaoleGun - Script for patch kernel sources to support KernelSU
- Riko - Code refactoring
- KernelSU Action - Idea of this project
- KernelSU - KernelSU
- Tiann - KernelSU Patches
- AnyKernel3 - AnyKernel3
- hand7s aka s0me1newithhand7s - Idea of quick deployment, second README ittartion
- ShelbyHell/AOSPA - helping with modify README, from AOSPA take more text :D
- bdqllW - For KernelSU patch shell