[GUIDE] - Relock Bootloader - Moto G5S Guides, News, & Discussion

Although having an unlocked bootloader is useful in many ways like flashing firmware (factory images), installing TWRP and getting root, but it can also lead to blocked services on your device due to security reasons and hence you you might want to relock bootloader to avail those services.
How to Relock Moto G5s Bootloader:
Things you need
Minimal ADB fastboot.
G5s latest version Firmware.
Steps:
1. Download Moto G5s Stock Firmware from below (in download section).
2. Install Motorola Driver and ADB Fastboot Driver on your PC.
3. Now extract stock firmware in ADB Fastboot folder.
4. Now, turn off your device and boot into bootloader by pressing volume down button +power button simultaneously.
5. Now, connect your device to your PC via a USB Cable.
6.Open a command prompt window and type the following commands:
--------------------------------------------------------------------------
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 system system.img_sparsechunk.5
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 oem lock
fastboot oem lock
If all goes well, you put the following code:
fastboot reboot.
enjoy! :good:

rssxda said:
Although having an unlocked bootloader is useful in many ways like flashing firmware (factory images), installing TWRP and getting root, but it can also lead to blocked services on your device due to security reasons and hence you you might want to relock bootloader to avail those services.
How to Relock Moto G5s Bootloader:
Things you need
Minimal ADB fastboot.
G5s latest version Firmware.
Steps:
1. Download Moto G5s Stock Firmware from below (in download section).
2. Install Motorola Driver and ADB Fastboot Driver on your PC.
3. Now extract stock firmware in ADB Fastboot folder.
4. Now, turn off your device and boot into bootloader by pressing volume down button +power button simultaneously.
5. Now, connect your device to your PC via a USB Cable.
6.Open a command prompt window and type the following commands:
--------------------------------------------------------------------------
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 system system.img_sparsechunk.5
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 oem lock
fastboot oem lock
If all goes well, you put the following code:
fastboot reboot.
enjoy! :good:
Click to expand...
Click to collapse
after finished flashing the stock firmware from LOS14, when I tried to relock the bootloader is says require a signed boot.img..
I'm using the latest April update firmware..

michael50310 said:
after finished flashing the stock firmware from LOS14, when I tried to relock the bootloader is says require a signed boot.img..
I'm using the latest April update firmware..
Click to expand...
Click to collapse
Same here

h3sh11 said:
Same here
Click to expand...
Click to collapse
Use the new June 1 patch to block the bootloader

rssxda said:
Use the new June 1 patch to block the bootloader
Click to expand...
Click to collapse
Link ?

h3sh11 said:
Link ?
Click to expand...
Click to collapse
Firmware completa do Moto G5s, Montana.
https://rsdsecure-cloud.motorola.co...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

rssxda said:
Firmware completa do Moto G5s, Montana.
https://rsdsecure-cloud.motorola.co...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Click to expand...
Click to collapse
Not work again
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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' (5179 KB)...
OKAY [ 0.187s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Committing 'bootloader.default.xml'
(bootloader) - flashing 'emmc_appsboot.mbn' to 'aboot'
(bootloader) - flashing 'rpm.mbn' to 'rpm'
(bootloader) - flashing 'tz.mbn' to 'tz'
(bootloader) - flashing 'devcfg.mbn' to 'devcfg'
(bootloader) - flashing 'cmnlib.mbn' to 'cmnlib'
(bootloader) - flashing 'cmnlib64.mbn' to 'cmnlib64'
(bootloader) - flashing 'keymaster.mbn' to 'keymaster'
(bootloader) - flashing 'prov.mbn' to 'prov'
(bootloader) - flashing 'sbl1.mbn' to 'sbl1'
OKAY [ 0.764s]
finished. total time: 0.967s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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' (2195 KB)...
OKAY [ 0.094s]
writing 'logo'...
OKAY [ 0.140s]
finished. total time: 0.234s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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 [ 1.108s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [ 0.452s]
finished. total time: 1.576s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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' (16484 KB)...
OKAY [ 0.936s]
writing 'recovery'...
(bootloader) Image signed with key bad key
OKAY [ 0.499s]
finished. total time: 1.435s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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.562s]
writing 'dsp'...
OKAY [ 0.328s]
finished. total time: 0.905s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash oem oem.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotem: not found
target reported max download size of 536870912 bytes
sending 'oem' (476493 KB)...
OKAY [ 16.474s]
writing 'oem'...
OKAY [ 6.630s]
finished. total time: 23.135s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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' (513236 KB)...
OKAY [ 26.161s]
writing 'system'...
OKAY [ 7.722s]
finished. total time: 33.899s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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' (512334 KB)...
OKAY [ 25.756s]
writing 'system'...
OKAY [ 7.238s]
finished. total time: 32.994s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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' (522567 KB)...
OKAY [ 26.317s]
writing 'system'...
OKAY [ 8.268s]
finished. total time: 34.601s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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' (521649 KB)...
OKAY [ 26.224s]
writing 'system'...
OKAY [ 7.535s]
finished. total time: 33.774s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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' (481967 KB)...
OKAY [ 24.336s]
writing 'system'...
OKAY [ 6.880s]
finished. total time: 31.231s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.5
(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' (455792 KB)...
OKAY [ 22.807s]
writing 'system'...
OKAY [ 6.724s]
finished. total time: 29.546s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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' (66924 KB)...
OKAY [ 4.337s]
writing 'modem'...
OKAY [ 1.108s]
finished. total time: 5.460s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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.047s]
finished. total time: 0.047s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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.047s]
finished. total time: 0.047s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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' (3120 KB)...
OKAY [ 0.281s]
writing 'fsg'...
OKAY [ 0.140s]
finished. total time: 0.437s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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.218s]
finished. total time: 0.218s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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.031s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot oem fb_mode_clear
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
OKAY [ 0.172s]
finished. total time: 0.187s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot oem lock
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) WARNING: This command erases all user data.
(bootloader) Please re-run this command to continue.
OKAY [ 0.203s]
finished. total time: 0.203s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot oem lock
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) Check 'Allow OEM Unlock' in Android Settings > Developer
(bootloader) Options
OKAY [ 0.187s]
finished. total time: 0.187s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot reboot
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
rebooting...
finished. total time: 1.841s

h3sh11 said:
Not work again
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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' (5179 KB)...
OKAY [ 0.187s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Committing 'bootloader.default.xml'
(bootloader) - flashing 'emmc_appsboot.mbn' to 'aboot'
(bootloader) - flashing 'rpm.mbn' to 'rpm'
(bootloader) - flashing 'tz.mbn' to 'tz'
(bootloader) - flashing 'devcfg.mbn' to 'devcfg'
(bootloader) - flashing 'cmnlib.mbn' to 'cmnlib'
(bootloader) - flashing 'cmnlib64.mbn' to 'cmnlib64'
(bootloader) - flashing 'keymaster.mbn' to 'keymaster'
(bootloader) - flashing 'prov.mbn' to 'prov'
(bootloader) - flashing 'sbl1.mbn' to 'sbl1'
OKAY [ 0.764s]
finished. total time: 0.967s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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' (2195 KB)...
OKAY [ 0.094s]
writing 'logo'...
OKAY [ 0.140s]
finished. total time: 0.234s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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 [ 1.108s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [ 0.452s]
finished. total time: 1.576s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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' (16484 KB)...
OKAY [ 0.936s]
writing 'recovery'...
(bootloader) Image signed with key bad key
OKAY [ 0.499s]
finished. total time: 1.435s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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.562s]
writing 'dsp'...
OKAY [ 0.328s]
finished. total time: 0.905s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash oem oem.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotem: not found
target reported max download size of 536870912 bytes
sending 'oem' (476493 KB)...
OKAY [ 16.474s]
writing 'oem'...
OKAY [ 6.630s]
finished. total time: 23.135s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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' (513236 KB)...
OKAY [ 26.161s]
writing 'system'...
OKAY [ 7.722s]
finished. total time: 33.899s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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' (512334 KB)...
OKAY [ 25.756s]
writing 'system'...
OKAY [ 7.238s]
finished. total time: 32.994s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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' (522567 KB)...
OKAY [ 26.317s]
writing 'system'...
OKAY [ 8.268s]
finished. total time: 34.601s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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' (521649 KB)...
OKAY [ 26.224s]
writing 'system'...
OKAY [ 7.535s]
finished. total time: 33.774s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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' (481967 KB)...
OKAY [ 24.336s]
writing 'system'...
OKAY [ 6.880s]
finished. total time: 31.231s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.5
(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' (455792 KB)...
OKAY [ 22.807s]
writing 'system'...
OKAY [ 6.724s]
finished. total time: 29.546s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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' (66924 KB)...
OKAY [ 4.337s]
writing 'modem'...
OKAY [ 1.108s]
finished. total time: 5.460s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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.047s]
finished. total time: 0.047s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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.047s]
finished. total time: 0.047s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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' (3120 KB)...
OKAY [ 0.281s]
writing 'fsg'...
OKAY [ 0.140s]
finished. total time: 0.437s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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.218s]
finished. total time: 0.218s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>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.031s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot oem fb_mode_clear
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
OKAY [ 0.172s]
finished. total time: 0.187s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot oem lock
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) WARNING: This command erases all user data.
(bootloader) Please re-run this command to continue.
OKAY [ 0.203s]
finished. total time: 0.203s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot oem lock
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) Check 'Allow OEM Unlock' in Android Settings > Developer
(bootloader) Options
OKAY [ 0.187s]
finished. total time: 0.187s
C:\Users\Usuario\Desktop\MONTANA_NPPS26.102-49-11_cid50_subsidy-DEFAULT_regulato
ry-DEFAULT_CFC.xml>fastboot reboot
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
rebooting...
finished. total time: 1.841s
Click to expand...
Click to collapse
Active OEM unlocing...
And flash now

