[Moto Z2 Play  Guides, News, & Discussion] nflnetwork29:
i ran through all these commands but it still says no OS is installed in TWRP

trying to install custom rom give 255 ERROR'

do these logs look normal?

PS C:\adb> .\2-Instalador-Completo.bat

*************************************************

* Instalador Firmware *

* Moto Z2 Play Albus XT1710 *

* Script by Junior Passos *

*************************************************

"Desligue seu Moto Z2 Play e conecte-o no computador em Modo Fastboot."

"Aviso: Os arquivos no armazenamento interno serao totalmente deletados!"

Press any key to continue . . .

< waiting for device >

max-sparse-size: 268435456

finished. total time: 0.001s

...

OKAY [ 0.002s]

finished. total time: 0.002s

sending 'partition' (45 KB)...

OKAY [ 0.002s]

writing 'partition'...

Validating 'gpt.default.xml'

Security version downgrade

Image primary_gpt failed validation

Preflash validation failed

Cancelling 'gpt.default.xml'

FAILED (remote failure)

finished. total time: 0.076s

sending 'bootloader' (5115 KB)...

OKAY [ 0.116s]

writing 'bootloader'...

Validating 'bootloader.default.xml'

Committing 'bootloader.default.xml'

- flashing 'emmc_appsboot.mbn' to 'aboot'

- flashing 'rpm.mbn' to 'rpm'

- flashing 'tz.mbn' to 'tz'

- flashing 'devcfg.mbn' to 'devcfg'

- flashing 'cmnlib.mbn' to 'cmnlib'

- flashing 'cmnlib64.mbn' to 'cmnlib64'

- flashing 'keymaster.mbn' to 'keymaster'

- flashing 'prov.mbn' to 'prov'

- flashing 'sbl1.mbn' to 'sbl1'

OKAY [ 0.526s]

finished. total time: 0.644s

sending 'modem' (71573 KB)...

OKAY [ 1.612s]

writing 'modem'...

OKAY [ 1.126s]

finished. total time: 2.761s

sending 'fsg' (4020 KB)...

OKAY [ 0.081s]

writing 'fsg'...

OKAY [ 0.126s]

finished. total time: 0.233s

erasing 'modemst1'...

OKAY [ 0.032s]

finished. total time: 0.032s

erasing 'modemst2'...

OKAY [ 0.017s]

finished. total time: 0.032s

sending 'dsp' (16384 KB)...

OKAY [ 0.370s]

writing 'dsp'...

OKAY [ 0.295s]

finished. total time: 0.668s

sending 'logo' (2192 KB)...

OKAY [ 0.051s]

writing 'logo'...

OKAY [ 0.098s]

finished. total time: 0.164s

sending 'boot' (16384 KB)...

OKAY [ 0.432s]

writing 'boot'...

Image signed with key bad key

OKAY [ 0.392s]

finished. total time: 0.840s

sending 'recovery' (20580 KB)...

OKAY [ 0.522s]

writing 'recovery'...

Image size exeeded partition limits

Preflash validation failed

FAILED (remote failure)

finished. total time: 0.536s

sending 'system' (262141 KB)...

OKAY [ 6.039s]

writing 'system'...

Preflash validation failed

FAILED (remote failure)

finished. total time: 6.058s

sending 'system' (255657 KB)...

OKAY [ 5.741s]

writing 'system'...

OKAY [ 3.393s]

finished. total time: 9.142s

sending 'system' (243061 KB)...

OKAY [ 5.673s]

writing 'system'...

OKAY [ 3.380s]

finished. total time: 9.058s

sending 'system' (260374 KB)...

OKAY [ 6.039s]

writing 'system'...

OKAY [ 3.955s]

finished. total time: 10.002s

sending 'system' (260395 KB)...

OKAY [ 6.005s]

writing 'system'...

OKAY [ 3.608s]

finished. total time: 9.629s

sending 'system' (242845 KB)...

OKAY [ 5.567s]

writing 'system'...

OKAY [ 3.173s]

finished. total time: 8.753s

sending 'system' (262140 KB)...

OKAY [ 5.994s]

writing 'system'...

OKAY [ 3.402s]

finished. total time: 9.402s

sending 'system' (262141 KB)...

OKAY [ 6.108s]

writing 'system'...

OKAY [ 3.620s]

finished. total time: 9.742s

sending 'system' (262142 KB)...

OKAY [ 5.885s]

writing 'system'...

OKAY [ 3.633s]

finished. total time: 9.531s

sending 'system' (262141 KB)...

OKAY [ 6.044s]

writing 'system'...

OKAY [ 3.412s]

finished. total time: 9.465s

sending 'system' (239056 KB)...

OKAY [ 5.488s]

writing 'system'...

Invalid sparse image data

Failed to flash sparse image

FAILED (remote failure)

finished. total time: 7.494s

sending 'system' (45248 KB)...

OKAY [ 1.018s]

writing 'system'...

Invalid sparse image data

Failed to flash sparse image

FAILED (remote failure)

finished. total time: 1.044s

sending 'oem' (155105 KB)...

OKAY [ 3.549s]

writing 'oem'...

Preflash validation failed

FAILED (remote failure)

finished. total time: 3.562s

erasing 'carrier'...

OKAY [ 0.135s]

finished. total time: 0.150s

erasing 'cache'...

OKAY [ 0.008s]

finished. total time: 0.008s

erasing 'userdata'...

OKAY [ 0.128s]

finished. total time: 0.140s

erasing 'DDR'...

OKAY [ 0.001s]

finished. total time: 0.002s

...

OKAY [ 0.002s]

finished. total time: 0.002s

"Arquivos instalados com sucesso!"

rebooting...

finished. total time: 0.001s