Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,782,463 Members 39,903 Now Online
XDA Developers Android and Mobile Development Forum

[TOOL][LB][ROOT] Backup TA v9.11 for Windows [20140615]

Tip us?
 
DevShaft
Old
(Last edited by DevShaft; 16th June 2014 at 04:47 AM.)
#1  
DevShaft's Avatar
Senior Member - OP
Thanks Meter 1,126
Posts: 596
Join Date: May 2013
Default [TOOL][LB][ROOT] Backup TA v9.11 for Windows [20140615]

Backup TA for Sony Xperia

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 (including a locked bootloader). This means all DRM keys intact, Bravia Engine working in Album and last but not least your warranty when needed .

NOTE: When you did create a backup of your device's TA with another tool or Backup TA v4 or earlier, you are able to convert it to a valid Backup TA package by choosing 'Convert TA.img' from the menu. When you've done this you are able to restore it safely.

READ FIRST: 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 want my support, tell me which device and version of Backup TA you're using and attach the complete output. I can not help you without this and besides it's really not so much to ask in return, now is it? No effort without effort.

This tool currently only works under Windows. Mac, Linux, and native Android will be supported in the future. Using this tool is at your own risk.

Downloads
Changelog
Source (released under MIT license)

Stable releases do have a version tag like this: v1.0 (example)
Beta releases do have a version tag like this: v1.0b2 (example).

COMPATIBLE DEVICES
Sony Xperia Z2
Sony Xperia Z2 Tablet
Sony Xperia Z1 Compact
Sony Xperia Z1
Sony Xperia Z
Sony Xperia Z Tablet
[...]
All Compatible Devices

GUIDE
1. Download the latest version of Backup TA.
2. Extract the ZIP file to a folder location of your choosing.
3. Navigate to the folder location of Backup TA.
4. Make sure no other script or application which is using ADB is running.
5. Make sure the device is booted in normal mode (the way you normally use it).
6. Run Backup-TA.bat
7. Read the last paragraph of the license before continuing.
8. Read the information and follow the instructions given by the tool.

Backup Video Tutorial. Kindly provided by @shem2409:
 
FAQ
Q: Is my device supported?
A: Look at the supported devices list above this FAQ. When it is not listed, try to make a backup it will tell you if your device is supported.

Q: Do I need root for this?
A: Yes, you do need root for both backup and restore to work. I would advice to use @DooMLoRD's excellent Easy Rooting Toolkit for this, when not already rooted.

Q: Can I use someone else's backup?
A: No, this will hard-brick your device.

Q: Can I restore my TA.img file from Backup TA v4 and earlier or another tool?
A: Yes, choose "Convert TA.img" in the menu.

Q: Does it bring back my DRM keys when I already unlocked my device before making a backup?
A: Not without a backup of the TA before it was ever unlocked.

Q: Can I restore my TA while running a ROM with a non-stock kernel?
A: Yes, but it will soft-brick your device and you need Sony PC Companion or Flashtool to fix it by flashing stock firmware. Best is to first return to a complete stock ROM or at least flash a stock kernel (do not confuse with stock based kernel!) before restoring the TA, this prevents the soft-brick.

Q: Will a restore relock the bootloader?
A: Yes, it will relock the bootloader like it was never unlocked.

Q: What is 'restore dry-run'?
A: When you do a dry-run restore it will perform a regular restore with the exception that it will not write anything to your device. This is helpful to test a backup without actually restoring it.

Q: What is the correct file size for a backup?
A: The TA partition size can differ per model, so there is no one answer to this question. You can rest assured that your backup is fine, also in file size, when the tool says the backup was successful.

Q: Why do multiple backups often differ in size?
A: The TA partition also contains a logging area which changes every time the device boots, which then leads to different compression size per backup file. Nothing to worry about.
The Following 559 Users Say Thank You to DevShaft For This Useful Post: [ Click to Expand ]
 
TheHawk002
Old
(Last edited by TheHawk002; 23rd May 2013 at 10:03 PM.)
#2  
TheHawk002's Avatar
Senior Member
Thanks Meter 403
Posts: 986
Join Date: Dec 2011
Location: Stockholm

 
DONATE TO ME
Quote:
Originally Posted by DevShaft View Post
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 .

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.
Great that you made a new one, may keep others from uneccesary bricking their devices :thumbup:

A thing for the FAQ would be the softbrick when restoring on other than stock and and that it only works on totally stock, not bringing DRM keys to other ROMs when unlocked.

Skickat från min C6603 via Tapatalk 2
Phone details + Other details and threads:
 
