How To Restore & Backup DRM Keys (TA Partition) on Xperia Devices

Before you unlock the bootloader, root or install a custom recovery on your Sony Xperia device, you should make sure to backup the TA partition so you can easily restore it later if something goes wrong and you aren’t happy with the achieved results.

If you aren’t familiar with the TA partition then probably DRM keys will ring a bell. Yes, in a more technical way, the TA partition is nothing more than the infamous DRM keys that every Xperia owner is afraid of losing. Sony is one of those OEMs that natively support custom development on its devices.

Also Read: Improve Xperia Z2 Camera Quality With Lost DRM Keys

There are some really great guides out there and unlocking and rooting a Sony Xperia device is one of the simplest things to do. However, there is one big problem. Whenever an Xperia device gets its bootloader unlocked and firmware rooted, it loses its DRM keys or the TA partition.

backup restore xperia drm keys

Sony Xperia devices are known for their excellent Sony camera sensors and implemented software technologies like Bravia Engine and X-Reality display modes. These features noticeably increase screen colors and camera quality. Everything is sharper and photos taken in low light conditions look just great.

All these features are made possible thanks to the DRM keys. But when you root your Xperia phone, the DRM keys get lost as well as all the features. The camera doesn’t perform as well and photos in low light look just terrible. The screen is not as vivid and colors are washed out.

There are a few mods which are able to partially restore some of the features that are lost but they do not restore all of them. So, if you unlock the bootloader and then you want to go back to stock without loosing DRM keys, you have to make a backup of the TA partition which contains all the DRM keys.

How to backup and restore DRM keys (TA Partition) on all Xperia devices

  1. Download “Backup TA” tool here.
  2. Enable USB Debugging on your phone (link).
  3. Extract the zip file and open the folder.
  4. Open a file called “Backup-TA-bat”.
  5. A CMD window will show up with the following options:
    • Backup
    • Restore
    • Restore dry-run
    • Convertv4 backup
  6. Choose backup if you want to make a backup or restore if the bootloader is unlocked and you’ve made a backup previously.

The tool should work on all Xperia phones like the Xperia Z3, Z2, Z1 and even older devices. However, check out the original page for any updates.


  1. Thanks so much for this! I rooted without unlocking the bootloader because of those scary side effects. YaY for Backups! Wouldn’t a TWRP Nandroid backup restore those too though? Just curious, I am still new to rooting and these things in general.

  2. hello how to restore DRM KEYS using xperia z c6602
    i have already backed up my drm keys before unlocked bootloader i have a zip file
    now my decive is in unlocked bootloader state using custom rom cyanogenmod 12
    now i want to go back to my original sony stock ROM and also want to restore DRM keys
    now i just want to know after getting back to stock ROM how to restore my drm keys
    please guide me step by step procedure
    Thank you 🙂

  3. Great, in order to back up the TA you need to be rooted, but rooting destroys the TA partition (Z3 Tablet)… Catch 22?


Please enter your comment!
Please enter your name here