
Bash script to build your own system.prop
Effortlessly extract and manage system properties from Pixel OTA updates with this robust automation suite. Designed for developers and enthusiasts alike, it simplifies the process of accessing and customizing Android build properties.
Unix-like environment: Linux or macOS with Bash.
Core utilities: Ensure you have the following installed:
dos2unix, aria2, zip, unzip, p7zip, curlPython ^3.8:
sudo apt-get update -y
sudo apt-get install python3 python3-pip python3-venv -y
Clone the repository (including submodules):
git clone --recurse https://github.com/Pixel-Props/build.prop && cd build.prop
Create and activate a virtual environment (optional but recommended):
python3 -m venv .venv
. .venv/bin/activate
Install dependencies:
python3 -m pip install payload_dumper --break-system-packages
./download_latest_ota_build.sh <device_name1> <device_name2> ... (e.g., husky, felix_beta, cheetah, akita_beta15)../extract_images.sh to automatically extract images and their build properties into result/Codename_ID ...../build_module.sh to automatically combine and build your module from the result/ dir.build.prop files from extracted system images.service.sh:
MOD_PROP_CONTENT that is being spoofed.
build.prop Integration: PIHooks utilizes values from your device's actual build.prop only when setting specific properties, like the initial SDK version, when those values are considered safe and necessary.action.sh:
This project is provided for educational and experimental purposes. While designed for efficiency, it's crucial to use this tool responsibly.
The creators of this project are not liable for any misuse or damages resulting from its use.
Ready to streamline your Android customization workflow? Dive in and unlock the power of automated build.prop extraction! Contributions are welcome to enhance the project's functionality and scope.
PIF.json configuration when using a Beta OTA. Provides options to download pre-built configurations or crawl Google's OTA pages to generate a list of devices for building the configuration.sysconfigs).