Roynas-Android-Playground / kernel_samsung_universal9611

Grass kernel source for Galaxy A51/M21/M31/M31s/F41/Tab S6 Lite, archived due to a kanger
Other
28 stars 35 forks source link


Markdownify
GrassKernel

A custom kernel for the Exynos9611 devices.

Key FeaturesHow To BuildHow To FlashCredits

Key Features

How To Build

You will need ubuntu, git, around 8GB RAM and bla-bla-bla...

# Install dependencies
$ sudo apt install -y bash git make libssl-dev curl bc pkg-config m4 libtool automake autoconf

# Clone this repository
$ git clone https://github.com/Gojikovi/kernel_samsung_universal9611

# Go into the repository
$ cd kernel_samsung_universal9611

# Install toolchain
# You could try any clang/LLVM based toolchain, however I use WeebX clang
# See the intructions: https://github.com/XSans0/WeebX-Clang

# Building kernel is simple, a python script is provided.
# Options inside parenthesis are optional, Parenthesis' with | between 
# means you have to provide one of those options inside.
$ python build_kernel.py (--aosp|--oneui) --target=m31 (--no-ksu) (--allow-dirty)

After build the image of the kernel will be in out/arch/arm64/boot/Image

How To Flash

After a successful build, you can see the scripts/packaging/Grass*.zip archive. This is your kernel. Just flash it via TWRP or adb sideload

Credits