Phone:
Xperia Z (C6603)
(-Samsung Galaxy SII-)
Android ROM:
AOSPA 4.X
(-Rooted Stock [4.4]-)
(-PACman x.x.x - Update: XX [JB 4.2.2]-)
(-Carbon vXX [4.2.2]-)
Kernel:
Stock ROMs kernel
(-Sony's stock 3.4 kernel-)
(-Meow Kernel-)
If you like my work I've done please consider to make a small donation
The Following 11 Users Say Thank You to TheHawk002 For This Useful Post: [ Click to Expand ]
 
Marsou77
Old
#3  
Marsou77's Avatar
Senior Member
Thanks Meter 308
Posts: 1,080
Join Date: Feb 2011
Location: Earth

 
DONATE TO ME
Just used this tool for my ION, it has worked like a charm !

Thank you a lot !
LG Nexus 4 - Hello you !
Sony Xperia Ion - SOLD
LG Optimus 2X - SOLD
HTC Hero - SOLD

ROM - Xperia NeXuS - For Xperia ION Lt28

Theme - Stock [V20O Deodexed] - For P990
Theme - LG PRADA 3.0 [V20Q/V20S] - For P990
Theme - Stock [V20Q/V20R/V20S] - For P990

Don't forget to thank me if I've helped in anyway.
The Following 3 Users Say Thank You to Marsou77 For This Useful Post: [ Click to Expand ]
 
DevShaft
Old
#4  
DevShaft's Avatar
Senior Member - OP
Thanks Meter 1,126
Posts: 596
Join Date: May 2013
Good to hear @Marsou77!
The Following 9 Users Say Thank You to DevShaft For This Useful Post: [ Click to Expand ]
 
caqo71
Old
#5  
caqo71's Avatar
Senior Member
Thanks Meter 224
Posts: 803
Join Date: Apr 2011
Location: Santiago
So, can we finally speak about that at this stage we all can unlock the bootloader, mess with the phone, install any room, do whatever, and in a couple of months, flash a stock rom, root, and then restore the TA backup having the phone intact, as if I never unlocked my bootloader. RIGHT?
Sent from my Xperia Z1 C6903 underwater.
 
shoey63
Old
#6  
shoey63's Avatar
Recognized Contributor
Thanks Meter 1,308
Posts: 2,168
Join Date: Jun 2012
Location: Somewhere in Oz...
Right! Proof here:> http://forum.xda-developers.com/show...php?p=41707765

Sent from my C6603 using xda app-developers app
 
DevShaft
Old
#7  
DevShaft's Avatar
Senior Member - OP
Thanks Meter 1,126
Posts: 596
Join Date: May 2013
Quote:
Originally Posted by caqo71
Quote:
Originally Posted by DevShaft
Just uploaded Backup-TA v8.4 with the following changes:

Backup-TA v8.4 (2013-05-23)
==============================
Fixed Bugs
----------
- Fixed bug in IMEI input.
- Added choice.com as part of the tool instead of relying on Windows.
This means that I have to do a new backup?
.
No IMEI input is only for restoring. The bug was when you provided your IMEI before in the same session, you could just leave the input blank the next time you restore and the tool would just continue. It would use the previous input for check, which in most cases would be the same anyway, but is not how it should be.
The Following 3 Users Say Thank You to DevShaft For This Useful Post: [ Click to Expand ]
 
tomanlam
Old
#8  
tomanlam's Avatar
Senior Member
Thanks Meter 144
Posts: 934
Join Date: Oct 2008
Location: Hong Kong
if i had made backup of my TA for 3 times before i unlock my BL (just to make sure i got plenty of backups) and they all have the same md5 sum, can i be sure that they're not corrupt copies?
XPERIA Togari
Click the "Thanks" button if it helped you
 
DevShaft
Old
(Last edited by DevShaft; 24th May 2013 at 07:13 AM.)
#9  
DevShaft's Avatar
Senior Member - OP
Thanks Meter 1,126
Posts: 596
Join Date: May 2013
They surpassed the integrity check, didn't they?
You can perform a restore dry-run to see if it also passes there. When it does you can be pretty confident all is fine.
The Following 3 Users Say Thank You to DevShaft For This Useful Post: [ Click to Expand ]
 
tomanlam
Old
#10  
tomanlam's Avatar
Senior Member
Thanks Meter 144
Posts: 934
Join Date: Oct 2008
Location: Hong Kong
Quote:
Originally Posted by DevShaft View Post
They surpassed the integrity check, didn't they?
You can perform a restore dry-run to see if it also passes there. When it does you can be pretty confident all is fine.
i made the backup using ur earlier v6 tool, not sure if they passed integrity check but the backup process was "successful" according to the tool so i guess it's safe to restore?

will try to restore on next full charge=] Thx for the great tool!!
XPERIA Togari
Click the "Thanks" button if it helped you

The Following 2 Users Say Thank You to tomanlam For This Useful Post: [ Click to Expand ]
Tags
backup, partition, restore, trim area
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes