The workplace repository contains a set of scripts for setting up tools, downloading MIUI firmware, and extracting blobs for Android development. This repository is structured to streamline the process of preparing and managing Android device trees and firmware.
setup_tools.sh: Sets up the necessary tools for extracting Android blobs.download_firmware.sh: Downloads the MIUI firmware and sets up the DumprX environment.extract_blobs.sh: To update the device trees and create vendor tree using dt proprietary-files.txt.run_all_scripts.sh: Runs all the above scripts in sequence.
- Ensure you have Git and Bash installed on your system.
- Ensure you have sufficient disk space for downloading firmware and extracting blobs.
To clone the workplace repository, use the following command:
git clone https://github.com/poco-f5-mable/workplace.git
Navigate to the Repository Directory:
cd workplaceMake Scripts Executable:
chmod +x setup_tools.sh download_firmware.sh extract_blobs.sh run_all_scripts.shRun the Scripts:
To set up tools, run:
./setup_tools.shTo download the MIUI firmware and set up the DumprX environment, run:
./download_firmware.shTo update the device trees and create vendor tree using dt proprietary-files.txt, run:
./extract_blobs.sh./run_all_scripts.shEnsure that you have internet access while running these scripts, as they will need to download firmware and update repositories.
The run_all_scripts.sh script will execute each script in sequence and halt if any script encounters an error.
You may need to adjust paths or URLs in the scripts according to your specific setup or requirements.