FORUMS
Remove All Ads from XDA

Using Mfastboot.exe to Unbrick a Motorola device

14,403 posts
Thanks Meter: 6,422
 
By sd_shadow, Recognized Contributor on 16th September 2015, 11:20 PM
Post Reply Email Thread
Mfastboot
Although Mfastboot.exe works with most Motorola Devices, the exact files and flash commands may very, best to see specific forum/threads for the device.

Watch Videos
Download
Verify Files
  • Compare File Size with file size form download site
  • Use Hash Checksums
    • mfastboot-v2.zip (1.36 MB) MD5 Sum: 83650a3589d2ecd7c8115ce860d45a23

Install Moto Drivers
  • Extract files from zip
  • Run Motorola_End_User_Driver_Installation_....msi
  • Reboot PC

Setup Mfastboot.exe
  • Extract mafastboot.zip to a local drive
  • Example - C:/Mfastboot
  • Open start menu and type CMD
  • Right click on CMD > select open file location
  • Find cmd.exe, right click and copy
  • Paste into Mfastboot folder

Show known File Types
  • Open C:/Mfastboot folder
  • Select View>options>Change folder and Search options
  • In Folder Options Select Tab View
  • Uncheck Box: Hide Extensions for Known file Types
  • Select OK

Short Version - Flashing System Only
  • In some cases only System.img is necessary
  • Type commands
    Code:
    mfastboot flash system system.img
    and
  • Type commands
    Code:
    mfastboot reboot
  • Press enter
    if Device does not boot try Long Version

Long Version -Using Mfastboot to Flash Firmware
  • Note: The exact files needed will very by device model
  • Extract files from Firmware xml.zip
  • Copy
    Code:
    NON-HLOS.bin
    system.img
    boot.img
    recovery.img
    to Mfastboot folder
  • Boot Device to AP Fastboot Mode (Power Off, Hold Volume Down, Press power button for 2-3 secs then release)
  • Note Click here If you see Low Battery, Click here if you see Fastboot Reason: Sticky bit factory_fastboot
  • Run cmd.exe in Mfastboot folder
  • Type commands
    Code:
    mfastboot flash modem NON-HLOS.bin
  • Press enter
  • Type commands
    Code:
    mfastboot erase modemst1
  • Press enter
  • Type commands
    Code:
    mfastboot erase modemst2
  • Press enter
  • Type commands
    Code:
    mfastboot flash system system.img
  • Press enter this may take several minutes to finish and be flashed in several segments.
  • Type commands
    Code:
    mfastboot flash boot boot.img
  • Press enter
  • Type commands
    Code:
    mfastboot flash recovery recovery.img
  • Press enter
  • Type commands
    Code:
    fastboot erase cache
  • Press enter
  • Optional Data Wipe: Type commands
    Code:
    fastboot erase userdata
  • Press enter
  • Type commands
    Code:
    mfastboot reboot
  • Press enter
  • Device should boot normally, If not see RSD Lite or House of Moto
Attached Files
File Type: zip mfastboot-v2.zip - [Click for QR Code] (1.36 MB, 27132 views)
The Following 9 Users Say Thank You to sd_shadow For This Useful Post: [ View ] Gift sd_shadow Ad-Free
 
 
16th September 2015, 11:20 PM |#2  
Troubleshooting

Q1: Error: Cannot load system.img: Not enough space.
Solution: try flashing system.img in chunks with
Code:
mfastboot flash system system.img -P
- Thanks to @Merconium for the tip

Error: UTAG "bootmode" configured as fastboot
Solution 1:
Code:
fastboot oem fb_mode_clear
fastboot reboot
Solution 2:
Code:
fastboot erase motoboot
fastboot flash motoboot motoboot.img
fastboot reboot
The Following User Says Thank You to sd_shadow For This Useful Post: [ View ] Gift sd_shadow Ad-Free
16th September 2015, 11:20 PM |#3  
Credit: [GUIDE][FAQ][KK] How to Root, Boot Unlock & More by ATTACK
The Following User Says Thank You to sd_shadow For This Useful Post: [ View ] Gift sd_shadow Ad-Free
16th September 2015, 11:21 PM |#4  
Saved #4
The Following User Says Thank You to sd_shadow For This Useful Post: [ View ] Gift sd_shadow Ad-Free
16th September 2015, 11:35 PM |#5  
Saved #5
The Following User Says Thank You to sd_shadow For This Useful Post: [ View ] Gift sd_shadow Ad-Free
17th September 2015, 03:14 AM |#6  
Quote:
Originally Posted by AndroidDude7

Ah okay, will you send a link to me when you do?

Video up
[Video]Using Mfastboot.exe to Unbrick a Motorola device
The Following 2 Users Say Thank You to sd_shadow For This Useful Post: [ View ] Gift sd_shadow Ad-Free
17th September 2015, 03:48 AM |#7  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by sd_shadow

Video up
[Video]Using Mfastboot.exe to Unbrick a Motorola device

Thanks so much!
17th September 2015, 09:20 PM |#8  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by sd_shadow

Video up
[Video]Using Mfastboot.exe to Unbrick a Motorola device

So I just did as you showed in the video but it said unable to partition 'system.img' or something like that
17th September 2015, 09:25 PM |#9  
Quote:
Originally Posted by AndroidDude7

So I just did as you showed in the video but it said unable to partition 'system.img' or something like that

I would try RSD Lite.
24th May 2016, 10:31 PM |#10  
Delichi's Avatar
Junior Member
Flag Vigo
Thanks Meter: 13
 
More
THANK YOU very much!!!!!!!! You saved my life, when I didn't know what else to do (RSD lite didn't recognice my device and I coudn't flash anything by twrp). You're amazing and I can't comment your video so... Awesome post
The Following User Says Thank You to Delichi For This Useful Post: [ View ] Gift Delichi Ad-Free
5th June 2016, 02:43 AM |#11  
Senior Member
Flag Chişinău
Thanks Meter: 305
 
More
Sadly to say, but seems like mfastboot is outdated for now. I get error trying to flash SU6-7.7 ROM for Droid Maxx. RSD Lite 6.2.4 is ok.

Quote:

e:\Motorola\XT1080\QLOAD_firmwares\CFC-obakem_verizon-user-4.4.4-SU6-7.7-release-keys.xml>fastboot flash system system.img
(bootloader) Variable not supported!
target reported max download size of 805306368 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 524509064 is not a multiple of the block size 4096
sending sparse 'system' (768973 KB)...
error: write_sparse_skip_chunk: don't care size 524509064 is not a multiple of the block size 4096
OKAY [ 49.390s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 49.967s

Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes