Help me PLS ... Emergency !!! MiFlash Error !!!


Jun 6, 2013
904
243
80
#1
Hi Emergency !!!
I think i have messed up with the partition table... now i am not able to flash to stock ROM using MiFLash Tool with FASTBOOT version. All i can do is i can boot into CWM recovery & Fastboot.... nothing else.... i tried many partition sizes... but i think i am screwed....

this is the error i am getting....



i searched on the google also, i didnt get any convincing answers.... anyone here pls help me....

what does this error means ? what should i do next ? i am struck at Fastboot & CWM recovery only !!!

I am using Mi2S 32GB version... is it bricked ? have i reached a point of no return ? Experts/ Devs pls help me.....
waiting for your reply.... Thanks in advance.... i have formatted the SDcard in CWM recovery option also.... no update zip or no MIUI ROM zip in the SD card at present, i cant copy file in USB mount option in recovery also.... what should i do next ?

Oh God please save me.....


Here is the log file in MiFlash folder.....

Code:
5981413    0.00    start flash C:\Program Files\Xiaomi\MiPhone\miui_MiTwo_3.8.16_fastboot_4.1
5981413    0.23   
 
5981413    0.28    $fastboot -s 5981413 getvar soc-id  2>&1  | findstr /r /c:"^soc-id: *109"  || echo Missmatching image and device
 
5981413    0.38    soc-id: 109
 
5981413    0.39   
 
5981413    0.42    $fastboot -s 5981413 getvar soc-id  2>&1  | findstr /r /c:"^soc-id: *109"  || exit /B 1
 
5981413    0.47    soc-id: 109
 
5981413    0.48   
 
5981413    0.52    $fastboot -s 5981413 flash tz "C:\Program Files\Xiaomi\MiPhone\miui_MiTwo_3.8.16_fastboot_4.1\images\tz.mbn"  ||
 
5981413    0.55    sending 'tz' (196 KB)...
 
5981413    0.59    OKAY [  0.017s]
 
5981413    0.61    writing 'tz'...
 
5981413    0.64    OKAY [  0.013s]
 
5981413    0.69    finished. total time: 0.030s
 
5981413    0.72   
 
5981413    0.73    $fastboot -s 5981413 flash sbl1 "C:\Program Files\Xiaomi\MiPhone\miui_MiTwo_3.8.16_fastboot_4.1\images\sbl1.mbn"  ||
 
5981413    0.78    sending 'sbl1' (82 KB)...
 
5981413    0.81    OKAY [  0.009s]
 
5981413    0.84    writing 'sbl1'...
 
5981413    0.87    OKAY [  0.007s]
 
5981413    0.91    finished. total time: 0.016s
 
5981413    0.92   
 
5981413    0.95    $fastboot -s 5981413 flash sbl2 "C:\Program Files\Xiaomi\MiPhone\miui_MiTwo_3.8.16_fastboot_4.1\images\sbl2.mbn"  ||
 
5981413    1.03    sending 'sbl2' (128 KB)...
 
5981413    1.12    OKAY [  0.012s]
 
5981413    1.20    writing 'sbl2'...
 
5981413    1.34    OKAY [  0.009s]
 
5981413    1.42    finished. total time: 0.021s
 
5981413    2.40   
 
5981413    2.48    $fastboot -s 5981413 flash sbl3 "C:\Program Files\Xiaomi\MiPhone\miui_MiTwo_3.8.16_fastboot_4.1\images\sbl3.mbn"  ||
 
5981413    2.50    sending 'sbl3' (296 KB)...
 
5981413    2.54    OKAY [  0.024s]
 
5981413    2.57    writing 'sbl3'...
 
5981413    2.61    OKAY [  0.017s]
 
5981413    2.62    finished. total time: 0.041s
 
5981413    2.65   
 
5981413    2.67    $fastboot -s 5981413 flash rpm "C:\Program Files\Xiaomi\MiPhone\miui_MiTwo_3.8.16_fastboot_4.1\images\rpm.mbn"  ||
 
5981413    2.71    sending 'rpm' (136 KB)...
 
5981413    2.73    OKAY [  0.012s]
 
5981413    2.75    writing 'rpm'...
 
5981413    2.78    OKAY [  0.034s]
 
5981413    2.79    finished. total time: 0.046s
 
5981413    2.84   
 
5981413    2.86    $fastboot -s 5981413 flash aboot "C:\Program Files\Xiaomi\MiPhone\miui_MiTwo_3.8.16_fastboot_4.1\images\emmc_appsboot.mbn"  ||
 
5981413    2.87    sending 'aboot' (1033 KB)...
 
5981413    2.90    OKAY [  0.078s]
 
5981413    2.92    writing 'aboot'...
 
5981413    2.95    OKAY [  0.049s]
 
5981413    2.96    finished. total time: 0.127s
 
5981413    3.00   
 
5981413    3.04    $fastboot -s 5981413 erase boot  ||
 
5981413    3.06    erasing 'boot'...
 
5981413    3.11    OKAY [  0.010s]
 
5981413    3.12    finished. total time: 0.010s
 
5981413    3.14   
 
5981413    3.17    $fastboot -s 5981413 flash misc "C:\Program Files\Xiaomi\MiPhone\miui_MiTwo_3.8.16_fastboot_4.1\images\misc.img"  ||
 
5981413    3.18    sending 'misc' (8 KB)...
 
5981413    3.20    OKAY [  0.003s]
 
5981413    3.21    writing 'misc'...
 
5981413    3.25    OKAY [  0.004s]
 
5981413    3.26    finished. total time: 0.007s
 
5981413    3.28   
 
5981413    3.31    $fastboot -s 5981413 flash modem+modem1 "C:\Program Files\Xiaomi\MiPhone\miui_MiTwo_3.8.16_fastboot_4.1\images\NON-HLOS.bin"  ||
 
5981413    12.14    sending 'modem+modem1' (51878 KB)...
 
5981413    12.20    OKAY [  3.832s]
 
5981413    12.22    writing 'modem+modem1'...
 
5981413    12.23    OKAY [  5.916s]
 
5981413    12.25    finished. total time: 9.749s
 
5981413    12.28   
 
5981413    12.31    $fastboot -s 5981413 flash system+system1 "C:\Program Files\Xiaomi\MiPhone\miui_MiTwo_3.8.16_fastboot_4.1\images\system.img"  ||
 
5981413    87.50    sending 'system+system1' (524288 KB)...
 
5981413    87.56    OKAY [ 38.681s]
 
5981413    87.58    writing 'system+system1'...
 
5981413    87.61    FAILED (remote: size too large)
 
CDeviceReport::HasError(67): Unspecified error(0x80004005)
CDeviceReport::GetStatus(124): Unspecified error(0x80004005)
CDeviceReport::HasError(67): Unspecified error(0x80004005)
5981413    0.02    start flash C:\Program Files\Xiaomi\MiPhone\miui_MiTwo_3.8.16_fastboot_4.1
5981413    0.23   
 
5981413    0.28    $fastboot -s 5981413 getvar soc-id  2>&1  | findstr /r /c:"^soc-id: *109"  || echo Missmatching image and device
 
5981413    0.42    soc-id: 109
 
5981413    0.44   
 
5981413    0.45    $fastboot -s 5981413 getvar soc-id  2>&1  | findstr /r /c:"^soc-id: *109"  || exit /B 1
 
5981413    0.52    soc-id: 109
 
5981413    0.59   
 
5981413    0.62    $fastboot -s 5981413 flash tz "C:\Program Files\Xiaomi\MiPhone\miui_MiTwo_3.8.16_fastboot_4.1\images\tz.mbn"  ||
 
5981413    0.67    sending 'tz' (196 KB)...
 
5981413    0.70    OKAY [  0.017s]
 
5981413    0.77    writing 'tz'...
 
5981413    0.80    OKAY [  0.012s]
 
5981413    0.83    finished. total time: 0.029s
 
5981413    0.86   
 
5981413    0.92    $fastboot -s 5981413 flash sbl1 "C:\Program Files\Xiaomi\MiPhone\miui_MiTwo_3.8.16_fastboot_4.1\images\sbl1.mbn"  ||
 
5981413    0.95    sending 'sbl1' (82 KB)...
 
5981413    1.00    OKAY [  0.008s]
 
5981413    1.03    writing 'sbl1'...
 
5981413    1.06    OKAY [  0.008s]
 
5981413    1.08    finished. total time: 0.016s
 
5981413    1.12   
 
5981413    1.17    $fastboot -s 5981413 flash sbl2 "C:\Program Files\Xiaomi\MiPhone\miui_MiTwo_3.8.16_fastboot_4.1\images\sbl2.mbn"  ||
 
5981413    1.22    sending 'sbl2' (128 KB)...
 
5981413    1.26    OKAY [  0.013s]
 
5981413    1.31    writing 'sbl2'...
 
5981413    2.23    OKAY [  0.009s]
 
5981413    2.54    finished. total time: 0.022s
 
5981413    2.61   
 
5981413    2.64    $fastboot -s 5981413 flash sbl3 "C:\Program Files\Xiaomi\MiPhone\miui_MiTwo_3.8.16_fastboot_4.1\images\sbl3.mbn"  ||
 
5981413    2.67    sending 'sbl3' (296 KB)...
 
5981413    2.68    OKAY [  0.024s]
 
5981413    2.71    writing 'sbl3'...
 
5981413    2.73    OKAY [  0.017s]
 
5981413    2.76    finished. total time: 0.041s
 
