[HELP] Error flashing IMG files on fastboot

  • Thread starter Deleted member 7327818
  • Start date
D

Deleted member 7327818

Guest
Hi guys, can someone help me flash IMG files on my MOTO Z. I want to flash the stock firmware but im always getting an error saying Permission Denied on fastboot. I have an unlocked bootloader and currently using Lineage OS from the official site.
here's what im getting whenever im trying to flash any image.

C:\Users\Administrator\Desktop\Moto Z\RSD_Lite_Motorola_XML_To_Batch_Script\Moto
rola_XML_To_Batch_Script\Place_Extracted_Firmware_Here>echo off
max-sparse-size: 268435456
finished. total time: -0.000s
...
OKAY [ -0.000s]
finished. total time: -0.000s
target max-sparse-size: 256MB
sending 'partition' (142 KB)...
OKAY [ -0.000s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote failure)
finished. total time: 0.156s
target max-sparse-size: 256MB
sending 'bootloader' (7792 KB)...
OKAY [ 0.218s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Committing 'bootloader.default.xml'
(bootloader) - flashing 'xbl.elf' to 'xbl'
(bootloader) - flashing 'cmnlib.mbn' to 'cmnlib'
(bootloader) - flashing 'cmnlib64.mbn' to 'cmnlib64'
(bootloader) - flashing 'prov64.mbn' to 'prov'
(bootloader) - flashing 'emmc_appsboot.mbn' to 'aboot'
(bootloader) - flashing 'keymaster.mbn' to 'keymaster'
(bootloader) - flashing 'rpm.mbn' to 'rpm'
(bootloader) - flashing 'pmic.elf' to 'pmic'
(bootloader) - flashing 'hyp.mbn' to 'hyp'
(bootloader) - flashing 'tz.mbn' to 'tz'
(bootloader) - flashing 'devcfg.mbn' to 'devcfg'
OKAY [ 4.415s]
finished. total time: 4.633s
target max-sparse-size: 256MB
sending 'modem' (81680 KB)...
OKAY [ 2.122s]
writing 'modem'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 2.122s
target max-sparse-size: 256MB
sending 'fsg' (2928 KB)...
OKAY [ 0.078s]
writing 'fsg'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 0.078s
target max-sparse-size: 256MB
sending 'bluetooth' (4296 KB)...
OKAY [ 0.125s]
writing 'bluetooth'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 0.125s
target max-sparse-size: 256MB
sending 'dsp' (16384 KB)...
OKAY [ 0.421s]
writing 'dsp'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 0.437s
target max-sparse-size: 256MB
sending 'logo' (3320 KB)...
OKAY [ 0.094s]
writing 'logo'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 0.094s
target max-sparse-size: 256MB
sending 'boot' (32768 KB)...
OKAY [ 0.889s]
writing 'boot'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 0.905s
target max-sparse-size: 256MB
sending 'recovery' (32772 KB)...
OKAY [ 0.874s]
writing 'recovery'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 0.889s
target max-sparse-size: 256MB
sending 'system' (255912 KB)...
OKAY [ 6.630s]
writing 'system'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 6.646s
target max-sparse-size: 256MB
sending 'system' (257937 KB)...
OKAY [ 6.708s]
writing 'system'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 6.724s
target max-sparse-size: 256MB
sending 'system' (251481 KB)...
OKAY [ 6.536s]
writing 'system'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 6.536s
target max-sparse-size: 256MB
sending 'system' (252124 KB)...
OKAY [ 6.568s]
writing 'system'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 6.583s
target max-sparse-size: 256MB
sending 'system' (262028 KB)...
OKAY [ 6.817s]
writing 'system'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 21.419s
target max-sparse-size: 256MB
sending 'system' (260866 KB)...
OKAY [ 6.802s]
writing 'system'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 6.802s
target max-sparse-size: 256MB
sending 'system' (260907 KB)...
OKAY [ 6.786s]
writing 'system'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 6.786s
target max-sparse-size: 256MB
sending 'system' (260676 KB)...
OKAY [ 6.755s]
writing 'system'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 6.770s
target max-sparse-size: 256MB
sending 'system' (256845 KB)...
OKAY [ 6.677s]
writing 'system'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 6.677s
target max-sparse-size: 256MB
sending 'system' (262082 KB)...
OKAY [ 6.786s]
writing 'system'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 6.802s
target max-sparse-size: 256MB
sending 'system' (260922 KB)...
OKAY [ 6.817s]
writing 'system'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 6.833s
target max-sparse-size: 256MB
sending 'system' (261140 KB)...
OKAY [ 6.802s]
writing 'system'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 6.817s
target max-sparse-size: 256MB
sending 'system' (196988 KB)...
OKAY [ 5.117s]
writing 'system'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 5.117s
target max-sparse-size: 256MB
sending 'oem' (73721 KB)...
OKAY [ 1.919s]
writing 'oem'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 1.919s
erasing 'modemst1'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.016s
erasing 'modemst2'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.016s
erasing 'carrier'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: -0.000s
erasing 'cache'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.000s
erasing 'userdata'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.016s
erasing 'ddr'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: -0.000s
target max-sparse-size: 256MB
sending 'fsg' (2928 KB)...
OKAY [ 0.078s]
writing 'fsg'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 0.094s
target max-sparse-size: 256MB
sending 'bluetooth' (4296 KB)...
OKAY [ 0.109s]
writing 'bluetooth'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 0.125s
...
OKAY [ -0.000s]
finished. total time: -0.000s
-------------------------------------------------------------------------
please scroll up and check your flash for any errors
-------------------------------------------------------------------------
Press any key to continue . . .
 
Last edited: