(Q) How to Re-Lock the LG G4 (H815) ? - G4 Q&A, Help & Troubleshooting

Hi everyone,
I was wondering how does one can relock the bootloader, many people say it's impossible, but I'm pretty sure there is a solution.
Looking into the partition table to delete the unlocked status to locked status...
I saw in a fastboot mode with this command "fastboot erase unlock" and this cmd return "cannot erase this partition in unlocked state"
So i don't know at this point.
If anyone can help me it would be nice.
Best Regards. Aize147.

It can't be done. Not yet, anyway.

Aize147 said:
Hi everyone,
I was wondering how does one can relock the bootloader, many people say it's impossible, but I'm pretty sure there is a solution.
Looking into the partition table to delete the unlocked status to locked status...
I saw in a fastboot mode with this command "fastboot erase unlock" and this cmd return "cannot erase this partition in unlocked state"
So i don't know at this point.
If anyone can help me it would be nice.
Best Regards. Aize147.
Click to expand...
Click to collapse
There is no way to relock the Bootloader once unlocked as of yet. I also would not wait for it.
BTW; "unlock" is not a partition. Typing "fastboot erase XYZ" will always return "cannot erase this partition in unlocked state". You really think you'd simply stumble upon a command to relock the Bootloader, don't you? xD

Haven't Tried It Yet, but....
nitrous² said:
There is no way to relock the Bootloader once unlocked as of yet. I also would not wait for it.
BTW; "unlock" is not a partition. Typing "fastboot erase XYZ" will always return "cannot erase this partition in unlocked state". You really think you'd simply stumble upon a command to relock the Bootloader, don't you? xD
Click to expand...
Click to collapse
Fastboot does contain a command "fastboot oem lock." Am I correct in assuming from LG's statement that this command would fail on an unlocked bootloader? (The explanation of this command says it will "lock your phone’s bootloader once again if locking it is actually allowed.")

Related

[Q]Re-Unlock bootloader after relocked

Had anyone tried it before?
After I unlock my bootloader using the official method, it is a silly way to unlock your Arc S bootloader. You will lost your DRM key and FOTA bricked, I learned my lesson. If you want to unlock your phone Testpointer method is obviously a better way.
So I relock my bootloader again using a common method you can find online:
http://forum.xda-developers.com/show...php?p=20422618
fastboot flash -i 0x0fce getvar version
fastboot flash -i 0x0fce oem unlock 0xKEY
Error: cannot load '0x0fce' is what I got after execute these command.
I am so desperate to get my bootloader unlock again and manage to switch between locked and unlock state.
Is there something to do with preset.ta file so I can unlock my device again. If the re-lock patch involving this file.
Well! It seem to solved.
Using following command:
fastboot getvar version
fastboot oem unlock 0xKEY
Thanks you guys!

Info needed for Unified Toolkit

