cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
khode_erfan
Fanfold Paper
Posts: 7
Registered: ‎10-31-2016
Location: IR
Views: 10,583
Message 1 of 10

can't unlock my Moto Z Bootloader

Hi Guys today i bought my new moto z phone it's XT1650-05 

i turned on OEM unlocking option on developer tools 

and i followed this tutorial to unlock my boot loader but at the last step after entering my oem unlock key it says "(bootloader) invalid boot state"

fastboot oem unlock UICR577XVZ*****CH72Y
...
(bootloader) invalid boot state
OKAY [  0.002s]
finished. total time: 0.002s

i try it on linux and windows with many fastboot and adb driver versions but no luck, all the same. 

 

please help me i need to root my phone 

thanks

Moto Sr Moderator
Moto Sr Moderator
Posts: 28,023
Registered: ‎02-02-2016
Location: US
Views: 10,521
Message 2 of 10

Re: can't unlock my Moto Z Bootloader


@khode_erfan wrote:

Hi Guys today i bought my new moto z phone it's XT1650-05 

i turned on OEM unlocking option on developer tools 

and i followed this tutorial to unlock my boot loader but at the last step after entering my oem unlock key it says "(bootloader) invalid boot state"

fastboot oem unlock UICR577XVZ*****CH72Y
...
(bootloader) invalid boot state
OKAY [  0.002s]
finished. total time: 0.002s

i try it on linux and windows with many fastboot and adb driver versions but no luck, all the same. 

 

please help me i need to root my phone 

thanks


Please provide getvar all, and oem unlock data - full and unformatted. No reason to keep unlock code a secret, it only works on your phone. 


* Search box is your friend * I don't respond to PM if question belongs in forum
khode_erfan
Fanfold Paper
Posts: 7
Registered: ‎10-31-2016
Location: IR
Views: 10,518
Message 3 of 10

Re: can't unlock my Moto Z Bootloader

thanks for your reply but i don't know how and why, my bootloader was unlocked by "fastboot flashing unlock" without any key !! like nexus devices
Moto Sr Moderator
Moto Sr Moderator
Posts: 28,023
Registered: ‎02-02-2016
Location: US
Views: 10,513
Message 4 of 10

Re: can't unlock my Moto Z Bootloader


@khode_erfan wrote:
thanks for your reply but i don't know how and why, my bootloader was unlocked by "fastboot flashing unlock" without any key !! like nexus devices

 

I am confused then. To get the key, you would have needed to run the command "fastboot oem get_unlock_data" - I asked for the unlock data from that command. Also, you should be familiar with fastboot commands (are you sure you want to do this)? Keep in mind that currently there is no Motorola recovery image for the Z, and it is unknown if there ever be one. There may be no official path back to stock. 

 

Another fastboot command is "fastboot getvar all" - i need the data from that too. 

 

This is not a Nexus device. Motorola uses keys to keep track of which devices were unlocked. Once you unlock, warranty is void. The Qfuse is permanently tripped when Key is used, so there is no way to accidentally unlock bootloader or hide the fact it has been done. 


* Search box is your friend * I don't respond to PM if question belongs in forum
khode_erfan
Fanfold Paper
Posts: 7
Registered: ‎10-31-2016
Location: IR
Views: 10,511
Message 5 of 10

Re: can't unlock my Moto Z Bootloader

before

fastboot flashing unlock :
(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8996-90.1A
(bootloader) product: sheridan
(bootloader) board: sheridan
(bootloader) secure: yes
(bootloader) hwrev: P3B
(bootloader) radio: 3
(bootloader) storage-type: ufs
(bootloader) ufs: 64GB TOSHIBA THGBF7G9L4LBATRB FV=0300
(bootloader) ram: 4GB SAMSUNG LP4 DIE=8Gb M5=01 M6=05 M7=00 M8=08
(bootloader) cpu: MSM8996
(bootloader) serialno: ZY223KZDQG
(bootloader) cid: 0x000B
(bootloader) channelid: 0xc1
(bootloader) uid: 808D0DE200000000000000000000
(bootloader) securestate: flashing_locked
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 536870912
(bootloader) reason: Volume down key pressed
(bootloader) imei: 358211070946513
(bootloader) meid: 
(bootloader) date: 09-18-2016
(bootloader) sku: XT1650-05
(bootloader) battid: 
(bootloader) iccid: 
(bootloader) cust_md5: 
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: 
(bootloader) ro.build.fingerprint[0]: motorola/griffin_retcn/griffin:6.0
(bootloader) ro.build.fingerprint[1]: .1/MCC24.246-37/42:user/release-ke
(bootloader) ro.build.fingerprint[2]: ys
(bootloader) poweroffalarm: 1
(bootloader) ro.build.version.full[0]: Blur_Version.24.21.42.griffin_ret
(bootloader) ro.build.version.full[1]: cn.retcn.en.US
(bootloader) ro.build.version.qcom: LA.HB.1.3.2-15400-8x96.0
(bootloader) version-baseband: M8996_1223.32.01.109R SCD
(bootloader) kernel.version[0]: Linux version 3.18.24-perf-g03414fd-0000
(bootloader) kernel.version[1]: 2-g9465f65 (hudsoncm@ilclbld36) (gcc ver
(bootloader) kernel.version[2]: sion 4.9.x-google 20140827 (prerelease) 
(bootloader) kernel.version[3]: (GCC) ) #1 SMP PREEMPT Fri Jul 22 05:40:
(bootloader) kernel.version[4]: 29 CDT 2016
(bootloader) xbl.git: git=MBM-NG-V90.1A-0-g5ba2c70
(bootloader) rpm.git: git=2284993
(bootloader) tz.git: git=4267ce9-dirty
(bootloader) hyp.git: git=4267ce9-dirty
(bootloader) devcfg.git: git=4267ce9-dirty
(bootloader) keymaster.git: git=4267ce9-dirty
(bootloader) cmnlib.git: git=4267ce9-dirty
(bootloader) cmnlib64.git: git=4267ce9-dirty
(bootloader) prov.git: git=4267ce9-dirty
(bootloader) pmic.git: git=MBM-NG-V90.1A-0-g5ba2c70
(bootloader) aboot.git: git=MBM-NG-V90.1A-0-g4c89796
(bootloader) qe: qe 0/0
(bootloader) frp-state: no protection (75)
(bootloader) ro.carrier: retcn

after that : 

(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8996-90.1A
(bootloader) product: sheridan
(bootloader) board: sheridan
(bootloader) secure: yes
(bootloader) hwrev: P3B
(bootloader) radio: 3
(bootloader) storage-type: ufs
(bootloader) ufs: 64GB TOSHIBA THGBF7G9L4LBATRB FV=0300
(bootloader) ram: 4GB SAMSUNG LP4 DIE=8Gb M5=01 M6=05 M7=00 M8=08
(bootloader) cpu: MSM8996
(bootloader) serialno: ZY223KZDQG
(bootloader) cid: 0x000B
(bootloader) channelid: 0xc1
(bootloader) uid: 808D0DE200000000000000000000
(bootloader) securestate: flashing_unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 536870912
(bootloader) reason: Reboot mode set to fastboot
(bootloader) imei: 358211070946513
(bootloader) meid: 
(bootloader) date: 09-18-2016
(bootloader) sku: XT1650-05
(bootloader) battid: 
(bootloader) iccid: 
(bootloader) cust_md5: 
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: 
(bootloader) ro.build.fingerprint[0]: motorola/griffin_retcn/griffin:6.0
(bootloader) ro.build.fingerprint[1]: .1/MCC24.246-37/42:user/release-ke
(bootloader) ro.build.fingerprint[2]: ys
(bootloader) poweroffalarm: 1
(bootloader) ro.build.version.full[0]: Blur_Version.24.21.42.griffin_ret
(bootloader) ro.build.version.full[1]: cn.retcn.en.US
(bootloader) ro.build.version.qcom: LA.HB.1.3.2-15400-8x96.0
(bootloader) version-baseband: M8996_1223.32.01.109R SCD
(bootloader) kernel.version[0]: Linux version 3.18.24-perf-g03414fd-0000
(bootloader) kernel.version[1]: 2-g9465f65 (hudsoncm@ilclbld36) (gcc ver
(bootloader) kernel.version[2]: sion 4.9.x-google 20140827 (prerelease) 
(bootloader) kernel.version[3]: (GCC) ) #1 SMP PREEMPT Fri Jul 22 05:40:
(bootloader) kernel.version[4]: 29 CDT 2016
(bootloader) xbl.git: git=MBM-NG-V90.1A-0-g5ba2c70
(bootloader) rpm.git: git=2284993
(bootloader) tz.git: git=4267ce9-dirty
(bootloader) hyp.git: git=4267ce9-dirty
(bootloader) devcfg.git: git=4267ce9-dirty
(bootloader) keymaster.git: git=4267ce9-dirty
(bootloader) cmnlib.git: git=4267ce9-dirty
(bootloader) cmnlib64.git: git=4267ce9-dirty
(bootloader) prov.git: git=4267ce9-dirty
(bootloader) pmic.git: git=MBM-NG-V90.1A-0-g5ba2c70
(bootloader) aboot.git: git=MBM-NG-V90.1A-0-g4c89796
(bootloader) qe: qe 0/0
(bootloader) frp-state: no protection (0)
(bootloader) ro.carrier: retcn
all: listed above
finished. total time: 0.050s

ok i know it's hard to get back to stock but i need root for my works 

 

thanks again

Moto Sr Moderator
Moto Sr Moderator
Posts: 28,023
Registered: ‎02-02-2016
Location: US
Views: 10,504
Message 6 of 10

Re: can't unlock my Moto Z Bootloader

Can you list the exact steps you took?

 

what is the "Before" and "After"?

 

What changed? 

 

You are providing conflicting information. You didn't know what "Getvar all" is - so how did you have a "before" log?

 

From what I read, the after shows you have unlocked the bootloader. 


* Search box is your friend * I don't respond to PM if question belongs in forum
khode_erfan
Fanfold Paper
Posts: 7
Registered: ‎10-31-2016
Location: IR
Views: 10,501
Message 7 of 10

Re: can't unlock my Moto Z Bootloader

yes let me explain more 

i wanted to unlock my bootloader to root my phone and i went to motorola bootloader unlock website to get unlock key so i sent my oem key and then they sent unlock key to me and when i tried to unlock my boot loader with that i didn't succesed 

and i sent my error on first post here 

then i randomly tryied this command like my old nexus phone : 

fastboot flashing unlock

Boom it's unlocked without using that motorola key  

that was my stroy 

sorry for my bad english 

Moto Sr Moderator
Moto Sr Moderator
Posts: 28,023
Registered: ‎02-02-2016
Location: US
Views: 10,498
Message 8 of 10

Re: can't unlock my Moto Z Bootloader


@khode_erfan wrote:

yes let me explain more 

i wanted to unlock my bootloader to root my phone and i went to motorola bootloader unlock website to get unlock key so i sent my oem key and then they sent unlock key to me and when i tried to unlock my boot loader with that i didn't succesed 

and i sent my error on first post here 

then i randomly tryied this command like my old nexus phone : 

fastboot flashing unlock

Boom it's unlocked without using that motorola key  

that was my stroy 

sorry for my bad english 


Thank you for the details. I wasn't following along. That does help. 

 

I still want to check. This is new to me.


* Search box is your friend * I don't respond to PM if question belongs in forum
aatjitra
Paper Tape
Posts: 1
Registered: ‎12-26-2016
Location: SG
Views: 9,917
Message 9 of 10

Re: can't unlock my Moto Z Bootloader

It seems like your Moto has been unlocked before...

 

Please refer to this log "BEFORE"

 

(bootloader) securestate: flashing_locked
(bootloader) iswarrantyvoid: yes

 

The bootloader has been relocked but the warranty already void. When I compare to mine:

 

(bootloader) securestate: oem_locked
(bootloader) iswarrantyvoid: no

 

That's why you can use the unlock code.

P_Stas
Paper Tape
Posts: 1
Registered: ‎07-07-2018
Location: GR
Views: 2,051
Message 10 of 10

Re: can't unlock my Moto Z Bootloader

hi , i can not unlock my bootloader.

I have XT1650-05

(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8996-90.1A
(bootloader) product: sheridan
(bootloader) board: sheridan
(bootloader) secure: yes
(bootloader) hwrev: P3B
(bootloader) radio: 3
(bootloader) storage-type: ufs
(bootloader) ufs: 64GB TOSHIBA THGBF7G9L4LBATRB FV=0300
(bootloader) ram: 4GB SKHYNIX LP4 DIE=8Gb M5=06 M6=03 M7=00 M8=08
(bootloader) cpu: MSM8996
(bootloader) serialno: ___________D
(bootloader) cid: 0x000B
(bootloader) channelid: 0xc1
(bootloader) uid: 85E2984300000000000000000000
(bootloader) securestate: flashing_locked
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 536870912
(bootloader) reason: Reboot mode set to fastboot
(bootloader) imei: 358211071524673
(bootloader) meid:
(bootloader) date: 10-23-2016
(bootloader) sku: XT1650-05
(bootloader) battid:
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Sat Jan 24 6:38:46 UTC 1970"
(bootloader) ro.build.fingerprint[0]: motorola/griffin_retcn/griffin:6.0
(bootloader) ro.build.fingerprint[1]: .1/MCC24.246-37/42:user/release-ke
(bootloader) ro.build.fingerprint[2]: ys
(bootloader) poweroffalarm: 1
(bootloader) ro.build.version.full[0]: Blur_Version.24.21.42.griffin_ret
(bootloader) ro.build.version.full[1]: cn.retcn.en.US
(bootloader) ro.build.version.qcom: LA.HB.1.3.2-15400-8x96.0
(bootloader) version-baseband: M8996_1227.36.01.115.01R SCD
(bootloader) kernel.version[0]: Linux version 3.18.24-perf-g0c28d32 (hud
(bootloader) kernel.version[1]: soncm@ilclbld73) (gcc version 4.9.x-goog
(bootloader) kernel.version[2]: le 20140827 (prerelease) (GCC) ) #1 SMP
(bootloader) kernel.version[3]: PREEMPT Wed Aug 31 03:11:15 CDT 2016
(bootloader) xbl.git: git=MBM-NG-V90.1A-0-g5ba2c70
(bootloader) rpm.git: git=2284993
(bootloader) tz.git: git=4267ce9-dirty
(bootloader) hyp.git: git=4267ce9-dirty
(bootloader) devcfg.git: git=4267ce9-dirty
(bootloader) keymaster.git: git=4267ce9-dirty
(bootloader) cmnlib.git: git=4267ce9-dirty
(bootloader) cmnlib64.git: git=4267ce9-dirty
(bootloader) prov.git: git=4267ce9-dirty
(bootloader) pmic.git: git=MBM-NG-V90.1A-0-g5ba2c70
(bootloader) aboot.git: git=MBM-NG-V90.1A-0-g4c89796
(bootloader) qe: qe 0/0
(bootloader) frp-state: no protection (144)
(bootloader) ro.carrier: retcn
all: listed above

 

i get my unlock key from motorola H3________________________SG


C:\adb>fastboot devices
ZY223NB9LD fastboot

C:\adb>fastboot oem unlock H3NNFRGW6U6SZ353ZNSG
...
(bootloader) invalid boot state
OKAY [ 0.016s]
finished. total time: 0.016s

 

What else i can do?

i try 

fastboot flashing unlock

 

but nohthing for me. 

Top Kudoed Authors