Giter Club home page Giter Club logo

grass_kernel's Introduction


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/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 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)

# If you want to compile the kernel not for A51 then export DEVICE variable to m21, m31, m31s, f41
# Build the kernel
$ ROM=aosp ./build_kernel.sh # (for AOSP)
$ ROM=oneui ./build_kernel.sh # (for OneUI)
$ DEVICE=m21 KSU=1 ROM=aosp ./build_kernel.sh # (for M21, AOSP and ksu)

# if you want to overclock or underclock edit these and add it to arch/arm64/configs/vendor/grass.config
CONFIG_ARM_MODCLOCK=y
CONFIG_MAX_FREQ_BIG=2314000
CONFIG_MIN_FREQ_BIG=936000
CONFIG_MAX_FREQ_LITTLE=1742000
CONFIG_MIN_FREQ_LITTLE=403000

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 $PWD/kernel_zip/GRASS* archive. This is your kernel. Just flash it via TWRP or adb sideload

Credits

grass_kernel's People

Contributors

torvalds avatar davem330 avatar broonie avatar tiwai avatar mchehab avatar arndb avatar gregkh avatar bigguiness avatar htejun avatar kaga-koko avatar ickle avatar joeperches avatar danvet avatar geertu avatar jmberg-intel avatar axellin avatar olofj avatar pmundt avatar bzolnier avatar acmel avatar airlied avatar larsclausen avatar linusw avatar morimoto avatar ralfbaechle avatar alexdeucher avatar vsyrjala avatar jhovold avatar dhowells avatar rafaeljw avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.