If anyone can give me the following information it would be useful in adding the Pixel C to the Unified Android Toolkit.
1. Is the "Allow OEM unlock" option present in the developer options (needs checking before bootloader can be unlocked)?
2. What is the key combo to boot the device to fastboot mode manually?
3. Is it a standard bootloader screen (i.e. down volume and power to boot to recovery)?
4. What instructions do you get on the device after running fastboot flashing unlock to unlock the bootloader?
If anyone can fill in any of the information or add anything that would be useful then please do..
Mark.
1. Is the "Allow OEM unlock" option present in the developer options (needs checking before bootloader can be unlocked)?
A: Yes
2. What is the key combo to boot the device to fastboot mode manually?
A: Power + Volume down (when in landscape). The bootloader has an option to "Switch to fastboot mode" which you select with volume down and then the power button. It will switch to a screen that says "Waiting for fastboot command..." with no option to go back.
3. Is it a standard bootloader screen (i.e. down volume and power to boot to recovery)?
A: Yes. Here is a picture of it: https://goo.gl/photos/YQ5FVKf6HAWQWwd5A
4. What instructions do you get on the device after running fastboot flashing unlock to unlock the bootloader?
A: You are given the option to press power to unlock the bootloader or volume down to cancel. The device then says the bootloader is unlocked and it will reboot in 30 seconds. After that, you get the recovery robot with an "Erasing" dialog.
oRAirwolf said:
1. Is the "Allow OEM unlock" option present in the developer options (needs checking before bootloader can be unlocked)?
A: Yes
2. What is the key combo to boot the device to fastboot mode manually?
A: Power + Volume down (when in landscape). The bootloader has an option to "Switch to fastboot mode" which you select with volume down and then the power button. It will switch to a screen that says "Waiting for fastboot command..." with no option to go back.
3. Is it a standard bootloader screen (i.e. down volume and power to boot to recovery)?
A: Yes. Here is a picture of it: https://goo.gl/photos/YQ5FVKf6HAWQWwd5A
4. What instructions do you get on the device after running fastboot flashing unlock to unlock the bootloader?
A: You are given the option to press power to unlock the bootloader or volume down to cancel. The device then says the bootloader is unlocked and it will reboot in 30 seconds. After that, you get the recovery robot with an "Erasing" dialog.
Click to expand...
Click to collapse
Thanks for the quick response. Just need a bit more info about the actual bootloader.
Do you know if fastboot commands can be sent after booting to the bootloader mode? Or do you have to boot to bootloader and then select "switch to fastboot" to accept an input? If you have used adb with the device could you run adb reboot bootloader and tell me if the device goes to the bootloader or the fastboot screen.
I also need error messages when unlocking. If you (or someone else) could run the following that would be great.
1. With "Allow OEM unlock" NOT ticked, boot to fastboot and run fastboot flashing unlock >> what is the exact error message.
2. With the device already bootloader unlocked, boot to fastboot and run fastboot flashing unlock >> what is the exact error message.
I think thats all thats needed for now to make a basic toolkit for the Pixel C to unlock, backup data, flash stock image, etc. If a custom recovery becomes available then it will then be very simple to add a root process.
Mark.
I am heading to bed but if nobody has replied before I get to work this afternoon, I will be happy to get answers to the rest of your questions.
oRAirwolf said:
I am heading to bed but if nobody has replied before I get to work this afternoon, I will be happy to get answers to the rest of your questions.
Click to expand...
Click to collapse
Thanks I appreciate it.
Mark.
mskip said:
Thanks for the quick response. Just need a bit more info about the actual bootloader.
Do you know if fastboot commands can be sent after booting to the bootloader mode? Or do you have to boot to bootloader and then select "switch to fastboot" to accept an input? If you have used adb with the device could you run adb reboot bootloader and tell me if the device goes to the bootloader or the fastboot screen.
I also need error messages when unlocking. If you (or someone else) could run the following that would be great.
1. With "Allow OEM unlock" NOT ticked, boot to fastboot and run fastboot flashing unlock >> what is the exact error message.
2. With the device already bootloader unlocked, boot to fastboot and run fastboot flashing unlock >> what is the exact error message.
I think thats all thats needed for now to make a basic toolkit for the Pixel C to unlock, backup data, flash stock image, etc. If a custom recovery becomes available then it will then be very simple to add a root process.
Mark.
Click to expand...
Click to collapse
If I boot into the bootloader, I am unable to issue fastboot commands until I select "Switch to fastboot mode."
Using ADB, when I issue the "adb reboot bootloader" command when the device is on normally, it goes directly to the fastboot screen and says "Waiting for fastboot command..."
When "Allow OEM unlock" is not ticked and I boot to fastboot and issue "fastboot flashing unlock," I get no error message on the device, but I do see the following in the command prompt:
Code:
C:\>fastboot flashing unlock
...
FAILED (remote: Device already unlocked)
finished. total time: 0.005s
When "Allow OEM unlock" is not ticked, the bootloader is unlocked, I boot to fastboot, and issue "fastboot flashing lock," I get no error message on the device, but I do see the following in the command prompt:
Code:
C:\>fastboot flashing lock
...
FAILED (remote: Enable OEM unlock is not set)
finished. total time: 0.020s
When the bootloader is unlocked and in the fastboot screen, if I issue "fastboot flashing unlock," I get no error message on the device, but I do see the following in the command prompt:
Code:
C:\>fastboot flashing unlock
...
FAILED (remote: Device already unlocked)
finished. total time: 0.003s
Let me know if there is anything else you need.

how to relock honor 8 pro bootloader?

good day!
i want to lock back my bootloader but everytime i do the fastboot oem lock or fastboot oem relock
always got this message "failed remote: command not allowed
failed remote: check password failed.
should i need my oem key from the time that i unlock my bootloader to relock again?
im running oreo latest update
thank you
loyyol said:
good day!
i want to lock back my bootloader but everytime i do the fastboot oem lock or fastboot oem relock
always got this message "failed remote: command not allowed
failed remote: check password failed.
should i need my oem key from the time that i unlock my bootloader to relock again?
im running oreo latest update
thank you
Click to expand...
Click to collapse
Yes. You will need the bootloader unlock key to relock the bootloader.
fastboot oem relock <bootloader key>

bootloader file after replace emmc

I have a problem after I changed ic emmc, I can't flash ROM because the bootloader is locked, can anyone help me to give me the backup unlock bootloader file,
sorry my language is very bad
@muhibbuddin irsyad: did you try 'fastboot oem unlock' ?
rp158 said:
@muhibbuddin irsyad: did you try 'fastboot oem unlock' ?
Click to expand...
Click to collapse
OEM unlock cannot be checked because the device can't turn on
@muhibbuddin irsyad: there's no special BL, state unlocked. Get the latest by unzipping firmware

Question Unlock boot loader?

Hey, has anyone been able to unlock the boot loader yet? I enabled the "OEM Unlocking" option in the Developer Options and I used abd to load the bootloader but when I run "fastboot flashing unlock" or "fastboot oem unlock", it gives:
Code:
FAILED (remote: 'unknown command')
fastboot: error: Command failed
Running
adb shell "getprop ro.oem_unlock_supported"
Click to expand...
Click to collapse
returns 1 so I don't get why it doesn't unlock for me.
Any help is appreciated as I want to run Magisk.
Ziikmar said:
Hey, has anyone been able to unlock the boot loader yet? I enabled the "OEM Unlocking" option in the Developer Options and I used abd to load the bootloader but when I run "fastboot flashing unlock" or "fastboot oem unlock", it gives:
Code:
FAILED (remote: 'unknown command')
fastboot: error: Command failed
Running
returns 1 so I don't get why it doesn't unlock for me.
Any help is appreciated as I want to run Magisk.
Click to expand...
Click to collapse
Hey! Have you solved your problem? I'm having the same issue. Some websites say you need to use Mi Unlock Tool but I get a message that reads "request parameter error" and some websites say you also need to wait for 7 days before you can unlock the bootloader.
¿Alguien lo ha desbloqueado finalmente?
Has anyone succeeded in unlocking boot loader ???
nobody? id like to get one but not if bootloader is not unlockable
A shame. Really wanted this phone, but not without root.

Categories

Resources