1.1 KiB
1.1 KiB
Getting Started
To get started with PitchBlack Recovery, you'll need to get familiar with Git and Repo.
To initialize your local repository using the minimal-manifest-twrp trees omni to build PBRP, use a command like this:
$ repo init -u git://github.com/PitchBlack-Recovery/manifest_pb.git -b PBRP
For Initial Low RAM Devices or older MTK Devices:
$ repo init -u git://github.com/PitchBlack-Recovery/manifest_pb.git -b twrp-6.0
To initialize a shallow clone, which will save even more space, use a command like this:
$ repo init --depth=1 -u git://github.com/PitchBlack-Recovery/manifest_pb.git -b PBRP
For Initial Low RAM Devices:
$ repo init --depth=1 -u git://github.com/PitchBlack-Recovery/manifest_pb.git -b twrp-6.0
Then to sync up:
$ repo sync
Then to build:
$ cd <source-dir>
$ export ALLOW_MISSING_DEPENDENCIES=true
$ . build/envsetup.sh
$ lunch omni_<device>-eng
$ mka recoveryimage