From 6a1fd9f4359fe50f52236b4dfa5817c04ea26dd2 Mon Sep 17 00:00:00 2001 From: Yaroslav Popkov Date: Thu, 20 Aug 2020 16:03:49 +0500 Subject: [PATCH] Update README.md --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f9951fc..2dcab69 100644 --- a/README.md +++ b/README.md @@ -1 +1,11 @@ -# device_xiaomi_cactus \ No newline at end of file +# device_xiaomi_cactus +## How to build TWRP from official repo? +1) mkdir twrp && cd twrp +2) repo init -u git://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni.git -b twrp-9.0 +3) repo sync +4) git clone https://github.com/recovery-xiaomi-mt6765/device_xiaomi_cactus -b master device/xiaomi/cactus +5) export ALLOW_MISSING_DEPENDENCIES=true +6) . build/envsetup.sh +7) lunch omni_cactus-eng +8) mka recoveryimage +### Out file twrp/out/target/product/cactus/recovey.img