Go to file
darkobas 7a03921d60 manifest: update to android-9.0.0_r37
Change-Id: I7b89e933a7c2368ffb978b7a9ab6ee361bd26192
2019-05-08 00:32:34 +07:00
PitchBlack-Banner.png Add banner image for README.md 2018-11-21 20:11:24 +06:00
README.md PBRP: Use Our vendor 2019-04-15 14:34:52 +05:30
default.xml manifest: update to android-9.0.0_r37 2019-05-08 00:32:34 +07:00
omni-aosp.xml manifest: change to omni Bluetooth 2019-05-08 00:27:45 +07:00
omni-caf.xml android: add qcom oss interfaces repo 2019-03-29 13:21:47 +07:00
omni-default.xml manifest: switch ntfs-3g branch 2019-05-08 00:32:07 +07:00
remove-minimal.xml Removed upstream added android_vendor_interfaces 2019-05-04 22:10:43 +07:00
remove.xml manifest: change to omni Bluetooth 2019-05-08 00:27:45 +07:00
twrp-extras.xml PBRP: vendor: use pb 2019-04-22 11:42:20 +05:30

README.md

PitchBlack Recovery Project

An Open Source custom recovery for android


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 omni trees to build PBRP, use a command like this:

$ repo init -u git://github.com/PitchBlackRecoveryProject/manifest_pb.git -b PBRP

For Initial Low RAM Devices or older MTK Devices:

$ repo init -u git://github.com/PitchBlackRecoveryProject/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/PitchBlackRecoveryProject/manifest_pb.git -b PBRP

For Initial Low RAM Devices:

$ repo init --depth=1 -u git://github.com/PitchBlackRecoveryProject/manifest_pb.git -b twrp-6.0

For Upgrade Encryption Devices i.e., POCO, Oneplus 6, Using Stock Oreo or Pie

$ repo init -u git://github.com/PitchBlackRecoveryProject/manifest_pb.git -b android-9.0

Then to sync up:

$ repo sync

omni_device.mk sample

# Inherit from those products. Most specific first.
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) -- only for 64bit phones

# Inherit from device
$(call inherit-product, device/<path>/device.mk) -- path to main device makefile

# Inherit common product files.
$(call inherit-product, vendor/pb/config/common.mk)

# Set those variables here to overwrite the inherited values.
BOARD_VENDOR := 
PRODUCT_BRAND := 
PRODUCT_DEVICE := 
PRODUCT_NAME := omni_device
PRODUCT_MANUFACTURER := 
PRODUCT_MODEL := 
TARGET_VENDOR := 

Then to build:


     $ cd <source-dir>

     $ . build/envsetup.sh

     $ lunch omni_<device>-eng

     $ mka recoveryimage

If it fails to build:


     $ export LC_ALL=C