Restore TA Partition - Xperia Z1 Q&A, Help & Troubleshooting

Hello so i unlocked the bootloader and checked the bootloader status which was unlocked but before doing it i backed up ta partition of my device. And to test it i restored it and checked again and it was showing bootloader unlocked allowed yes.
So I went ahead and unlocked the bootloader again tried many custom roms in a year.
Now after a year I am trying to restore TA partition with the help of backup ta tool but somehow I am getting error in restoring it.
So all i am asking is there any manual way to do it except for the software??

gauravbhakuni90 said:
Hello so i unlocked the bootloader and checked the bootloader status which was unlocked but before doing it i backed up ta partition of my device. And to test it i restored it and checked again and it was showing bootloader unlocked allowed yes.
So I went ahead and unlocked the bootloader again tried many custom roms in a year.
Now after a year I am trying to restore TA partition with the help of backup ta tool but somehow I am getting error in restoring it.
So all i am asking is there any manual way to do it except for the software??
Click to expand...
Click to collapse
Tell us which error you are getting?
Are you already back on stock?
My feelings are that maybe you need to be on stock bootloader or kernel to restore your ta partition.
How you searched the TA thread for a solution?

motorazrv3 said:
Tell us which error you are getting?
Are you already back on stock?
My feelings are that maybe you need to be on stock bootloader or kernel to restore your ta partition.
How you searched the TA thread for a solution?
Click to expand...
Click to collapse
Found the soultion actually i was restoring it on win 10 and i was getting error related to find.exe so i went back to the thread and literally read the whole thread when i found the soultion on the last page .
I have to replace some dll in tools folder .
Now i am able to restore it but thanks anyways.

Related

Unlocking the bootloader, TA backup and the warranty

Hi,
i want to unlock my bootloader, so i made a backup with Devshafts TA Backup v9.10. The backup is a 112kb big zip file and 2mb big, when i uncompress it, i made a dry run to test it, everything seems ok.
To unlock my bootloader i must send my IMEI nr. to Sony.
My Question is, do they notice that i unlocked my XSP, even after relocking it with the TA Backup, by my IMEI nr that they have?
That would mean my warranty is voided even if i relock it?
Or am i wrong at some point?
Thank you for your help!
Well you lost your warranty if you Unlock your bootloader but I've never heard or read somewere that Sony (or the repair places) are using some kind of Database to check which IMEI has been used to get an Unlock Code.
If you relock the bootloader and restore the TA partition there is no evidence of any unlock.
mrjraider said:
Well you lost your warranty if you Unlock your bootloader but I've never heard or read somewere that Sony (or the repair places) are using some kind of Database to check which IMEI has been used to get an Unlock Code.
If you relock the bootloader and restore the TA partition there is no evidence of any unlock.
Click to expand...
Click to collapse
That concerns me a bit.I have locked and unlocked my bootloader several times but i dont remember backung up my TA partition...... is there any way to restore it to factory status again ?
jackaros said:
That concerns me a bit.I have locked and unlocked my bootloader several times but i dont remember backung up my TA partition...... is there any way to restore it to factory status again ?
Click to expand...
Click to collapse
No Backup of the TA partition?
Well thats not smart. Why is no one reading the tutorials?
First lines of the tutorial from Doomlord:
this is the official way to unlock bootloader
if you want to keep ur DRM keys, first root device and then check this out
Warning!
This procedure will wipe the /data partition of your phone, so you will loose all ur stored data, settings. INTERNAL SDCARD will BE WIPED!!!
For Xperia™ devices released 2013 or later (for example Xperia™ Z and Xperia™ ZL), the SD card of your device will be formatted and you will lose all content (for example photos, music, videos) when you unlock the boot loader.
DRM keys WILL be lost forever
Originally Posted by schaggo View Post
I'd add what losing DRM keys means, e.g. no more Music ID/Gracenote within the Walkman app plus probably most importantly, as asked all the time and all over the place in the T/mint forums: loss of Bravia Engine.
older Xperia devices sometimes got issues after unlock of bootloader (BRICK after FOTA update) - you have been warned
Click to expand...
Click to collapse
mrjraider said:
No Backup of the TA partition?
Well thats not smart. Why is no one reading the tutorials?
First lines of the tutorial from Doomlord:
Click to expand...
Click to collapse
I know that was stupid of me .About a week after unlocking my BL i saw this post and felt stupid so there is no way to get my original TA partition?
jackaros said:
I know that was stupid of me .About a week after unlocking my BL i saw this post and felt stupid so there is no way to get my original TA partition?
Click to expand...
Click to collapse
Absolutely ... NO. Your device will be hard-bricked if you try to restore TA backup took from another one.
silveraero said:
Absolutely ... NO. Your device will be hard-bricked if you try to restore TA backup took from another one.
Click to expand...
Click to collapse
That would be a moronic thing to do ... if its not your of for your device you shall not flash it
jackaros said:
That would be a moronic thing to do ... if its not your of for your device you shall not flash it
Click to expand...
Click to collapse
Ya, so you know that if you lost the TA partition, you can't get that back.
silveraero said:
Ya, so you know that if you lost the TA partition, you can't get that back.
Click to expand...
Click to collapse
Well ok if its gone its gone ill watch from now on thank you

