yashsingh1/xdaforums huggingface dataset:
[Sony Xperia P, U, Sola, Go] Kumczak:
@OP

Could you tell how to backup TA with the flashtool? i mean the steps - i'm kinda lost with this.

Thanks :)
[Sony Xperia P, U, Sola, Go] arun6106:
Screenshot posted

I've posted the screenshot of how to backup the TA partition,

all steps can be clearly seen. :cool:
[Sony Xperia P, U, Sola, Go] Kumczak:
Thanks for the screenshot! I'm prepared to unlock the bootloader now :>.

Only one tip for some people who might have a similiar problem as me:

If "Advanced" menu is inactive: File -> Switch Pro.

Cheers :)

EDIT: [MENTION=4965911]arun6106[/MENTION]: what is the restore procedure? sorry for those questions, i need to know everything before i start unlocking BL :)
[Sony Xperia P, U, Sola, Go] Noway25:
Great news :) It will propably work with Xperia Sola too, isn't it?

Do I need root, for this?
[Sony Xperia P, U, Sola, Go] CookieMonster!:
I stopped at this point:

Processing header

Checking header

No SS, because I've got too few posts.
[Sony Xperia P, U, Sola, Go] GEKTHEBOSS:
Device its connected in fastbot mode?(flashmode!?)
[Sony Xperia P, U, Sola, Go] CookieMonster!:
Yep it was. I was using 64 bit version after that I have used 32 bit version and everything seems to be ok.
[Sony Xperia P, U, Sola, Go] arun6106:
Will work with any xperia device

Yeah, it'll work for any xperia device and no need of root! :)
[Sony Xperia P, U, Sola, Go] arun6106:
My Bad!

Yeah right, my bad, i forgot to mention how to restore also that u need to switch to Pro mode in flashtool. :rolleyes:

Anyways, i'm adding them up, you can have a look.
[Sony Xperia P, U, Sola, Go] arun6106:
Flashmode

Flashmode it is! :D
[Sony Xperia P, U, Sola, Go] arun6106:
Another way to backup ta :D

So,i just came across another, even simpler method to backup & restore TA, added in the main post, check it out guys! :silly:
[Sony Xperia P, U, Sola, Go] iilhamthok:
I just unlocked my device(Xperia U) a couple of month ago, is it possible to relock the bootloader and drm from this link http://xdaforums.com/showthread.php?t=2301489 and then backup the TA partition like your instruction?

Thank you, sorry for my bad english.
[Sony Xperia P, U, Sola, Go] arun6106:
Just flash the zip - No DRM - NO TA -

Well, just

-flash the zip file (provided on that link) via CWM

-flash stock kernel

-relock your bootloader

This process has nothing to do with the DRM Keys, once lost, they are gone forever,

so there's no meaning in backing up the TA partition after relocking! :mad:

Seriously, who needs DRM when u got all the things working? :rolleyes:
[Sony Xperia P, U, Sola, Go] iilhamthok:
Thank you very much for the fast answer.. :)
[Sony Xperia P, U, Sola, Go] arun6106:
Just added 1 thanks to your thanks meter :D

wasn't looking good with Thanks meter : 0 :cool:
[Sony Xperia P, U, Sola, Go] iilhamthok:
Yeay.. my first thanks.. :D :highfive: :good:
[Sony Xperia P, U, Sola, Go] Pandemic:
For back up TA Patition & DRM, i used this on me XP with JB

http://xdaforums.com/showthread.php?p=41763438

And it works, how i did it

Choose back up in the menu of the program

Read good what it says

Then i unlocked my bootloader

Restored my TA partition and DRM:D

Done!!!

Easy way without any problems or struggles and it works for sure, just believe me:)

:::[ Pandemic ..:: JB MoonBreakers 4 Ever :.

Press Thanks If You Like My Work/Advice !!
[Sony Xperia P, U, Sola, Go] Bahurs1:
Kind of in a loss here, So..

the DRM keys are stored in the TA partition - are they unique or same per device model?

unlocking the bootloader will remove them and to restore them I can just flash my own TA partition I have backed up from when I was rooting?

and just how do the Bravia engine and Track id stop working? they just crash when you try to launch them?

I have never unlocked a bootloader on any phone before cause I really didn't see the big benefit of it. could you tell me what I could do more?
[Sony Xperia P, U, Sola, Go] Kumczak:
DRM keys are unique. I have other keys than you. And we can't swap them, it will brick your device.

You have to root your device first.

Then make TA backup.

Then unlock bootloader - here you lose your DRM keys, bravia engine and track ID.

If you wish to/have to, you can restore your TA partition - it then locks your bootloader, restores DRM keys, bravia engine and track ID.

DevShaft is currently working to make his tool compatible with our device. Maybe tomorrow we will have the tool ready to backup and restore our TA.

DevShaft's thread: http://xdaforums.com/showthread.php?p=41763438

---------- Post added at 08:47 PM ---------- Previous post was at 08:46 PM ----------

How big is your TA backup zip?

What does the compatibility test say?

Cheers :)
[Sony Xperia P, U, Sola, Go] Bahurs1:
hm.. I don't think that they are unique... forgot to mention that I'm with xGO. anyway the thing is that when I was trying to root it I flashed a whole lot of tft files I could find on the net and I'll have you know that it is still working as it should currently. another thing would be: when you use SUS to flash your phone to stock you get the files you need to make a tft file, in that cluster also lies the TA partition, so think about it. if the TA partition is unique, why do they need to flash it too? or do they generate a new unique partition everytime?

I'm thinking its per model, not unique, but thats just me. if someone could clarify maybe?
[Sony Xperia P, U, Sola, Go] Kumczak:
Rooting and flashing tft files through flashtool doesn't require unlocking bootloader, so you don't loose anything. You lose DRM etc when you unlock bootloader to flash custom kernels.

Flashing TA partition from another device (not model, but from another unit) than your own will cause a hardbrick. It has been reported and better don't try.
[Sony Xperia P, U, Sola, Go] Pandemic:
[MENTION=4657252]Kumczak[/MENTION]

I will check tomorrow for you mate:)

I go now to sleep but i let you know;)

:::[ Pandemic ..:: JB MoonBreakers 4 Ever :.

Press Thanks If You Like My Work/Advice !!
[Sony Xperia P, U, Sola, Go] arun6106:
Awesome!

Great News! :fingers-crossed:

Coz I thought there aren't much developers for XP :rolleyes:
[Sony Xperia P, U, Sola, Go] arun6106:
DRM keys are UNIQUE!

They are completely unique man, you flash any other device's TA partition into yours, u'll get it bricked! :mad:

also, when you flash any rom.ftf from flashtool, it never touches the DRM keys!

Unless you are unlocking the device!

So you can flash those ftf's as many times as you want,

and ya btw, its not tft, its ftf ;)
[Sony Xperia P, U, Sola, Go] arun6106:
Confirmed Xperia P

Hey man, report this to the owner of that thread so that he can put Xperia P in the

Confirmed Supported Devices list! ;)
[Sony Xperia P, U, Sola, Go] Kumczak:
DevShaft will adjust his script so it will probably fit all Sony Xperia devices :). The difference between devices is that TA partition location difers and it's somewhere else in XU, and somewhere else in XZ for example :).

Then it will also work well with XP (but as someone reported - XP is already supported).

Cheers
[Sony Xperia P, U, Sola, Go] kantry123:
Buddy that only has.......backup option...then what abt restore..?

S1 only has backup

But the raw ta has two options...which one to select..??
[Sony Xperia P, U, Sola, Go] Pandemic:
[MENTION=4965911]arun6106[/MENTION]

Yeah he will read this, but can you please use edit button? Because you SPAMMING !!

Reply after reply is spam.

:::[ Pandemic ..:: JB MoonBreakers 4 Ever :.

Press Thanks If You Like My Work/Advice !!
[Sony Xperia P, U, Sola, Go] arun6106:
Restore TA

For restore, there are different steps, s1tool, backup-ta.zip and old flashtool versions,

all allow restoring!

[MENTION=2902434]Pandemic[/MENTION] : Oh! I didn't knew that!
[Sony Xperia P, U, Sola, Go] DevShaft:
Will add it now ;).
[Sony Xperia P, U, Sola, Go] Phantom Pt. II:
Anyone tried this on the Xperia U?
[Sony Xperia P, U, Sola, Go] DevShaft:
Read 5 posts up.
[Sony Xperia P, U, Sola, Go] kantry123:
thanks for ur answer

