Here are the steps that worked for me:
-download the firmware posted by @
damentz on post
#107:
GRIFFIN_OPLS27.76-51-5_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
-extract the firmware at a location of your choice, in the same folder extract Android SDK Platform-Tools (I used the latest from Google:
-open a command prompt and change directory to work on the location where you extracted the firmware and the latest Platform Tools (I worked on my desktop so the command was -
cd C:\Users\RAZVAN\Desktop\GRIFFIN_OPLS27.76-51-5)
-reboot the phone to fastboot (bootloader) and connect it to your PC
-check the driver and the connectivity with the phone by typing in the command prompt -
fastboot devices
-now you are ready to start
-run the first set of commands:
Code:
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
[B]fastboot flash bluetooth BTFM.bin[/B]
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
-when done flashing, select
Start from the bootloader by pressing the Power Key and let the phone boot once
-after the phone completely boots, go to
Settings, enable
Developer Settings and move the check for
OEM unlocking to
Allow
-if you are in Developer Settings allow also
USB debugging
-when all done, with the phone connected to the PC and
without rebooting it, come back to the command prompt window and type -
adb reboot bootloader
-after the phone is back to fastboot (bootloader) run the second set of commands:
Code:
fastboot oem lock
fastboot oem lock
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash 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 boot boot.img
fastboot oem lock
-if all goes well after the last command the phone should reboot by itself and your Moto Z should be with the bootloader unlocked as the day you pull it out of the box.
I got errors that the boot.img and recovery.img are not signed, but the re-locking process was successful.
I do not recommend using a lower version of firmware,
use at least the last official firmware that was installed on your phone or the latest available. Downgrading can cause unexpected problems and you are on your own.
Break a leg! :good: