[GUIDE] Flashing rom Using Miflash Mi2/3


hi,
the MiFlash does not recognize my mi2s device. on windows 7. i can browse the sd card on usb and windows installed the device as mi2s. so, how can i get MiFlash to "see" my device?

I have the same problem, did you manage to solve this? I'm on Win7 and device driver was not successfully installed. In Miflash application, my device is not detected.

I followed the instructions from below prompt and there's no "Select USB computer connection", actually nothing happens when I press menu button.

I'm trying to downgrade from 4.5.23 back to stable ROM.

4h8fop.jpg
 
  • Like
Reactions: Howieson33
I have the same problem, did you manage to solve this? I'm on Win7 and device driver was not successfully installed. In Miflash application, my device is not detected.

I followed the instructions from below prompt and there's no "Select USB computer connection", actually nothing happens when I press menu button.

I'm trying to downgrade from 4.5.23 back to stable ROM.

4h8fop.jpg


unfortunately... my device is a fake, that is why it didn't work....
sorry.
 
I have the same problem, did you manage to solve this? I'm on Win7 and device driver was not successfully installed. In Miflash application, my device is not detected.

I followed the instructions from below prompt and there's no "Select USB computer connection", actually nothing happens when I press menu button.

I'm trying to downgrade from 4.5.23 back to stable ROM.

4h8fop.jpg


I'm on win8.1 and to have things working I did this.
I downloaded the MiFlash 2014.05.09.0 utility from this link: http://bbs.xiaomi.cn/thread-8612185-1-1.html (at the end of the post there is a link to http://pan.baidu.com/s/1kTBiHEJ, and there you can retreive the file).
Then, I executed the .exe file of the installer in compatibility mode Windows Vista SP2, and I run it as an administrator.
Once I installed the software, I executed it, again, in compatibility mode Windows Vista SP2 and as an administrator.
This allowed me to flash correctly my phone in Win8.1

