There are cases when you must relock your device bootloader in order to use your warranty. Otherwise, it can be rejected because of modifications made by user. In this tutorial we’ll show you how to bring back any Sony device bootloader to its factory state. Need to mention, that relock process is far more simple than unlocking bootloader.
Warning: All the information stored in internal memory won’t be deleted, but for safety reasons it’s still recommended to backup your data to device microSD card or PC before starting this tutorial. Otherwise you might lose everything that’s important for you.
Tutorial:
- Download this Flashtool to PC.
- Launch it and click BLU button.
- Boot Sony into fastboot mode: turn off the device, hold Volume Up or Back button (depending on the model) and connect it to PC via USB cable. Release button after blue light appears on device.
- On the popup window choose Relock button.
- After relock process is complete, disconnect Sony from USB.
- Just to make sure that bootloader is locked, open dialer and type *#*#7378423#*#* then go to Service info/Configuration/Rooting Status. If you see „Bootloader unlock allowed: Yes“, this means that bootloader is successfully locked.
ive got the same problem on xperia xa 2 ultra
after flashing the wrong partition, most probably ( during flashing I got error that storage/ memory was full…. I tried to restore the phone with Sony PC Companion but I can’t use that because my bootloader is locked. I followed the instructions to relock the boot loader but I get stuck at this level :
Phone is ready for flashmode operations
sending read ta…
WARN Unable to read TA unit 2226 error -22
bla bla
WARN Your device cannot be relocked
PS : it’s a Sony XZ2 Compact
Thx.
Hi Oli,
Did you successfully boot into fastboot mode with blue light indicator?
Hi I was trying to relock a Xperia 10 plus, someone had luck with it?
I get “WARN – your device cannot be relocked” too.
I am using Sony Xperia Xz2 and getting error while implementing through adb and while using flash tool it says your device cannot be relocked.???
Flasftool says that my my phone can’t be relocked:S It’s Xperia XA2
I get WARN – Your device cannot be relocked
Flashtool version 0.9.26.0
Using 64bit WIN 10
I also try to re-lock the Xperia XA2 with flashtool 0.9.26.0 on Win10, 64Bit, Java 13, and get the same warning “Your device cannot be relocked”, before I get another warning which says “Unable to read TA unit 2226, error = 22 (Hex unit value 000008B2)
Hello Vogels,
This method won’t work for you. Xperia XA2 is kind a new model that needs to wait for another solution in re-locking bootloader.
My XA2 Ultra didn’t relocked the bootloader.
Flashtool says it can’t be relocked.
Bummer.
phone plugged in and it says it is connected in fastboot on the console window in the program, however, the popup never appeared after I plugged my phone in
Hello Archie,
What device are you using?
You need to reboot to flashmode NOT in fastboot (hold DOWN key then plug the phone) then click on BLU button in fashtool and choose your device. Click relock done.
i connect my xa1 and get error – device connected in flash mode but driver too old
Then renew your driver
Pitty, I am unble to relock the bootloader on my Sony Xperia XA2.
What kind of error you get?
it dosn’t work on my XA2 PLUS DUAL
What kind of error did you get and in which step?
in my XA2 PLUS , flashtool ask to press VOLUME DOWN , that in mode FLASHMODE first.
after relock i can’t switch on my phone, then i go unlock again and can boot my phone
Hi,
What king of error did you get while trying to boot your device after relock?
the process work fine but my device didnt locked. i did all process even flashtool give me a message that your device is re lock but when i check it was unlock only
Hello Darshan,
Thanks for your feedback.
Did you checked you bootloader status on device boot screen or using some kind of software?
Nothing happens after I plug in my device and the blue light appears. There’s no prompt to relock my phone. Can you help me resolve this?
Hello Tyler,
You mean after connecting device into PC the popup window doesn’t appear?
it doesn’t appear for me too
i am using sony xperia xz premium