Regarding Bootloader unlock... - Xperia Z2 Q&A, Help & Troubleshooting

Hello guys
I am probably getting my self an xperia z2 this week...
So my question is:
Since i go mad when i get a new phone(desperate need to flash everything out there such as roms, kernels etc) , I need to know what do i lose if i unlock my bootloader and if i do lose something can i get it back?
Please answer only if you are certain of what you are talking about, i want to be free of doubt if possible

There is a lot of debate on what is lost/broken when you unlock the bootloader. As far as I'm aware X-reality, Super Vivid, noise cancelling, and a few other things get lost. It is able to back them up (By Backing the Ta partition up) and restore them at a later date, restoring them re-locks the bootloader though. To back the TA partition up you have to be rooted, you can find guides for that in the general section (there is no one click root method for 23.x.x.x.x.x firmwares btw). @Envious_Data you got any more info on the subject?

from my testing
you lose:
warrenty (region spesific/carrier/international)
X-Reality
Bionz Image processing
the last one effects camera quality but isnt a complete death of camera quality its somewhat worse but its not something to complain about because the device is still able to perform well
x-reality only works in the album app so no need to worry unless you like your pictures being slightly oversaturated and super sharp
i recomend downgrading to 314 via FTF>flashtool and rooting the device so you can backup your TA using the TA backup tool
after you have backed up your TA, store it somewhere safe, google drive, usb stick anywhere you wont lose it
unlock your bootloader and have fun, so long as you dont brick your device

Guys, I'm new to Sony Xperia Z2. Yesterday I backed up my TA partition with TWRP, today I unlocked the bootloader. May I safely restore the TA partition when the bootloader is unlocked, and even after I update the firmware?
I have read a few warnings that wrong TA may permanently hard-brick the device. So, that's why I am afraid.

if you restore someone elses TA it'll brick your device
you have to be on a stock kernel to restore your TA as doing this will relock your bootloader

Then that's fine. The kernel and entire firmware has not changed yet. TA backup is mine.

This guide answered all of my questions: http://forum.xda-developers.com/showthread.php?t=2642081

Related

[IDEA]Root By Unlock then Relock Bootloader?

Hi guys, i have an idea. Will the idea of unlocking the bootloader and then do the root (with recovery enabled kernel that is) and then relocking (restoring the TA partition first) the bootloader work? I am a little bit confused with the fact about the DRM kind of things, since i don't want to lose it so if we could restore it back later then why this technique was never discussed? Please give me any information :angel:
hansip87 said:
Hi guys, i have an idea. Will the idea of unlocking the bootloader and then do the root (with recovery enabled kernel that is) and then relocking (restoring the TA partition first) the bootloader work? I am a little bit confused with the fact about the DRM kind of things, since i don't want to lose it so if we could restore it back later then why this technique was never discussed? Please give me any information :angel:
Click to expand...
Click to collapse
Oh yeah i forgot.. this trick will not work if you haven't done TA backup wouldn't it? :-/ I have done that before so i guess this idea won't work for anybody without TA backup i guess no?
hansip87 said:
Oh yeah i forgot.. this trick will not work if you haven't done TA backup wouldn't it? :-/ I have done that before so i guess this idea won't work for anybody without TA backup i guess no?
Click to expand...
Click to collapse
flashing the TA partition and locking the bootloader, and then flashing a stock FTF base/firmware will make your device exactly how you bought it.. It will allow x-reality to work in both movies/album, as well as track ID working.
- This technique has been discussed in previous threads.
== Do a search and you will see there is a FTF flashing guide. flashtool guide both in the android development section.
A guide on just about everything in the general section... have a look...
However even an unlocked bootloader will allow the x-reality engine to work with videos. But will stop netflicks from working. So there are probably a few apps out there that need a locked bootloader to work properly.
To have a locked bootloader you need a stock kernel. It will need to be signed, so even a boot.img or kernel.sin would be fine. Just needs to be stock.
- You could Root, backup TA partition, unlock bootloader, and then lock bootloader again. But that still uses a rooting tool.
forgive me if I'm wrong (and someone correct me) but we cant do a TA back up without root.
When I was looking into the ZU the only way to root was to unlock the bootloader then flash a new boot.img (?), this avoided vroot et al, and the issues that we seem to have atm but did mean that the first to root lost their DRM keys (TA partition) with the rooting
blueether said:
forgive me if I'm wrong (and someone correct me) but we cant do a TA back up without root.
When I was looking into the ZU the only way to root was to unlock the bootloader then flash a new boot.img (?), this avoided vroot et al, and the issues that we seem to have atm but did mean that the first to root lost their DRM keys (TA partition) with the rooting
Click to expand...
Click to collapse
yep my bad.. wrong way round.. :good:
blueether said:
forgive me if I'm wrong (and someone correct me) but we cant do a TA back up without root.
When I was looking into the ZU the only way to root was to unlock the bootloader then flash a new boot.img (?), this avoided vroot et al, and the issues that we seem to have atm but did mean that the first to root lost their DRM keys (TA partition) with the rooting
Click to expand...
Click to collapse
You can downgrade to lower firmware anytime without root, than use vroot if you don't mind some risk, than backup TA

