[SOLVED] Clarification regarding .257 TA backup - Sony Xperia Z Ultra

Hello,
I'm in need of some clarification regarding TA backup. After reading several threads I came to the conclution that it's best to backup TA before unlocking bootloader and so on. Current build is 257 without any modifications made.
Since I can't backup TA without root and cannot root without flashing from 257 to 532, is it possible to flash 532, root, backup TA, then flash back to 257 and restore TA backup? I'd imagine that they have information about my phone being 257 when it was shipped and refuse to repair the phone.
Did some searching and couldn't find an answer to this.
Guides I've had a look at:
Flashtool guide.
How to root 14.1.B.2.257 using OTA

You won't lose your TA, so you can downgrade and root as much as you want. The only way you'll lose your TA is if you unlock your bootloader, which you don't need to do when you just want to root. You'll have to unlock it if you want to flash CM, PAC or other custom ROMs.
Downgrade to 532, root, backup TA (just so you have it), update through OTA to 257 and you're done.
Sent from my C6833 using Tapatalk

LordManhattan said:
You won't lose your TA, so you can downgrade and root as much as you want. The only way you'll lose your TA is if you unlock your bootloader, which you don't need to do when you just want to root. You'll have to unlock it if you want to flash CM, PAC or other custom ROMs.
Downgrade to 532, root, backup TA (just so you have it), update through OTA to 257 and you're done.
Sent from my C6833 using Tapatalk
Click to expand...
Click to collapse
Excellent! Thank you for the clarification. TA has nothing to do with the build then?
Also, is there any disadvantages to this when it can be restored to original state with the backup? Thinking about unlocking bootloader etc later.

Correct, your TA folder has your Ultra's unique DRM keys etc. and it's tied to your device itself and not the ROM, so you can go ahead and flash stock ROMs as much as you want without worrying about it.
And no, there are no real disadvantages to it. The only thing that will be changed after unlocking it is that X-Reality will no longer work, but it'll be back to normal once you restore your TA and relock the bootloader.
Sent from my C6833 using Tapatalk

Related

Quick question re: root/ta/bl etc on .290

I'll try and keep this short and to the point.
Currently running stock .290 firmware and wanting to root it, preferably without flashing a pre-rooted firmware, and without losing DRM keys.
Now if i want to root it according to this thread, i will need to unlock the Bootloader first:
"You'll have to unlock the bootloader if you want to root the .290 firmware (Android 4.3)."
and then root it via this, before i can run TA Backup to backup my DRM keys
What I'm confused about though, is that once the Bootloader is unlocked I lose my DRM Keys (as per this thread, and many other comments)
"The TA partition contains all your DRM keys for the Bravia/X-Reality Engine.
The first time you mess with your phone by unlocking the bootloader, these DRM keys will be deleted!"
The general consensus with regards to the proper order is:
1. Root
2. TA backup
3. Unlock bootloader
However for .290 it seems to be:
1. Unlock bootloader
2. Root
3. TA backup (if there is even anything left to backup?)
I guess what I'm wondering is if there is anyway to root .290 directly without first unlocking the Bootloader (and thus losing my DRM Keys), and without flashing pre-rooted firmware?
Or do i have this completely wrong, and by unlocking my Bootloader first, I won't lose my DRM Keys (contrary to what the linked thread above says)?
Thanks!
djyoshii said:
I'll try and keep this short and to the point.
Currently running stock .290 firmware and wanting to root it, preferably without flashing a pre-rooted firmware, and without losing DRM keys.
Now if i want to root it according to this thread, i will need to unlock the Bootloader first:
"You'll have to unlock the bootloader if you want to root the .290 firmware (Android 4.3)."
and then root it via this, before i can run TA Backup to backup my DRM keys
What I'm confused about though, is that once the Bootloader is unlocked I lose my DRM Keys (as per this thread, and many other comments)
"The TA partition contains all your DRM keys for the Bravia/X-Reality Engine.
The first time you mess with your phone by unlocking the bootloader, these DRM keys will be deleted!"
The general consensus with regards to the proper order is:
1. Root
2. TA backup
3. Unlock bootloader
However for .290 it seems to be:
1. Unlock bootloader
2. Root
3. TA backup (if there is even anything left to backup?)
I guess what I'm wondering is if there is anyway to root .290 directly without first unlocking the Bootloader (and thus losing my DRM Keys), and without flashing pre-rooted firmware?
Or do i have this completely wrong, and by unlocking my Bootloader first, I won't lose my DRM Keys (contrary to what the linked thread above says)?
Thanks!
Click to expand...
Click to collapse
No.
You need to downgrade to 532 root, backup ta, unlock bootloader then update.
Sent from my C6833 using XDA Premium 4 mobile app
SpyderTracks said:
No.
You need to downgrade to 532 root, backup ta, unlock bootloader then update.
Sent from my C6833 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Seems I'm really left with no option then.
In that case, are DRM keys linked to the hardware or firmware? In other words, by flashing the pre-rooted firmware will i still keep my original DRM keys? Or will I have new DRM keys, belonging/linked to said pre-rooted firmware?
djyoshii said:
Seems I'm really left with no option then.
In that case, are DRM keys linked to the hardware or firmware? In other words, by flashing the pre-rooted firmware will i still keep my original DRM keys? Or will I have new DRM keys, belonging/linked to said pre-rooted firmware?
Click to expand...
Click to collapse
AFAIK, it's only connected to xreality and a couple of other bits. More importantly it does have an effect on some streaming apps like netflix which will only work with drm. Think there may be a workaround for that on xda somewhere.
Also, if you lose drm and cannot restore the ta partition in event of breakage, then warranty is void.
Worth backing up I'd say if only for warranty purposes.
Sent from my C6833 using XDA Premium 4 mobile app
Like Spyder says, downgrade to 532 with Flashtool (no root or anything is needed), root it (it's very simple), backup TA (even simpler), unlock your bootloader, update to 290 again and root it (it's pretty simple with an unlocked bootloader).
If you regret it all and you want to re-lock the bootloader, be sure to be on a stock ROM with stock kernel and restore TA with the same tool you used to back it up with. This will also re-lock the bootloader. If you re-lock it on a custom kernel, your Ultra will not function. It will not reboot, and all you'll be left with is a blinking red LED over the screen. IF this happens, be sure to unlock the bootloader again, and it'll boot normally again.
You only have to backup the TA partition once, so if you choose to restore it and you want to unlock the bootloader yet again down the road, then just unlock it. You have the DRM keys, so you're safe. Be sure to back them up in the cloud too (Drive, Dropbox etc.) in case your computer crashes or you simply forget the DRM keys are there.
I wrote a guide on all this stuff, so take a look at it here.
You'll need to follow:
- Downgrading
- Rooting
- Backup TA Partition
- Unlocking the bootloader
After that, just download a 290 FTF and repeat step one (downgrading, but only with 290). Then when you're on 290, follow the guide you've already found. You can also flash Recovery/TWRP by following the short "Recovery and TWRP" section.
Good luck!

[Q] [SOLVED] Bootloader Unlock needs Root and Root needs Bootloader Unlock

Hello dear XDA Community,
- Xperia Z Ultra
- 4.4.2
- 14.3.A.0.681
- C6833
I have a big problem with understanding all of this tutorials. I read everything about rooting and unlocking the Bootloader.
I understood that I need to backup my TA Partition for Unlocking my Bootloader so I can continue to use Sony technology.
Requirements ? Root. Okay that was my first problem. So i looked up how to root my phone and what do i need ? A phone with a unlocked bootloader. great! Sure you can say "look at this topic and carefully read" but I really did that and I am really helpless. Thanks for any help!
What did I read ?
- http://forum.xda-developers.com/showthread.php?t=2292598&nocache=1 (requires root)
- http://forum.xda-developers.com/showthread.php?t=2569904 (requires unlocked bootloader)
- watched severel youtube videos and encountered the same problem
Greets
tr0teK
When your bootloader is unlocked, you can never use X-Reality and any other item which requires the DRM in the Trim Area partition,
Restoring the TA partition without relocking the bootloader will not result in the return of X-Reality and such even if you are using a Sony ROM. This situation appears to have changed since the release of 4.4.
Backing up the TA partition is only good for relocking the bootloader on a Stock ROM (any custom AOSP, CM, AOSPA etc will fail to boot on a locked bootloader), for personal choice or returning the phone under warranty.
You can unlock the bootloader when not rooted, in fact you don't do it with the phone running normally anyway so root or not rooted, it does not matter in that sense.
You don't need to unlock the bootloader to root, if you are willing to re-set up your phone again. What you need to do is downgrade to 4.2, which is rootable, root, install recovery and flash the 681 pre-rooted zip, and use flashtool to flash the associated ftf file to get rooted on 681.
Follow the instructions in Lord Manhattan's thread that you linked to,in order to downgrade and install a recovery, then visit the following link to get the zip & ftf to re-up to 4.4 (681). You most likely will lose cellular connectivity whilst you are downgraded (there is a way around this, but as you are only going down to 4.2 to get a recovery, maintaining your IMEI for that short period of time is just a waste of effort), but it will return when you are back on 681 (4.4).
http://forum.xda-developers.com/showthread.php?t=2687848
- Downgrade to 532
- Root it using Bin4ry's tool
- Backup the TA partition
- Unlock bootloader
- Either update to 681 again and take it from there or flash a kernel with recovery/TWRP and flash a pre-rooted 681. It's easy to root 681, so whatever floats your boat.
Don't mean to hijack this topic but I don't want to open another thread,
if I back up the TA partition, unlock bootloader, root the phone, then relock bootloader, then restore TA partition to bring back the xreality,
I am not going to install custom recovery and Roms.
Thanks for the Informations. I will give it a try the next days and report you if it worked.
coolmingli said:
Don't mean to hijack this topic but I don't want to open another thread,
if I back up the TA partition, unlock bootloader, root the phone, then relock bootloader, then restore TA partition to bring back the xreality,
I am not going to install custom recovery and Roms.
Click to expand...
Click to collapse
Technically it'll work, but i have never done it before. Everything should go smoothly until you're going to re-lock the bootloader. You can't re-lock it on a custom kernel, and you'll be on a custom kernel once you flash Jackie's kernel with recovery, so you'll have to flash a complete stock kernel, then restore the TA partition with the TA Backup Tool, which will also automatically re-lock the bootloader. You should in theory end up with a complete stock ROM with root. That's on paper.
Worst case scenario? If you re-lock the bootloader while you're on a custom kernel, it'll explode it won't power on at all, and all you'll get is a blinking red LED and death. To fix this, just unlock the bootloader in Flashtool again and you're back to start again. It's not dangerous, but it's nerve wrecking to see it there, just blinking without any sign of life. I almost crapped my pants the first time i experienced it, and had no clue what was happening or what to do.
LordManhattan said:
Technically it'll work, but i have never done it before. Everything should go smoothly until you're going to re-lock the bootloader. You can't re-lock it on a custom kernel, and you'll be on a custom kernel once you flash Jackie's kernel with recovery, so you'll have to flash a complete stock kernel, then restore the TA partition with the TA Backup Tool, which will also automatically re-lock the bootloader. You should in theory end up with a complete stock ROM with root. That's on paper.
Worst case scenario? If you re-lock the bootloader while you're on a custom kernel, it'll explode it won't power on at all, and all you'll get is a blinking red LED and death. To fix this, just unlock the bootloader in Flashtool again and you're back to start again. It's not dangerous, but it's nerve wrecking to see it there, just blinking without any sign of life. I almost crapped my pants the first time i experienced it, and had no clue what was happening or what to do.
Click to expand...
Click to collapse
Thanks for the reply, I think I will ditch rooting from this phone, too much troubles, I don't understand why Sony put the DRM key in a trim partition, perhaps they don't want us to root the phone after all.
I did it guys. It worked!
My steps:
- Downgraded to 4.2.2 with Flashtool (.532)
- Rooted with Bin4ry's tool
- Installed CWM and TWRP Dual Recovery for Xperia Z locked Bootloader by krabappe12548
- Flashed to 4.4.2[rooted] (http://forum.xda-developers.com/showthread.php?t=2687848)
Now I have the newest version with Root Access. Everything works great
Greets
tr0teK
tr0teK said:
I did it guys. It worked!
My steps:
- Downgraded to 4.2.2 with Flashtool (.532)
- Rooted with Bin4ry's tool
- Installed CWM and TWRP Dual Recovery for Xperia Z locked Bootloader by krabappe12548
- Flashed to 4.4.2[rooted] (http://forum.xda-developers.com/showthread.php?t=2687848)
Now I have the newest version with Root Access. Everything works great
Greets
tr0teK
Click to expand...
Click to collapse
is this witout unlock the bootloader?
MjsNL said:
is this witout unlock the bootloader?
Click to expand...
Click to collapse
Yep, that will work well on a locked BL
If you are only downgrading to flash the current rooted firmware, you don't even need to root 532, as [nut]'s dual recovery can be installed by the same method that bin4ry's root is delivered, just install the recovery, flash the zip, flash the ftf and away you go

I am going to root my ZU need some advises

When I bought my ZU 6802 it was on 257 then I OTA to 290 then 681.
my goal is to get root access only I also want my DRM key intact.
Here is what I plan to do with the ZU.
1.Downgrade to 532, root it without unlock the bootloader, then back up my TA petition.
2.OTA upgrade from 532-257-290-681(will I still be able to? I already took the OTAs Do I need to unroot first?)
3.After back to .681, I will unlock bootloader, then use jackie099's method to root it.
4.Relock bootloader, restore my TA petition.
Does that sound like a plan?
Two things I worry.
1. I am not sure if I can take the OTA update back to .681 after downgrade to .532,
2. What will happen after I relock the bootloader, will I lose root? Jackie099's rooting method has dual recovery, it uses kernel from 6833, my ZU is 6802, my guess is after I relock the bootloader, dual recovery will be lost or null, and I will still have root access.
Any advises will be appreciated.

Which operations require a TA partition backup?

I am about to get my phone back from repair, it's sitting at 4.4.2. I don't want to unlock the BL but would eventually want root and probably to force an update to 4.4.4 if my provider doesn't have it.
Do I need to backup TA just to root? To install the dual recovery? To flash FTF? I understand that it's usually good practice anyways, but which operations actually muck with the partition?
only Bootloader unlocking will wipe your TA
nothing else

1 quick question. root kernel ta backup.

I recently rooted my device, butt.
I didn't yet made a ta backup
However I'm still rolling stock kernel, stock rom and locked bootloader. Only root and twrp. I'm i still in the safe zone or did i just proved to be a morron
Edit. I used the method where i didn't had to unlock my bootloader to get root, just to make that clear.
mellowbug said:
I recently rooted my device, butt.
I didn't yet made a ta backup
However I'm still rolling stock kernel, stock rom and locked bootloader. Only root and twrp. I'm i still in the safe zone or did i just proved to be a morron
Edit. I used the method where i didn't had to unlock my bootloader to get root, just to make that clear.
Click to expand...
Click to collapse
I think you can backup your TA partition because it is related to bootloader
raminta said:
I think you can backup your TA partition because it is related to bootloader
Click to expand...
Click to collapse
Oké great news. Thnx for the quick reply.

Categories

Resources