[Q] restore ROM Backup with TA Partition

Hello,
i have an Firmware Backup from the Stock 157 ROM with TA Patition (ta.emmc.win, ta.emmc.win.md5) on my SD Card. I made this before i unlock my device.
When i would restore this Backup, is the Bootloader closed after this, or would my device Hardbricked?
Greets Lars
No one an idea?
-Happy Feet- said:
Hello,
i have an Firmware Backup from the Stock 157 ROM with TA Patition (ta.emmc.win, ta.emmc.win.md5) on my SD Card. I made this before i unlock my device.
When i would restore this Backup, is the Bootloader closed after this, or would my device Hardbricked?
Greets Lars
Click to expand...
Click to collapse
My advice, try to lock the bootloader first (Be sure to be on stock .157 before relocking and backup your SD CARD) then after that, restore your backup stock .157. Everything should work fine since you'd just relock your bootloader, maybe it will erase some data, but in my case after i unlock or relock my BL, no data was loss during the procedure.
For the TA Partition, have you made any backup using this method or any backup TA tool? I can't assure you if the DRM keys will still be intact in the backup ROM.
yoorie016 said:
My advice, try to lock the bootloader first (Be sure to be on stock .157 before relocking and backup your SD CARD) then after that, restore your backup stock .157. Everything should work fine since you'd just relock your bootloader, maybe it will erase some data, but in my case after i unlock or relock my BL, no data was loss during the procedure.
For the TA Partition, have you made any backup using this method or any backup TA tool? I can't assure you if the DRM keys will still be intact in the backup ROM.
Click to expand...
Click to collapse
Sure, an Backup is already present at my PC. That was the first thing that I have do with this phone. I ask only if it possible with this way. I mean I have read last year an post from Doomloard. But I can't find this post.
Good! Relock using flashtool, restore backup then check if there are any issues, then finally, restore the DRM keys, just to be sure..
I think it is better I flash an complete ftf file an relock then... I don't need this backup anyone... Thanks for help.
-Happy Feet- said:
I think it is better I flash an complete ftf file an relock then... I don't need this backup anyone... Thanks for help.
Click to expand...
Click to collapse
Okay, just check first if the DRM keys are still intact after flashing the ftf, then closed this thread after if the problem is solved. thank you!
if u want to unlock bl: use flashtool
if u want to relock bl: use TA tool [if and only if u did a back up using TA and b4 unlocking bl]
BE ON STOCK FTF

sim card not valid after flash

