You could restore your TA partition's backup, in img format (upacked from the zip file generated by this tool when you backed it up) by a dd command, like this:Anyone has any idea why I am getting this error message when trying to Restore my TA backup? I am able to back up without any problems, this only seems to happen on when restoring.
Thanks
You could restore your TA partition's backup, in img format (upacked from the zip file generated by this tool when you backed it up) by a dd command, like this:
dd if=[path_to_TA.img]/TA.img of=/dev/block/platform/msm_sdcc.1/by-name/TA
Where the path to your TA.img file has no square brackets.
Make sure the TA.img is from the very same phone you made the backup. Otherwise you'd turn it into a permanent paperweight.
As I root all devices I get, I don't have problems. This restore operation by a dd command to the TA partition actually relocks the bootloader, if it happens to be unlocked, but why would anyone wish to restore his/her TA backup it his/her bootloader had never been unlocked? Anyway, I guess that root access would be a must!hI GOOD DAY can i get some assistance please...my ta backup is in .img format also right but question how do i flash it with your instructions..
1. Do i have to be rooted ?
2. Does my device bootloader have to be unlocked or can it be locked?
As I root all devices I get, I don't have problems. This restore operation by a dd command to the TA partition actually relocks the bootloader, if it happens to be unlocked, but why would anyone wish to restore his/her TA backup it his/her bootloader had never been unlocked? Anyway, I guess that root access would be a must!
It's a Linux command. You could launch either on your phone, through any Terminal emulator you could download from the Play Store, or from a terminal command window on your PC. You could download this amazing Minimal adb and fastboot tool https://forum.xda-developers.com/showthread.php?t=2317790, unpack it anywhere in your PC, go to that directory and enter:ok i just rooted and unlocked my bootloader and installed twrp..
i dont know the dd command u speak of can u walk me through how to do it plz..i have the ta.img saved on my destop
It's a Linux command. You could launch either on your phone, through any Terminal emulator you could download from the Play Store, or from a terminal command window on your PC. You could download this amazing Minimal adb and fastboot tool https://forum.xda-developers.com/showthread.php?t=2317790, unpack it anywhere in your PC, go to that directory and enter:
adb shell (skip this command if you are typing it on your phone)
su
Now, supposing your TA img is on the root of your internal storage, the dd command would be (it's case sensitive):
dd if=/storage/emulated/0/TA.img of=/dev/block/platform/msm_sdcc.1/ by-name/TA
Good luck!
Glad to know it!Thankkkkkkkkkkkkkkkkkkkk Youuuuuuuuuuuuuuuuuuuuu ...You sir are a life saver may you have a great day . what i was doing wrong was i wasnt putting the ta.img in the phone storage. i was just doing the commands . But i followed ur full instructions and it worked and my drm keys are back and i flashed back to full stock and everything is working. Thank you so much
Enter command su, prior to entering the dd one, and remove the space before by-name.
Enter command su, prior to entering the dd one, and remove the space before by-name.
No, su is to acquire superuser privileges, and dd is the actual copy command.
Thank you very much I solvedNo, su is to acquire superuser privileges, and dd is the actual copy command.
Glad that you have managed to sort it out!
ok another update....somehow i managed to go past usb debugging screen. removed the sony pc companion....installed sony z ultra ADB drivers, reconnected the device and started backup TA. it took a successful backup. then I tried to test the back using the option restore -dry run. but after running that function i came up with this error. now what is this? should i ignore this error?
![]()
Backup-TA-9.11\tools
Backup-TA for Sony Xperia Z / ZL
Backup-TA can backup and restore the TA partition of the device. When you create a backup before unlocking for the first time, then you will be able to restore to full factory state. This means all DRM keys intact, Bravia Engine working in Album and last but not least your warranty when needed :highfive:.
READ: At the bottom of this post is the FAQ. Here you will find answers on the most asked questions. Read them before posting any question in this thread. When you post a question which is already answered in the FAQ, I will ignore you and smile.
This tool only works under Windows. Mac and Linux will not be supported.
Downloads: https://github.com/DevShaft/Backup-TA/tags
Source: https://github.com/DevShaft/Backup-TA (release under MIT license)
FAQ
Q: Do I need root for this?
A: Yes, you do need root for this to work.
Q: Does it really work?
A: Really?
Q: Can I use someone else's backup?
A: No, this will hard-brick your device.
Q: Does it bring back my DRM keys etc. when I already unlocked my device?
A: Not without a backup of the TA before the initial unlock.