Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 2.94 KB

README.md

File metadata and controls

60 lines (42 loc) · 2.94 KB

Custom ROM Device Tree & HAL Cloning Script for Nothing Phone 2 (Pong)

Welcome to the Custom ROM Cloning Script repository! This script simplifies cloning the necessary repositories for building custom ROMs for the Nothing Phone 2, ensuring an efficient and seamless development process.

Features

  • Device Tree: Clone the device tree repository for Nothing Phone 2 (Pong).
  • HAL Repositories: Clone and set up essential Hardware Abstraction Layer (HAL) components, including display, audio, sepolicy, and more.
  • Kernel Repositories: Get kernel source, modules, and device trees ready for building.
  • Paranoid Glyph: Include Paranoid Glyph components for customization.
  • Dolby Support: Clone Dolby hardware repositories for audio enhancements.
  • Customizable Build Metadata: Option to override BUILD_USERNAME and BUILD_HOSTNAME for reproducible builds.

Getting Started

To get started, run the following command in your terminal:

wget https://raw.githubusercontent.com/Pong-Development/setup_script/refs/heads/main/setup.sh && bash setup.sh

Prerequisites

  • A Linux-based development environment.
  • Git installed and configured.
  • Basic familiarity with custom ROM development.

How It Works

  • The script clones the required repositories for device tree, vendor, kernel, and HALs.
  • Allows you to set custom build metadata (BUILD_USERNAME and BUILD_HOSTNAME).
  • Automatically sets up your development directory for ROM building.

Repository List

Here are the repositories the script clones:

Notes

  • For AOSPA-based ROMs, use the clo/caf branch of tree and vendor and default glyph repo.
  • If unsure about branches, the script will use defaults compatible with most builds.

Feel free to suggest changes or improvements to the repository!