Skip to content

IDNAHUS/android_kernel_samsung_universal9611

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Markdownify
GrassKernel

A custom kernel for the Exynos9611 devices.

Key FeaturesHow To BuildHow To FlashCredits

Key Features

  • Disable Samsung securities, debug drivers, etc modifications
  • Checkout and rebase against Android common kernel source, Removing Samsung additions to drivers like ext4,f2fs and more
  • Compiled with bleeding edge Neutron Clang 17, with full LLVM binutils, LTO (Link time optimization) and -O3
  • Import Erofs, Incremental FS, BinderFS and several backports.
  • Supports DeX touchpad for corresponding OneUI ports that have DeX ported.
  • Lot of debug codes/configuration Samsung added are removed.
  • Added wireguard driver, an open-source VPN driver in-kernel
  • Added KernelSU

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/Exynos9611Development/android_kernel_samsung_universal9611

# Go into the repository
$ cd android_kernel_samsung_universal9611

# Install toolchain
# You could try any clang/LLVM based toolchain, however I use neutron 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=a51 (--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

About

Grass Kernel source For Samsung Galaxy A51/F41/M31s/M30s/M31/M21/Tab S6 Lite

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 97.9%
  • Assembly 1.3%
  • Makefile 0.3%
  • Perl 0.2%
  • Python 0.1%
  • Shell 0.1%
  • Other 0.1%