Moto G 1st Gen Bootloop - Moto G Q&A, Help & Troubleshooting

Hi all Phone is stuck on a bootloop with a white motorola logo.
I've since had a mess and i think ive made it worse!!
I've unlocked the Bootloader & since tried to reflash a stock image but nothings working.
Where am i going wrong????????
My phones a 1st gen XT1039 (It was on Tesco) i can access recovery where it says the device is UNLOCKED Status code 3,Battery OK
but once i try and flash using mflashbootv2 using firmware
(Moto_G_LTE_XT1039)_TESCO-GB_4.4.4_KXB21.14-L1.46_cid7_CFC_1FF.xml
& I've tried
XT1039_PEREGRINE_TESCOGB_5.1_LPBS23.13-17.6-1_cid7_CFC.xml
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_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
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
I'm just getting failed to erase partitions etc

C:\Users\Dave\Desktop\mfastboot-v2>mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 5.024s]
writing 'partition'...
(bootloader) This may take a few seconds, if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Failed to write primary GPT.
(bootloader) Failed to program partition table
FAILED (remote failure)
finished. total time: 10.301s
C:\Users\Dave\Desktop\mfastboot-v2>mfastboot flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (1953 KB)...
OKAY [ 5.097s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) Failed to erase partition
(bootloader) Failed to flash tz
FAILED (remote failure)
finished. total time: 10.952s
C:\Users\Dave\Desktop\mfastboot-v2>mfastboot flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (295 KB)...
OKAY [ 5.057s]
writing 'logo'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition logo
FAILED (remote failure)
finished. total time: 10.082s
C:\Users\Dave\Desktop\mfastboot-v2>mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10240 KB)...
OKAY [ 5.374s]
writing 'boot'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition boot
FAILED (remote failure)
finished. total time: 10.784s
C:\Users\Dave\Desktop\mfastboot-v2>mfastboot flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (10240 KB)...
OKAY [ 5.374s]
writing 'recovery'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 10.786s

if you're bootloader is unlocked then just flash TWRP Recovery and flash custom ROMs.

jbanti said:
if you're bootloader is unlocked then just flash TWRP Recovery and flash custom ROMs.
Click to expand...
Click to collapse
I've tried flashing via TWRP.
I've followed this guide
Downloaded ABD FASTBOOT and extracted into a folder on my desktop i've also downloaded twrp-3.2.3-0-peregrine.img and put that in the same folder but renamed it recovery.img
I then shift right click > open command window here
I then type
fastboot devices
TA00303RVM fastboot
Then
fastboot flash recovery recovery.img but all i'm getting is errors??
adb-fastboot-latest_win_linux>fastboot flash recovery recovery.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:recovery: not found
target reported max download size of 536870912 bytes
sending 'recovery' (8332 KB)...
OKAY [ 5.319s]
writing 'recovery'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 10.411s
I've never flashed anything before am i missing something? also the phone continues to try to boot up when i dont put it into recovery mode and is only listed under device manager as Qualcomm HS-USB QDLoader 9008

Bettz said:
I've tried flashing via TWRP.
I've followed this guide
Downloaded ABD FASTBOOT and extracted into a folder on my desktop i've also downloaded twrp-3.2.3-0-peregrine.img and put that in the same folder but renamed it recovery.img
I then shift right click > open command window here
I then type
fastboot devices
TA00303RVM fastboot
Then
fastboot flash recovery recovery.img but all i'm getting is errors??
adb-fastboot-latest_win_linux>fastboot flash recovery recovery.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:recovery: not found
target reported max download size of 536870912 bytes
sending 'recovery' (8332 KB)...
OKAY [ 5.319s]
writing 'recovery'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 10.411s
I've never flashed anything before am i missing something? also the phone continues to try to boot up when i dont put it into recovery mode and is only listed under device manager as Qualcomm HS-USB QDLoader 9008
Click to expand...
Click to collapse
you need to unlock the bootloader for flashing recovery and roms.

jbanti said:
you need to unlock the bootloader for flashing recovery and roms.
Click to expand...
Click to collapse
It's saying the bootloaders unlocked

Typed fastboot oem get_unlock_data
Desktop\adb-fastboot-latest_win_linux>fastboot oem get_unlock_data
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) 3A95920045195889#54413030333033
(bootloader) 52564D00585431303339000000#749B
(bootloader) 3CCD3CF018E29770D1AC24AF8A1DADA
(bootloader) D62E1#8E6F800615000000000000000
(bootloader) 0000000
type the following in on the Motorola website
3A95920045195889#5441303033303352564D00585431303339000000#749B3CCD3CF018E29770D1AC24AF8A1DADAD62E1#8E6F8006150000000000000000000000
to generate the unique key
reboot phone back into recovery mode then type the following in adb fastboot
Desktop\adb-fastboot-latest_win_linux>fastboot devices
TA00303RVM fastboot
C:\Users\Desktop\adb-fastboot-latest_win_linux>fastboot oem unlock BZ5CL4FNM4KHWNGZPWCG
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) Device already unlocked!
FAILED (remote failure)
finished. total time: 0.019s
What do i try now?????

