[Moto Z Questions & Answers] saifprvz:
thanks for the reply .... I Tried the same way as u described. Let me know if i m wrong sum where ....

1 - I Downloaded GRIFFIN_OPLS27.76-51-5_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip Rom on my desktop.

2 - Downloaded the Android SDK Platform-Tools on my desktop

3 - extracted the Android SDK Platform-Tools and within that same folder i extracted the ROM also

4 - did the CMD from that same folder

5 - booted my moto z to bootloader and to check the connection i did the "fastboot devices" and the device was showing up.

6 - Ran the first set of commands i.e

fastboot getvar max-sparse-size

fastboot oem fb_mode_set

fastboot flash partition gpt.bin

fastboot flash bootloader bootloader.img

fastboot flash modem NON-HLOS.bin

fastboot flash fsg fsg.mbn

fastboot erase modemst1

fastboot erase modemst2

fastboot flash dsp adspso.bin

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 system system.img_sparsechunk.8

fastboot flash system system.img_sparsechunk.9

fastboot flash system system.img_sparsechunk.10

fastboot flash system system.img_sparsechunk.11

fastboot flash system system.img_sparsechunk.12

fastboot flash system system.img_sparsechunk.13

fastboot flash system system.img_sparsechunk.14

fastboot flash oem oem.img

fastboot erase carrier

fastboot erase cache

fastboot erase userdata

fastboot erase DDR

fastboot oem fb_mode_clear

{ While Flashing... the below errors were there

C:\Users\saif\Desktop\platform-tools>fastboot flash boot boot.img

(bootloader) has-slot:boot: not found

Sending 'boot' (32768 KB) OKAY [ 0.769s]

Writing 'boot' (bootloader) Image signed with key bad key

OKAY [ 1.023s]

Finished. Total time: 1.870s

C:\Users\saif\Desktop\platform-tools>fastboot flash recovery recovery.img

(bootloader) has-slot:recovery: not found

Sending 'recovery' (32772 KB) OKAY [ 0.764s]

Writing 'recovery' (bootloader) Image signed with key bad key

OKAY [ 1.086s]

Finished. Total time: 1.914s

C:\Users\saif\Desktop\platform-tools>fastboot erase DDR

(bootloader) has-slot:DDR: not found

Erasing 'DDR' (bootloader) Permission denied

FAILED (remote failure)

Finished. Total time: 0.063s

}

the above first two error are okey but i dont have no idea about the DDR error.

7 - I directly press the power button after the flash and it still showed me that warning that my bootloader is unlcoked.

8 - phone boots up properly, configured fingerprint and everything else ...

9 - after completing the setup I went to the setting - system - about phone - tap on the built no several time to unlock the developer option.

10 - went to the developer option and the "OEM unlocking" was still grayed.

Please lesbianu, Let me know if I m doing anything Wrong.