Update README.md

This commit is contained in:
Firewolf 2018-10-10 19:51:02 +06:00 committed by GitHub
parent 011c4353ff
commit 279b605e8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 11 deletions

View File

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