Mi4i stuck in fastboot mode . Long press power button still takes to fastboot. - Xiaomi Mi 4i

Hi guys my mi4i is stuck on fastboot. If I long press power button , It again reboots to fastboot mode.
Tried flashing a stock ROM with MiFlash tool , from command prompt and in both cases flashing is shown as success but still I'm stuck in fastboot.
Surfed a lot and flashed TWRP from fastboot. I'm able to boot into TWRP recovery but my internal stoage is shown as 0Mb and when I try to flash any custom rom it is showing error 'unable to mount /system , /data , /cache' .
Guys please help me out here this is driving me crazy.

skandikuppa said:
Hi guys my mi4i is stuck on fastboot. If I long press power button , It again reboots to fastboot mode.
Tried flashing a stock ROM with MiFlash tool , from command prompt and in both cases flashing is shown as success but still I'm stuck in fastboot.
Surfed a lot and flashed TWRP from fastboot. I'm able to boot into TWRP recovery but my internal stoage is shown as 0Mb and when I try to flash any custom rom it is showing error 'unable to mount /system , /data , /cache' .
Guys please help me out here this is driving me crazy.
Click to expand...
Click to collapse
You probably messed up your internal partitions. Well if you can boot into fastboot mode, then all hope is not lost. Use the Miflash tool to flash the stock MIUI ROM in fastboot mode.

hell1134 said:
You probably messed up your internal partitions. Well if you can boot into fastboot mode, then all hope is not lost. Use the Miflash tool to flash the stock MIUI ROM in fastboot mode.
Click to expand...
Click to collapse
I already did that and MiFlash always shows success after some 200 odd seconds and the device boots right back to fastboot.

Try flash fastboot rom using the same version that you came from. Or use famous stable one like 6.6.10 fastboot rom and reflash. Or using older miflash tool. If possible verify the md5 to make sure your file is not corrupted. There shouldn't be any issue if everything is done correctly.

yumm91 said:
Try flash fastboot rom using the same version that you came from. Or use famous stable one like 6.6.10 fastboot rom and reflash. Or using older miflash tool. If possible verify the md5 to make sure your file is not corrupted. There shouldn't be any issue if everything is done correctly.
Click to expand...
Click to collapse
Will try this tonight and let know the status here.

yumm91 said:
Try flash fastboot rom using the same version that you came from. Or use famous stable one like 6.6.10 fastboot rom and reflash. Or using older miflash tool. If possible verify the md5 to make sure your file is not corrupted. There shouldn't be any issue if everything is done correctly.
Click to expand...
Click to collapse
Can you please guide me how to check the md5 if it is fine or corrupted? Sorry if my question seems basic

skandikuppa said:
Can you please guide me how to check the md5 if it is fine or corrupted? Sorry if my question seems basic
Click to expand...
Click to collapse
I think there is 3rd party plugin software that integrates md5/hash calculator in the details tab in file properties windows, though it has been long time since I used it.
Md5 is a sum to calculate whether the file u have is the same as the one in server, though it is very rarely corrupt, unless ur Nand or hdisk is faulty. I think just flashing global files via miflash should fix ur problems. If the miflash does not flag as corrupt, your ROM is fine.

Related

I messed up with Huawei Mate 9. Please Help.

