relocking the bootloader???? - Xperia Z2 Q&A, Help & Troubleshooting

I have unlocked the bootloader and now i found that there are ways to root to root phone without unlocking the bootloader is it possible to relock the bootloader without losing any phone capabilities.

If you've already unlocked there's absolutely no point in relocking it, you get more freedom and benefit more from an unlocked bootloader eg custom kernels and roms

i just want to know what is the way and suppose i want to give them for warranty repair so i should be prepared lol

Amritttt said:
i just want to know what is the way and suppose i want to give them for warranty repair so i should be prepared lol
Click to expand...
Click to collapse
If you used TA backup after rooting and BEFORE unlocking, you can return the phone to a fully LOCKED state as if you had never unlocked it.
If you didn't do a TA backup, you can only relock it and thus the reseller/repair centre know what you did.

i never made any TA backup it wasn't available that time there was no root that time without unlocking it.

Amritttt said:
i never made any TA backup it wasn't available that time there was no root that time without unlocking it.
Click to expand...
Click to collapse
Then you can't return to completely stock. The relocked notice will give you away.

LenAsh said:
Then you can't return to completely stock. The relocked notice will give you away.
Click to expand...
Click to collapse
Look at Xperiafirmware.com -> "Sony XPERIA Z2 D6503 - Android 4.4.2 - firmware 17.1.2.A.0.314". There is a solution to re-lock the bootloader.

Related

About rooting.

Hi all.
My questions should have already been answered but I want definitive and up to date answers, since this will be my first sony device in years and I wouldn't want to waste my money.
So, here we go!
1) Can I root my device without loosing warranty?
2) I saw there is a ta backup utility, if I use this my warranty will be okay if i restore before sending in the device?
3) I found a 4 month used one, at a good price and I want to check if it has been rooted and in conclusion if the warranty is valid or not. How can I do this?
Again I am deeply sorry for asking!
EDIT:
Found this, is this valid?
http://forum.xda-developers.com/showthread.php?p=53908905&highlight=warranty#post53908905
Can I root and just unroot be ok?
What about flashing roms on locked bootloader?
If I restore my stock rom would I still be covered as long as we talk about warranty?
Sony has changed their warrenty recently
Rooting doesnt void your warreny but breaks ota updates untill you undo and unroot the device
You can flash a FTF using flashtool to restore totaly stock firmware if you want
Xperia warrenties are valid from when you purchase
Given proof of purchase and date of purchase your warrenty will start there
2 years insternational warrenty for all devices
If a device has been rooted it will most likely have superuser or supersu app
And if it doesnt you can just check using root checket, and even then you can just flash a FTF file to fully factory reset the device
Envious_Data said:
Sony has changed their warrenty recently
Rooting doesnt void your warreny but breaks ota updates untill you undo and unroot the device
You can flash a FTF using flashtool to restore totaly stock firmware if you want
Xperia warrenties are valid from when you purchase
Given proof of purchase and date of purchase your warrenty will start there
2 years insternational warrenty for all devices
If a device has been rooted it will most likely have superuser or supersu app
And if it doesnt you can just check using root checket, and even then you can just flash a FTF file to fully factory reset the device
Click to expand...
Click to collapse
What about the TA Partition?
Is there any way to check if this is ok or not?
Unlocking the bootloader voids warranty, right?
P.S. Could you send me a link about Sony changing it's warranty, can't find it.
nfsmw_gr said:
What about the TA Partition?
Is there any way to check if this is ok or not?
Unlocking the bootloader voids warranty, right?
P.S. Could you send me a link about Sony changing it's warranty, can't find it.
Click to expand...
Click to collapse
Ta partition, its currently imposible to check its contents
Unlocking your bootloader will wipe your TA and void your warrenty
The warrenty info should be somewhere on the sonymobile website
Envious_Data said:
Ta partition, its currently imposible to check its contents
Unlocking your bootloader will wipe your TA and void your warrenty
The warrenty info should be somewhere on the sonymobile website
Click to expand...
Click to collapse
Thanks again mate.
nfsmw_gr said:
Thanks again mate.
Click to expand...
Click to collapse
Oh.. Relocking your bootloader doesnt bring back its contents, aka DRM keys
Also Nothing is lost exept warrenty when unlocking your bootloader however this varies depending on your country, branding or version of the unit
Most versions just lose X-reality
Envious_Data said:
Oh.. Relocking your bootloader doesnt bring back its contents, aka DRM keys
Also Nothing is lost exept warrenty when unlocking your bootloader however this varies depending on your country, branding or version of the unit
Most versions just lose X-reality
Click to expand...
Click to collapse
Got it.
If I had backed up the TA Partition (which contains the DRM keys) and flashed stock firmware, restored the keys and relocked my bl, would I be ok?
So the only way to lose warranty is unlock the bootloader?
If i flash a rom, on locked bl, my warranty would be ok after I unrooted and restored factory firmware?
nfsmw_gr said:
Got it.
If I had backed up the TA Partition (which contains the DRM keys) and flashed stock firmware, restored the keys and relocked my bl, would I be ok?
So the only way to lose warranty is unlock the bootloader?
If i flash a rom, on locked bl, my warranty would be ok after I unrooted and restored factory firmware?
Click to expand...
Click to collapse
Restoring your TA relocks your bootloader
1. Backup TA
2. Unlock bootloader
2. Rom/kernel flashing time
3. Flash totaly stock kernel (from ftf)
4. Restore TA
Restoring your TA brings back your warrenty :/
Flashing a rom on Locked BL i dont know that affects the warrenty because ive never fully read it/cared for it
Restoring stock fw should reinstate the warrenty because the device isnt concidered modified
I think to get the best info, go and find the sony mobile warrenty info
Envious_Data said:
Restoring your TA relocks your bootloader
1. Backup TA
2. Unlock bootloader
2. Rom/kernel flashing time
3. Flash totaly stock kernel (from ftf)
4. Restore TA
Restoring your TA brings back your warrenty :/
Flashing a rom on Locked BL i dont know that affects the warrenty because ive never fully read it/cared for it
Restoring stock fw should reinstate the warrenty because the device isnt concidered modified
I think to get the best info, go and find the sony mobile warrenty info
Click to expand...
Click to collapse
Now all my questions have been answered.
Thanks man, much appreciated!

[Q] Unroot lock boot restore for warranty

Well I've searched 9 different times and this has not come up, although surely this hadn't been agreed before so I'm probably using the wing keywords:
I want to take my phone to the '3' site for a warranty repair. I need to unroot my phone, but I've been reading on here things about TA partition, DRM, warranty codes, locking boot loader back to stock, and some 'magic number' that needs to be resest to zero. the 'unroot' guides I have read do not touch on these.
I have no TA backup, magic number or anything else, just a rooted unlocked phone flashed with GPE 4.4
Anyone have a link to the definitive guide please
Thanks
I have no TA backup, magic number or anything else, just a rooted unlocked phone flashed with GPE 4.4
Click to expand...
Click to collapse
You're screwed..
Tweetytek said:
Well I've searched 9 different times and this has not come up, although surely this hadn't been agreed before so I'm probably using the wing keywords:
I want to take my phone to the '3' site for a warranty repair. I need to unroot my phone, but I've been reading on here things about TA partition, DRM, warranty codes, locking boot loader back to stock, and some 'magic number' that needs to be resest to zero. the 'unroot' guides I have read do not touch on these.
I have no TA backup, magic number or anything else, just a rooted unlocked phone flashed with GPE 4.4
Anyone have a link to the definitive guide please
Thanks
Click to expand...
Click to collapse
Do you happen to have a Nandroid backup that was made before your bootloader was unlocked?
adfurgerson said:
Do you happen to have a Nandroid backup that was made before your bootloader was unlocked?
Click to expand...
Click to collapse
If I did I wouldnt be here.
Tweetytek said:
If I did I wouldnt be here.
Click to expand...
Click to collapse
all you can do is lock the BL and flash your region's FTF and hope for the best
blueether said:
all you can do is lock the BL and flash your region's FTF and hope for the best
Click to expand...
Click to collapse
I have the same issue.
I bought a used Z Ultra on line. I have no TA backup. On service menu=>configuration showed: "Rooting Status: Unlocked Bootloader: Yes". Had my phone's bootloader been unlocked? If yes, how do I re-lock it?
m0lek said:
I have the same issue.
I bought a used Z Ultra on line. I have no TA backup. On service menu=>configuration showed: "Rooting Status: Unlocked Bootloader: Yes". Had my phone's bootloader been unlocked? If yes, how do I re-lock it?
Click to expand...
Click to collapse
You can lock it with flashtool, but you wont have the DRM keys if they check
@blueether. Thank you for quick reply.
So my phone's bootloader had been unlocked, right? How to check to see if some features of the TA still in the phone? I still see x-Reality for mobile available under Display menu.
---------- Post added at 10:14 PM ---------- Previous post was at 10:06 PM ----------
In flashtool I see a file X-10_V1_BLRlock. Can I use this file to re-lock my Z Ultra's bootloader?
m0lek said:
@blueether. Thank you for quick reply.
So my phone's bootloader had been unlocked, right? How to check to see if some features of the TA still in the phone? I still see x-Reality for mobile available under Display menu.
---------- Post added at 10:14 PM ---------- Previous post was at 10:06 PM ----------
In flashtool I see a file X-10_V1_BLRlock. Can I use this file to re-lock my Z Ultra's bootloader?
Click to expand...
Click to collapse
I'm not at a pc with flashtool on it at the moment, but if I remember correctly you can just do it with the padlock icon at the top left
blueether said:
I'm not at a pc with flashtool on it at the moment, but if I remember correctly you can just do it with the padlock icon at the top left
Click to expand...
Click to collapse
On service menu=>configuration showed: "Rooting Status: Unlocked Bootloader: Yes". Does this message confirm my Z Ultra boolloader had been ulocked?
m0lek said:
On service menu=>configuration showed: "Rooting Status: Unlocked Bootloader: Yes". Does this message confirm my Z Ultra boolloader had been ulocked?
Click to expand...
Click to collapse
I would say yes it is unlocked, mine says same and it is unlocked. If yours were still locked it would say "allowed " rather than "yes" for bootloader unlock.
m0lek said:
On service menu=>configuration showed: "Rooting Status: Unlocked Bootloader: Yes". Does this message confirm my Z Ultra boolloader had been ulocked?
Click to expand...
Click to collapse
yes
blueether said:
yes
Click to expand...
Click to collapse
@blueether, @adfurgerson. Thank you both for replying.
m0lek said:
I have the same issue.
I bought a used Z Ultra on line. I have no TA backup. On service menu=>configuration showed: "Rooting Status: Unlocked Bootloader: Yes". Had my phone's bootloader been unlocked? If yes, how do I re-lock it?
Click to expand...
Click to collapse
this does not mean ur bootloader is UNLOCKED! it means you can unlock the bootloader of your phone, if it says no, that means
you cant unlock it. to make the story short, u still need to perform the unlocking procedure of your phone.
if you didnt do that, u are safe because ur bootloader is still locked!
i was once a victim of this all i thought my bootloader is unlocked since the configuration showed "yes"
I flash a custom rom and boom my phone is DEAD!!!
rudynasco said:
this does not mean ur bootloader is UNLOCKED! it means you can unlock the bootloader of your phone, if it says no, that means
you cant unlock it. to make the story short, u still need to perform the unlocking procedure of your phone.
if you didnt do that, u are safe because ur bootloader is still locked!
i was once a victim of this all i thought my bootloader is unlocked since the configuration showed "yes"
I flash a custom rom and boom my phone is DEAD!!!
Click to expand...
Click to collapse
This is not correct, if it says "allowed :yes" or "allowed :no" it is locked. If it says "yes" without including allowed it is unlocked.
In the interest of not opening another thread - say I had my TA partition. What would be the process of restoring the phone? Flash rom, flash TA, lock bootloader, reboot?
NSD said:
In the interest of not opening another thread - say I had my TA partition. What would be the process of restoring the phone? Flash rom, flash TA, lock bootloader, reboot?
Click to expand...
Click to collapse
Restoring the TA backup should relock the bootloader in the process, sorry that is about all I can contribute.
NSD said:
In the interest of not opening another thread - say I had my TA partition. What would be the process of restoring the phone? Flash rom, flash TA, lock bootloader, reboot?
Click to expand...
Click to collapse
While the phone is rooted:
Use TA backup to restore TA, this should relock the bootloader
Flash Regional FTF for your model
????
Profit

[Q] Boot loader unlock should i go for it?

Hi,
my phone is under warranty Feb 2016 should i unlock boot loader? it will void warranty i think?
want to install Android 5.0.2 official firmware.
Thanks
Ahsan Javaid said:
Hi,
my phone is under warranty Feb 2016 should i unlock boot loader? it will void warranty i think?
want to install Android 5.0.2 official firmware.
Thanks
Click to expand...
Click to collapse
There isn't much reason to unlock boot loader specially since root is available on all firmwares.
If you really want to unlock the bootloader for some reason then you can always backup your TA partition and then Unlock bootloader. Then if you ever get the need for warranty you can flash the original FTF restore the TA backup. You will have your warranty back.
IreshS said:
There isn't much reason to unlock boot loader specially since root is available on all firmwares.
If you really want to unlock the bootloader for some reason then you can always backup your TA partition and then Unlock bootloader. Then if you ever get the need for warranty you can flash the original FTF restore the TA backup. You will have your warranty back.
Click to expand...
Click to collapse
t
Thanks mate will try to install now the official 5.0.2 from sony
unlocking your bootloader grants freedom and easier at loss of your warranty and some xperia features
however staying locked lets you keep your warranty and xperia features but its generally annoying for me atleast

[Q] About bootloader unlock

Hello,
I've searched forums but since I dont trust my english, I couldn't find a thing. So, apologies if this was asked already.
Is my warranty void upon requesting bootloader unlock key, or is it when I actually unlock it with that key? Because sony seems to save imei codes in their site. I live in Turkey btw.
Also, another un-related question, is my phone diving-proof ?? I mean, I've shot a couple of videos and photos in pool, but I'm scared to just jump on it with my phone ?
Unlocking your bootloader wipes your TA partition where your unique DRM keys are kept
Xperia Z2 is IP58 Certified to water resistancy meaning it can survive underwater at 1 meter for 30mins or less distance for more.
Thanks for the reply.
I know, but since I am rooted on locked bl, and backed up ta partition, it should be ok to unlock, right? I mean if I restore my ta backup, I get my warranty back or..?
rtx7 said:
Thanks for the reply.
I know, but since I am rooted on locked bl, and backed up ta partition, it should be ok to unlock, right? I mean if I restore my ta backup, I get my warranty back or..?
Click to expand...
Click to collapse
Yep, restoring your TA relocks your bootloader so flash a stock kernel before you restore.

working root method for 5.1.1 with unlockable bootloader?

I have mine updated to 5.1.1 and the bootloader is unlockable. However, the rooting instruction is confusing for this version.
I am looking for the definite solution for rooting (if it is required to unlock the bootloader, should I backup TA partition first?) 100% stock 5.1.1.
Frankly, I don't want to mess with Kingroot or similar tools from China.
I'm interested in this as well. Sent for warranty repair and came back with 5.1.1. Looking for recommended way to root and backup TA (though I have the original backup somewhere)
http://forum.xda-developers.com/xperia-z-ultra/general/guide-how-to-root-install-recovery-t3210207
I managed to root the device. Here is a guide:
http://forum.xda-developers.com/xperia-z-ultra/general/comprehensive-guide-rooting-5-1-x-t3219502
This is how i did it...downgraded to 4.4.4 and root it,TA backup, unlocked the device, updated to 5.1.1 with stock ftf installed the new recovery an flashed the TWRP after that flash the SuperSU zip and done...
fnldstntn said:
This is how i did it...downgraded to 4.4.4 and root it,TA backup, unlocked the device, updated to 5.1.1 with stock ftf installed the new recovery an flashed the TWRP after that flash the SuperSU zip and done...
Click to expand...
Click to collapse
That's a waste of time. OP has an unlockable bootloader, so he just has to:
- Flash recovery
- Flash SuperSU
- Reboot
Klaos3000 said:
That's a waste of time. OP has an unlockable bootloader, so he just has to:
- Flash recovery
- Flash SuperSU
- Reboot
Click to expand...
Click to collapse
unlockable =/= unlocked
mingkee said:
unlockable =/= unlocked
Click to expand...
Click to collapse
Unlocking the BL is still FAR quicker than going through that hellish process for locked bootloaders. It's like trying to juggle with your hands tied to your back, but they're not really tied. Not sure why WE are arguing though. You provided a guide for a locked bootloader, while I gave one for unlocked. What OP decides to do is currently a mystery.
Klaos3000 said:
Unlocking the BL is still FAR quicker than going through that hellish process for locked bootloaders. It's like trying to juggle with your hands tied to your back, but they're not really tied. Not sure why WE are arguing though. You provided a guide for a locked bootloader, while I gave one for unlocked. What OP decides to do is currently a mystery.
Click to expand...
Click to collapse
Here is a deal: unlocking bootloader will remove DRM key. The only workaround is to backup TA partition. However, doing such also requires root, so you have to root before unlocking bootloader.
Don't you know your method is no brainer???! But dealing with DRM key is another story.
Hello !
Frankly you should try with kingroot it's not really a big deal it's quicker and don't worry you will not mess up your phone. I did the same on mine, and it's quick...
LordBli said:
Hello !
Frankly you should try with kingroot it's not really a big deal it's quicker and don't worry you will not mess up your phone. I did the same on mine, and it's quick...
Click to expand...
Click to collapse
Kingroot does not work with 5.1.x, sorry.
I still have to rollback to 4.4.x and use dualrecovery method 3.
mingkee said:
Kingroot does not work with 5.1.x, sorry.
I still have to rollback to 4.4.x and use dualrecovery method 3.
Click to expand...
Click to collapse
Okay, so roll back to KitKat, root, backup your TA, unlock bootloader, and then update to 5.1.1 again. You'll then be able to just flash a recovery and root. If you don't care about the TA partition, then unlock bootloader and flash recovery and root.
Be aware that if your device is still under warranty, it'll be voided the second you lose the DRM keys (TA). If you're not under warranty anymore, it doesn't make any difference. If your device has to go into repairs down the road, it won't matter since you don't have warranty either way. But if you have, it's a good idea to back it up.
Also, the X-Reality engine etc. were at one point dependent on the TA partition, but this changed on KitKat, so X-Reality still works on an unlocked bootloader (even though it's really bad).
Klaos3000 said:
Okay, so roll back to KitKat, root, backup your TA, unlock bootloader, and then update to 5.1.1 again. You'll then be able to just flash a recovery and root. If you don't care about the TA partition, then unlock bootloader and flash recovery and root.
Be aware that if your device is still under warranty, it'll be voided the second you lose the DRM keys (TA). If you're not under warranty anymore, it doesn't make any difference. If your device has to go into repairs down the road, it won't matter since you don't have warranty either way. But if you have, it's a good idea to back it up.
Also, the X-Reality engine etc. were at one point dependent on the TA partition, but this changed on KitKat, so X-Reality still works on an unlocked bootloader (even though it's really bad).
Click to expand...
Click to collapse
Here is what I did as mentioned on the post linked on earlier post.
Download the latest ROM with Xperifirm, and 4.4.x ROM found in a sticky on the general section.
Pack the 5.1.X ROM as flashable pre-rooted.
Use Flashtool to rollback to 4.4.x, completely wipe, made initial setup and enable debug, and install recovery.
Install pre-rooted ROM through TWRP.
Backup TA partition and device data.
Unlock bootloader.
Restore TA partition and device data.
Done.

Categories

Resources