Can't boot into TWRP - Xiaomi Mi 8 Questions & Answers

Hi,
I've installed the Global Stable 10.0.2.0 via Mi Flash Tool on my Mi 8 and wanted to install TWRP the usual way, but it won't boot into TWRP.
Steps so far:
Code:
adb reboot bootloader
fastboot flash recovery twrp.img
--> all fine, it says writing ok
Code:
fastboot boot twrp.img
---> TWRP star screen but nothing else happens
or
Code:
fastboot reboot recovery
---> normal boot
or
Code:
adb reboot recovery
---> error occurs
I'm using a Windows 10 PC. Maybe you can help and tell where the mistake is.
Thanks

Related

[RECOVERY] TWRP 3.2.1 only fastboot

Hello. I ported latest twrp from nexus 2012 to ouya. You can't install it because ouya don't have enough space on recovery partition. You need to boot it from fast boot
fastboot boot recovery.img
download: http://www.mediafire.com/file/7gyb6xjdwr8k3n0/recovery.img
Everything is working
I recommend to disable screen timeout after first boot
Not a single custom recarevi is flashed (writes abortet), being in the stock recovery with the command in the command line adb sideload. Tried using commands in the command line, and put programs like Flashify (for root users) and Rashr - Flash Tool ,does not help, error.

How to flash twrp recovery in Xiaomi Redmi 4a with MIUI 9? Lets see...

I have was trying to flash the TWRP recovery in my phone (Redmi 4a), but the recovery always got replaced after every reboot with the STOCK recovery.
I am now going to show how to flash this, beside the command line technique......(Although, some command line is necessary).....
1. Set adb and fastboot files in your Windows pc, fine
2. Now download the required twrp on to your pc and place it in adb-fastboot's folder.... or techies could path to that ****....
3. Enter bootloader with.....
adb reboot bootloader​4. Now boot to twrp using......
fastboot boot recovery.img​(I have named that twrp file as recovery)
5. Download super su zip, move it in phone, root your device....... reboot your device.......Now the second phase of process comes
6. Install twrp app in your phone, open it, copy the twrp image file to phone, tap on flash recovery
7. Select your twrp recovery in the phone and boom....... you have done it...... reboot to recovery by adb reboot recovery
I FORGOT TO MENTION, you should have your device unlocked, and I AM NOT RESPONSIBLE FOR ANY MISHAP and FOR THE STATE TO PLAY CRICKET WITH YOUR PHONE...... I am honest ....... IT WORKED FOR ME......
any tester n confirmed worked ?
No reason to do all those, you can flash recovery directly from fastboot with one command. The command:
Code:
fastboot boot recovery.img
just boot to that recovery one time. This is good for testing a recovery or use it for one time without install it.
If you want to flash a recovery you just need to use:
Code:
fastboot flash recovery recovery.img
Also for both commands isn't necessary to rename the recovery file or to put it adb folder, or root the device. Just need to specify the path and filename in place of "recovery.img". For e.g:
Code:
fastboot flash recovery C:\Phone\Recoveries\twrp_3.2.1.img

[Recovery] Persistent recovery TWRP 3.2.3.0 for Sakura

After several time failing to flash persistent TWRP, i figure out that miui boot image overwrite custom recovery maybe. Thus, although flashing twrp via adb successfully but it will go back Mi recovery after reboot device.
Let follow my step to reach successful installation persistent TWRP
1. Unlock bootloader your device is prerequisite
2. Down load ADB & TWRP(sakura).img
3. Access into fastboot mode by holding Pow + vol-
4. Shift + Righ click at ADB folder and chose "open command window here"
5.Type command "fastboot flash antirbpass twrp.img" => your sakura will access into TWRP
Not use command "fastboot flash recovery twrp.img" ortherwise you will get error : FAIL (remove: rollback version downgrade)
Remember : never let your device boot into Miui otherwise you will fail
6. In TWRP chose wipe/format data – type yes .After that you chose reboot/recovery. Now your device return fastboot mode again
7.In PC type command "fastboot boot twrp.img" => your device access into TWRP
8. In TWRP chose install/install image then select file TWRP.img and sweep for installing
Now TWRP was installed persistent in your device
TWRP: https://dl.twrp.me/sakura/
nguyenduytrungts said:
After several time failing to flash persistent TWRP, i figure out that miui boot image overwrite custom recovery maybe. Thus, although flashing twrp via adb successfully but it will go back Mi recovery after reboot device.
Let follow my step to reach successful installation persistent TWRP
1. Unlock bootloader your device is prerequisite
2. Down load ADB & TWRP(sakura).img
3. Access into fastboot mode by holding Pow + vol-
4. Shift + Righ click at ADB folder and chose "open command window here"
5.Type command "fastboot flash antirbpass twrp.img" => your sakura will access into TWRP
Not use command "fastboot flash recovery twrp.img" ortherwise you will get error : FAIL (remove: rollback version downgrade)
Remember : never let your device boot into Miui otherwise you will fail
6. In TWRP chose wipe/format data – type yes .After that you chose reboot/recovery. Now your device return fastboot mode again
7.In PC type command "fastboot boot twrp.img" => your device access into TWRP
8. In TWRP chose install/install image then select file TWRP.img and sweep for installing
Now TWRP was installed persistent in your device
TWRP: https://dl.twrp.me/sakura/
Click to expand...
Click to collapse
there is an easier way ,,...
stock miui stock miuui recovery:
fastboot boot twrpname.img
in booted twrp flash twrp img.
done

Question Pitchblack Recovery Flashing Metod Redmi 9T ?

Hi. What are the commands in cmd/fastboot for flashing Pitchblack Recovery on redmi 9t which is on stock android 10/11 recovery from these:
'fastboot boot recovery.img'
or
'fastboot flash recovery recovery.img'
then
'fastboot reboot recovery' and copy latestPitchblackRecovery.zip in sd card/internal and flash it then reboot.
I BOOT or FLASH that recovery.img extracted from latestPitchblackRecovery.zip ? And it will stick it after reboot or it will go back to stock if i have stock rom ? Thx.
fastboot flash recovery recovery.img
At your device hold "volume +" button(do not release the button until you see the custom recovery)
At cmd/adb type "fastboot reboot" press Enter.
ak0ztik said:
fastboot flash recovery recovery.img
At your device hold "volume +" button(do not release the button until you see the custom recovery)
At cmd/adb type "fastboot reboot" press Enter.
Click to expand...
Click to collapse
Ok so i use these commands:
'fastboot devices' - to see if device is connected at pc
'fastboot flash recovery recovery.img' - to flash recovery
'fastboot reboot' - to reboot recovery
Then i must copy in sd card/internal latestPitchBlackRecovery.zip and flash it or this step is not required ? Because i see on ytbe some guys who installed PitchBlackRecovery.zip after they flashed with adb, saiing PitchBlackRecovery need some files to be written from the zip file to function correctly. Thx.
I use this version from here: https://pitchblackrecovery.com/juice/) - PBRP VERSION 3.1.0 for Xiaomi Pocophone M3/Redmi 9T/Redmi 9 Power/Redmi note 9 4G | juice.
I'm asking this because i have that NVT-touchscreen Redmi 9T phone (recognized as lemon not lime) and PitchBlack Recovery is the only one who works in this model and i can't mess around too much.
And one last thing: i need to install a type of 'vbmeta' like i saw in some TWRP/OrangeFoxRecovery ? Thanx again.
Not sure about nvt, because i have an fts screen. I just flash recovery.img in fastboot and I'm good to go.
nikobadboy said:
Ok so i use these commands:
'fastboot devices' - to see if device is connected at pc
'fastboot flash recovery recovery.img' - to flash recovery
'fastboot reboot' - to reboot recovery
Then i must copy in sd card/internal latestPitchBlackRecovery.zip and flash it or this step is not required ? Because i see on ytbe some guys who installed PitchBlackRecovery.zip after they flashed with adb, saiing PitchBlackRecovery need some files to be written from the zip file to function correctly. Thx.
I use this version from here: https://pitchblackrecovery.com/juice/) - PBRP VERSION 3.1.0 for Xiaomi Pocophone M3/Redmi 9T/Redmi 9 Power/Redmi note 9 4G | juice.
I'm asking this because i have that NVT-touchscreen Redmi 9T phone (recognized as lemon not lime) and PitchBlack Recovery is the only one who works in this model and i can't mess around too much.
And one last thing: i need to install a type of 'vbmeta' like i saw in some TWRP/OrangeFoxRecovery ? Thanx again.
Click to expand...
Click to collapse
some infomation https://4pda.to/forum/index.php?showtopic=1019190&st=2600#entry110160650

Miui gobal 13.0.2 > unable to install custom recovery

Hi All,
The following has been done.
enable usb debugging > adb devices (shows my device)
disable driver signature verification in Windows 11 > install the driver to be able to unlock my bootloader and use the fastboot devices command.
adb shell > getprop ro.build.ab_update > false
adb reboot bootloader
fastboot devices (shows my device)
fastboot flash recovery filename (SHRP/TWRP/PBRP).img
fastboot reboot recovery
But still unable to boot into the customer recover img, it only boots into the stock rom after sometime.
or
fastboot boot (SHRP/TWRP/PBRP).zip > (FAILED (remote: image is not a boot image')
Any pointer as to why?
i had the same problem... but after a lot of search... the answers were here ---> https://forum.xda-developers.com/t/...for-merlin-redmi-note-9-redmi-10x-4g.4225163/
in particular where it tells that before flashing a recovery you need to flash the correct vbmeta
vbmeta for 13.0.2 is in the list if you follow the suggested link in the post i mentioned
then you can flash a recovery for the 13.0.2 ( i used the project arrow one )
Thanks for your reply tigrato.
I have followed the link below.
"You need to disable verification for vbmeta too. Here, you can find patched vbmeta with disabled verification: https://forum.xda-developers.com/t/...omi-redmi-note-9-xiaomi-redmi-10x-4g.4218909/"
fastboot --disable-verity --disable-verification flash vbmeta vbmeta_vd171--V13.0.2.0.SJOMIXM.img
&
fastboot flash vbmeta vbmeta_vd171--V13.0.2.0.SJOMIXM.img
Ran with success, but when I run,
fastboot flash recovery filename (SHRP/TWRP/PBRP).img
But still unable to boot into the customer recover img, it only boots into the stock rom after sometime. If I power off + volume +, or adb reboot recovery I am in the MIUI recovery 5.0 main menu.
Thanks
Finally..able to install magisk with the below command.
fastboot flash boot magisk_patched-25200_ganYk.img
make sure you enable su in the app.
adb shell > su
But...
fastboot flash recovery filename (SHRP/TWRP/PBRP).img
Unable to boot into the customer recover img, it only boots into the stock rom after sometime. If I power off + volume +, or adb reboot recovery I am in the MIUI recovery 5.0 main menu.
Just don't use TWRP, there's custom os recoveries that work pretty well on miui 13 a12, you can try lineage or crdroid recovery, or just downgrade to miui 12 a11 and I can send you a working TWRP.

Categories

Resources