Guys i have a really really big problem with mate 9 (MHA-L29). I broke both twrp and system same time (please don't ask why.)
Now, my phone don't open, just fastboot&rescue mode, useless huawei recovery (which can't format data neither install stock rom). Besides, i can't install stock rom because i tried once, and i downloaded wrong system file, and i can't format the phone now. Because of that, stock rom that i download sd card not working too. Because there is a dload file in phone.
worst of all, i can't install twrp again, because my fastboot screen tell me that: "Phone Unloced" (with red) "FRP Lock" (with green). When i try to install twrp, adb says "Failed, remote command not allowed"
Now, if can install the twrp, all my problems will be solve. There is 1 custom rom (RomAur) and 1 system backup.
How can i install twrp with this situation?
Please someone help me i spend 2 days and still nothing! How can i open this phone? Stock rom, with/without root, custom rom whatever, just tell me how can i open this phone
up
You get that command when trying to flash the wrong recovery partition, was your room nougat or Oreo based?? If nougat it's fastboot flash recovery recovery.img and Oreo fastboot flash recovery_ramdisk recovery.img I think you are trying to flash the wrong partition
shae23 said:
You get that command when trying to flash the wrong recovery partition, was your room nougat or Oreo based?? If nougat it's fastboot flash recovery recovery.img and Oreo fastboot flash recovery_ramdisk recovery.img I think you are trying to flash the wrong partition
Click to expand...
Click to collapse
No, my twrp is not wrong, i installed before, and i used long time, till broken. I installed wrong twrp recovery over correct recovery (i was trying to chance recovery because project treble). Thats why my twrp broken. Now i try to correct one, but adb says "not allowed". My custom rom nougat based.
cannurkars said:
No, my twrp is not wrong, i installed before, and i used long time, till broken. I installed wrong twrp recovery over correct recovery (i was trying to chance recovery because project treble). Thats why my twrp broken. Now i try to correct one, but adb says "not allowed". My custom rom nougat based.
Click to expand...
Click to collapse
With FRP lock you'll have to use DC-Phoenix.
But it costs €19 (For 3 days usage).
Simply put you can bypass FRP with it by force closing DC-Phoenix when it has activated the backdoor, after this you can flash anything from fastboot (until you reboot).
So you could use it to flash back TWRP.
Or you can use it to install stock firmware
ante0 said:
With FRP lock you'll have to use DC-Phoenix.
But it costs €19 (For 3 days usage).
Simply put you can bypass FRP with it by force closing DC-Phoenix when it has activated the backdoor, after this you can flash anything from fastboot (until you reboot).
So you could use it to flash back TWRP.
Or you can use it to install stock firmware
Click to expand...
Click to collapse
I will try it. Thank you very much.
cannurkars said:
Guys i have a really really big problem with mate 9 (MHA-L29). I broke both twrp and system same time (please don't ask why.)
Now, my phone don't open, just fastboot&rescue mode, useless huawei recovery (which can't format data neither install stock rom). Besides, i can't install stock rom because i tried once, and i downloaded wrong system file, and i can't format the phone now. Because of that, stock rom that i download sd card not working too. Because there is a dload file in phone.
worst of all, i can't install twrp again, because my fastboot screen tell me that: "Phone Unloced" (with red) "FRP Lock" (with green). When i try to install twrp, adb says "Failed, remote command not allowed"
Now, if can install the twrp, all my problems will be solve. There is 1 custom rom (RomAur) and 1 system backup.
How can i install twrp with this situation?
Click to expand...
Click to collapse
During startup the menu there is a option to go in Huawei e-recovery, when you are at the start up menu hold volume up for about 5 second.
ConnerZhao929 said:
During startup the menu there is a option to go in Huawei e-recovery, when you are at the start up menu hold volume up for about 5 second.
Click to expand...
Click to collapse
No it wasn't work for me. But thank for your attention. I'm glad to find a good person to help me and my problem solved about 1-2 hour ago.
Special Request
Hey ante . Is it possible to help me ? I rooted my phone 2 days back and messed it up while downloading a framework app which ended me up in a bootloop. I have been reading and following your posts of you helping others. I don't really get the steps what I should follow.
My phone is unlocked. FRP shows Unlock.
Rooted on oreo and I tried e-recovery and fastboot steps you mentioned in other threads using kernel and ramdisk etc. ( After this I have lost access to TWRP and I am simply getting EMUI Screen with options for Factory Data Reset and Wipe Cache Partition. I don't know where it is going to lead me next :-/.
Also downloaded Huawei Extractor and tried to extracted specific files but the firmware file I have doesn't have CUST.img file.
Also the site link you mentioned for download firmware is in some other language and I am unable to search for my firmware.
I also tried the placing update file in the dload on my sd card but fails at 5%. The file was correct and I am sure I did'n download the wrong firmware.
Currently it shows this on the fastboot screen.
Andorid reboot reason
: AP_S_ABNORMAL 32
NA
Just don't know what I should be doing ? PLEASE HELP BRO?
ante0 said:
With FRP lock you'll have to use DC-Phoenix.
But it costs €19 (For 3 days usage).
Simply put you can bypass FRP with it by force closing DC-Phoenix when it has activated the backdoor, after this you can flash anything from fastboot (until you reboot).
So you could use it to flash back TWRP.
Or you can use it to install stock firmware
Click to expand...
Click to collapse
AniMaL92 said:
Hey ante . Is it possible to help me ? I rooted my phone 2 days back and messed it up while downloading a framework app which ended me up in a bootloop. I have been reading and following your posts of you helping others. I don't really get the steps what I should follow.
My phone is unlocked. FRP shows Unlock.
Rooted on oreo and I tried e-recovery and fastboot steps you mentioned in other threads using kernel and ramdisk etc. ( After this I have lost access to TWRP and I am simply getting EMUI Screen with options for Factory Data Reset and Wipe Cache Partition. I don't know where it is going to lead me next :-/.
Also downloaded Huawei Extractor and tried to extracted specific files but the firmware file I have doesn't have CUST.img file.
Also the site link you mentioned for download firmware is in some other language and I am unable to search for my firmware.
I also tried the placing update file in the dload on my sd card but fails at 5%. The file was correct and I am sure I did'n download the wrong firmware.
Currently it shows this on the fastboot screen.
Andorid reboot reason
: AP_S_ABNORMAL 32
NA
Just don't know what I should be doing ? PLEASE HELP BRO?
Click to expand...
Click to collapse
What's your firmware now?
You can get that info in Fastboot using
Code:
fastboot oem get-product-model
fastboot oem get-build-number
Since your recovery and fastboot still functions you probably will only need to use HWOTA to get back to stock.
It can be found here: https://forum.xda-developers.com/mate-9/how-to/guide-mate-9-flash-oreo-update-package-t3699522
But post your cust/build before proceeding.
Also cust.img is found in UPDATE.APP in the hw data zip.
Problem Solved - Somewhat
Hey ante. Thanks for the promt reply. I got it solved by using CHIMERA tool.
Would like to suggest others also stuck with same issue to use CHIMERA.
Note - It is a paid tool and 100% legit and it can help with all problems related to FRP, Bootloader Lock / Unlock & also flashes back to factory firmware.
However what I am facing now I have flashed another version of firmware which isn't my region and some features of my phone like fingerprint scanner and other things are not working but phone is back to live. So Im glad and looking forward to searching for clean Oreo Firmware for my region to flash using CHIMERA Again.
Also, the sick and stupid part of it. I went to the service center and a person non-technical told me straight that you lost your device and it's of no use now. We cannot fix such issues 99% but I'll still ask my team and let you know after 3 days.
Thank God I didn give them and wasted my time and money.
As soon as I returned, I followed up to things and got it done myself. :good:
Anybody can possibly suggest a official firmware Oreo EMUI for Middle East Region!? If not which one can be flashed instead and where to download from?

Help unbricking Honor 6x L-24

Model: BLN L-24
I am stuck in error mode with
Func NO: 11 (recovery image)
Error NO: 2 (failed load!)
I have tried to re-flash several custom recovery I have used in the past, however none seem to work and end with the same result.
I have also tried flashing the stock recovery2.img from the Update.app for my model, but that also doesn't work and ends with a FAILED (remote: Partition Error)
I have run into troubles before, but I'm stumped with this one, I can at least still boot into fastboot.
Any help would be appreciated.
Hyperweasle said:
Model: BLN L-24
I am stuck in error mode with
Func NO: 11 (recovery image)
Error NO: 2 (failed load!)
I have tried to re-flash several custom recovery I have used in the past, however none seem to work and end with the same result.
I have also tried flashing the stock recovery2.img from the Update.app for my model, but that also doesn't work and ends with a FAILED (remote: Partition Error)
I have run into troubles before, but I'm stumped with this one, I can at least still boot into fastboot.
Any help would be appreciated.
Click to expand...
Click to collapse
What's your Android version. What were you trying to do. What recoveries have you tried and what's the command you're using. I had the same error yesterday because I flashed wrong TWRP. Fixed it by reflashing correct image.
Mannan Qamar said:
What's your Android version. What were you trying to do. What recoveries have you tried and what's the command you're using. I had the same error yesterday because I flashed wrong TWRP. Fixed it by reflashing correct image.
Click to expand...
Click to collapse
The version was Android 8 Oreo
I started out trying to go back to EMUI 8.0 from Open Kirin RROS Beta 2. So I followed this guide https://forum.xda-developers.com/honor-6x/how-to/update-bln-l22c675-emui-5-x-x-to-emui-8-t3819317
I tried the TWRP from download in the guide that was in the HWOTA8_BLN folder along with the TWRP from here https://forum.xda-developers.com/honor-6x/development/rom-emui-8-0-0-honor-6x-dual-sim-t3794079
The command I was using to flash the recoveries I believe is correct also which is the fastboot flash recovery_ramdisk "name of image" command. That command will flash successfully with the custom recoveries, however it will still bring up the error mode despite pressing +vol button.
The stock recoveries I extracted from the update.app file, I downloaded from here: https://pro-teammt.ru/firmware-database/?firmware_model=bln-L24&firmware_page=0. Which are the stock recoveries that end up with the FAILED (remote: Partition Error) Message.
Hyperweasle said:
The version was Android 8 Oreo
I started out trying to go back to EMUI 8.0 from Open Kirin RROS Beta 2. So I followed this guide https://forum.xda-developers.com/honor-6x/how-to/update-bln-l22c675-emui-5-x-x-to-emui-8-t3819317
I tried the TWRP from download in the guide that was in the HWOTA8_BLN folder along with the TWRP from here https://forum.xda-developers.com/honor-6x/development/rom-emui-8-0-0-honor-6x-dual-sim-t3794079
The command I was using to flash the recoveries I believe is correct also which is the fastboot flash recovery_ramdisk "name of image" command. That command will flash successfully with the custom recoveries, however it will still bring up the error mode despite pressing +vol button.
The stock recoveries I extracted from the update.app file, I downloaded from here: https://pro-teammt.ru/firmware-database/?firmware_model=bln-L24&firmware_page=0. Which are the stock recoveries that end up with the FAILED (remote: Partition Error) Message.
Click to expand...
Click to collapse
You tried to use HWOTA 8 to go back to stock? Dude. Use Hurupdater. Now, to fix. First of all search XDA for TWRP for hi6250. You can use Elemental but try this one first. Flash it via PowerShell. Does that give any errors? Now once it's flashed, don't reboot. Disconnect phone from PC and hold Volume Up and Power button simultaneously. You should boot into TWRP. What does bootloader say. Phone Locked or Unlocked? What about FRP? The stock recovery didn't work cause you used the BLN-L24 one which is for EMUI 5. You're on EMUI 8. Try to boot into TWRP
Mannan Qamar said:
You tried to use HWOTA 8 to go back to stock? Dude. Use Hurupdater. Now, to fix. First of all search XDA for TWRP for hi6250. You can use Elemental but try this one first. Flash it via PowerShell. Does that give any errors? Now once it's flashed, don't reboot. Disconnect phone from PC and hold Volume Up and Power button simultaneously. You should boot into TWRP. What does bootloader say. Phone Locked or Unlocked? What about FRP? The stock recovery didn't work cause you used the BLN-L24 one which is for EMUI 5. You're on EMUI 8. Try to boot into TWRP
Click to expand...
Click to collapse
https://forum.xda-developers.com/p8.../recovery-twrp-3-2-3-0-huawei-hi6250-t3859959
Ok so I flashed this one with Powershell, and it didn't show up any errors. However I still can't seem to boot into recovery and it continues to show up error mode, even while doing as you say and pressing the vol+ and power in fastboot. Also both FRP and Phone are unlocked
Hyperweasle said:
https://forum.xda-developers.com/p8.../recovery-twrp-3-2-3-0-huawei-hi6250-t3859959
Ok so I flashed this one with Powershell, and it didn't show up any errors. However I still can't seem to boot into recovery and it continues to show up error mode, even while doing as you say and pressing the vol+ and power in fastboot. Also both FRP and Phone are unlocked
Click to expand...
Click to collapse
Use Huawei multi tool 8 to unbrick your device it's easier and just use the firmware that you were in before
Hyperweasle said:
https://forum.xda-developers.com/p8.../recovery-twrp-3-2-3-0-huawei-hi6250-t3859959
Ok so I flashed this one with Powershell, and it didn't show up any errors. However I still can't seem to boot into recovery and it continues to show up error mode, even while doing as you say and pressing the vol+ and power in fastboot. Also both FRP and Phone are unlocked
Click to expand...
Click to collapse
Try Dload
hamid1999 said:
Use Huawei multi tool 8 to unbrick your device it's easier and just use the firmware that you were in before
Click to expand...
Click to collapse
Mannan Qamar said:
Try Dload
Click to expand...
Click to collapse
I tried both of those things and still couldn't get it working.
dload doesn't pop up and multi tool fails to flash the recovery_ramdisk.img when trying to unbrick it.
I do remember before any of this happened that I was having a problem with my internal storage as I didn't have access to it. All file mangers I tried couldn't access it and showed it up as blank and TWRP showed it with 0mb.
I have a feeling that my internal storage is screwed up and that's why all attempt to flash anything have failed. I may just have face the fact that it's dead.
Hyperweasle said:
I tried both of those things and still couldn't get it working.
dload doesn't pop up and multi tool fails to flash the recovery_ramdisk.img when trying to unbrick it.
I do remember before any of this happened that I was having a problem with my internal storage as I didn't have access to it. All file mangers I tried couldn't access it and showed it up as blank and TWRP showed it with 0mb.
I have a feeling that my internal storage is screwed up and that's why all attempt to flash anything have failed. I may just have face the fact that it's dead.
Click to expand...
Click to collapse
As long as it turns on it isn't dead. Did you try DC unlocker? That often works. Try it and if it fails go to service center and play dumb. Say it happened like this after a update.
Edit. Let it power off. When it turns on hold Volume Up

F2 Pro completely stuck

Hi,
My phone is actually dying and I don't know how to recover it this time.
I had a perfectly working setup with latest weekly update of Xiaomi eu MIUI , TWRP and magisk, and know even fastboot is not responding.
I usually don't like when people say that, but I think a malware did it, as my apps started not responding in a few minutes, and the reboot finished the job.
Now it won't boot anymore, when it's plug the notification led is red, and fastboot is detected but commands are stuck.
Also, TWRP is neither accessible from "power + vol up" since last miui eu update, nor from fastboot since the "accident"
If someone have any advice on how to unlock fastboot, flash back the rom or any other way to recover my phone, please help
Also, if you want to know the rest of the story, it's here...
I was using my phone as usual, trying to setup a bridge openvpn connection. (like everyone :laugh: )
The issue is that the only app claiming to do that isn't free, and I want to be sure I can make it work before spending any money.
So I tried to patch it and different apks (I know it's bad...), and while transferring an apk from my laptop to my phone, I noticed the transfer was kinda slow for a few seconds (nothing worrying, but unusual)
Then some of my apps didn't want to launch and, back to the app drawer, most of my apps had their package names, with no icons...
It was at this moment Jackson I knew I screwed up...
I then tried rebooting, and the phone stayed a few minutes on the MIUI screen, then shut off.
After a reboot, I noticed the red led, the absence of boot animation, and the bootloop.
Obviously, if I had a fastboot access, it would be easy to boot on TWRP and then flash back my rom properly but I can't...
EDIT: to make this clearer (I know the post above is a little bit messy), I have the following issues:
- No access to TWRP (for flashing)
- Fastboot is accessible but broken enough so flash/boot to twrp is not possible
- I just though of EDL mode, but "fastboot oem edl" doesn't seems to work
- I prefer to avoid opening my phone (to access to the EDL test points)
EDIT2: You can't flash anything in EDL mode without specific autorisations from xiaomi, so this mode becomes way more useless than on my previous Mi A1. I managed to miraculously flash some things by using miflash in fastboot mode. Maybe working on a windows os instead of gnu/linux helped somehow...
Thelm76 said:
Hi,
My phone is actually dying and I don't know how to recover it this time.
I had a perfectly working setup with latest weekly update of Xiaomi eu MIUI , TWRP and magisk, and know even fastboot is not responding.
I usually don't like when people say that, but I think a malware did it, as my apps started not responding in a few minutes, and the reboot finished the job.
Now it won't boot anymore, when it's plug the notification led is red, and fastboot is detected but commands are stuck.
Also, TWRP is neither accessible from "power + vol up" since last miui eu update, nor from fastboot since the "accident"
If someone have any advice on how to unlock fastboot, flash back the rom or any other way to recover my phone, please help
Also, if you want to know the rest of the story, it's here...
I was using my phone as usual, trying to setup a bridge openvpn connection. (like everyone :laugh: )
The issue is that the only app claiming to do that isn't free, and I want to be sure I can make it work before spending any money.
So I tried to patch it and different apks (I know it's bad...), and while transferring an apk from my laptop to my phone, I noticed the transfer was kinda slow for a few seconds (nothing worrying, but unusual)
Then some of my apps didn't want to launch and, back to the app drawer, most of my apps had their package names, with no icons...
It was at this moment Jackson I knew I screwed up...
I then tried rebooting, and the phone stayed a few minutes on the MIUI screen, then shut off.
After a reboot, I noticed the red led, the absence of boot animation, and the bootloop.
Obviously, if I had a fastboot access, it would be easy to boot on TWRP and then flash back my rom properly but I can't...
Click to expand...
Click to collapse
Hi
I had a similar situation
I comfigured an app and during configuration the phone start framing
I rebooted and stucked at miui screen
I tried to reboot in recovery ,nothing
I downloaded latest miui for europe 12.0.3 and mi flash
For me fastboot worked to flash latest firmware from xiaomi
And now is working and my bootloader is locked
Thelm76 said:
Hi,
My phone is actually dying and I don't know how to recover it this time.
[/hide]
Click to expand...
Click to collapse
Xiaomi.eu has TWRP issue...
Go to https://www.androidfilehost.com/?w=files&flid=50678 and find your recovery (lmi) and flash it with fastboot and boot to recovery.
fastboot flash recovery twrp.img
fastboot boot twrp.img
Now download the new ROM 20.10.16, push it to the internet storage and install it dirty... Wipe Cache and reboot....
My problem is almost same, i unlock the bootloader to flash xiaomi.eu rom from global rom, unlocking and flashing custom recovery was done smoothly, when i tried to flash xiaomi.eu rom version 12.0.8 it booted back to recovery, and i format the data partition and booted to system, and same result. I tried global its same result.
Then i tried miflash tool, " antirollback error ".
Now i don't know what to do. Hope my precious poco f2 pro is not bricked, coz i can still manage to boot in custom recovery, and can use miflash tool but error.
Can someone out there help me please. Thanks in advance.
Eldybug said:
My problem is almost same, i unlock the bootloader to flash xiaomi.eu rom from global rom, unlocking and flashing custom recovery was done smoothly, when i tried to flash xiaomi.eu rom version 12.0.8 it booted back to recovery, and i format the data partition and booted to system, and same result. I tried global its same result.
Then i tried miflash tool, " antirollback error ".
Now i don't know what to do. Hope my precious poco f2 pro is not bricked, coz i can still manage to boot in custom recovery, and can use miflash tool but error.
Can someone out there help me please. Thanks in advance.
Click to expand...
Click to collapse
Since you have access to a properly working fastboot and recovery, I believe there is always a way to recover your phone.
I'll be glad to help you but for now, I'm more focused on my issue.
Only thing, while using miflash, be careful to never lock your bootloader since you would have to open your phone to access EDL mode in case of bootloop
(but you can lock it afterwards if you want)
Enricosteph said:
Xiaomi.eu has TWRP issue...
Go to https://www.androidfilehost.com/?w=files&flid=50678 and find your recovery (lmi) and flash it with fastboot and boot to recovery.
fastboot flash recovery twrp.img
fastboot boot twrp.img
Now download the new ROM 20.10.16, push it to the internet storage and install it dirty... Wipe Cache and reboot....
Click to expand...
Click to collapse
Well, the main issue here is that fastboot seems to be broken too...
i found this for you on the LOS rom for poco f2 pro (am not the autor) this is for the "Anti-rollback error" (i hope that can help you):
romabah said:
Gentlemen with EU versions of Poco F2 pro, could you help me out?
Right now i am running 12.0.2.0 QJKEUXM.
To flash Lineage i first need to flash MIUI V12.0.3.0.QJKMIXM via MiFlash. I tried to do that but got an Anti-rollback error.
Checking via fastboot i saw that my phones anti rollback value is 1, but MIUI V12.0.3.0.QJKMIXM firmware has an anti rollback of 0.
Some folks say to delete first 5-6 lines in text editor from .bat file, but at the same time people tell everywhere to NOT flash firmware with lower value that your current anti rollback.
Any advice? How did other EU folks fix this?
Edit: I fixed it! I will NOT and cannot claim that this will fix all rollback error's, but it fixed mine.
0) This is applicable to fastboot version of MIUI V12.0.3.0.QJKMIXM (aka tgz file that you need to extract twice)
1) Move the extracted firmware directory imi_global_images_V12.0.3.......ets.ets. ( map with flash_all.bat, images ) to C: directory and rename to something short, like xiaomiFirm.
This will solve a lot of weird error's as MiFlash doesnt like long directories
2) Within the moved map open flash_all.bat with text editor and delete everything starting and including "::check anti_version" to and including "echo %..."
This removes the anti rollback check somehow. The reason for only editing flash_all.bat is because this is the .bat file that is run when you choose clean all option in MiFlash, i assume you dont want to clean all and lock now do you?
3) After finishing flashing mine gave error Not catch checkpoint flash is not done, but booted normally. Gave me a heart attack.
Sanity check: When running cmd "fastboot getvar anti" it returned "anti: 1"
Meaning i just flashed a ROM with anti of 0 on a phone with a anti value of 1. At least i believe so.
In any case, thank all for giving feedback for other ways of fixing this.
Click to expand...
Click to collapse
I'll try to make a type C deep flash cable to flash fastboot, and edit this message to explain if this works
Thelm76 said:
Well, the main issue here is that fastboot seems to be broken too...
Click to expand...
Click to collapse
Try to hold down only Vol Down and connect it to your computer
Enricosteph said:
Try to hold down only Vol Down and connect it to your computer
Click to expand...
Click to collapse
I don't know if this was my cable or fastboot oem edl, but windows recognised the phone as qualcomm qdloader 9008. I'll now try to update fastboot, install twrp and check the extent of the damages.
Fangstergangsta said:
i found this for you on the LOS rom for poco f2 pro (am not the autor) this is for the "Anti-rollback error" (i hope that can help you):
Click to expand...
Click to collapse
Indeed, OP, try to flash everything from the start thep by step.
You must stop therapeutic relentlessness!!!
Just plug out the charger and let him die softly...
Put him back in his sweet box after his last breathe
Bury him in your garden with a decent burial : he deserve it!!!!
It's HIS TIME, dude....
Regards
Mastakony said:
You must stop therapeutic relentlessness!!!
Just plug out the charger and let him die softly...
Put him back in his sweet box after his last breathe
Bury him in your garden with a decent burial : he deserve it!!!!
It's HIS TIME, dude....
Regards
Click to expand...
Click to collapse
Haha it's not therapeutic relentlessness when you're sure it will live again in a few days (and fully working!)
It just need a good memory wipe and android replacement
As I managed to get to emergency mode, I can now easily replace its software
EDIT: I didn't know that for these xiaomi devices, you need very specific autorisations to flash something with EDL... Fortunately, after messing around with miflash, I managed to unlock myself out of this infinite loop
As I managed to get to emergency mode, I can now easily replace its software
Click to expand...
Click to collapse
How are you going to flash the software?
Well,
By using edl mode and miflash, I got some errors as I was not authorised to do this operation, so I rebooted to fastboot, reused miflash, and I don't know which kind of magic did that but after some files flashed and an error, I was able to boot on TWRP. With this done, I tried to keep my data but didn't worked, and as I have everything constantly backup, I dicided to do a flashall.
now, I think I have a good MIUI base to flash MIUI EU back
Thelm76 said:
Well,
By using edl mode and miflash, I got some errors as I was not authorised to do this operation, so I rebooted to fastboot, reused miflash, and I don't know which kind of magic did that but after some files flashed and an error, I was able to boot on TWRP. With this done, I tried to keep my data but didn't worked, and as I have everything constantly backup, I dicided to do a flashall.
now, I think I have a good MIUI base to flash MIUI EU back
Click to expand...
Click to collapse
I have the same situation plus no fastboot or recovery at all.. Please tell me how did you resolve it?
ghannaiem said:
I have the same situation plus no fastboot or recovery at all.. Please tell me how did you resolve it?
Click to expand...
Click to collapse
Is the phone detected by the pc in usb?
And when you press power+ sound + or - What is happening?
NOSS8 said:
Is the phone detected by the pc in usb?
And when you press power+ sound + or - What is happening?
Click to expand...
Click to collapse
Yes , detected by usb but as qcom 9008,
And when holding down power button with + or - vol it restarts again to 9008 .
So it is not detected by any means, but only detected in edl mode
ghannaiem said:
Yes , detected by usb but as qcom 9008,
And when holding down power button with + or - vol it restarts again to 9008 .
So it is not detected by any means, but only detected in edl mode
Click to expand...
Click to collapse
how did it happen?
My imei got lost so I tried to flash eng rom through MI flash to fix it. It flashes all except certain file called (aop. Mbn) so I tried to flash it by cmd commands via fastboot and then the phone bricked.. No booting to fastboot anymore , no recovery. even with disconnecting battery and reconnecting again... Phone only recognized in Edl mode and when flashing through MI flash it asks for edl authorization... Account login successful but then flash fail cuz account is not authorized. So I think The only solution will be authorized account or patched prog_ufs file

