Go to file
rezaadi0105 c7e335a847
manifest: remove omni external zip
Signed-off-by: rezaadi0105 <rezaadipangestu5@gmail.com>
Signed-off-by: Mohd Faraz <androiabledroid@gmail.com>
2020-06-02 10:43:01 +05:30
.gitignore Add minimal twrp for 9.0 2020-05-26 19:05:00 +02:00
GLOBAL-PREUPLOAD.cfg manifest: disable global commit_msg_test_field repohook check 2018-12-17 00:09:44 +01:00
PitchBlack-Banner.png Add banner image for README.md 2018-11-21 20:11:24 +06:00
README.md Merge branch 'twrp-10.0-WIP' of https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni into android-10.0 2020-06-02 10:42:55 +05:30
default.xml manifest: andrid-10_r35 2020-05-05 15:13:16 +02:00
omni-aosp.xml Merge branch 'twrp-10.0-WIP' of https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni into android-10.0 2020-06-02 10:42:55 +05:30
omni-caf.xml manifes: replace OmniClock with DeskClock 2019-10-29 21:51:12 +01:00
omni-default.xml manifest: remove omni external zip 2020-06-02 10:43:01 +05:30
omni-private.xml manifest: move OmniLib to public repos 2020-04-23 09:21:22 +02:00
remove-minimal.xml Use omni update_engine for now 2020-05-26 20:03:55 +02:00
remove.xml manifest: remove packages/apps/Browser2 2020-04-02 09:34:55 +02:00
twrp-extras.xml Merge branch 'twrp-10.0-WIP' of https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni into android-10.0 2020-06-02 10:42:55 +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 with oreo manifest, use a command like this:

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

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 twrp-8.1

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 with pie manifest

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