Unable to install official firmware after installing MIUI 11 / HybridOS ROM

rcballesteros

Member
Jul 7, 2016
6
1
0
Hi there,

Afew monts back I installed MIUI 11/HybridOS from the user robin_vilensky_ on my Mi A2 Lite (Daisy), today I thout about trying something new, so I downloaded HavocOS and tried to install it, to be honest I'm pretty sure I did it wrong and ended up on a bootloop, however, I decided to go back to stock using the official firmware provided by Xiaomi and MiFlash, the process finished in 1 second (or less) with a message of success, obviously it was a false positive and the bootloop was still there. I tried different firmwares, methods (except via TWRP because I don't know how), USB wires, versions of MiFlash and more, none of them worked.

Then I tried to go back to MIUI 11 using the same ROM, it worked instantly, then I went back to MiFlash now that the phone was running an OS and I ran into the same result: the process finishes with "success" in one second, nothing happens to the device.

My only clue so far is the log from my MiFlash process, this is the latest one but it's basically the same for the rest of my previous attempts:

Code:
[02:05:27 a. m.  de6068120605]:MiFlash 2019.12.6.0
[02:05:27 a. m.  de6068120605]:idproduct: 53261 idvendor: 6353
[02:05:27 a. m.  de6068120605]:Thread id:11 Thread name:de6068120605
[02:05:27 a. m.  de6068120605]:image path:C:\Daisy\daisy_global_images_V10.0.18.0.PDLMIXM_9.0
[02:05:27 a. m.  de6068120605]:env android path:"C:\Daisy\MiFlash20191206\MiFlash20191206\Source\ThirdParty\Google\Android"
[02:05:27 a. m.  de6068120605]:script :C:\Daisy\daisy_global_images_V10.0.18.0.PDLMIXM_9.0\flash_all.bat
[02:05:27 a. m.  de6068120605]:Physical Memory Usage:1658880 Byte
[02:05:27 a. m.  de6068120605]:start process id 9108 name cmd
[02:05:27 a. m.  de6068120605]:info1:$fastboot -s de6068120605 getvar product   2>&1  | findstr /r /c:"^product: *daisy"   || 
[02:05:27 a. m.  de6068120605]:info2:"findstr" no se reconoce como un comando interno o externo,
[02:05:27 a. m.  de6068120605]:info2:programa o archivo por lotes ejecutable.
[02:05:27 a. m.  de6068120605]:flash done
[02:05:27 a. m.  de6068120605]:flashSuccess True
[02:05:27 a. m.  de6068120605]:isFactory False CheckCPUID False
[02:05:27 a. m.  de6068120605]:before:flashSuccess is True set IsUpdate:True set IsDone True
[02:05:27 a. m.  de6068120605]:after:flashSuccess is True set IsUpdate:false set IsDone true
[02:05:28 a. m.  de6068120605]:No hay ningún proceso asociado a este objeto.
[02:05:28 a. m.  de6068120605]:flash done
[02:05:28 a. m.  de6068120605]:process exit.
info1 and info2 translate to:
Code:
[02:05:27 a. m.  de6068120605]:info2:"findstr" is not recognized as an internal or external command,
[02:05:27 a. m.  de6068120605]:info2:program or executable batch file.
Even with this I'm unable to point out what is happenning that prevents me from going back to stock. I ask for your kind help. Thanks.
 

rcballesteros

Member
Jul 7, 2016
6
1
0
Solution: Unable to install official firmware after installing MIUI 11 / HybridOS ROM

Apparently this is one of those posts that solve by themselves, after translating the error I decided to search it on the web I stumbbled uppon a StackOverflow post about the same error on a different context, the solution provided there consists on:

Go to System Properties > Enviroment Variables (Bottom right on Advanced Options tab) > Look for the Path variable, select it and click on edit > Click on new and paste/write
Code:
C:\Windows\system32
> Accept the changes and reboot the computer

Note that there is two places to find Path on the same window, I edited both of them for good measure.
There it is, now I'm able to flash the firmware with no problem.
 
Last edited: