Welcome to the official development repository for Nothing Phone (2), also known as Pong. This organization contains all the essential repositories and resources required to build LineageOS and other AOSP-based ROMs for the Nothing Phone (2).
This project provides the necessary tools, configurations, and instructions to help you get started with building custom ROMs for the Nothing Phone (2).
To initialize your local repository using the official LineageOS trees, follow these steps:
Run the following command to initialize your repository:
repo init -u [email protected]:Nothing-phone-2-Development/android.git -b lineage-22.1 --git-lfs
This command will set up the local environment with the correct branches and configurations for building the LineageOS ROM.
Next, synchronize your repository with the remote server:
repo sync
This will download all the necessary sources to build the ROM.
To set up the environment, source the build script:
. build/envsetup.sh
For Nothing Phone (2) (codename Pong), select the appropriate build target:
lunch lineage_Pong-ap3a-userdebug
Finally, you can start the build process:
m bacon
This command will begin building the LineageOS ROM for your device. The process may take some time depending on your system's capabilities.
We welcome contributions from the community! If you'd like to contribute or make improvements, feel free to open a pull request.
- This guide helps developers set up the environment and build custom ROMs for Nothing Phone (2).
- LineageOS 22.1 is the default branch for building.
- You can easily set up the environment and start building by following a few simple commands.