[Tutorial] Xperia Z & ZL Bootloader Unlocking/Relocking

Search This thread

Flashben

Senior Member
Oct 12, 2010
303
24
Re: [Tutorial] Xperia Z & ZL Bootloader Unlocking

Hi all,
i have just won my Sony XZ directly from Sony Team they are doing actualy some trip throug companies in my
country. But I don want to boast, I want to share what i found.
I have read whole this thread because I wanted to get my phone unlocked and rooted.
Every one is saying that BE2 is gone after that. But before I have done any thing I just
went to Service Menu:

I enter *#*#7378423#*#* to access it, and taped Service info > Configuration > Rooting Status.

And I was suprised that I saw "Bootloader unlocked: Yes."

So this mean that my phone has bootload unlocked by default and I have DRM and BE2 workinkg !! :confused:

If yes maybe it can help to figure out how to make BE2 working on other XZ ?

As I said before I have nothing done by my self in it.
My model is C6603

Does it means that I can root my phone and and flash CWM without loosing BE2 ?

I am still waiting with rooting it, so if any master of xda dev want to look closer I can help just PM me.

1) The status only means you are able to unlock your bootloader using the official way not that your bootloader is unlocked.

2) If you only want to root and use applications that requires root and not replace the ROMs, There are ways to root XZ without unlocking the bootloader.

Sent from my C6603 using xda premium
 

tanoxxx

Senior Member
Feb 10, 2010
1,731
427
Florence
Thanks for your help..

My Flashtool is ok, i flash the firmware and all go ok only that..