Bettz said:
Typed fastboot oem get_unlock_data
Desktop\adb-fastboot-latest_win_linux>fastboot oem get_unlock_data
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) 3A95920045195889#54413030333033
(bootloader) 52564D00585431303339000000#749B
(bootloader) 3CCD3CF018E29770D1AC24AF8A1DADA
(bootloader) D62E1#8E6F800615000000000000000
(bootloader) 0000000
type the following in on the Motorola website
3A95920045195889#5441303033303352564D00585431303339000000#749B3CCD3CF018E29770D1AC24AF8A1DADAD62E1#8E6F8006150000000000000000000000
to generate the unique key
reboot phone back into recovery mode then type the following in adb fastboot
Desktop\adb-fastboot-latest_win_linux>fastboot devices
TA00303RVM fastboot
C:\Users\Desktop\adb-fastboot-latest_win_linux>fastboot oem unlock BZ5CL4FNM4KHWNGZPWCG
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) Device already unlocked!
FAILED (remote failure)
finished. total time: 0.019s
What do i try now?????
Click to expand...
Click to collapse
https://forum.xda-developers.com/moto-g/general/guide-unlock-bootloader-root-recovery-t3418432
follow this tutorial.

jbanti said:
you need to unlock the bootloader for flashing recovery and roms.
Click to expand...
Click to collapse
jbanti said:
https://forum.xda-developers.com/moto-g/general/guide-unlock-bootloader-root-recovery-t3418432
follow this tutorial.
Click to expand...
Click to collapse
I get stuck at the following
Download the latest SuperSU flashable zip from
Copy it to your phone.
I can't get access to my phone it doesnt show up on my pc devices etc

Bettz said:
I get stuck at the following
Download the latest SuperSU flashable zip from
Copy it to your phone.
I can't get access to my phone it doesnt show up on my pc devices etc
Click to expand...
Click to collapse
can u access ur twrp recovery?

jbanti said:
can u access ur twrp recovery?
Click to expand...
Click to collapse
Nope

I have similar issue on Moto G Falcon.
The fastboot factory images fail to write partitions. Also can't flash custom Roms. And this was sudden in the middle while I was using custom rom and the phone rebooted on its own one day and never booted up again.

Related

Moto G LTE brick

Hi,
Sorry form my English.
I have problem with moto g (xt1039). I try to flash new firmware, but I writed firmware for different models, wright now phone stuck at recovery mode. When I write new firmware I always have error. My bootloader is unlocked. I try to write this two firmware ( first: (Moto_G_LTE_XT1039)_RET-GB-SS_4.4.4_KXB21.14-L1.46_cid7_CFC_1FF.xml, second: (Moto_G_LTE_XT1039)_TESCO-GB_4.4.4_KXB21.14-L1.46_cid7_CFC_1FF.xml) and I have this error:
C:\Users\kacpe_000\Desktop\RETAIL-GB_4.3_14.10.0Q3.X-76-LGG-8_cid7_CFC_1FF_svc.x
ml.modaco.r3>mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.033s]
writing 'partition'...
(bootloader) This may take a few seconds, if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
OKAY [ 0.384s]
finished. total time: 0.421s
C:\Users\kacpe_000\Desktop\RETAIL-GB_4.3_14.10.0Q3.X-76-LGG-8_cid7_CFC_1FF_svc.x
ml.modaco.r3>mfastboot flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (1953 KB)...
OKAY [ 0.110s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) flashing rpm ...
(bootloader) Failed to erase partition
(bootloader) Failed to flash rpm
FAILED (remote failure)
finished. total time: 11.124s
I do everythings from this topic: http://forum.xda-developers.com/showthread.php?t=2542219
This phone had firmware from tesco GB.
Stock recovery?
me_is_rushin said:
Stock recovery?
Click to expand...
Click to collapse
Yes, I don't change recovery. I always write stock firmware using that guide.

Moto g problem <bootloader>Failed to erase partition

Hello,
I stuck in "fastboot flash mode", when i unlock my bootloader, I want to flash stock rom, becouse old was broken, but when I try to flash rom I gets message:
<bootloader> Filed to erase partition
Help!
//sorry for my bad english ;/
When I want to flash new recoevry (stock or cwm/twrp) i gets message:
C:\Users\x\Downloads\mfastboot-v2>mfastboot flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (7878 KB)...
OKAY [ 5.226s]
writing 'recovery'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 10.249s
Try flasing fastboot partition gpt.bin
404
Boss442 said:
Try flasing fastboot partition gpt.bin
Click to expand...
Click to collapse
When i try flash gpt.bin:
C:\adt-bundle-windows-x86-20140702\sdk\mfastboot-v2>mfastboot flash partition gp
t.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 4.992s]
writing 'partition'...
(bootloader) This may take a few seconds, if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Failed to write primary GPT.
(bootloader) Failed to program partition table
FAILED (remote failure)
finished. total time: 10.405s
Download a diferent gpt, and try with normal fastboot
When I try flash orther gpt.bin:
D:\adt-bundle-windows-x86-20140702\sdk\platform-tools>fastboot flash partition g
pt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 4.991s]
writing 'partition'...
(bootloader) This may take a few seconds, if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Failed to write primary GPT.
(bootloader) Failed to program partition table
FAILED (remote failure)
finished. total time: 10.435s
or
D:\adt-bundle-windows-x86-20140702\sdk\platform-tools>fastboot flash partition g
pt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKEY [ 5.039s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
Finished. total time 5.554s
I try with 4-5 different gpt.bin but is the same error
maggig said:
when i try flash orther gpt.bin:
D:\adt-bundle-windows-x86-20140702\sdk\platform-tools>fastboot flash partition g
pt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 kb)...
Okay [ 4.991s]
writing 'partition'...
(bootloader) this may take a few seconds, if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) flashing primary gpt image...
(bootloader) failed to write primary gpt.
(bootloader) failed to program partition table
failed (remote failure)
finished. Total time: 10.435s
or
d:\adt-bundle-windows-x86-20140702\sdk\platform-tools>fastboot flash partition g
pt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 kb)...
Okey [ 5.039s]
writing 'partition'...
(bootloader) preflash validation failed
failed (remote failure)
finished. Total time 5.554s
i try with 4-5 different gpt.bin but is the same error
Click to expand...
Click to collapse
me also same problem
I flashed many time moto e but getting first time this problem any one solved this so share that it is firmware's problem or some other
brother , did you get any kind of solution for that because i have same problem too. my email [email protected] give me reply if you have any kind of solution thanks in advance
I am facing the same problem. .if i try to flash anything via mfastboot it gives an error of failed to erase partition..please help
Got mine working after similar problem for days...cm 14.1 installed
guys the only solution i worked out for this problem is..
1. unlock bootloader (not sure if it is a must)
2. using fastboot boot into twrp version 3.1.x.x or later using comamd
mfastboot boot twrpimagename.img
3.flash a twrp img file to the recovery from there i can confirm versions 3.1.1.0 and 3.1.0.0...
nb. you can install it to either boot partition or recovery either will do
4. use ur newley istalled recovery to install a twrp compatible rom, either stock or custom...
there u go

XT1032 - broken partitions

I was on latest stock German retail firmware and unlocked the bootloader and then tried to flash twrp via fastboot. Somehow the recovery didn't boot
and I've tried to reflash stock 5.1 firmware. Now the partition table or bootloader seems broken:
It reports Bootloader 41.1A in fastboot and "Device is UNLOCKED. Status Code: 3"
Using the stock flash method every partition seems to be gone:
All partitions report back: "(bootloader) has-slot:xxx: not found", I can still format system partition.
Code:
[email protected]:/.../stock # fastboot flash partition gpt.bin
(bootloader) has-slot:partition: not found
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.046s]
writing 'partition'...
(bootloader) This may take a few seconds, if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
OKAY [ 0.326s]
finished. total time: 0.372s
[email protected]:/.../stock # fastboot flash motoboot motoboot.img
(bootloader) has-slot:motoboot: not found
target reported max download size of 536870912 bytes
sending 'motoboot' (1953 KB)...
OKAY [ 0.141s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) flashing rpm ...
(bootloader) flashing sdi ...
(bootloader) flashing aboot ...
(bootloader) flashing sbl1 ...
OKAY [ 1.081s]
finished. total time: 1.222s
[email protected]:/.../stock # fastboot flash logo logo.bin
(bootloader) has-slot:logo: not found
target reported max download size of 536870912 bytes
sending 'logo' (295 KB)...
OKAY [ 0.089s]
writing 'logo'...
OKAY [ 0.102s]
finished. total time: 0.192s
I only have Linux systems around to play with adb and fastboot. No chance to use blankflash windows tools. Any idea how I can unbrick the phone?
Depending on the distro, root is required to run fastboot properly. For example, in Ubunutu the command is: sudo fastboot devices
"root" is in front of the command line

MOTO G3 Bricked

