Development [RECOVERY][UNOFFICIAL] OrangeFox for Xiaomi Mi11X / Redmi K40 / POCO F3 [R11.1][alioth] - Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
OrangeFox Recovery
Code:
* I am 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 Recovery
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.
Information
Status: Unofficial
Version: R11.1_0
Release Date: 2021-12-14
Source Code: https://gitlab.com/OrangeFox
Device Tree: https://github.com/Pranav-Talmale/android_device_xiaomi_alioth-ofox
Kernel Source: https://github.com/Pranav-Talmale/android_kernel_xiaomi_alioth
Download:
AFH Link
Installation:
Flashing guide:
Method 1: Already having a custom recovery
1.Just flash the OFox zip in your existing recovery
Method 2: using Fastboot
1. Extract the recovery.img inside the ofox zip
2. open adb and use the following command :
3. Fastboot boot recovery.img
4.After booting in the recovery, Flash the OFox zip again to make it permanent
Note:
1.You will need to reflash recovery every time you flash a ROM.
2. Magisk Root is lost so flash Magisk if you need root after flashing Recovery.
3. HentaiOS is currently unsupported and won't be supported in the future.
Bugs:
Android 12 decryption unsupported.
Credits
* TeamWin - for TWRP
* The OrangeFox Team - for your hard work
* All our testers - for your patience and help
FEATURES:
* Supports Treble and non-Treble ROMs
* Updated with latest TWRP commits
* Password
* Support for MIUI and Custom ROMs
* Better language support
* Optimized versions of community scripts
* Fox theme engine:
- choice of theme (black, dark, etc)
- choice of color scheme
- choice of splash screen
* Alternative lockscreen
* And many more!
Source changelog:
https://wiki.orangefox.tech/changelog
Telegram channels:
- Support Group

Noice finally orangefox is here ! Thanks dev

im waiting for this so long its my favorite recovery

Is compatibile with xiaomi.eu based on android 12?

domthewizard said:
Is compatibile with xiaomi.eu based on android 12?
Click to expand...
Click to collapse
No.

Is this based on any of the two existing TWRP modifications for Poco F3 or is it a new approach? Reasons for asking is that they both come with their own type of bugs.

TheBrutalLicker said:
Is this based on any of the two existing TWRP modifications for Poco F3 or is it a new approach? Reasons for asking is that they both come with their own type of bugs.
Click to expand...
Click to collapse
I have tried to take the good parts of all the existing TWRPs and add my own modifications to make the recovery more stable. There will be regular updates almost every week, so make sure to check the download link almost every other day. For changelogs of the latest build, You can check the pinned message of the support group

Woahh... Nice... my fave recovery since Redmi note 5 Whyred.
Hope next build also has feature to automatic reflash ofox after flashing a rom.
Thanks.... will try this after i get home.

Vuska said:
Woahh... Nice... my fave recovery since Redmi note 5 Whyred.
Hope next build also has feature to automatic reflash ofox after flashing a rom.
Thanks.... will try this after i get home.
Click to expand...
Click to collapse
The auto reflash ofox feature won't be implemented until the ofox source developers add it. Till that time, you can just select ofox zip in the "add to queue" option so that it will reflash after the ROM flashes

Works great so far, xiaomi.eu stable 12.5.19 (android 11)
In fact, it works better than twrp, to do a backup with twrp I had to run the rm data/extm - Rf before I could backup, but with orange fox, it works normally, no commands needed
Thankyou for your work on this sir

It really works. Xiaomi.eu stable 12.5.19. Backup also works, only restoration does not work ERROR: 255
Many Thanks

varadinum said:
It really works. Xiaomi.eu stable 12.5.19. Backup also works, only restoration does not work ERROR: 255
Many Thanks
Click to expand...
Click to collapse
Backups
wiki.orangefox.tech

Cant use fastbootd on my Redmi K40(Android 11)

But other function work well

eee625 said:
Cant use fastbootd on my Redmi K40(Android 11)View attachment 5528595
Click to expand...
Click to collapse
I have noted down the issue. It seems I had not added fastbootd functionality. I am working on a fix and will release a new build soon

Ok,thank you for fixing this

Pranav Talmale said:
I have noted down the issue. It seems I had not added fastbootd functionality. I am working on a fix and will release a new build soon
Click to expand...
Click to collapse
Any chance of A12 decryption like the twrp skkk where if you don't have a lock screen, it can decrypt?

regedit12345 said:
Any chance of A12 decryption like the twrp skkk where if you don't have a lock screen, it can decrypt?
Click to expand...
Click to collapse
I don't know what black magic that guy has done to achieve that, since his trees are private (they are not on github) and I've tried contacting him 2-3 times. All I got was no response. And I myself have tried to figure it out on my own more than 5-10 times, still no luck. So I don't think I'll be able to implement a12 decryption until TWRP officially supports it.