rssxda said:
Firmware completa do Moto G5s, Montana.
https://rsdsecure-cloud.motorola.co...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Click to expand...
Click to collapse
I tried the latest June patch but still no luck...
keep showing this : (bootloader) Image signed with key bad key while flashing boot.img and recovery.img
And when it comes to command "erase customize" and "erase clogo", it giving me this error:
(bootloader) Permission denied
FAILED (remote failure)
Please help me! Thank you so much for the file!

rssxda said:
Active OEM unlocing...
And flash now
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Didn't Work

michael50310 said:
I tried the latest June patch but still no luck...
keep showing this : (bootloader) Image signed with key bad key while flashing boot.img and recovery.img
And when it comes to command "erase customize" and "erase clogo", it giving me this error:
(bootloader) Permission denied
FAILED (remote failure)
Please help me! Thank you so much for the file!
Click to expand...
Click to collapse
erase customize" and "erase clogo", doesn't work and so they show error message what are commands u have used for locking bootloader

rizwan.mahai said:
Didn't Work
Click to expand...
Click to collapse
use this txt file to relock bootloader it surely works, all the best.

rssxda said:
Although having an unlocked bootloader is useful in many ways like flashing firmware (factory images), installing TWRP and getting root, but it can also lead to blocked services on your device due to security reasons and hence you you might want to relock bootloader to avail those services.
How to Relock Moto G5s Bootloader:
Things you need
Minimal ADB fastboot.
G5s latest version Firmware.
Steps:
1. Download Moto G5s Stock Firmware from below (in download section).
2. Install Motorola Driver and ADB Fastboot Driver on your PC.
3. Now extract stock firmware in ADB Fastboot folder.
4. Now, turn off your device and boot into bootloader by pressing volume down button +power button simultaneously.
5. Now, connect your device to your PC via a USB Cable.
6.Open a command prompt window and type the following commands:
--------------------------------------------------------------------------
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 system system.img_sparsechunk.5
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 oem lock
fastboot oem lock
If all goes well, you put the following code:
fastboot reboot.
enjoy! :good:
Click to expand...
Click to collapse
This commands doesn't work to relock bootloader
here are the commands that will relock the bootloader
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 system system.img_sparsechunk.5
fastboot flash boot boot.img
fastboot oem lock
Thanks

Talwar sridhar said:
This commands doesn't work to relock bootloader
here are the commands that will relock the bootloader
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 system system.img_sparsechunk.5
fastboot flash boot boot.img
fastboot oem lock
Thanks
Click to expand...
Click to collapse
YES the command WORKS! finally back to stock..
But one question here, in my fastboot it still shows my software status is modified..
Is there any chance to fix it? I've flash the June patch...
If I already relock the bootloader but remain the software status as modified, will it affect my Google Pay/Play Store Protect?
I just really need Google Pay to work on my phone... thanks to EVERYONE who've helped me!

michael50310 said:
YES the command WORKS! finally back to stock..
But one question here, in my fastboot it still shows my software status is modified..
Is there any chance to fix it? I've flash the June patch...
If I already relock the bootloader but remain the software status as modified, will it affect my Google Pay/Play Store Protect?
I just really need Google Pay to work on my phone... thanks to EVERYONE who've helped me!
Click to expand...
Click to collapse
I got the same problem and I have solved it now
This is how I changed my bootloader status to official
https://forum.xda-developers.com/moto-g5s/help/solution-how-to-status-modified-to-t3753757

Won't this reinstall the whole rom once again ?
Talwar sridhar said:
use this txt file to relock bootloader it surely works, all the best.
Click to expand...
Click to collapse
I flashed the stock rom yesterday but the device bootloader is still unlocked. I thought there's no way to relock the bootloader so I copied my backed up photos and apps from pc to phone and started using the device with unlocked bootloader. So if I use your commands won't this reinstall the whole rom once again ?

Rough
I have tried all of these and my bootloader is still unlocked. I run command fastboot reboot and I still get the annoying ass message from motorola telling me I have a bad id key and that the device is unsafe. Any new help?

rssxda said:
Firmware completa do Moto G5s, Montana.
https://rsdsecure-cloud.motorola.co...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Click to expand...
Click to collapse
Does this work on the brazilian Xt1792 model?
Can I flash this upon the latest July patch?
Do I need mfastboot or can it be the standard fastboot executable?

freeZbies said:
Does this work on the brazilian Xt1792 model?
Can I flash this upon the latest July patch?
Do I need mfastboot or can it be the standard fastboot executable?
Click to expand...
Click to collapse
essa é a rom stock brasileira, this is the brazilian stock rom.
sim você pode flashear o patch de julho, yes u can flash the july patch
acho que pode usar o fastboot normal, i think u can just use the standard fastboot
---------- Post added at 04:55 PM ---------- Previous post was at 04:52 PM ----------
rssxda said:
Although having an unlocked bootloader is useful in many ways like flashing firmware (factory images), installing TWRP and getting root, but it can also lead to blocked services on your device due to security reasons and hence you you might want to relock bootloader to avail those services.
How to Relock Moto G5s Bootloader:
Things you need
Minimal ADB fastboot.
G5s latest version Firmware.
Steps:
1. Download Moto G5s Stock Firmware from below (in download section).
2. Install Motorola Driver and ADB Fastboot Driver on your PC.
3. Now extract stock firmware in ADB Fastboot folder.
4. Now, turn off your device and boot into bootloader by pressing volume down button +power button simultaneously.
5. Now, connect your device to your PC via a USB Cable.
6.Open a command prompt window and type the following commands:
--------------------------------------------------------------------------
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 system system.img_sparsechunk.5
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 oem lock
fastboot oem lock
If all goes well, you put the following code:
fastboot reboot.
enjoy! :good:
Click to expand...
Click to collapse
this commands doesn't work 4 me.. i use that:
fastboot devices
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 system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot flash logo logo.bin
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 system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash boot boot.img
fastboot oem lock
fastboot reboot

Related

[Q] Bricked moto g xt1068 won't flash anything from fastboot, help!

