Z5C Bootloader / TA Keys? - Xperia Z5 Compact Q&A, Help & Troubleshooting

Hey all
New to the Z5C and just wondering what the go is with the TA keys?
I know with the Z3C (Previous phone) you had to backup the TA keys or you lost them forever, is this the same with the Z5?
If I were to unlock the bootloader would I loose the DRM keys forever like the previous models, or can they be recovered by re flashing a firmware file?
Thanks

nzzane said:
Hey all
New to the Z5C and just wondering what the go is with the TA keys?
I know with the Z3C (Previous phone) you had to backup the TA keys or you lost them forever, is this the same with the Z5?
If I were to unlock the bootloader would I loose the DRM keys forever like the previous models, or can they be recovered by re flashing a firmware file?
Thanks
Click to expand...
Click to collapse
You will lose your drm keys. There is tool which you can take backup from your drm keys. now there is also possibility to restore drm keys (emulate them) like on previous models.
This
http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
Also kernels like androplus kernel and xpower rom contains drm restore by default
If phone needs repairing under warranty i think you need ta-backup

Not that I ever bothered with backing them up but yes it's the same with the Z5C too. Once you unlock the bootloader it'll wipe the TA partition too along withDRM keys so better back it up if you want to hold on to your warranty and whatever Sony proprietary features on the stock ROM. And if you happen to lose the DRM keys do not try to flash someone else's on to yours otherwise it'll be an epic brick.
Also if you do happen to lose your DRM keys you can still enable the sony features with custom Roms/kernel available.
Sent from my E5823 using Tapatalk

Related

Quick question re: root/ta/bl etc on .290

I'll try and keep this short and to the point.
Currently running stock .290 firmware and wanting to root it, preferably without flashing a pre-rooted firmware, and without losing DRM keys.
Now if i want to root it according to this thread, i will need to unlock the Bootloader first:
"You'll have to unlock the bootloader if you want to root the .290 firmware (Android 4.3)."
and then root it via this, before i can run TA Backup to backup my DRM keys
What I'm confused about though, is that once the Bootloader is unlocked I lose my DRM Keys (as per this thread, and many other comments)
"The TA partition contains all your DRM keys for the Bravia/X-Reality Engine.
The first time you mess with your phone by unlocking the bootloader, these DRM keys will be deleted!"
The general consensus with regards to the proper order is:
1. Root
2. TA backup
3. Unlock bootloader
However for .290 it seems to be:
1. Unlock bootloader
2. Root
3. TA backup (if there is even anything left to backup?)
I guess what I'm wondering is if there is anyway to root .290 directly without first unlocking the Bootloader (and thus losing my DRM Keys), and without flashing pre-rooted firmware?
Or do i have this completely wrong, and by unlocking my Bootloader first, I won't lose my DRM Keys (contrary to what the linked thread above says)?
Thanks!
djyoshii said:
I'll try and keep this short and to the point.
Currently running stock .290 firmware and wanting to root it, preferably without flashing a pre-rooted firmware, and without losing DRM keys.
Now if i want to root it according to this thread, i will need to unlock the Bootloader first:
"You'll have to unlock the bootloader if you want to root the .290 firmware (Android 4.3)."
and then root it via this, before i can run TA Backup to backup my DRM keys
What I'm confused about though, is that once the Bootloader is unlocked I lose my DRM Keys (as per this thread, and many other comments)
"The TA partition contains all your DRM keys for the Bravia/X-Reality Engine.
The first time you mess with your phone by unlocking the bootloader, these DRM keys will be deleted!"
The general consensus with regards to the proper order is:
1. Root
2. TA backup
3. Unlock bootloader
However for .290 it seems to be:
1. Unlock bootloader
2. Root
3. TA backup (if there is even anything left to backup?)
I guess what I'm wondering is if there is anyway to root .290 directly without first unlocking the Bootloader (and thus losing my DRM Keys), and without flashing pre-rooted firmware?
Or do i have this completely wrong, and by unlocking my Bootloader first, I won't lose my DRM Keys (contrary to what the linked thread above says)?
Thanks!
Click to expand...
Click to collapse
No.
You need to downgrade to 532 root, backup ta, unlock bootloader then update.
Sent from my C6833 using XDA Premium 4 mobile app
SpyderTracks said:
No.
You need to downgrade to 532 root, backup ta, unlock bootloader then update.
Sent from my C6833 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Seems I'm really left with no option then.
In that case, are DRM keys linked to the hardware or firmware? In other words, by flashing the pre-rooted firmware will i still keep my original DRM keys? Or will I have new DRM keys, belonging/linked to said pre-rooted firmware?
djyoshii said:
Seems I'm really left with no option then.
In that case, are DRM keys linked to the hardware or firmware? In other words, by flashing the pre-rooted firmware will i still keep my original DRM keys? Or will I have new DRM keys, belonging/linked to said pre-rooted firmware?
Click to expand...
Click to collapse
AFAIK, it's only connected to xreality and a couple of other bits. More importantly it does have an effect on some streaming apps like netflix which will only work with drm. Think there may be a workaround for that on xda somewhere.
Also, if you lose drm and cannot restore the ta partition in event of breakage, then warranty is void.
Worth backing up I'd say if only for warranty purposes.
Sent from my C6833 using XDA Premium 4 mobile app
Like Spyder says, downgrade to 532 with Flashtool (no root or anything is needed), root it (it's very simple), backup TA (even simpler), unlock your bootloader, update to 290 again and root it (it's pretty simple with an unlocked bootloader).
If you regret it all and you want to re-lock the bootloader, be sure to be on a stock ROM with stock kernel and restore TA with the same tool you used to back it up with. This will also re-lock the bootloader. If you re-lock it on a custom kernel, your Ultra will not function. It will not reboot, and all you'll be left with is a blinking red LED over the screen. IF this happens, be sure to unlock the bootloader again, and it'll boot normally again.
You only have to backup the TA partition once, so if you choose to restore it and you want to unlock the bootloader yet again down the road, then just unlock it. You have the DRM keys, so you're safe. Be sure to back them up in the cloud too (Drive, Dropbox etc.) in case your computer crashes or you simply forget the DRM keys are there.
I wrote a guide on all this stuff, so take a look at it here.
You'll need to follow:
- Downgrading
- Rooting
- Backup TA Partition
- Unlocking the bootloader
After that, just download a 290 FTF and repeat step one (downgrading, but only with 290). Then when you're on 290, follow the guide you've already found. You can also flash Recovery/TWRP by following the short "Recovery and TWRP" section.
Good luck!