Unable to mount internal storage, change partition files type

I have a oneplus 7t pro. bootloader is unlocked, orangefox installed, I have tried many methods but none seem to work in regards to installing another rom and getting access to internal storage while on orangefox, I intend to install another rom on the phone, also tried adb method via orangefox and when I usae the command adb side load (filename.rar) it gives me this error: (~0%) * failed to read command:
it is so fustrating because I tried every possible method on the internet, but if anyone has any suggestions or solutions please feel free to inform me.
Do I need root in order to get access?
I also tried the guide from this forum: How to fix unable to mount data internal storage 0mb in twrp permanently : but no method worked, I get errors trying to change the file system type and repairing it, no proccess works, nothing WORKED, SO FUSTRATING!
help
update: tried on twrp and managed to transfer rom zip to it but when I tried installing it, I got these errrors:
system_root invalid arugement
vendor invalid argument
Be sure to check if you are loading the fastboot rom via fastboot or the recovery rom first
ValgarBaldr said:
Be sure to check if you are loading the fastboot rom via fastboot or the recovery rom first
Click to expand...
Click to collapse
What do you mean?
helpUrgently said:
can you explain to me in steps so I can follow?
Click to expand...
Click to collapse
Sorry, I was replying you but I think the best for you is telling me first what rom are you trying to flash and if you are able to log in the device normally
the only working method for me was to create a fastboot rom and install it via cmd with flashall.bat, no recovery os worked, I was almost there but idk how to create a flash all.bat file properly for the rom, im trying to install the pixel experience rom, these are the payload output files(they are in the correct descending order top to bottom)
oh I get it now, VIA FAST BOOT
Yeah you are getting it. Via fastboot you flash the recovery file and the rom so you have all in one. Look the installation guide for arrowos as the Devs usually explain all very closely
Hello, all I need is the correct flash-all.bat file for execution of the files, I couldnt flash the rom normally on fastboot, this is the only working meethod for me
ValgarBaldr said:
Yeah you are getting it. Via fastboot you flash the recovery file and the rom so you have all in one. Look the installation guide for arrowos as the Devs usually explain all very closely
Click to expand...
Click to collapse
I tried but I get errors trying to do it

Stuck at TWRP splash screen

I recently updated to MIUI v12.5.1.0.RCDMIXM using a recovery zip through TWRP. A few days later I decided to flash Magisk by patching the boot.img from the same zip and flashed using fastboot.
Everything worked fine until I rebooted to recovery using the Magisk app. Now it's stuck at the TWRP splash screen, can't even reboot or enter fastboot with power and volume buttons because it will always try to boot to TWRP.
What do I need to do to fix this?
This is where I got the TWRP
Just erase/format the MISC partition.
This partition holds a "go to recovery" parameter.
VD171 said:
Just erase/format the MISC partition.
This partition holds a "go to recovery" parameter.
Click to expand...
Click to collapse
Okay, but how exactly can I do that? It's been stuck like this since last night and won't go to fastboot with vol keys..
Can you use TWRP ?
If not, you need sp flash tool.
Try to flash boot.img and recovery.img.
VD171 said:
Can you use TWRP ?
If not, you need sp flash tool.
Try to flash boot.img and recovery.img.
Click to expand...
Click to collapse
TWRP is stuck at the state in the picture I sent.
I'll try using SP Flash, but I think I remember that Xiaomi devices have SLA auth to prevent unauthorized flashing using SP Flash. Will your scatter file work without it?
VD171 said:
Can you use TWRP ?
If not, you need sp flash tool.
Try to flash boot.img and recovery.img.
Click to expand...
Click to collapse
I just realized that the zip file or any other version does not include a stock recovery.img...
Do you have the Global v12.5.1.0 stock recovery? Or I could just use any version like vbmeta?
The phone's battery just drained, if I try to plug it would try to boot into twrp again so I kept it unplugged since I need it to be turned off for SP Flash
Reyproject said:
TWRP is stuck at the state in the picture I sent.
I'll try using SP Flash, but I think I remember that Xiaomi devices have SLA auth to prevent unauthorized flashing using SP Flash. Will your scatter file work without it?
Click to expand...
Click to collapse
Exactly.
You need to bypass EDL auth:
[GUIDE] How To bypass authentication and flash in EDL with NO auth for FREE
Thanks to: chaosmaster / k4y0z: GitHub / XDA xyzz / xyz`: GitHub / XDA Dinolek: GitHub / XDA How to install: 1. Download the attached file: VD171_MTK-bypass.zip. 2. Extract the file and open the folder. 3. Run and install python...
forum.xda-developers.com
Reyproject said:
I just realized that the zip file or any other version does not include a stock recovery.img...
Do you have the Global v12.5.1.0 stock recovery? Or I could just use any version like vbmeta?
The phone's battery just drained, if I try to plug it would try to boot into twrp again so I kept it unplugged since I need it to be turned off for SP Flash
Click to expand...
Click to collapse
You said "fastboot", so you need the fastboot ROM.
SP flash tool does NOT need the device to be turned off, it just need to REBOOT.
If you try to flash while a reboot to another reboot, it will works perfectly.
Which magisk did you flash? 23 is not working for 9A
yaro666 said:
Which magisk did you flash? 23 is not working for 9A
Click to expand...
Click to collapse
Magisk V23.0 is the BEST MAGISK EVER !
yaro666 said:
Which magisk did you flash? 23 is not working for 9A
Click to expand...
Click to collapse
It does tho, i've been using it since the first use of this phone (12 and 12.5)
Applewubs said:
It does tho, i've been using it since the first use of this phone (12 and 12.5)
Click to expand...
Click to collapse
Are you still in 12.5? Do you also use a custom recovery in that version?
Just managed to access a laptop and got to fix the situation. Turns out I can still use adb even though TWRP is stuck on the logo screen.
First tried the `fastboot erase misc` command but misc partition doesn't exist on the device.
Tried `fastboot continue` but won't let me use the command and `fastboot reboot` just makes it go to recovery and get stuck again.
I flashed Orange Fox Recovery and it was still stuck at it's splash screen. So I went back to fastboot and for some reason `fastboot reboot` worked now and booted to system, further restarts are normal now.
Now I'm curious, why won't custom recoveries work with MIUI 12.5? When I tried accessing root, every folder (ex. system) is in this format [1;34system[0m, does it have something to do with that?
Still trying to get the stock recovery, but there's no fastboot rom file for this version yet...
yaro666 said:
Which magisk did you flash? 23 is not working for 9A
Click to expand...
Click to collapse
Magisk v23 works just fine, just patch the boot.img file of your ROM version and flash it with custom recovery or fastboot.
Reyproject said:
Are you still in 12.5? Do you also use a custom recovery in that version?
Click to expand...
Click to collapse
Theres one TWRP that doesnt have a splashscreen, in that one just block and unblock the screen while on recovery and it'll work fine. BUT your internal storage isn't going to be accesible, its encrypted and (for some reason) on 12.5 twrp cant unlock the storage, you'll have to do everything on your sdcard
Reyproject said:
Just managed to access a laptop and got to fix the situation. Turns out I can still use adb even though TWRP is stuck on the logo screen.
First tried the `fastboot erase misc` command but misc partition doesn't exist on the device.
Tried `fastboot continue` but won't let me use the command and `fastboot reboot` just makes it go to recovery and get stuck again.
I flashed Orange Fox Recovery and it was still stuck at it's splash screen. So I went back to fastboot and for some reason `fastboot reboot` worked now and booted to system, further restarts are normal now.
Now I'm curious, why won't custom recoveries work with MIUI 12.5? When I tried accessing root, every folder (ex. system) is in this format [1;34system[0m, does it have something to do with that?
Still trying to get the stock recovery, but there's no fastboot rom file for this version yet...
Click to expand...
Click to collapse
I thinks its because they cant unlock the storage, they keep trying and just keeps stuck on trying.

Categories

Resources