Pranav Talmale said:
I don't know what black magic that guy has done to achieve that, since his trees are private (they are not on github) and I've tried contacting him 2-3 times. All I got was no response. And I myself have tried to figure it out on my own more than 5-10 times, still no luck. So I don't think I'll be able to implement a12 decryption until TWRP officially supports it.
Click to expand...
Click to collapse
You're doing a good job either way. Keep it up.
The only reason I switched back to twrp from orangefox was it woudnt virabte on touch so I couldn't figure out if the recovery is fully functional and I can start using it or its still booting.

regedit12345 said:
You're doing a good job either way. Keep it up.
The only reason I switched back to twrp from orangefox was it woudnt virabte on touch so I couldn't figure out if the recovery is fully functional and I can start using it or its still booting.
Click to expand...
Click to collapse
Are you using the latest build ? Vibration has been fixed a long time ago. Please use the latest build. Latest build I pushed was on 1st February

Related

[Recovery] [Unofficial] [MI 8] - PitchBlack-Recovery

UNOFFICIAL PITCHBLACK RECOVERY FOR MI 8
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
/*
* 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.
*/
Pitch Black Recovery is a fork of TWRP with many improvements to make your experience better. It's more flexible & easy to use.
Pitch Black Recovery was started in March 18 2018 with the movement to enhance TWRP with better customizatons, themes and features.
https://sourceforge.net/projects/pitchblack-twrp/
I'm not a developer, i've simple done a porting to MI 8 Dipper of this recovery
​
Initial build Based on TWRP version: 3.2.3
Upto date with latest TWRP source
Supports Treble and non-Treble ROMs
Full dark theme with changeable accents
MIUI OTA support
Force encryption disabler
Use AromaFM as default file manager
Universal flash-able file for all variant of a device
Various tools are include
Many bug fixes & optimization
CHANGELOG :
Code:
# PB v2.9.0 v2 (20181227-1829)
-fixed device id
# PB v2.9.0 v1 (20181227-0547)
-initial release
-rebuild from Poco F1 project (https://forum.xda-developers.com/poco-f1/development/recovery-pitch-black-pocof1-t3883268)
DOWNLOAD :
PitchBlack-dipper-2.9.0-20181227-1829-UNOFFICIAL
OLD
PitchBlack-dipper-2.9.0-20181227-0547-UNOFFICIAL
INSTALLATIONS :
Flash Zip file with other TWRP
and then it will reboot automatically to recovery
Enjoy
KNOWN BUGS:
AromaFM install hangs the device
Let me know if you find others bugs
SCREENSHOTS:
Source Code: https://github.com/PitchBlack-Recovery
Official Site: https://sourceforge.net/projects/pitchblack-twrp
Created 2018-12-27
Last Updated 2018-12-27
www.paypal.me/gulp79​
nice to see another development, let me test. Thanks
2 question :
- can you make statusbar under notch so we can see the time
- if I have TWRP Backups should I move to folder PBRP and then restore?
error installing pixelrom,verification zip failed
R0MaN0 said:
error installing pixelrom,verification zip failed
Click to expand...
Click to collapse
Ops, fixed and reuploaded:
https://drive.google.com/open?id=1X9B_rkqLteH7arULYUR8pFSKTBOA5TTN
kaizer hanz said:
nice to see another development, let me test. Thanks
2 question :
- can you make statusbar under notch so we can see the time
- if I have TWRP Backups should I move to folder PBRP and then restore?
Click to expand...
Click to collapse
Sorry for statusbar i'm not able to hide notch....
For backups, i've not tested a restore, but you should move yours to PBRP folder and then you can try to restore.
Finally, a MI 8 recovery with OTA survival.
Big ups!
(Bootloader locked so can't test it....gotta wait a month)
Last build twrp 3.2.3 is 1208.
What build in a pitchblack?
Great to see a custom recovery for Mi8.
Thanks man
Seems great! Can someone explain what "No need to worry about ARB" means ?
gulp79 said:
[*]No need to worry about ARB
Click to expand...
Click to collapse
Could you give a bit more of info about this?
It just checks ARB and doesn't let you install if it is below the current ARB number?
desvariando said:
Could you give a bit more of info about this?
It just checks ARB and doesn't let you install if it is below the current ARB number?
Click to expand...
Click to collapse
Sorry i'm not the developer of this recovery, i've just done a simple porting to MI 8 Dipper.
Btw, this is the developer's changelog:
Code:
Info
PitchBlack v2.9.0
Based on TWRP 3.2.3
Update Log :
- Initial NON-ARB (Support update and downgrade miui rom ARB 4 ARB 3, ARB 3 ARB 4. Without delete firmware, baseband and etc-update the follow firmware)
- AutoReboot Fixed
- Update DM Verity Logic
- Update fstab flags
- Update magisk
- Update unroot magisk
- Update noverity
- Etc
and this it the option to enable to avoid ARB:
Btw i've not tested this, because my MI 8 dosn't have ARB (i've always been on xiaomi.eu or Custom rom, never on official MIUI).
gulp79 said:
Btw i've not tested this, because my MI 8 dosn't have ARB (i've always been on xiaomi.eu or Custom rom, never on official MIUI).
Click to expand...
Click to collapse
Well..., I've installed official builds and it HAS ARB.
Currently I'm on 1.
shaman91 said:
Last build twrp 3.2.3 is 1208.
What build in a pitchblack?
Click to expand...
Click to collapse
Atm is based on infrag build:
Code:
TWRP 3.2.3.0:
Build 17/12/2018
Build on Android 9.0 TWRP sources
Rommco05 said:
MIUI OTA support means if I received incremental update will be installed over PichBlack without issues?
Click to expand...
Click to collapse
Another thing that i've not tested (i'm on xiaomi.eu weekly, so i install full rom every week, i've no OTA on xiaomi.eu)
but there are some infos under advanced settings
nighthawk696969 said:
Seems great! Can someone explain what "No need to worry about ARB" means ?
Click to expand...
Click to collapse
This feture is not tested on MI 8 and is not clear how to use or what it does, so atm i've removed the ARB related features from OP (could be dangerous to use this untested features to roll back from Pie to Oreo)
gulp79 said:
This feture is not tested on MI 8 and is not clear how to use or what it does, so atm i've removed the ARB related features from OP (could be dangerous to use this untested features to roll back from Pie to Oreo)
Click to expand...
Click to collapse
Thanks for clarifying. It would be great to have a tool that prevents us from flashing files with lower arb counter in the future, just to avoid all the bricks.
gulp79 said:
Another thing that i've not tested (i'm on xiaomi.eu weekly, so i install full rom every week, i've no OTA on xiaomi.eu)
but there are some infos under advanced settings
Click to expand...
Click to collapse
should I enable "Support MIUI Incremental OTA" ? because now I enable it and flash EU ROM 8.12.27 working fine.
or I just disable it like default setting?
Sent from my MI 8 using Tapatalk
error when backup "E:recv error on uevent"
powergo said:
error when backup "E:recv error on uevent"
Click to expand...
Click to collapse
I've just done a backup without errors.
Can you post your log?
What partitions have you tried to backup?
On what partition you get the error?
Force encryption disabler??
Sent from my Mi 8 using Tapatalk

[OFFICIAL][RECOVERY]OrangeFox Recovery Project [R10.1]

OrangeFox Recovery Project
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
/*
* 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 recovery
* 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.
*
*/
OrangeFox is FREE SOFTWARE​
Supports Treble, Miui, Custom Roms
Downloads:
1. OrangeFox download site: https://files.orangefox.tech/OrangeFox-Stable/dipper/
2. SourceForge: https://sourceforge.net/projects/orangefox/files/dipper/
Release Notes:
1. See README.md here: https://sourceforge.net/projects/orangefox/files/dipper/
2. Read very carefully the contents of post #2 below.
Documentation and Frequently Asked Questions: https://wiki.orangefox.tech/en/guides
INSTALLATION:
0. Backup your ROM, your data, your internal storage, and your settings/apps, to an external device
1. Download the OrangeFox zip file to your device
2. Reboot to your current OrangeFox or custom TWRP-based Recovery
3. Install the OrangeFox zip file as a normal zip
4. The device will automatically reboot into OrangeFox recovery after installation (allow this to happen)
5. Enjoy!
Frequently Asked Questions; Installation from stock recovery; MIUI OTA; Troubleshooting; Sundry Information:
* See https://wiki.orangefox.tech/en/guides
Credits
* TeamWin - for TWRP
* The OrangeFox Team - for your hard work
* All our testers - for your patience and help
FEATURES:
* Updated with latest TWRP commits
* Built-in support for installing init.d functionality
* Built-in support for installing Magisk
* Flashlight
* Password, torch, led
* Support for Miui and Custom ROMs
* Superb new UI and themes
* OrangeFox theme engine:
- choice of theme (black, dark, etc)
- choice of color scheme
- choice of splash screen
* Alternative lockscreen
* And many more!
Screenshots
see https://files.orangefox.tech/Screenshots/R10/
Other useful information - see below
XDA:DevDB Information
OrangeFox Recovery Project, Tool/Utility for the Xiaomi Mi 8
Contributors
DarthJabba9, MrYacha
Source Code: https://gitlab.com/OrangeFox
Version Information
Status: Stable
Current Stable Version: R10.1
Stable Release Date: 2020-04-08
Created 2020-01-23
Last Updated 2020-04-08
R10.0_1_001 Beta released
I have released OrangeFox R10.1 Beta 001.
Downloads:
OrangeFox download site: https://files.orangefox.tech/OrangeFox-Beta/dipper/
Sourceforge: https://sourceforge.net/projects/orangefox/files/dipper/
Changelog (General for R10.1): https://wiki.orangefox.tech/en/changelog#orangefox-r101
Device-specific changes:
- Fixed language translations
- Updated the initd addon to use Anykernel3 (better support for system-as-root devices)
FAQ and Guides: https://wiki.orangefox.tech/en/guides
Backup and restore
Read this post for detailed advice. Do not try to backup/restore anything without first reading it.
Incremental MIUI OTA:
Due to recent changes in stock MIUI, you must not disable DM-Verity when flashing a stock MIUI ROM that is based on either Android Pie, or Android 10 (the relevant option in OrangeFox is now unticked by default). If you disable DM-Verity, incremental MIUI OTA updates will definitely not work.
Reserved
Thank you. Does it allow you to bakcup and restore the persist partition?
Boiisxu said:
Thank you. Does it allow you to bakcup and restore the persist partition?
Click to expand...
Click to collapse
Yes.
DarthJabba9 said:
Yes.
Click to expand...
Click to collapse
I'll try it, thank you.
Nice work mate. But can it flash persist.img directly from the menu? Thanks!
JonathanFreeze said:
Nice work mate. But can it flash persist.img directly from the menu? Thanks!
Click to expand...
Click to collapse
Should be fine.
I have Orangefox R10.0-3, and I cannot install R10.0-4 or the new beta R10.1. I tried both flashing from bootloader with fastboot commands (recovery.img) and installing the R10.1 beta zip from Orangefox R10.0-3. Phone won't boot to recovery and will just reboot to android. I have install.log but have less than 10 posts and have no idea how to attach files. I'll PM you with the log.
Xiaomi063 said:
I have Orangefox R10.0-3, and I cannot install R10.0-4 or the new beta R10.1. I tried both flashing from bootloader with fastboot commands (recovery.img) and installing the R10.1 beta zip from Orangefox R10.0-3. Phone won't boot to recovery and will just reboot to android. I have install.log but have less than 10 posts and have no idea how to attach files. I'll PM you with the log.
Click to expand...
Click to collapse
How did you flash from fastboot? You extracted the image file from the zip?
Xiaomi063 said:
I have Orangefox R10.0-3, and I cannot install R10.0-4 or the new beta R10.1. I tried both flashing from bootloader with fastboot commands (recovery.img) and installing the R10.1 beta zip from Orangefox R10.0-3. Phone won't boot to recovery and will just reboot to android. I have install.log but have less than 10 posts and have no idea how to attach files. I'll PM you with the log.
Click to expand...
Click to collapse
The log that you sent to me by PM looks perfectly fine, and everything should work.
Judging from what you said in the other thread where you first explained your problems, I think that something is seriously broken in your device. It may be that your bootloader has been modified by something you flashed before. In the previous thread, you describe the current situation. But what you have not told us is exactly how you got here in the first place. Without that information, one can only speculate. And my speculation is that the recoveries (whether flashed in fastboot or recovery mode) install correctly. However, something in the modified bootloader is ignoring them (or perhaps your partition sizes are borked). If this speculation is correct, then I think you might have to flash a full fastboot MIUI ROM (of whatever ROM came with the phone in the first place) and let it wipe everything (just don't accidentally lock your bootloader again). This should reset the partitions and also replace the recovery partition with stock MIUI recovery. Then you can start all over again by flashing an OrangeFox img with fastboot.
But unless you can retrace all your steps to identify what you originally flashed that started all these problems (and avoid it in the future) you might well end up in the same situation again.
DarthJabba9 said:
The log that you sent to me by PM looks perfectly fine, and everything should work.
Judging from what you said in the other thread where you first explained your problems, I think that something is seriously broken in your device. It may be that your bootloader has been modified by something you flashed before. In the previous thread, you describe the current situation. But what you have not told us is exactly how you got here in the first place. Without that information, one can only speculate. And my speculation is that the recoveries (whether flashed in fastboot or recovery mode) install correctly. However, something in the modified bootloader is ignoring them (or perhaps your partition sizes are borked). If this speculation is correct, then I think you might have to flash a full fastboot MIUI ROM (of whatever ROM came with the phone in the first place) and let it wipe everything (just don't accidentally lock your bootloader again). This should reset the partitions and also replace the recovery partition with stock MIUI recovery. Then you can start all over again by flashing an OrangeFox img with fastboot.
But unless you can retrace all your steps to identify what you originally flashed that started all these problems (and avoid it in the future) you might well end up in the same situation again.
Click to expand...
Click to collapse
I bought this phone second hand, it already had bootloader unlocked and came with TWRP wzsx150 installed. It had MIUI 11 global, not sure the exact version (11.0.1, 11.0.2...) but it was android 9, and the same day I got it I installed the latest xiaomi.eu beta rom on it, before trying to install other custom roms or installing another recovery.
I already tried flashing full fastboot MIUI Global rom using fastboot with MiFlash software, tried two versions: 11.0.6.0 and 10.1.2.0. When doing that the same happens, MIUI works correctly and I can install xiaomi.eu roms but not any other custom rom and only a reduced number of recovery versions.
Is there anything more I should check? like partition format or partition size? should I format all partitions?
I used MiFlash 20180528, not the latest version, don't know if this could affect the flashing process...
Xiaomi063 said:
I bought this phone second hand, it already had bootloader unlocked and came with TWRP wzsx150 installed. It had MIUI 11 global, not sure the exact version (11.0.1, 11.0.2...) but it was android 9, and the same day I got it I installed the latest xiaomi.eu beta rom on it, before trying to install other custom roms or installing another recovery....
Click to expand...
Click to collapse
Flashing a full fastboot ROM with the Mi Flash tool should have sorted out any problems. That is normally a last resort, and it should work. If it didn't work, then I am out of ideas. This might well be some sort of ARB issue - but I have no experience at all with ARB, so I can't tell. Perhaps it was already broken before it was sold to you. Who knows?
I know of no reason why the device should be happy with some recoveries, and not with others. There is no logic to it, that I can see.
Unfortunately, this discussion is now off-topic, as this is not a recovery issue (I thought it might have been - but it is obvious that it isn't). I guess you might have to cut your losses and stick with whatever recoveries and ROMs work with your device - and perhaps return to wzsx150 and the most recent MIUI Global (which would avoid ARD issues). Good luck!
I flashed the last stable version and it works flawlessly. I love that it flashes dfe automatically.
However, I don't know If I can use my old backups made by the twrp i was using, can I?
Thanks you!
Boiisxu said:
.... However, I don't know If I can use my old backups made by the twrp i was using, can I?
Click to expand...
Click to collapse
You can always try - but I wouldn't hold out much hope. It all depends on whether the partition tables are compatible. Also, OrangeFox expects its backups to be in /Fox/BACKUPS/ whereas twrp looks somewhere else - so there has to be some renamings of directories if OrangeFox is to be able to locate the backups.
Does the latest beta support encryption?
I am using xiaomi.eu ROM
Irish_Dude said:
Does the latest beta support encryption?...
Click to expand...
Click to collapse
Yes.
Many thanks for keeping OF for Mi8 dude
This is the best recovery so far imho
Adriano-A3 said:
Many thanks for keeping OF for Mi8 dude
This is the best recovery so far imho
Click to expand...
Click to collapse
Yeah it takes so much headache out of flashing that is unparalleled
arifqur said:
Yeah it takes so much headache out of flashing that is unparalleled
Click to expand...
Click to collapse
Thanks (also to @Adriano-A3).
The question now is whether the last beta is robust enough to turn it into a "Stable" release ...

PBRP [Joyeuse][v2.9.1]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
/*
*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.
*/
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: 2.9.1
For device: Redmi Note 9 Pro
Maintainer/Authors build: https://forum.xda-developers.com/member.php?u=8529431
PitchBlack Source Code: https://github.com/PitchBlackRecoveryProject
Kernel Source: https://github.com/Joyeuse-Indonesia-Project/kernel_xiaomi_sm6250
PitchBlack Team: @rezaadi0105, @shovon, @manjot.gni, @androiabledroid, sagar
Features
Fully native android like UI
Supports Treble and non-Treble ROMs
Up-to-date kernel, built from sources
Full dark theme with changeable accents
Reorganized menus
MIUI OTA support
Disable DM Verity
Use AromaFM as default file manager
Various tools are include
Universal flash-able file for all variant of a device
Many bug fixes & optimization & much more
Click to expand...
Click to collapse
Installation Instructions
From previous version or other recovery
Download the PitchBlack zip to your device
Reboot to your current custom recovery
Flash the PitchBlack zip
The device will automatically reboot into PitchBlack Recovery after installation
Enjoy
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
Changelog
Code:
v2.9.0
- Update kernel
- Update DM Verity Logic
- Update magisk
- Update unroot magisk
- Fix Dynamic Partition
- Improper mount of /data partition
- Some bug fixed
Downloads
Flashable zip
https://drive.google.com/uc?id=1HiPbEimxTiZlAXmjgVzf69bB_knn4H1E&export=dow nload
GREAT JOB!
Works on curtana? thanks
zenez said:
Works on curtana? thanks
Click to expand...
Click to collapse
onlye Joyeuse, in curtana you already have twrp and others.
All right, will try later. ?
Yuluga said:
onlye Joyeuse, in curtana you already have twrp and others.
Click to expand...
Click to collapse
Yes but this one is said dealing with dynamic partition. A must have.
Is it planned to have a release devoted to Curtana.
Thanks
EDIT:
I've just tested it on Curtana in order to test file copy/modify in system via file explorer.
Unsuccessful trial. System is still kept at read only state.
Anyway a real nice interface design. Thanks to devs.
any one test it? any bug?
hoang_phuong84 said:
any one test it? any bug?
Click to expand...
Click to collapse
It is working from what I can do on a Curtana. It cann't install because digest is not in accordance but should be working well on Joyeuse and at any point better than LR modded fix release available at T.me.
Just boot it on your phone and try it like that.
Recoveries struggle to get stable on this device/system it seems (what is the status of PBRP: alpha, beta, stable?). I saw something about a Android 10 Boot Partition causing the problems but would like to understand better if and how Recovery will work nicely with this device and Custom ROMs. Can someone point me to a explanation/thread why on RN9P, Android 10 it is so difficult to get a working Recovery for Custom ROM Install/Updates?
hello,
bravo for this excellent work, since the time we hoped functional custom recovery. Are all backup and restore functions functional, micro sd recognition, etc? ... Thank you
the right commend for Flash the recovery.img is "fastboot flash recovery recovery.img"
second, i get decrypt data after i reboot to recovery.
I have curtana twrp on joyeuse phone. Can ı flash via curtana twrp?
Edit 1: I tried install via curtana twrp. Error 1 fail...
Anybody try to flash latest Redmi Note 9 Pro EU ROM (v11.0.5.0) with this recovery? I tried dirty flash it from 11.0.4 and got error message. After flashing, It stay and boot on 11.0.4 but lost wifi mac address.
fathroen said:
Anybody try to flash latest Redmi Note 9 Pro EU ROM (v11.0.5.0) with this recovery? I tried dirty flash it from 11.0.4 and got error message. After flashing, It stay and boot on 11.0.4 but lost wifi mac address.
Click to expand...
Click to collapse
I've tried too but the same result.
"Fixed it" with fastboot first time installation of v11.0.4 and will wait for fastboot package v11.0.5.
After flashing recovery, and entering to PBRP is asking for password for decrypt data, i do not have password, my phone is not encrypted
fathroen said:
Anybody try to flash latest Redmi Note 9 Pro EU ROM (v11.0.5.0) with this recovery? I tried dirty flash it from 11.0.4 and got error message. After flashing, It stay and boot on 11.0.4 but lost wifi mac address.
Click to expand...
Click to collapse
Are you referring to the xiaomi.eu rom v11.0.5? If so, there's alot of people reporting problems booting after flashing that version. You're probably not referring to the stock rom, as I don't think there are any recovery flashable zips for that available.
In regard to fixing your wifi problem, in reading through the GSI rom thread, there are many reports of wifi being lost after flashing the boot.img from a different version of the stock rom than that which users were originally on without updating the other partitions. If the v11.0.5 boot.img was flashed to your phone, but some other partitions failed to flash, that may explain things. You could try downloading/extracting the v11.0.4 boot.img, either from the stock or xiaomi.eu rom package depending on which you are using, and flashing that again from fastboot using "fastboot flash boot boot.img".
Otherwise if that fails, reflashing v11.0.4 in its entirety should hopefully get your wifi working again.
mariob098 said:
After flashing recovery, and entering to PBRP is asking for password for decrypt data, i do not have password, my phone is not encrypted
Click to expand...
Click to collapse
Same issue here
You'll have to use the password/pass number you used to unlocked your device when waking it up.
blowy666 said:
You'll have to use the password/pass number you used to unlocked your device when waking it up.
Click to expand...
Click to collapse
But i do not have lock screen pin/password
thanks
Sent from my Redmi Note 9 Pro using Tapatalk

[RECOVERY][TREBLE][UNOFFICIAL] TWRP 3.5.2 for NB1

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
/*
* Your warranty is now void.
*
* I am 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 me for messing up your device, I will laugh at you.
*/
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. It's a full touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
TWRP built for the Nokia 8. It should work fine, but using it is a try at your own risk procedure. Your bootloader must be unlocked to use this recovery. Fastboot mode is used to flash or boot this recovery.
Installation
If you are installing TWRP for the first time, then you need to flash it from fastboot:
Code:
fastboot flash:raw boot <twrp.img>
Otherwise you can install the latest release by flashing the appropriate .zip file
Downloads
Treble: Releases · resident-nokia/android_device_nokia_A1N-TWRP (github.com)
Stock: Releases · resident-nokia/android_device_nokia_NB1-TWRP (github.com)
Contributors
THMSP, emufan4568
Sources:
Treble: https://github.com/GPUCode/twrp resident-nokia/android_device_nokia_A1N-TWRP: TWRP tree for Nokia 8 Sirocco / Treble (github.com)
Stock: resident-nokia/android_device_nokia_NB1-TWRP: TWRP tree for Nokia 8 Stock (github.com)
ROM Kernel: Linux 4.x
Version Information
Status: Stable
Created 2020-11-07
Last Updated 2021-04-10
New build is up!
* TWRP is based on the twrp-10.0 branch now
* Decyption blobs have been updated to android 10
* Decryption works with and without screen lock (pattern, pin. password)
New release is up! Download from here: https://github.com/GPUCode/android_device_nokia_nb1_TWRP/releases/tag/twrp-3.4.0-0-2-2
* Allow wiping of System partition
* Fixed OTA updates failing at Step 2 of flashing
emufan4568 said:
New release is up! Download from here: https://github.com/GPUCode/android_device_nokia_nb1_TWRP/releases/tag/twrp-3.4.0-0-2-2
* Allow wiping of System partition
* Fixed OTA updates failing at Step 2 of flashing
Click to expand...
Click to collapse
Treble, and ota updates? Enlighten me here.
Back to stock, that's a huge fix. But oh, we can't install it on stock. So... What's going on?!
Arashone said:
Treble, and ota updates? Enlighten me here.
Back to stock, that's a huge fix. But oh, we can't install it on stock. So... What's going on?!
Click to expand...
Click to collapse
By OTA updates I mean my crDroid releases. In the past, flashing the .zip from TWRP would fail at step 2. Now you do not have to wipe data and reflash T-Virus every time you need to update to any new crDroid release
emufan4568 said:
By OTA updates I mean my crDroid releases. In the past, flashing the .zip from TWRP would fail at step 2. Now you do not have to wipe data and reflash T-Virus every time you need to update to any new crDroid release
Click to expand...
Click to collapse
Great
Is it possible for stock version too?
Arashone said:
Great
Is it possible for stock version too?
Click to expand...
Click to collapse
Yes it is. I just need to replace the kernel with a non-treble one and remove the vendor partition references. But why would you need a stock version anyway? There are no custom ROMs for stock to flash
emufan4568 said:
Yes it is. I just need to replace the kernel with a non-treble one and remove the vendor partition references. But why would you need a stock version anyway? There are no custom ROMs for stock to flash
Click to expand...
Click to collapse
There are ota updates for stock official ROM. Many people have let's say 488b and want to stick to latest version of oreo. TWRP 3.3.1 can't do that, and fails at stage 2 of flashing offline ota.
Btw, this new xda is God fast... Kisses to the Prophets!
Arashone said:
There are ota updates for stock official ROM. Many people have let's say 488b and want to stick to latest version of oreo. TWRP 3.3.1 can't do that, and fails at stage 2 of flashing offline ota.
Btw, this new xda is God fast... Kisses to the Prophets!
Click to expand...
Click to collapse
Stock TWRP has this issue too. It is caused by listing non-existant partitions in gpt-utils https://github.com/resident-nokia/t...d3df561fb6/recovery/gpt-utils/gpt-utils.h#L82 When installing an OTA TWRP tries to switch slot but it fails because it is not possible to switch slot on a partition that does not exist. This issue was fixed by this commit https://github.com/GPUCode/android_...mmit/179c5de56987455ca10e424ab1eaa00dd882228d and now it lists all the correct partitions and TWRP no longer fails when installing updates. I agree, XDA feels more like modern website rather than a 2005 forum
emufan4568 said:
Stock TWRP has this issue too. It is caused by listing non-existant partitions in gpt-utils https://github.com/resident-nokia/t...d3df561fb6/recovery/gpt-utils/gpt-utils.h#L82 When installing an OTA TWRP tries to switch slot but it fails because it is not possible to switch slot on a partition that does not exist. This issue was fixed by this commit https://github.com/GPUCode/android_...mmit/179c5de56987455ca10e424ab1eaa00dd882228d and now it lists all the correct partitions and TWRP no longer fails when installing updates. I agree, XDA feels more like modern website rather than a 2005 forum
Click to expand...
Click to collapse
Is this issue fixed in TWRP 3.3.1 too (which is used for stock firmwares)? That was my question. 'cause the last (recent) time I used it, no such change was apparent. Also, restoring bku was impossible, although I'm not sure about it.
The change here, paves the way of using Q on our lady.
New build is up! Download from here: https://github.com/resident-nokia/android_device_nokia_A1N-TWRP/releases/tag/v3.5.2
Updated TWRP to version 3.5.2
Up-to-date umbrella kernel
Updated decryption blobs to Q
Use common FBE TWRP decryption strategy (should fix most issues with decryption)
emufan4568 said:
New release is up! Download from here: https://github.com/GPUCode/android_device_nokia_nb1_TWRP/releases/tag/twrp-3.4.0-0-2-2
* Allow wiping of System partition
* Fixed OTA updates failing at Step 2 of flashing
Click to expand...
Click to collapse
now phone stuck at teamwin logo

[RECOVERY][UNOFFICIAL][3.5.2_10-0][dipper] TWRP Recovery for Xiaomi Mi 8

Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired. Please
* do some research if you have any concerns about features included in this Recovery
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel
Prerequisites:
Unlocked bootloader
What's working?
- ADB
- MTP
- DECRYPT
- And more
Download:
twrp3.5.2_10-0
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com
Source code:
GitHub - LowTension/android_device_xiaomi_dipper: Device tree for build TWRP for Xiaomi MI 8(dipper) only.
Device tree for build TWRP for Xiaomi MI 8(dipper) only. - GitHub - LowTension/android_device_xiaomi_dipper: Device tree for build TWRP for Xiaomi MI 8(dipper) only.
github.com
GitHub - TeamWin/android_bootable_recovery
Contribute to TeamWin/android_bootable_recovery development by creating an account on GitHub.
github.com
Credits:
althafvly​
reserved
Anything different than the official one?
Installed without problems.
Works well on A-11
Thank you
250652 said:
Installed without problems.
Works well on A-11
Thank you
Click to expand...
Click to collapse
Thank you for your feedback.
Thankyou ZonaRMR
Does it work with LineageOS? Previous Official did not
vulongmos said:
Does it work with LineageOS? Previous Official did not
Click to expand...
Click to collapse
Official TWRP 3.5.0_9 works fine with official LOS.
I didn't get the point on this release yet, TWRP says their _10 versions are for devices released with Android 10, so _9 is correct for the good old Mi 8...
vulongmos said:
Thankyou ZonaRMR
Does it work with LineageOS? Previous Official did not
Click to expand...
Click to collapse
Do you mean that?
Moldeb said:
Official TWRP 3.5.0_9 works fine with official LOS.
I didn't get the point on this release yet, TWRP says their _10 versions are for devices released with Android 10, so _9 is correct for the good old Mi 8...
Click to expand...
Click to collapse
it makes sense to me since the Xiaomi Mi 8 received android 10 officially.
Moldeb said:
TWRP says their _10 versions are for devices released with Android 10
Click to expand...
Click to collapse
ZonaRMR said:
Mi 8 received android 10
Click to expand...
Click to collapse
Spot the difference. I'm on Android 10 as well of course, soon on Android 11 and the official TWRP _09 branch supports this. Could you please explain the benefits of your unofficial version? I'd like to understand the facts before considering a test.
Tried to compile it on my own with your device Tree.
Got Error
FAILED: ninja: '/[...]/out/target/product/dipper/obj/SHARED_LIBRARIES/libcryptfs_hw_intermediates/export_includes', needed by '/[...]/out/target/product/dipper/obj/SHARED_LIBRARIES/libcryptfsfde_intermediates/import_includes', missing and no known rule to make it
21:58:28 ninja failed with: exit status 1
Did something change on TWRP?
Greets and thanks
Updated to 3.5.2_10-0 (Based on Android 10)
Download: https://www.mediafire.com/file/fe9ttmec4vjc5nb/twrp3.5.2_10.0.img/file
How do i decrypt my Mi8 Dipper? i just formatted data and clean flashed and now have encrypted phone.
Arthur P. Dent said:
Tried to compile it on my own with your device Tree.
Got Error
FAILED: ninja: '/[...]/out/target/product/dipper/obj/SHARED_LIBRARIES/libcryptfs_hw_intermediates/export_includes', needed by '/[...]/out/target/product/dipper/obj/SHARED_LIBRARIES/libcryptfsfde_intermediates/import_includes', missing and no known rule to make it
21:58:28 ninja failed with: exit status 1
Did something change on TWRP?
Greets and thanks
Click to expand...
Click to collapse
Did you ever figure this out? I'm getting the same error trying to build official TWRP for the mi 8 Pro.
EDIT: Turns out you can get around the error by removing the line: "TARGET_HW_DISK_ENCRYPTION := true" from your BoardConfig.mk but I'm not sure if it will be able to decrypt.
Hi, all day trying to flash TRWP. I want to switch from miui.eu to lineageos, so I wipe data and then try to flash LOS. Nothing work and I decided to upgrade TWRP from FASTBOOT. Nothing work, the phone got stuck on fastboot. Then with MIflash I was able to install miui global, but now I simple cant install TWRP over the MI-Recovery 3.0
I'm using diferent TWRP versions and the following commands
Code:
fastboot flash recovery recovery.img
fastboot boot recovery.img
After that black screen for a few seconds and the it boot normally to MIUI and MI Recovery 3.0 still there. Dont know what to do or combination to use
Please help!!
nortuzar said:
Hi, all day trying to flash TRWP. I want to switch from miui.eu to lineageos, so I wipe data and then try to flash LOS. Nothing work and I decided to upgrade TWRP from FASTBOOT. Nothing work, the phone got stuck on fastboot. Then with MIflash I was able to install miui global, but now I simple cant install TWRP over the MI-Recovery 3.0
I'm using diferent TWRP versions and the following commands
Code:
fastboot flash recovery recovery.img
fastboot boot recovery.img
After that black screen for a few seconds and the it boot normally to MIUI and MI Recovery 3.0 still there. Dont know what to do or combination to use
Please help!!
Click to expand...
Click to collapse
Make sure all is working(adb, fastboot, USB port...)
Code:
fastboot flash recovery recoveryname.img
fastboot reboot recovery
Please @LowTension Could start Creation Of TWRP 3.6 Working on Android 12

Categories

Resources