[RECOVERY][UNOFFICIAL] PitchBlack Recovery v3.0 [monet]

spakkkk

Senior Member
Sep 14, 2010
126
137
0
Porto


Code:
[SIZE="3"]*
* Disclaimer
*
* Your warranty is now void.
* 
* We're not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*[/SIZE]

Introduction
Pitch Black Recovery is a fork of TWRP with many improvements to make your experience better. It's more flexible & easy to use.
Based on TWRP version: 3.4.0
PitchBlack version: 3.0.0
For device: Mi 10 Lite 5G (monet)
PitchBlack Source Code: https://github.com/PitchBlackRecoveryProject
Device Tree: https://github.com/spakkkk/device_xiaomi_monet_recovery
Device Tree Maintainers: spakkkk & masemoel
Kernel: Stock Prebuilt

From PC
Download PitchBlack Recovery flashable zip from bellow
Extract the PBRP zip
Goto fastboot mode in your device
Flash the recovery.img by fastboot flash recovery.img
Boot into PBRP
Copy the zip to internal storage
Flash it
Enjoy

Working
Decryption
You can flash Magisk, Roms, Kernels, Firmwares, etc.
Format and Wipe

Not tested
Backups

To Be Fixed Soon
Vibration

Link to dowload - 03102020 Version
SourceForge

Beers and Coffees
masemoel he deserves!

I want to thanks to masemoel, for the great help and time he wasted with me to make this PBRP work!
 
Last edited:

masemoel

Senior Member
Jul 24, 2019
225
72
38
Jaén
I'm glad we could get this project working, and stable!! This couldn't have been possible without you ?

Sent from my Redmi K30 5G using XDA Labs
 

venezolano69

Senior Member
Aug 29, 2015
1,276
275
83
The twrp for me works very fine!!!

---------- Post added at 09:52 PM ---------- Previous post was at 09:50 PM ----------



Code:
[SIZE="3"]*
* Disclaimer
*
* Your warranty is now void.
* 
* We're not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*[/SIZE]

Introduction
Pitch Black Recovery is a fork of TWRP with many improvements to make your experience better. It's more flexible & easy to use.
Based on TWRP version: 3.4.0
PitchBlack version: 3.0.0
For device: Mi 10 Lite 5G (monet)
PitchBlack Source Code: https://github.com/PitchBlackRecoveryProject
Device Tree: https://github.com/spakkkk/device_xiaomi_monet_recovery
Device Tree Maintainers: spakkkk & masemoel
Kernel: Stock Prebuilt

From PC
Download PitchBlack Recovery flashable zip from bellow
Extract the PBRP zip
Goto fastboot mode in your device
Flash the recovery.img by fastboot flash recovery.img
Boot into PBRP
Copy the zip to internal storage
Flash it
Enjoy

Working
Decryption
You can flash Magisk, Roms, Kernels, Firmwares, etc.
Format and Wipe

Not tested
Backups

To Be Fixed Soon
Vibration

Link to dowload
Google Drive


I want to thanks to masemoel, for the great help and time he wasted with me to make this PBRP work!

Note to the XDA Mods - Please move the topic to the correct section please, i cant create thread there.
You have to put your paypal account because you de serve at least a couple of beer
 

raupe

Senior Member
May 29, 2007
462
410
63
Hamburg
www.nextgen-networks.de
Faced issues while installing Migrate GPE 3.1.1 based backups.
Is/was anyone successful in flashing Migrate GPE based backups?

Tested TWRPs:
  • PitchBlack Recovery v3.0 - 03102020
  • TWRP 3.4.0-14 Unofficial by mauronofrio

Used ROMs:
  • miui_MONETEEAGlobal_V12.0.2.0.QJIEUXM_12bc504f22_10.0
  • xiaomi.eu_multi_MI10LITE5G_V12.0.1.0.QJIMIXM_v12-10

Here is some log output:
Code:
---------------------------------
      Migrate-GPE Flash package      
      Version 3.1.1 - release       
---------------------------------
*** Extras ***
---------------------------------
minzip: Extracted 3 file(s)
Mounting partition...
about to run program [/tmp/mount_script.sh] with 3 args
DEBUG:: --- making config dir (/tmp/manualConfigs) if does not exist ---
Debug:: SAR device!
DEBUG:: --- fstab ---
/dev/block/dm-0 /system_root ext4 ro 0 0
/dev/block/dm-2 /vendor ext4 ro 0 0
/dev/block/dm-1 /product ext4 ro 0 0
/dev/block/dm-3 /odm ext4 ro 0 0
/dev/block/sda18 /metadata ext4 rw 0 0
/dev/block/sda34 /data f2fs rw 0 0
/dev/block/sda30 /cache ext4 rw 0 0
/dev/block/sde48 /firmware vfat rw 0 0
/dev/block/sda23 /persist ext4 rw 0 0
/dev/block/sda32 /cust ext4 rw 0 0
 /usb_otg vfat rw 0 0
DEBUG:: --- end of fstab ---
Debug:: mount /system_root
Debug:: Directly internal toybox/busybox
Debug:: mount /data
Debug:: Directly internal toybox/busybox
mount: '/dev/block/sda34'->'/data': Device or resource busy
Debug:: Creating Test file
matches was 2 on <</dev/block/sda34 /data>>
script aborted: Mount failed data! Exiting...
Mount failed data! Exiting...
Updater process ended with ERROR: 7
An assert failed. Please check the output above for more details.
Updating partition details...
I:Data backup size is 3277MB, free: 98337MB.
...done
Error installing zip file '/sdcard/Migrate/Backup_2020.10.21_23.45.24/Extras.zip'
Updating partition details...
I:Data backup size is 3277MB, free: 98337MB.
...done
 

masemoel

Senior Member
Jul 24, 2019
225
72
38
Jaén
Faced issues while installing Migrate GPE 3.1.1 based backups.
Is/was anyone successful in flashing Migrate GPE based backups?

Tested TWRPs:
PitchBlack Recovery v3.0 - 03102020
TWRP 3.4.0-14 Unofficial by mauronofrio


Used ROMs:
miui_MONETEEAGlobal_V12.0.2.0.QJIEUXM_12bc504f22_10.0
xiaomi.eu_multi_MI10LITE5G_V12.0.1.0.QJIMIXM_v12-10


Here is some log output:
It's PBRP fault, and they're working hard to fix it.
Meanwhile, you can try making various small backups instead of one big backup (for example, if you hace 20, select 10 the first time, and take later backup of the other 10).
That's what I'm doing now ?
 

glemco

Member
Jan 8, 2014
30
2
0
What about if OTA received? Will it break OTA or OTA will destroy this recovery?
I don't really think it would.. I received last week an update (using another recovery but the concept should be the same) and it was complaining about wrong fingerprint. In this recovery the fingerprint (as it should probably be) is customized to a value like Xiaomi/omni_monet/monet:16.1.0/QQ3A.200805.001/spak10031816:eng/test-keys, while the expected one is the one from the official recovery.
Now, either the developer accepts to change the fingerprint to enable OTAs, or who wants to have them out of the box can patch this recovery (without rebuilding from source, I assume here you have a basic knowledge of linux/unix systems):
  • Download Android Image Kitchen (here);
    Unzip it and put the recovery image in the same folder;
  • Run
    Code:
    unpackimg.sh
    to extract the image (from here on you may need to run commands with sudo);
  • Edit the file
    Code:
    ramdisk/default.prop
    and look for the word fingerprint, wherever you find a value that looks like the previous (under the properties ro.*.build.fingerprint), replace it with something like
    Code:
    Xiaomi/monet_eea/monet:10/QKQ1.191222.002/V12.0.2.0.QJIEUXM:user/release-keys
    (that's MIUI global, it shouldn't really matter what you put as long as it matches with the incoming update and in case it still complains you can check the recovery log and you'll see what are the allowed fingerprints);
  • Repack the recovery with
    Code:
    repack.sh
    try it with
    Code:
    fastboot boot recovery image-new.img
    and flash image-new.img as usual if it works;

[I didn't try this procedure on this specific recovery (although I did on a TWRP on which this is mostly based) and I don't take any responsibility for whatever may happen to your device]
 

Jakimzinho

Member
Aug 20, 2015
8
2
0
Hi, i have installed PB and everything is ok, and now for something i dont know it enter in bootloop and i cant even acess my internal storage because it dont ask the pattern in the begining of the PB. Can anyone help me?
 

papzi57

Senior Member
Feb 28, 2013
613
55
48
pécs
Unfortunately, my phone looks dead. I used PB recovery. xiaomi.eu_multi_MI10LITE5G_V12.0.2.0.QJIMIXM_v12-10 Rom was installed, everything was fine. Magisk 20.4 also.
An OTA update has arrived: xiaomi.eu_multi_MI10LITE5G_V12.1.1.0.RJIMIXM_v12-11
I started and then rebooted after installation: no picture, no sound, full KO.
I tried factory restore, previous nandroid save restore, rebooted the previous ROM, no result: back to TWRP after booting. I tried Stock ROM with MIFlash but it doesn't install with "anti rollback error" error.
Help!