[Q] fastboot vs mfastboot for flashing factory image? - X 2014 Q&A, Help & Troubleshooting

I found a few tutorials for other motorola devices (Moto G, Moto X 1st gen) that say to make sure you use mfastboot when flashing the factory images. Motorola's own factory image website doesn't seem to say anything about that. I want to flash back to stock for now. I have fastboot configured through the android SDK. Do I need to track down this mfastboot application? And is there any official place to get it? When I search for it all I find are non-motorola sites that are hosting it and I 'd rather download it from the source.

raptir said:
I found a few tutorials for other motorola devices (Moto G, Moto X 1st gen) that say to make sure you use mfastboot when flashing the factory images. Motorola's own factory image website doesn't seem to say anything about that. I want to flash back to stock for now. I have fastboot configured through the android SDK. Do I need to track down this mfastboot application? And is there any official place to get it? When I search for it all I find are non-motorola sites that are hosting it and I 'd rather download it from the source.
Click to expand...
Click to collapse
There is no official site to download it from.
Sent from my XT1095

raptir said:
I found a few tutorials for other motorola devices (Moto G, Moto X 1st gen) that say to make sure you use mfastboot when flashing the factory images. Motorola's own factory image website doesn't seem to say anything about that. I want to flash back to stock for now. I have fastboot configured through the android SDK. Do I need to track down this mfastboot application? And is there any official place to get it? When I search for it all I find are non-motorola sites that are hosting it and I 'd rather download it from the source.
Click to expand...
Click to collapse
I always just use fastboot. Never had a problem flashing factory images.
Sent from my XT1095 using Tapatalk

dustin_b said:
I always just use fastboot. Never had a problem flashing factory images.
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
Mfasteboot is only necessary if you want to flash a full system.img. If you flash a sparsed system image then normal fastboot works fine.
Sent from my XT1095

AGISCI said:
Mfasteboot is only necessary if you want to flash a full system.img. If you flash a sparsed system image then normal fastboot works fine.
Sent from my XT1095
Click to expand...
Click to collapse
I have used fastboot to flash the full system.img. I know people say it doesn't work but in my experience, it breaks it down into sparse chunks and flashes it.
Sent from my XT1095 using Tapatalk

dustin_b said:
I have used fastboot to flash the full system.img. I know people say it doesn't work but in my experience, it breaks it down into sparse chunks and flashes it.
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
That depends on the version of fastboot installed on the computer. If it's an older version, it won't break it down into sparse chunks. It will fail on older versions.
Sent from my XT1095

AGISCI said:
That depends on the version of fastboot installed on the computer. If it's an older version, it won't break it down into sparse chunks. It will fail on older versions.
Sent from my XT1095
Click to expand...
Click to collapse
Yeah, that makes sense cause I have the newer versions on my laptops. I only started using fastboot when I got my Moto X so I don't know a lot about it. Just enough to get me by and get me out of trouble.
Sent from my XT1095 using Tapatalk

Thanks for the clarification. I actually realized now that the fastboot.exe is included in the factory image so I would assume that is the Motorola version.
I'm currently running CM12.1 that I flashed over a stock 5.0 install. I should be safe to flash everything in the factory image, since I'm not downgrading, correct?

raptir said:
Thanks for the clarification. I actually realized now that the fastboot.exe is included in the factory image so I would assume that is the Motorola version.
I'm currently running CM12.1 that I flashed over a stock 5.0 install. I should be safe to flash everything in the factory image, since I'm not downgrading, correct?
Click to expand...
Click to collapse
You shouldn't have any problems.
Sent from my XT1095 using Tapatalk

When you download the factory image motorola includes its own fastboot. The difference is that Motorola's fastboot can handle the system image file as one while other fastboot require the system image file be broken into sparsechunks.
Sent from my XT1095 using XDA Free mobile app

Well just for the fun of it I tried flashing with fastboot from the SDK and then with mfastboot. Official fastboot split the system image just the mfastboot, it just wasn't quite as verbose as mfastboot.

Related

