for those interested, I confirm twrp can backup/restore the TA correctly
I was on resurrection remix (so on unlocked BL of course) and then needed to restore stock for some time, so I fully restored my old stock backup (where I did backup everything, including Trim Area, that I didn't know it was the TA partition at that time!)
then I rebooted stock, and x-reality/super-vivid started to work immediately in sony album, without manually relocking BL and restoring my TA! i wondered how that was possible, and so I understood that I somehow restored my TA, and that was done by twrp, and that the Trim Area i restored was indeed the TA partition!! I also checked in service menu and I could see "bootloader unlock allowed: yes". now, reading this thread, I also checked in service menu, security this time, and
this is what I get.. so again everything seems to be up and running, without the need of relocking and restoring my TA with the specific tools, but only restoring TA from twrp
the only problem I had during the whole restore was that system failed to restore, so don't know if the procedure is really risk free.... but the kernel image and especially the TA partition were restored properly, luckily!
so in detailes what I did, coming from unlocked bootloader and custom aosp rom, was:
- enter FOTA recovery (twrp)
- full wipe
- full restore (but only kernel image and TA partition restoration succeded, during system restoring the process failed and stopped)
- so I cleaned system partition again
- installed my stock based debloated rom in system
- restored only data this time from the same stock backup
- ....and after booting, all was working as when I did the backup, and plus BL was relocked, x-reality working, and all keys seem to be active! :good: