Stuck in TWRP - Xiaomi Mi 9 Questions & Answers

Hi everybody,
I have used the command fastboot boot TWRP.img on my macbook connected to the MI9 and now I cannot bypass the TWRP screen. 3.3.1-1siankatabg.
I can only have the fastboot mode or the TWRP screen.
My bootloader is unlocked.
I don't have windows.
Thanks for the help;

May be because it's recovery.img and not TWRP.img Try to reflash TWRP (you may try different versions) if you will be able to boot TWRP but not system, reflash your rom, if not just flash fastboot ROM, it can be flashed in fastboot mod.
And i'm just guessing.

Flash TWRP again.
Connect your phone in Fastboot mode and use fastboot commands in this order:
Code:
fastboot flash recovery twrp.img
Code:
fastboot boot twrp.img
And now before u put this command, hold "Volume +" button until vibration:
Code:
fastboot reboot
Then in TWRP if your memory is encrypted, put the password in, and reboot to system from TWRP Menu.

Hi,
I managed to start but I had to erase data
Thanks!

Related

Stuck in TWRP after flashing boot.img

hey people,
I just tried to flash twrp on my z3c.
however I accidentally used something along the lines of
Code:
fastboot flash boot twrp.img
instead of
Code:
fastboot flash recovery twrp.img
can I easily get back to the stock boot image?
the bootloader is unlocked and I can still access fastboot..
cheers!
You can try flash a correct kernel for your device and firmware
Let's call it by "kernel.img", so use the follow command: fastboot flash boot kernel.img
Then you can flash your recovery as you wish

I bricked my honor 9 lite

Please help.......give me a guide to flash stock ROM by fastboot mode.....also please provide the fastboot commands
:crying:
Curious8 said:
Please help.......give me a guide to flash stock ROM by fastboot mode.....also please provide the fastboot commands
:crying:
Click to expand...
Click to collapse
Do you have fastboot and frp unlocked?
Yes it is frp unlocked
Check my answer in this thread.
Hope it helps! And if it does, please hit the Thanks button.
please try this :
- download full update rom for your device, extract the .APP files using HuaweiUpdateExtractor
- boot into fastboot by press and hold Volume Down and plug in usb cable into your pc and your phone, hold it until it boot into fastboot
- do this :
fastboot flash kernel kernel.img
fastboot flash ramdisk ramdisk.img
fastboot flash recovery_ramdisk recovery_ramdis.img
fastboot flash recovery_vbmeta recovery_vbmeta.img
fastboot flash recovery_vendor recovery_vendor.img
fastboot flash system system.img
fastboot flash vbmeta vbmeta.img
fastboot flash vendor vendor.img
- reboot your device and hold Volume Up and Volume Down to get it boot into eRecovery and do Wipe Cache Partitions and then do Factory Data Reset, and reboot again
- let it boot normally, and see what happen next, i can't remember for sure because it's been so long i unbricked my Nova 2s with this method. there are 2 possibility, you'll boot into system normally, or it will boot into eRecovery again and there is an option Download Latest Version And Recovery and you can choose that, of course you should have connection to internet via wifi.
please report back if you have difficulties.
heindrix said:
please try this :
- download full update rom for your device, extract the .APP files using HuaweiUpdateExtractor
- boot into fastboot by press and hold Volume Down and plug in usb cable into your pc and your phone, hold it until it boot into fastboot
- do this :
fastboot flash kernel kernel.img
fastboot flash ramdisk ramdisk.img
fastboot flash recovery_ramdisk recovery_ramdis.img
fastboot flash recovery_vbmeta recovery_vbmeta.img
fastboot flash recovery_vendor recovery_vendor.img
fastboot flash system system.img
fastboot flash vbmeta vbmeta.img
fastboot flash vendor vendor.img
- reboot your device and hold Volume Up and Volume Down to get it boot into eRecovery and do Wipe Cache Partitions and then do Factory Data Reset, and reboot again
- let it boot normally, and see what happen next, i can't remember for sure because it's been so long i unbricked my Nova 2s with this method. there are 2 possibility, you'll boot into system normally, or it will boot into eRecovery again and there is an option Download Latest Version And Recovery and you can choose that, of course you should have connection to internet via wifi.
please report back if you have difficulties.
Click to expand...
Click to collapse
Hi, please don't ask me how I did this but I somehow hardbricked my phone, Model: LLD-L21
currently status is literally a brick, screen doesn't even turns on, holding keys doesn't lead to anything, Only thing I have is fastboot command, in fact when I connect my phone to PC, I hear connecting sound from windows and fastboot drive is up, (even in bootloader the screen is off) so what I have:
FRP is unlocked
Bootloader is unlocked
last installed firmware was EMUI 8
working fastboot
literally nothing more, how can I unbrick this brick my own?
[update]:
I tried your solution but at last part, vendor cannot be flashed (Command not allowd) and I guess no hope
Curious8 said:
Yes it is frp unlocked
Click to expand...
Click to collapse
How you did FRP unlock?

Cannot flash system.img on global rom

Hey I am bricked my device I am was on global rom and then wanted to convert to Chinese rom tried to flash it through system update.. And now stock on fastboot forever until now.. I am tried to flash system. Img of Chinese rom.. Got message that file too big in adb.. There is any program to compress this img?
danielad200 said:
Hey I am bricked my device I am was on global rom and then wanted to convert to Chinese rom tried to flash it through system update.. And now stock on fastboot forever until now.. I am tried to flash system. Img of Chinese rom.. Got message that file too big in adb.. There is any program to compress this img?
Click to expand...
Click to collapse
Local update didn't work because of mismatch boot.img and recovery.img. In fastboot flash CN boot and recovery then reboot recovery, wipe data and cache, insert OTG with CN.zip package and install.
***When switching region ROMs always do this method from recovery, local update does not handle this well at all and fails most times.
***If you want you could also try EDL mode, I never tried it but theoretically the command "adb install N629J-update.zip should work. I have not tried this method but that's what EDL mode is for ?
danielad200 said:
Hey I am bricked my device I am was on global rom and then wanted to convert to Chinese rom tried to flash it through system update.. And now stock on fastboot forever until now.. I am tried to flash system. Img of Chinese rom.. Got message that file too big in adb.. There is any program to compress this img?
Click to expand...
Click to collapse
Even i had the same issue. First make sure you are using the latest version of ADB and Fastboot. Use 1.4.3 or higher. Sometimes it will be installed in C:\Program Files(X86)\minimal adb and fastboot Folder. Copy the img files to this location and then flash the image.
Download necessary files https://drive.google.com/drive/folde...Ym?usp=sharing
fastboot oem nubia_unlock NUBIA_NX629J
fastboot -w
fastboot reboot
fastboot oem nubia_unlock NUBIA_NX629J
fastboot flash parameter parameter.img
fastboot reboot
fastboot oem nubia_unlock NUBIA_NX629J
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash splash splash.img
fastboot flash system system.img
fastboot reboot
When you flash system.img you should get a warning message. Don't close the window. Wait for sometime. It should split the file upload as 5 parts. Once all the 5 parts are uploaded. Then type fastboot reboot. Then remove the charging cable(very important) and you should get the normal warning message and then phone will try to boot. Once you get the splash screen and booting screen. Press volume Up and power together. It should go to default recovery. Select English. Wipe data and then wipe cache. Reboot. Now your phone should boot normally. Hope this helps. Good luck.
Pm me i know how to fix
I tried it
vimalrajan1988 said:
Even i had the same issue. First make sure you are using the latest version of ADB and Fastboot. Use 1.4.3 or higher. Sometimes it will be installed in C:\Program Files(X86)\minimal adb and fastboot Folder. Copy the img files to this location and then flash the image.
Download necessary files https://drive.google.com/drive/folde...Ym?usp=sharing
fastboot oem nubia_unlock NUBIA_NX629J
fastboot -w
fastboot reboot
fastboot oem nubia_unlock NUBIA_NX629J
fastboot flash parameter parameter.img
fastboot reboot
fastboot oem nubia_unlock NUBIA_NX629J
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash splash splash.img
fastboot flash system system.img
fastboot reboot
When you flash system.img you should get a warning message. Don't close the window. Wait for sometime. It should split the file upload as 5 parts. Once all the 5 parts are uploaded. Then type fastboot reboot. Then remove the charging cable(very important) and you should get the normal warning message and then phone will try to boot. Once you get the splash screen and booting screen. Press volume Up and power together. It should go to default recovery. Select English. Wipe data and then wipe cache. Reboot. Now your phone should boot normally. Hope this helps. Good luck.
Click to expand...
Click to collapse
I tried it, but i got problem when I flash system.img, the error is: "Invalid sparse file format at header magic". Did you know how to fix that? Sorry for bad English
https://forum.xda-developers.com/red-magic-3/how-to/tool-nubia-red-magic-3-unbirck-tool-t3965044
Easy to use unbrick tool.
vimalrajan1988 said:
Even i had the same issue. First make sure you are using the latest version of ADB and Fastboot. Use 1.4.3 or higher. Sometimes it will be installed in C:\Program Files(X86)\minimal adb and fastboot Folder. Copy the img files to this location and then flash the image.
Download necessary files https://drive.google.com/drive/folde...Ym?usp=sharing
fastboot oem nubia_unlock NUBIA_NX629J
fastboot -w
fastboot reboot
fastboot oem nubia_unlock NUBIA_NX629J
fastboot flash parameter parameter.img
fastboot reboot
fastboot oem nubia_unlock NUBIA_NX629J
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash splash splash.img
fastboot flash system system.img
fastboot reboot
When you flash system.img you should get a warning message. Don't close the window. Wait for sometime. It should split the file upload as 5 parts. Once all the 5 parts are uploaded. Then type fastboot reboot. Then remove the charging cable(very important) and you should get the normal warning message and then phone will try to boot. Once you get the splash screen and booting screen. Press volume Up and power together. It should go to default recovery. Select English. Wipe data and then wipe cache. Reboot. Now your phone should boot normally. Hope this helps. Good luck.
Click to expand...
Click to collapse
I did it as directed. But after fastboot reboot command. When I pressed v+ and power button I got the traditional white screen with ants.
Link expired please give me new one