restoring drm keys

I am trying to restore my drm keys that i backed up, and im not sure how to go about it. I have a few questions about this for anyone who has restored their drm keys. Do i have to be on an official stock sony rom? Or can i use a modified sony rom? And is the benifits of having the features that needed drm worth the effort of having the bootloader locked again? Thanks.
1. Use the same tool you used to backup the keys. I believe it's in the Cross-dev section here (don't remember its name).
2. Yeah, you have to be on a stock kernel, so just re-flash a stock Sony ROM. Keep in mind that you have to have root to backup and restore the DRM keys.
3. You used to lose the X-Reality engine and some other minor things upon unlocking the bootloader, but Sony changed that in KitKat, I believe, and these things are still functioning (X-Reality at least) after unlocking the bootloader. You won't be able to flash kernels and flash custom ROMs (AOSP etc.) on a locked bootloader, so it's up to you to figure out if you want that or not.
Download kitkat ftf from xperifirm and flash using flashtool, root it and then Restore DRM keys. You will get xreality engine.
sjesudasan said:
Download kitkat ftf from xperifirm and flash using flashtool, root it and then Restore DRM keys. You will get xreality engine.
Click to expand...
Click to collapse
X-Reality already works on unlocked bootloaders past KitKat (4.4.4 I believe). An unlocked bootloader broke some things especially on Jelly Bean. No reasons to lock it again unless you plan to send it in for repairs or sell it.
I was on scrubbers 5.0 port and xreality wasn't working with unlocked bootloader. The main reason I reverted back to stock. So do you mean to say that if we're on stock ROM even with unlocked bootloader, we will have x-reality working?

help with DRM keys

will DRM keys will be gone if i root my Z2 without unlocking bootloader?
if yes then can we get back the keys ?
Wolvym4 said:
will DRM keys will be gone if i root my Z2 without unlocking bootloader?
if yes then can we get back the keys ?
Click to expand...
Click to collapse
no you wont lose your DRM keys if you dont unlock bootloader, and in case you want to unlock it later you can always backup your TA partition for restoring it when you need. please see http://forum.xda-developers.com/showthread.php?t=2292598
but you definitely need root to backup your TA.

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

Help with DRM keys! Any suggestions

Can anyone tell us if reflashing the stock rom over a custom rom will reinstate the LOCKED BOOTLOADER and the DRM KEYS!
Your help is always appreciated, Thanks in advance.
Will not reinstall them. After unlocking of bootloader DRM keys are gone forever. The only way to keep DRM keys is before unlocking of bootloader to make backup of TA partition.
valyo_bg said:
Will not reinstall them. After unlocking of bootloader DRM keys are gone forever. The only way to keep DRM keys is before unlocking of bootloader to make backup of TA partition.
Click to expand...
Click to collapse
Every thread i have been on, require us to root the device first!
So does that mean we cant backup TA Partition for DRM KEYS? As for root bootloader should be unlocked for this device.
With Lollipop phone can be rooted without unlocking of boot loader. Then you can make backup of TA partition. After backup phone can be upgraded to Marshmallow, then bootloader can be unlocked and phone rooted. In fact my phone also is rooted, I don't need DRM keys and don't make backup of TA partition. Why you need backup of DRM keys?
valyo_bg said:
With Lollipop phone can be rooted without unlocking of boot loader. Then you can make backup of TA partition. After backup phone can be upgraded to Marshmallow, then bootloader can be unlocked and phone rooted. In fact my phone also is rooted, I don't need DRM keys and don't make backup of TA partition. Why you need backup of DRM keys?
Click to expand...
Click to collapse
Thanks for such a fast response.
The reason is because i really want to root my device. But people over net sometimes complain for issues at camera(quality reduction and non functionality) after unlocking bootloader. I dont even know if these are really related. I just wanted to be ready if anything happens.
Please tell having a TA BACKUP for DRM, is that necessary or not. And TA BACKUP from my lollipop will work at my marshmallow as well ryt!
My phone is rooted and don't find any quality problem with camera or something else .

Categories

Resources