How can I unlock the bootloader? - Sony Xperia XZ Questions & Answers

I've tried Sony's instructions but when I run fastboot, I get this error:
Code:
FAILED (remote: Command not allowed)
This is the command I run:
Code:
fastboot -i 0x0fce oem unlock 0x0
I removed the last part on purpose.

ThePerplexedOne said:
I've tried Sony's instructions but when I run fastboot, I get this error:
This is the command I run:
I removed the last part on purpose.
Click to expand...
Click to collapse
Have you turned off/disabled my Xperia and enabled the oem unlock in the developer options.
Sent from my Xperia XA using XDA Labs

May I ask you (or anyone else !) what device to chose in Sony's devices list ?
I don't see Xperia XZ.
Or it doesn't matter ?

Related

[E1] Bootloader Unlock Problem (important!)

So. I would like to unlock the bootloader. All fine, I get the code, and when I type in
Code:
fastboot -i 0xfce oem unlock 0xcodehere
it says
Code:
FAILED: Command did not succeed.
However, when I do it the second time (enter the command right again) it says OKAY but the device will end up on a bootloop next start, and when I try to flash a kernel, it says not allowed.(fastboot) If I flash when unlocked without restarting device, the device will shut down at SONY logo. Is it possible that I got a temporary unlock? How could I unlock the device successfully?(permanently) I tried it with Flashtool, and the same results. I literally tried everything. I also cannot install the permanent OS-independent CWM because of the shutdown at the SONY logo. I didn't yet contact my service provider, but I don't think they would like the idea. I really want CyanogenMod on my device, and I'd also like to fix some problems if I can. Please try to help ASAP. Thanks!
Code:
C:\Users\Felix>fastboot devices
e46fc864 fastboot
C:\Users\Felix>fastboot getvar version
version: 0.5
finished. total time: 0.000s
C:\Users\Felix>fastboot -i 0xfce oem unlock 0xCODEHERE
...
FAILED (remote: Command did not succeed)
finished. total time: 0.162s
C:\Users\Felix>
I have the same problem. Did you resolve it?
Open Phone and dial *#*#7378423#*#* go to Service Info->Configuration if Rooting Status says Bootloader unlock allow: No you can't unlock it. If it says Yes go to Sony's official website for unlocking and follow the instructions.
Good Luck.
Xperia M2 D2303 on K.K. 4.4.4

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

Huawei P smart+ bootloader

i just found a metod to unlock the bootloader using the slock. i managed to get most of the info i need but when i run " fastboot oem hwdog certify begin " to get the fblock value, i get "FAILED (remote: Command not allowed)". please help. https://forum.xda-developers.com/t/unlock-bootloader-for-free.4054619/

Question Bootloader Unlock Error (Unable to open fastboot HAL)

Hello,
I'm trying to bootloader unlock this phone and have encountered the above error. I am using the OEM cable, and basic ADB commands work (adb reboot ______, etc.) The command fastboot oem device-info yields the same error message. I'm thinking I don't have the right USB drivers but the phone is so new I can't find anything for it.
Do you guys have any ideas?
Boyo Synth II said:
Hello,
I'm trying to bootloader unlock this phone and have encountered the above error. I am using the OEM cable, and basic ADB commands work (adb reboot ______, etc.) The command fastboot oem device-info yields the same error message. I'm thinking I don't have the right USB drivers but the phone is so new I can't find anything for it.
Do you guys have any ideas?
Click to expand...
Click to collapse
Getting the same error, OnePlus 10 Pro NE2213
dev options enabled, OEM unlock checked, debugging enabled
device is seen in 'fastboot devices':
c:\adb>fastboot devices
84250aa3 fastboot
c:\adb>fastboot oem unlock
...
FAILED (remote: Unable to open fastboot HAL)
finished. total time: 0.002s
same happens with me.....IQOO Neo 6...
C:\Users\*****\Desktop\A13\platform-tools>fastboot oem unlock
FAILED (remote: 'Unable to open fastboot HAL')
fastboot: error: Command failed
Under developer options set the OEM unlocking ON

recently bought Pixel 2(with no sim carrier) with OEM unlock enable in developer options can't unlock it bootloader.

I recently bought a new Pixel 2 to install a custom OS. In the developer option OEM unlocked is enable. but after I tried to "fastboot flashing unlock" in cmd it return this error.
FAILED (remote: 'Flashing Unlock is not allowed
')
fastboot: error: Command failed
and when I return to Developer option the OEM unlocking become grayed out.
I could return the OEM unlocking to enabled again if I factory reset the whole phone. but I still couldn't unlock the bootloader.
how can I fix this and unlock my bootloader?
edit: i tried to used "fastboot flashing lock_critical" command but the output become.
FAILED (remote: 'unknown command')
I used this platform tool: platform-tools_r33.0.2-window
(according to this thread https://forum.xda-developers.com/t/oem-unlocking-issue-solved.3716668/)
My Pixel2 OEM Unlocking was greyed out but it appeared availble to change once I rebooted having connected to the internet. Then I was able to carry on towards unlocking etc.
tata33003 said:
I recently bought a new Pixel 2 to install a custom OS. In the developer option OEM unlocked is enable. but after I tried to "fastboot flashing unlock" in cmd it return this error.
FAILED (remote: 'Flashing Unlock is not allowed
')
fastboot: error: Command failed
and when I return to Developer option the OEM unlocking become grayed out.
I could return the OEM unlocking to enabled again if I factory reset the whole phone. but I still couldn't unlock the bootloader.
how can I fix this and unlock my bootloader?
edit: i tried to used "fastboot flashing lock_critical" command but the output become.
FAILED (remote: 'unknown command')
I used this platform tool: platform-tools_r33.0.2-window
(according to this thread https://forum.xda-developers.com/t/oem-unlocking-issue-solved.3716668/)
Click to expand...
Click to collapse
I just paid to get my Pixel XL bootloader unlocked to this guy from China
his info about unlocking the bootloader
EMAIL:[email protected]
QQ:247830063
skype id:[email protected]
you can try him to get it done.
zfk110 said:
I just paid to get my Pixel XL bootloader unlocked to this guy from China
his info about unlocking the bootloader
EMAIL:[email protected]
QQ:247830063
skype id:[email protected]
you can try him to get it done.
Click to expand...
Click to collapse
That's interesting, I just got a pixel 2 but unlocking is disabled, toggle greyed out after attempting. How much did you pay?
Does he have some alternative way to undo the restrictions?
tata33003 said:
I recently bought a new Pixel 2 to install a custom OS. In the developer option OEM unlocked is enable. but after I tried to "fastboot flashing unlock" in cmd it return this error.
FAILED (remote: 'Flashing Unlock is not allowed
')
fastboot: error: Command failed
and when I return to Developer option the OEM unlocking become grayed out.
I could return the OEM unlocking to enabled again if I factory reset the whole phone. but I still couldn't unlock the bootloader.
how can I fix this and unlock my bootloader?
edit: i tried to used "fastboot flashing lock_critical" command but the output become.
FAILED (remote: 'unknown command')
I used this platform tool: platform-tools_r33.0.2-window
(according to this thread https://forum.xda-developers.com/t/oem-unlocking-issue-solved.3716668/)
Click to expand...
Click to collapse
I'm in the same boat, tried everything I could find.
Is your pixel 2 also set to boot-slot: B by default?

Categories

Resources