What happens when I unlock my bootloader?

So, as per title, I'm on stock Lollipop .690, and I'm very tempted to root/flash ROMs etc. But I realised it's a lot easier if my bootloader was unlocked.
Now I've done similar things to HTC/Samsung/LG phones so I know what unlocking bootloader means but I've always read reports that if you unlock an Xperia phone your camera doesn't work or something?
So if I unlock my bootloader, can I still use my camera? Basically, does anything bad happen?
1st off, this is a question so it belongs in the Q&A section.
Any how, when you unlock your bootloader the entirety of you INTERNAL memory gets wiped (any external SD cards do not get wiped). You also lose your DRM keys, these are stored in your TA files so make sure to back them up using the Backup-TA (you need root to do so however, this means you will have to downgrade to 4.4.2 to be able to back up your TA files) tool in the cross device development section. The DRM keys contain things liked noise cancelling algorithms, camera processing algorithms (the camera still works), X-Reality algorithms and other algorithms. What is actually lost when you unlock your bootloader is debated, as some people appear to lose them and some people don't. You also lose your warranty when you unlock your bootloader.
A vcat from every country of the world die
DNT
do not do this job dude u will regreat it to the end of ure life

[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.

Unlocking Bootloader

Hi guys I'm just wondering what feature/s am I going to loose when I unlock the Bootloader of my Z2?
You are going to loose BionZ, X-Reality and Noise Cancelling functionality
and youre gonna lose warranty because you will lose TA partition which includes DRM keys so before you do this just backup your TA partition search in google you will figure out how, and whenever you feel you wanna get back to stock and relock bootloader just restore the TA partition and you will get back to normal

How do I relock the bootloader and update to the latest software?

So I rooted this phone 1 or 2 years ago and now I want to give this phone to my uncle. I read on some other sites to remove the root you just have to delete some folders etc and you're good. I did that but twrp is still on the phone.
I want to make it so the phone is no longer rooted and relock the bootloader so that it doesn't have the "do not trust this device" message on it
The build number it has installed is 34.4.A.2.85
hello. I'm XP docomo user here. let me tell you about my experience here. my bootloader unlock allowed was initially no. i backed up my ta partition before i force my bootloader allow to be yes. it was a successful attempt and i went straight unlocking my bootloader. then i attempted to flash back my ta for fun. the bootloader was automatically locked and the allow was no again. twrp recovery also gone lol. i don't know whether this will okay for you
the main point is backup your ta partition before unlocking the bootloader. it has drm keys which really vital to xperia camera as well as x reality mode/ super vivid. once you unlocked the bootloader, the drm keys will be gone for good unless you've it backed up.
i think restoring the ta partition which is created before unlock is the best way to relock the bootloader again.
first restore the ta partition, download latest firmware on xperifirm, use flashtool to flash ftf created by xperifirm. then, voila.
friendly reminder, flash only ftf supported for your variant. (eg. flash only f8131 ftf for f8131, SO-04H ftf for SO-04H, etc)
DO NOT ATTEMPT TO FLASH OTHER PERSON'S TA PARTITION OR YOU WILL GET ETERNITY HARD BRICK
If you didn't back up your TA partition, you can NOT unlock, as the previous poster said, trying to flash one from a different device will irrecoverably brick your one.
You can flash stock with Flashtool (the one by Androxyde, not Sony Flash Tool, they are different) though. While at it, you might give SailfishOS and Ubuntu Touch (alternative, Linux-based OSes) a shot.

Categories

Resources