mlm-games / kernel_samsung_exynos_9611

Other
1 stars 0 forks source link

GrassyKernel

A custom kernel for the Exynos-9611 devices. Derived from GrassKernel after it was archived...

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/mlm-games/kernel_samsung_exynos_9611

# Go into the repository
$ cd kernel_samsung_exynos_9611

# Install toolchain
# You could try any clang/LLVM based toolchain, however I used WeebX clang 19-rc4 (neutron-clang has also been used previously)
# See the intructions: https://github.com/XSans0/WeebX-Clang
# If you are using Arch or distro with latest glibc, You may want to use antman instead.
$ bash <(curl https://gist.githubusercontent.com/roynatech2544/0feeeb35a6d1782b186990ff2a0b3657/raw/b170134a94dac3594df506716bc7b802add2724b/setup.sh)
# 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=m31s (--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

Other notes

M31s kernel with KSU for stock OneUI rom: https://gitlab.com/android-custom-stuff/android-kernel-samsung-m31s_sm-m317f

Check out MrImmortal09's kernel source for WIP? kali nethunter kernel for Exynos 9611

Credits