Twrp on a locked bootloader - Xiaomi Mi 5 Questions & Answers

Hi guys, i want some help about installing twrp on a 3/32 gb Mi 5 already associated with a MiAccount and a locked bootloader.
Tried some tricks none of them worked.
1: Replacing the stock recovery.img with twrp doesn't work, even with copy and replace the MD5 of the file
2: tried this guide en(dot)miui(dot)com/thread-276565-1-1(dot)html doesn't work either
i always end up with EDL mode when i try to boot into recovery.
forgot to mention that i'am using a patched rom to bypass the MiAccount. Any help will be greatly appreciated

Anyone please

Visit some local phone repair shop for removing Meme Account using JTAG, then apply for Bootloader Unlock using your own Meme Account.
Sent from my Xiaomi Mi 5 using XDA Labs

Related

Unable To boot (was trying to root Xiaomi MI3)

Hello everyone.
Need experts advise to recover my phone to normal mode.
I tried to Root my Mi 3 phone, and now i am stucked at boot window.
Nothing happens.
I tried the following method.
http://forum.xda-developers.com/xiaomi-mi-3/general/guide-how-to-root-mi3-t2845843
Please help me. :crying:
Tell me steps to recover..
Hi! I think you should give more information about your phone. Do you have the snapdragon version, which rom are you using, stable or developer version, are you on a custom recovery or not, do you have stock partition etc. I don't know if I can help you but maybe someone else can.
Sent from my MI 3W using Tapatalk
Try the stock rom flash method with Fastboot mode...
Here is the complete guide http://forum.xda-developers.com/xiaomi-mi-3/help/fix-bricked-xiaomi-mi3-mi4-t3154558

PRA-LX1 No Brand Dual SIM Bricked

