Skip to content

Latest commit

 

History

History
47 lines (28 loc) · 1.55 KB

File metadata and controls

47 lines (28 loc) · 1.55 KB

Build instructions:

  1. Set up build environment as per Google documentation

https://source.android.com/docs/setup/start/requirements

  • The libarchive-tools package is also necessary to patch the toolchain.
  • The ccache package is necessary if you wish to build with CCache (Quicker subsequest builds)
  1. Properly clone repository with submodules (KernelSU and toolchains)

git clone --recurse-submodules https://github.com/Mesazane/9820_kernel.git

  1. Build for your device without CCache and with KSU

./build.sh -m beyond1lte -k y -c n

  1. Build for all devices with or without KSU

./build_all.sh -k y

  1. Fetch the flashable zip of the kernel that was just compiled

build/out/[your_device]/KisekiKernel...zip

  1. Flash it using a supported recovery like TWRP either using the install function or ADB Sideload

  2. Enjoy!

Linux kernel

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users. These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use make htmldocs or make pdfdocs.

There are various text files in the Documentation/ subdirectory, several of them using the Restructured Text markup notation. See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the requirements for building and running the kernel, and information about the problems which may result by upgrading your kernel.