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
Related
Hello,
I was wondering, is that a good idea to unlock my bootloader? I like to try new things with my phone and such
All opinions are welcome.
Sincerely
Alex
wuggy said:
Hello,
I was wondering, is that a good idea to unlock my bootloader? I like to try new things with my phone and such
All opinions are welcome.
Sincerely
Alex
Click to expand...
Click to collapse
i am also in a similar situation like you. backup your TA partition first before you unlock, to re-enable the DRM features if u wish to relock the phone. now i dunno if the sync with my gmail account alone would restore all my app data,contacts etc. so for that i also make their backup using android backup utility or pc companion from time to time.(u must know once u unlock the BL u will have the internal memory wiped )
dhiman33 said:
i am also in a similar situation like you. backup your TA partition first before you unlock, to re-enable the DRM features if u wish to relock the phone. now i dunno if the sync with my gmail account alone would restore all my app data,contacts etc. so for that i also make their backup using android backup utility or pc companion from time to time.(u must know once u unlock the BL u will have the internal memory wiped )
Click to expand...
Click to collapse
yea, i dont have anything on phone atm, just flashed back on stock
with what i should backup my TA ?
and what do you mean by TA ?
wuggy said:
yea, i dont have anything on phone atm, just flashed back on stock
with what i should backup my TA ?
and what do you mean by TA ?
Click to expand...
Click to collapse
AFAIK, TA partition is where all ur DRM keys are stored. U can backup and restore the TA partition using Backup TA utility. (search on google/xda)
Warning: don't restore another Sp's TA partition as it will hard brick your phone.
wuggy said:
yea, i dont have anything on phone atm, just flashed back on stock
with what i should backup my TA ?
and what do you mean by TA ?
Click to expand...
Click to collapse
Use the search function. And if you unlock the bootloader always keep a copy of your TA partition.
Sent from my C5302 using Tapatalk 4
Hi everyone!
After searching for rooting newest firmware of 12.1.A.0.266 with LB, I found that it may be impossible without unlocking my BL. So I decided to unlock BL & root it via DooMLord's method and relock again. But I have a few questions.
I heard it's important to backup my TA partition before unlocking so I do a search for it. So I found that root permission is needed for backup TA. Since firmware 12.1.A.0.266 cannot be rooted, I have to downgrade to Android 4.1 and root it by DooMLord's method. It's all OK for me.
But I need to know, if I do restore my TA backup that taken while running Android 4.1, on my newest firmware 12.1.A.0.266, can it be conflicted that lasting bootloop or bricking my device? And relocking my device will it definitely lock my BL to factory status? Please be kind to help me with these questions. :good:
Thank you all :laugh:
Kelumsd.
C5303
12.1.A.0.266 Stock with LB.
No restoring TA wont cause bootloop but to be extra sure you can first flash 4.1.2 restore TA and flash 4.3..
mrjraider said:
No restoring TA wont cause bootloop but to be extra sure you can first flash 4.1.2 restore TA and flash 4.3..
Click to expand...
Click to collapse
My friend,
Thanks for helping me! :good:
If I restore TA mean I'm relocking my BL. So if I flashed 4.3 again I cannot gain root access coz it cannot root without unlocked BL. Am I correct?
So how can I root 4.3, if I flash 4.3 over 4.1.2 as root is lost after flashing a new firmware.
Thank & Regards! :good:
You need to root on 4.1.2, install CWM. Download and flash a 4.3 ROM and last flash 2.266 kernel
But there are proper threads for this xD
mrjraider said:
You need to root on 4.1.2, install CWM. Download and flash a 4.3 ROM and last flash 2.266 kernel
But there are proper threads for this xD
Click to expand...
Click to collapse
Yes brother..... I see several threads that explaining how to do that. But I wanted to root official firmware by unlocking BL.
If I restore TA, should I relock BL after that or, first relock BL then restore TA?
Thanks!
kelumsd said:
Yes brother..... I see several threads that explaining how to do that. But I wanted to root official firmware by unlocking BL.
If I restore TA, should I relock BL after that or, first relock BL then restore TA?
Thanks!
Click to expand...
Click to collapse
To make it easy, unlock using flashtool. It'll automatically make a TA backup. Later when you're done flashing stock kernel you can easily click relock and it'll restore TA and relock it for you as easy as 123.
Tutorial to relock using flashtool by DooMLoRD http://forum.xda-developers.com/showthread.php?p=43355810#post43355810
Vanschtezla said:
To make it easy, unlock using flashtool. It'll automatically make a TA backup. Later when you're done flashing stock kernel you can easily click relock and it'll restore TA and relock it for you as easy as 123.
Tutorial to relock using flashtool by DooMLoRD http://forum.xda-developers.com/showthread.php?p=43355810#post43355810
Click to expand...
Click to collapse
Bro,
Is that unlocking BL via Flashtool exactly same as unlocking via official Sony method? If I unlocked BL besides official method, can I relock it again successfully? And so, since official method needs to device connected with Fastboot mode, but Flachtool needs device connected via Flashmode to Unlock/Relock BL. Why is the different with this methods? Pls kindly explain this......
Thanks! :good:
29984985 701
kelumsd said:
Bro,
Is that unlocking BL via Flashtool exactly same as unlocking via official Sony method? If I unlocked BL besides official method, can I relock it again successfully? And so, since official method needs to device connected with Fastboot mode, but Flachtool needs device connected via Flashmode to Unlock/Relock BL. Why is the different with this methods? Pls kindly explain this......
Thanks! :good:
Click to expand...
Click to collapse
Yess absolutely the same. I'm not sure about relocking it after using the official method but I think restoring the TA key actually means relocking it. Well actually you will need to fastboot on flashtool right after the flashmode. There is no difference in result. It's just an alternative way to unlock and relock. Unlocking using official Sony method is the old way of unlocking. Flashtool is just to make it easier and simpler. The result will be the same. But be sure that you make the TA backup before unlocking it for the worst case scenario not to be able to relock it
Vanschtezla said:
Yess absolutely the same. I'm not sure about relocking it after using the official method but I think restoring the TA key actually means relocking it. Well actually you will need to fastboot on flashtool right after the flashmode. There is no difference in result. It's just an alternative way to unlock and relock. Unlocking using official Sony method is the old way of unlocking. Flashtool is just to make it easier and simpler. The result will be the same. But be sure that you make the TA backup before unlocking it for the worst case scenario not to be able to relock it
Click to expand...
Click to collapse
Thanks bro! Finally I was success with all! Thanks friends! :laugh: :laugh:
C5303.
Android 4.3 Stock .266
ROOTED Locked bootloader
Hi guys,
I'm kinda desperate right now. I am using 4.3 with 12.1.A.0.266 firmware.
My aim is to install CWM. For this I need an unlocked Bootloader and Root.
But all tutorials I could find are kinda contradicting themselves.
To root I need UB.
To unlock Bootloader in need to Backup TA partition.
And to backup TA partition I need root.
The tools from doomlord all require the old firmware, but silly me has already updated.
Is there any way to unlock Bootloader without root for backuping TA partition OR root with locked bootloader?
Any help is appreciated
Im afraid there isnt any root method for locked bootloader, so You must flash 4.1 using flashtool, root 4.1, backup TA, flash 4.3, unlock BL, root 4.3 and relock BL by restoring TA. The whole process just sounds hard and its complicated but follow those steps and itll be fine
Cheers
Sent from my C5303 using XDA Premium 4 mobile app
teddy74eva said:
You must flash 4.1 using flashtool, root 4.1, backup TA, flash 4.3, unlock BL, root 4.3 and relock BL by restoring TA.
Click to expand...
Click to collapse
When updating to 4.3 I lose root, dont I? So there must be a way to unlock BL with no root? I think then i would lose my Drm keys, thats why i backuped them on 4.1, didn't I? And i surely can use the backup of TA i made in 4.1 for version 4.3?
Thank you for your help already!
Same, Bro
ShotingCox said:
Hi guys,
I'm kinda desperate right now. I am using 4.3 with 12.1.A.0.266 firmware.
My aim is to install CWM. For this I need an unlocked Bootloader and Root.
But all tutorials I could find are kinda contradicting themselves.
To root I need UB.
To unlock Bootloader in need to Backup TA partition.
And to backup TA partition I need root.
The tools from doomlord all require the old firmware, but silly me has already updated.
Is there any way to unlock Bootloader without root for backuping TA partition OR root with locked bootloader?
Any help is appreciated
Click to expand...
Click to collapse
I got same dilemma. Worstly , I am already unlock bootloader without doing Backup TA . Can I relock bootloader,do the Backup TA again??
kclement said:
I got same dilemma. Worstly , I am already unlock bootloader without doing Backup TA . Can I relock bootloader,do the Backup TA again??
Click to expand...
Click to collapse
i am afraid you cant get ur DRM keys back as you didn't took a TA backup before unlocking bootloader.. :
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...
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.. ?