How to relock Legion bootloader ? - Lenovo Legion Duel Questions & Answers

Hello
I just unlocked my Legion L79031 Bootloader and rooted
Then i flashed again with QPST rom
and i want to relock the bootloader
i tried
Fastboot flashing lock
and its replay
FAILED (remote: ' Don't allow to lock')
fastboot: error: Command failed
any way please

brsteej said:
Hello
I just unlocked my Legion L79031 Bootloader and rooted
Then i flashed again with QPST rom
and i want to relock the bootloader
i tried
Fastboot flashing lock
and its replay
FAILED (remote: ' Don't allow to lock')
fastboot: error: Command failed
any way please
Click to expand...
Click to collapse
try flashing other ROMs then do the lock again in fastboot.
fastboot oem lock-go

I did : fastboot oem lock-go
Faild command : (
i will try another rom and check again
Thank you <3

brsteej said:
I did : fastboot oem lock-go
Faild command : (
i will try another rom and check again
Thank you <3
Click to expand...
Click to collapse
Hi. Did you managed to relock bootloader? If yes please post how you did it. Thanks

Write command in adb

LeshaRB said:
Write command in adb
Click to expand...
Click to collapse
With command is for this phone?

rackis18 said:
With command is for this phone?
Click to expand...
Click to collapse
fastboot flashing lock
fastboot oem lock
fastboot oem lock-go

brsteej said:
Hello
I just unlocked my Legion L79031 Bootloader and rooted
Then i flashed again with QPST rom
and i want to relock the bootloader
i tried
Fastboot flashing lock
and its replay
FAILED (remote: ' Don't allow to lock')
fastboot: error: Command failed
any way please
Click to expand...
Click to collapse
Did it relocked?

rackis18 said:
With command is for this phone?
Click to expand...
Click to collapse
Did it relocked?

Waseem.Noor007 said:
Did it relocked?
Click to expand...
Click to collapse
Yes

Related

Fastboot flashing [SOLVED]

Just wondering...is it fastboot firmware flashing method will also back it my bootloader to locked state..?, thx b4
Thread Closed
No. Only the "fastboot oem lock" command will lock your bootloader.
Heisenberg said:
No. Only the "fastboot oem lock" command will lock your bootloader.
Click to expand...
Click to collapse
Thanks Heisenberg... now i don't doubt about that..

Error while unlocking bootloader

Hi !
I want to unlock my bootloader so I follow the instructions from the Sony's website. When I have to use the follow command : "fastboot -i 0x0fce oem unlock unlockcode" I have the following error :
Code:
FAILED (remote: Command not allowed)
This error is under Linux Mint. I try into Windows 10 and the fastboot devices return nothing..
I also check if the bootloader can be unlocked, and it is !
Any help ?
Thanks a lot !
nathan30 said:
Hi !
I want to unlock my bootloader so I follow the instructions from the Sony's website. When I have to use the follow command : "fastboot -i 0x0fce oem unlock unlockcode" I have the following error :
Code:
FAILED (remote: Command not allowed)
This error is under Linux Mint. I try into Windows 10 and the fastboot devices return nothing..
I also check if the bootloader can be unlocked, and it is !
Any help ?
Thanks a lot !
Click to expand...
Click to collapse
Try unlock bootloader via Flashtool. It worked for me. Maybe you have to request a new code from Sony.
@nathan30
You read point #4 in https://forum.xda-developers.com/showpost.php?p=70504721&postcount=2 ?
DHGE said:
@nathan30
You read point #4 in https://forum.xda-developers.com/showpost.php?p=70504721&postcount=2 ?
Click to expand...
Click to collapse
I read it again, and it's working now. THanks a lot

OEM unlock not appearing in developer options.

I cant seem to find the unlock OEM option at all in the developer options. I tried to add images to show my problems but was not allowed to....sigh. Either way I cannot see the OEM option in my phone.
Model: MHA-AL00
Build: MHA-AL00C00B156
This is what I get after flashing TWRP with no issues and trying to reboot into recovery.
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot TWRP.img
downloading 'boot.img'...
OKAY [ 0.464s]
booting...
FAILED (remote: Command not allowed)
finished. total time: 0.471s
Any help would be greatly appreciated.
Chinese firmware doesn't have oem unlock option.
Did you unlock bootloader?
gm007 said:
Chinese firmware doesn't have oem unlock option.
Did you unlock bootloader?
Click to expand...
Click to collapse
Yes I did. I can't seem to figure out what to do next. It shows to me that the twrp recovery has been installed but when i go to it it comes up with the recovery from the huawei. So i can't flash anything.
So if it doesn't have the OEM option to unlock can I not install recovery or root the handset?
Without the phone plugged,hold volume up and power till u see the logo, release power while keeping volume up pressed.
try this
shut down phone
press vol up + power
when saw the huawei logo
release all buttons
wait
done
u r in twrp
GH04ST said:
I cant seem to find the unlock OEM option at all in the developer options. I tried to add images to show my problems but was not allowed to....sigh. Either way I cannot see the OEM option in my phone.
Model: MHA-AL00
Build: MHA-AL00C00B156
This is what I get after flashing TWRP with no issues and trying to reboot into recovery.
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot TWRP.img
downloading 'boot.img'...
OKAY [ 0.464s]
booting...
FAILED (remote: Command not allowed)
finished. total time: 0.471s
Any help would be greatly appreciated.
Click to expand...
Click to collapse
fastboot boot is not supported. try the keys combination
Fastboot boot twrp.img would not flash twrp, what it tries is downloading twrp.img then boot it without flashing.
I'm not sure how it is for the Chinese Mate 9s, but you'd want 'fastboot flash recovery twrp.img', that flashes twrp (if your twrp is named twrp.img).
If it says it flashed twrp, try 'adb reboot recovery'.
Never flash recovery to boot partition.
For recovery : "fastboot flash recovery twrp.img"
gm007 said:
Never flash recovery to boot partition.
For recovery : "fastboot flash recovery twrp.img"
Click to expand...
Click to collapse
Yikes, thanks for noticing. I'm tired. Edited
Thank you so much. It greatly helped.
hello
GH04ST said:
Yes I did. I can't seem to figure out what to do next. It shows to me that the twrp recovery has been installed but when i go to it it comes up with the recovery from the huawei. So i can't flash anything.
Click to expand...
Click to collapse
Are you unlocked it without click that oem unlock??
I also have mate 9china version I can not assign root if you succeeded without oem un
ante0 said:
Yikes, thanks for noticing. I'm tired. Edited
Click to expand...
Click to collapse
OEM Unlock
GH04ST said:
Yes I did. I can't seem to figure out what to do next. It shows to me that the twrp recovery has been installed but when i go to it it comes up with the recovery from the huawei. So i can't flash anything.
Click to expand...
Click to collapse
Were you able to unlock the bootloader of your Mate 9, MHA-AL00?
In my Developer Options there is no "OEM Unlocking"
Model: MHA-AL00
Build: MHA-AL00C00B213
I've been trying for days and I can not because the error always appears:
...
FAILED (remote: command not allowed)
Finished. Total time: 0.031s.
Do you or anyone that else got were can help me out?
Thanks
tigrelouco said:
Were you able to unlock the bootloader of your Mate 9, MHA-AL00?
In my Developer Options there is no "OEM Unlocking"
Model: MHA-AL00
Build: MHA-AL00C00B213
I've been trying for days and I can not because the error always appears:
...
FAILED (remote: command not allowed)
Finished. Total time: 0.031s.
Do you or anyone that else got were can help me out?
Thanks
Click to expand...
Click to collapse
Are you using "fastboot flash recovery twrp.img" or "fastboot boot twrp.img"? The boot command is not allowed.
ante0 said:
Are you using "fastboot flash recovery twrp.img" or "fastboot boot twrp.img"? The boot command is not allowed.
Click to expand...
Click to collapse
I'm still trying to unlock the bootloader using the command prompt and ADB and Fastboot, after I got the Huawei code:
Step-1: Open the command prompt and enter the following command.
Adb reboot bootloader
Step-2: Your phone will reboot and enter into bootloader mode.
Step-3: Now enter the following command to finally unlock the bootloader.
Fastboot oem unlock xxxxxxxxxxxxxxxxxxxx
And it always fails.
I do not know how to use "fastboot flash recovery twrp.img" or "fastboot boot twrp.img".
Do you have a guide how should I do it?
tigrelouco said:
I'm still trying to unlock the bootloader using the command prompt and ADB and Fastboot, after I got the Huawei code:
Step-1: Open the command prompt and enter the following command.
Adb reboot bootloader
Step-2: Your phone will reboot and enter into bootloader mode.
Step-3: Now enter the following command to finally unlock the bootloader.
Fastboot oem unlock xxxxxxxxxxxxxxxxxxxx
And it always fails.
I do not know how to use "fastboot flash recovery twrp.img" or "fastboot boot twrp.img".
Do you have a guide how should I do it?
Click to expand...
Click to collapse
You can done follow this link.
https://www.howtogeek.com/239798/how-to-unlock-your-android-phones-bootloader-the-official-way/
---------- Post added at 07:31 AM ---------- Previous post was at 07:30 AM ----------
tigrelouco said:
I'm still trying to unlock the bootloader using the command prompt and ADB and Fastboot, after I got the Huawei code:
Step-1: Open the command prompt and enter the following command.
Adb reboot bootloader
Step-2: Your phone will reboot and enter into bootloader mode.
Step-3: Now enter the following command to finally unlock the bootloader.
Fastboot oem unlock xxxxxxxxxxxxxxxxxxxx
And it always fails.
I do not know how to use "fastboot flash recovery twrp.img" or "fastboot boot twrp.img".
Do you have a guide how should I do it?
Click to expand...
Click to collapse
command for unlock via cmd
fastboot oem unlock xxxxxxxxxxxxxxxx
You can done follow this link.
https://www.howtogeek.com/239798/how-to-unlock-your-android-phones-bootloader-the-official-way/
newyesor said:
You can done follow this link.
https://www.howtogeek.com/239798/how-to-unlock-your-android-phones-bootloader-the-official-way/
---------- Post added at 07:31 AM ---------- Previous post was at 07:30 AM ----------
command for unlock via cmd
fastboot oem unlock xxxxxxxxxxxxxxxx
You can done follow this link.
https://www.howtogeek.com/239798/how-to-unlock-your-android-phones-bootloader-the-official-way/
Click to expand...
Click to collapse
But he says it fails every time.
@tigrelouco
Open a terminal or adb shell and enter these commands:
getprop sys.oem_unlock_allowed
getprop ro.oem_unlock_supported
And post results.
Found this in another thread:
tohc1 said:
To answer my own problem/ for anyone else having problems it is necessary to remove the factory reset protection (frp) to do this you need to remove all pin/password/fingerprint locks, then remove all google accounts and finally do a factory reset.
Then the usual adb/fastboot commands work fine.
As linux33it says the bootloader can be unlocked without the option in the developer options.
Click to expand...
Click to collapse
Might be of help.
ante0 said:
But he says it fails every time.
@tigrelouco
Open a terminal or adb shell and enter these commands:
getprop sys.oem_unlock_allowed
getprop ro.oem_unlock_supported
And post results.
Found this in another thread:
Might be of help.
Click to expand...
Click to collapse
And how do I open a Shell command?
tigrelouco said:
And how do I open a Shell command?
Click to expand...
Click to collapse
Download Terminal emulator from the playstore or use adb from command prompt.
By the way, you dont happen to use Linux?

Error to unlock bootloader ``FAILED (remote: Command not allowed)ยดยด

I can`t unlock bootloader, I get the following error:
FAILED (remote: Command not allowed)
finished. total time: 0.018s
Phone relocked. FRP Lock. Can't boot normally. Stuck in eRecovery or in bootloader mode.
dj_adri said:
I can`t unlock bootloader, I get the following error:
FAILED (remote: Command not allowed)
finished. total time: 0.018s
Phone relocked. FRP Lock. Can't boot normally. Stuck in eRecovery or in bootloader mode.
Click to expand...
Click to collapse
Unfortunately, because of the FRP lock, is what is causing the commands to fail.
Were you doing anything prior to trying to unlock the bootloader?
What model do you have?
dj_adri said:
I can`t unlock bootloader, I get the following error:
FAILED (remote: Command not allowed)
finished. total time: 0.018s
Phone relocked. FRP Lock. Can't boot normally. Stuck in eRecovery or in bootloader mode.
Click to expand...
Click to collapse
you must logout huawei id before unlock bootloader
ccchill said:
you must logout huawei id before unlock bootloader
Click to expand...
Click to collapse
How do I do it? The phone is in bootloop
Wirmpolter said:
Unfortunately, because of the FRP lock, is what is causing the commands to fail.
Were you doing anything prior to trying to unlock the bootloader?
What model do you have?
Click to expand...
Click to collapse
MHA-L09C02 but is rebranded to mha-l29c432b363. I close the bootloader because i flash xposed and the phone entered to bootloop, I could have closed it but now I can not open it.
Have you solve it? Unfortunatelly i have the same issue:crying:
dj_adri said:
MHA-L09C02 but is rebranded to mha-l29c432b363. I close the bootloader because i flash xposed and the phone entered to bootloop, I could have closed it but now I can not open it.
Click to expand...
Click to collapse
Yeah, seems xposed causes this type of issue for everyone I've heard who tries to install it.
Can you still get into erecovery?
Icaxus said:
Have you solve it? Unfortunatelly i have the same issue:crying:
Click to expand...
Click to collapse
Yes, this is the only solution without pay:
https://forum.xda-developers.com/mate-9/how-to/funky-huawei-erecovery-solution-100-t3620165

Fastboot commands problem.

Hey everyone. I recently managed to unlock bootloader to flash OpenKirin but now I when I try to flash the rom via fastboot or try to erase a partition or to relock the bootloader , I get an error message."FAILED.Command not allowed"
any suggestions why is this happening.?
Thanks in advance
Bootloader and frp unlocked?
yeah they are unlocked. I tried to relock and then unlock the bootloader but I get the same error
makiscfu said:
Hey everyone. I recently managed to unlock bootloader to flash OpenKirin but now I when I try to flash the rom via fastboot or try to erase a partition or to relock the bootloader , I get an error message."FAILED.Command not allowed"
any suggestions why is this happening.?
Thanks in advance
Click to expand...
Click to collapse
If using windows, make sure you are using command prompt in administrator mode. If using linux, use sudo fastboot ******
Just a thought
makiscfu said:
Hey everyone. I recently managed to unlock bootloader to flash OpenKirin but now I when I try to flash the rom via fastboot or try to erase a partition or to relock the bootloader , I get an error message."FAILED.Command not allowed"
any suggestions why is this happening.?
Thanks in advance
Click to expand...
Click to collapse
I would say either you're trying to reboot to bootloader (adb reboot bootloader) with the phone on and not in storage mode and without debug on...
Or you're in bootloader and it's already locked.
Other than that, I'm clueless.

Categories

Resources