Moto G3 is Bricked,
Device is Locked Status Code:0
XT1550
Tried recovery Mode gives error:
==========
Your Status didn't startup successfully. Use the Software Repair Assistant on Computer to repair your device.
==========
Tried Fastboot it says
C:\Users\admin\Downloads\ADB\ADB and Fastboot>fastboot oem unlock
...
(bootloader) Check 'Allow OEM Unlock' in Developer Options.
FAILED (remote failure)
finished. total time: 0.048s
Please help.
radnam said:
Moto G3 is Bricked,
Device is Locked Status Code:0
XT1550
Tried recovery Mode gives error:
==========
Your Status didn't startup successfully. Use the Software Repair Assistant on Computer to repair your device.
==========
Tried Fastboot it says
C:\Users\admin\Downloads\ADB\ADB and Fastboot>fastboot oem unlock
...
(bootloader) Check 'Allow OEM Unlock' in Developer Options.
FAILED (remote failure)
finished. total time: 0.048s
Please help.
Click to expand...
Click to collapse
Flash stock firmware from here : https://forum.xda-developers.com/2015-moto-g/general/index-moto-g-factory-firmware-images-t3169639
Download links and FAQ are present in that thread.
adityak1303 said:
Flash stock firmware from here : https://forum.xda-developers.com/2015-moto-g/general/index-moto-g-factory-firmware-images-t3169639
Download links and FAQ are present in that thread.
Click to expand...
Click to collapse
I have tired doing the steps given. However it gives the following error:
C:\Users\admin\Downloads\ADB and Fastboot\ADB and Fastboot>fastboot oem fb_mode_set
...
FAILED (remote failure)
finished. total time: 0.031s
C:\Users\admin\Downloads\ADB and Fastboot\ADB and Fastboot>fastboot flash partition gpt.bin
target reported max download size of 268435456 bytes
sending 'partition' (32 KB)...
OKAY [ 0.016s]
writing 'partition'...
(bootloader) This may take a few seconds, if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Failed to write primary GPT.
(bootloader) Failed to program partition table
FAILED (remote failure)
finished. total time: 0.459s
C:\Users\admin\Downloads\ADB and Fastboot\ADB and Fastboot>astboot flash bootloader bootloader.img
'astboot' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\admin\Downloads\ADB and Fastboot\ADB and Fastboot>fastboot flash bootloader bootloader.img
target reported max download size of 268435456 bytes
sending 'bootloader' (2546 KB)...
OKAY [ 0.094s]
writing 'bootloader'...
(bootloader) flashing sbl1 ...
(bootloader) Failed to erase partition
(bootloader) Failed to flash sbl1
FAILED (remote failure)
finished. total time: 1.424s
Just to be sure, you are running this in as an Administrator command window, correct?
It's bricked... Nothing is writing to the internal storage and everything is coming back FAILED. Seen a few of these recently​, if it was a different error we might be able to do something but doing 'fastboot oem fb_mode_set' should never give an error.
acejavelin said:
Just to be sure, you are running this in as an Administrator command window, correct?
It's bricked... Nothing is writing to the internal storage and everything is coming back FAILED. Seen a few of these recently​, if it was a different error we might be able to do something but doing 'fastboot oem fb_mode_set' should never give an error.
Click to expand...
Click to collapse
That's what I was wondering. And yes I am running Administrator Command Window.
I am just keeping my fingers crossed that someone can help me resolve the issue.

Strange issue on my moto g3(XT1550)

I have a strange issue on my moto g3 (XT1550) after installing RR 9 official 19052019 ROM with pico gapps after some days I can't access the twrp, I mean when I'm booting on twrp it's only show the logo of twrp and then reboot the system.
Also the developers option not present in ROM or it disappeared.
Phone is non rooted.
Not able to reset phone.
Not able to change lock screen.
Anyone knows what's going on?
Phone status.
& errors when trying to install twrp.
Fastboot boot twrp.img also can't boot recovery.
After fastboot -w command,
again flashed recovery and it booted but can't mount system, data & cache, showing invalid argument.
It solved by repairing file system.
Now working fine.
$ su
[email protected]:/data/data/com.termux/files/home # fastboot boot /sdcard/twrp.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
downloading 'boot.img'...
OKAY [ 0.462s]
booting...
OKAY [ 0.156s]
finished. total time: 0.619s
[email protected]:/data/data/com.termux/files/home #
fastboot -w
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
wiping userdata...
Erase successful, but not automatically formatting.
File system type raw not supported.
wiping cache...
Erase successful, but not automatically formatting.
File system type raw not supported.
erasing 'userdata'...
OKAY [ 1.928s]
erasing 'cache'...
OKAY [ 0.019s]
finished. total time: 1.947s
[email protected]:/data/data/com.termux/files/home #
fastboot flash recovery /sdcard/twrp.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:recovery: not found
target reported max download size of 268435456 bytes
sending 'recovery' (8176 KB)...
OKAY [ 0.506s]
writing 'recovery'...
OKAY [ 0.142s]
finished. total time: 0.648s
[email protected]:/data/data/com.termux/files/home #

Categories

Resources