Note that before I came to the above procedure I tried many times different things (that didn't work) and so I'm not totally certain that the steps listed above are sufficient to have things working. I don't know if one of my previous attempts prepared my system to work properly with the above procedure.

If the procedure is correct, I think that it should work also with the MiFlash utility linked in the first post.
 
  • Like
Reactions: bubbl3 and Eeeks
My PC is lacking the device drivers. I have downloaded the XiaoMi drivers and tried to update driver software via Device Manager but Windows could not find driver software for my device.

I'm also looking to try to uninstall Miflash but it's not found in my Control Panel... really frustrating!
 
Yes, I know. It happened also to me that it was not possible to uninstall it because it was not in the list of the Control Panel.

Try this.
The folder with the software should be in the folder "Program files" (the exact name of this folder depends on your system).
Remove the folder Xiaomi (if you have installed only the MiFlash, otherwise you need to select what to remove and what to keep). If the system does not allow you to remove it, do it through a command prompt with adimistrator rights.

Do not install any driver, but just install the MiFlash with the trick explained in my previous post. (At this moment your smartphone is still disconnected from your pc).
After installation, start MiFlash with the trick.
Then boot your smartphone in fastboot, and only then connect it to your pc.
After this, follow the guide of the first post.
 
  • Like
Reactions: Eeeks
Yes, I know. It happened also to me that it was not possible to uninstall it because it was not in the list of the Control Panel.

Try this.
The folder with the software should be in the folder "Program files" (the exact name of this folder depends on your system).
Remove the folder Xiaomi (if you have installed only the MiFlash, otherwise you need to select what to remove and what to keep). If the system does not allow you to remove it, do it through a command prompt with adimistrator rights.

Do not install any driver, but just install the MiFlash with the trick explained in my previous post. (At this moment your smartphone is still disconnected from your pc).
After installation, start MiFlash with the trick.
Then boot your smartphone in fastboot, and only then connect it to your pc.
After this, follow the guide of the first post.

Managed to flash it and Miflash responded with successful reflash. But it's been stuck at the MI logo for more than 10 minutes. Is it bricked?
 
Managed to get it working by flashing a developer fast boot. Any idea a stable fast boot wouldn't boot up?
 
Guys, I need help. My Hongmi S1 stopped booting after me trying to install Xposed. I then tried to recover it in fastboot through Mi Phone Manager - it was downloading and applying the original system settings when I had to leave the house. When I came back, I saw an error in the program and now the phone won't work at all, not with normal booting, recovery mode or fastboot.

What can I do?
 
thanks a lot for the quick response. i changed the path and everything went well. thanks hadron and ingbrzy.
Hey guys This is my first guide so be gentle. Alot of people where asking about odin equivalent/Fasboot/Miflash help so i took the plunge and figured it out. Here goes.

FIRST DISCLAIMER: ONLY USE THIS IF YOU HAVE NO ACCESS TO RECOVERY AND USE AT YOUR OWN RISK. I HAVE FLASHED THIS WAY TWICE AND IT WORKED FINE.

First what you will need:
1. Miflash tool from here http://bigota.d.miui.com/tools/MiPhone2.11.6.exe
2. A Mi2 Fastboot package from here Download the Miflash package you want. (thread is in chinese but google translate is your friend here. Just make sure you get Mi2/Mi2s package)

So once you have those 2 packages extract them to your computer (To the root of your C drive or in a folder path containing no spaces) and start up the Miflash tool allowing it to install the drivers. After it is open you can browse to the location where you extracted the fastboot .exe package you downloaded.

Before doing anything else you need to change the name of the fastboot script the tool will use. Choices are:

1.flash_all_wipe.bat:
clears all the data of the built-in storage, clear all user data, please be careful!


2.flash_all_except_storage.bat:
will erase all user data does not clear the built-in storage data.


3.flash_all_except_data_storage.bat:
does not clear the built-in storage data does not clear user data


I would recommended using the flash_all_except_storage.bat since this will wipe and flash everything but the virtual sdcard.

to set the script press the little arrow next to the browse button and click on advanced
View attachment 5045

in the new window enter the name of the fastboot script you wish to use like so
View attachment 5046

Now you need to get your device into fastbootmode by turning it off then holding the vol-down button and power button until you see the fastboot logo. plug in your phone using USB cable and wait for driver installation to finish and click refresh. Your device should show up in the list. All that's left to do is press flash and wait for it to finish. It will reboot automaticly when it's done. Should take about 2 min or so.

Now you will have a fresh "stock" rom.

Hope this helps someone. Thanx for reading.

Hi buddy,

I MI3 has a little issue, I am doing everything that the instructions say, i also ensured that there are no spaces in the path. I am able to get everything. but when I click Flash, then within 1 second it says "the operation completed succesfully. but nothing happenes on the phone. its still stuck on boot. When i enter the recovery one partition is missing. Only partition 2 is left. It all started yesterday when my phone stuck on boot all of a sudden after a recent rom update. I have been using the developer ROM. then i tried claearing cache, wipes the storage, wiped all data and nothing works. Can you help please????
 
Hi guys.
I have flashes my Mi3 by Mirecovery but I think I did it with a wrong rom. The phone is completely dead! I am no able to get access to the recovery mode or fastboot. The buttons don’t work anymore and the led don’t lighting. The red light light up for a few seconds if i connect the Phone with pc.
Does anyone know how i can solve it just with the pc?
I’m really desperate because i have the phone just for 2 weeks and i can’t use it anymore.
Sorry for the bad english
 
I installed MiFlash, but i can't find my image to flash onto my phone -___- when i click browse it doesn't come up Thankyou in advanced
 
I will check when I get home, might not be until Sunday though sorry as I've flashed a few times using my laptop which I don't have to hand.
 
i need help plzzz. i entered the fastboot .but the opration only take 3 sec and after reboot the mi3 nothing change !
its in hebrew its say The operation completed successfully .
260bnte.png
 
Last edited:
Post picture in higher res. I can't read it.
i try it several time with different VERSION with same result
i have tried the three method with no result i still with JXDCNBA9.0
plez help
 
help
i try in fastboot,it only give 1second to flash
 

Attachments

  • MiFlash-1409247429@MACBOORAIR-PC.txt
    24.5 KB · Views: 730
plzzz need hlep
all i got is this ..what to do plzz

copy C:\Program Files\Xiaomi\MiPhone\Qualcomm\Driver\serial\i386\qcCoInstaller.dll to C:\WINDOWS\system32(0x00000000)
register C:\Program Files\Xiaomi\MiPhone\MiFlash.exe(0x00000000)
ExecuteCommand(942): (0xfffff9bd)
CInstaller::InstallPackage(256): (0xfffff9bd)
install C:\Program Files\Xiaomi\MiPhone\Microsoft\Driver\umdf.exe(0xfffff9bd)
install C:\Program Files\Xiaomi\MiPhone\Microsoft\Driver\wmfdist11.exe(0x00000000)
ExecuteCommand(942): (0xffffffff)
install C:\Program Files\Xiaomi\MiPhone\Google\Driver\android_winusb.inf(0x00000000)
install C:\Program Files\Xiaomi\MiPhone\Microsoft\Driver\tetherxp.inf(0x00000000)
install C:\Program Files\Xiaomi\MiPhone\Microsoft\Driver\wpdmtphw.inf(0x00000000)
install C:\Program Files\Xiaomi\MiPhone\Qualcomm\Driver\qcser.inf(0x00000000)
msm8225qskud 0.00 start flash C:\cancro_images_JXDCNBD14.0_4.3
msm8225qskud 0.05

msm8225qskud 0.05 $fastboot -s msm8225qskud getvar product 2>&1 | findstr /r /c:"^product: *MSM8974" || echo Missmatching image and device

1ytxmu.jpg
 
hi there.
I tried to flash a fastboot package via MiFlash, but suddently got an error.
no ROM flashed, phone is like before.

I opened up the log file, and here it is:

Code:
434c0aea    0.00    start flash C:\Program Files (x86)\Xiaomi\MiPhone\aries_images_4.10.10_4.1_cn
434c0aea    0.03   

434c0aea    0.05    $fastboot -s 434c0aea getvar soc-id  2>&1  | findstr /r /c:"^soc-id: *109"  || echo Missmatching image and device

434c0aea    0.05    'findstr' is not recognized as an internal or external command,

434c0aea    0.05    operable program or batch file.

what did go wrong?
 
hi there.
I tried to flash a fastboot package via MiFlash, but suddently got an error.
no ROM flashed, phone is like before.

I opened up the log file, and here it is:

Code:
434c0aea    0.00    start flash C:\Program Files (x86)\Xiaomi\MiPhone\aries_images_4.10.10_4.1_cn
434c0aea    0.03   

434c0aea    0.05    $fastboot -s 434c0aea getvar soc-id  2>&1  | findstr /r /c:"^soc-id: *109"  || echo Missmatching image and device

434c0aea    0.05    'findstr' is not recognized as an internal or external command,

434c0aea    0.05    operable program or batch file.

what did go wrong?
Flashing Mi2S image to Mi2A?

~Tapatalk~
 
Flashing Mi2S image to Mi2A?

~Tapatalk~

nope.
I tried 2 different fastboot images, both for Mi2/s.
I have a Mi2s and miflash perfectly worked until a few months ago. then I switched to CM11 and felt no need to use it.
but now I wanted to go back to MIUI with a 100% fresh install, using miflash.. and that's all.

FYI: I accidentally formatted my sdcard via CWM Recovery, then re-formatted it in FAT32 via Windows7.
could it be the issue?
 
nope.
I tried 2 different fastboot images, both for Mi2/s.
I have a Mi2s and miflash perfectly worked until a few months ago. then I switched to CM11 and felt no need to use it.
but now I wanted to go back to MIUI with a 100% fresh install, using miflash.. and that's all.

FYI: I accidentally formatted my sdcard via CWM Recovery, then re-formatted it in FAT32 via Windows7.
could it be the issue?
try this MiFlash http://obigota.d.miui.com/tools/MiPhone20140509.exe
 
tried, but with no clue:

Code:
[00000860]CreateManagedObject(1261): Unspecified error(0x80131604)
[00000860]GetFactoryObject(1305): Unspecified error(0x80131604)
[00000860]CreateManagedObject(1261): Unspecified error(0x80131604)
[00000860]GetFactoryObject(1305): Unspecified error(0x80131604)
[00000860]GetFactoryObject(1326): The specified service does not exist.(0x800704db)
[00000860]GetSearchPath(1381): The specified service does not exist.(0x800704db)
[00000C54]434c0aea    0.00    execute C:\Program Files (x86)\Xiaomi\MiPhone\aries_images_4.9.19_4.1_cn\flash_all.bat
[00000C54]434c0aea    0.02   
[00000C54]434c0aea    0.02    $fastboot -s 434c0aea getvar soc-id  2>&1  | findstr /r /c:"^soc-id: *109"  || echo Missmatching image and device
[00000C54]434c0aea    0.03    'findstr' is not recognized as an internal or external command,
[00000C54]434c0aea    0.03    operable program or batch file.
[00000C54]434c0aea    0.03   
[00000C54]CScriptReport::DoWork(418): Unspecified error(0xffffff01)
[00000C54]GetFactoryObject(1326): The specified service does not exist.(0x800704db)
[00000C54]SaveFlashResult(1347): The specified service does not exist.(0x800704db)
[00000860]GetFactoryObject(1326): The specified service does not exist.(0x800704db)
[00000860]GetSearchPath(1381): The specified service does not exist.(0x800704db)