[Q] Help with Root

Hey all,
I'm having some trouble flashing TWRP on my phone. I've been following this guide here. When attempting to install TWRP to get root, however, it won't work. I've tried several different versions of fastboot & mfastboot. Sometimes I get a "bootloader variable not found" error, but most of the time now it exits saying it's successful. However, when I reboot into fastboot mode and then into recovery mode, it's still at the stock recovery. Can someone tell me what I'm doing wrong?
If it helps, my unlock status code shown is 3.
Thanks in advance!
thehockeydude44 said:
Hey all,
I'm having some trouble flashing TWRP on my phone. I've been following this guide here. When attempting to install TWRP to get root, however, it won't work. I've tried several different versions of fastboot & mfastboot. Sometimes I get a "bootloader variable not found" error, but most of the time now it exits saying it's successful. However, when I reboot into fastboot mode and then into recovery mode, it's still at the stock recovery. Can someone tell me what I'm doing wrong?
If it helps, my unlock status code shown is 3.
Thanks in advance!
Click to expand...
Click to collapse
Had the same issue, what I did is rsdlite back to stock and then attempt to flash twrp ,it worked.
Also make sure the twrp download is OK, you may want to re download it
Sent on my Moto X
flashallthetime said:
Had the same issue, what I did is rsdlite back to stock and then attempt to flash twrp ,it worked.
Also make sure the twrp download is OK, you may want to re download it
Sent on my Moto X
Click to expand...
Click to collapse
Forgot to mention I got the OTA as soon as my phone turned on. So go back to stock, root and then do the OTA?
thehockeydude44 said:
Forgot to mention I got the OTA as soon as my phone turned on. So go back to stock, root and then do the OTA?
Click to expand...
Click to collapse
No, ota won't flash with custom recovery.
Which carrier are you on.
Try a factory reset, you will lose all your data etc, so do a backup on your computer
Sent on my Moto X
flashallthetime said:
No, ota won't flash with custom recovery.
Which carrier are you on.
Try a factory reset, you will lose all your data etc, so do a backup on your computer
Sent on my Moto X
Click to expand...
Click to collapse
I didn't think it would... I'm on ATT, with a Dev edition. And no data to backup yet, just got the phone today.
Could you point me to where you got the working .img file?
thehockeydude44 said:
I didn't think it would... I'm on ATT, with a Dev edition. And no data to backup yet, just got the phone today.
Could you point me to where you got the working .img file?
Click to expand...
Click to collapse
Here' s the rsdlite thread http://forum.xda-developers.com/showthread.php?t=2446515
I believe on your op you used another thread, that thread has I believe the link for rsdlite
Here's the firmware thread http://forum.xda-developers.com/showthread.php?t=2538394
Prior to setting up rsdlite make sure you have the latest moto device manager and drivers installed. Also open up the sbf file and find the XML file, open it up and delete the line that has getvar in it
I took the camera 4.2 ota and I could not flash twrp either even though my boot loader is unlocked. I won't take any more ota's , I'll just flash the firmware through rsdlite
Sent on my Moto X
flashallthetime said:
Here' s the rsdlite thread http://forum.xda-developers.com/showthread.php?t=2446515
I believe on your op you used another thread, that thread has I believe the link for rsdlite
Here's the firmware thread http://forum.xda-developers.com/showthread.php?t=2538394
Prior to setting up rsdlite make sure you have the latest moto device manager and drivers installed. Also open up the sbf file and find the XML file, open it up and delete the line that has getvar in it
I took the camera 4.2 ota and I could not flash twrp either even though my boot loader is unlocked. I won't take any more ota's , I'll just flash the firmware through rsdlite
Sent on my Moto X
Click to expand...
Click to collapse
OK, I'll use rsdlite to get back to stock, and then flash the new firmware, and then see if I can flash the twrp.img. I saw the line about deleting the getvar line, so I'll make sure I do that too... thanks for the help, I'll let you know how it goes.
thehockeydude44 said:
OK, I'll use rsdlite to get back to stock, and then flash the new firmware, and then see if I can flash the twrp.img. I saw the line about deleting the getvar line, so I'll make sure I do that too... thanks for the help, I'll let you know how it goes.
Click to expand...
Click to collapse
Just flash the AT&T KitKat 4.4 sbf file, then you're up to date
Sent on my Moto X
flashallthetime said:
Just flash the AT&T KitKat 4.4 sbf file, then you're up to date
Sent on my Moto X
Click to expand...
Click to collapse
It worked! It must have been because of the OTA I got immediately... but flashing the correct 4.4 worked (I downloaded it directly from Motorola, since none of those specifically said GSM Dev Edition (turned out to be the T-Mo one). SuperSU works too, now just to install TiBu and be on my merry way!
thehockeydude44 said:
It worked! It must have been because of the OTA I got immediately... but flashing the correct 4.4 worked (I downloaded it directly from Motorola, since none of those specifically said GSM Dev Edition (turned out to be the T-Mo one). SuperSU works too, now just to install TiBu and be on my merry way!
Click to expand...
Click to collapse
I think all the firmware files are for either retail or developer editions, anyways glad it worked. I have no idea why this happens with the ota's?
Sent from my XT1058 using XDA Premium 4 mobile app
flashallthetime said:
I think all the firmware files are for either retail or developer editions, anyways glad it worked. I have no idea why this happens with the ota's?
Sent from my XT1058 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I don't know either. Might try and figure it out once I'm done with damn finals in 2 weeks.

Did I just brick my phone?

I've been stupid and tried to follow this post http://forum.xda-developers.com/showthread.php?p=57479825#post57479825 but did the first line before noticing that there were several files missing:
mfastboot flash partition gpt.bin
I can't follow the rest as I have most of the files missing, and now whatever I try to do it boots on Fastboot with the message:
version downgraded for boot
failed to validate boot image
Fastboot Reason: Fall-through from normal boot mode
Anyone know how to fix that?
You need to flash back to a full image.
Sent from my XT1095 using Tapatalk
dobbs3x said:
You need to flash back to a full image.
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
Any idea where I can find it? I come from the Nexus line with all the images on Google's website, I have to admit that now with Moto I'm a bit lost, in addition to being not-that-clever.
It's probably worth noting that it's the uk version of the XT1092.
Kourkis said:
Any idea where I can find it? I come from the Nexus line with all the images on Google's website, I have to admit that now with Moto I'm a bit lost, in addition to being not-that-clever.
It's probably worth noting that it's the uk version of the XT1092.
Click to expand...
Click to collapse
Look inside of the XT1092 topic in general section. There are links to the firmwares.
Sent from my XT1092 using Tapatalk
blinkin said:
Look inside of the XT1092 topic in general section. There are links to the firmwares.
Sent from my XT1092 using Tapatalk
Click to expand...
Click to collapse
I found the RETEUALL_XT1092_4.4.4 but still can't do mfastboot flash partition gpt.bin with the 4.4.4 version as it won't let me downgrade the file, as the one that I flashed was the 5.0 one... (version downgraded for primary_gpt)
Is my only option for the official OTA for the XT1092 uk to be available to flash it manually?

Xt1095 stock 5.1 update Rom?

Just wondering if anybody that has experience and the expertise could create a stock rom from the official 5.1 update for the xt1095? Using leonardoafa's stock rom which I love!!! Would be awesome to get the official update for the phone I have lol, installed the first soak test, and didn't realize it ruined any chance of updates in the future, so I unlocked BL and rooted! Now just wondering if the official 5.1 update could be put in rom form, to install via twrp! Thanks a bunch for any input, appreciated
Just get the official 5.1 zip from Motorola and fastboot the boot and system from that zip. You can safely fastboot most of the bin files on there just so not use the gpt or bootloader.
Sent from my XT1095 using Tapatalk 2
adm1jtg said:
Just get the official 5.1 zip from Motorola and fastboot the boot and system from that zip. You can safely fastboot most of the bin files on there just so not use the gpt or bootloader.
Sent from my XT1095 using Tapatalk 2
Click to expand...
Click to collapse
I'm a little nervous about fastboot to be honest lol. I downloaded the first soak test moto put out for the xt1095! Users have bricked there phone after installing that soak test. I know due to the fact of not being able to upgrade, so they attempted to downgrade to be able to receive the official 5.1. Just nervous about doing anything fastboot, and .img due to the soak test. So figured I would see if a rom could be built, able to flash via recovery. I love recovery, short straight and to the point lol

Moto X 2014, EFS corrupted

Hi,
I flashed my beautiful smartphone with CyanogenMod, then I decided to go back to stock. During this latest step I forgot to backup the EFS folder (I was neither knowing its existence!) and now it is corrupted (in About I have a Baseband unknown). How to fix? Is there a solution? Is there any hacker here??
Thanks a lot
Fabio
mrfabio80 said:
Hi,
I flashed my beautiful smartphone with CyanogenMod, then I decided to go back to stock. During this latest step I forgot to backup the EFS folder (I was neither knowing its existence!) and now it is corrupted (in About I have a Baseband unknown). How to fix? Is there a solution? Is there any hacker here??
Thanks a lot
Fabio
Click to expand...
Click to collapse
Try flashing the stock radio. You didn't tell us your model/carrier so I could not link the firmware you need.
Sent from my XT1095 using Tapatalk
AGISCI said:
Try flashing the stock radio. You didn't tell us your model/carrier so I could not link the firmware you need.
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
Hi, thanks a lot for your answer.. I have a retde XT1092 and restoring to stock using the Motorola guidelines didn't solve... I opened a thread also in the Motorola forum:
https://forums.motorola.com/posts/bc9598199a?commentId=992184#992184
Especially these didn't solve:
$ fastboot flash modem NON-HLOS.bin
$ fastboot erase modemst1
$ fastboot erase modemst2
$ fastboot flash fsg fsg.mbn
from:
https://motorola-global-portal.custhelp.com/app/standalone/bootloader/recovery-images
That is the wrong firmware. The xt1095 has a different radio. You need the radio from this file:
http://www.filefactory.com/file/3oippfwh4oil/VICTARA_RETDE_XT1092_5.1_LPE23.32-25.3_cid7_CFC.xml.zip
The instructions are the same. Just use this ones radio.
Sent from my XT1095 using Tapatalk
AGISCI said:
That is the wrong firmware. The xt1095 has a different radio. You need the radio from this file:
http://www.filefactory.com/file/3oippfwh4oil/VICTARA_RETDE_XT1092_5.1_LPE23.32-25.3_cid7_CFC.xml.zip
The instructions are the same. Just use this ones radio.
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
Yes I know that URL ! I always restored from there using XT1092, tried with kitkat 5.0 and 5.1 without any success ...
Well if that didn't work, then I assume it is either your PDS partition that is corrupt, or a hardware failure. If you didn't backup your PDS partition there is no hope to fix it yourself. You will have to most likely bring it to a service center to get it fixed.
Sent from my XT1095 using Tapatalk

Moto X 2014 (XT1097 Canada) Wont Boot

Please help, my moto x 2014 wont boot what so ever. This first started from when I tried to root my XT1097 on android 5.1 using this: http://forum.xda-developers.com/mot...e-edition-superboot-style-root-motox-t2889264 not realizing it wasn't for android 5.1. Then it was acting weird so I booted into fastboot and used a factory image which was for AT&T devices. Realizing this was the wrong image (No service or wifi what so ever) I flashed the proper image to return to stock, but now my device simply sits at the M logo and wont boot. Any help to get this device back up and running is appreciated!
Kevin_Desousa said:
Please help, my moto x 2014 wont boot what so ever. This first started from when I tried to root my XT1097 on android 5.1 using this: http://forum.xda-developers.com/mot...e-edition-superboot-style-root-motox-t2889264 not realizing it wasn't for android 5.1. Then it was acting weird so I booted into fastboot and used a factory image which was for AT&T devices. Realizing this was the wrong image (No service or wifi what so ever) I flashed the proper image to return to stock, but now my device simply sits at the M logo and wont boot. Any help to get this device back up and running is appreciated!
Click to expand...
Click to collapse
Did you wipe data/factory reset when you reflashed your firmware?
Sent from my XT1095 using Tapatalk
xKroniK13x said:
Did you wipe data/factory reset when you reflashed your firmware?
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
Yep, I wiped them both as per usual. If it helps, I can still access fastboot and recovery.
If it is sticking at the M, its failing to boot Android at all. Does it roll into recovery automatically? Which firmware did you flash? Also, was the version flashed older than the one you previously had?
Sent from my XT1095 using Tapatalk
xKroniK13x said:
If it is sticking at the M, its failing to boot Android at all. Does it roll into recovery automatically? Which firmware did you flash? Also, was the version flashed older than the one you previously had?
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
It doesn't seem to roll into recovery automatically. I flashed this initially : VICTARA_ATT_5.0.2_LXE22.46-34 (AT&T zip), and then I flashed this one: RETCA_XT1097_5.0.1_LXE22.46-22. I forgot which version I had before I tried rooting, but I do know it was android 5.1.
Kevin_Desousa said:
It doesn't seem to roll into recovery automatically. I flashed this initially : VICTARA_ATT_5.0.2_LXE22.46-34 (AT&T zip), and then I flashed this one: RETCA_XT1097_5.0.1_LXE22.46-22
Click to expand...
Click to collapse
Is your bootloader unlocked? If you went to the 5.0.2 AT&T and your bootloader is locked, you won't be able to downgrade back to 5.0.1. Try getting a firmware that is the same version or newer.
Sent from my XT1095 using Tapatalk
xKroniK13x said:
Is your bootloader unlocked? If you went to the 5.0.2 AT&T and your bootloader is locked, you won't be able to downgrade back to 5.0.1. Try getting a firmware that is the same version or newer.
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
My bootloader is unlocked, and when I say that I'm stuck at the M, I mean I'm stuck at the bootloader warning. (I didn't know what to call it)
Kevin_Desousa said:
My bootloader is unlocked, and when I say that I'm stuck at the M, I mean I'm stuck at the bootloader warning. (I didn't know what to call it)
Click to expand...
Click to collapse
Yeah, that's where I figured it was hanging. All signs just point to a bad flash/firmware. I'd try downloading a different version (even 5.1 since you're unlocked) or verifying the hash on the firmware you flashed. You can use HashMyFiles to check the md5 or SHA hashes.
Sent from my XT1095 using Tapatalk
xKroniK13x said:
Yeah, that's where I figured it was hanging. All signs just point to a bad flash/firmware. I'd try downloading a different version (even 5.1 since you're unlocked) or verifying the hash on the firmware you flashed. You can use HashMyFiles to check the md5 or SHA hashes.
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
Would you know of a place where I can obtain the factory images then? The one I was using only had a couple of them, none of which were 5.1
Kevin_Desousa said:
Would you know of a place where I can obtain the factory images then? The one I was using only had a couple of them, none of which were 5.1
Click to expand...
Click to collapse
This thread has a link that has the 5.1 firmwares. You have to do some digging, but they should be there... http://forum.xda-developers.com/showthread.php?t=3148211
Sent from my XT1095 using Tapatalk
xKroniK13x said:
This thread has a link that has the 5.1 firmwares. You have to do some digging, but they should be there... http://forum.xda-developers.com/showthread.php?t=3148211
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
Sorry to be such a pain, but would you have flash instructions for the official firmware? I'm just afraid of messing something up
Kevin_Desousa said:
Sorry to be such a pain, but would you have flash instructions for the official firmware? I'm just afraid of messing something up [emoji14]
Click to expand...
Click to collapse
I am personally a huge fan of House of Moto, it will generate automatic scripts to flash the firmware for you. Check out the thread here: http://www.droidrzr.com/index.php?/topic/61124-House-of-Moto-[4.3]
Also, MotoFirmware has some firmwares for the X2, I used to use them for my RAZR M. http://motofirmware.center/files/category/46-moto-x-2nd-generation/
Sent from my XT1095 using Tapatalk
xKroniK13x said:
I am personally a huge fan of House of Moto, it will generate automatic scripts to flash the firmware for you. Check out the thread here: http://www.droidrzr.com/index.php?/topic/61124-House-of-Moto-[4.3]
Also, MotoFirmware has some firmwares for the X2, I used to use them for my RAZR M. http://motofirmware.center/files/category/46-moto-x-2nd-generation/
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
I tried to use the House of Moto with this firmware: http://motofirmware.center/files/file/249-victara_tmo_51_lpe2332-213_cid9_cfcxmlzip/ but when I load it into the HOM it displays this: "Custom recovery not found.
Using factory image: VICTARA_TMO_5.1_LPE23.32-21.3_cid9_CFC.xml.zip
ERROR: XML script not found in this factory image. This is not yet supported."
Kevin_Desousa said:
I tried to use the House of Moto with this firmware: http://motofirmware.center/files/file/249-victara_tmo_51_lpe2332-213_cid9_cfcxmlzip/ but when I load it into the HOM it displays this: "Custom recovery not found.
Using factory image: VICTARA_TMO_5.1_LPE23.32-21.3_cid9_CFC.xml.zip
ERROR: XML script not found in this factory image. This is not yet supported."
Click to expand...
Click to collapse
That firmware looks like the one for xt1095/T-Mobile/Pure Edition. Also, that error sounds like the HoM instructions weren't followed right. I've flashed my device a bunch with HoM.
Sent from my XT1095 using Tapatalk
xKroniK13x said:
That firmware looks like the one for xt1095/T-Mobile/Pure Edition. Also, that error sounds like the HoM instructions weren't followed right. I've flashed my device a bunch with HoM.
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
Would this one work: VICTARA_NIIBR_XT1097_5.1_LPE23.32-14.2_cid12_CFC.xml.zip? I'm just confused with the "NIIBR" in the firmware name.
Kevin_Desousa said:
Would this one work: VICTARA_NIIBR_XT1097_5.1_LPE23.32-14.2_cid12_CFC.xml.zip? I'm just confused with the "NIIBR" in the firmware name.
Click to expand...
Click to collapse
I'm not sure, to be honest.
Sent from my XT1095 using Tapatalk
xKroniK13x said:
I'm not sure, to be honest.
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
So the phone booted up, thank you so much for the help, but for some reason it wont detect my sim card, the wifi doesnt work on it, and it occasionally reboots. I also noticed that the baseband version is unknown. Is there a way to fix this?
Kevin_Desousa said:
So the phone booted up, thank you so much for the help, but for some reason it wont detect my sim card, the wifi doesnt work on it, and it occasionally reboots. I also noticed that the baseband version is unknown. Is there a way to fix this?
Click to expand...
Click to collapse
Sounds like whatever firmware you flashed had the wrong radios. You should be able to download the Canadian firmware and just flash the radios.
Sent from my XT1095 using Tapatalk
xKroniK13x said:
Sounds like whatever firmware you flashed had the wrong radios. You should be able to download the Canadian firmware and just flash the radios.
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
I did flash the Canadian firmware to my knowledge. RETCA_XT1097_5.0.1_LXE22.46-22_cid14_CFC.xml?
I was browsing the xda threads and saw this thread: http://forum.xda-developers.com/moto-x-2014/general/guide-xt1097-to-xt1095-nextel-t2972693 where it states: "IMPORTANT. From 5.1 update, the modems included on the update are FULLY compatible with all models, XT1097, 1092 and 1093 and all carriers ,so, you don't have to worry about losing IMEI, signal or data." So, should I be able to flash the brazilian xt1097 firmware and have the proper radios installed from this thread: http://forum.xda-developers.com/moto-x-2014/general/ota-android-marshmallow-6-0-final-t3248315 ?

Categories

Resources