[Q] Restoring TA partition / DRM keys from TWRP backup?

mcarosh

New member
Apr 9, 2010
3
2
0
Hi there
I know this is old but I can confirm TWRP does backup TA.
I luckily brought back my Z1c to life with Testpoint method.
I killed it by using a wrong TWRP-backup from another Z1c. And of course I ddidn't backup sseparately the TA-partition :eek: only had a TWRP-backup. So my last try was to rename the the emmc ppartition and recover it with TTestpoin. And to my surprise it worked :)
So my advice before flashing anything backup your TA. If you forgotten you can give TWRP emmc a try. For me it was the rescue.
Wish all of you good luck for eeverything ;)
 
  • Like
Reactions: L.Lmar

naz roy

Senior Member
Jul 18, 2016
53
18
0
TWRP flash fails

TWRP could easily backup/restore TA - BUT the issue is that mucking with TA is dangerous, and TA only changes when transitioning from locked to unlocked state (meaning that without "second init" style exploits, TWRP can't operate on a device that is locked and hence no point in including TA backup), so no sane TWRP implementation would automatically backup/restore it since it would be touching a partition that rarely changes but can hardbrick the device if the restore fails for any reason. It would also potentially relock the device without warning.

There's nothing special about the TA backup tool - it just uses dd to image the ta partition, easy enough to do manually.
my phone just got hardbricked Oooops i knew i was messing flashing the TA image file on TWRP now i have to deal with my issues ;) :laugh:
 

s0f0s

Member
Oct 12, 2017
20
3
0
Hello everyone,
I use Xperia Z3 dual D6633 stock, Android 5.0.2 (23.1.1.E.0.1).
$ adb shell cat /proc/version
Linux version 3.4.0-perf-g72984dd ([email protected]) (gcc version 4.8 (GCC) ) #1 SMP PREEMPT Fri Feb 27 18:06:32 2015

I am going to change to custom ROM, but fist I want to backup my TA partition. I tried to do it with BackupTA_V2 tool, but without success. From current thread I found out that TA backup could be done with TWRP. Also I found this thread which was started a year after current thread. So I am puzzled - why add that backup TA feature to TWRP in may 2016 while since may 2015 is was reported that TWRP already do backup TA successfully...
So because I am totally new to this process, will someone please explain which version of TWRP should i use to backup my TA partition and what is the correct sequence of operations.
 

MooseHeads

New member
Nov 21, 2010
3
0
0
London
Tablet Z3c - TWRP cannot even see TA partition

Just to add to this...

I have 611 Z3Tc, and after rooting, via XZdualrecovery, back to 6.01 with latest TWRP (3.0.2-0). TWRP cannot now even see the TA partition, neither can Backup_TA-9.11, however BackupTA_v2 can, and claims to have backed it up. I have an IMG file 2048kb in size.

I think the point is, for me TWRP clearly cannot (at least on my device) either backup OR restore the TA partition. When I could see it previously (with the older ROM), it was 4MB in size.

And my question is - what can I use to restore the TA backup that BackupTA_v2 made - or check it? Without knowing this I am loathe to unlock the bootloader as I must be able to restore DRM keys and Sony features including remote play. It's a shame as I would love to try out LineageOS and other custom ROMs.

Perhaps this is the wrong thread - I'm new around here, but learning fast - but hopefully replies will steer me.

Ta, MH