I was trying flash rom 4.2.2 and i checked "simlock.ta" option then my phone note sim card not valid and lose some funtion like camera but i can fix by install restore drm key funtion in here:
http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
but i cant solve sim card not valid because i dont have file TA backup.
And can i use other phone's file TA backup for my phone?
Thanks for help!
truyennguyends said:
I was trying flash rom 4.2.2 and i checked "simlock.ta" option then my phone note sim card not valid and lose some funtion like camera but i can fix by install restore drm key funtion in here:
http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
but i cant solve sim card not valid because i dont have file TA backup.
And can i use other phone's file TA backup for my phone?
Thanks for help!
Click to expand...
Click to collapse
Is your bootloader unlocked? Is your phone C6902? Why in the world would you want to flash antiquated 4.2.2, especially if your bootloader is unlocked. The unlocking guide specifically states you have to be at least on 4.3 in order not to lose camera. If your phone is C6902 and you flashed C6903, you have a wrong baseband.
No. You can't use another phone's TA backup, unless you want to brick your phone.
optimumpro said:
Is your bootloader unlocked? Is your phone C6902? Why in the world would you want to flash antiquated 4.2.2, especially if your bootloader is unlocked. The unlocking guide specifically states you have to be at least on 4.3 in order not to lose camera. If your phone is C6902 and you flashed C6903, you have a wrong baseband.
No. You can't use another phone's TA backup, unless you want to brick your phone.
Click to expand...
Click to collapse
My phone is SOL23 and bootloader in locked but i check bootloader status is uknow. I flashed rom stock but notthing change.
This post said i can solve my problem with file TA backup
http://forum.xda-developers.com/z3-compact/help/rooting-status-unknown-sim-card-camera-t3279419
But i dont have.
Ty :good:
truyennguyends said:
My phone is SOL23 and bootloader in locked but i check bootloader status is uknow. I flashed rom stock but notthing change.
This post said i can solve my problem with file TA backup
http://forum.xda-developers.com/z3-compact/help/rooting-status-unknown-sim-card-camera-t3279419
But i dont have.
Ty :good:
Click to expand...
Click to collapse
I am not familiar with SOL23, but if your bootloader is locked, there is no permanent damage. You just need to re-flash the original firmware for SOL23. Try to repair it with Sony flashtool...
You have to restore your phone to original, then, if you want to unlock bootloader, do a TA backup, so that you can restore DRM function in case you would want to relock. If you unlock without backing up, you will lose your DRM key forever...

DRM keys backup confusion

