Mi4 Bricked After Installing Marshmallow! Help Please!!!


LimeniR

Members
Feb 2, 2016
2
11
I installed this rom here: http://xiaomi.eu/community/threads/6-1-28-29.29731/

It's Android Marshmallow, I flashed it through Recovery, checked it out, and decided to go back to Stable rom, this one: http://en.miui.com/download-240.html

And now I can't flash stable rom back!
If I try to flash it with MiFlash Tool, I get error: FAILED (remote: partition table doesn't exist)
If I try to flash rom using Mi PC Suite, it gets stuck at: Sending...NON-HLOS.bin

Now I'm really screwed. I don't have any roms on my Mi4. And I can only go to Recovery and FastBoot.
I can't flash any rom and my Mi4 is basicly bricked!!!

I assume that Marshmallow changed / merged partitions so now I can't flash Stable rom that is KitKat!

What can I do? How can I flash back Stable KitKat rom if I only have recovery and fastboot available?

Help me please, help me fast!!!
 
Unpack stable tgz package and edit flash_all.bat file with unix line ending compatible text editor (EditPad Lite should work).

Code:
fastboot %* getvar product 2>&1 | findstr /r /c:"^product: *MSM8974" || echo Missmatching image and device
fastboot %* getvar product 2>&1 | findstr /r /c:"^product: *MSM8974" || exit /B 1
fastboot %* getvar board_version 2>&1 | findstr /r /c:"^board_version: *4.4" && echo Missmatching board version
fastboot %* getvar board_version 2>&1 | findstr /r /c:"^board_version: *4.4" && exit /B 1
fastboot %* getvar board_version 2>&1 | findstr /r /c:"^board_version: *5.[0-9]" && echo Missmatching board version
fastboot %* getvar board_version 2>&1 | findstr /r /c:"^board_version: *5.[0-9]" && exit /B 1

:: Insert next line to write partition table
fastboot %* flash partition "%~dp0images\gpt_both0.bin" || @echo "Flash partition" && exit /B 1

fastboot %* flash tz %~dp0images\tz.mbn
fastboot %* flash dbi %~dp0images\sdi.mbn
fastboot %* flash sbl1 %~dp0images\sbl1.mbn
fastboot %* flash rpm %~dp0images\rpm.mbn
fastboot %* flash aboot %~dp0images\emmc_appsboot.mbn
fastboot %* erase boot
fastboot %* erase DDR
fastboot %* flash misc %~dp0images\misc.img
fastboot %* flash modem+modem1 %~dp0images\NON-HLOS.bin
fastboot %* flash system+system1 %~dp0images\system.img
fastboot %* flash cache %~dp0images\cache.img
fastboot %* flash userdata %~dp0images\userdata.img
fastboot %* flash recovery %~dp0images\recovery.img
fastboot %* flash boot+boot1 %~dp0images\boot.img
fastboot %* reboot

You need to add fastboot flash partition line after getvars and then MiFlash.
 
I installed this rom here: http://xiaomi.eu/community/threads/6-1-28-29.29731/

It's Android Marshmallow, I flashed it through Recovery, checked it out, and decided to go back to Stable rom, this one: http://en.miui.com/download-240.html

And now I can't flash stable rom back!
If I try to flash it with MiFlash Tool, I get error: FAILED (remote: partition table doesn't exist)
If I try to flash rom using Mi PC Suite, it gets stuck at: Sending...NON-HLOS.bin

Now I'm really screwed. I don't have any roms on my Mi4. And I can only go to Recovery and FastBoot.
I can't flash any rom and my Mi4 is basicly bricked!!!

I assume that Marshmallow changed / merged partitions so now I can't flash Stable rom that is KitKat!

What can I do? How can I flash back Stable KitKat rom if I only have recovery and fastboot available?

Help me please, help me fast!!!

Can you speck Chinese?Maybe I can help you, but my English is not very well.
 
Last edited:
I also use MIPhone 4. Android 6 downto 4.4.4 is not simply direct. If you can understand Chinese, you can reply me or goto www.miui.com.

That's a Chinese forum for any problem about Miphone. I am from China.
 
Last edited:
Need some help. I have Mi4 and used the rom xiaomi.eu_multi_cancro_6.2.4_v7-6.0.zip.
But I had used Mi PC Suite to backup my device but now when i try to connect Mi PC Suite Give mes following error

You need to update your device to use Mi PC Suite
Update your device before connecting

Please help/advice me what should be done.
 
  • Like
Reactions: Andrew Kingsley
Unpack stable tgz package and edit flash_all.bat file with unix line ending compatible text editor (EditPad Lite should work).

Code:
fastboot %* getvar product 2>&1 | findstr /r /c:"^product: *MSM8974" || echo Missmatching image and device
fastboot %* getvar product 2>&1 | findstr /r /c:"^product: *MSM8974" || exit /B 1
fastboot %* getvar board_version 2>&1 | findstr /r /c:"^board_version: *4.4" && echo Missmatching board version
fastboot %* getvar board_version 2>&1 | findstr /r /c:"^board_version: *4.4" && exit /B 1
fastboot %* getvar board_version 2>&1 | findstr /r /c:"^board_version: *5.[0-9]" && echo Missmatching board version
fastboot %* getvar board_version 2>&1 | findstr /r /c:"^board_version: *5.[0-9]" && exit /B 1

:: Insert next line to write partition table
fastboot %* flash partition "%~dp0images\gpt_both0.bin" || @echo "Flash partition" && exit /B 1

fastboot %* flash tz %~dp0images\tz.mbn
fastboot %* flash dbi %~dp0images\sdi.mbn
fastboot %* flash sbl1 %~dp0images\sbl1.mbn
fastboot %* flash rpm %~dp0images\rpm.mbn
fastboot %* flash aboot %~dp0images\emmc_appsboot.mbn
fastboot %* erase boot
fastboot %* erase DDR
fastboot %* flash misc %~dp0images\misc.img
fastboot %* flash modem+modem1 %~dp0images\NON-HLOS.bin
fastboot %* flash system+system1 %~dp0images\system.img
fastboot %* flash cache %~dp0images\cache.img
fastboot %* flash userdata %~dp0images\userdata.img
fastboot %* flash recovery %~dp0images\recovery.img
fastboot %* flash boot+boot1 %~dp0images\boot.img
fastboot %* reboot

You need to add fastboot flash partition line after getvars and then MiFlash.


You saved my phone!!!! Big thx Pertti Kosunen!!! :)