[Tutorial] Relock Xperia Z bootloader

Aerys

Senior Member
Jun 18, 2012
950
738
123
Good day my friends:laugh:

I will show you how to relock the bootloader of XZ

Flashtool version used: flashtool-0.9.10.2beta

Download the latest Flashtool ( found in OG android development forum)
Install the Flashtool drivers found in the drivers folder
Connect phone in Flash-mode (phone shut down, volume down + power)
Press the BLU button
Press the relock option
Put a stock .tft firmware in the Flashtool firmwares folder (this is required!!)
Flash the firmware (this is required!!)
Done

You will now have a locked stock xperia z :)

Extra info by Flashtool developer:

A litte explanation :about relocking / unlocking :
When relocking the device, I save the unlock code into custom\DEVICESERIAL\unlock.txt
If ever you relocked using another method than BLU from FT (with a custom ftf for example), then you must create this file by hand to be able to unlock the device again.
This file must contain the unlock code. One line only, no carriage return.

i am not responsible for bricked devices
 
Last edited:

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,194
39,692
113
Pune
Good day my friends:laugh:

I will show you how to relock the bootloader of XZ

Download the latest Flashtool ( found in OG android development forum)
Install the Flashtool drivers found in the drivers folder
Connect phone in Flash-mode (phone shut down, volume down + power)
Press the BLU button
Press the relock option
Put a stock .tft firmware in the Flashtool firmwares folder (this is required!!)
Flash the firmware (this is required!!)
Done

You will now have a locked stock xperia z :)

Flashtool version used: flashtool-0.9.10.2beta

i am not responsible for bricked devices
Just flashing stock firmware will not fix the "bootloader status: unknown"

Sent from my C6602 using xda app-developers app
 

Kallb123

Senior Member
Jun 23, 2010
362
60
0
Just flashing stock firmware will not fix the "bootloader status: unknown"

Sent from my C6602 using xda app-developers app
I think the point is that flash tool was updated today. In the (flashtool) op it now tells you how to relock/unlock :)

Sent from my C6603 using Tapatalk 2
 

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,194
39,692
113
Pune
I think the point is that flash tool was updated today. In the (flashtool) op it now tells you how to relock/unlock :)

Sent from my C6603 using Tapatalk 2
Not really... There is no way currently available to RELOCK bootloader... What was updated was to fix the "bootloader unlocked: unknown" to "bootloader unlocked: yes"

Sent from my C6602 using xda app-developers app
 

Kallb123

Senior Member
Jun 23, 2010
362
60
0
Not really... There is no way currently available to RELOCK bootloader... What was updated was to fix the "bootloader unlocked: unknown" to "bootloader unlocked: yes"

Sent from my C6602 using xda app-developers app
Ah ok, thanks for the correction :)

Sent from my C6603 using Tapatalk 2
 

AlienCraB

Senior Member
Nov 25, 2009
110
14
0
I'll be the one that asks the obvious question here...

My guessed answer to this is no but... Will we get the so called DRM keys back? For instance the BE2?
 

lzyllp

Senior Member
Dec 30, 2010
601
236
0
fuzhou
back up a ta file from a lockbootloader device using flashtool and flash it to a unlock device?
The 30 18 lock file use what mention make?
 

greglord

Senior Member
Jul 8, 2009
467
193
0
Stuttgart
just to be clear- if i didnt backed up TA file before unlocking bootloader but would like to use stock SONY rom in future with Bravia engine working and what not, there's no way to get everything 100% back?
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone