I tried flash recovery under this procedure: http://forum.xda-developers.com/showthread.php?t=1864774.
This steps were OK:
fastboot erase userdata
fastboot erase system
fastboot erase cache
fastboot erase linux
fastboot erase recovery
but when I want flash new recovery:
fastboot flash recovery recovery-cwm-6.0.1.4.img
display show:
Failed to process command getvar:max-download-size error(0x2)
I tested recovery-cwm-6.0.1.4.img, recovery-cwm-CM10-A3.img and cwm-recovery-5.5.0.4.img.
What should I do? Please help!
P.S.:Excuse my English.
Cause was using fastboot under Ubuntu.
Repaired under WinXP.
:victory:
Solution using [x]ubuntu
kuklos said:
I tried flash recovery under this procedure: http://forum.xda-developers.com/showthread.php?t=1864774.
This steps were OK:
fastboot erase userdata
fastboot erase system
fastboot erase cache
fastboot erase linux
fastboot erase recovery
but when I want flash new recovery:
fastboot flash recovery recovery-cwm-6.0.1.4.img
display show:
Failed to process command getvar:max-download-size error(0x2)
I tested recovery-cwm-6.0.1.4.img, recovery-cwm-CM10-A3.img and cwm-recovery-5.5.0.4.img.
What should I do? Please help!
P.S.:Excuse my English.
Click to expand...
Click to collapse
Hi all,
Just in case anybody else can not go back to WinXP - or does not want to:
I ran into the same problem using fastboot (installed from SW Center in xubuntu 12.10). I solved it by using the parameter "-S 0". I.e.
fastboot -S 0 flash recovery recovery-cwm-6.0.1.4.img
This works also for recovery-cwm-CM10-A3.img.
Best regards
R. Egenter
Can't believe it.
Thank You so much for giving the fix for the Linux fastboot flash -S 0. I have looked for two days all over the internet. Finally, came across this thread and I don't even have this device but it worked on my Dell Streak. Thanks
Thank's Its Help
Dear Member,
I'm new to rooring and flashing custom ROMS...
i have a folio 100 and after a lot of googling and hardwork i finally managed to root my device on windows XP.. then i tried to install Jelly Bean / CM10 (4.1.1) Alpha 2 - 27.09.2012 from http://forum.xda-developers.com/showthread.php?t=1864774 and followed the instructions.
initially when i typed fastboot devices i was getting "? fastboot" and rest of the commands returned 0x2 error.
then i treid
fastboot -i 0x955 erase userdata
fastboot -i 0x955 erase system
fastboot -i 0x955 erase cache
fastboot -i 0x955 erase linux
fastboot -i 0x955 erase recovery
till now everything worked like a charm but when i tried to run the last command
fastboot -i 0x955 flash recovery recovery-cwm-6.0.1.4.img
i'm getting error message "unable to load recoveryxxxx.img"
now i treid to reboot the device and its saying "magic value mismatch" please help me out..
Nonlxpe Menteur
leaderrocks said:
Dear Member,
I'm new to rooring and flashing custom ROMS...
i have a folio 100 and after a lot of googling and hardwork i finally managed to root my device on windows XP.. then i tried to install Jelly Bean / CM10 (4.1.1) Alpha 2 - 27.09.2012 from http://forum.xda-developers.com/showthread.php?t=1864774 and followed the instructions.
initially when i typed fastboot devices i was getting "? fastboot" and rest of the commands returned 0x2 error.
then i treid
fastboot -i 0x955 erase userdata
fastboot -i 0x955 erase system
fastboot -i 0x955 erase cache
fastboot -i 0x955 erase linux
fastboot -i 0x955 erase recovery
till now everything worked like a charm but when i tried to run the last command
fastboot -i 0x955 flash recovery recovery-cwm-6.0.1.4.img
i'm getting error message "unable to load recoveryxxxx.img"
now i treid to reboot the device and its saying "magic value mismatch" please help me out..
Click to expand...
Click to collapse
First, download the latest & most stable ROM (at the moment), including the ROM, GAPPS, recovery-cwm-CM10-A3.img & formatsd.zip
http://forum.xda-developers.com/showthread.php?t=1864774
Actually, you just need to flash the recovery through fastboot, other else can done in the recovery.
1. Copy all the ROM, GAPPS & formatsd.zip into your memory card. Then insert it into your Folio.
2. Run command prompt, make sure your tablet is connected with your PC in fastboot mode.
To erase existing/stock recovery. In command prompt, go into the fastboot program folder and type the following commands
Code:
fastboot erase recovery
3. Copy the CWM Recovery into your fastboot adb folder.
To flash CWM Recovery
Code:
fastboot flash recovery recovery-cwm-CM10-A3.img
fastboot reboot
4. Enter Recovery. Before you begin, wipe everything (except external_sd) in the CWM Recovery, after wiped, you can install the 3 zip files one by one. After finish, just reboot system.
Full procedure also stated in the link I provided, please scroll down.
Hope that helps you.
So did above solution help? I had a similar issue, and I resolved it by just booting the recovery image from fastboot, i.e.
Code:
fastboot boot recovery.img
Once you get into recovery you can flash an image which will in most cases flash a recovery image along with it. If not, you can try to flash the recovery image again once you've done a full wipe from the booted recovery.
Introduction:
Hey friends, as we know we can flash fastboot Miui Roms which comes with complete package and then we have to flash it with MiPHONE.exe. There are no other methods to flash roms Via PC! Roms can also be flashed with stock recovery, custom recovery but there should be a zip in sd card!Sometimes it even happen that we want to flash a rom/mod/zip and it fails! At that time we can restore via backup or flashing rom again.But what if there is NO ROM/BACKUP in SD CARD and ur in BOOTLOOP.
I tried numerous time flashing Miui fastboot rom via mi PHONE, but every time it gave me error 'The system cannot find the file specified.(0x80070002)' , I know i was doing somewhere wrong.Atlast I gave up and wanted to try different.
So I will be sharing with you a method to flash Miui Fastboot Roms by fastboot commands via ADB. Yes you can do it easily. Just enter the commands and hit enter.
Prerequisite :
Computer
Minimal adb and fastboot zip
MIUI FASBOOT ROM
Mi FLASH
(For installing usb drivers)
Steps to be performed :
1)Download minimal adb and fastboot zip and install it.
2) Also install Miflash for necessary usb drivers!
3)Download MIUI Fastboot roms zip and extract it in same folder where Minimal adb fastboot were installed.
FOR EXAMPLE : Mine path is C:\Program Files (x86)\Minimal ADB and Fastboot.
4)So extract files inside Minimal ADB and Fastboot FOLDER
5) Now go to Minimal Adb and Fastboot folder and HOLD 'Left Shift Button' and 'Right Click'
anywhere on folder area and there you can see OPEN COMMAND WINDOW HERE.
6) Follow the commands given below : Ps Enter commands one by one!!
Code:
fastboot flash tz tz.mbn
fastboot flash dbi sdi.mbn
fastboot flash sbl1 sbl1.mbn
fastboot flash rpm rpm.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot erase boot
fastboot flash misc misc.img
fastboot flash modem NON-HLOS.bin
fastboot flash system system.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot reboot
7) The phone will automatically reboot after entering last commands , so have patience!
ENJOY!!!!!!
ps :Btw this helped me fix my otg which was giving me error!
Can I suggest another solution, but not tested?
Just flash a CWM recovery .img, restart in recovery and use the sideload flash option to push and flash the .zip file of a rom.
All will be simplier if you use a Mac, no drivers needed, just ADB and platform-tools
Pi3rluigi said:
Can I suggest another solution, but not tested?
Just flash a CWM recovery .img, restart in recovery and use the sideload flash option to push and flash the .zip file of a rom.
All will be simplier if you use a Mac, no drivers needed, just ADB and platform-tools
Click to expand...
Click to collapse
Everyone doesnt have a Mac bro, I know it can be done via other methods too. Many people at this particular moment opt for easy way. this is damn easy , just download files put it in adb folder and hit command and done!!!
Since we have only one method for using via pc [ that also failed for me, maybe i was doing wrong] so i thought for doing this way!!
fastboot flash tz tz.mbn
fastboot flash dbi sdi.mbn
fastboot flash sbl1 sbl1.mbn
fastboot flash rpm rpm.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot erase boot
fastboot flash misc misc.img
fastboot flash modem NON-HLOS.bin
fastboot flash system system.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot reboot
After all the commands except erase boot and reboot I get en error: target report max download size of 671088640 bytes error cannot flash..............
Any help would be deeply apreciated
SOLVED!!!! Using this.
http://forum.xda-developers.com/showthread.php?t=2277112
can u tell me how u solved the max download size limit error.
Can you tell me how to create fastboot rom?
Does it works to with Mi4..?
i've tried anything,,but its useless, lucky i'm not bricked my phone,
i just want to upgrade from MIUI5 to MIUI6, i've try flashing with standart procedure on the xiaomi web, but useless.
in fastboot mode, my phone is not detected, neither when i plug in and use Mi PC Suite,
now i'm running on MIUI-V6.2.4.0.KXDCNBJ
can you help me, ?
thanks a lot it works! with the help of Pallmalli post
Hi there,
I tried this with my Redmi Note 2 (I misunderstood the thread and thought it was for ALL Xiaomi) and the phone is in a loop of rebooting all the time. Like searching the boot but doesn't find it! :S
How can I reinstall the boot?
PLEASE help...
Cannot Load
It say cannot load xxx.mbn
please help
i was entered the commands like u... but it showing error: cannot load 'tz.mbn'
oooh man, ur rock!!!
Sk.D said:
Introduction:
Hey friends, as we know we can flash fastboot Miui Roms which comes with complete package and then we have to flash it with MiPHONE.exe. There are no other methods to flash roms Via PC! Roms can also be flashed with stock recovery, custom recovery but there should be a zip in sd card!Sometimes it even happen that we want to flash a rom/mod/zip and it fails! At that time we can restore via backup or flashing rom again.But what if there is NO ROM/BACKUP in SD CARD and ur in BOOTLOOP.
I tried numerous time flashing Miui fastboot rom via mi PHONE, but every time it gave me error 'The system cannot find the file specified.(0x80070002)' , I know i was doing somewhere wrong.Atlast I gave up and wanted to try different.
So I will be sharing with you a method to flash Miui Fastboot Roms by fastboot commands via ADB. Yes you can do it easily. Just enter the commands and hit enter.
Prerequisite :
Computer
Minimal adb and fastboot zip
MIUI FASBOOT ROM
Mi FLASH
(For installing usb drivers)
Steps to be performed :
1)Download minimal adb and fastboot zip and install it.
2) Also install Miflash for necessary usb drivers!
3)Download MIUI Fastboot roms zip and extract it in same folder where Minimal adb fastboot were installed.
FOR EXAMPLE : Mine path is C:\Program Files (x86)\Minimal ADB and Fastboot.
4)So extract files inside Minimal ADB and Fastboot FOLDER
5) Now go to Minimal Adb and Fastboot folder and HOLD 'Left Shift Button' and 'Right Click'
anywhere on folder area and there you can see OPEN COMMAND WINDOW HERE.
6) Follow the commands given below : Ps Enter commands one by one!!
Code:
fastboot flash tz tz.mbn
fastboot flash dbi sdi.mbn
fastboot flash sbl1 sbl1.mbn
fastboot flash rpm rpm.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot erase boot
fastboot flash misc misc.img
fastboot flash modem NON-HLOS.bin
fastboot flash system system.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot reboot
7) The phone will automatically reboot after entering last commands , so have patience!
ENJOY!!!!!!
ps :Btw this helped me fix my otg which was giving me error!
Click to expand...
Click to collapse
thanks bro, it work on my mi3, i skip flash userdata.img
Hello, please help me - When i type first command - FAILED (remote: unknown command).. any solution please? REDMI 2 2GB RAM
Hi, is this method still applicable for miui 7 or 8? thanks in advance
Sent from my MI 3W using Tapatalk
from where can i download MIUI Fastboot roms zip
fastboot flash tz tz.mbn
fastboot flash dbi sdi.mbn
fastboot flash sbl1 sbl1.mbn
fastboot flash rpm rpm.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot erase boot
fastboot flash misc misc.img
fastboot flash modem NON-HLOS.bin
fastboot flash system system.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot reboot
After all above commands running successful
After reboot
To start Android, enter your password
More detalies
Hi,
Can you please be more specific about:
1. which mode does the phone need to be in while procedure? stay in boot-loop? boatloader mode? is recovery mode ok? download mode?
2. What files exactly to move to the minimal adb folder? there is the tgz file which extracts to the tar file which extracts to a folder - does that folder need to be copied? or the images file in that folder?
When trying to enter the lines some of them weren't exepted/missing.
Thanks,
Amitai
thank you SO MUCH for this tutorial, it worked perfectly for me.
@amitai, the phone needs to be in fastboot-mode, you can get there by typing "adb reboot bootloader" into commands (your phone has to be connected via USB); you will also be needing the FASTBOOT-ROM which you can get on the official miui website ... you also have to unpack them twice to get to the files. just copy all the files into the minimal adb folder. it does NOT work with normal miui roms, only with fastboot-roms!
any update about this Guide? Because we tried use on Xiaomi Mi 5 after first boot, Local Setting only Display China. And another issues two and third step is error (not available)
fastboot flash dbi sdi.mbn
fastboot flash sbl1 sbl1.mbn
Any clues?
I got the OTA for 5.01 but when it go through the reboot process , it shows a error. I don;t know what it is so I try to flash the sys and boot img but I can't flash them either..........
Can anyone help........
What happens when you try to manually flash them? Does fastboot devices show tablet connected?
di11igaf said:
What happens when you try to manually flash them? Does fastboot devices show tablet connected?
Click to expand...
Click to collapse
When I try to flash the boot img I got this "FAILED (remote: image error! (BootMagic check fail))"
And also when I try to flash sys img it shows
" fastboot: ../libsparse/sparse.c:143: write_all_blocks: Assertion `pad >= 0' failed.
Aborted "
Weird...
Me too
I'm having the same error as you. When I tried to update the Standart way the error appeared. I tried via sideload and It didn't work either. I tried Rooted, unrooted, both ways fail.
Anybody help please
Hi, I just got the OTA and after make a complete unroot with supersu I have the same problem, OTA error with the lay android and a red triangle.
Any ideas?
Thanks
Jarvia_STGL said:
When I try to flash the boot img I got this "FAILED (remote: image error! (BootMagic check fail))"
Click to expand...
Click to collapse
With latest version of fastboot and lrx22c rom completely unzipped I did the following and it fixed my stuck at "Google" Nexus 9 that also had the bootmagic issue:
fastboot flash bootloader bootloader-flounder-3.43.0.0114.img
fastboot reboot-bootloader
fastboot erase system
fastboot erase recovery
fastboot erase cache
fastboot erase boot
fastboot erase userdata
fastboot erase vendor
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot flash boot boot.img
fastboot flash vendor vendor.img
fastboot flash userdata vendor.img
select hboot
factory reset
Not sure the 'fastboot flash userdata vendor.img' is needed here, but it worked so do with this info what you will.
Thank you this helped me get mine running again.
Hello. I wanted to flash a stock ROM on my Xiaomi Mi3 (Not Mi3W) and I downloaded an official stock ROM and flashed it using Fastboot.
Here's where I think I messed up. I used the "fastboot erase userdata" on the phone and when it booted up, The system storage is showing fine when I go to settings > storage but the internal storage is showing up as 0.00b and I cannot install any applications.
I've tried reflashing but nothing is working. Any ideas on how I can get it to work? Thanks.
Try to flash again with fastboot but with following comands:
Enter the following commands below by order:
fastboot erase cache
fastboot erase userdata
fastboot erase system
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot reboot-bootloader
boot.img ,recovery.img and system.img it should be inside your stock firmware.
Teddy Lo said:
Try to flash again with fastboot but with following comands:
Enter the following commands below by order:
fastboot erase cache
fastboot erase userdata
fastboot erase system
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot reboot-bootloader
boot.img ,recovery.img and system.img it should be inside your stock firmware.
Click to expand...
Click to collapse
After much Googling, I was finally able to 'reset' the whole android partition system by flashing a CWM recovery, booting into it, and using ADB to fix it all.
Thank you for bothering to reply my at all. You're amazing.
You Welcome