how lock bootloader mate 8 - Mate 8 General

hi i am new user to mate 8 and i want ask how relock the bootloader because i received unlock i try with fastboot cammand but he write me that
FAILED (remote: Command not allowed)
finished. total time: 0.015s
that i write in cmd to lock is fastboot oem lock and my bootloader code
please help me thanks

winnie19810 said:
hi i am new user to mate 8 and i want ask how relock the bootloader because i received unlock i try with fastboot cammand but he write me that
FAILED (remote: Command not allowed)
finished. total time: 0.015s
that i write in cmd to lock is fastboot oem lock and my bootloader code
please help me thanks
Click to expand...
Click to collapse
fastboot oem relock (+your code )
I think that's the syntax

try my tool [TOOL] SRK Tool Huawei Bootloader/ROOT/Recovery/Backup/Utility

Does relocking get rid of the message saying your device has been tampered with?

somboons said:
try my tool [TOOL] SRK Tool Huawei Bootloader/ROOT/Recovery/Backup/Utility
Click to expand...
Click to collapse
Dont detect my phone.
On command line detect, but in your too,l don't detect on fastboot mode.

ovitaIRC said:
Dont detect my phone.
On command line detect, but in your too,l don't detect on fastboot mode.
Click to expand...
Click to collapse
Type fastboot oem lock

fastboot oem lock does not working, fastboot oem relock does, but after that you will only see relocked in fastboot mode. If you want to send back your phone to the Service in guarantee, you need to have the Locked status (if not, relocked is fine).
To do that, follow this guide:
http://forum.xda-developers.com/mate-8/general/whats-happened-message-boot-screen-t3321943

When I updated the phone software (UPDATE.APP dload method) my phone got relocked

I go from B193 to B320 and go back to B180/193,the Bootloader is “Locked“ after this Procedur.

Related

Zuk Z1: FAILED (remote: oem unlock is not allowed)

Hello everyone, I locked my smartphone and now I want it back. The only way by which I can operate it from the Fastboot mode presents the recovery of stock Cyanogen. From platform-tools, I would like to unlock the bootloader to install a TWRP recovery, but I can not because I get this message FAILED (remote: oem unlock is not allowed) when I enter this command fastboot oem unlock -i 0x2b4c. Could someone help me? Pretty much in advance.
alessio93 said:
Hello everyone, I locked my smartphone and now I want it back. The only way by which I can operate it from the Fastboot mode presents the recovery of stock Cyanogen. From platform-tools, I would like to unlock the bootloader to install a TWRP recovery, but I can not because I get this message FAILED (remote: oem unlock is not allowed) when I enter this command fastboot oem unlock -i 0x2b4c. Could someone help me? Pretty much in advance.
Click to expand...
Click to collapse
Bro How did you solved this ?
Could you please help me.
I am stuck at the same point.
A solution would be to flash a new factory rom through the QFIL tool.
any link for QFIL ROM ?
aamszia said:
any link for QFIL ROM ?
Click to expand...
Click to collapse
I'll give you next week if needed

[SOLVED] P9 Lite (L31) bricked? Please help...

Hi,
I think my P9 Lite is bricked (L31) :crying:
It happened because I've tried to downgrade from Android N EMUI 5 beta to Android M (EMUI 4.1.1) with the dload folder method. I've extracted and put update.app of my B151 firmware inside then 3 buttons and update said successful, but now bootloop and I can't enter recovery or fastboot (vol down + pwr).... I'm stuck in eRecovery and Wifi check for update fails....
>>> EDIT: Okay, good, I can enter fastboot but it says:
"Please connect usb cable, blah blah" (My phone is connected)
Android boot reason
AP_S_COLDBOOT
NA
Volume_down_press_process_func
PHONE locked
FRP Unlock
----
Do I have to unlock the bootloader? If yes, how can I do since I can't boot on Android?
Can I unlock it with fastboot commands or other ways? How?
----
Currently, with fastboot commands, I can't flash system.img or recovery.img. For instance, trying to flash system.img or recovery.img, it says:
C:\Users\Supergren>fastboot flash system "d:/system.img"
target reported max download size of 471859200 bytes
sending sparse 'system' (451070 KB)...
OKAY [ 19.381s]
writing 'system'...
FAILED (remote: Command not allowed)
finished. total time: 19.395s
I guess it's because my bootloader is locked...
I'm a bit lost
>>> EDIT 2: to solve the bootloop after downgrading from N beta to M (b151), I just had to:
1- Shutdown my phone
2- Plug to my computer. That's what I forgot previously to be able to start fastboot mode!
3- Press Volume down + PWR
4- Once in fastboot/rescue mode, open cmd window on my PC and type:
fastboot oem unlock <unlock code> . (For instance: fastboot oem unlock 1234567890123456)
5- Follow unlock procedure instructions and then the phone does a factory reset.
6- The phone reboots and it's done
Wood Man said:
Hi,
I think my P9 Lite is bricked (L31) :crying:
I can enter fastboot but it says:
"Please connect usb cable, blah blah" (My phone is connected)
Android boot reason
AP_S_COLDBOOT
NA
Volume_down_press_process_func
PHONE locked
FRP Unlock
----
Do I have to unlock the bootloader? If yes, how can I do since I can't boot on Android?
Can I unlock it with fastboot commands or other ways? How?
----
Currently, with fastboot commands, I can't flash system.img or recovery.img. For instance, trying to flash system.img or recovery.img, it says;
...
FAILED (remote: Command not allowed)
...
I guess it's because my bootloader is locked...
I'm a bit lost
Click to expand...
Click to collapse
Maybe unlocking the bootloader may help. On fastboot you type fastboot oem unlock
Wood Man said:
Hi,
I think my P9 Lite is bricked (L31) :crying:
I can enter fastboot but it says:
"Please connect usb cable, blah blah" (My phone is connected)
Android boot reason
AP_S_COLDBOOT
NA
Volume_down_press_process_func
PHONE locked
FRP Unlock
----
Do I have to unlock the bootloader? If yes, how can I do since I can't boot on Android?
Can I unlock it with fastboot commands or other ways? How?
----
Currently, with fastboot commands, I can't flash system.img or recovery.img. For instance, trying to flash system.img or recovery.img, it says;
...
FAILED (remote: Command not allowed)
...
I guess it's because my bootloader is locked...
I'm a bit lost
Click to expand...
Click to collapse
To unlock bootloader type ,,fastboot oem unlock.......,,(.....is your unlock code)
To unlock the bootloadee you have to type :
fastboot oem unlock 1234567891234
Sent from my HUAWEI VNS-L31 using XDA Labs
You are all gods! It's solved!
Thanks a lot guys! I really appreciate your fast answers :good:
I've read on the web about the "fastboot oem unlock" method but I didn't know if it worked with P9 Lite. I was afraid to totally brick the phone.
See you later!
Edit: I've updated the thread title with [SOLVED] and wrote what I did to achieve this.
Hey ! You got the same problem as me, excuse me how did you get the unlock code if you couldn't boot the phone... I read and read and your problem was the same i have ... but when i got to fastboot i can't unlock, i dont have the unlock code sh**. Thank you and sorry for my english everybody i hope your eyes didn't hurt hehe
EDIT: I just got the unlock code but I think i'm screwed up... When in fastboot&rescue mode it says FRP Lock... sh**
1francis said:
Hey ! You got the same problem as me, excuse me how did you get the unlock code if you couldn't boot the phone... I read and read and your problem was the same i have ... but when i got to fastboot i can't unlock, i dont have the unlock code sh**. Thank you and sorry for my english everybody i hope your eyes didn't hurt hehe
EDIT: I just got the unlock code but I think i'm screwed up... When in fastboot&rescue mode it says FRP Lock... sh**
Click to expand...
Click to collapse
Frp lock means Factory Reset Protection. If it says Phone UNLOCKED means ur bootloader is unlocked.
1francis said:
Hey ! You got the same problem as me, excuse me how did you get the unlock code if you couldn't boot the phone... I read and read and your problem was the same i have ... but when i got to fastboot i can't unlock, i dont have the unlock code sh**. Thank you and sorry for my english everybody i hope your eyes didn't hurt hehe
EDIT: I just got the unlock code but I think i'm screwed up... When in fastboot&rescue mode it says FRP Lock... sh**
Click to expand...
Click to collapse
go to developer option and activate oem unlocking
this will unlock frp
Right. The issue is that phone is stuck on huawei logo
1francis said:
Right. The issue is that phone is stuck on huawei logo
Click to expand...
Click to collapse
Buy DC phoenix 15euros and flash it same happen to me last day

ADB error. Need Help

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp.img
target reported max download size of 471859200 bytes
sending 'recovery' (22732 KB)...
OKAY [ 0.489s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.499s
How do i fix this error? It's preventing me from installing twrp on my device. I have my bootloader unlocked and yet it refuses to work everytime.
Bootloader and frp unlock ?
jac10000 said:
Bootloader and frp unlock ?
Click to expand...
Click to collapse
I lost patience and decided to relock my bootloader and unlock it again. Now i face another mess of a problem.
jac10000 said:
Bootloader and frp unlock ?
Click to expand...
Click to collapse
Somehow, after relocking the bootloader, the android keyboard has refused to function anymore. And if i can't set up a wifi connection and configure my phone to start up, i'll be stuck and unable to use my phone any longer. So much for locking my phone to start the rooting process from scratch.
Ribombee said:
Somehow, after relocking the bootloader, the android keyboard has refused to function anymore. And if i can't set up a wifi connection and configure my phone to start up, i'll be stuck and unable to use my phone any longer. So much for locking my phone to start the rooting process from scratch.
Click to expand...
Click to collapse
Make sure to unlock your bootloader and FRP is unlocked. Which firmware/region are you currently using?
dexz said:
Make sure to unlock your bootloader and FRP is unlocked. Which firmware/region are you currently using?
Click to expand...
Click to collapse
I attempted to unlock the bootloader, which was the original plan, but my keyboard doesn't show up at all when i try to set up my wifi and sign into my phone to unlock the FRP. I'm stuck with Google Voice and i still can't find a way to start using my phone again because of it.
Ribombee said:
I attempted to unlock the bootloader, which was the original plan, but my keyboard doesn't show up at all when i try to set up my wifi and sign into my phone to unlock the FRP. I'm stuck with Google Voice and i still can't find a way to start using my phone again because of it.
Click to expand...
Click to collapse
So I assumed you are in Nougat. Reflash update_data.zip again via twrp (if you are using it)
dexz said:
So I assumed you are in Nougat. Reflash update_data.zip again via twrp (if you are using it)
Click to expand...
Click to collapse
I can't do that either. My bootloader is locked as we speak. I was planning on trying to lock it back and then unlock it again then attempt to install TWRP again. However, my keyboard magically disappeared from existence after i locked the bootloader.
Ribombee said:
I can't do that either. My bootloader is locked as we speak. I was planning on trying to lock it back and then unlock it again then attempt to install TWRP again. However, my keyboard magically disappeared from existence after i locked the bootloader.
Click to expand...
Click to collapse
The one way now you need to unlock your bootloader and install twrp. Since internet storage will be encrypted. You have to format data then install update_data.zip and update.zip again.
P/S: You can't install nougat via dload that's why you need twrp.
dexz said:
The one way now you need to unlock your bootloader and install twrp. Since internet storage will be encrypted. You have to format data then install update_data.zip and update.zip again.
P/S: You can't install nougat via dload that's why you need twrp.
Click to expand...
Click to collapse
But how do i unlock bootloader now if i can't enter the device to enable usb debugging and oem unlock?
Ribombee said:
But how do i unlock bootloader now if i can't enter the device to enable usb debugging and oem unlock?
Click to expand...
Click to collapse
You need to go bootloader mode. Shutdown your phone then press volume down and plug in usb cable. You will automatic go to bootloader mode the one with white background then type fastboot oem unlock your-unlock-password
P/S: You don't need to enable usb debugging to unlock your bootloader.
dexz said:
You need to go bootloader mode. Shutdown your phone then press volume down and plug in usb cable. You will automatic go to bootloader mode the one with white background then type fastboot oem unlock your-unlock-password
Click to expand...
Click to collapse
When i do that, it gives me this error.
C:\Program Files (x86)\Minimal ADB and Fastboot> fastboot oem unlock 2044045691602471
...
FAILED (remote: Command not allowed)
finished. total time: 0.017s
I can only unlock the bootloader if i unlock the Oem Unlock setting in Developer Options and USB Debugging, both of which i cannot do since my keyboard isn't working anymore. And Google Voice is below useless.
Ribombee said:
When i do that, it gives me this error.
C:\Program Files (x86)\Minimal ADB and Fastboot> fastboot oem unlock 2044045691602471
...
FAILED (remote: Command not allowed)
finished. total time: 0.017s
I can only unlock the bootloader if i unlock the Oem Unlock setting in Developer Options and USB Debugging, both of which i cannot do since my keyboard isn't working anymore. And Google Voice is below useless.
Click to expand...
Click to collapse
If you are in Nougat. You can't enable oem unlock. Either it won't showing or in greyed color. You need to enable it from EMUI 4/4.1
dexz said:
If you are in Nougat. You can't enable oem unlock. Either it won't showing or in greyed color. You need to enable it from EMUI 4/4.1
Click to expand...
Click to collapse
Well that just made things ten times better.
I should probably just give up on the phone.
You can just "rollback" to Emui 4.0 and unlock the Oem Unlock setting in Developer Options.

A2017G fastboot oem lock

Hi
I am trying to relock the BL for warranty.
I did a EDL-FULL-Nougat, then found out that Nougat does not boot into bootloader.
So I downloaded A2017G_NrollbackM from ZTE, which worked nicely. I'm in bootloader now and see
Code:
C:\>fastboot getvar unlocked
unlocked:
finished. total time: 0.008s
which was expected.
... just I don't understand, why I can't lock or get oem device-info
Code:
C:\>fastboot oem device-info
...
FAILED (remote: unknown command)
finished. total time: 0.004s
C:\>fastboot oem lock
...
FAILED (remote: unknown command)
finished. total time: 0.001s
please help, thanks alex
did you enable 'oem unlock' on the developer settings?
yes, sorry forgot to add
lxlx said:
yes, sorry forgot to add
Click to expand...
Click to collapse
so i guess you have been able to lock it?
No, I mean I forgot to add that info in my first post.
I can not run device-info or lock, log posted.
Cheers :/
your Fastboot.exe is too old
Choose an username... said:
so i guess you have been able to lock it?
Click to expand...
Click to collapse
but you didn't even respond to my question
did you enable 'oem unlock' on the Developer settings?
skdubg said:
your Fastboot.exe is too old
Click to expand...
Click to collapse
that sounds promising, where to get the up-to-date fastboot.exe?
Choose an username... said:
but you didn't even respond to my question
Click to expand...
Click to collapse
I tried, but my non-native english failed apparently.
So to be clear:
Choose an username... said:
did you enable 'oem unlock' on the Developer settings?
Click to expand...
Click to collapse
yes I had oem unlock in dev-options enabled. Then I tried
Code:
C:\>fastboot oem device-info
...
FAILED (remote: unknown command)
finished. total time: 0.004s
C:\>fastboot oem lock
...
FAILED (remote: unknown command)
finished. total time: 0.001s
Post deleted. Didn't notice you are on mm.
lxlx said:
that sounds promising, where to get the up-to-date fastboot.exe?
Click to expand...
Click to collapse
The 15 seconds ADB installer should install the newest fastboot available. But be sure to get rid of the old installation
How to be sure?
Uninstall all related driver programs, check usbdeview on connected device and uninstall accordingly.
Connect and axon does not get fully installed, yellow ? In device manager. Install with local google usb_driver does not work.
Only with ZTE driver I got adb device. Then adb devices and fastboot devices works. But still can not lock.
I found my old aboot_lock.img from unlocking backup... But it's getting more scary step by step.
Not sure what I did wrong along the way.
EDL FULL then original MMrollback. Shouldn't this be all stock ZTE everywhere? Why fastboot does not like me...
lxlx said:
How to be sure?
Uninstall all related driver programs, check usbdeview on connected device and uninstall accordingly.
Connect and axon does not get fully installed, yellow ? In device manager. Install with local google usb_driver does not work.
Only with ZTE driver I got adb device. Then adb devices and fastboot devices works. But still can not lock.
I found my old aboot_lock.img from unlocking backup... But it's getting more scary step by step.
Not sure what I did wrong along the way.
EDL FULL then original MMrollback. Shouldn't this be all stock ZTE everywhere? Why fastboot does not like me...
Click to expand...
Click to collapse
This hasn't got anything to do with the drivers. I mean, delete the fastboot.exe and adb.exe that you have, then download the "15 seconds ADB installer" and install it, and try again
OK, a bit more digging.
I have 15sec-adb installed systemwide in C:\adb>
Code:
C:\adb>dir /B
aboot.img
aboot_lock.img
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
fastboot.exe
strings.exe
as you can see, I put my aboot dumps there as well, and a strings-linux-like tool - after
reading this thread.
so, I got the ZTE driver to have my Axon7 visible to adb/fastboot (otherwise no device) ... and I have the latest 15sec adb here.
Code:
C:\adb>fastboot devices
823b48f5 fastboot
... but that's the only thing that works. not even easy things like this do
Code:
C:\adb>fastboot continue
resuming boot...
FAILED (remote: unknown command)
finished. total time: 0.015s
quoting the other thread
What’s missing in this list are fastboot oem commands. These commands are specific to Android device manufacturers, and there is no comprehensive list or documentation anywhere for what fastboot oem commands are available.
Click to expand...
Click to collapse
so I'm not sure if my fastboot version is the problem. I rather think that the Nougat->MM stock thingy, overwrite my Axon7 aboot.img with only a small set of fastboot commands available.
in my backup I see
Code:
C:\adb>strings aboot* | findstr /i oem
C:\adb\aboot.img: 04 0004 OEM_ID1
C:\adb\aboot.img: oem unlock is not allowed
C:\adb\aboot.img: oem unlock
C:\adb\aboot.img: oem unlock-go
C:\adb\aboot.img: oem lock
C:\adb\aboot.img: oem device-info
C:\adb\aboot.img: is_oem_unlock_allowed
C:\adb\aboot_lock.img: 04 0004 OEM_ID1
C:\adb\aboot_lock.img: oem unlock is not allowed
C:\adb\aboot_lock.img: oem unlock
C:\adb\aboot_lock.img: oem unlock-go
C:\adb\aboot_lock.img: oem lock
C:\adb\aboot_lock.img: oem device-info
C:\adb\aboot_lock.img: is_oem_unlock_allowed
so in old and new aboot I had oem-commands available, back then...
I'm not an expert, but do you guys really know that my problem is related to the PC-config I have, and not to the device-config?
I can not check aboot on device, as I'm not root.
update...
I did not succeed with fastboot commands, see above.
But, I flashed the A2017G B10_FULL_EDL package, and have no more 'not-verified-boot-screen-warning' ...
After miflash android greeted me with 'enter-android-password' ... I wiped cache/data again, now all good and -it seems- BL locked.
so, if you have access to EDL mode, try different EDL packages, you may end up like I did, full stock locked (at least it seems so)... good luck
lxlx said:
update...
I did not succeed with fastboot commands, see above.
But, I flashed the A2017G B10_FULL_EDL package, and have no more 'not-verified-boot-screen-warning' ...
After miflash android greeted me with 'enter-android-password' ... I wiped cache/data again, now all good and -it seems- BL locked.
so, if you have access to EDL mode, try different EDL packages, you may end up like I did, full stock locked (at least it seems so)... good luck
Click to expand...
Click to collapse
Pretty sure miflash cannot lock your bl.
Technically I would not know why it should not be possible.
If it flashes block wise, it can update anything... for me the purpose of EDL.
lxlx said:
Technically I would not know why it should not be possible.
If it flashes block wise, it can update anything... for me the purpose of EDL.
Click to expand...
Click to collapse
I think it is still unlocked. I read something weird about the message not appearing after having a full stock system
But if you're gonna sell it/claim warranty, who cares?
update, ZTE repaired the display
lxlx said:
update, ZTE repaired the display
Click to expand...
Click to collapse
Did you lock the bootloader after all?
I guess they wouldn't even notice if the 5 sec screen didn't show up lol
BL still unlocked.
I sent it with MM-B10-FULL-EDL, where 5sec screen was not displayed.
And got it back with MM-B06 ... with 5sec screen
so I guess what happened:
- ZTE turns on, does not see 5sec, repairs display, does usual EDR 'update' which is actually a downgrade to MM-B06, then sees 5sec-warn and thinks of what to do now, but as screen is repaired, what else than return
OR
- ZTE repairs screen (VIP) although bootloader unlocked
either way, all good.
what I learned is
- fastboot parameters need to be in aboot.img
- I can't do getvar or oem-lock until I flash another aboot.
Anyone with A2017G and unlocked BL who needs to send back:
EDL to A2017G_B10_FULL_EDL.zip
and hope you also have hidden 5sec screen (BL still unlocked)

PRA-LX1 stuck in bootloop, can't be turned off - locked, access to fastboot only!

Hello xda,
my cousin owns the P8Lite (PRA-LX1) and gave it to me to attempt unbricking it.
The device is stuck in a permanent bootloop, showing the Huawei logo. When pressing the power button for ~10s, it simply turns itself on again (even when not connected to a PC or the wall socket), which to me is very strange behaviour but I do not own a Huawei device.
I can get to fastboot (https://ibb.co/ixPtAn).
ADB does not recognize the device.
Fastboot does not let me boot a temporary recovery (be it the stock one or twrp), neither does it allow me to flash any file.
I have tried downloading the update.app file onto the root directory of the sd card and force the phone into the update mode (power, vol+, vol- at the same time) but to no avail.
Since it is not my own device and I cannot boot into Android at all, I have no way of getting to the IMEI of the device, which I would need to unlock the bootloader.
Is this device permanently bricked and a lost cause or is there still hope?
dejavecue said:
I have no way of getting to the IMEI of the device, which I would need to unlock the bootloader.
Click to expand...
Click to collapse
Hi,
IMEI should be engraved on the lower SIM tray if it's the original one.
HTH
badhabitsdiehard said:
Hi,
IMEI should be engraved on the lower SIM tray if it's the original one.
HTH
Click to expand...
Click to collapse
Oh yes I got the original one. But since I cannot boot, I cannot get the S/N that is apparently required as well.
Edit: Got the SN through fastboot devices.
Now the phone won't accept the unlock code that I got from huawei's website. It still says
PS C:\Users\*\Downloads\unlock bootloader> fastboot oem unlock ************
...
FAILED (remote: Command not allowed)
finished. total time: 0.017s
PS C:\Users\*\Downloads\unlock bootloader>
Click to expand...
Click to collapse
dejavecue said:
Got the SN through fastboot devices.
Now the phone won't accept the unlock code that I got from huawei's website.
Click to expand...
Click to collapse
Hi, sorry for the delay.
Try this, if not already tried: fastboot oem emmc_diag
It should check the status of emmc and tell you if it's ok.
Does this command: fastboot oem lock-state info work on your phone?
And putting the code Huawei sent you in this one fastboot oem frp-unlock?
Thank you for your comment:
badhabitsdiehard said:
Try this, if not already tried: fastboot oem emmc_diag
It should check the status of emmc and tell you if it's ok.
Click to expand...
Click to collapse
Code:
$ fastboot oem lock-state info
...
(bootloader) FB LockState: LOCKED
(bootloader) USER LockState: LOCKED
OKAY [ 0.012s]
finished. total time: 0.014s
badhabitsdiehard said:
Does this command: fastboot oem lock-state info work on your phone?
And putting the code Huawei sent you in this one fastboot oem frp-unlock?
Click to expand...
Click to collapse
Code:
$ fastboot oem frp-unlock {password censored}
...
FAILED (remote: password matching failed!!)
finished. total time: 0.211s
It is definitely the code I got from the Huawei Website.

Categories

Resources