Hello, my moto g xt1068 was in a bootloop, I've tried to flash back a stock firmware but it always give me an error like this "(bootloader) | Failed to erase partition (bootloader) Failed to flash partition logo | FAILED (remote failure)" and now it has only the "AP fastboot flash mode", no system and no recovery.
Some more info:
- My bootloader is unlocked;
- I can't boot any recovery using fastboot boot command, I got the error "Incomplete boot image for booting" (cwm,twrp, stock)
- My partitions are "raw" I suspect this is the main problem
- I've tried using windows and osx
- I've tried using fastboot and mfastboot
- I'm not able to use RSD lite, it' doesn't recognize my device
- I've tried a lot of stock firmware, no difference
Please help me, there is anything else to try? Is my phone dead (maybe emmc failure)?
Here is the output of fastboot getvar all:
HTML:
(bootloader) version: 0.5
(bootloader) version-bootloader: 4882(*)
(bootloader) product: titan
(bootloader) secure: yes
(bootloader) hwrev: 0x8400
(bootloader) radio: 0x5
(bootloader) emmc: 8GB Sandisk REV=06 PRV=07 TYPE=17
(bootloader) ram: 1024MB Samsung S4 SDRAM DIE=4Gb
(bootloader) cpu: MSM8226 CS
(bootloader) serialno: ZX1D223XTZ
(bootloader) cid: 0x0007
(bootloader) channelid: 0x45
(bootloader) uid: 233A12050F000000000000000000
(bootloader) securestate: unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) mot_sst: 3
(bootloader) max-download-size: 536870912
(bootloader) reason: UTAG "flashfail" configured as fastboot
(bootloader) imei: 353321068993768
(bootloader) meid:
(bootloader) date: 09-13-2014
(bootloader) sku: XT1068
(bootloader) battid: (null)
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Sat Jan 24 15:41:58 UTC 2015"
(bootloader) ro.build.fingerprint[0]: motorola/titan_retde/titan_umtsds:
(bootloader) ro.build.fingerprint[1]: 5.0.2/LXB22.46-28.1/1:user/release
(bootloader) ro.build.fingerprint[2]: -keys
(bootloader) ro.build.version.full[0]: Blur_Version.22.26.1.titan_retde.
(bootloader) ro.build.version.full[1]: retdeall.en.DE
(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.045
(bootloader) version-baseband:
(bootloader) kernel.version[0]: Linux version 3.4.42-gdd242b0 ([email protected]
(bootloader) kernel.version[1]: ilclbld53) (gcc version 4.8 (GCC) ) #1 S
(bootloader) kernel.version[2]: MP PREEMPT Fri Jan 23 13:23:41 CST 2015
(bootloader) sdi.git: git=MBM-NG-V48.82-0-gdc5aeaf
(bootloader) sbl1.git: git=MBM-NG-V48.82-0-g7e74e90
(bootloader) rpm.git: git=MBM-NG-V48.82-0-g20516c3-dirty
(bootloader) tz.git: git=MBM-NG-V48.82-0-g72f9f12
(bootloader) aboot.git: git=MBM-NG-V48.82-0-ge004609
(bootloader) partition-type: raw
(bootloader) partition-size:
(bootloader) qe: qe 0/0
(bootloader) productid: ZX1D223XTZ
(bootloader) sutinfo:
(bootloader) ro.carrier: retde
all: listed above
finished. total time: 0.085s
This is technically not an answer....
Which ROM where you using when your phone began boot looping (stock or custom). What you should have done was try a complete factory reset(did this a couple of times to my xt1068 when it was in boot loop). Can i ask the names of the stock firmware you used (the full information about them) and the commands you used. Let me see if i can help you
sagar846 said:
Which ROM where you using when your phone began boot looping (stock or custom). What you should have done was try a complete factory reset(did this a couple of times to my xt1068 when it was in boot loop). Can i ask the names of the stock firmware you used (the full information about them) and the commands you used. Let me see if i can help you
Click to expand...
Click to collapse
Thank you for your answer.
I had a stock firmware 5.02 with stock recovery, can't remember the exact version but i guess it was the "retde" one
I tried to wipe cache and userdata but it won't get out of the boot loop (did you mean this by full factory reset?)
I've tried RETAILDSDSALL_XT1068_5.0.2_LXB22.46-28_cid7_CFC.xml,Retaildsdsall_XT1068_5.0.2_LXB22.99-16_Easy_Installer, RETAILDSDSALL_EU_XT1068_5.0.2_LXB22.46-28_cid7_CFC.xml, RETAILDSDSALL_XT1068_4.4.4_KXB21.85-14_cid7_CFC_SVC.xml, XT1068_4.4.4_DSDS_ALL.23_Easy_Installerand and even RETUGLB_XT1063_5.0.2_LXB22.46-28_cid9_CFC.xml
I tried also some variation on the fastboot commands but mainly like this:
HTML:
mfastboot.exe oem fb_mode_set
mfastboot.exe flash partition gpt.bin
mfastboot.exe flash motoboot motoboot.img
mfastboot.exe flash logo logo.bin
mfastboot.exe flash boot boot.img
mfastboot.exe flash recovery recovery.img
mfastboot.exe flash system system.img_sparsechunk.0
mfastboot.exe flash system system.img_sparsechunk.1
mfastboot.exe flash system system.img_sparsechunk.2
mfastboot.exe flash system system.img_sparsechunk.3
mfastboot.exe flash system system.img_sparsechunk.4
mfastboot.exe flash modem NON-HLOS.bin
mfastboot.exe erase modemst1
mfastboot.exe erase modemst2
mfastboot.exe flash fsg fsg.mbn
mfastboot.exe erase cache
mfastboot.exe erase userdata
mfastboot.exe oem fb_mode_clear
mfastboot.exe reboot
kesy85 said:
Thank you for your answer.
I had a stock firmware 5.02 with stock recovery, can't remember the exact version but i guess it was the "retde" one
I tried to wipe cache and userdata but it won't get out of the boot loop (did you mean this by full factory reset?)
I've tried RETAILDSDSALL_XT1068_5.0.2_LXB22.46-28_cid7_CFC.xml,Retaildsdsall_XT1068_5.0.2_LXB22.99-16_Easy_Installer, RETAILDSDSALL_EU_XT1068_5.0.2_LXB22.46-28_cid7_CFC.xml, RETAILDSDSALL_XT1068_4.4.4_KXB21.85-14_cid7_CFC_SVC.xml, XT1068_4.4.4_DSDS_ALL.23_Easy_Installerand and even RETUGLB_XT1063_5.0.2_LXB22.46-28_cid9_CFC.xml
I tried also some variation on the fastboot commands but mainly like this:
HTML:
mfastboot.exe oem fb_mode_set
mfastboot.exe flash partition gpt.bin
mfastboot.exe flash motoboot motoboot.img
mfastboot.exe flash logo logo.bin
mfastboot.exe flash boot boot.img
mfastboot.exe flash recovery recovery.img
mfastboot.exe flash system system.img_sparsechunk.0
mfastboot.exe flash system system.img_sparsechunk.1
mfastboot.exe flash system system.img_sparsechunk.2
mfastboot.exe flash system system.img_sparsechunk.3
mfastboot.exe flash system system.img_sparsechunk.4
mfastboot.exe flash modem NON-HLOS.bin
mfastboot.exe erase modemst1
mfastboot.exe erase modemst2
mfastboot.exe flash fsg fsg.mbn
mfastboot.exe erase cache
mfastboot.exe erase userdata
mfastboot.exe oem fb_mode_clear
mfastboot.exe reboot
Click to expand...
Click to collapse
when you type the fastboot comand: fastboot devices, what's written on the screen?
dani.galla said:
when you type the fastboot comand: fastboot devices, what's written on the screen?
Click to expand...
Click to collapse
Only the serial number followed by fastboot, but I think it's right, no?
ZX1D223XTZ fastboot
kesy85 said:
Only the serial number followed by fastboot, but I think it's right, no?
ZX1D223XTZ fastboot
Click to expand...
Click to collapse
Yes, right, means that the computer recognizes the phone.
When you flash stock via fastboot, gives you errors?
Have you tried with the easy installer tool? (this: http://forum.xda-developers.com/moto-g-2014/general/official-stock-firmware-5-0-2-lxb22-46-t3019612)
dani.galla said:
Yes, right, means that the computer recognizes the phone.
When you flash stock via fastboot, gives you errors?
Have you tried with the easy installer tool? (this: http://forum.xda-developers.com/moto-g-2014/general/official-stock-firmware-5-0-2-lxb22-46-t3019612)
Click to expand...
Click to collapse
yes to both the questions.
I've tried also using easy installer but it's simply a .bat file containing the same commands I manually use.
And i've got this errors while flashing stock firmware:
HTML:
mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.027s]
writing 'partition'...
OKAY [ 0.324s]
finished. total time: 0.351s
mfastboot flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (2184 KB)...
OKAY [ 0.101s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) flashing rpm ...
(bootloader) Failed to erase partition
(bootloader) Failed to flash rpm
FAILED (remote failure)
finished. total time: 100.186s
mfastboot flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (697 KB)...
OKAY [ 5.028s]
writing 'logo'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition logo
FAILED (remote failure)
finished. total time: 19.988s
mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10200 KB)...
OKAY [ 5.325s]
writing 'boot'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition boot
FAILED (remote failure)
finished. total time: 10.344s
mfastboot flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (10280 KB)...
OKAY [ 5.334s]
writing 'recovery'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 10.358s
mfastboot flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
sending 'system' (257619 KB)...
OKAY [ 13.069s]
writing 'system'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 18.137s
mfastboot flash system system.img_sparsechunk.1
target max-sparse-size: 256MB
sending 'system' (256618 KB)...
OKAY [ 13.045s]
writing 'system'...
(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 18.140s
mfastboot flash system system.img_sparsechunk.2
target max-sparse-size: 256MB
sending 'system' (260464 KB)...
^[[AOKAY [ 13.159s]
writing 'system'...
^[[A(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 18.237s
mfastboot flash system system.img_sparsechunk.2
target max-sparse-size: 256MB
sending 'system' (260464 KB)...
OKAY [ 13.164s]
writing 'system'...
(bootloader) Failed to validate sparse image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 13.246s
mfastboot flash system system.img_sparsechunk.3
target max-sparse-size: 256MB
sending 'system' (244081 KB)...
OKAY [ 12.647s]
writing 'system'...
(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 17.689s
mfastboot flash system system.img_sparsechunk.4
target max-sparse-size: 256MB
sending 'system' (36088 KB)...
OKAY [ 6.149s]
writing 'system'...
(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 11.178s
mfastboot flash modem NON-HLOS.bin
target max-sparse-size: 256MB
sending 'modem' (49356 KB)...
OKAY [ 6.558s]
writing 'modem'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition modem
FAILED (remote failure)
finished. total time: 11.584s
mfastboot erase modemst1
erasing 'modemst1'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 9.987s
mfastboot erase modemst2
erasing 'modemst2'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 9.992s
mfastboot erase cache
erasing 'cache'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 9.986s
mfastboot erase userdata
erasing 'userdata'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 9.986s
kesy85 said:
yes to both the questions.
I've tried also using easy installer but it's simply a .bat file containing the same commands I manually use.
And i've got this errors while flashing stock firmware:
HTML:
mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.027s]
writing 'partition'...
OKAY [ 0.324s]
finished. total time: 0.351s
mfastboot flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (2184 KB)...
OKAY [ 0.101s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) flashing rpm ...
(bootloader) Failed to erase partition
(bootloader) Failed to flash rpm
FAILED (remote failure)
finished. total time: 100.186s
mfastboot flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (697 KB)...
OKAY [ 5.028s]
writing 'logo'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition logo
FAILED (remote failure)
finished. total time: 19.988s
mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10200 KB)...
OKAY [ 5.325s]
writing 'boot'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition boot
FAILED (remote failure)
finished. total time: 10.344s
mfastboot flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (10280 KB)...
OKAY [ 5.334s]
writing 'recovery'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 10.358s
mfastboot flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
sending 'system' (257619 KB)...
OKAY [ 13.069s]
writing 'system'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 18.137s
mfastboot flash system system.img_sparsechunk.1
target max-sparse-size: 256MB
sending 'system' (256618 KB)...
OKAY [ 13.045s]
writing 'system'...
(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 18.140s
mfastboot flash system system.img_sparsechunk.2
target max-sparse-size: 256MB
sending 'system' (260464 KB)...
^[[AOKAY [ 13.159s]
writing 'system'...
^[[A(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 18.237s
mfastboot flash system system.img_sparsechunk.2
target max-sparse-size: 256MB
sending 'system' (260464 KB)...
OKAY [ 13.164s]
writing 'system'...
(bootloader) Failed to validate sparse image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 13.246s
mfastboot flash system system.img_sparsechunk.3
target max-sparse-size: 256MB
sending 'system' (244081 KB)...
OKAY [ 12.647s]
writing 'system'...
(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 17.689s
mfastboot flash system system.img_sparsechunk.4
target max-sparse-size: 256MB
sending 'system' (36088 KB)...
OKAY [ 6.149s]
writing 'system'...
(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 11.178s
mfastboot flash modem NON-HLOS.bin
target max-sparse-size: 256MB
sending 'modem' (49356 KB)...
OKAY [ 6.558s]
writing 'modem'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition modem
FAILED (remote failure)
finished. total time: 11.584s
mfastboot erase modemst1
erasing 'modemst1'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 9.987s
mfastboot erase modemst2
erasing 'modemst2'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 9.992s
mfastboot erase cache
erasing 'cache'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 9.986s
mfastboot erase userdata
erasing 'userdata'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 9.986s
Click to expand...
Click to collapse
Everything failed, very strange.
Try to update your drivers, and the try to flash again.
If you can, try with an other computer, and an other cable data.
dani.galla said:
Everything failed, very strange.
Try to update your drivers, and the try to flash again.
If you can, try with an other computer, and an other cable data.
Click to expand...
Click to collapse
Already did this, 1 windows 8.1 PC, 1 windows 10 PC, 1 virtual windows 7 pc, 1 mac book osx 10.10, drivers from motorola, multiple data cables, single adb and composite adb no difference
Small update, managed to get rsd lite to work but no difference, flash fails anyway.
and there is the full output of easy installer:
HTML:
FIRMWARE Auto Restore Script by Gary J Wright
MOTO G 2nd GEN Lollipop 5.0.2 FIRMWARE Flashe
Plug in USB CABLE and Put Phone in AP FASTBOO
Premere un tasto per continuare . . .
* server not running *
* daemon not running. starting it now on port
* daemon started successfully *
To cancel Unplug and Close program
Press any key to continue
erasing 'userdata'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 99.122s
FLASHING PARTITIONS.
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 4.992s]
writing 'partition'...
(bootloader) Failed to write primary GPT.
(bootloader) Failed to program partition tabl
FAILED (remote failure)
finished. total time: 10.265s
FLASHING BOOT LOADER..
target max-sparse-size: 256MB
sending 'motoboot' (2184 KB)...
OKAY [ 5.086s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) Failed to erase partition
(bootloader) Failed to flash tz
FAILED (remote failure)
finished. total time: 10.936s
FLASHING LOGO...
target max-sparse-size: 256MB
sending 'logo' (697 KB)...
OKAY [ 5.023s]
writing 'logo'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition logo
FAILED (remote failure)
finished. total time: 19.999s
FLASHING BOOT....
target max-sparse-size: 256MB
sending 'boot' (10200 KB)...
OKAY [ 5.351s]
writing 'boot'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition boot
FAILED (remote failure)
finished. total time: 10.374s
FLASHING RECOVERY.....
target max-sparse-size: 256MB
sending 'recovery' (10280 KB)...
OKAY [ 5.335s]
writing 'recovery'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recove
FAILED (remote failure)
finished. total time: 10.374s
FLASHING SYSTEM IMAGE IN MULTIPLE SECTIONS...
target max-sparse-size: 256MB
sending 'system' (257587 KB)...
OKAY [ 13.104s]
writing 'system'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 18.174s
target max-sparse-size: 256MB
sending 'system' (256626 KB)...
OKAY [ 13.135s]
writing 'system'...
(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 18.268s
target max-sparse-size: 256MB
sending 'system' (257136 KB)...
OKAY [ 13.104s]
writing 'system'...
(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 18.190s
target max-sparse-size: 256MB
sending 'system' (230052 KB)...
OKAY [ 12.324s]
writing 'system'...
(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 17.378s
target max-sparse-size: 256MB
sending 'system' (44584 KB)...
OKAY [ 6.614s]
writing 'system'...
(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 11.435s
FLASHING MODEM.......
target max-sparse-size: 256MB
sending 'modem' (49356 KB)...
OKAY [ 7.067s]
writing 'modem'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition modem
FAILED (remote failure)
finished. total time: 12.106s
erasing 'modemst1'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 10.000s
erasing 'modemst2'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 10.031s
target max-sparse-size: 256MB
sending 'fsg' (651 KB)...
OKAY [ 5.070s]
writing 'fsg'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition fsg
FAILED (remote failure)
finished. total time: 10.109s
ERASING CACHE ......
erasing 'cache'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 10.031s
ERASING USERDATA.......
erasing 'userdata'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 10.015s
DONE!.........PRESS ANY KEY TO REBOOT
Please help me :crying:
[/QUOTE]Please help me :crying:[/QUOTE]
Unfortunately this is an issue faced by a few users including myself, there is no solution at the moment and it seems that some people who have returned the phone to Motorola had to pay to have the motherboard replaced. Sorry
same problem here too, please Sir give solution
is there a solution yet? I have the same problem
Please help me :crying:[/QUOTE]
Unfortunately this is an issue faced by a few users including myself, there is no solution at the moment and it seems that some people who have returned the phone to Motorola had to pay to have the motherboard replaced. Sorry[/QUOTE]
Is there any solution for this thing till now?
---------- Post added at 11:34 AM ---------- Previous post was at 11:29 AM ----------
kesy85 said:
Hello, my moto g xt1068 was in a bootloop, I've tried to flash back a stock firmware but it always give me an error like this "(bootloader) | Failed to erase partition (bootloader) Failed to flash partition logo | FAILED (remote failure)" and now it has only the "AP fastboot flash mode", no system and no recovery.
Some more info:
- My bootloader is unlocked;
- I can't boot any recovery using fastboot boot command, I got the error "Incomplete boot image for booting" (cwm,twrp, stock)
- My partitions are "raw" I suspect this is the main problem
- I've tried using windows and osx
- I've tried using fastboot and mfastboot
- I'm not able to use RSD lite, it' doesn't recognize my device
- I've tried a lot of stock firmware, no difference
Please help me, there is anything else to try? Is my phone dead (maybe emmc failure)?
Here is the output of fastboot getvar all:
HTML:
(bootloader) version: 0.5
(bootloader) version-bootloader: 4882(*)
(bootloader) product: titan
(bootloader) secure: yes
(bootloader) hwrev: 0x8400
(bootloader) radio: 0x5
(bootloader) emmc: 8GB Sandisk REV=06 PRV=07 TYPE=17
(bootloader) ram: 1024MB Samsung S4 SDRAM DIE=4Gb
(bootloader) cpu: MSM8226 CS
(bootloader) serialno: ZX1D223XTZ
(bootloader) cid: 0x0007
(bootloader) channelid: 0x45
(bootloader) uid: 233A12050F000000000000000000
(bootloader) securestate: unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) mot_sst: 3
(bootloader) max-download-size: 536870912
(bootloader) reason: UTAG "flashfail" configured as fastboot
(bootloader) imei: 353321068993768
(bootloader) meid:
(bootloader) date: 09-13-2014
(bootloader) sku: XT1068
(bootloader) battid: (null)
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Sat Jan 24 15:41:58 UTC 2015"
(bootloader) ro.build.fingerprint[0]: motorola/titan_retde/titan_umtsds:
(bootloader) ro.build.fingerprint[1]: 5.0.2/LXB22.46-28.1/1:user/release
(bootloader) ro.build.fingerprint[2]: -keys
(bootloader) ro.build.version.full[0]: Blur_Version.22.26.1.titan_retde.
(bootloader) ro.build.version.full[1]: retdeall.en.DE
(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.045
(bootloader) version-baseband:
(bootloader) kernel.version[0]: Linux version 3.4.42-gdd242b0 ([email protected]
(bootloader) kernel.version[1]: ilclbld53) (gcc version 4.8 (GCC) ) #1 S
(bootloader) kernel.version[2]: MP PREEMPT Fri Jan 23 13:23:41 CST 2015
(bootloader) sdi.git: git=MBM-NG-V48.82-0-gdc5aeaf
(bootloader) sbl1.git: git=MBM-NG-V48.82-0-g7e74e90
(bootloader) rpm.git: git=MBM-NG-V48.82-0-g20516c3-dirty
(bootloader) tz.git: git=MBM-NG-V48.82-0-g72f9f12
(bootloader) aboot.git: git=MBM-NG-V48.82-0-ge004609
(bootloader) partition-type: raw
(bootloader) partition-size:
(bootloader) qe: qe 0/0
(bootloader) productid: ZX1D223XTZ
(bootloader) sutinfo:
(bootloader) ro.carrier: retde
all: listed above
finished. total time: 0.085s
Click to expand...
Click to collapse
Any update on this?
I have the same problem. Anybody solved it?
The first error appears, when flashing bootloader (motoboot.img). Your bootloader might prevent to be flashed or maybe downgraded?
Try flashing fastboot files and skip the motoboot.img step. I would recommend to flash in terminal step by step, don' t use this script. Flash files according to the content of Stock Rom folder.
mfastboot.exe flash partition gpt.bin
mfastboot.exe flash logo logo.bin
mfastboot.exe flash boot boot.img
mfastboot.exe flash recovery recovery.img
mfastboot.exe flash system system.img_sparsechunk.0
mfastboot.exe flash system system.img_sparsechunk.1
mfastboot.exe flash system system.img_sparsechunk.2
mfastboot.exe flash system system.img_sparsechunk.3
mfastboot.exe flash system system.img_sparsechunk.4
mfastboot.exe flash modem NON-HLOS.bin
mfastboot.exe erase modemst1
mfastboot.exe erase modemst2
mfastboot.exe flash fsg fsg.mbn
mfastboot.exe erase cache
mfastboot.exe erase userdata
RED files should be in your folder, sometimes there are less system.img_sparsechunk files
Go to terminal or power shell (as admin) and flash step by step
I did everything
mfastboot.exe flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 99.341s]
writing 'partition'...
(bootloader) Failed to write primary GPT.
(bootloader) Failed to program partition table
FAILED (remote failure)
finished. total time: 104.596s
mfastboot.exe format system
formatting 'system' partition...
Formatting is not supported for filesystem with type 'raw'.
FAILED ()
finished. total time: 0.006s
mfastboot.exe flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (697 KB)...
OKAY [ 5.025s]
writing 'logo'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition logo
FAILED (remote failure)
finished. total time: 19.983s
mfastboot.exe flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10200 KB)...
OKAY [ 5.327s]
writing 'boot'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition boot
FAILED (remote failure)
finished. total time: 10.717s
mfastboot.exe flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (10280 KB)...
OKAY [ 5.343s]
writing 'recovery'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 10.741s
mfastboot.exe flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
sending 'system' (257587 KB)...
OKAY [ 13.378s]
writing 'system'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 26.916s
mfastboot.exe flash modem NON-HLOS.bin
target max-sparse-size: 256MB
sending 'modem' (49356 KB)...
OKAY [ 6.694s]
writing 'modem'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition modem
FAILED (remote failure)
finished. total time: 11.725s
mfastboot.exe erase modemst1
erasing 'modemst1'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 9.991s
mfastboot.exe erase modemst2
erasing 'modemst2'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 9.983s
mfastboot.exe flash fsg fsg.mbn
target max-sparse-size: 256MB
sending 'fsg' (651 KB)...
OKAY [ 5.044s]
writing 'fsg'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition fsg
FAILED (remote failure)
finished. total time: 10.063s
mfastboot.exe erase cache
erasing 'cache'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 10.003s
mfastboot.exe erase userdata
erasing 'userdata'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 9.989s
But i get everything FAILED
Mayby i have problem with emmc?
please nothing solution? ita a hardware problem? not software problem?
cmcshm said:
please nothing solution? ita a hardware problem? not software problem?
Click to expand...
Click to collapse
If you connect the device to your PC as what is it shown? If not in Windows explorer in the control panel/device manager?
Sent from my Moto G 2014 using XDA Labs

Moto xt1079 failed to validate system image error

had got ota update of 6.0 n while installing the cell suddenly got shut down. n when i powered on it was booting in bootloader mode. even recovery mode isnt opening.tried flashing stock firmware as well as the 6.0 firmware but its not working. whereas my bootloader is locked.
Getvar info:-
PRODUCT : THEA
EMMC : 16GB SANDISK REV=07 PRV=01 TYPE=57
CID : 0X0007
BOOTLOADER : LOCKED
MODEL : XT1079
FINGERPRINT1 : 6
FINGERPRINT2 : .0/MPB24.65-34/29:USER/RELEASE-KEY
flashed XT1079_THEA_RETASIA_DS_6.0_MPB24.65-34_cid7_subsidy-DEFAULT_CFC.xml using this fastboot commands:-
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 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 system system.img_sparsechunk.5
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
n got these errors:-
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-slotartition: not found
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.078s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.427s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash bootloader bootlo
ader.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:bootloader: not found
error: cannot load 'bootloader.img'
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' (697 KB)...
OKAY [ 0.109s]
writing 'logo'...
OKAY [ 0.094s]
finished. total time: 0.205s
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' (10200 KB)...
OKAY [ 0.386s]
writing 'boot'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.880s
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' (10280 KB)...
OKAY [ 0.387s]
writing 'recovery'...
OKAY [ 0.739s]
finished. total time: 1.129s
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' (256869 KB)...
OKAY [ 8.170s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.575s
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' (257186 KB)...
OKAY [ 8.206s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.268s
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' (258973 KB)...
OKAY [ 8.377s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.455s
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' (261857 KB)...
OKAY [ 8.346s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.455s
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' (67184 KB)...
OKAY [ 2.184s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 2.246s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img
_sparsechunk.5
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
error: cannot load 'system.img_sparsechunk.5'
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash modem NON-HLOS.bi
n
(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' (60992 KB)...
OKAY [ 1.997s]
writing 'modem'...
OKAY [ 1.420s]
finished. total time: 3.416s
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.078s]
finished. total time: 0.078s
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.125s]
finished. total time: 0.125s
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' (120 KB)...
OKAY [ 0.109s]
writing 'fsg'...
OKAY [ 0.094s]
finished. total time: 0.203s
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.140s]
finished. total time: 0.140s
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.468s]
finished. total time: 0.468s
C:\Program Files (x86)\Minimal ADB and Fastboot>
pls help me
I am not 100% sure but I think the bootloader needs to be unlocked to be able to flash stock filmware via ADB
stonedpsycho said:
I am not 100% sure but I think the bootloader needs to be unlocked to be able to flash stock filmware via ADB
Click to expand...
Click to collapse
unlocked the bootloader but still facing the same problem. I think the problem is with the bootloader image. I want bootloader.img of xt1079
xt1079 moto g2 4g boot fail any one plz help
yeasterday iam try unlock bootloader sucessfully unlocked but when i relock bootloder it show boot up fail try to flash showgoing to error like {FAILED TO VALIDATE SYSTEM IMAGE}........ ANY ONE plz help me
Similar problem help me out
Me too having same problem for same model plzz help me out
variravitejareddy said:
yeasterday iam try unlock bootloader sucessfully unlocked but when i relock bootloder it show boot up fail try to flash showgoing to error like {FAILED TO VALIDATE SYSTEM IMAGE}........ ANY ONE plz help me
Click to expand...
Click to collapse
don't lock. re-unlock and flash system image. boot system. never relock again.
So, if you're still looking for a solution, I can give you one, but stupid... You need to download the TWRP backup for XT1068 and install it.
https://forum.xda-developers.com/moto-g-2014/general/moto-g-indian-xt1068-marshmellow-6-0-t3313148
Al least the phone will work, but you'll also face some problems like laggy auto-rotation (the picture will be upside down in landscape mode)
That means we should ask someone to make a backup of stock firmware (or at least stable LineageOS firmware) and restore it with TWRP.
Please, if anyone still has this phone (XT1078) on stock or any other firmware which WORKS make a backup and upload it to the internet.
:good::good:IT WOULD BE REALLY COOL, BECAUSE A LOT OF PEOPLE HAVE THIS PHONE AND THEY CAN'T FLASH ANY ROM WITH ERROR 7!!!:good::good:
A photo of succesfully restored device:
https://photos.app.goo.gl/shNVhtpJP4x432Sm6
Thank you.

[GUIDE][HARPIA]Relock Bootloader

Hello!
If you want to RELOCK your bootloader (Maybe the reason is you need tu use the warranty ) So you can use this kind of guide.
You Will need:
Fastboot.zip
The specific Firmware of your HARPIA
You can find that files in the following post:
POST
So we are ready to relock bootloader.
You Need to flash Again the Firmware so follow this commands in Command Prompt.
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 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 system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash oem oem.img
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 erase DDR
fastboot oem fb_mode_clear
fastboot oem lock
fastboot reboot
Click to expand...
Click to collapse
If you can see before to reboot the device We put the Command "fastboot oem lock" This Line lock the bootloader Again.
And Thats All is an easy Process.
Sorry for my bad english
There is no point in relock the bootloader, in addition to showing in the bootloader itself that it has been relocked, in the database of the motorola also shows that the device has already been unlocked, the warranty is lost upon the first bootloader unlock.
EmersonTR said:
There is no point in relock the bootloader, in addition to showing in the bootloader itself that it has been relocked, in the database of the motorola also shows that the device has already been unlocked, the warranty is lost upon the first bootloader unlock.
Click to expand...
Click to collapse
Yeah you are right but in my contry maybe in all the cases the people who works in the warranty or technical support don't have idea of what is a bootloader or whats is root so maybe in my country the things you say doesn't matter.
Zomboi said:
Yeah you are right but in my contry maybe in all the cases the people who works in the warranty or technical support don't have idea of what is a bootloader or whats is root so maybe in my country the things you say doesn't matter.
Click to expand...
Click to collapse
Correct I am in MX and the people at the store are idiots
My Movistar SIM stopped working suddenly and I am getting "Your SIM card does not allow a connection to this network" . So I decided to flash stock ROM and block bootloader before taking it to the store for troubleshooting
Thank you for your guide, I was able to get stock ROM installed but I still have the screen that says the bootloader has been unlocked. Here is what I got following your guide :
Code:
[email protected]:platform-tools # ./fastboot oem lock
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) Please run fastboot oem lock begin first!
OKAY [ 0.013s]
I tried other things :
Code:
[email protected]:platform-tools # ./fastboot oem lock begin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) Please fully flash the signed build before locking phone!
OKAY [ 0.030s]
finished. total time: 0.030s
[email protected]:platform-tools # ./fastboot oem lock
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) Please flash valid signed images just after lock begin
(bootloader) command!
OKAY [ 0.027s]
finished. total time: 0.027s
I still have the screen. I dont want to take it with that screen because they will ask questions and they will just say they can't fix anything because the bootloader is unblocked (even though that has nothing to do with it).
Any other ideas to remove that screen? What does it mean with "valid signed images"?
awebocarnal said:
Correct I am in MX and the people at the store are idiots
My Movistar SIM stopped working suddenly and I am getting "Your SIM card does not allow a connection to this network" . So I decided to flash stock ROM and block bootloader before taking it to the store for troubleshooting
Thank you for your guide, I was able to get stock ROM installed but I still have the screen that says the bootloader has been unlocked. Here is what I got following your guide :
Code:
[email protected]:platform-tools # ./fastboot oem lock
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) Please run fastboot oem lock begin first!
OKAY [ 0.013s]
I tried other things :
Code:
[email protected]:platform-tools # ./fastboot oem lock begin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) Please fully flash the signed build before locking phone!
OKAY [ 0.030s]
finished. total time: 0.030s
[email protected]:platform-tools # ./fastboot oem lock
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) Please flash valid signed images just after lock begin
(bootloader) command!
OKAY [ 0.027s]
finished. total time: 0.027s
I still have the screen. I dont want to take it with that screen because they will ask questions and they will just say they can't fix anything because the bootloader is unblocked (even though that has nothing to do with it).
Any other ideas to remove that screen? What does it mean with "valid signed images"?
Click to expand...
Click to collapse
So You Flash the firmware again? if you dont want the waring screen flash de logo.bin (file in other post)
Zomboi said:
So You Flash the firmware again? if you dont want the waring screen flash de logo.bin (file in other post)
Click to expand...
Click to collapse
Yes I flashed the stock firmware according to your guide and I used the commands according to your guide, including flash logo logo.bin
Code:
[email protected]:platform-tools # ./fastboot devices
ZY223RSFQW fastboot
[email protected]:platform-tools # ./fastboot oem fb_mode_set
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
OKAY [ 0.008s]
finished. total time: 0.008s
[email protected]:platform-tools # ./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 268435456 bytes
sending 'partition' (32 KB)...
OKAY [ 0.004s]
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.730s]
finished. total time: 0.734s
[email protected]:platform-tools # ./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 268435456 bytes
sending 'bootloader' (2546 KB)...
OKAY [ 0.084s]
writing 'bootloader'...
(bootloader) flashing sbl1 ...
(bootloader) flashing aboot ...
(bootloader) flashing tz ...
(bootloader) flashing hyp ...
(bootloader) flashing rpm ...
OKAY [ 1.652s]
finished. total time: 1.736s
[email protected]:platform-tools # ./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 268435456 bytes
sending 'logo' (1216 KB)...
OKAY [ 0.042s]
writing 'logo'...
OKAY [ 0.077s]
finished. total time: 0.119s
[email protected]:platform-tools # ./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 268435456 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.521s]
writing 'boot'...
OKAY [ 0.442s]
finished. total time: 0.963s
[email protected]:platform-tools # ./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 268435456 bytes
sending 'recovery' (16484 KB)...
OKAY [ 0.522s]
writing 'recovery'...
OKAY [ 0.446s]
finished. total time: 0.968s
[email protected]:platform-tools # ./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 268435456 bytes
sending 'system' (262141 KB)...
OKAY [ 8.229s]
writing 'system'...
OKAY [ 6.778s]
finished. total time: 15.007s
[email protected]:platform-tools # ./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 268435456 bytes
sending 'system' (260732 KB)...
OKAY [ 8.195s]
writing 'system'...
OKAY [ 6.673s]
finished. total time: 14.869s
[email protected]:platform-tools # ./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 268435456 bytes
sending 'system' (262142 KB)...
OKAY [ 8.232s]
writing 'system'...
OKAY [ 6.585s]
finished. total time: 14.817s
[email protected]:platform-tools # ./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 268435456 bytes
sending 'system' (244219 KB)...
OKAY [ 7.666s]
writing 'system'...
OKAY [ 6.227s]
finished. total time: 13.893s
[email protected]:platform-tools # ./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 268435456 bytes
sending 'system' (247022 KB)...
OKAY [ 7.757s]
writing 'system'...
OKAY [ 6.198s]
finished. total time: 13.955s
[email protected]:platform-tools # ./fastboot flash system system.img_sparsechunk.5
(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 268435456 bytes
sending 'system' (262141 KB)...
OKAY [ 8.239s]
writing 'system'...
OKAY [ 6.769s]
finished. total time: 15.008s
[email protected]:platform-tools # ./fastboot flash system system.img_sparsechunk.6
(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 268435456 bytes
sending 'system' (262142 KB)...
OKAY [ 8.237s]
writing 'system'...
OKAY [ 6.614s]
finished. total time: 14.851s
[email protected]:platform-tools # ./fastboot flash system system.img_sparsechunk.7
(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 268435456 bytes
sending 'system' (121236 KB)...
OKAY [ 3.810s]
writing 'system'...
OKAY [ 3.039s]
finished. total time: 6.849s
[email protected]:platform-tools # ./fastboot flash oem oem.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:oem: not found
target reported max download size of 268435456 bytes
sending 'oem' (122549 KB)...
OKAY [ 3.851s]
writing 'oem'...
OKAY [ 3.168s]
finished. total time: 7.019s
[email protected]:platform-tools # ./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 268435456 bytes
sending 'modem' (37056 KB)...
OKAY [ 1.166s]
writing 'modem'...
OKAY [ 1.020s]
finished. total time: 2.186s
[email protected]:platform-tools # ./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.017s]
finished. total time: 0.017s
[email protected]:platform-tools # ./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.014s]
finished. total time: 0.014s
[email protected]:platform-tools # ./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 268435456 bytes
sending 'fsg' (1500 KB)...
OKAY [ 0.050s]
writing 'fsg'...
OKAY [ 0.066s]
finished. total time: 0.116s
[email protected]:platform-tools # ./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.019s]
finished. total time: 0.019s
[email protected]:platform-tools # ./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.384s]
finished. total time: 0.384s
[email protected]:platform-tools # ./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'...
OKAY [ 0.013s]
finished. total time: 0.014s
[email protected]:platform-tools # ./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'...
OKAY [ 0.028s]
finished. total time: 0.028s
[email protected]:platform-tools # ./fastboot erase DDR
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:DDR: not found
erasing 'DDR'...
OKAY [ 0.010s]
finished. total time: 0.010s
[email protected]:platform-tools # ./fastboot oem fb_mode_clear
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
OKAY [ 0.008s]
finished. total time: 0.008s
[email protected]:platform-tools # ./fastboot oem lock
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) Please run fastboot oem lock begin first!
OKAY [ 0.013s]
finished. total time: 0.013s
[email protected]:platform-tools # ./fastboot reboot
I saw the error about the oem lock command so I tried the commands I put in my first reply, meaning fastbook oem lock begin and then fastbook oem lock . But I am still seeing the warning image.
UPDATE: I downloaded logo.bin from this post and did fastboot flash logo logo.bin and it worked. No idea why the logo.bin included with stock firmware did not work. I got stock firmware from here , file I got was XT1601_HARPIA-MSTMX_MPI24.241-15.3_cid50_subsidy-MOVSTLA_regulatory-DEFAULT_CFC.xml.zip
Did you able to lock the bootloader.. because the way you are telling only means you just flash customised logo.bin file... I also tried to lock bootloader but error comes that flash signed images first.. what to do.. i had downloaded from firmwarecemtre.com
Just found a better collection of moto images. https://www.filefactory.com/folder/c6cdedc45a775d27/?sort=filename&order=ASC&show=100&page=9 The link posted here is missing some images like telus.
I can't relock bootloader either. XT1607
At first I also thought the bootloader should be relocked and tried some guides here but it didn't work (seems odd to post a guide that doesn't work)... So as some suggested I just decided to leave it be.
Anyway I did come across at least one valid reason today, maybe a minor one but a reason nonetheless, it seems Netflix now says my device is not compatible... Now I understand it can be installed manually, but not everyone understands that if the phone was ever sold.
Urgent help!
How do I unlock the bootloader of my G4 Play?? Please help!!
did you update your phone
That_Noob said:
How do I unlock the bootloader of my G4 Play?? Please help!!
Click to expand...
Click to collapse
if you did you're screwed
That_Noob said:
How do I unlock the bootloader of my G4 Play?? Please help!!
Click to expand...
Click to collapse
Evil-Maiden666 said:
if you did you're screwed
Click to expand...
Click to collapse
Likely not for the vast majority of apps - including games and streaming video. But one needs to be aware relocking may not be an (easy) option which could be a future liability.
Warranty service could be a problem with some carriers. Most can detect if a device has been unlocked even if subsequently relocked. But relocking is usually sufficient simply seeking an exchange vs repair service as front line sales reps are unlikely/unable to perform a detailed scan.
All my devices are bootloader unlocked; I have yet to encounter an issue that did not have an easy work-around (eg: Netflix). I accept full responsibility for the device when unlocking. If it busts I own it. Simple.
I have as you mentioned but at last my phone got stuck in bootloader unlock warning help me how to solve this issue reply soon

XT 1068 with "RAW Partitions"

Hello peoples.
XT1068 Bricked,
stuck on first boot image,
no recovery,
no factory,
Bootloader unlocked,
and i have been trying flash stock ROM, 6.0 and 5.0.2 but with no results,
fastboot says : the partition are raw, i believe thats is the problem, ok, i have been searching all day about repartition, something to rebuild the partition
and nothing, because every log on fastboot, bootloader says something about "partition not found"..
Partition error
Code:
C:\Program Files\Minimal ADB and Fastboot>fastboot format system
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
Formatting is not supported for file system with type 'raw'.
Flash LOG
Code:
C:\Program Files\Minimal ADB and Fastboot>fastboot devices
0017951262 fastboot
C:\Program Files\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' (32 KB)...
OKAY [ 0.084s]
writing 'partition'...
OKAY [ 0.330s]
finished. total time: 0.416s
C:\Program Files\Minimal ADB and Fastboot>fastboot flash motoboot motoboot.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:motoboot: not found
target reported max download size of 536870912 bytes
sending 'motoboot' (2184 KB)...
OKAY [ 0.159s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) flashing rpm ...
(bootloader) flashing sdi ...
(bootloader) flashing aboot ...
(bootloader) flashing sbl1 ...
OKAY [ 1.083s]
finished. total time: 1.242s
C:\Program Files\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' (697 KB)...
OKAY [ 0.113s]
writing 'logo'...
OKAY [ 0.089s]
finished. total time: 0.204s
C:\Program Files\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' (10200 KB)...
OKAY [ 0.399s]
writing 'boot'...
OKAY [ 0.408s]
finished. total time: 0.809s
C:\Program Files\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' (10280 KB)...
OKAY [ 0.401s]
writing 'recovery'...
OKAY [ 0.386s]
finished. total time: 0.790s
C:\Program Files\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' (257431 KB)...
OKAY [ 8.691s]
writing 'system'...
OKAY [ 9.462s]
finished. total time: 18.155s
C:\Program Files\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' (255474 KB)...
OKAY [ 8.649s]
writing 'system'...
OKAY [ 10.395s]
finished. total time: 19.046s
C:\Program Files\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' (257554 KB)...
OKAY [ 8.740s]
writing 'system'...
OKAY [ 8.913s]
finished. total time: 17.655s
C:\Program Files\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' (250957 KB)...
OKAY [ 8.462s]
writing 'system'...
OKAY [ 8.556s]
finished. total time: 17.021s
C:\Program Files\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' (50136 KB)...
OKAY [ 1.746s]
writing 'modem'...
OKAY [ 1.731s]
finished. total time: 3.480s
C:\Program Files\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.068s]
finished. total time: 0.069s
C:\Program Files\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.098s]
finished. total time: 0.099s
C:\Program Files\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' (1012 KB)...
OKAY [ 0.123s]
writing 'fsg'...
OKAY [ 0.097s]
finished. total time: 0.222s
C:\Program Files\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.187s]
finished. total time: 0.188s
C:\Program Files\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.489s]
finished. total time: 0.490s
Save me guys.. ​

Attempted Root, No Longer Can Boot :(

Hello,
I was following the instructions here ( https://forum.xda-developers.com/dr...t-unlock-droid-turbo-6-0-1-mcg24-251-t3639618 )
When I then went to install "MagiskManager" , upon rebooting, I found a "No Command" screen.
When I attempt to reboot it just sends me to the recovery screen. Anything I do there yields the same result of either "No Command" or recovery.
When I connect to my computer via USB it still recognizes as being connected , so I am sure I can bring my Turbo back to life.
Could someone point me in the direction of what I could do in this circumstance?
Thank you!
-Reiz
Update ( Not Good )
Reizvoller said:
Hello,
I was following the instructions here ( https://forum.xda-developers.com/dr...t-unlock-droid-turbo-6-0-1-mcg24-251-t3639618 )
When I then went to install "MagiskManager" , upon rebooting, I found a "No Command" screen.
When I attempt to reboot it just sends me to the recovery screen. Anything I do there yields the same result of either "No Command" or recovery.
When I connect to my computer via USB it still recognizes as being connected , so I am sure I can bring my Turbo back to life.
Could someone point me in the direction of what I could do in this circumstance?
Thank you!
-Reiz
Click to expand...
Click to collapse
Hello,
After some fiddling and attempting to figure out how to push a recovery to my phone I reinstalled ADB/Fastboot and now my phone no longer sees that it is connected to a computer.
It just says "Connect USB Data Cable" at the bottom even though it says the battery is charging (( still only getting to the recovery screen ))
I have firmware from ( http://rootjunkysdl.com/files/?dir=Droid Turbo/Firmware )
and I have the needed drivers installed.
How do I get the firmware onto the phone?
Thanks!
Did you try to root via. A custom recovery? If so what version of SuperSU, or magisk
Sent from my DROID Turbo using Tapatalk
Rshelver said:
Did you try to root via. A custom recovery? If so what version of SuperSU, or magisk
Sent from my DROID Turbo using Tapatalk
Click to expand...
Click to collapse
To be clear I followed the steps found here ( https://forum.xda-developers.com/g4-play/development/root-autoinitroot-motorola-bootloader-t3639316/ ) specifically the "Install Step By Step" section.
This includes the link to the Magisk version I was using and all the commands I used with the phone.
It was after I completed the "Step by Step" instructions that I then opened the Magisk app, then allowed it to install it's tools. From there it asked for a reboot, I obliged, and now I am faced with the scenario I am in.
If there is anywhere else I can be more clear or provide more information please let me know.
At this point I'd just like to boot to stock if that's what needs to happen
Okay, did you unlock the bootloader using sunshine?
And can you clarify the model number of your device.
Sent from my DROID Turbo using Tapatalk
Rshelver said:
Okay, did you unlock the bootloader using sunshine?
And can you clarify the model number of your device.
Sent from my DROID Turbo using Tapatalk
Click to expand...
Click to collapse
Howdy,
No, I did not use Sunshine as that was not described in the instructions
My exact device is "Droid Turbo XT1254" , it /was/ fully stock with latest OTA from ISP
I just ran through the Bootloader Logs again ( unsure if they are of any use ) but they say...
bab checked failed for boot
failed to verify bab image boot
failed to validate boot image: ret=-1
fastboot reason : fall-through from charger boot mode
bab checked failed for boot
failed to verify bab image boot
failed to validate boot image: ret=-1
boot up failed
I then scrolled to "Restart Bootloader" which brings me right back to the bootloader, but now the logs says:
Fastboot Reason : Reboot mode set to fastboot
Then when I use "Start"
bab checked failed for boot
failed to verify bab image boot
failed to validate boot image: ret=-1
boot up failed
If there is any other info I can give I'd be happy to. Thank you very much for your time!
Oka, that's the problem, I noticed that the forum you posted was about a different but very similar phone, when my phone was stuck I used this video https://youtu.be/6avEPGWB8E0
Disclaimer: it will completely wipe your system of everything and install android 5.1, even though it tells you to edit the files DO NOT, I edited then and it made it much worse.
Sent from my DROID Turbo using Tapatalk
Good morning
Howdy,
I am trying to method you have provided and I am running into errors because my bootloader is locked I believe.
When I run the RootJunky bat script I get error messages like these for each of the images it wants to push :
Code:
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>VRZ_XT1254_SU2-12_12_CFC.bat
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>SET fastboot=fastboot.exe
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe 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.017s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe 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' (32 KB)...
OKAY [ 0.004s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.053s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe flash motoboot bootloader.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:motoboot: not found
target reported max download size of 536870912 bytes
sending 'motoboot' (2163 KB)...
OKAY [ 0.073s]
writing 'motoboot'...
(bootloader) Motoboot: Preflash validation for tz
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.122s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe flash radio radio.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:radio: not found
target reported max download size of 536870912 bytes
sending 'radio' (85771 KB)...
OKAY [ 2.738s]
writing 'radio'...
(bootloader) flashing modem ...
(bootloader) flashing mdm1m9kefs1 ...
(bootloader) flashing mdm1m9kefs2 ...
(bootloader) flashing mdm1m9kefs3 ...
OKAY [ 4.510s]
finished. total time: 7.249s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe 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' (2631 KB)...
OKAY [ 0.086s]
writing 'logo'...
OKAY [ 0.199s]
finished. total time: 0.287s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe 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.553s]
writing 'boot'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.797s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe 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' (16400 KB)...
OKAY [ 0.541s]
writing 'recovery'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.785s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe flash system system.img_sparsechunk1
(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' (262140 KB)...
OKAY [ 8.388s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.443s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe flash system system.img_sparsechunk2
(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' (254164 KB)...
OKAY [ 8.126s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.133s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe flash system system.img_sparsechunk3
(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' (262141 KB)...
OKAY [ 8.341s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.346s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe flash system system.img_sparsechunk4
(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' (262141 KB)...
OKAY [ 8.347s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.356s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe flash system system.img_sparsechunk5
(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' (262143 KB)...
OKAY [ 8.358s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.365s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe flash system system.img_sparsechunk6
(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' (262140 KB)...
OKAY [ 8.344s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.350s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe flash system system.img_sparsechunk7
(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' (9924 KB)...
OKAY [ 0.317s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.324s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe erase ddr
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:ddr: not found
erasing 'ddr'...
OKAY [ 0.011s]
finished. total time: 0.011s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe 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.171s]
finished. total time: 0.172s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe 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 [ 17.493s]
finished. total time: 17.494s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe oem fb_mode_clear
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
OKAY [ 0.012s]
finished. total time: 0.013s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>pause
Press any key to continue . . .
I then went to this forum link ( https://forum.xda-developers.com/dr...-bootloader-os-failed-to-flash-t3032775/page3 ) and am trying to unlock my bootloader via the Motorola instructions ( https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-b )
and I am getting this error :
Code:
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot oem get_unlock_data
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) Failed to get unlock data, please try again!
FAILED (remote failure)
finished. total time: 0.047s
My phone knows it's connected via USB ( rebooting made the drivers work ) but when I do "adb devices" , no device is listed even though I am at the recovery screen.
Any further advice would be appreciated!
Update ( Still no good )
Howdy,
When I try
"fastboot devices" it returns
???????????? fastboot
:\ did I really kill kill kill my phone?
Reizvoller said:
Howdy,
When I try
"fastboot devices" it returns
???????????? fastboot
:\ did I really kill kill kill my phone?
Click to expand...
Click to collapse
Hmmmm, that's strange. I don't think you killed it, try using a different micrusb, that fixed the problem for me when I was using adb
Sent from my DROID Turbo using Tapatalk
Rshelver said:
Hmmmm, that's strange. I don't think you killed it, try using a different micrusb, that fixed the problem for me when I was using adb
Sent from my DROID Turbo using Tapatalk
Click to expand...
Click to collapse
I'm going to go back to a dumb-phone if it's the USB cable that's messing me up... lol
I will give that a shot once I find a different one around here. In the mean time I did get "fastboot devices" to give me an ID string for the phone.
So, that's something
Reizvoller said:
I'm going to go back to a dumb-phone if it's the USB cable that's messing me up... lol
I will give that a shot once I find a different one around here. In the mean time I did get "fastboot devices" to give me an ID string for the phone.
So, that's something
Click to expand...
Click to collapse
Since, you got fastboot devices to work try all of the next steps, it should work
Sent from my DROID Turbo using Tapatalk
When I do "RootJunky"s thing I still have the same end result.
Code:
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>VRZ_XT1254_SU2-12_12_CFC.bat
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>SET fastboot=fastboot.exe
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe oem fb_mode_set
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
OKAY [ 0.000s]
finished. total time: 0.000s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe 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' (32 KB)...
OKAY [ 0.016s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.054s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe flash motoboot bootloader.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:motoboot: not found
target reported max download size of 536870912 bytes
sending 'motoboot' (2163 KB)...
OKAY [ 0.085s]
writing 'motoboot'...
(bootloader) Motoboot: Preflash validation for tz
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.131s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe flash radio radio.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:radio: not found
target reported max download size of 536870912 bytes
sending 'radio' (85771 KB)...
OKAY [ 2.786s]
writing 'radio'...
(bootloader) flashing modem ...
(bootloader) flashing mdm1m9kefs1 ...
(bootloader) flashing mdm1m9kefs2 ...
(bootloader) flashing mdm1m9kefs3 ...
OKAY [ 1.436s]
finished. total time: 4.240s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe 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' (2631 KB)...
OKAY [ 0.095s]
writing 'logo'...
OKAY [ 0.073s]
finished. total time: 0.169s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe 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.569s]
writing 'boot'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.815s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe 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' (16400 KB)...
OKAY [ 0.563s]
writing 'recovery'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.800s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe flash system system.img_sparsechunk1
(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' (262140 KB)...
OKAY [ 8.537s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.600s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe flash system system.img_sparsechunk2
(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' (254164 KB)...
OKAY [ 8.318s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.329s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe flash system system.img_sparsechunk3
(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' (262141 KB)...
FAILED (data transfer failure (Too many links))
finished. total time: 3.903s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe flash system system.img_sparsechunk4
< waiting for any device >
(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' (262141 KB)...
OKAY [ 8.589s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.589s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe flash system system.img_sparsechunk5
(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' (262143 KB)...
OKAY [ 8.624s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.624s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe flash system system.img_sparsechunk6
(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' (262140 KB)...
OKAY [ 8.586s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.586s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe flash system system.img_sparsechunk7
(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' (9924 KB)...
OKAY [ 0.331s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.349s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe erase ddr
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:ddr: not found
erasing 'ddr'...
OKAY [ 0.000s]
finished. total time: 0.016s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe 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.072s]
finished. total time: 0.072s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe 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.730s]
finished. total time: 0.730s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>fastboot.exe 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.000s
C:\Users\reizv\Downloads\VRZ_XT1254_SU2-12_12_CFC.xml>pause
Press any key to continue . . .
Okay, I remember I had to change the file a tiny bit, but not how rootjunky did, when I get home later I could email you the files if you wished
Sent from my DROID Turbo using Tapatalk
If that wouldn't be too much trouble to ask, I would really appreciate it
So if other people run into this issue, how about post it here so they can get the fix too?
And you will be glorified as the savior of the Turbos!
Will do
Sent from my DROID Turbo using Tapatalk
Rshelver said:
Okay, did you unlock the bootloader using sunshine?
And can you clarify the model number of your device.
Sent from my DROID Turbo using Tapatalk
Click to expand...
Click to collapse
Reizvoller said:
Howdy,
No, I did not use Sunshine as that was not described in the instructions
Click to expand...
Click to collapse
They are described in the instructions. You were just reading the wrong instructions. In that thread you are pointing to (in this Droid Turbo forum):
[Root && Unlock] Droid Turbo 6.0.1 mcg24.251-5-5
This is in the first post:
jcase said:
@autoprime got the initroot working with internet for Droid Turbo - https://forum.xda-developers.com/g4-play/development/root-autoinitroot-motorola-bootloader-t3639316/
While temprooted, SunShine will work to unlock the device again.
Click to expand...
Click to collapse
The temp root is meant to be used as a tool to then unlock the bootloader using Sunshine. You shouldn't even be messing with Magisk and stuff until after unlocking the bootloader with Sunshine.
In comments throughout that thread (in this forum), we make it clear the temp root is only to be used temporarily. On the very last page of that thread, I just recently told someone if they didn't unlock their bootloader and kept trying to use just the temp root, they did so at their own risk.
Maybe that wasn't your intent, to use the "temp root" permanently, but still you then went over to the temp root thread (in another device forum) and followed all those instructions.
The problem is the temp root dev, whom I respect, didn't really make that temp root thread for the Droid Turbo. He started it as a simple tool, but then later developed it into a very extensive system for perpetual root. He doesn't even mention Sunshine in those instructions, right? Whereas @jcase's post (in this forum) clearly mentions you need to use Sunshine to unlock your bootloader... So, you can see those weren't quite the right instructions...
Whereas this thread below (in this forum) is what you should have been using for root and unlock instructions. It mentions the same temp root as a tool to use to get Sunshine to work -- but WARNS to NOT follow all the temp root instruction thread.
[GUIDE] How to unlock your Droid Turbo bootloader, install TWRP and gain root access
6. !!!DO THIS STEP ONLY IF YOU'RE ON MCG24.251-5-5!!! Follow the instructions here to obtain temporary root:
https://forum.xda-developers.com/g4-...ader-t3639316/.
DO NOT perform the uninstall step, and ignore all steps that mention Magisk or Magisk Manager.
Click to expand...
Click to collapse
Instead just simply use the temp root to then use Sunshine to unlock the bootloader, and you never have to worry about temp root shenanigans again. After THAT, then it even goes on to Magisk, TWRP and all other things.
Over HERE, in the Droid Turbo forum, the powerful temp root is only used as simple tool to get bootloader unlock and then permanent root and custom recovery.
I'm very sorry for your problems, but I hope this warning helps other people.
That all makes far more sense now, thank you very much for setting me straight with this information.
Reizvoller said:
Howdy,
No, I did not use Sunshine as that was not described in the instructions
My exact device is "Droid Turbo XT1254" , it /was/ fully stock with latest OTA from ISP
I just ran through the Bootloader Logs again ( unsure if they are of any use ) but they say...
bab checked failed for boot
failed to verify bab image boot
failed to validate boot image: ret=-1
fastboot reason : fall-through from charger boot mode
bab checked failed for boot
failed to verify bab image boot
failed to validate boot image: ret=-1
boot up failed
I then scrolled to "Restart Bootloader" which brings me right back to the bootloader, but now the logs says:
Fastboot Reason : Reboot mode set to fastboot
Then when I use "Start"
bab checked failed for boot
failed to verify bab image boot
failed to validate boot image: ret=-1
boot up failed
If there is any other info I can give I'd be happy to. Thank you very much for your time!
Click to expand...
Click to collapse
Looks like you are flashing an old firmware, you must flash most recent version of XT1254 MCG24.251-5-5 if your device is Verizon carrier or just copy/paste all log from "fastboot getvar all".

Categories

Resources