Can't Access Recovery or Device, only Fastboot

Hello,
I deciden to install Android 10 Beta 3 then install a custom rom. I succesfully installed Android 10 Beta 3, and tried to install Magisk as told in here. After the patched boot.img step, my device stopped booting.
When I press Power+Volume Up or Down, it always goes to fastboot mode. I can't boot into recovery from fastboot, I can't boot TWRP from fastboot. I tried:
fastboot oem reboot-recovery
fastboot boot twrp.img
fastboot flash recovery twrp.img
As shown in the image rebooting into recovery always failing. What can I do?
same problem here... were you able to fix it?
You might have to use the QFIL method to get your phone going again. Remember you MUST backup the EFS partition and anything associated with your phones imei and SN
Lirimaer said:
Hello,
I deciden to install Android 10 Beta 3 then install a custom rom. I succesfully installed Android 10 Beta 3, and tried to install Magisk as told in here. After the patched boot.img step, my device stopped booting.
When I press Power+Volume Up or Down, it always goes to fastboot mode. I can't boot into recovery from fastboot, I can't boot TWRP from fastboot. I tried:
fastboot oem reboot-recovery
fastboot boot twrp.img
fastboot flash recovery twrp.img
As shown in the image rebooting into recovery always failing. What can I do?
Click to expand...
Click to collapse
flash the boot partition then flash stock recovery then try to flash twrp then try to flash a custom or stock rom what you want.
Lirimaer said:
Hello,
I deciden to install Android 10 Beta 3 then install a custom rom. I succesfully installed Android 10 Beta 3, and tried to install Magisk as told in here. After the patched boot.img step, my device stopped booting.
When I press Power+Volume Up or Down, it always goes to fastboot mode. I can't boot into recovery from fastboot, I can't boot TWRP from fastboot. I tried:
fastboot oem reboot-recovery
fastboot boot twrp.img
fastboot flash recovery twrp.img
As shown in the image rebooting into recovery always failing. What can I do?
Click to expand...
Click to collapse
Anyone solve this problem?
Juninalilla said:
有人解决这个问题吗?
Click to expand...
Click to collapse
这两个可怕的重锁码吓了我一跳,以为手机没电了。幸运的是,我找到了解决方案。你可能需要找个老股rec,跟着视频操作,不用拆机,重点解压。进入adb文件夹,生效
Lirimaer said:
Hello,
I deciden to install Android 10 Beta 3 then install a custom rom. I succesfully installed Android 10 Beta 3, and tried to install Magisk as told in here. After the patched boot.img step, my device stopped booting.
When I press Power+Volume Up or Down, it always goes to fastboot mode. I can't boot into recovery from fastboot, I can't boot TWRP from fastboot. I tried:
fastboot oem reboot-recovery
fastboot boot twrp.img
fastboot flash recovery twrp.img
As shown in the image rebooting into recovery always failing. What can I do?
Click to expand...
Click to collapse
Hey guy,
My phone was running the rom "UL-ASUS_X00QD-ASUS-AOSP-17.0615.2005.25-1.1.1-user.zip" (downloaded from Asus Web). I tried to install the TWRP ver 3.3.1 unofficial and my phone was stuck on the fastboot mode only.
After a lot of searching on how to fix the issue, I didn't change anything and almost gave up, until I've read this thread.
My Asus Zenfone 8 flip is STUCK in CSC FASTBOOT MODE PLZ HELP!, RAW FIRMWARE ANYONE???
These are what I did to get the phone into the recovery mode:
1. Extract the rom zip file that my phone was running on.
2. Copy the file boot.img to adb folder.
3. On PC, at adb folder enter CMD, connect the phone then type
fastboot -w
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot reboot recovery
4. After that, my phone can be booted into the recovery mode.
Hope you can solve the same problem as me.
Bye bye ...

Help| Can't boot

Hi,
I have Carbon ROM with Android 10,
I wanted to flash Bliss ROM, and it says that I need a rooted device,
So I've downloaded Magisk and follow the instruction, created a boot.img and flashed it in fastboot, then I did the same only with twrp recovery & Magisk, flashed it and now it is wiered and I'm not sure what is the problem,
I have fastboot BUT when I try to perform any command, it shutsdown and preety useless, I've tried from PC, if I try from MAC, I can boot into twrp but every operation is causing the tablet to reboot.. So I can't even flash a stock ROM,
In PC, the recognized Android device (When in fastboot mode) I update it's driver to Android bootloader device
Now, fastboot says: "fastboot: error: cannot get boot partition size"
tried:
fastboot flash:raw boot boot.img
fastboot flash:raw recovery twrp.img
How can I solve it?
Thanks !!!
Did you also try
Code:
fastboot flash boot boot.img
?
I can boot into twrp but every operation is causing the tablet to reboot
Click to expand...
Click to collapse
I didn't understand the problem, I think.
You flashed a patched boot.img and your twrp recovery isn't working? Like if you press a button, it just reboots?
I have fastboot BUT when I try to perform any command, it shutsdown and preety useless
Click to expand...
Click to collapse
If you do
Code:
fastboot devices
it also doesn't work?
Or only if you flash a img?

Categories

Resources