Hello guys!
I am in a bit of a nasty situation:
My device: D5803 (Z3 Compact)
Back when the rooting method was found, I rooted and then backuped the TA Partition... twice... just to make sure
Then I was on Stock ROM for quite a long time. About 3 weeks ago I decided to unlock my bootloaded to try out CM (CM based ROMs). It worked without any problems... until 2 days ago. The phone suddenly restarted all the time... and I tried a lot to get it back to stable operation. It also did not boot anymore all the time... and when it did... the USB Port didn't work anymore... or also only once a while. To check, if it is related to CM, I used Flashtool to get back to the (first and original) .93. That worked... and the system runs... but the USB Port still doesn't work. The device is not recognized anymore by any computer. I tried firmware .105 and using Doomlords Kernel I was able to achieve root.... and it worked. So my next idea was to restore the TA partitiona nd relock the bootloader at the same time.
As the phone is not recognized anymore vie cable, I used adb via wifi... which works well.
Now: when I try to restore the TA backup (dry run), it tells me, that "the backup appears to be from another device"
...and I really don't understand why... as it definitely is exactly the same device (even checked the IMEI number... no... not changed).
So... why? And is there a fix? Or is it (probably... of course without guarantees) safe to do the restore?
In brief:
Device D5803
kernel: Doomlord http://xdaforums.com/z3-compact/orig-development/d58xx-cwm-based-recovery-6-0-4-7-root-t2890231
rooted, SU 2.46
TA Backup tool 9.11
Thanks a lot in advance!
PS: I forgot: any idea, what could have happened to the USB port? It really feels like a hardware issue meanwhile... as even charging sometimes doesn't work... and even the normal firmware has the problems...
I searched the thread and found this post from DevShaft that states the TA partition on SE devices is probably in an unreadable protected location.
Sent from my HTC One M9 using Tapatalk
I'm having xperia Z Ultra(c6802) with android Lollipop(5.0.2) build 14.5.A.0.270. I tried the complete process as mentioned. but my Backup TA v.9.11 is strucked at "WAITING FOR USB DEBUGGING.........." . I've already enabled usb debugging,revoked the usb debug option, but still no luck. prior to using backup TA, i've rooted my device using KINGROOT V4 and status shows device rooted. so what should I do now
I'm having xperia Z Ultra(c6802) with android Lollipop(5.0.2) build 14.5.A.0.270. I tried the complete process as mentioned. but my Backup TA v.9.11 is strucked at "WAITING FOR USB DEBUGGING.........." . I've already enabled usb debugging,revoked the usb debug option, but still no luck. prior to using backup TA, i've rooted my device using KINGROOT V4 and status shows device rooted. so what should I do now
No.
ok another update....somehow i managed to go past usb debugging screen. removed the sony pc companion....installed sony z ultra ADB drivers, reconnected the device and started backup TA. it took a successful backup. then I tried to test the back using the option restore -dry run. but after running that function i came up with this error. now what is this? should i ignore this error?
Backup-TA-9.11\tools
It looks like you are trying to restore the keys whilst on a custom kernel.
Please don't do that. Only restore the keys when on official, unmodified stock kernel.
And the USB port, that must be a hardware issue. My sister's S4 had the exact same issue (I know it isn't the same device, but the problems are nigh identical) and having the USB port replaced did the trick.
I recommend that you get the USB port checked out first before you do anything else. You don't want the connection to die whilst flashing, unless you want a new paperweight
Sorry man, but don't work for me.I have tried this on windows 10 64bit, I am pretty sure it'll work on 32 bit too.
Download the zipped find.exe in the attachment.
Replace it with "find.exe" in the following directory
Code:Backup-TA-9.11\tools
Sorry man, but don't work for me.
My Windows did not recognize the file.
I have tried this on windows 10 64bit, I am pretty sure it'll work on 32 bit too.
Download the zipped find.exe in the attachment.
Replace it with "find.exe" in the following directory
Code:Backup-TA-9.11\tools
You can use your own find.exe from here C:\Windows\System32\find.exe
I have tried this on windows 10 64bit, I am pretty sure it'll work on 32 bit too.
Download the zipped find.exe in the attachment.
Replace it with "find.exe" in the following directory
Code:Backup-TA-9.11\tools
In case there are any other Linux or MacOS users waiting for a port of this… you can use FlashTool in the meanwhile. I used FlashTool 0.9.16 to backup my trim area partition (AKA TA partition).
Launch FlashTool, and turn on Pro Mode.
Under the Advanced Menu, pick Trim Area, then Backup (do not use S1 Dump).
The backup will be saved as an FTA file somewhere inside FlashTool's directory, which is actually a ZIP file. Peek into the file and you'll see the 2 MiB partition (ta.dd) backed up.
As Linux user I did the backup of the trim area with flashtool as suggested by tamasrepus.
Can somebody confirm, that's all I need to restore my keys (if I want to lock the bootloader later...)?
ok another update....somehow i managed to go past usb debugging screen. removed the sony pc companion....installed sony z ultra ADB drivers, reconnected the device and started backup TA. it took a successful backup. then I tried to test the back using the option restore -dry run. but after running that function i came up with this error. now what is this? should i ignore this error?
Backup-TA-9.11\tools
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 :highfive:.
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.