plz.z.z. elaborate steps to relock & flash the relock ta.zip?

as i'm planning to unlock my xperia u

regards

kantry123
[Sony Xperia P, U, Sola, Go] Kumczak:
w8 a moment for DevShift to finish his script. he is adjusting his tool to be able to backup and restore xperia U TA partition.

i've done backup with flashtool, but it's only 200kb file, i read somewhere it should be 2mb.

Cheers
[Sony Xperia P, U, Sola, Go] kantry123:
Yaya...even I tried both flashtool aswell as tool....but both gave me a backup size of 136kb....

So mybe I need to postpone my unlock ..

Regards

Kantry123
[Sony Xperia P, U, Sola, Go] arun6106:
backup & restore the TA partition

what i have is also an 136 kB file (from both the flashtools), on my xperia P, which seems fine to me :mad:

but few people reported that they couldn't restore via flashtool. :rolleyes:

That's why i added the other two options, s1 tool and backup-ta, so that u can restore the TA if flashtool denies to do so!

& as they say, you can also wait for DevShift to finish his tool, things may turn very easy with that :o

btw, here's the original thread of backup-ta

which defines how to backup & restore the TA partition

http://xdaforums.com/showthread.php?t=2234627
[Sony Xperia P, U, Sola, Go] DevShaft:
Well actually that is a deprecated thread that does describe the steps of a very old version of Backup TA. I wouldn't use it anymore since the steps are not working for the later versions and its a more or less closed thread anyway. To be honest the chance of bricking your device with this old version is rather high. The new thread can be found here: http://xdaforums.com/showthread.php?t=2292598

I will add a guide to the thread, but I don't think it is even needed.
[Sony Xperia P, U, Sola, Go] DevShaft:
The Sony Xperia U is confirmed to work with Backup TA v9.0b1 by [MENTION=4657252]Kumczak[/MENTION].

Backup TA v9.0b1 is a beta release which will be released final this weekend. But go ahead and download the beta at https://github.com/DevShaft/Backup-TA/tags and give it a try. New in this version is that it will inspect your device to find the TA instead of a hard-coded partition location. For example the TA of the Sony Xperia Z is located at /dev/block/mmcblk0p1 while for the Sony Xperia U it is located at /dev/block/mmcblk0p2.

For those wondering, a 'dry-run restore' is a restore which actually doesnt write the TA partition. This comes in handy when you would like to test the backup before actually restoring it. With Backup TA you can only restore backups which are created with the same tool, so not backups created with Flashtool or any other tool.
[Sony Xperia P, U, Sola, Go] Joker9999:
Hey guys,

My XP was unlocked already, the BE was gone. But when I unlock BL and flash the zip file, the BE is back, so can I Backup the RDM and TA Partion now? If I can do it, can I restore it when my phone is unlock BL? Thanks you very much
[Sony Xperia P, U, Sola, Go] arun6106:
No. Won't help.

No man, ur drm keys were lost right when u unlocked bootloader! :mad:

that trick is just make BE work, it doesn't brings DRM keys in any way!

So, backing up the TA after flashing that zip is of no use! :(

Bt, who cares! You got them working, so why bother :D
[Sony Xperia P, U, Sola, Go] Phantom Pt. II:
I tried it but it says it cannot find the location of the TA. Is it required to fill in the IMEI number?
[Sony Xperia P, U, Sola, Go] arun6106:
New version is there!

He uploaded a new version!

Devshaft: "Uploaded beta version v9.0b2 at the usual location. I removed the IMEI check from the TA partition search, since it appears not all Xperia devices have it in their TA. Also added a simple root check which exits the tool before entering the menu when the device is not properly rooted."

Try it, make sure you have root access. :)
[Sony Xperia P, U, Sola, Go] Phantom Pt. II:
Great, thanks for the heads up! Succesfully backed it up now! On to unlocking the bootloader. Custom kernels here I come :D
[Sony Xperia P, U, Sola, Go] Pandemic:
and you are an RC [MENTION=4644981]kantry123[/MENTION] ?

LOOOOL !

i did it in 1 step and bang ! i have it :D

im an retired RC btw :D
[Sony Xperia P, U, Sola, Go] myawan:
Simple question! Can a relocked bootloader have custom recovery (CWM)?

Secondly how to know BE is working? Any after/before test?
[Sony Xperia P, U, Sola, Go] Kumczak:
Yes, locked bootloader can have CWM installed, but you have to root it first.

I don't know the answer to the second question. I guess you should see the difference in pictures quality.
[Sony Xperia P, U, Sola, Go] arun6106:
for cwm, just root and install the cwm recovery!

btw, a new method is there by Doomlord to root the JB on Xperia Devices :fingers-crossed:

to check BE, go into the service menu (*#*#7378423#*#*) and then services tests >> security, you will see that marlin key is OK

means BE is working

else it will be UNKNOWN.
[Sony Xperia P, U, Sola, Go] kantry123:
No need...to comment unnecessaryly.....being an rc.. I'm still new to Xperia world..

So I want some info...abt what I'm doing.

If u don't wanna..help...just don't post crap..

& spam this thread
[Sony Xperia P, U, Sola, Go] Pandemic:
oh sorry then with all respect, and crap and spam?

do you know what spam is?

reply after reply that is spam ;)
[Sony Xperia P, U, Sola, Go] bdani14:
How does my phone know that a DRM key I flash is from an other phone? And can't we calculate the DRM from imei or SI number?
[Sony Xperia P, U, Sola, Go] Kumczak:
Because DRM key is unique for each device. Other people flashed TA from other devices and HARD-bricked their device. Have a go and try it yourself, then come back and say what did you get. But don't blame XDA and anyone else for not giving you a warning.
[Sony Xperia P, U, Sola, Go] arun6106:
Well, you see every lock has different Key!

It's just that you don't get banged if u put wrong key in the lock but if you do that with ur device, it'll be BRICKED :laugh:

and calculating DRM from IMEI or SI ?

Nope, not possible!

If u lost your drm keys, what you can do is

flash the zip from here http://xdaforums.com/showthread.php?t=2301489

You'll get everything working again, though IT DOESN'T RESTORES DRM KEYS IN ANY WAY!

It's just a trick to make those things working again, can be checked via

go into the service menu (*#*#7378423#*#*) and then services tests >> security, you will see

MARLIN [Key OK][Active]

WMLA [Key OK][Not active]
[Sony Xperia P, U, Sola, Go] RoyalEagle:
Needed Restore Method

Hi Arun,

help needed for SOLA ----M27i

I have taken a backup of my TA using old flahtool 0.9.10 . it had generated .ta file.unlocked bootloader.

then I have restored stock .54 firware. and restored TA backup using flashtool.

the flashing completed successfully.

log attached.

I have my certificates back in service menu but not the DRM keys.

But surprisingly My TrackID & Bravia Engine works Fine.

Can you let me know the exact procedure to restore DRM keys using old flashtool.

i.e. can this TA back used with latest flashtool or S1Tool.

S1 Tool shows me capital "R" so in the service menu Bootloder status : Unlock allowed

help needed to understand this and to restore DRM keys

Cheers!

Royal Eagle
[Sony Xperia P, U, Sola, Go] arun6106:
Seems like your bootloader was already unlocked!

"it generated .ta file.unlocked bootloader."

this signifies that ur bootloader was already unlocked and drm keys weren't there when u backed it up!

so that's why they aren't there after restoring the backup.
[Sony Xperia P, U, Sola, Go] RoyalEagle:
DRM Keys & .ta backup

Hi Arun,

I understand this.

But there was a typeo of (.) full stop in my original post which cause this understanding.

I took the backup of TA before unlocking the BLwith old flash tool. ( that backup is xxxxxxx.ta created in flashtool\custom\ta folder.

Backup was taken before unlocking the BL.

Please help

Cheers !

RoyalEagle
[Sony Xperia P, U, Sola, Go] arun6106:
try this

go into the service menu (*#*#7378423#*#*) and then services tests >> security, you will see

MARLIN [Key OK][Active]

WMLA [Key OK][Not active]

If you got this, it's all fine.

how did you checked the DRM keys anyway?
[Sony Xperia P, U, Sola, Go] RoyalEagle:
DRM Keys & .ta backup

Hi Arun,

Thanks fo Reply. I checke the DRM The same way you explained

dial ---> *#*#7378423#*#* --> Service Tests --> Security

It shows me

[Unknown Error] [Not Active]

[Unknown Error] [Not Active]

[Unknown Error] [Not Active]

[Unknown Error] [Not Active]

[Unknown Error] [Not Active]

[Unknown Error] [Not Active]

[Unknown Error] [Not Active]

====================================================

more over now in s1tool , When I click "Identify" . it shows simlock as "Tampered"

can't understand what I did wrong.( as TrackID and Bravia Engine working fine )

Please help further...
[Sony Xperia P, U, Sola, Go] arun6106:
The DRM keys are surely not there, do one thing,

send your ta backup to [MENTION=5261329]DevShaft[/MENTION] , he is the developer of this backup/restore tool in here.

he may help you. :cowboy:

[ps. i'm not a developer, i just fetched these different methods from various threads and made a common thread in here.]
[Sony Xperia P, U, Sola, Go] Kiba No Ou:
I've the same problem, i've restored the TA partition with Flashtool v0.9, but when i go to the service menu i get the same [Unknown Error] [Not Active] and Tampered in s1tool as RoyalEagle
[Sony Xperia P, U, Sola, Go] arun6106:
Flashtool's incapability

but in his case, TrackID and Bravia Engine are working fine!

probably this is the incapability of flashtool, so i'm removing the flashtool steps from the Post. :mad:

DevShaft's Backup-TA method seems to be the only fully working one.
[Sony Xperia P, U, Sola, Go] Kiba No Ou:
TrackID working fine even for me, so now what can i do?

If i backup the TA partition now i will get the same error even if i use Backup-TA right?
[Sony Xperia P, U, Sola, Go] arun6106:
yes, coz drm keys seem to be lost as flashtool didn't back them up!

but u can try, may be it'll work (fingers crossed)
[Sony Xperia P, U, Sola, Go] Kiba No Ou:
If i send the .ta file [MENTION=5261329]DevShaft[/MENTION] as you suggested to RoyalEagle there's any chance to restore DRM keys? :confused:
[Sony Xperia P, U, Sola, Go] arun6106:
Yes, he is an dev,

if drm keys are there, he'll surely make u a working backup!

:good:
[Sony Xperia P, U, Sola, Go] RoyalEagle:
Flashtool Ta Backup

Hello All,

I checked with DevShaft with my ta Backup. and IT seems DRM keys are lost forever as this backup contains raw partition data.

now am trying to analyse what is the coding format for this ta backup file.

as far as i know , when you take a raw ( 0.0.0..... 10101 ) type backup of particular partition, all the data on it should be present ( please correct me if I am wrong ).

If anybody helps me with this , really helps me a lot to move further.

I think I might need to go to BinAry ??? on this but really want to assured first about the things.
[Sony Xperia P, U, Sola, Go] DevShaft:
Actually what I said was that a backup made with Flashtool, the S1 method, does NOT make a raw backup of the TA partition like Backup-TA and the raw method of Flashtool does. You can relock the bootloader with it, but it won't bring back the DRM keys. There is nothing anyone can do for you since the keys are gone forever. You either made a backup before Flashtool had the new backup method (raw) or you unfortunately have chosen the old method (S1). Bad luck I guess.

That's the conclusion and all I can add to the story :).
[Sony Xperia P, U, Sola, Go] bibhu059:
my xperia u got bricked..i am not able to on it.is there any possiblity that my phone will run again??
[Sony Xperia P, U, Sola, Go] DevShaft:
As you wrote in your PM to me, you restored a TA backup from someone else's device. This hard-bricked your device, which you could have prevented when you read the FAQ first. Sorry but there is nothing anyone else can do for you at this point. Only option left is to send it to Sony - tell them it suddenly didn't turned on anymore - and hope for the best.
[Sony Xperia P, U, Sola, Go] Cyboy:
hi ,nice thread, bcoz i have same prob since flshed 4.1.2 ...100 via FT on XGO, it showing:

Marlin[unknowen error][active]

wmla[unknowen error][not active]

whatever BE and also TrackID working fine!

even i have another problem un-solved with both built-in 'download manager' and 'audio effect service' that are used to run everlasting in backgroung consuming alot of ram ,cpu and batt. me and the dear user Dagger discussed and found that; my device trying to download somthing Unknowen ! do u agree with this? do u see any connection between these two issues of mine?and how to fix this problem?

pardon bad Eng.
[Sony Xperia P, U, Sola, Go] nielo360:
I backed up up my z ultra using flashtool RAW backup, but I cant find how to restore it? do i plug in my phone in flashmode or fastboot mode? where is the TA backup folder? Iv looked everywhere for instructions.
[Sony Xperia P, U, Sola, Go] Wind07:
This totally looks like an Xperia ZU forum
[Sony Xperia P, U, Sola, Go] arun6106:
Shouldn't have used flashtool for Z Ultra's backup. I don't think it's supported. DevShaft's method works just fine, backup with that if you aren't already lost.

and [MENTION=5333762]ahmad990[/MENTION] brother i sold my xperia p around six months ago, so can't rectify your problem.

What you can try is factory reset the phone or if you have CWM/TWRP recovery installed, Wipe all the partitions, cache, system, dalvik, battery stats, and flash a new rom using Flashtool.

If those files are still running, wait for them to complete whatever they are downloading

or if you are rooted, you can install apps that force stop particular apps and won't allow them to even start at boot up. There are Many app kiilers on play store for this purpose.
[Sony Xperia P, U, Sola, Go] zedsharma:
help need emergenrcy

hey devshaft .. i used ur ta backup v9.10 after i rooted i took a back up ...

all i need to know is when my boot loader is locked and flash custom rom will drm keys get lost or not

more over ... and if i unlock my boot loader and relock it .. will drm keys remain safe or not
[Sony Xperia P, U, Sola, Go] XqepX:
When you have a locked Bootloader and flash a Custom ROM (which is Stock based ^^) than your DRM keys are still there. When you unlock your bootloader they'll be gone and if you relock your BL, they are still gone so the thing that you gonna do is to restore your TA partition with this tool and then your DRMs will be there again :)
[Sony Xperia P, U, Sola, Go] suyash691:
[MENTION=5261329]DevShaft[/MENTION] i made 3 backups of TA using the ta backup tool , one in windows 8.1 and one in windows 7 and one in windows xp (call me paranoid but still) ... all of them differ in size :confused: can u confirm that all the backups are fine or is there some issue

EDIT :Removed the backups
[Sony Xperia P, U, Sola, Go] DevShaft:
They're fine. Please read the FAQ in the original thread :).

PS. It's better to remove your backups from XDA, as it may brick other users their device when restored.
[Sony Xperia P, U, Sola, Go] zedsharma:
hi want to ask a ques

soory for my stupid question ...

the backup created by tabackup can rename zip to ftf and flash on my phone
[Sony Xperia P, U, Sola, Go] Wind07:
No flashtool wont flash it. You can restore it via the ta backup tool.

Sent my AOSP Xperia P
[Sony Xperia P, U, Sola, Go] Xpirate063:
need to unlock My Xperia Z bootloader

Hi everyone ,

i've been rooting Samsung and HTC phones before but i got my Xperia Z about a year ago and i've rooted it a couple of times before and recently without realizing that i would lose the root after updating i updated to the latest KIT KAT 4.4.2 build number 10.5.A.0.230 and now i have bee reading that to root this i need to unlock my bootloader. i never unlocked my bootloader when i rooted it the previous times . I am scared to lose my mobile Bravia Engine so what is the best advised ways to unlock my bootloader.Flashtool or Offical Method ? also just thought i would mention I have a MacBook at the moment. i have no access to windows computers at the moment so please advice with reference to Mac OS X.