Giter VIP home page Giter VIP logo

origami_kernel_builder's Introduction

Origami Kernel Builder

This script is designed to automate the process of building an Android kernel, it streamlines various tasks involved in kernel compilation, such as configuration, compilation, and packaging.

Features

  • Build Kernel: Compile the Android kernel for specified devices.
  • Regenerate Defconfig: Update kernel configuration based on specifications.
  • Open Menuconfig: Customize kernel settings interactively.
  • Clean: Remove generated files and start fresh.
  • Telegram Integration: Send build status updates and logs to a Telegram channel or chat.

Prerequisites

  • make
  • curl
  • bc
  • zip
  • Clang and anykernel repositories cloned locally

Usage

  1. Clone this repository.
  2. Ensure the required dependencies are installed.
  3. Place this script within the Kernel Tree.
  4. Grant execution permissions: chmod 0777 origami_kernel_builder.sh
  5. Run the script: bash origami_kernel_builder.sh

Configuration

  • Modify the script variables (ARCH, DEFCONFIG, localversion, etc.) as per your kernel requirements.
  • Set up Telegram integration by providing chat_id and token variables to enable messaging.

How to Use

Upon running the script, it will prompt you with several options:

  • Build a whole Kernel: Initiates the kernel compilation process.
  • Regenerate defconfig: Updates kernel configuration.
  • Open menuconfig: Customize kernel settings interactively.
  • Clean: Removes generated files.
  • Quit: Exit the script.

Error Handling

The script handles various scenarios such as permission issues, missing dependencies, or configuration errors, providing relevant error messages and instructions for resolution.

Contributions

Feel free to contribute to enhance features, improve error handling, or optimize the script's functionality.

License

This script is licensed under the GNU General Public License v3.0. Refer to the LICENSE file for more details.


Note: Always review and modify the script variables and configurations as per your specific kernel building requirements before executing.

origami_kernel_builder's People

Contributors

rem01gaming avatar

Stargazers

ギドラ avatar Blanco ✓ avatar fastbooteraselk avatar

Watchers

 avatar ギドラ 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.