Hi!
We know that backing up TA with locked bootloader saves DRM keys. I`m not too bothered about this as I have TA backup.
However...
If I create another copy of the TA partition once I have unlocked the bootloader (I know the DRM keys will be gone) but would it enable me to switch between locked and unlocked bootloader states just by restoring the appropriate backup?
So...
TA Backup #1 - Locked bootloader with DRM intact
TA Backup #2 - Unlocked bootloader with DRM gone
Could I just use Backup-TA to switch between both backups and unlock / relock bootloader as I wish? Or does it have to be unlocked via command line every time?
Many thanks for your input.
You can do this,
http://forum.xda-developers.com/showpost.php?p=51222121&postcount=2
gregbradley said:
You can do this,
http://forum.xda-developers.com/showpost.php?p=51222121&postcount=2
Click to expand...
Click to collapse
Good man. Thanks.
Related
Is it possible to restore DRM keys after unlocking BL? I have taken the backup of TA partition. Now after unlocking the BL can I restore the partition? Or it will brick the phone if BL is in unlocked state?
I did it this way first i flashed the stock firmware with flashtool in my case Xperia_SP_C5303_12.0.A.1.257_CE.ftf.
Than i rooted the phone with Doomlords Easy Rooing Kit v16.
I got no soft brick after i restored the TA, done before unlocking with BackupTA 9.0b5 and sure i did a dry run before i performed it.
Ehardt said:
I did it this way first i flashed the stock firmware with flashtool in my case Xperia_SP_C5303_12.0.A.1.257_CE.ftf.
Than i rooted the phone with Doomlords Easy Rooing Kit v16.
I got no soft brick after i restored the TA, done before unlocking with BackupTA 9.0b5 and sure i did a dry run before i performed it.
Click to expand...
Click to collapse
No, no, mate, you missed the point. I want to know if restoring TA is safe with an unlocked BL.
EDIT: sadly, I know now that restoring the TA would actually relock the BL as well, and if there's a custom kernel installed it might result in soft brick. so I conclude there's no way to have DRM keys with unlocked BL. :crying:
dhiman33 said:
No, no, mate, you missed the point. I want to know if restoring TA is safe with an unlocked BL.
EDIT: sadly, I know now that restoring the TA would actually relock the BL as well, and if there's a custom kernel installed it might result in soft brick. so I conclude there's no way to have DRM keys with unlocked BL. :crying:
Click to expand...
Click to collapse
Oh sorry, yes i also think this is not possible at the moment.
So you have to decide DRM or unlocked (custom Kernels).
If i make a TA Backup, will i be good to go with rooting and all that stuff without having to worry about anything?
With a backup, will i always be able to downgrade/upgrade to any custom firmware/original firmware, and or use kernels and stuff.
Unlock/Lock Bootloader.
Can i always go back to stock phone with drm keys and lock bootloader making it 100% factory stock?
And can i have a rooted device with unlocked bootloader + the drm functions working?
Gnubaver said:
If i make a TA Backup, will i be good to go with rooting and all that stuff without having to worry about anything?
With a backup, will i always be able to downgrade/upgrade to any custom firmware/original firmware, and or use kernels and stuff.
Unlock/Lock Bootloader.
Can i always go back to stock phone with drm keys and lock bootloader making it 100% factory stock?
And can i have a rooted device with unlocked bootloader + the drm functions working?
Click to expand...
Click to collapse
The answer of all of your concerns is yes and yes you can always go to 100% factory state with your ta backed up ......
Assuming you will not mess up in flashing roms............
Are you sure? Cause what ive heard is, that you may backup your TA, but the DRM-Keys will remain forever lost.
For further information, this Thread questions the consequences of loosing DRM-Keys
Xecu said:
Are you sure? Cause what ive heard is, that you may backup your TA, but the DRM-Keys will remain forever lost.
For further information, this Thread questions the consequences of loosing DRM-Keys
Click to expand...
Click to collapse
Does not making a backup of TA = Backup DRM Keys.
And how can you screw up flashing roms?
Yes.
"And can i have a rooted device with unlocked bootloader + the drm functions working?"
Not sure about that, what I know if you Unlock Bootlader the DRM Keys are lost and they do not working. Anyway if you have Backup TA you can go back to Stock with functionally DRM Keys.
Downgrade to 4.2.2, root via vroot and use ta backup and you good to go. Did the same.
Sent from my C6902 using Tapatalk
eclyptos said:
Yes.
"And can i have a rooted device with unlocked bootloader + the drm functions working?"
Not sure about that, what I know if you Unlock Bootlader the DRM Keys are lost and they do not working. Anyway if you have Backup TA you can go back to Stock with functionally DRM Keys.
Click to expand...
Click to collapse
So I got something confused there. Good to know that I can always revert to pure stock.
Xecu said:
Are you sure? Cause what ive heard is, that you may backup your TA, but the DRM-Keys will remain forever lost.
For further information, this Thread questions the consequences of loosing DRM-Keys
Click to expand...
Click to collapse
Wrong. If you backed up your TA partition before you FIRST unlocked your bootloader, then your DRM keys are fine within the TA backup.
Test this if you like by downgrading to 4.2.2 WITHOUT restoring TA. Your camera will not focus etc etc
Now restore TA and as if by magic, everything is fine again (though your bootloader will be relocked)
I have TA backup and locked bootloader.
If I unlock and thereby delete the TA partition, can I then restore the TA partition and still have working DRM functions while keeping the unlocked bootloader ?
No, if you restore TA partition, the bootlloader gets locked again!
Sadly like ulysse34 said
ulysse34 said:
No, if you restore TA partition, the bootlloader gets locked again!
Click to expand...
Click to collapse
There is no way of keeping an unlocked bootloader with DRM keys active
I unlocked the bootloader, is there any way to restore drm Keys?
chonazo2003 said:
I unlocked the bootloader, is there any way to restore drm Keys?
Click to expand...
Click to collapse
You can Re-Lock your device first (just to be safe)
If you used FlashTool to unlock, simply click the unlock bootloader option and make sure the IMEI and unlock code are the same and click Re-Lock
If you did it the Sony way, you should be able to use flash tool
To get back your DRM keys simply go into the TA-Backup program http://forum.xda-developers.com/showthread.php?t=2292598 (script thing) and click on 'Restore'
If you did not make a backup of your TA keys... I am sorry... but you have no way of getting them back
FlipFlopHHJ said:
I have TA backup and locked bootloader.
If I unlock and thereby delete the TA partition, can I then restore the TA partition and still have working DRM functions while keeping the unlocked bootloader ?
Click to expand...
Click to collapse
Good News, you can have an unlocked bootloader with DRM functions http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
This thread should help you out, you can have an unlocked bootloader with recovery / root and keep the low light etc functions
Good evening guys , I have a z1 c6902 with the latest firmware and a locked bootloader and I want to unlock the bootloader but I'm afraid of losing the drm keys so my question is : if I backup the TA partition , will I be able to relock the bootloader again and restore all of drm' related functionalities such as x-reality, BionZ and music info download or is there some features that can't be restored once bootloader is unlocked even with a TA backup ?
I really appreciate any help you can provide.
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.. ?