Hello, after my patience ran out with google play services batter drain issues i have decided to try out moding and i think i messed up DRM recovery part.
I used https://forum.xda-developers.com/z3-compact/general/how-to-root-backup-drm-keys-t3013343 this as a guide.
Things i have done so far in order:
1. flashed 4.4
2. rooted
3. made DRM keys backup
4. unlocked bootloader
5. installed twrp recovery
6. installed this https://forum.xda-developers.com/z3-compact/development/rom-aoxp-rom-v1-t3478863 rom
7. recovered DRM TA zip thing.
Now my problem is, my bootloader is locked, so i guess recovery procedure went ok, but camera perfomance is as awful as without drm keys. Where did i go wrong? What can i do to fix my camera perfomance?
p.s. i am really sorry for my english as it is not my native langue thanks in advice for help.
You don't lock the bootloader when you restore the TA backup it actually locks the bootloader,so try unlocking it again and then restoring the TA backup
Dinkec27 said:
You don't lock the bootloader when you restore the TA backup it actually locks the bootloader,so try unlocking it again and then restoring the TA backup
Click to expand...
Click to collapse
you dont lock it actually locks
that is what i understood, could you be more clear please?
Teraman said:
you dont lock it actually locks
that is what i understood, could you be more clear please?
Click to expand...
Click to collapse
Sorry.
What I meant to say is,when you restore a TA backup from an unlocked bootloader state,it locks the bootloader when you restore it.
So what I am saying is you should unlock the bootloader again,and restore the TA backup as it will lock the bootloader again and should restore camera quality.
Clear now?
Dinkec27 said:
Sorry.
What I meant to say is,when you restore a TA backup from an unlocked bootloader state,it locks the bootloader when you restore it.
So what I am saying is you should unlock the bootloader again,and restore the TA backup as it will lock the bootloader again and should restore camera quality.
Clear now?
Click to expand...
Click to collapse
yes, but one thing. Why do i need to restore twice to get back camera quality?
Thank you a lot!
Teraman said:
yes, but one thing. Why do i need to restore twice to get back camera quality?
Thank you a lot!
Click to expand...
Click to collapse
I dunno tbh I never restored a TA backup since I was an idiot and forgot to back up TA when I was going to unlock my bootloader.
Try it and tell me how it went! Good luck!
No need to restore it twice! Just be sure that you are on stock kernel before you restrore TA.img
Savest way is to flash Kernel+Bootdelivery out of normal FW tft using flashmode (not fastboot !)
Then restore TA.img with Backup tool.
Reboot and done... And Camera is back....
As an alternativre you can flash DRM fix as well... There is also an other projekt running to mount your TA.img from another location.
But this is not yet tested that much... Stay with locked BL and TA - Or with UB and DRM fix.
DRM fix
https://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
Sometimes its needed to delete following folders (with all including files) to reset DRM stuff (root needed)
/data/credmgr
/data/drm
/data/mediadrm
Don't be afraid of loosing something - Those folders and files will be created automaticly new on boot....
btw: Why you unlocked your bootloader? For Root we have 2 ways to do it without Unlocking bootloader...
Anyway -if you have an TA backup you are save actually...
fluffi444 said:
No need to restore it twice! Just be sure that you are on stock kernel before you restrore TA.img
Savest way is to flash Kernel+Bootdelivery out of normal FW tft using flashmode (not fastboot !)
Then restore TA.img with Backup tool.
Reboot and done... And Camera is back....
As an alternativre you can flash DRM fix as well... There is also an other projekt running to mount your TA.img from another location.
But this is not yet tested that much... Stay with locked BL and TA - Or with UB and DRM fix.
DRM fix
https://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
Sometimes its needed to delete following folders (with all including files) to reset DRM stuff (root needed)
/data/credmgr
/data/drm
/data/mediadrm
Don't be afraid of loosing something - Those folders and files will be created automaticly new on boot....
btw: Why you unlocked your bootloader? For Root we have 2 ways to do it without Unlocking bootloader...
Anyway -if you have an TA backup you are save actually...
Click to expand...
Click to collapse
to install twrp, because in guide i read it needs unlocked bootloader and i needed twrp for best battery rom i found.
Teraman said:
to install twrp, because in guide i read it needs unlocked bootloader and i needed twrp for best battery rom i found.
Click to expand...
Click to collapse
There are also two ways of using TWRP:
One is to flash twrp.img onto former FOTA partition. For this you would need UB... This works only with new bootloaders (LA3.0_M_3 from FW .291 is prefered - This bootloader will be installed if you flash full FW 291 or only bootdelivery and kernel in flashtool)
https://forum.xda-developers.com/z3-compact/general/d5803-z3c-aries-twrp3-0-t3543113
But the other method is putting TWRP files to /system/etc/mm_twrp_recovery on SYSTEM partition...
This works also with LB!
https://forum.xda-developers.com/z3-compact/general/recovery-root-mm-575-lb-t3418714
EDIT
Third one is to have recovery build into kernel...
Just to be complete.. ?

How do I tell if my bootloader is locked?

Dear Community,
I recently decided to unlock my bootloader and so I backed up my TA partiton/DRM Keys and went ahead. Today, I reflashed stock marshmallow to get rid of my custom ROM, and I re-rooted so that I could restore my TA partition. I restored my TA partition via the Back-up TA v9.11 tool, that completed successfully, but I'm unsure whether my bootloader has now been locked, or if it is still locked. Does restoring the TA partition automatically re-lock the bootloader or is an additional step required?
My aim for the whole process was to lock my bootloader and flash the Concept software?
P.S. In my device config settings it now says 'Bootloader Unlock allowed: yes'.
Thanks in advance.

Categories

Resources