i have tryed to unlock the same also isf my bootloader is unknown.. and i get bootloop :(

i tryed to flash DoomLords kernel using fastboot, but i get stuck in < waiting for device > i dont know why, all my drivers are ok, and my device is connect.. also flashtool when i connect my XZ in fastmode recognizes correctly it..
i also tryed to connect XZ with EMMA and say me is locked :(

I also i tryed to root with this two method http://xdaforums.com/showthread.php?t=1886460 and this http://xdaforums.com/showthread.php?t=2186368

the script finished the procedure, but in the phone there is not superuser app and no root :(

i dont know really what i must to do now for to have root and recovery for flash a cooked, im really desperate and tyred.. is from 2 day i trying everything.. but all dont go good :(

Please guys, help me to solve my problem..

Thanks
 

andypull15

Member
Oct 11, 2008
45
7
there is an app called root checker that google doesn't allow to show root i had this problem.
but another root checker showed that my phone had been rooted.
hope that helps you out
 

schaggo

Senior Member
Jan 16, 2008
2,623
826
Zürich
AW: [Tutorial] Xperia Z & ZL Bootloader Unlocking

Those apps simply request su privileges. You can do that manually on the device or from your pc.
Open a terminal client on your device and type su or open an adb shell session from your pc and type su. Result will be the same: you get a su session, you have root. If youre not, then you dont.

Gesendet von meinem C6603
 

CEBZ

Senior Member
Dec 24, 2010
99
10
Stockholm
Re: [Tutorial] Xperia Z & ZL Bootloader Unlocking

Wtf will bravia engine disappear just cuz I root? :(

Sent from my Sony Xperia Z
 

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,187
39,710
Pune
no Bravia Engine will not go if u root..


today i went to sony center to compare and let me tell u unlocking bootloader does NOT affect bravia engine, atleast on videos (as i didnt get much time to check pics)...

i compared it with stock Xperia Z, stock Xperia ZL... the Bravia engine was still functioning properly...
 

schaggo

Senior Member
Jan 16, 2008
2,623
826
Zürich
AW: [Tutorial] Xperia Z & ZL Bootloader Unlocking

Yes, users said that for video. For pics, the posted screencaptures suggest otherwise. Anyway, now that I got root without unlock, I'm a happy camper for the time being. Again, many many thanks for all the work and free time invested in your and our precious goodies :victory:
 
Last edited:

viper001

Senior Member
Dec 20, 2010
745
261
Samsung Galaxy Z Flip3
Re: [Tutorial] Xperia Z & ZL Bootloader Unlocking

Hi guys. A bit OOC,

My XZ gave me a scare when it went on a continuous bootloop after doing a cache clean with systemcleanup while 1.5 ghz Volt set to 1. Seems that I lost something in /system since it wont boot until flashed in CWM. Recreated the scenario several times until I found the problem as mentioned. With V @ >1 no problem after a cleanup. Thank the developers that we have CWM and Flashtools. :D

Sent from my C6602 using xda premium
 

brockyneo

Senior Member
Jan 17, 2010
3,683
397
In The Matrix
hi guys im new to xperia z and i cannot get passed step 11 to 12 it just says waiting for device and im not sure what to do can anyone help please

thanks
 

sismic

Member
Nov 26, 2008
5
0
sblocco bootloader

"If it says No, or if you do not see the state, then unfortunately you will not be able to unlock the bootloader."

I was still able to unlock it even if he said no with flash tool ....

I'm no expert, perhaps attempts I had a stroke of luck who is probably better than I can get to understand what I did .... I'll explain:

I originally made ​​the root using the toolkit,

After that I flashed the phone doomkernel and did not withdraw more, I tried to turn it on but I went faster, emitting a vibration, so I have tried to use the flashtool to be made available by Sony to reinstall the original firmware here misembra have crushed flashmode, I gave ok and I open the website of the bootloader where I showed my imei I went ahead and unlocked the bootloader flashtool me the phone so I shared with doomkernel.

Now I can not even install doom kernel .... perhaps some wrong step.
 

schaggo

Senior Member
Jan 16, 2008
2,623
826
Zürich
AW: [Tutorial] Xperia Z & ZL Bootloader Unlocking

I was still able to unlock it even if he said no with flash tool .... I originally made ​​the root using the toolkit
The root patch gives back a false unlock status. You always were on an unlockable bootloader.

just relised that i need to install the usb drivers but in device manager non of them are working im running 64bit windows 7
They work here. Windows 7 64bit. Install the drivers from the flashtool drivers subfolder.


Gesendet von meinem C6603
 

wasim77

Senior Member
Jan 16, 2011
69
9
hi DooMLoRD

Telephone on the brand
What should I do
thanks
 

Attachments

  • Screenshot_2013-03-25-10-23-24.jpg
    Screenshot_2013-03-25-10-23-24.jpg
    23 KB · Views: 305
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 148
    Quick tutorial for unlocking & relocking the bootloader of the Xperia Z & ZL.


    this is the official way to unlock bootloader




    if you want to keep ur DRM keys, first root device and then check this out




    Warning!

    This procedure will wipe the /data partition of your phone, so you will loose all ur stored data, settings. SDCARD will BE WIPED!!!

    For Xperia™ devices released 2013 or later (for example Xperia™ Z and Xperia™ ZL), the SD card of your device will be formatted and you will lose all content (for example photos, music, videos) when you unlock the boot loader.

    DRM keys WILL be lost forever

    I'd add what losing DRM keys means, e.g. no more Music ID/Gracenote within the Walkman app plus probably most importantly, as asked all the time and all over the place in the T/mint forums: loss of Bravia Engine.


    older Xperia devices sometimes got issues after unlock of bootloader (BRICK after FOTA update) - you have been warned



    why to unlock bootloader?

    1. u can flash custom ROMs/Kernels
    2. u dont need to worry if the new firmware can be rooted or not as with unlocked bootloader u can always ROOT ur device
    3. Sony gives sneak-peaks/preview builds of latest OS which requires unlocked bootloaders, as they did with Xperia 2011/2012 line, so who knows may be Sony may give early builds of next android OS ;)



    Most of this is taken from lollylost100's his tutorial from ARC thread (all credits for that concise tutorial go to him, i have elaborated on a few things and added device specific changes)


    btw i dont have this device, most of this testing was done remotely on a users phone... so thanks a lot to him for helping out!!!


    [ before we begin unlocking bootloader ]

    • get the IMEI code for ur device: type *#06# in phone dialer to find it out, note only the digits (no dashes)
    • download the fastboot package
    • IMPORTANT: if you are using Windows 8 you will need to enable few things to allow driver installation
    • download the latest FlashTool Xperia Driver Pack and install fastboot drivers (common) & adb drivers for this device from the list!
    • make sure u have a windows PC with USB cable to connect the phone
    • power down ur phone and keeping the Volume Up button pressed connect the USB cable to PC this will trigger FASTBOOT mode and windows will start driver installation, which should be automatically done
    • once drivers are installed just disconnect cable and power on device


    [ how to unlock ] (official way)

    1. Go to: http://unlockbootloader.sonymobile.com/ and read everything!
    2. At the bottom click 'Start Unlocking the Bootloader'
      First, you should confirm that it is possible to unlock the boot loader of your phone by checking the service menu. In your phone, open the dialler and enter *#*#7378423#*#* to access the service menu.

      In your phone, tap Service info > Configuration > Rooting Status. If Bootloader unlock allowed says Yes, then you can continue with the next step. If it says No, or if the status is missing, your device cannot be unlocked.
    3. after u have verified that u can unlock bootloader, scroll to the bottom of the page and click "Continue"
    4. you will get numerous prompts, read all info and if u agree click on "Accept"/"OK"/"Proceed"
    5. finally u will get a "Create Unlock request" page, enter your IMEI (sometimes the last digit needs to be removed for this to work), name and email address
    6. You should now receive your unique unlock key via EMAIL, SAVE THIS KEY SAFELY
    7. Extract fastboot_with_Android_USB_file.rar and open fastboot folder
    8. Hold SHIFT and right click on the background of the folder
    9. Select 'Open command window here'
    10. Connect your phone in fastboot mode (turn phone off, hold Volume UP button and plug in USB Cable) [make sure drivers are installed as explained above)
    11. In the cmd windows type in fastboot.exe -i 0x0fce getvar version
    12. If a value is returned (it will return 0.5), it means the phone is correctly connected
    13. Type in fastboot.exe -i 0x0fce oem unlock 0xKEY and replace KEY with the key which u received earlier.
    14. You're device should now be bootloader unlocked


    If this tutorial is too much for you then itskapil wrote a step-by-step guide (and recorded a video also):
    -Instructions: http://www.theandroidsoul.com/how-to-unlock-bootloader-xperia-arc-play-neo-pro/
    -Video: http://www.youtube.com/watch?v=LRH3pC7MhEA
    (the above videos and some steps are for Xperia 2011 devices, but most the steps are same for Xperia Z)




    Relock procedure is posted here
    72
    Maybe i've some other drivers installed... but when i boot my XZ in fastboot (holding vol+ and plugging usb) nothing happens (i only hear windows sound of some peripherial attached).
    So probably i didn't installed the right drivers.
    Is there any way to move from where I'm stucked?
    Thanks for helping.

    EDIT

    I can see the S1Boot Fastboot driver (whit the yellow tringle) in Resources Manager but cannot update the driver even pointing to the USB_DRIVERS folder.
    Any suggestion? (I'm running WIN8 64bit)


    You may need to set the drivers up using testmode in win8 x64 I have them working on mine fine

    Press windowsKey + R
    type/paste
    Code:
    shutdown -o -r -t 0
    into the box, this will restart your machine in the advanced startup menu.

    when it restarts choose "disable driver signing" Then install the driver manually using the "have disk" option. when you reboot again the driver should be working.


    you can also permanently turn off driver signing if you want and run in test mode with the following

    Code:
    bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS
    bcdedit -set TESTSIGNING ON

    to disable all that you set the ENABLE and OFF

    Code:
    bcdedit -set loadoptions ENABLE_INTEGRITY_CHECKS
    bcdedit -set TESTSIGNING OFF
    39
    Relocking bootloader

    With the latest release of Flashtool it is now possible to relock bootloader.

    Download the latest flashtool from:
    http://xdaforums.com/showthread.php?t=2162907



    Important

    DO NOT USE ANY FTF TO RELOCK BOOTLOADER! THOSE OLD FTFs DO NOT WORK FOR THE 2013 DEVICES!!!


    before u relock bootloader u have to be on pure stock kernel (flash only the kernel.sin using flashtool), else the device WILL NOT BOOT after relock



    Steps:

    1. now start Flashtool and click on BLU button
    2. u will be asked to connect device in flashmode
    3. once u connect the device u will get a prompt to "Relock"
    4. click on it and when prompted disconnect the device
    6
    Re: [Tutorial] Xperia Z Bootloader Unlocking

    @DooMLoRD

    Now Xperia Z cannot ROOT, very afflictive!:(

    I did not follow what you mean...

    Sent from my LT30p using xda app-developers app
    6
    I really suggest to author of this topic to ADD INFO ON HOW TO BACKUP TA if you ever want to go back to LOCKED BOOTLOADER.

    Not, like me, having read this topic, I just unlocked everything without backing up DRM keys and what not. So, thanks f****g alot ^^

    The reason why that info is not included is that it's still experimental... And playing with the phones TA area is VERY RISKY... The device can be hard bricked... What would u prefer? A bricked device or lost DRM?

    Sent from my LT30p using xda app-developers app