As the title says, theres a tool that to backup TA partition to save DRM keys before unlocking bootloaders and can restore it back after relock
it's in the xperia z forum but as i know the similar, it might work on our devices. only just someone could test it. i've already backup my ta file using this method but still don't know if it will work after i restore it and may cause hard brick.
original thread : http://forum.xda-developers.com/showthread.php?t=2234627
give much thanks to rickwyatt for creating this tool :good:
Related
Hello,
I was wondering, is that a good idea to unlock my bootloader? I like to try new things with my phone and such
All opinions are welcome.
Sincerely
Alex
wuggy said:
Hello,
I was wondering, is that a good idea to unlock my bootloader? I like to try new things with my phone and such
All opinions are welcome.
Sincerely
Alex
Click to expand...
Click to collapse
i am also in a similar situation like you. backup your TA partition first before you unlock, to re-enable the DRM features if u wish to relock the phone. now i dunno if the sync with my gmail account alone would restore all my app data,contacts etc. so for that i also make their backup using android backup utility or pc companion from time to time.(u must know once u unlock the BL u will have the internal memory wiped )
dhiman33 said:
i am also in a similar situation like you. backup your TA partition first before you unlock, to re-enable the DRM features if u wish to relock the phone. now i dunno if the sync with my gmail account alone would restore all my app data,contacts etc. so for that i also make their backup using android backup utility or pc companion from time to time.(u must know once u unlock the BL u will have the internal memory wiped )
Click to expand...
Click to collapse
yea, i dont have anything on phone atm, just flashed back on stock
with what i should backup my TA ?
and what do you mean by TA ?
wuggy said:
yea, i dont have anything on phone atm, just flashed back on stock
with what i should backup my TA ?
and what do you mean by TA ?
Click to expand...
Click to collapse
AFAIK, TA partition is where all ur DRM keys are stored. U can backup and restore the TA partition using Backup TA utility. (search on google/xda)
Warning: don't restore another Sp's TA partition as it will hard brick your phone.
wuggy said:
yea, i dont have anything on phone atm, just flashed back on stock
with what i should backup my TA ?
and what do you mean by TA ?
Click to expand...
Click to collapse
Use the search function. And if you unlock the bootloader always keep a copy of your TA partition.
Sent from my C5302 using Tapatalk 4
can someone upload there backup of ta in xperia sp.
thank you,
Don't
ejhay007 said:
can someone upload there backup of ta in xperia sp.
thank you,
Click to expand...
Click to collapse
You cannot use the TA Backup of another phone to re-lock your bootloader (To restore "Bravia Engine 2" or "Download Music Info" functionality. Each phone has a different set of DRM Keys embedded in the TA partition. Using the TA Backup of another Xperia SP will hard brick your Xperia SP.
Just my 2 cents.
/\ As mentioned above; No none of us can share them. You can read a bit more about TA in this thread: http://forum.xda-developers.com/showthread.php?t=2292598
Hello,
i have an Firmware Backup from the Stock 157 ROM with TA Patition (ta.emmc.win, ta.emmc.win.md5) on my SD Card. I made this before i unlock my device.
When i would restore this Backup, is the Bootloader closed after this, or would my device Hardbricked?
Greets Lars
No one an idea?
-Happy Feet- said:
Hello,
i have an Firmware Backup from the Stock 157 ROM with TA Patition (ta.emmc.win, ta.emmc.win.md5) on my SD Card. I made this before i unlock my device.
When i would restore this Backup, is the Bootloader closed after this, or would my device Hardbricked?
Greets Lars
Click to expand...
Click to collapse
My advice, try to lock the bootloader first (Be sure to be on stock .157 before relocking and backup your SD CARD) then after that, restore your backup stock .157. Everything should work fine since you'd just relock your bootloader, maybe it will erase some data, but in my case after i unlock or relock my BL, no data was loss during the procedure.
For the TA Partition, have you made any backup using this method or any backup TA tool? I can't assure you if the DRM keys will still be intact in the backup ROM.
yoorie016 said:
My advice, try to lock the bootloader first (Be sure to be on stock .157 before relocking and backup your SD CARD) then after that, restore your backup stock .157. Everything should work fine since you'd just relock your bootloader, maybe it will erase some data, but in my case after i unlock or relock my BL, no data was loss during the procedure.
For the TA Partition, have you made any backup using this method or any backup TA tool? I can't assure you if the DRM keys will still be intact in the backup ROM.
Click to expand...
Click to collapse
Sure, an Backup is already present at my PC. That was the first thing that I have do with this phone. I ask only if it possible with this way. I mean I have read last year an post from Doomloard. But I can't find this post.
Good! Relock using flashtool, restore backup then check if there are any issues, then finally, restore the DRM keys, just to be sure..
I think it is better I flash an complete ftf file an relock then... I don't need this backup anyone... Thanks for help.
-Happy Feet- said:
I think it is better I flash an complete ftf file an relock then... I don't need this backup anyone... Thanks for help.
Click to expand...
Click to collapse
Okay, just check first if the DRM keys are still intact after flashing the ftf, then closed this thread after if the problem is solved. thank you!
if u want to unlock bl: use flashtool
if u want to relock bl: use TA tool [if and only if u did a back up using TA and b4 unlocking bl]
BE ON STOCK FTF
This is a copy of my TA partition for Sony Xperia ZR C5502.
Posted if anyone needed.
[WARNING] This needs modding, directly flashing would result in bricking your device.
http://mega.nz/#!GJ80RRja
Decryption Key - !ANh2Zck-2pLyt-GgLDmzWOBk6SK0hmbCMo8wv3ZuUyg
what ta partition does
TA partition is the drm keys which activate bravia engine, clear audio, etc.
If you bootloader unlock your device these keys are lost, hence I posted it for those who unlock bootloader before backing up their TA partition.
Mashun99 said:
TA partition is the drm keys which activate bravia engine, clear audio, etc.
If you bootloader unlock your device these keys are lost, hence I posted it for those who unlock bootloader before backing up their TA partition.
Click to expand...
Click to collapse
From what I know, using someone else's TA partition would hard brick your phone. Maybe we can modify it in some way, but using it as it is might be dangerous. So it would be good if you post a warning regarding this in OP.
enfilade said:
From what I know, using someone else's TA partition would hard brick your phone. Maybe we can modify it in some way, but using it as it is might be dangerous. So it would be good if you post a warning regarding this in OP.
Click to expand...
Click to collapse
Thanks for the tip I will.
Mashun99 said:
TA partition is the drm keys which activate bravia engine, clear audio, etc.
If you bootloader unlock your device these keys are lost, hence I posted it for those who unlock bootloader before backing up their TA partition.
Click to expand...
Click to collapse
I'm using this methode http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
and work fine in my device zr,,
jabr1g said:
i'm using this methode http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
and work fine in my device zr,,
Click to expand...
Click to collapse
it did work for me thanks a lot m8
Hello, after my patience ran out with google play services batter drain issues i have decided to try out moding and i think i messed up DRM recovery part.
I used https://forum.xda-developers.com/z3-compact/general/how-to-root-backup-drm-keys-t3013343 this as a guide.
Things i have done so far in order:
1. flashed 4.4
2. rooted
3. made DRM keys backup
4. unlocked bootloader
5. installed twrp recovery
6. installed this https://forum.xda-developers.com/z3-compact/development/rom-aoxp-rom-v1-t3478863 rom
7. recovered DRM TA zip thing.
Now my problem is, my bootloader is locked, so i guess recovery procedure went ok, but camera perfomance is as awful as without drm keys. Where did i go wrong? What can i do to fix my camera perfomance?
p.s. i am really sorry for my english as it is not my native langue thanks in advice for help.
You don't lock the bootloader when you restore the TA backup it actually locks the bootloader,so try unlocking it again and then restoring the TA backup
Dinkec27 said:
You don't lock the bootloader when you restore the TA backup it actually locks the bootloader,so try unlocking it again and then restoring the TA backup
Click to expand...
Click to collapse
you dont lock it actually locks
that is what i understood, could you be more clear please?
Teraman said:
you dont lock it actually locks
that is what i understood, could you be more clear please?
Click to expand...
Click to collapse
Sorry.
What I meant to say is,when you restore a TA backup from an unlocked bootloader state,it locks the bootloader when you restore it.
So what I am saying is you should unlock the bootloader again,and restore the TA backup as it will lock the bootloader again and should restore camera quality.
Clear now?
Dinkec27 said:
Sorry.
What I meant to say is,when you restore a TA backup from an unlocked bootloader state,it locks the bootloader when you restore it.
So what I am saying is you should unlock the bootloader again,and restore the TA backup as it will lock the bootloader again and should restore camera quality.
Clear now?
Click to expand...
Click to collapse
yes, but one thing. Why do i need to restore twice to get back camera quality?
Thank you a lot!
Teraman said:
yes, but one thing. Why do i need to restore twice to get back camera quality?
Thank you a lot!
Click to expand...
Click to collapse
I dunno tbh I never restored a TA backup since I was an idiot and forgot to back up TA when I was going to unlock my bootloader.
Try it and tell me how it went! Good luck!
No need to restore it twice! Just be sure that you are on stock kernel before you restrore TA.img
Savest way is to flash Kernel+Bootdelivery out of normal FW tft using flashmode (not fastboot !)
Then restore TA.img with Backup tool.
Reboot and done... And Camera is back....
As an alternativre you can flash DRM fix as well... There is also an other projekt running to mount your TA.img from another location.
But this is not yet tested that much... Stay with locked BL and TA - Or with UB and DRM fix.
DRM fix
https://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
Sometimes its needed to delete following folders (with all including files) to reset DRM stuff (root needed)
/data/credmgr
/data/drm
/data/mediadrm
Don't be afraid of loosing something - Those folders and files will be created automaticly new on boot....
btw: Why you unlocked your bootloader? For Root we have 2 ways to do it without Unlocking bootloader...
Anyway -if you have an TA backup you are save actually...
fluffi444 said:
No need to restore it twice! Just be sure that you are on stock kernel before you restrore TA.img
Savest way is to flash Kernel+Bootdelivery out of normal FW tft using flashmode (not fastboot !)
Then restore TA.img with Backup tool.
Reboot and done... And Camera is back....
As an alternativre you can flash DRM fix as well... There is also an other projekt running to mount your TA.img from another location.
But this is not yet tested that much... Stay with locked BL and TA - Or with UB and DRM fix.
DRM fix
https://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
Sometimes its needed to delete following folders (with all including files) to reset DRM stuff (root needed)
/data/credmgr
/data/drm
/data/mediadrm
Don't be afraid of loosing something - Those folders and files will be created automaticly new on boot....
btw: Why you unlocked your bootloader? For Root we have 2 ways to do it without Unlocking bootloader...
Anyway -if you have an TA backup you are save actually...
Click to expand...
Click to collapse
to install twrp, because in guide i read it needs unlocked bootloader and i needed twrp for best battery rom i found.
Teraman said:
to install twrp, because in guide i read it needs unlocked bootloader and i needed twrp for best battery rom i found.
Click to expand...
Click to collapse
There are also two ways of using TWRP:
One is to flash twrp.img onto former FOTA partition. For this you would need UB... This works only with new bootloaders (LA3.0_M_3 from FW .291 is prefered - This bootloader will be installed if you flash full FW 291 or only bootdelivery and kernel in flashtool)
https://forum.xda-developers.com/z3-compact/general/d5803-z3c-aries-twrp3-0-t3543113
But the other method is putting TWRP files to /system/etc/mm_twrp_recovery on SYSTEM partition...
This works also with LB!
https://forum.xda-developers.com/z3-compact/general/recovery-root-mm-575-lb-t3418714
EDIT
Third one is to have recovery build into kernel...
Just to be complete.. ?