motoboot unknown partition - Moto G Q&A, Help & Troubleshooting

I am trying to upgrade my bootloader (XT1039) in order to install CM13, but when do, I get the following:
> fastboot flash motoboot motoboot_411A.zip
target reported max download size of 536870912 bytes
sending 'motoboot' (962 KB)...
OKAY [ 0.193s]
writing 'motoboot'...
(bootloader) Motoboot: Unknown partition name
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.218s
My current bootloader is 4113

Be very careful as you have almost destroyed your phone. It's best to use this utility:
http://forum.xda-developers.com/moto-g/general/falcon-bootloader-upgrader-tool-t3093793​

lost101 is absolutely correct. Are you trying to flash the stock 5.1 firmware for your specific device? I am guessing no seeing as how your motoboit IMG is in a .zilp format.

lost101 said:
Be very careful as you have almost destroyed your phone. It's best to use this utility:
http://forum.xda-developers.com/moto-g/general/falcon-bootloader-upgrader-tool-t3093793​
Click to expand...
Click to collapse
Sadly I dont have access to a windows pc

n0ts0smart said:
lost101 is absolutely correct. Are you trying to flash the stock 5.1 firmware for your specific device? I am guessing no seeing as how your motoboit IMG is in a .zilp format.
Click to expand...
Click to collapse
Wow, you are completelly correct, I didnt even realise... unzipped and there was a .img file inside though it seems it is for the x1032?
What is the best place to download the correct bootloader?

Download the latest XT1039 5.1 Factory Firmware Image. You will find the bootloader file inside: motoboot.img
Fastboot command:
fastboot flash motoboot motoboot.img​
Factory Firmware Image index: http://forum.xda-developers.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795

Related

[Q] Help! stucked at boot

I had problems with play store and I search all posible solutions and nothing worked so I decided to reinstall the stock rom
but some files gave me fail when trying to flash them on the fastboot
and now it stays at motorola bootloader warning
I can acces to fastboot and to cwm but I dont know how to flash a new rom without sd
another detail that maybe is usefull is that every time that I exit from cwm it asks to repair root
sorry for bad english and thanks for help
When I try to flash rom with faqs method it says
Code:
Motorola Mobility flashall script version 1.4
Flashing Options:
- flash persist: 0
- flash userdata: 0
- erase userdata: 1
- erase cache: 0
Waiting for fastboot enumeration...
Fastboot device is ready!!
Flashing GPT and bootloader images...
Executing ".\Windows\fastboot.exe flash partition gpt.bin"
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.045s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.471s
.\Windows\fastboot.exe flash partition gpt.bin failed!!
I'm not sure if this is the solution, but I had a similar problem and realized that you have to use mfastboot, I.e Motorola's version of fastboot. Simply download the mfastboot.exe(simple Google search should find it), place it in the adb folder, then run the same commands again, replacing fastboot with mfastboot
Sent from my XT1032 using XDA Premium 4 mobile app

MOTO G: Help for going back and changing firmware from XT1032 to XT1033

Hey nerds,
Could you please help with step by step guide on how to go back and change my UK firmware XT 1032 (for MOTO G) to the normal XT1033 firmware.
I changed my MOTO G XT1033 to XT1032 as was given proper instructions on the web however when I tried searching for instructions going back to XT1033 I didn't find any proper instructions. Please help. I'm kinda in a hurry as I want to sell this phone and need both the sims card tray working.
PS: I have already downloaded the firmware "fastboot_falcon_asia_ds_user_4.3_14.10.0Q3.X-84-7-LCG-4_4_release-keys-cid7-AsiaRetail_03.tar" and per instructions found in the net I got this message
Waiting for fastboot enumeration...
Fastboot device is ready!!
Flashing GPT and bootloader images...
Executing ".\Windows\fastboot.exe flash partition gpt.bi
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.032s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.456s
.\Windows\fastboot.exe flash partition gpt.bin failed!!
And over the phone this is the message:
Fastboot Reason: UTAG "flashfail" configured as fastboot USB connected
cmd: getvar:max-sparse-size
cmd: download:00008000
cmd: flashartition
version downgraded for primary_gpt
Please help. I'm really desperate.
Will keep a lookout for your reply.
You are flashing 4.3 firmware on 4.4, downgrading doesn't work and might even brick your boot loader!
Try this firmware (it has different flashing instructions)
http://www.filefactory.com/file/3t4v75yvhrd5/RETAIL-AS_FALCON_KXB20.25-1.31_cid7_CFC_1FF.xml.zip

Failed to erase partition...getting desperate here

Please help. I saved some money and bought this phone in January via a friend abroad (xt1033) and by February updated it to lollipop but few days later after the update the phone suddenly rebooted and got in the boot loop. Since then I haven't been able to use the phone for three months. It no longer has warranty because I attempted to unlock its bootloader and besides by availing the warranty I need to send back the phone from Philippines to the Kingdom of Saudi Arabia where it is bought and that is expensive and risky on my part. So now either I fix the phone myself or it goes straight to the trash bin.
I tried following threads here in the forum such as restoring the phone to stock, installing custom recoveries, flashing images. All of these returned the same error. And that is.
C:\Users\...\Desktop\adb and fastboot\Minimal ADB and Fastboot>fastboot flash
recovery twrp-2.8.6.0-falcon.img
target reported max download size of 536870912 bytes
sending 'recovery' (10184 KB)...
OKAY [ 10.300s]
writing 'recovery'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 15.377s
No matter what I do. The line (bootloader) Failed to erase partition always comes out. I have tried searching for the same threads here in the forum but all are unanswered. Please help me to fix this phone.
Try using mfastboot:
https://www.androidfilehost.com/?fid=23578570567719065​
Just so you are aware: very careful using the 'erase' command. Erasing certain partitions will destroy the phone. The only commands to ever really use are:
mfastboot erase cache
mfastboot erase userdata​
Is the phone definitely an XT1033 Dual-SIM?
lost101 said:
Try using mfastboot:
Just so you are aware: very careful using the 'erase' command. Erasing certain partitions will destroy the phone. The only commands to ever really use are:
mfastboot erase cache
mfastboot erase userdata​
Is the phone definitely an XT1033 Dual-SIM?
Click to expand...
Click to collapse
Yes sir it was bought in Saudi (asia) and is dual sim. The box also states that it is xt1033.
I have tried what you have suggested but the error still remains.
C:\Users\...\Desktop\mfastboot>mfastboot erase cache
erasing 'cache'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 14.955s
C:\Users\...\Desktop\mfastboot>mfastboot erase userdata[/U]
erasing 'userdata'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 9.953s
If it is of any help, the screen says that it has 41.18 bootloader, I don't exactly know what this information is for.
Try flashing the XT1033 Retail Asia Factory Firmware Image: http://forum.xda-developers.com/showpost.php?p=58534609&postcount=519
Flashing Tutorial: http://forum.xda-developers.com/showthread.php?t=2542219
Do all commands manually:
mfastboot flash partition gpt.bin
mfastboot flash motoboot motoboot.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk1 (CHANGE TO MATCH ACTUAL FILE IN FOLDER)
mfastboot flash system system.img_sparsechunk2 (CHANGE TO MATCH ACTUAL FILE IN FOLDER)
mfastboot flash system system.img_sparsechunk3 (CHANGE TO MATCH ACTUAL FILE IN FOLDER)
mfastboot flash system system.img_sparsechunk4 (CHANGE TO MATCH ACTUAL FILE IN FOLDER)
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot reboot​
lost101 said:
Try flashing the XT1033 Retail Asia Factory Firmware Image: http://forum.xda-developers.com/showpost.php?p=58534609&postcount=519
Flashing Tutorial: http://forum.xda-developers.com/showthread.php?t=2542219
Do all commands manually:
mfastboot flash partition gpt.bin
mfastboot flash motoboot motoboot.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk1 (CHANGE TO MATCH ACTUAL FILE IN FOLDER)
mfastboot flash system system.img_sparsechunk2 (CHANGE TO MATCH ACTUAL FILE IN FOLDER)
mfastboot flash system system.img_sparsechunk3 (CHANGE TO MATCH ACTUAL FILE IN FOLDER)
mfastboot flash system system.img_sparsechunk4 (CHANGE TO MATCH ACTUAL FILE IN FOLDER)
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot reboot​
Click to expand...
Click to collapse
I already tried sir along with the Brazilian firmware and both returned the same error. The same partition error,
I get stuck right at the first command "mfastboot flash partition gpt.bin", it says the the phone couldn't erase the partition. I'm starting to hate motorola right now
The money I saved just to buy this phone and I only got to use it for 1 month.
I understand that my partition is likely messed up or is corrupted even though I did nothing with my phone except upgrading it to lollilop (biggest mistake ever), what I don't understand is there aren't anyone else here in the forum who seem to have the same problem as mine, its like I am the only who has this kind of error so there are no threads at all discussing on how to solve this.
You could try booting into a custom recovery using the following command:
mfastboot boot recovery.img​
Try latest TWRP: http://forum.xda-developers.com/showpost.php?p=57672469&postcount=1
and flash one of these Lollipop zips: http://forum.xda-developers.com/moto-g/development/rom-stock-motorola-lollipop-rom-t3017510
lost101 said:
You could try booting into a custom recovery using the following command:
mfastboot boot recovery.img​
Try latest TWRP: http://forum.xda-developers.com/showpost.php?p=57672469&postcount=1
and flash one of these Lollipop zips: http://forum.xda-developers.com/moto-g/development/rom-stock-motorola-lollipop-rom-t3017510
Click to expand...
Click to collapse
I can't install TWRP nor clockwerk recovery, whenever I try the same frustrating error occurs. Here:
C:\Users\...\Desktop\adb and fastboot\Minimal ADB and Fastboot>fastboot flash
recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (8480 KB)...
OKAY [ 5.306s]
writing 'recovery'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 10.424s
titan015 said:
I can't install TWRP nor clockwerk recovery, whenever I try the same frustrating error occurs. Here:
Click to expand...
Click to collapse
It is possible to load TWRP without flashing it.
The following are two different commands.
Boots TWRP without flashing:
mfastboot boot recovery.img​
Flashes TWRP:
mfastboot flash recovery recovery.img​
lost101 said:
It is possible to load TWRP without flashing it.
The following are two different commands.
Boots TWRP without flashing:
mfastboot boot recovery.img​
Flashes TWRP:
mfastboot flash recovery recovery.img​
Click to expand...
Click to collapse
Sir I'm sorry but could you please elaborate more on what am I supposed to do?
What I did was download TWRP, renamed it to recovery.img and then pasted it in a folder with mfastboot in it. I then executed the command you supplied "mfastboot boot recovery.img" and heres the result:
C:\Users\...\Desktop\mfastboot>mfastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 10.297s]
booting...
FAILED (remote failure)
finished. total time: 20.326s
on the phone it says in pink font color "Incomplete boot image for booting"
Try another recovery.img just in case that one was a bad download.
titan015 said:
Please help. I saved some money and bought this phone in January via a friend abroad (xt1033) and by February updated it to lollipop but few days later after the update the phone suddenly rebooted and got in the boot loop. Since then I haven't been able to use the phone for three months. It no longer has warranty because I attempted to unlock its bootloader and besides by availing the warranty I need to send back the phone from Philippines to the Kingdom of Saudi Arabia where it is bought and that is expensive and risky on my part. So now either I fix the phone myself or it goes straight to the trash bin.
I tried following threads here in the forum such as restoring the phone to stock, installing custom recoveries, flashing images. All of these returned the same error. And that is.
C:\Users\...\Desktop\adb and fastboot\Minimal ADB and Fastboot>fastboot flash
recovery twrp-2.8.6.0-falcon.img
target reported max download size of 536870912 bytes
sending 'recovery' (10184 KB)...
OKAY [ 10.300s]
writing 'recovery'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 15.377s
No matter what I do. The line (bootloader) Failed to erase partition always comes out. I have tried searching for the same threads here in the forum but all are unanswered. Please help me to fix this phone.
Click to expand...
Click to collapse
I have the same problem, do you managed to fix it?
kesy85 said:
I have the same problem, do you managed to fix it?
Click to expand...
Click to collapse
no. i've tried just about everything, didn't managed to fix it
hi
i have the same problem too bro, im from the philippines too..
have u fixed it yet?
no fix?
Is this thread abandoned?
Is unlocking your bootloader a prequisite to flashing recovery.img? I have a soft bricked (from what I've read) XT 1032 and I forgot which Lollipop version I had (I'm a loser, I know).
I vaguely remember seeing 5.0.1 . Less likely, it could have been 5.0.2 as well, but less likely. And I'm almost sure it was not 5.1 (I would have remembered).
Anyway, since I did not want to unlock the bootloader (I have still not given up on recovering my data as I did not back them up because of the loser that I am), I did not try flashing a custom recovery like TWRP, and instead tried:
- flashing the GPE recovery.img. I got the partition error (cannot erase).
- flashing gpt.bin, got Preflash vaidation failed
I repeated these steps with 5.0.2 files and that had the same results.
Could this be all because my bootloader is not unlocked? Please tell me that I don't HAVE to unlock bootloader. Of course, I have never tried rooted my phone either. I was running pure OTA stock when my phone suddenly stopped booting up and went into a boot loop.
Same for me, BUMP
hand_solo said:
Is this thread abandoned?
Is unlocking your bootloader a prequisite to flashing recovery.img? I have a soft bricked (from what I've read) XT 1032 and I forgot which Lollipop version I had (I'm a loser, I know).
I vaguely remember seeing 5.0.1 . Less likely, it could have been 5.0.2 as well, but less likely. And I'm almost sure it was not 5.1 (I would have remembered).
Anyway, since I did not want to unlock the bootloader (I have still not given up on recovering my data as I did not back them up because of the loser that I am), I did not try flashing a custom recovery like TWRP, and instead tried:
- flashing the GPE recovery.img. I got the partition error (cannot erase).
- flashing gpt.bin, got Preflash vaidation failed
I repeated these steps with 5.0.2 files and that had the same results.
Could this be all because my bootloader is not unlocked? Please tell me that I don't HAVE to unlock bootloader. Of course, I have never tried rooted my phone either. I was running pure OTA stock when my phone suddenly stopped booting up and went into a boot loop.
Click to expand...
Click to collapse
Anyone managed to fix this?
The best I've found...
hand_solo said:
- flashing the GPE recovery.img. I got the partition error (cannot erase).
- flashing gpt.bin, got Preflash vaidation failed
Click to expand...
Click to collapse
...is this:
Cant flash GPT / Motoboot:
Use another firmware, try for another android versions.
Fastboot Error: preflash validation failed
Try your original (or last flashed) firmware.
Click to expand...
Click to collapse
from this thread: http://forum.xda-developers.com/moto-g/orig-development/bootloader-tool-motoflasher-t2959076/
P.s.: I have the same problem.
titan015 said:
Sir I'm sorry but could you please elaborate more on what am I supposed to do?
What I did was download TWRP, renamed it to recovery.img and then pasted it in a folder with mfastboot in it. I then executed the command you supplied "mfastboot boot recovery.img" and heres the result:
C:\Users\...\Desktop\mfastboot>mfastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 10.297s]
booting...
FAILED (remote failure)
finished. total time: 20.326s
on the phone it says in pink font color "Incomplete boot image for booting"
Click to expand...
Click to collapse
lost101 said:
It is possible to load TWRP without flashing it.
The following are two different commands.
Boots TWRP without flashing:
mfastboot boot recovery.img​
Flashes TWRP:
mfastboot flash recovery recovery.img​
Click to expand...
Click to collapse
For me the error is:
Code:
fastboot flash recovery twrp-2.8.7.0.-falcon_STOCK_NOTHEME.img
target reported max download size of 536870912 bytes
[COLOR="SeaGreen"]sending 'recovery' (9372 KB)...
OKAY [ 0.377s]
[/COLOR]writing 'recovery'...
[COLOR="Red"][B](bootloader) Permission denied
FAILED (remote failure)[/B][/COLOR]
finished. total time: 0.408s
Same thing when I try to boot instead of Flashing
Code:
fastboot boot twrp-2.8.7.0.-falcon_STOCK_NOTHEME.img
[COLOR="SeaGreen"]downloading 'boot.img'...
OKAY [ 0.347s][/COLOR]
booting...
[B][COLOR="Red"]FAILED (remote failure)
[/COLOR][/B]finished. total time: 0.354s
An unlocked Bootloader is required to flash (or boot) a custom recovery.
lost101 said:
An unlocked Bootloader is required to flash (or boot) a custom recovery.
Click to expand...
Click to collapse
But it's a Stock rom... I've tryied this custom recovery, of course, but this isn't working with a stock rom either.
Der_K said:
But it's a Stock rom... I've tryied this custom recovery, of course, but this isn't working with a stock rom either.
Click to expand...
Click to collapse
Please try to explain more clearly. Don't use the term ROM, if you are talking about a factory firmware image - in other words - sparsechunk files.
Can you flash the stock recovery img included in the factory firmware image?

TWRP flash error

Moto G Falcon,
When I try to flash twrp 2.8.6.0....it gives me an error
"target reported max download size of 536870912 bytes
sending 'recovery' (5 KB)...
OKAY [ 0.032s]
writing 'recovery'...
(bootloader) Invalid boot image
FAILED (remote failure)
finished. total time: 0.058s"
Cyagenomod 13
Download: mfastboot
Command:
mfastboot flash recovery twrp.img​
lost101 said:
Download: mfastboot
Command:
mfastboot flash recovery twrp.img​
Click to expand...
Click to collapse
Thanks. What is the difference between falcon gpe img and stock img?
chrismt said:
Thanks. What is the difference between falcon gpe img and stock img?
Click to expand...
Click to collapse
The format of userdata (/data) partition. GPE uses EXT4, Stock uses F2FS.
lost101 said:
The format of userdata (/data) partition. GPE uses EXT4, Stock uses F2FS.
Click to expand...
Click to collapse
Which one is best for Android 6 cyanogemod 13?
chrismt said:
Which one is best for Android 6 cyanogemod 13?
Click to expand...
Click to collapse
Best asking in the relevant thread, as one of them may not be compatible.
chrismt said:
sending 'recovery' (5 KB)...
Click to expand...
Click to collapse
That's obviously not a correct boot image, the correct one should have up to 10 MB.

Moto G 2015 Nougat Downgrade

Hi!
I have been using CyanogenMod on my Moto G since October 2016 and now I have upgraded to an unofficial LineageOS 14.1 build. Because of its bad reliablity, I'd like to downgrade back to stock Lollipop ROM.
I downloaded the .xml.zip file for my XT1541 2GB, the standard European one. By the way I wanted to relock the bootloader, so I started:
Code:
mfastboot oem lock begin
mfastboot flash partition gpt.bin
Here I had the first issue: mfastboot could send the file but it couldn't be written. The error thrown:
Code:
sending 'partition' (32 KB)...
OKAY [ 0.007s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.436s
I went straight on:
Code:
mfastboot flash bootloader bootloader.img
...
mfastboot system system.img_sparsechunk.0
The last fatal error:
Code:
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
I did it again, skipping the oem lock commands. Now the phone is bootable and fully operating, but still no luck for relocking the bootloader.
How can I restore to factory status by reverting to original OS and standard locked bootloader?
Maybe flash the full stock including the bootloader
I dont own this device
Avoid flashing the bootloader and gpt.bin and why do you want to relock your bootloader? Your warranty will still be voided.
make sure. u are flashing the same version of lollipop which is used before. if u were in mm . u can search for another thread i xda for downgrading
Do a "fastboot getvar all" and check the bootloader version, make sure the version you are flashing is the same or newer than what getvar shows and it will work.
Also, flash it first to make sure it works, then do it again and lock... if you something goes really wrong and lock takes, which is extremely unlikely, you are totally screwed.

Categories

Resources