FORUMS
Remove All Ads from XDA

How To Backup/Restore TA Partition And Root The Device? {Detailed Guide}

187 posts
Thanks Meter: 175
 
Post Reply Email Thread
=========================How To Backup/Restore TA Partition And Root The Device?=======================

=========Basic Questions/Answers Related To Sony Mobiles=========

1) What Is TA Partition?
A) Sony Xperia devices store all the precious information regarding warranty status, DRM keys, etc. into a partition called â??TAâ?, and fortunately you can backup this TA partition before unlocking the Bootloader on your Xperia device and restore it when needed.

2) What are DRM keys?
A) DRM keys are the unique keys that enables advanced technologies like the BIONZ image processor ,X-Reality Engine etc..

3) What Happens If You Unlock Bootloader?
A) When you unlock Bootloader,the TA Partition is formatted as a result the DRM keys are lost thus we will lose technologies like the BIONZ image processor ,X-Reality Engine etc..

4) What Is DRM Fix?
A) DRM Fix is a tool that to restore the lost functions.

************************************************** ************************************************** ***************************
===================================How To Backup TA Partiton==================================
"iovyroot" A developer has developed a tool for backing up the TA Partiton. Unfortunatly it works only on Lollipop Kernel so you will have to downgrade to Lollipop.

Downgrading To Lollipop
* Download Flashtool and install it
* Download firmware from below link :
https://goo.gl/MJSEJd
* Start Flashtool
* Click on the lightning bolt icon
* Select "Flashmode"
* Locate the Lollipop firmware you have downloaded and select it.
* In the Wipe Option Select all the partitons. (Otherwise things will crash a lot and you won't get into the phone properly.)
* Turn off the phone.
* Wait for Flashtool to finish preparing the files.
* When prompted, hold "volume DOWN" button while plugging in the USB.
* Wait for it to finish.
* Once finished reboot the device.

Backing Up TA Partiton
Now that you're on Lollipop, you can use iovyroot. With this we can gain temporary root access and dump the TA partition to a file. This file is what we use to restore the DRM keys to your device after it's been wiped by unlocking the bootloader.

*Extract iovyroot_v0.4.zip and run "tabackup.bat"
Once it's done, you should have a TA-####.img file which sorta looks like "TA-16042016.img" and is approximately 2mb in size. That's your TA backup done and dusted!

Keep it safe somewhere.

===================================Unlocking The Booloader======================================
* Go to Settings > Developer options
* Tick "Enable OEM unlock"
* Open up a browser on your computer and follow the instructions at Sony's developer website.
* After receiving your email, entering your IMEI number and accepting some user conditions will provide you with an unlock code.
* Turn off your phone.
* In Flashtool, click on "BLU"
* Hold "volume DOWN" on your phone and plug it into the computer.
* When prompted, release volume down and unplug.
* Hold volume UP and plug it back in.
* You should now get a dialog which lets you enter an unlock code.
* Paste in the unlock code and click "Unlock".
* Wait for the phone to finish doing it's thing and restart.

===================================Rooting The Device==================================
* Download Latest AndroPlus Kernel From The Below Link:
https://goo.gl/mHJOFN
* Extract the zip file and find boot.img
* Flash the boot.img using cmd and fastboot.

Then,
* Download TWRP Recovery from Below Link :
https://goo.gl/AQ9Edi
* Flash the TWRP Recovery using cmd and fastboot.

* Now Download Latest SuperSu From Below Link :
http://download.chainfire.eu/supersu
* Transfer the file in to the device.

* Now Reboot the device.
* When booting press the volume rockers to access TWRP Recovery.
* Click Install and Flash the SuperSU zip file.

That's It ! You have rooted your device !


===================================How To Restore TA Partiton?==================================

Note : Restoring TA Partiton Will Re-Lock The Boot-Loader And You Will Loose Root Access.

* Copy your TA partition backup to the TA tool's extracted folder.
* Connect your device with USB Debugging Enabled
* Open up a command prompt to the extracted folder and type in the following:

tarestore.bat {Your TA Backup File}
Example :
tarestore.bat TA-14102016.img


This new restored TA partition should persist across device wipes and Android upgrades.

===================================How To Upgrade Your Device?==================================

* Download and install Flashtool.
* You will find a XperiFirm icon on the tool. Click it and download the latest firmware of your device.
As your download completes the tool automatically creates ftf file.
* Now click on the lightning bolt icon on the Flashtool.
* Select the Flashmode.
* Now,Select The Firmware.
* Tick all the boxes under Wipe.
Note: If you don't want to wipe user data then exclude userdata from ticking.

* Click on Flash
* Connect your device in flashmode when prompted.
* Wait for the firmware to flash and reboot once done!

That's it.

Please Hit Thanks If Helped
Thank You!
************************************************** ************************************************** *******************

Thanks iovyroot for the tool.
Thanks XperiaBlog for the firmware.
Attached Files
File Type: zip iovyroot_v0.4.zip - [Click for QR Code] (533.4 KB, 3592 views)
The Following 12 Users Say Thank You to heptyle For This Useful Post: [ View ] Gift heptyle Ad-Free
 
 
13th October 2016, 01:43 PM |#2  
Senior Member
Flag Paris
Thanks Meter: 28
 
More
Thanks a lot for this Tuto,
I think I will ry after work....
TA restoring can be done even if I want to use custom roms?
Can I use stock .305 and your kernel : Customized Stock Kernel {32.2.A.0.305 - 6.0.1} {Update} by heptyle to have directly root and TWRP after unlocking BL ?
13th October 2016, 01:51 PM |#3  
OP Senior Member
Flag Palakkad
Thanks Meter: 175
 
More
Quote:
Originally Posted by mickael91210

Thanks a lot for this Tuto,
I think I will ry after work....
TA restoring can be done even if I want to use custom roms?
Can I use stock .305 and your kernel : Customized Stock Kernel {32.2.A.0.305 - 6.0.1} {Update} by heptyle to have directly root and TWRP after unlocking BL ?

Yes, you can restore TA at any time. Install and try as many roms as you want. Also you can use the kernel directly for root and twrp.
Thank You!
The Following User Says Thank You to heptyle For This Useful Post: [ View ] Gift heptyle Ad-Free
14th October 2016, 08:11 AM |#4  
Member
Thanks Meter: 15
 
More
I use E5803. Is it ok if i use ur tft file to roll nack to lollipop? If ok will i loose my finger print scanner? How do i get it back? Thanks
14th October 2016, 08:23 AM |#5  
OP Senior Member
Flag Palakkad
Thanks Meter: 175
 
More
Quote:
Originally Posted by paq1170

I use E5803. Is it ok if i use ur tft file to roll nack to lollipop? If ok will i loose my finger print scanner? How do i get it back? Thanks

I think it will work with E5803 too. Even if you loose fingerprint scanner you can upgrade to marshmallow after backuping the TA partition.
The Following User Says Thank You to heptyle For This Useful Post: [ View ] Gift heptyle Ad-Free
15th October 2016, 12:01 PM |#6  
Senior Member
Flag Paris
Thanks Meter: 28
 
More
Hello and sorry for noob questions...
I backed up my ta partition and I updated phone to .305...
Now :
Is it possible to unlock bootloader with Sony's site? I think yes but after:
Will it be possible to restore ta partition with adb commands in the thread?
And Will it be possible to root the device with your kernel?

Thanks a lot

Mickael

Envoyé de mon D5803 en utilisant Tapatalk
15th October 2016, 12:10 PM |#7  
OP Senior Member
Flag Palakkad
Thanks Meter: 175
 
More
Quote:
Originally Posted by mickael91210

Hello and sorry for noob questions...
I backed up my ta partition and I updated phone to .305...
Now :
Is it possible to unlock bootloader with Sony's site? I think yes but after:
Will it be possible to restore ta partition with adb commands in the thread?
And Will it be possible to root the device with your kernel?

Thanks a lot

Mickael

Envoyé de mon D5803 en utilisant Tapatalk

Yes, now you are very safe as you have backed up the TA Partition .
Now,you can unlock bootloader from Sony's official site.
You can restore TA partition at any time.
You may install the kernel for root access,twrp recovery and all other features.
Thank You!
The Following User Says Thank You to heptyle For This Useful Post: [ View ] Gift heptyle Ad-Free
15th October 2016, 12:15 PM |#8  
ipromeh's Avatar
Senior Member
Flag Kuala Lumpur
Thanks Meter: 3,505
 
Donate to Me
More
Quote:
Originally Posted by mickael91210

Hello and sorry for noob questions...
I backed up my ta partition and I updated phone to .305...
Now :
Is it possible to unlock bootloader with Sony's site? I think yes but after:
Will it be possible to restore ta partition with adb commands in the thread?
And Will it be possible to root the device with your kernel?

Thanks a lot

Mickael

Envoyé de mon D5803 en utilisant Tapatalk

Yes, go ahead and unlock your bootloader if you want. Just make sure that you have your TA backup.

Quote:

Will it be possible to restore ta partition with adb commands in the thread?

Yes, but bootloader will be locked again if you restore your TA partition. And the TA partition is a dangerous part, make sure your backup of TA partition is not corrupted or damaged before doing it.

Quote:

And Will it be possible to root the device with your kernel?

Take a look here, if you repack the stock kernel with this script, you'll be able to root by flashing the supersu zip via the TWRP recovery. You can also reactivate your original device key (from your TA partition) too.
15th October 2016, 01:28 PM |#9  
Senior Member
Flag Paris
Thanks Meter: 28
 
More
Quote:
Originally Posted by ipromeh

Yes, but bootloader will be locked again if you restore your TA partition. And the TA partition is a dangerous part, make sure your backup of TA partition is not corrupted or damaged before doing it.

Is it really right? because if I have bootloader locked again I couldn't root ?
How can I check if TA backup is not corrupted? I had a succesfullness message after the backup?


Quote:
Originally Posted by ipromeh

Take a look here, if you repack the stock kernel with this script, you'll be able to root by flashing the supersu zip via the TWRP recovery. You can also reactivate your original device key (from your TA partition) too.

I thought that the heptyle's kernel will do all alone. Am I wrong?
15th October 2016, 02:13 PM |#10  
OP Senior Member
Flag Palakkad
Thanks Meter: 175
 
More
Quote:
Originally Posted by mickael91210

Is it really right? because if I have bootloader locked again I couldn't root ?
How can I check if TA backup is not corrupted? I had a succesfullness message after the backup?




I thought that the heptyle's kernel will do all alone. Am I wrong?

Yes,the kernel would do all. Don't worry!
There is no chance for getting the backup corrupted as you have followed steps clearly and got successful message.
The Following User Says Thank You to heptyle For This Useful Post: [ View ] Gift heptyle Ad-Free
15th October 2016, 03:41 PM |#11  
Member
Thanks Meter: 15
 
More
I am on e5803 I rolled back to discuss lollipop firmware, now I am confused in restoring my TA. My phone now gets so hot just by texting, I tried ur above kernel(don't If I used the right one) my phone will not turn on. I give up trying to root Sony! I have rooted every other phone with out this hassle. Pls I need a detailed instruction on how to EASILY restore my TA and an ftf for e5803. Pleeeeeeese. I am a Sony nooob
Post Reply Subscribe to Thread

Tags
drmkeys, root, tabackup

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes