[HELP] Can't boot into TWRP - Xiaomi Mi A1 Questions & Answers

Hey there,
So yesturday I wiped/factory reset my phone and installed a new ROM, but when I flashed the ROM zip file through the TWRP recovery menu, I forgot to flash TWRP ^^'...
So right after the flash, I went to FASTBOOT mode and tried to boot into twrp image to, then, flash the twrp's zip installer :
Code:
MacBook-Pro:Downloads User$ fastboot boot twrp-3.2.1-0-tissot.img
downloading 'boot.img'...
OKAY [ 0.891s]
booting...
OKAY [ 0.627s]
finished. total time: 1.518s
But when I do so, my phone reboot just normally. No Twrp.
The OEM is unlocked and the ROM is stock (flashed with the official xiaomi images).

Related

Cannot flash twrp recovery after installing OOS 3.0

Hi guys!
After flashing the OOS 3.0 update I cannot load into twrp recovery. So, I again flashed the recovery image from fast boot but while doing the process I got the following error.
downloading 'boot.img'...
OKAY [ 0.710s]
booting...
FAILED (remote: dtb not found)
finished. total time: 0.784s
Please help me in installing the TWRP recovery.
You have to use the H2OS-MM Twrp. It is stated in nearly every Installation Guide posted on here and the OnePlus Forum.
https://forums.oneplus.net/threads/installation-instructions-faqs-oxygenos-3-0-0.439108/
Download H2-MM TWRP(rename as recovery.img for example), and flash it using fastboot
Code:
fastboot flash recovery recovery.img
fastboot boot recovery.img
hemanthmps said:
Hi guys!
After flashing the OOS 3.0 update I cannot load into twrp recovery. So, I again flashed the recovery image from fast boot but while doing the process I got the following error.
downloading 'boot.img'...
OKAY [ 0.710s]
booting...
FAILED (remote: dtb not found)
finished. total time: 0.784s
Please help me in installing the TWRP recovery.
Click to expand...
Click to collapse
im getting same problem..
Try flashing Hybrid Recovery (TWRP Based) ---> http://forum.xda-developers.com/oneplus-2/general/recovery-twrp-3-0-2-hybrid-supports-oos-t3362904

Error Flashing TWRP on unlocked XT1640

Greetings everyone, I just got a new XT1640. I installed on it the ATHENE_NPJS25.93-14-4_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml ROM from here. Went to motorola's site and unlocked the phone. But I still can't flash TWRP.
this is what happens:
Code:
fastboot flash boot twrp-3.0.2-0-athene.img
target reported max download size of 536870912 bytes
sending 'boot' (12496 KB)...
OKAY [ 0.435s]
writing 'boot'...
(bootloader) Image not signed or corrupt
OKAY [ 0.186s]
finished. total time: 0.621s
I tried versions 3.1.1, 3.1.0 and 3.0.2 , all from the twrp site. Any ideas?
@yohanleafheart
Why do you want to brick your device ?
Check the command that you are entering, "BOOT" ???? That's "RECOVERY"
write command: fastboot flash recovery xyz.img
(Refer any Recovery or flashing thread)
EDIT:
When you used "fastboot flash boot twrp.img"
you got OKAY at last,
That means you flashed Recovery into Boot/kernel !!
If you face any kernel related problem on startup, then you will need to get original Boot.img and flash it...
Haha hey bro be careful while using commands .. u gonna poision your phone
In addition to ____Mdd's reply about TWRP being flashed to your boot (i.e. kernel!) partition, which isn't good...
The 'Image not signed or corrupt' error is normal because TWRP isn't cryptographically signed, so the bootloader reports as so. Normally, if you see [OKAY], the flash has succeeded (though in your case it's succeeded flashing to the wrong partition...) and you'd boot to recovery to ensure TWRP is not overwritten by the stock recovery (after which you can boot as normal).
If you need a stock kernel, you can pull the boot.img from the stock ROM you have and flash that to the boot partition or find the stock kernels here https://forum.xda-developers.com/showpost.php?p=72378739&postcount=262
Hopefully your device is working!
Gaaaaaaaaah didn't realize I was flashing to the wrong partition. Zomfg.
It didn't brick, i reverted to the stock before booting and relock the bootloader. I don't want the stock, I want to flash loa (did this on my s5 normally)
The problem is that even using the right command, it says that it is not signed, and wglhen I reboot in Dev mode it still won't boot on TWRP. It goes back to fastboot.
Any ideas?

Cannot flash TWRP on LG US997

I was so excited when I successfuly unlocked my bootloader on LG US997 running Oreo (US99721d with android security patch Dec 1 2018). The first thing I tried was TWRP. I downloaded the latest TWRP image from eliminater74's page. tobe more specific this one https://sourceforge.net/projects/twrp-recovery/files/US997/
I executed adb to flash twrp image. the logs are here
Code:
C:\Users\XXXX\Downloads\fastboot>adb reboot bootloader
* daemon not running; starting now at tcp:5037
* daemon started successfully
C:\Users\XXXX\Downloads\fastboot>fastboot flash recovery twrp.img
Sending 'recovery' (27800 KB) OKAY [ 1.174s]
Writing 'recovery' OKAY [ 0.236s]
Finished. Total time: 1.472s
C:\Users\XXXX\Downloads\fastboot>fastboot reboot
Rebooting
Finished. Total time: 0.016s
C:\Users\XXXX\Downloads\fastboot>
Everything looks fine. the issue starts when I go to recovery using the key combination. The device asks to wipe data twice, what is exactly what is supposed to happen, but instead of starting recovery. It erases all my data!
In other words, no TWRP image is installed. I jut lost plenty of data on my device because looks like recovery is untouched. I tried the other releases but none of them works.
What am I doing wrong? I want to install some mod on my G6 but without root and TWRP I can't
For TWRP to "stick" you must 1st boot into TWRP and not boot back into Android until you flash SuperSU or Magisk

fastboot flash boot failed

trying to flash boot.img even stock boot or patched image but got failed as message partition does not exist. The device is in fastboot mode with unlocked bootloader and rooted.
Tried Flashify, but freeze when tapping on Boot image.
command: fastboot flash boot boot.img
Result:
c:\adb>fastboot flash boot patched_boot.img
sending 'boot' (16852 KB)...
OKAY [ 0.382s]
writing 'boot'...
FAILED (remote: partition does not exist)
finished. total time: 0.387s
Any idea?
Did you solve the problem?
i think you can try https://forum.xda-developers.com/meizu-pro-5/how-to/tutorial-restore-hard-bricked-lost-t3838461
ISCYamil said:
Did you solve the problem?
Click to expand...
Click to collapse
Nope. The reason I want to flash stock boot image or patch boot image because of every time flash new flyme rom via TWRP, the phone always rooted and Magisk is not working to hide root. Now I just use as is. The banking app cannot be working with rooted phone.
hall060679 said:
trying to flash boot.img even stock boot or patched image but got failed as message partition does not exist. The device is in fastboot mode with unlocked bootloader and rooted.
Tried Flashify, but freeze when tapping on Boot image.
command: fastboot flash boot boot.img
Result:
c:\adb>fastboot flash boot patched_boot.img
sending 'boot' (16852 KB)...
OKAY [ 0.382s]
writing 'boot'...
FAILED (remote: partition does not exist)
finished. total time: 0.387s
Any idea?
Click to expand...
Click to collapse
I had the same problem just earlier today. What did the trick for me was installing the ROM using TWRP recovery. Move the stock ROM (you need to zip it for the process) into phone's root directory using your computer and then in TWRP tap on "Install" and find the zipped stock ROM and confirm. Let us know.
try fastboot flash bootimg instead.

Need low level format by second hand Mi 9T ... to fastboot loop!

Good evening everyone. I needed a deep format and in the twrp wipes I selected Internal Storege ... before installing Lineage 17 ... now the twrp is gone too and it's in loop on Fastboot and I can't get out. Which flash software should I use?
I tried to install via fastboot all the twrp that I found on the various sites ... but after the usual two steps ... ok .... ok write ... succes .... reboot with up key and power. ... and back to fastboot
i use twrp 3.4.0, 3.3.1.8, 3.3.1.3, 3.3.1.0
....Desktop\Minimal+adb_fastboot_platform-tools_r29.0.6_2020\platform-tools>fastboot flash recovery twrp.img
Sending 'recovery' (65536 KB) OKAY [ 2.504s]
Writing 'recovery' OKAY [ 0.348s]
Finished. Total time: 2.852s
Deaddo6 said:
Good evening everyone. I needed a deep format and in the twrp wipes I selected Internal Storege ... before installing Lineage 17 ... now the twrp is gone too and it's in loop on Fastboot and I can't get out. Which flash software should I use?
I tried to install via fastboot all the twrp that I found on the various sites ... but after the usual two steps ... ok .... ok write ... succes .... reboot with up key and power. ... and back to fastboot
i use twrp 3.4.0, 3.3.1.8, 3.3.1.3, 3.3.1.0
....Desktop\Minimal+adb_fastboot_platform-tools_r29.0.6_2020\platform-tools>fastboot flash recovery twrp.img
Sending 'recovery' (65536 KB) OKAY [ 2.504s]
Writing 'recovery' OKAY [ 0.348s]
Finished. Total time: 2.852s
Click to expand...
Click to collapse
Never format persist partition u will be stuck in a fastboot loop, flash this twrp with the pc it has its own script and boot into twrp i guess u just have a missing vbmeta that can cause twrp to disappear in some cases
https://forum.xda-developers.com/mi-9t/how-to/recovery-unofficial-twrp-3-4-0-1-t4135159
Deaddo6 said:
Good evening everyone. I needed a deep format and in the twrp wipes I selected Internal Storege ... before installing Lineage 17 ... now the twrp is gone too and it's in loop on Fastboot and I can't get out. Which flash software should I use?
I tried to install via fastboot all the twrp that I found on the various sites ... but after the usual two steps ... ok .... ok write ... succes .... reboot with up key and power. ... and back to fastboot
i use twrp 3.4.0, 3.3.1.8, 3.3.1.3, 3.3.1.0
....Desktop\Minimal+adb_fastboot_platform-tools_r29.0.6_2020\platform-tools>fastboot flash recovery twrp.img
Sending 'recovery' (65536 KB) OKAY [ 2.504s]
Writing 'recovery' OKAY [ 0.348s]
Finished. Total time: 2.852s
Click to expand...
Click to collapse
Also you can use MiFlash and fastboot rom file to flash stock rom from scratch from fastboot.
Deaddo6 said:
Good evening everyone. I needed a deep format and in the twrp wipes I selected Internal Storege ... before installing Lineage 17 ... now the twrp is gone too and it's in loop on Fastboot and I can't get out. Which flash software should I use?
I tried to install via fastboot all the twrp that I found on the various sites ... but after the usual two steps ... ok .... ok write ... succes .... reboot with up key and power. ... and back to fastboot
i use twrp 3.4.0, 3.3.1.8, 3.3.1.3, 3.3.1.0
....Desktop\Minimal+adb_fastboot_platform-tools_r29.0.6_2020\platform-tools>fastboot flash recovery twrp.img
Sending 'recovery' (65536 KB) OKAY [ 2.504s]
Writing 'recovery' OKAY [ 0.348s]
Finished. Total time: 2.852s
Click to expand...
Click to collapse
Flash stock rom using miflash,
Uncheck clean and lock
finally I used mi flash ... I modified the "format all and lock" file, to circumvent anti-rollback.
I installed miui 11. Now everything is fine ... thanks

Categories

Resources