5981413    2.81   
 
5981413    2.87    $fastboot -s 5981413 flash rpm "C:\Program Files\Xiaomi\MiPhone\miui_MiTwo_3.8.16_fastboot_4.1\images\rpm.mbn"  ||
 
5981413    2.93    sending 'rpm' (136 KB)...
 
5981413    2.96    OKAY [  0.012s]
 
5981413    3.00    writing 'rpm'...
 
5981413    3.03    OKAY [  0.010s]
 
5981413    3.06    finished. total time: 0.022s
 
5981413    3.07   
 
5981413    3.11    $fastboot -s 5981413 flash aboot "C:\Program Files\Xiaomi\MiPhone\miui_MiTwo_3.8.16_fastboot_4.1\images\emmc_appsboot.mbn"  ||
 
5981413    3.14    sending 'aboot' (1033 KB)...
 
5981413    3.17    OKAY [  0.078s]
 
5981413    3.18    writing 'aboot'...
 
5981413    3.21    OKAY [  0.049s]
 
5981413    3.23    finished. total time: 0.127s
 
5981413    3.26   
 
5981413    3.28    $fastboot -s 5981413 erase boot  ||
 
5981413    3.29    erasing 'boot'...
 
5981413    3.32    OKAY [  0.009s]
 
5981413    3.34    finished. total time: 0.009s
 
5981413    3.37   
 
5981413    3.40    $fastboot -s 5981413 flash misc "C:\Program Files\Xiaomi\MiPhone\miui_MiTwo_3.8.16_fastboot_4.1\images\misc.img"  ||
 
5981413    3.42    sending 'misc' (8 KB)...
 
5981413    3.45    OKAY [  0.003s]
 
5981413    3.46    writing 'misc'...
 
5981413    3.48    OKAY [  0.003s]
 
5981413    3.51    finished. total time: 0.006s
 
5981413    3.53   
 
5981413    3.56    $fastboot -s 5981413 flash modem+modem1 "C:\Program Files\Xiaomi\MiPhone\miui_MiTwo_3.8.16_fastboot_4.1\images\NON-HLOS.bin"  ||
 
5981413    10.89    sending 'modem+modem1' (51878 KB)...
 
5981413    10.98    OKAY [  3.942s]
 
5981413    11.00    writing 'modem+modem1'...
 
5981413    11.03    OKAY [  4.632s]
 
5981413    11.05    finished. total time: 8.574s
 
5981413    11.08   
 
5981413    11.09    $fastboot -s 5981413 flash system+system1 "C:\Program Files\Xiaomi\MiPhone\miui_MiTwo_3.8.16_fastboot_4.1\images\system.img"  ||
 
5981413    117.56    sending 'system+system1' (524288 KB)...
 
5981413    118.17    OKAY [ 39.017s]
 
5981413    118.33    writing 'system+system1'...
 
5981413    118.39    FAILED (remote: size too large)
 
CDeviceReport::HasError(67): Unspecified error(0x80004005)
CDeviceReport::GetStatus(124): Unspecified error(0x80004005)
CDeviceReport::HasError(67): Unspecified error(0x80004005)
 
Mar 1, 2013
354
100
65
#2
Don't panic. Boot into cwm, go into mount, mount sdcard.

Next connect your phone via usb cable to your PC and issue the following command (adb.exe and installed adb driver required):

adb push update.zip /sdcard/update.zip

... to copy a Rom of your choice into the sdcard.

Now just flash it via cwm.

Out of curiosity... did you mess with the partition sizes? Maybe trying to get more sd space?

Sent from my MI 2 using Tapatalk 4
 
Likes: manohar
Jun 6, 2013
904
243
80
#3
yep... i had reduced the system1 space to 3mb & put the extra space into storage...
now when i wanted to clean up the sdcard with formatting & fresh installation of latest version using miflash, i got this error...
i thought it is because of less space in system1 & then i tried all permutation & combination of different sizes for system1 & cache & storage etc...

now i will try your advice & get back to you... thanks for saving my life... will update you my result...
 
Mar 1, 2013
354
100
65
#5
You are welcome. You should of made a backup of the partition table though before messing with it.

Sent from my MI 2 using Tapatalk 4
 
Jun 6, 2013
904
243
80
#6
no problem bro. i guess i have mastered the method of formatting partition Mi2S !!! LOL, just saying how sure i have become after repeated resizing my SD card...
Thanks for saving my life once again when i was so scared !!!
 

tmz83

Members
Mar 7, 2014
72
7
20
#8
I have the same problem. I tried to do the jump from miui v5 to v7.
I downloaded a fastboot rom version, and tried a flash_all. Remote: data too large error
so i tried with mi pc suite, stable rom. It flash correctly, and miui boot great.
but there's no way with fastboot, i need to flash that rom...