Hi all,
I have a problem with my Huawei P8 Lite 2017.
Yesterday I forced an update with 'Huawei Firmware Updater' app from Android: I had PRA-LX1C432B170 and B172 was installed.
At the beginning it said 'Your Device has failed verification and may not work properly', but it booted after manually pressing the Power Button.
Than, trying to fix this, I messed everything up and now the phone won't boot!
Can you please help me?
I have Unlocked Bootloader, FRP Unlocked and can easily access stock recovery and fastboot and flash everything, but nothing seems to work: I tried the 'Unbrick' function from 'Huawei Multi-Tool', but the file I flashed didn't work at all... even factory reset stucks at 99%!
Can I ask you what to do?
It's impossible to find anything for Dual SIM Unbranded phones, like mine! I just can't find the original update.zip of PRA-LX1C432B170 version.
I just want to make it work again!
Thanks for your support, and Happy New Year to you all!
baffo92 said:
Hi all,
I have a problem with my Huawei P8 Lite 2017.
Yesterday I forced an update with 'Huawei Firmware Updater' app from Android: I had PRA-LX1C432B170 and B172 was installed.
At the beginning it said 'Your Device has failed verification and may not work properly', but it booted after manually pressing the Power Button.
Than, trying to fix this, I messed everything up and now the phone won't boot!
Can you please help me?
I have Unlocked Bootloader, FRP Unlocked and can easily access stock recovery and fastboot and flash everything, but nothing seems to work: I tried the 'Unbrick' function from 'Huawei Multi-Tool', but the file I flashed didn't work at all... even factory reset stucks at 99%!
Can I ask you what to do?
It's impossible to find anything for Dual SIM Unbranded phones, like mine! I just can't find the original update.zip of PRA-LX1C432B170 version.
I just want to make it work again!
Thanks for your support, and Happy New Year to you all!
Click to expand...
Click to collapse
You can use Firmware finder app on play store to get the ROM...then use Huawei update extractor to extract the system.img ,boot.img from update.app and flash them via fastboot commands and then do a factory reset.
Sent from my PRA-LA1 using Tapatalk
hamzio7 said:
You can use Firmware finder app on play store to get the ROM...then use Huawei update extractor to extract the system.img ,boot.img from update.app and flash them via fastboot commands and then do a factory reset.
Sent from my PRA-LA1 using Tapatalk
Click to expand...
Click to collapse
Thanks for the reply!
I tried with the Windows version of Firmware Finder, but the version I'm trying to find (B170) is unavailable.
What can I do if I can't find that specific version? I have no ideas.
baffo92 said:
Thanks for the reply!
I tried with the Windows version of Firmware Finder, but the version I'm trying to find (B170) is unavailable.
What can I do if I can't find that specific version? I have no ideas.
Click to expand...
Click to collapse
You can try system.img and boot.img from any build...but they have to be a full update not OTA updates
Sent from my PRA-LA1 using Tapatalk
hamzio7 said:
You can try system.img and boot.img from any build...but they have to be a full update not OTA updates
Sent from my PRA-LA1 using Tapatalk
Click to expand...
Click to collapse
Flashed system.img and boot.img in this order, but it stucks on the page of unlocked phone (Booting Phone Now...), so I booted recovery and then I did a factory reset. Nothing happens but the Huawei logo showing up for a few seconds, then it reboots.
baffo92 said:
Flashed system.img and boot.img in this order, but it stucks on the page of unlocked phone (Booting Phone Now...), so I booted recovery and then I did a factory reset. Nothing happens but the Huawei logo showing up for a few seconds, then it reboots.
Click to expand...
Click to collapse
In this case I think you damaged the Vendor partition during the force update...you can't flash (product.img, version.img,cust.img and vendor.img) via fastboot commands...you either try to use dd commands to flash them...and it's a little bit risky or you find a TWRP backup from your build...or you can use DC Phoenix tool to unbrick your device
Sent from my PRA-LA1 using Tapatalk
hamzio7 said:
In this case I think you damaged the Vendor partition during the force update...you can't flash (product.img, version.img,cust.img and vendor.img) via fastboot commands...you either try to use dd commands to flash them...and it's a little bit risky or you find a TWRP backup from your build...or you can use DC Phoenix tool to unbrick your device
Sent from my PRA-LA1 using Tapatalk
Click to expand...
Click to collapse
Thanks for the useful tips!
I don't know what product.img, version.img or cust.img are used for, but cust.img can be sent through fastboot (I think so because Multi-Tool let me choose it for fastboot flash in the 'Unbrick' section).
What I'm trying to do now is to download the same version I had before (B172 FULL-OTA MF) and I try to send it via fastboot.
Any other Ideas?
Can I Install TWRP and a Custom ROM or TWRP + Original ROM?
You can try to use TWRP and a custom ROM...but as far as I know all the custom ROMs for this device have bugs...but you are free to try them
Sent from my PRA-LA1 using Tapatalk
Can try this 3 methods...
- Flash via fastboot the stock recovery, boot and system from b182, factory reset in stock recovery and try to boot.
- Install twrp in recovery2 (eRecovery), search for the b182 backup and follow the steps to restore it.
- Pay to use Dc-Phoenix (near 15€) and flash with their app a full stock rom (the app help you to download a full rom)
Good luck!
Enviado desde mi PRA-LX1 mediante Tapatalk
Hi All!
Thanks for your tips.
I've followed this guide: https://forum.xda-developers.com/p8...uide-unbrick-huawei-p8-lite-2017-pra-t3713574
and now the phone boot and works, but I have some problems:
1. Firmware says P9 Lite 2017 (but it's correctly a PRA-LX1 firmware)
2. Patches are from June and I can't find any firmware update... I think I have an hybrid firmware, because I have both IMEIs but something (like Google Patches) are related to the firmware of the guide I followed.
I have one question to ask: I have an unlocked bootloader and I don't want to see the message at Phone Power-On, but if I Re-Lock the phone won't boot: I had to unlock the bootloader to make it working. What can I do?
Is it possible to find an official B182 firmware and flash it into my Phone? It maybe the best/clean solution for my phone.
baffo92 said:
Hi All!
Thanks for your tips.
I've followed this guide: https://forum.xda-developers.com/p8...uide-unbrick-huawei-p8-lite-2017-pra-t3713574
and now the phone boot and works, but I have some problems:
1. Firmware says P9 Lite 2017 (but it's correctly a PRA-LX1 firmware)
2. Patches are from June and I can't find any firmware update... I think I have an hybrid firmware, because I have both IMEIs but something (like Google Patches) are related to the firmware of the guide I followed.
I have one question to ask: I have an unlocked bootloader and I don't want to see the message at Phone Power-On, but if I Re-Lock the phone won't boot: I had to unlock the bootloader to make it working. What can I do?
Is it possible to find an official B182 firmware and flash it into my Phone? It maybe the best/clean solution for my phone.
Click to expand...
Click to collapse
You can download the full backup of b182 from this forum and try to restore with twrp or extract the boot, recovery and system imgs and try to flash with adb, sorry im not english and not understand all words.
https://forum.xda-developers.com/p8...ck-rom-huawei-prague-pra-xxxc432b182-t3727816
Enviado desde mi PRA-LX1 mediante Tapatalk
dannyzamora said:
You can download the full backup of b182 from this forum and try to restore with twrp or extract the boot, recovery and system imgs and try to flash with adb, sorry im not english and not understand all words.
https://forum.xda-developers.com/p8...ck-rom-huawei-prague-pra-xxxc432b182-t3727816
Enviado desde mi PRA-LX1 mediante Tapatalk
Click to expand...
Click to collapse
Your English is very good and the link is very useful!
Thanks, this is what I was looking for!
The idea to extract the boot, recovery and system imgs is intelligent, but the ROM of that Link seems to be rooted, so maybe it won't work at all.
I'll give it a try and I'll report back if it works or not.
Thanks for the tips
baffo92 said:
Your English is very good and the link is very useful!
Thanks, this is what I was looking for!
The idea to extract the boot, recovery and system imgs is intelligent, but the ROM of that Link seems to be rooted, so maybe it won't work at all.
I'll give it a try and I'll report back if it works or not.
Thanks for the tips
Click to expand...
Click to collapse
If you can flash twrp in recovery2 you can restore the full backup following the steps in the another thread, if not, find another b182 backup no-rooted and try, but i think the restore method is the best option, good luck!
Enviado desde mi PRA-LX1 mediante Tapatalk
dannyzamora said:
If you can flash twrp in recovery2 you can restore the full backup following the steps in the another thread, if not, find another b182 backup no-rooted and try, but i think the restore method is the best option, good luck!
Enviado desde mi PRA-LX1 mediante Tapatalk
Click to expand...
Click to collapse
Hi @dannyzamora
Restore of my phone worked and now I have a full stock phone!
I wrote a guide in the other thread to help other people who have similar problems to try to fix their phone.
Your suggestion was very helpful and now I can use my phone as it was before (apart from a bug, the only one, related to MagazineUnlock that is not working at all... nothing that compromise the use of the phone, obviously).
Thanks

Please HELP! MY K20 IS STUCK ON FASTBOOT! NOTHING WORKS!

GUYS Please help I'm Scared as hell, my K20 is stuck in fastboot mode and I don't know what to do! So here is what I did, I heard about the K20 Pro 81hz refresh rate Mod and the android 10, I couldn't find twrp for k20 so i decided to flash k20 pro's twrp (which probably was a big mistake!), I don't exactly remember what exact files i was flashing! I remember after flashing few files or just the twrp of k20 pro (i dont remember exactly) my phone was stuck in fastboot and is still now if i restart or go to recovery or anything it just leads me back to fastboot screen. I flashed android 10 recovery rom via fastboot,which i was not supposed to do, i didn't know the difference b/w the fastboot and recovery rom at that moment, but when i did i downloaded another rom but a stock rom for k20 fastboot variant I don't remember where I downloaded all the files but I downloaded the recovery rom from : https://www.xda-developers.com/download-miui-11-beta-now-for-13-xiaomi-devices-changelog/ and I downloaded the stock rom from : https://rootmygalaxy.net/redmi-k20-and-k20-pro-stock-firmware/ and I downloaded twrp recoveries from other sites, well I guess this is not important where i downloaded these. But after I try to flash the K20 Stock Rom by Mi Flash Tool (keep in mind i tried to flash the android 10 rom with mi flash tool also and that too by any all settings like clean all , keep data, clean all lock, i was just trying everything to get my phone to work! ) So then it gave me error of mismatching device so i searched on youtube to fix this error and tried it but still it wasn't flashing, then I thought maybe when I was trying to flash the android 10 rom many times I might have locked the boot loader, so i used the mi unlocker tool to see, i clicked on unlock it said it started the process, 3 step process of verifying device ,unlocking ,and done but it showed an error on the verifying device it said "can't get info, connect again ". This scares me have I locked the bootloader and now is there no way to unlock it or what??? I need your guys help please tell me what Rom I have to flash or what steps I have to take to get my phone working again! Please
I have a K20 Indian Variant, oh and yeah my bootloader was unlocked before I started to do all of this. I know what I have written might be confusing But PLEASE HELP ME!
Edit: and I also tried to flash the boot by getting boot image from android 10 rom, basically i just flashed randomly...
I also saw a few videos about the edl mode, i tried to get into edl mode and I got into edl mode so If there is a way to flash rom using edl mode do tell me
Edit: And I also think maybe the rom isn't flashing because I might have got the global rom or something can anyone send link to Indian K20 Stock Rom?
Edit: I just downloaded the k20 indian rom the correct one but when i flash through mi flash it says success in 1 second time that means my bootloader is locked but now ALL i need from YOU GUYS is to tell me How to Unlock it, I can't unlock it via Mi Unlock Tool, is there another method?
itzabhi said:
GUYS Please help I'm Scared as hell, my K20 is stuck in fastboot mode and I don't know what to do! So here is what I did, I heard about the K20 Pro 81hz refresh rate Mod and the android 10, I couldn't find twrp for k20 so i decided to flash k20 pro's twrp (which probably was a big mistake!), I don't exactly remember what exact files i was flashing! I remember after flashing few files or just the twrp of k20 pro (i dont remember exactly) my phone was stuck in fastboot and is still now if i restart or go to recovery or anything it just leads me back to fastboot screen. I flashed android 10 recovery rom via fastboot,which i was not supposed to do, i didn't know the difference b/w the fastboot and recovery rom at that moment, but when i did i downloaded another rom but a stock rom for k20 fastboot variant I don't remember where I downloaded all the files but I downloaded the recovery rom from : https://www.xda-developers.com/download-miui-11-beta-now-for-13-xiaomi-devices-changelog/ and I downloaded the stock rom from : https://rootmygalaxy.net/redmi-k20-and-k20-pro-stock-firmware/ and I downloaded twrp recoveries from other sites, well I guess this is not important where i downloaded these. But after I try to flash the K20 Stock Rom by Mi Flash Tool (keep in mind i tried to flash the android 10 rom with mi flash tool also and that too by any all settings like clean all , keep data, clean all lock, i was just trying everything to get my phone to work! ) So then it gave me error of mismatching device so i searched on youtube to fix this error and tried it but still it wasn't flashing, then I thought maybe when I was trying to flash the android 10 rom many times I might have locked the boot loader, so i used the mi unlocker tool to see, i clicked on unlock it said it started the process, 3 step process of verifying device ,unlocking ,and done but it showed an error on the verifying device it said "can't get info, connect again ". This scares me have I locked the bootloader and now is there no way to unlock it or what??? I need your guys help please tell me what Rom I have to flash or what steps I have to take to get my phone working again! Please
I have a K20 Indian Variant, oh and yeah my bootloader was unlocked before I started to do all of this. I know what I have written might be confusing But PLEASE HELP ME!
Edit: and I also tried to flash the boot by getting boot image from android 10 rom, basically i just flashed randomly...
I also saw a few videos about the edl mode, i tried to get into edl mode and I got into edl mode so If there is a way to flash rom using edl mode do tell me
Edit: And I also think maybe the rom isn't flashing because I might have got the global rom or something can anyone send link to Indian K20 Stock Rom?
Edit: I just downloaded the k20 indian rom the correct one but when i flash through mi flash it says success in 1 second time that means my bootloader is locked but now ALL i need from YOU GUYS is to tell me How to Unlock it, I can't unlock it via Mi Unlock Tool, is there another method?
Click to expand...
Click to collapse
I found the solution all i had to do is change the rom folder to C:// and it worked!
Its not working for me plz help me
itzabhi said:
I found the solution all i had to do is change the rom folder to C:// and it worked!
Click to expand...
Click to collapse
i dont know what is wrong but falsh is getting completed in 1 second.
roushancool said:
i dont know what is wrong but falsh is getting completed in 1 second.
Click to expand...
Click to collapse
Bro first of all u need to edit the flashall commands with the notepad and then u should put the rom folder on the desktop and put the mi flash tool on a separate folder also on the desktop if u want me to tell u what to edit just message me and i will tell u how ?
itzabhi said:
I found the solution all i had to do is change the rom folder to C:// and it worked!
Click to expand...
Click to collapse
Bro first of all put the rom in a folder on the desktop (one folder and the files in it ) (not folder inside a folder)
Next copy the flashtool folder to the desktop also
Next edit the flash_all.bat and remove the commands up and keep only commands that starts with (fastboot)
And save.
Then choose the folder and then flash and make sure u choose only (clean all) and not (clean all and lock) from below goodluck bro hope the picture will make you understand

HELP NEEDED flashing my bootlooping Mi A2

my mi a2 started bootlooping after a certain update, but did not do anything about it because at second or third forced reboot it will boot normally, now it started acting up and it would not boot after several dozen reboots so i tried to flash the lastest stock rom, i unlocked the bootloader and started flashing but when the flashing reached vendor b phone rebooted by itself entering the bootloop, i tried this many times, same result flashing ended at vendor , after changing the partition to a it booted and tried a software update then again after download it entered bootlooping , so i tied again to flash several times with different stock roms, even tried miflash in edl mode, everything is the same, now i managed to boot again after the last flashing but if i restart it it for shure go into a bootloop again, i dont know what else to do, i dont know why, but pressing power and vol + does not take me into recovery, only vol- takes me to fastboot, also tried to boot into twrp via fastboot but it says ok the screen lits up and then again bootloop, please please anyone can offer some assistance ?? Thanks
try flash a custom rom, if flash is successful and phone boots, try to revert it to stock rom again via miflash and used version 11.0.14.
Sent from my Xiaomi Mi A2 using Tapatalk
How to flash custom ? I cant boot into twrp, is there other way ?
tedulus said:
How to flash custom ? I cant boot into twrp, is there other way ?
Click to expand...
Click to collapse
unlock your bootloader first, there is already a guide in this group related to your question, kindly search it.
Sent from my Xiaomi Mi A2 using Tapatalk
1ntr0v3rt3ch said:
unlock your bootloader first, there is already a guide in this group related to your question, kindly search it.
Sent from my Xiaomi Mi A2 using Tapatalk
Click to expand...
Click to collapse
My bootloader is unlocked.
1ntr0v3rt3ch said:
unlock your bootloader first, there is already a guide in this group related to your question, kindly search it.
Sent from my Xiaomi Mi A2 using Tapatalk
Click to expand...
Click to collapse
if i try "fastboot boot twrp.img" it says ok the screen goes dark and it reboots in bootloop
Maybe try extract a custom rom e.g.
https://forum.xda-developers.com/t/rom-11-official-pixel-extended-rom-2021-1-10.4215727/ , convert dat.br to .img by googling and find useful tools and then fastboot flash the .img files?

Question Please help!!! Redmi Note 10s (rosemary) boot loop after FW upgrade

Hello,
I flashed MIUI 12.5.15 on my Redmi Note 10s using MiFlash Tool and now my phone is stuck on boot loop. I also tried to flash again with SP Flash tool but it is still stuck in boot loop, please help to recover.
My bootloader was unlocked before the flash but now bootloader is locked after the flash
Try Erasing All data.
I already tried multiple times but no luck
Where did you download the rom from, the official site or some 3rd party/beta place? The official stable roms can be downloaded here:
https://c.mi.com//miuidownload/detail?device=1900397
And which version are you flashing, fastboot? Unlock the bootloader again and use the official link to recover your device, I recommend the fastboot method.
If you flash certain roms it will relock the bootloader, they do tell you so read everything, usually it's just with the Chinese roms though.
I downloaded the official fastboot ROM (rosemary_global_images_V12.5.15.0.RKLMIXM_20220114.0000.00_11.0_global). When I am trying to unlock the bootloader again using MiUnlockTool, it is asking to enter Xiaomi account details inside developer options which is not possible as the phone is not able to boot.
I am not aware if there are other options available to unlock the bootloader
Yeah the fastboot version requires the bootloader to be unlocked beforehand, so you'll have to flash the other recovery version that doesn't require the bootloader to be unlocked in this case.
Stuntdouble , I have a redmi note 10s, the bootloader is unlocked and I would like to relock it, but I will start asking me for Micloud. Is there a way I can relock the bootloader and permanently free the device from the Micloud lock?
vickins said:
Stuntdouble , I have a redmi note 10s, the bootloader is unlocked and I would like to relock it, but I will start asking me for Micloud. Is there a way I can relock the bootloader and permanently free the device from the Micloud lock?
Click to expand...
Click to collapse
Sorry I don't know as I've not had a locked device before. Can't you just unlink your device on the Xiaomi website and reflash? If you want to re-lock the bootloader I think flashing any of the official chinese roms will do that automatically, then you can just flash another rom after.
I bought the device on a secondary market so I don't know
stuntdouble said:
Sorry I don't know as I've not had a locked device before. Can't you just unlink your device on the Xiaomi website and reflash? If you want to re-lock the bootloader I think flashing any of the official chinese roms will do that automatically, then you can just flash another rom after.
Click to expand...
Click to collapse
what Micloud account that it's linked to. If I flash any rom that locks the bootloader, There is a high chance I will be locked out of the phone, due to the Micloud...
You'll probably have to get the original owner to unlock it with their account details. If they won't/can't do it, maybe it's a stolen device.
mhdr92 said:
I downloaded the official fastboot ROM (rosemary_global_images_V12.5.15.0.RKLMIXM_20220114.0000.00_11.0_global). When I am trying to unlock the bootloader again using MiUnlockTool, it is asking to enter Xiaomi account details inside developer options which is not possible as the phone is not able to boot.
I am not aware if there are other options available to unlock the bootloader
Click to expand...
Click to collapse
Yes there are other ways to unlock found here:
[Rosemary] Instant Unlock Bootloader with no data wipe
Hi I want to share with you guys how to unlock Bootloader without waiting dan best of part is your data will no wiped I am not the programmer of this software, I just want to shares All credit goes to developer: Tapin Recovery Installer Here's...
forum.xda-developers.com
Also may I ask, what kind of bootloop are you dealing with? There are a few types including:
1. Stuck at the "MIUI" logo for more than 15mins
2. Stuck at the "Redmi" logo
3. Shows the "Redmi" logo but powers off then tries to boot again
4. Keeps booting into fastboot mode
Thanks
stuntdouble said:
You'll probably have to get the original owner to unlock it with their account details. If they won't/can't do it, maybe it's a stolen device.
Click to expand...
Click to collapse
stuntdouble said:
You'll probably have to get the original owner to unlock it with their account details. If they won't/can't do it, maybe it's a stolen device.
Click to expand...
Click to collapse
Alright, thanks alot.
jacobpayag said:
Yes there are other ways to unlock found here:
[Rosemary] Instant Unlock Bootloader with no data wipe
Hi I want to share with you guys how to unlock Bootloader without waiting dan best of part is your data will no wiped I am not the programmer of this software, I just want to shares All credit goes to developer: Tapin Recovery Installer Here's...
forum.xda-developers.com
Also may I ask, what kind of bootloop are you dealing with? There are a few types including:
1. Stuck at the "MIUI" logo for more than 15mins
2. Stuck at the "Redmi" logo
3. Shows the "Redmi" logo but powers off then tries to boot again
4. Keeps booting into fastboot mode
Thanks
Click to expand...
Click to collapse
Stuck in redmi logo
i flash a TWRP rec but didnt install , flash orange fox and flashed flash anew rom dont flash after that
i go to fast boot to flash a def ver of TWRP but dont flash and my device bricked and get boot loop
bootlooder opened
sp flash tool get error " RAM_EXPITION"
sorry for my English xD

Categories

Resources