Status
Not open for further replies.
Search This thread

PSMDRT

Member
Oct 26, 2017
28
0
If you can get into fastboot, have you tried to flash the fastboot ROM? I can see from the console output that you are able to get into fastboot and your device also being successful detected by your computer

Hi. I've tried flashing the following commands one by one as suggested here

fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot

Here is the output I got.

Microsoft Windows [Version 10.0.15063]
(c) 2017 Microsoft Corporation. All rights reserved.

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem fb_mode_set
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
OKAY [ 0.016s]
finished. total time: 0.016s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash partition gpt.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:partition: not found
target reported max download size of 536870912 bytes
sending 'partition' (45 KB)...
OKAY [ -0.000s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Committing 'gpt.default.xml'
(bootloader) - flashing 'gpt_main0.bin' to 'partition:0'
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
OKAY [ 0.188s]
finished. total time: 0.188s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash bootloader bootloader.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:bootloader: not found
target reported max download size of 536870912 bytes
sending 'bootloader' (5115 KB)...
OKAY [ 0.172s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Security version downgrade
(bootloader) Image tz failed validation
(bootloader) Preflash validation failed
(bootloader) Security version downgrade
(bootloader) Image devcfg failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.474s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash logo logo.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:logo: not found
target reported max download size of 536870912 bytes
sending 'logo' (2186 KB)...
OKAY [ 0.063s]
writing 'logo'...
OKAY [ 0.063s]
finished. total time: 0.141s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot boot.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:boot: not found
target reported max download size of 536870912 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.552s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [ 0.308s]
finished. total time: 0.864s

C:\Program Files (x86)\Minimal ADB and Fastboot>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' (20580 KB)...
OKAY [ 0.687s]
writing 'recovery'...
(bootloader) Image signed with key bad key
OKAY [ 0.431s]
finished. total time: 1.120s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash dsp adspso.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:dsp: not found
target reported max download size of 536870912 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.533s]
writing 'dsp'...
OKAY [ 0.175s]
finished. total time: 0.712s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash oem oem.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:eek:em: not found
target reported max download size of 536870912 bytes
sending 'oem' (94831 KB)...
OKAY [ 3.015s]
writing 'oem'...
OKAY [ 0.754s]
finished. total time: 3.786s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechunk.0
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (517379 KB)...
OKAY [ 16.527s]
writing 'system'...
OKAY [ 4.168s]
finished. total time: 20.696s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechunk.1
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (500979 KB)...
OKAY [ 16.014s]
writing 'system'...
OKAY [ 4.084s]
finished. total time: 20.098s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechunk.2
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (523539 KB)...
OKAY [ 16.705s]
writing 'system'...
OKAY [ 3.706s]
finished. total time: 20.411s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechunk.3
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (506655 KB)...
OKAY [ 16.171s]
writing 'system'...
OKAY [ 3.825s]
finished. total time: 19.996s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechunk.4
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (444811 KB)...
OKAY [ 14.185s]
writing 'system'...
OKAY [ 3.462s]
finished. total time: 17.662s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash modem NON-HLOS.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modem: not found
target reported max download size of 536870912 bytes
sending 'modem' (75160 KB)...
OKAY [ 2.409s]
writing 'modem'...
OKAY [ 0.640s]
finished. total time: 3.051s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase modemst1
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modemst1: not found
erasing 'modemst1'...
OKAY [ 0.031s]
finished. total time: 0.031s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase modemst2
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modemst2: not found
erasing 'modemst2'...
OKAY [ 0.031s]
finished. total time: 0.031s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash fsg fsg.mbn
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:fsg: not found
target reported max download size of 536870912 bytes
sending 'fsg' (2500 KB)...
OKAY [ 0.094s]
writing 'fsg'...
OKAY [ 0.077s]
finished. total time: 0.171s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase cache
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:cache: not found
erasing 'cache'...
OKAY [ 0.016s]
finished. total time: 0.016s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase userdata
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:userdata: not found
erasing 'userdata'...
OKAY [ 0.063s]
finished. total time: 0.063s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase customize
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:customize: not found
erasing 'customize'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.016s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase clogo
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:clogo: not found
erasing 'clogo'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.016s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem fb_mode_clear
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
OKAY [ -0.000s]
finished. total time: 0.016s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot reboot
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
rebooting...

finished. total time: 0.031s

C:\Program Files (x86)\Minimal ADB and Fastboot>


I don't think this has worked for me because all I can see is this response on loop. Th device isn't booting properly.

IMG-20170528-WA0015.jpg
 

nicorvienne

Senior Member
Jan 20, 2015
282
119
vienna
Hi. I've tried flashing the following commands one by one as suggested here

fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
....

Hi, don't know your device-status, but take for flashing Moto-firmware 'mfastboot' commands!!

download "mfastboot.zip" extract it to your ADB folder and flash the Moto-firmware by using 'mfastboot'!!!
 
  • Like
Reactions: PSMDRT

Outfield303

Senior Member
Nov 6, 2016
286
220
Hi, don't know your device-status, but take for flashing Moto-firmware 'mfastboot' commands!!

download "mfastboot.zip" extract it to your ADB folder and flash the Moto-firmware by using 'mfastboot'!!!

Nowadays fastboot and mfastboot are same thing. Once upon time, mfastboot was used but nowadays fastboot works same as mfastboot
 
  • Like
Reactions: PSMDRT

Samerhk

Member
Dec 17, 2014
44
2
Puerto la Cruz
I have two questions. If i go to a custom rom and then return using this firmware and relock commands would i get OTA's?
And if im on npn25.137-78-4 versión but can only find earlier verions of this firmware. Would it be ok to flash the earlier firmware but, without the fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img commands?
 

psychopac

Senior Member
Sep 12, 2012
843
224
New Delhi
Hi. I've tried flashing the following commands one by one as suggested here

fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot

Here is the output I got.

Microsoft Windows [Version 10.0.15063]
(c) 2017 Microsoft Corporation. All rights reserved.

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem fb_mode_set
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
OKAY [ 0.016s]
finished. total time: 0.016s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash partition gpt.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:partition: not found
target reported max download size of 536870912 bytes
sending 'partition' (45 KB)...
OKAY [ -0.000s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Committing 'gpt.default.xml'
(bootloader) - flashing 'gpt_main0.bin' to 'partition:0'
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
OKAY [ 0.188s]
finished. total time: 0.188s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash bootloader bootloader.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:bootloader: not found
target reported max download size of 536870912 bytes
sending 'bootloader' (5115 KB)...
OKAY [ 0.172s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Security version downgrade
(bootloader) Image tz failed validation
(bootloader) Preflash validation failed
(bootloader) Security version downgrade
(bootloader) Image devcfg failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.474s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash logo logo.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:logo: not found
target reported max download size of 536870912 bytes
sending 'logo' (2186 KB)...
OKAY [ 0.063s]
writing 'logo'...
OKAY [ 0.063s]
finished. total time: 0.141s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot boot.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:boot: not found
target reported max download size of 536870912 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.552s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [ 0.308s]
finished. total time: 0.864s

C:\Program Files (x86)\Minimal ADB and Fastboot>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' (20580 KB)...
OKAY [ 0.687s]
writing 'recovery'...
(bootloader) Image signed with key bad key
OKAY [ 0.431s]
finished. total time: 1.120s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash dsp adspso.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:dsp: not found
target reported max download size of 536870912 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.533s]
writing 'dsp'...
OKAY [ 0.175s]
finished. total time: 0.712s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash oem oem.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:eek:em: not found
target reported max download size of 536870912 bytes
sending 'oem' (94831 KB)...
OKAY [ 3.015s]
writing 'oem'...
OKAY [ 0.754s]
finished. total time: 3.786s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechunk.0
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (517379 KB)...
OKAY [ 16.527s]
writing 'system'...
OKAY [ 4.168s]
finished. total time: 20.696s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechunk.1
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (500979 KB)...
OKAY [ 16.014s]
writing 'system'...
OKAY [ 4.084s]
finished. total time: 20.098s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechunk.2
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (523539 KB)...
OKAY [ 16.705s]
writing 'system'...
OKAY [ 3.706s]
finished. total time: 20.411s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechunk.3
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (506655 KB)...
OKAY [ 16.171s]
writing 'system'...
OKAY [ 3.825s]
finished. total time: 19.996s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechunk.4
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (444811 KB)...
OKAY [ 14.185s]
writing 'system'...
OKAY [ 3.462s]
finished. total time: 17.662s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash modem NON-HLOS.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modem: not found
target reported max download size of 536870912 bytes
sending 'modem' (75160 KB)...
OKAY [ 2.409s]
writing 'modem'...
OKAY [ 0.640s]
finished. total time: 3.051s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase modemst1
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modemst1: not found
erasing 'modemst1'...
OKAY [ 0.031s]
finished. total time: 0.031s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase modemst2
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modemst2: not found
erasing 'modemst2'...
OKAY [ 0.031s]
finished. total time: 0.031s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash fsg fsg.mbn
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:fsg: not found
target reported max download size of 536870912 bytes
sending 'fsg' (2500 KB)...
OKAY [ 0.094s]
writing 'fsg'...
OKAY [ 0.077s]
finished. total time: 0.171s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase cache
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:cache: not found
erasing 'cache'...
OKAY [ 0.016s]
finished. total time: 0.016s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase userdata
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:userdata: not found
erasing 'userdata'...
OKAY [ 0.063s]
finished. total time: 0.063s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase customize
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:customize: not found
erasing 'customize'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.016s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase clogo
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:clogo: not found
erasing 'clogo'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.016s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem fb_mode_clear
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
OKAY [ -0.000s]
finished. total time: 0.016s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot reboot
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
rebooting...

finished. total time: 0.031s

C:\Program Files (x86)\Minimal ADB and Fastboot>

I don't think this has worked for me because all I can see is this response on loop. Th device isn't booting properly.
If you can still get into fastboot, I'd suggest you to flash TWRP for the time being and flash a TWRP flashable stock ROM.
 
  • Like
Reactions: PSMDRT

PSMDRT

Member
Oct 26, 2017
28
0
If you can still get into fastboot, I'd suggest you to flash TWRP for the time being and flash a TWRP flashable stock ROM.

May I know what you mean by flash a TWRP flashable stock ROM? A link pointing to a downloadable ROM will be appreciated.

Here are the details of my Indian variant phone.

AP Fastboot Flash Mode (Secure)
BL: CO.C5 (sha-99aa1c1, 2017-04-01 21:52:26)
Baseband: M8953_8000.128.06.42R POTTER_INDIADSDS_CUST
Product/Variant: potter XT1686 32GB P3B
Serial Number: ZY223Z7XPX
CPU: N918953 eMMC: 32GB SKHYNIX HBG4a2 RV=08 PV=A5 FV200000000000000A5
DRAM: 4GB SKHYNIX LP3 DIE=8Gb M5=06 N6=03 M7=00 M8=5F
Console [NULL): null
Tools Node Config: DISABLED
Battery OK
Software status: Official

Thanks.
 

psychopac

Senior Member
Sep 12, 2012
843
224
New Delhi
May I know what you mean by flash a TWRP flashable stock ROM? A link pointing to a downloadable ROM will be appreciated.

Here are the details of my Indian variant phone.

AP Fastboot Flash Mode (Secure)
BL: CO.C5 (sha-99aa1c1, 2017-04-01 21:52:26)
Baseband: M8953_8000.128.06.42R POTTER_INDIADSDS_CUST
Product/Variant: potter XT1686 32GB P3B
Serial Number: ZY223Z7XPX
CPU: N918953 eMMC: 32GB SKHYNIX HBG4a2 RV=08 PV=A5 FV200000000000000A5
DRAM: 4GB SKHYNIX LP3 DIE=8Gb M5=06 N6=03 M7=00 M8=5F
Console [NULL): null
Tools Node Config: DISABLED
Battery OK
Software status: Official

Thanks.
Here are TWRP flashable stock ROMs for various variants of G5 Plus
https://forum.xda-developers.com/g5-plus/development/rom-twrp-flashable-stock-builds-t3675616
 
  • Like
Reactions: PSMDRT

PSMDRT

Member
Oct 26, 2017
28
0

@psychopac advised me to flash a TWRP flashable stock ROM, I tried flashing.

But, as @Q9Nap said here https://forum.xda-developers.com/g5-plus/development/rom-twrp-flashable-stock-builds-t3675616

Usage is simple:
Copy file to device storage
Reboot into TWRP
Flash zip
Profit!


How do I copy the file to device storage when my device is soft bricked?
 

psychopac

Senior Member
Sep 12, 2012
843
224
New Delhi
  • Like
Reactions: PSMDRT

PSMDRT

Member
Oct 26, 2017
28
0
Yes, that'll work.
Flash twrp in phone, copy the ROM zip into sdcard and flash it

Hi. I flashed TWRP into the phone. I had already copied the ROM zip file to the memory card.

When "Recovery mode" was selected as soon as I flashed TWRP, the phone did not boot into TWRP as always.

What other options do I have now?
 

psychopac

Senior Member
Sep 12, 2012
843
224
New Delhi
Hi. I flashed TWRP into the phone. I had already copied the ROM zip file to the memory card.

When "Recovery mode" was selected as soon as I flashed TWRP, the phone did not boot into TWRP as always.

What other options do I have now?
Have you tried using the button combo to get into recovery? Or from fastboot, you can also boot into recovery by copying the recovery into fastboot folder and then typing in the console "fastboot boot <recovery img name>.img and then try to flash the zip
 

PSMDRT

Member
Oct 26, 2017
28
0
Recently i have :( hardbricked my device and made my g5 plus(XT1686) to come back to life :eek: using blankflash(albus) and flashed moto Z play's recovery , gtp, bootloader (thanks for developers)and then i flashed twrp and used debloadted stock rom to use the device and every thing works fine now(thanks for developers). due some issues i have installed lineage OS 14.1 custom rom. but now i wanted to re-lock my phone bootloader is a chance to do it right now .
please reply

Hi. I soft-bricked my mobile as well. Same as your variant. XT1686. Hope you would help me in solving the problem with mine.

You wrote "using blankflash(albus) and flashed moto Z play's recovery , gtp, bootloader". Could you explain what you mean by flashing Moto Z Play's recovery, gpt, bootloader?
 

PSMDRT

Member
Oct 26, 2017
28
0
Hi @siddhesh9146

I tried flashing https://forum.xda-developers.com/g5-plus/how-to/stock-firmware-npn25-137-67-5-fastboot-t3694738 once again. This time I have used this command fastboot -w just to see if this makes any difference.

Here is the output I got. Of course, the response was same. My didn't boot up this time as well. But, could you please see the following output and suggest any changes to be done in the process to bring back my phone.

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot -w
erasing 'userdata'...
OKAY [ 0.047s]
formatting 'userdata' partition...
Erase successful, but not automatically formatting.
File system type raw not supported.
OKAY [ 0.015s]
erasing 'cache'...
OKAY [ 0.013s]
formatting 'cache' partition...
Erase successful, but not automatically formatting.
File system type raw not supported.
OKAY [ 0.013s]
finished. total time: 0.088s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot devices
ZY223Z7XPX fastboot

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot -w
erasing 'userdata'...
OKAY [ 0.048s]
formatting 'userdata' partition...
Erase successful, but not automatically formatting.
File system type raw not supported.
OKAY [ 0.015s]
erasing 'cache'...
OKAY [ 0.013s]
formatting 'cache' partition...
Erase successful, but not automatically formatting.
File system type raw not supported.
OKAY [ 0.013s]
finished. total time: 0.089s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot oem lock
...
(bootloader) WARNING: This command erases all user data.
(bootloader) Please re-run this command to continue.
OKAY [ -0.000s]
finished. total time: -0.000s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot oem lock
...
(bootloader) Check 'Allow OEM Unlock' in Android Settings > Developer
(bootloader) Options
OKAY [ 0.000s]
finished. total time: 0.000s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash oem oem.img
target reported max download size of 536870912 bytes
sending 'oem' (94831 KB)...
OKAY [ 3.030s]
writing 'oem'...
OKAY [ 0.786s]
finished. total time: 3.816s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.0
target reported max download size of 536870912 bytes
sending 'system' (517379 KB)...
OKAY [ 16.514s]
writing 'system'...
OKAY [ 4.117s]
finished. total time: 20.631s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.1
target reported max download size of 536870912 bytes
sending 'system' (500979 KB)...
OKAY [ 15.997s]
writing 'system'...
OKAY [ 4.070s]
finished. total time: 20.068s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.2
target reported max download size of 536870912 bytes
sending 'system' (523539 KB)...
OKAY [ 16.688s]
writing 'system'...
OKAY [ 3.681s]
finished. total time: 20.369s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.3
target reported max download size of 536870912 bytes
sending 'system' (506655 KB)...
OKAY [ 16.147s]
writing 'system'...
OKAY [ 3.819s]
finished. total time: 19.967s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.4
target reported max download size of 536870912 bytes
sending 'system' (444811 KB)...
OKAY [ 14.188s]
writing 'system'...
OKAY [ 3.460s]
finished. total time: 17.649s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.549s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [ 0.333s]
finished. total time: 0.882s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot oem lock
...
(bootloader) Check 'Allow OEM Unlock' in Android Settings > Developer
(bootloader) Options
OKAY [ -0.000s]
finished. total time: -0.000s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot oem fb_mode_set
...
OKAY [ -0.000s]
finished. total time: -0.000s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (45 KB)...
OKAY [ -0.000s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Committing 'gpt.default.xml'
(bootloader) - flashing 'gpt_main0.bin' to 'partition:0'
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
OKAY [ 0.156s]
finished. total time: 0.156s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash bootloader bootloader.img
target reported max download size of 536870912 bytes
sending 'bootloader' (5115 KB)...
OKAY [ 0.172s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Security version downgrade
(bootloader) Image tz failed validation
(bootloader) Preflash validation failed
(bootloader) Security version downgrade
(bootloader) Image devcfg failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.453s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash logo logo.bin
target reported max download size of 536870912 bytes
sending 'logo' (2186 KB)...
OKAY [ 0.078s]
writing 'logo'...
OKAY [ 0.071s]
finished. total time: 0.149s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.560s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [ 0.318s]
finished. total time: 0.878s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (20580 KB)...
OKAY [ 0.688s]
writing 'recovery'...
(bootloader) Image signed with key bad key
OKAY [ 0.380s]
finished. total time: 1.068s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash dsp adspso.bin
target reported max download size of 536870912 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.529s]
writing 'dsp'...
OKAY [ 0.167s]
finished. total time: 0.696s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash oem oem.img
target reported max download size of 536870912 bytes
sending 'oem' (94831 KB)...
OKAY [ 3.018s]
writing 'oem'...
OKAY [ 0.767s]
finished. total time: 3.785s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.0
target reported max download size of 536870912 bytes
sending 'system' (517379 KB)...
OKAY [ 16.498s]
writing 'system'...
OKAY [ 4.160s]
finished. total time: 20.658s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.1
target reported max download size of 536870912 bytes
sending 'system' (500979 KB)...
OKAY [ 15.996s]
writing 'system'...
OKAY [ 4.062s]
finished. total time: 20.058s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.2
target reported max download size of 536870912 bytes
sending 'system' (523539 KB)...
OKAY [ 16.674s]
writing 'system'...
OKAY [ 3.694s]
finished. total time: 20.368s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.3
target reported max download size of 536870912 bytes
sending 'system' (506655 KB)...
OKAY [ 16.151s]
writing 'system'...
OKAY [ 3.819s]
finished. total time: 19.970s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.4
target reported max download size of 536870912 bytes
sending 'system' (444811 KB)...
OKAY [ 14.175s]
writing 'system'...
OKAY [ 3.467s]
finished. total time: 17.642s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.4
target reported max download size of 536870912 bytes
sending 'system' (444811 KB)...
OKAY [ 14.188s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 14.219s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash modem NON-HLOS.bin
target reported max download size of 536870912 bytes
sending 'modem' (75160 KB)...
OKAY [ 2.407s]
writing 'modem'...
OKAY [ 0.631s]
finished. total time: 3.039s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.027s]
finished. total time: 0.027s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.016s]
finished. total time: 0.031s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash fsg fsg.mbn
target reported max download size of 536870912 bytes
sending 'fsg' (2500 KB)...
OKAY [ 0.078s]
writing 'fsg'...
OKAY [ 0.086s]
finished. total time: 0.164s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot erase cache
erasing 'cache'...
OKAY [ -0.000s]
finished. total time: -0.000s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.040s]
finished. total time: 0.040s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot erase customize
erasing 'customize'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: -0.000s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot erase clogo
erasing 'clogo'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: -0.000s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot oem fb_mode_clear
...
OKAY [ 0.000s]
finished. total time: 0.000s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot reboot
rebooting...

finished. total time: 0.000s

G:\SOFTWARE\Herramientas ADB\platform-tools>
[/COLOR]
 

acejavelin

Recognized Contributor
Sep 3, 2009
6,835
3,318
Lincoln, ND
Hi @siddhesh9146

I tried flashing https://forum.xda-developers.com/g5-plus/how-to/stock-firmware-npn25-137-67-5-fastboot-t3694738 once again. This time I have used this command fastboot -w just to see if this makes any difference.

Here is the output I got. Of course, the response was same. My didn't boot up this time as well. But, could you please see the following output and suggest any changes to be done in the process to bring back my phone.

Code:
[COLOR="DarkGreen"]G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot -w
erasing 'userdata'...
OKAY [  0.047s]
formatting 'userdata' partition...
Erase successful, but not automatically formatting.
File system type raw not supported.
OKAY [  0.015s]
erasing 'cache'...
OKAY [  0.013s]
formatting 'cache' partition...
Erase successful, but not automatically formatting.
File system type raw not supported.
OKAY [  0.013s]
finished. total time: 0.088s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot devices
ZY223Z7XPX      fastboot

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot -w
erasing 'userdata'...
OKAY [  0.048s]
formatting 'userdata' partition...
Erase successful, but not automatically formatting.
File system type raw not supported.
OKAY [  0.015s]
erasing 'cache'...
OKAY [  0.013s]
formatting 'cache' partition...
Erase successful, but not automatically formatting.
File system type raw not supported.
OKAY [  0.013s]
finished. total time: 0.089s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot oem lock
...
(bootloader) WARNING: This command erases all user data.
(bootloader) Please re-run this command to continue.
OKAY [ -0.000s]
finished. total time: -0.000s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot oem lock
...
(bootloader) Check 'Allow OEM Unlock' in Android Settings > Developer
(bootloader) Options
OKAY [  0.000s]
finished. total time: 0.000s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash oem oem.img
target reported max download size of 536870912 bytes
sending 'oem' (94831 KB)...
OKAY [  3.030s]
writing 'oem'...
OKAY [  0.786s]
finished. total time: 3.816s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.0
target reported max download size of 536870912 bytes
sending 'system' (517379 KB)...
OKAY [ 16.514s]
writing 'system'...
OKAY [  4.117s]
finished. total time: 20.631s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.1
target reported max download size of 536870912 bytes
sending 'system' (500979 KB)...
OKAY [ 15.997s]
writing 'system'...
OKAY [  4.070s]
finished. total time: 20.068s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.2
target reported max download size of 536870912 bytes
sending 'system' (523539 KB)...
OKAY [ 16.688s]
writing 'system'...
OKAY [  3.681s]
finished. total time: 20.369s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.3
target reported max download size of 536870912 bytes
sending 'system' (506655 KB)...
OKAY [ 16.147s]
writing 'system'...
OKAY [  3.819s]
finished. total time: 19.967s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.4
target reported max download size of 536870912 bytes
sending 'system' (444811 KB)...
OKAY [ 14.188s]
writing 'system'...
OKAY [  3.460s]
finished. total time: 17.649s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (16384 KB)...
OKAY [  0.549s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [  0.333s]
finished. total time: 0.882s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot oem lock
...
(bootloader) Check 'Allow OEM Unlock' in Android Settings > Developer
(bootloader) Options[COLOR="DarkGreen"]G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot -w
erasing 'userdata'...
OKAY [  0.047s]
formatting 'userdata' partition...
Erase successful, but not automatically formatting.
File system type raw not supported.
OKAY [  0.015s]
erasing 'cache'...
OKAY [  0.013s]
formatting 'cache' partition...
Erase successful, but not automatically formatting.
File system type raw not supported.
OKAY [  0.013s]
finished. total time: 0.088s

G:\SOFTWARE
OKAY [ -0.000s]
finished. total time: -0.000s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot oem fb_mode_set
...
OKAY [ -0.000s]
finished. total time: -0.000s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (45 KB)...
OKAY [ -0.000s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Committing 'gpt.default.xml'
(bootloader) - flashing 'gpt_main0.bin' to 'partition:0'
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
OKAY [  0.156s]
finished. total time: 0.156s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash bootloader bootloader.img
target reported max download size of 536870912 bytes
sending 'bootloader' (5115 KB)...
OKAY [  0.172s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Security version downgrade
(bootloader) Image tz failed validation
(bootloader) Preflash validation failed
(bootloader) Security version downgrade
(bootloader) Image devcfg failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.453s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash logo logo.bin
target reported max download size of 536870912 bytes
sending 'logo' (2186 KB)...
OKAY [  0.078s]
writing 'logo'...
OKAY [  0.071s]
finished. total time: 0.149s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (16384 KB)...
OKAY [  0.560s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [  0.318s]
finished. total time: 0.878s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (20580 KB)...
OKAY [  0.688s]
writing 'recovery'...
(bootloader) Image signed with key bad key
OKAY [  0.380s]
finished. total time: 1.068s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash dsp adspso.bin
target reported max download size of 536870912 bytes
sending 'dsp' (16384 KB)...
OKAY [  0.529s]
writing 'dsp'...
OKAY [  0.167s]
finished. total time: 0.696s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash oem oem.img
target reported max download size of 536870912 bytes
sending 'oem' (94831 KB)...
OKAY [  3.018s]
writing 'oem'...
OKAY [  0.767s]
finished. total time: 3.785s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.0
target reported max download size of 536870912 bytes
sending 'system' (517379 KB)...
OKAY [ 16.498s]
writing 'system'...
OKAY [  4.160s]
finished. total time: 20.658s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.1
target reported max download size of 536870912 bytes
sending 'system' (500979 KB)...
OKAY [ 15.996s]
writing 'system'...
OKAY [  4.062s]
finished. total time: 20.058s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.2
target reported max download size of 536870912 bytes
sending 'system' (523539 KB)...
OKAY [ 16.674s]
writing 'system'...
OKAY [  3.694s]
finished. total time: 20.368s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.3
target reported max download size of 536870912 bytes
sending 'system' (506655 KB)...
OKAY [ 16.151s]
writing 'system'...
OKAY [  3.819s]
finished. total time: 19.970s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.4
target reported max download size of 536870912 bytes
sending 'system' (444811 KB)...
OKAY [ 14.175s]
writing 'system'...
OKAY [  3.467s]
finished. total time: 17.642s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash system system.img_sparsechunk.4
target reported max download size of 536870912 bytes
sending 'system' (444811 KB)...
OKAY [ 14.188s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 14.219s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash modem NON-HLOS.bin
target reported max download size of 536870912 bytes
sending 'modem' (75160 KB)...
OKAY [  2.407s]
writing 'modem'...
OKAY [  0.631s]
finished. total time: 3.039s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot erase modemst1
erasing 'modemst1'...
OKAY [  0.027s]
finished. total time: 0.027s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot erase modemst2
erasing 'modemst2'...
OKAY [  0.016s]
finished. total time: 0.031s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot flash fsg fsg.mbn
target reported max download size of 536870912 bytes
sending 'fsg' (2500 KB)...
OKAY [  0.078s]
writing 'fsg'...
OKAY [  0.086s]
finished. total time: 0.164s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot erase cache
erasing 'cache'...
OKAY [ -0.000s]
finished. total time: -0.000s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot erase userdata
erasing 'userdata'...
OKAY [  0.040s]
finished. total time: 0.040s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot erase customize
erasing 'customize'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: -0.000s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot erase clogo
erasing 'clogo'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: -0.000s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot oem fb_mode_clear
...
OKAY [  0.000s]
finished. total time: 0.000s

G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot reboot
rebooting...

finished. total time: 0.000s

G:\SOFTWARE\Herramientas ADB\platform-tools> [/COLOR][/COLOR]

Please attach the output of 'fastboot getvar all'... and might want to learn to use the "code" tags. :)

Oh, and mask out your imei number as well in the output I requested.

And a good rule of thumb with Moto stock images, perform a factory reset in the stock recovery before flashing. It usually doesn't matter, but it can make a difference when your userdata is wacked out (which yours appears to be).
 
Last edited:
  • Like
Reactions: PSMDRT

PSMDRT

Member
Oct 26, 2017
28
0
Please attach the output of 'fastboot getvar all'... and might want to learn to use the "code" tags. :)

Oh, and mask out your imei number as well in the output I requested.

And a good rule of thumb with Moto stock images, perform a factory reset in the stock recovery before flashing. It usually doesn't matter, but it can make a difference when your userdata is wacked out (which yours appears to be).

Thank you @acejavelin

Here's the output you had asked for. Yes, I had masked the IMEI number.

Code:
G:\SOFTWARE\Herramientas ADB\platform-tools>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8953-C0.C5
(bootloader) product: potter
(bootloader) board: potter
(bootloader) secure: yes
(bootloader) hwrev: P3B
(bootloader) radio: 6
(bootloader) storage-type: emmc
(bootloader) emmc: 32GB SKHYNIX HBG4a2 RV=08 PV=A5 FV=00000000000000A5
(bootloader) ram: 4GB SKHYNIX LP3 DIE=8Gb M5=06 M6=03 M7=00 M8=5F
(bootloader) cpu: MSM8953
(bootloader) serialno: ZY223Z7XPX
(bootloader) cid: 0x0000
(bootloader) channelid: 0x00
(bootloader) uid: 4EA07FFB00000000000000000000
(bootloader) securestate: flashing_unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 536870912
(bootloader) reason: Volume down key pressed
(bootloader) imei: 35895XXXXXXXXXX
(bootloader) meid:
(bootloader) date: 04-19-2017
(bootloader) sku: XT1686
(bootloader) battid:
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Mon Jan  5 22:18:33 UTC 1970"
(bootloader) ro.build.fingerprint[0]: motorola/potter_n/potter_n:7.0/NPN
(bootloader) ro.build.fingerprint[1]: 25.137-15/14:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.25.11.14.potter.reta
(bootloader) ro.build.version.full[1]: il.en.US
(bootloader) ro.build.version.qcom: LA.UM.5.6.r1-01900-89xx.0
(bootloader) version-baseband[0]: M8953_8000.128.06.42R POTTER_INDIADSDS
(bootloader) version-baseband[1]: _CUST
(bootloader) kernel.version[0]: Linux version 3.18.31-perf-g708ac5e (hud
(bootloader) kernel.version[1]: [email protected]) (gcc version 4.9 201501
(bootloader) kernel.version[2]: 23 (prerelease) (GCC) ) #1 SMP PREEMPT T
(bootloader) kernel.version[3]: hu Jan 12 12:24:19 CST 2017
(bootloader) sbl1.git: git=MBM-NG-VC0.C5-0-g98be833
(bootloader) rpm.git: git=MBM-NG-VC0.C5-0-g5578f74
(bootloader) tz.git: git=MBM-NG-VC0.C5-0-g3d71f29
(bootloader) devcfg.git: git=MBM-NG-VC0.C5-0-g3d71f29
(bootloader) keymaster.git: git=MBM-NG-VC0.C5-0-g3d71f29
(bootloader) cmnlib.git: git=MBM-NG-VC0.C5-0-g3d71f29
(bootloader) cmnlib64.git: git=MBM-NG-VC0.C5-0-g3d71f29
(bootloader) prov.git: git=MBM-NG-VC0.C5-0-g3d71f29
(bootloader) aboot.git: git=MBM-NG-VC0.C5-0-g99aa1c1
(bootloader) qe: qe 0/0
(bootloader) frp-state: no protection (err)
(bootloader) ro.carrier: retin
all: listed above
finished. total time: 0.066s

G:\SOFTWARE\Herramientas ADB\platform-tools>

As you suggested that I'd better be performing a factory reset in the stock recovery before flashing, could you please tell me how?
 

acejavelin

Recognized Contributor
Sep 3, 2009
6,835
3,318
Lincoln, ND
Thank you @acejavelin

Here's the output you had asked for. Yes, I had masked the IMEI number.



As you suggested that I'd better be performing a factory reset in the stock recovery before flashing, could you please tell me how?
Did you flash a Latin America ROM at one time? You getvar output shows you have LA firmware on a Indian device... Are you flashing the correct firmware image?
 
  • Like
Reactions: PSMDRT
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 28
    Disclaimer :
    Code:
     I am not responsible for bricked devices, dead SD cards,
     thermonuclear war, or you getting fired because the alarm app failed. 
     YOU are choosing to make these modifications,
     and if you point the finger at me for messing up your device, I will laugh at you.
     and[COLOR="Red"] I am also not responsible for anything happens as a result of flashing these files[/COLOR]

    Hey Guys,
    Here are the Stock Firmwares for potter


    Lets Proceed :

    1) Install Minimal ADB and Fastboot
    https://www.androidfilehost.com/?fid=745425885120698566

    2) Extract stock firmware zip

    3) Now copy all the stuff that is in this zip into the folder where you extract the firmware.

    4) Turn on ADB debugging from dev options menu and use 'adb reboot-bootloader' (Without quotes) in cmd to reboot your phone into boot-loader mode

    5) Open the extracted firmware folder then press SHIFT+right click in the folder where you extract the firmware and select 'open command window here' option

    6) and then Paste the following commands and hit Enter :

    Code:
    fastboot oem fb_mode_set
    fastboot flash partition gpt.bin
    fastboot flash bootloader bootloader.img
    fastboot flash logo logo.bin
    fastboot flash boot boot.img
    fastboot flash recovery recovery.img
    fastboot flash dsp adspso.bin
    fastboot flash oem oem.img
    fastboot flash system system.img_sparsechunk.0
    fastboot flash system system.img_sparsechunk.1
    fastboot flash system system.img_sparsechunk.2
    fastboot flash system system.img_sparsechunk.3
    fastboot flash system system.img_sparsechunk.4
    fastboot flash modem NON-HLOS.bin
    fastboot erase modemst1
    fastboot erase modemst2
    fastboot flash fsg fsg.mbn
    fastboot erase cache
    fastboot erase userdata
    fastboot erase customize
    fastboot erase clogo
    fastboot oem fb_mode_clear
    fastboot reboot

    This Script will not Re-Lock Your Boot-loader


    But if you want to Re-lock your bootloader, then use the following commands: (Thanks to @Nirbhay2 and @aSaro12)
    Code:
    fastboot oem lock
    fastboot oem lock
    fastboot flash oem oem.img
    fastboot flash system system.img_sparsechunk.0
    fastboot flash system system.img_sparsechunk.1
    fastboot flash system system.img_sparsechunk.2
    fastboot flash system system.img_sparsechunk.3
    fastboot flash system system.img_sparsechunk.4
    fastboot flash boot boot.img
    fastboot oem lock
    And After Flashing it Please Re-flash the whole firmware again :
    Code:
    fastboot oem fb_mode_set
    fastboot flash partition gpt.bin
    fastboot flash bootloader bootloader.img
    fastboot flash logo logo.bin
    fastboot flash boot boot.img
    fastboot flash recovery recovery.img
    fastboot flash dsp adspso.bin
    fastboot flash oem oem.img
    fastboot flash system system.img_sparsechunk.0
    fastboot flash system system.img_sparsechunk.1
    fastboot flash system system.img_sparsechunk.2
    fastboot flash system system.img_sparsechunk.3
    fastboot flash system system.img_sparsechunk.4
    fastboot flash modem NON-HLOS.bin
    fastboot erase modemst1
    fastboot erase modemst2
    fastboot flash fsg fsg.mbn
    fastboot erase cache
    fastboot erase userdata
    fastboot erase customize
    fastboot erase clogo
    fastboot oem fb_mode_clear
    fastboot reboot
    But if you Don't want to do it manually, Here's the automated BAT script for you;
    Just copy and paste it to the extracted folder (Thanks to @Tech_Savvy) : Download Here
    This Script will not Re-lock the Boot-loader

    ----

    You can Skip GPT and Boot-loader Partitions if you want
    But Keep in mind that You Cannot DOWNGRADE These 2 Partitions
    And if you try to do so, then you'll Possibly end up with HardBrick
    You will need the appropriate version of the firmware according to your device version
    SO PROCEED WITH CAUTION


    Firmware Download Links :

    1) NPN25.137-67-5 for XT1686 (Indian Varient)
    Download Directly from Motorola Servers
    Mirror 1 -pCloud
    Mirror 2 -Google Drive
    Mirror 3 -Dropbox
    ---
    2) NPN25.137-35-5 for all Amazon (US) variants : Link N/A
    and NPNS25.137-83 for Non-US Amazon Variant : Link N/A
    and for the Non-Amazon Variants NPN25.137-83 : Link N/A
    ---
    3) NPNS25.137-35-5 for Retail GB varient (Thanks to skooter32 for info) Link N/A
    And NPN25.137-83 : Link N/A
    ---
    4) NPN25.137-15 for Brazil-Mexico varient (XT1681 - XT1683) Link N/A
    -----

    Choose Carefully which one to flash


    Special Thanks to rikk and @anuraag.neo For Capturing Indian varient zip!​
    if you like my work then please hit that THANKS ? Button!
    2
    I got my phone hardbrick once. However after looking different forums and trying out things my phone came back to life. But when i try to flash stock rom, i just can't flash it as it keeps on saying can't downgrade. If i skip those 2 gpt and bootloader, can i flash the stock rom? Currently i am using twrp flashed firmware.

    You should be okay to flash the stock ROM without flashing GPT and bootloader, however I would suggest do not accept OTA updates. Accepting OTA updates whilst having a bootloader of a different patch level or from a different device (as in the unbrick guide) might hard brick you again. OTA updates are only suitable for devices that have the bootloader and system at the same patch level.

    Else, I'd suggest flashing a newer TWRP flashable firmware build, as these don't generally affect your bootloader and there appears to be a NPN25.137-67-5 build https://forum.xda-developers.com/g5-plus/development/rom-twrp-flashable-stock-builds-t3675616
    2
    currently i am on resurrection remix nougat android -7.1.2_r24 - NJH47D , kernal 3.18.62-lineage-g86cdbd9, device model XT1686. can i flash this firmware? i am downloading NPN25.137-67-5 for XT1686 (Indian Varient). i am from INDIA.

    Yes, you can Flash the following firmware :

    1
    This work on xt1687?

    Don't think so, the XT1687 should be the US variant of the G5 Plus, and the NPN25.137-67-5 is the Indian ROM.

    You probably want to look for the NPN25.137-83 stock ROM.
    1
    Thread closed at the request of the OP
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone