[Moto G Q&A, Help & Troubleshooting] prosodyspeaks:
bricked phone, how to revert to stock?!

EDIT: Solved with somcom's toolkit. cwm now successfully installed, using adb push to sdcard to get rom onto phone, hopefully back in business in an hour or so. feel free to delete this post.....

----------------------------------------------------

hello, thanks so much for all your work - it's massively appreciated!

i've bricked my moto lte, i think by using fastboot rather than mfastboot and screwing up partition sizes, or possibly by doing something in the wrong order? either way fastboot logs follow....

is it possible to revert to stock without being able to boot phone/put files on it?

i have successfully unlocked bootloader

tried to flash CWM recovery via fastboot, seems to flash ok but then when rebooting into recovery device shows (nearly) black screen with some white flickers. i've since tried twrp recovery as well but this doesn't boot either, straight back to bootloader with "boot up failed" message.

i can boot into bootloader and access via fastboot on windows 7

i downloaded CWM recovery and CM rom on the moto (before erasing partitions and being unable to boot) and have copies on laptop too.

what have i done? how can i get recovery working to install a rom?

thanks so much for your help, sorry I couldn't find answer here (I tried!)

C:\Users\prosody\moto g\RECOVERY>fastboot devices

TA003002KC fastboot

C:\Users\prosody\moto g\RECOVERY>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 4113(*)

(bootloader) product: peregrine

(bootloader) secure: yes

(bootloader) hwrev: 0x82D0

(bootloader) radio: 0x3

(bootloader) emmc: 8GB Toshiba REV=06 PRV=51 TYPE=17

(bootloader) ram: 1024MB Elpida S4 SDRAM DIE=4Gb

(bootloader) cpu: MSM8926

(bootloader) serialno: TA003002KC

(bootloader) cid: 0x0007

(bootloader) channelid: 0x49

(bootloader) uid: B6C1B20515000000000000000000

(bootloader) unlocked: yes

(bootloader) iswarrantyvoid: yes

(bootloader) mot_sst: 3

(bootloader) max-download-size: 536870912

(bootloader) reason: Volume down key pressed

(bootloader) imei:

(bootloader) meid:

(bootloader) date:

(bootloader) sku:

(bootloader) iccid:

(bootloader) cust_md5:

(bootloader) max-sparse-size: 268435456

(bootloader) current-time: "Sun Nov 9 17:24:15 UTC 2014"

(bootloader) ro.build.fingerprint[0]: motorola/peregrine_o2gb/peregrine:

(bootloader) ro.build.fingerprint[1]: 4.4.4/KXB21.14-L1.56/52:user/relea

(bootloader) ro.build.fingerprint[2]: se-keys

(bootloader) ro.build.version.full[0]: Blur_Version.21.11.56.peregrine_o

(bootloader) ro.build.version.full[1]: 2gb.o2gball.en.GB

(bootloader) ro.build.version.qcom[0]: AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1

(bootloader) ro.build.version.qcom[1]: .04.04.02.048.020

(bootloader) version-baseband:

(bootloader) kernel.version[0]: Linux version 3.4.42-gc20375a-00001-g804

(bootloader) kernel.version[1]: 2017 (hudsoncm@ilclbld26) (gcc version 4

(bootloader) kernel.version[2]: .7 (GCC) ) #1 SMP PREEMPT Tue Aug 5 22:4

(bootloader) kernel.version[3]: 2:49 CDT 2014

(bootloader) sdi.git: git=MBM-NG-V41.13-0-gdc5aeaf

(bootloader) sbl1.git: git=MBM-NG-V41.11-0-gcff5797

(bootloader) rpm.git: git=MBM-NG-V41.13-0-g71b1aae

(bootloader) tz.git: git=MBM-NG-V41.13-0-ga27c415

(bootloader) aboot.git: git=MBM-NG-V41.13-0-g7dc8e78

(bootloader) qe: qe 0/0

(bootloader) ro.carrier: o2gb

all: listed above

finished. total time: 0.100s

C:\Users\prosody\moto g\RECOVERY>fastboot erase system -w

erasing 'system'...

(bootloader) Erase allowed in unlocked state

OKAY [ 0.078s]

erasing 'userdata'...

OKAY [ 0.243s]

formatting 'userdata' partition...

Erase successful, but not automatically formatting.

File system type raw not supported.

OKAY [ 0.018s]

erasing 'cache'...

OKAY [ 0.070s]

formatting 'cache' partition...

Erase successful, but not automatically formatting.

File system type raw not supported.

OKAY [ 0.021s]

finished. total time: 0.449s

C:\Users\prosody\moto g\RECOVERY>fastboot erase boot

erasing 'boot'...

(bootloader) Erase allowed in unlocked state

OKAY [ 0.113s]

finished. total time: 0.117s

C:\Users\prosody\moto g\RECOVERY>fastboot erase recovery

erasing 'recovery'...

(bootloader) Erase allowed in unlocked state

OKAY [ 0.118s]

finished. total time: 0.122s

C:\Users\prosody\moto g\RECOVERY>fastboot flash CWM-6.0.5.0-peregrine.img

unknown partition 'CWM-6.0.5.0-peregrine.img'

error: cannot determine image filename for 'CWM-6.0.5.0-peregrine.img'

C:\Users\prosody\moto g\RECOVERY>fastboot flash recovery CWM-6.0.5.0-peregrine.i

mg

target reported max download size of 536870912 bytes

sending 'recovery' (7752 KB)...

OKAY [ 0.311s]

writing 'recovery'...

OKAY [ 0.426s]

finished. total time: 0.746s

C:\Users\prosody\moto g\RECOVERY>fastboot reboot

rebooting...

finished. total time: 0.006s

C:\Users\prosody\moto g\RECOVERY>