DRM relock bootloader - Xperia Z5 Premium Q&A, Help & Troubleshooting

I have z5p with unlocked bootloader and recovery working well and DRM keys restored.
If i want to relock my bootloader
DRM keys still working after an ota update or flashing with flashtool??
I want my phone to dont lise DRM keys after updating, any help??

@karrouma, I am confused.
If you on unlocked bootloader, you mean that you restore only DRM functions, not the original DRM keys.
Otherwise, in with corect backup Ta partition including DRM keys, then after relocking the bootloader with the restore of backup on partition, you will have a working Drm keys even after using Flashtool for flash stock firmware or use OTA updates. I mean, once restored, you can not lose them just because the updated with Flashtool or OTA.

Monipeev said:
@karrouma, I am confused.
If you on unlocked bootloader, you mean that you restore only DRM functions, not the original DRM keys.
Otherwise, in with corect backup Ta partition including DRM keys, then after relocking the bootloader with the restore of backup on partition, you will have a working Drm keys even after using Flashtool for flash stock firmware or use OTA updates. I mean, once restored, you can not lose them just because the updated with Flashtool or OTA.
Click to expand...
Click to collapse
Ok, thank you for your help and informations

Related

Xperia S Root Drm-Keys lost?

Hello XDA Community
i have a question, when i root my xperia s as described here: http://forum.xda-developers.com/show....php?t=2417672
then i still have my DRM Keys or they lost?
and how is the cance to brick my phone with this method?
thanks for your answer!
XperiaRootFan said:
Hello XDA Community
i have a question, when i root my xperia s as described here: http://forum.xda-developers.com/show....php?t=2417672
then i still have my DRM Keys or they lost?
and how is the cance to brick my phone with this method?
thanks for your answer!
Click to expand...
Click to collapse
Well the Link is broken but if you root your phone VIA Exploits, aka bin4ry root , then you will not lose your DRM keys, the only ways to lose your DRM Keys , is to Unlock your bootloader, if this method includes installing a Previous version kernel (elf file) then yes you will have to unlock youur bootloader
there is a way to back up your TA partition , but you will have to search though the development section
You only loose DRM when you unlock bootloader.
You cant loose it in any other way.
Sent from my LT26i using xda app-developers app
so, to root my phone with the method i posted, i have to flash my kernel back to an old version, then i must root and then i must flash back the new kernel, so i cant loose my drm keys with this method?
here is the link to the root method:
http://forum.xda-developers.com/showthread.php?t=2417672
XperiaRootFan said:
so, to root my phone with the method i posted, i have to flash my kernel back to an old version, then i must root and then i must flash back the old kernel, so i cant loose my drm keys with this method?
Click to expand...
Click to collapse
Well to flash any Kernel you must have a unlocked bootloader (not sure if it matters if its a FTF file kernel)
unlocking your bootloader removes your DRM keys, you can RELOCK your bootloader but you will not have your DRM keys unless you backed them up
(like said unlocking your bootloader can wipe your TA partition which contains the DRM keys)
EDIT - it says in big and blue , FOR UNLOCKED AND LOCKED BOOTLOADERS
Envious_Data said:
Well to flash any Kernel you must have a unlocked bootloader (not sure if it matters if its a FTF file kernel)
unlocking your bootloader removes your DRM keys, you can RELOCK your bootloader but you will not have your DRM keys unless you backed them up
(like said unlocking your bootloader can wipe your TA partition which contains the DRM keys)
EDIT - it says in big and blue , FOR UNLOCKED AND LOCKED BOOTLOADERS
Click to expand...
Click to collapse
my bootloader is already unlocked from factory, so i can use this method without loosing my drm keys, and when i install a custom android version, i keep my drm keys too?
XperiaRootFan said:
my bootloader is already unlocked from factory, so i can use this method without loosing my drm keys, and when i install a custom android version, i keep my drm keys too?
Click to expand...
Click to collapse
well tell me if bravia engnine works (images look clearer , brigher, blah) , Bravia Engine depends on DRM keys, now when a device is unlocked from factory then im not sure if it has DRM keys
and even if your bootloader is locked then ROOTING VIA that method should work either way, drm keys kept too
XperiaRootFan said:
my bootloader is already unlocked from factory, so i can use this method without loosing my drm keys, and when i install a custom android version, i keep my drm keys too?
Click to expand...
Click to collapse
How come your bootloader was already unlocked by factory?
It is impossible.
Are you sure you see "bootloader unlocked: yes"? Not "booloader unlock allowed: yes"?
Envious_Data said:
well tell me if bravia engnine works (images look clearer , brigher, blah) , Bravia Engine depends on DRM keys, now when a device is unlocked from factory then im not sure if it has DRM keys
and even if your bootloader is locked then ROOTING VIA that method should work either way, drm keys kept too
Click to expand...
Click to collapse
Im confused my bootloader is unlocked because its show´d in the service menu
for the first time i have too root and then unlock my bootloader? i can use the Bravia engine, i have a stock rom
XperiaRootFan said:
Im confused my bootloader is unlocked because its show´d in the service menu
for the first time i have too root and then unlock my bootloader? i can use the Bravia engine, i have a stock rom
Click to expand...
Click to collapse
not can you use it , DOES it work?
my XS when i bought it said Rooting status Bootloader unlocked = yes, although saying that bootloader was not unlocked
unlocking my bootloader means, that i have root rights or?
in my service menu is bootloader unlock allowed yes
so, i want the information, i want to keep my DRM Keys, so are they lost when i flash a new kernel version? because i have to flash back the kernel to root my phone and then i can flash back the new kernel, so do i keep my DRM keys or they lost now?
XperiaRootFan said:
unlocking my bootloader means, that i have root rights or?
in my service menu is bootloader unlock allowed yes
so, i want the information, i want to keep my DRM Keys, so are they lost when i flash a new kernel version? because i have to flash back the kernel to root my phone and then i can flash back the new kernel, so do i keep my DRM keys or they lost now?
Click to expand...
Click to collapse
rooting your devices keeps your bootloader locked, also drm keys
flashing a stock kernel does not need unlock bootloader
flashing custom kernel will need unlock bootloader
Sent from my LT26i using XDA Premium 4 mobile app
Stock kernels are signed by sony, and locked bootloader can boot signed kernels.
That means you can flash any stock kernel anytime with locked bl.
Unlocked bl is required to flash custom kernels, and so that custom kernel ARE not signed by sony.
Sent from my LT26i using xda app-developers app

[Q] Z1 Compact 757 straight to root?

Hi there, ive been searching for guides for last few days for locked bootloader root on Z1 Compact on .757 Kitkat and every guide seems to be different or out of date, either jumping to other out of date tutorials or needing several downgrades?
Can i just run DualRecovery installer and have root on 757 or do i need to downgrade several Android versions back to early JB and then root and reinstall newer versions using root up to 757 again?
I mostly want to backup my TA folder and then can mess with phone properly but it seems a long winded process of downgrading and upgrading several GB of Android versions just to get root? How does root even survive if upgrading again?
So what is the easiest way to root on .757 so can backup TA then unlock bootloader? Do i need to downgrade to early JB to rooot or is there a current tool for 757?
Ive been messing with my Nexus 7 2013 since launch so not a complete noob when it comes to rooting and unlocking bootloaders, just the route to root for backing up TA isnt so clear for this Z1Compact on 757.
Thanks for help!
The reason for downgrading is purley so you can root the phone without unlocking your bootloader so that you can backup your ta and drm keys.
When that's done you are safe with the ta and drm. Then you can put whatever version in and unlock bootloader and root. Rooting on the newer versions can't be done without unlocked bootloader as far as I've understood this.
Me however just skipped the backup procedure and just unlocked and rooted. My ta and drm ain't backed up.
Sent from my C6903 using XDA Free mobile app
Once ive downgraded to root and backed up TA/DRM, can i upgrade to pre-rooted .757 without unlocking bootloader still? Or to have a locked bootloader once back to .757 to turn all the drm/TA features back on?
Is it possible to have locked bootloader, root and proper TA/DRM features enabled while on .757 currently?
gerg81 said:
Is it possible to have locked bootloader, root and proper TA/DRM features enabled while on .757 currently?
Click to expand...
Click to collapse
Yes, just downgrade, install dual recovery, upgrade to pre-rooted .757 FW, then Backup TA (in tha case in future you will want unlock bootlader), done. Fully working rooted phone with DRM intact.
eclyptos said:
Yes, just downgrade, install dual recovery, upgrade to pre-rooted .757 FW, then Backup TA (in tha case in future you will want unlock bootlader), done. Fully working rooted phone with DRM intact.
Click to expand...
Click to collapse
Sweet thanks!
I take it with downgrading i just let flashtool overwrite everything, or is there things i need to skip to preserve TA?
Sorry for all the questions but the tutorials all vary slightly.
gerg81 said:
Sweet thanks!
I take it with downgrading i just let flashtool overwrite everything, or is there things i need to skip to preserve TA?
Sorry for all the questions but the tutorials all vary slightly.
Click to expand...
Click to collapse
Yes, in Flashtool do not "Exclude" anything and Wipe Data, Cache and Appslog. The TA have nothing to do with flashing so you can flash how much you want and they be there intact, they will be wiped when you will unlock your bootloader only.
Few Tips:
To backup TA use the only app recommended from HERE , and do a Backup TA before Unlock Bootloader and one Backup TA after Unlock bootloader (after unlock bootloader there will be no more DRM keys), but if you do 2 Backup you will be able to switch between Locked and Unlocked Bootloader just by Restoring the Backups, Backup before Unlock will Lock your bootloader, Backup after Unlock will Unlock your bootloader. Do not Relock your bootloader with Custom kernels because you will brick your phone.
gerg81 said:
Z1 Compact on .757 Kitkat !
Click to expand...
Click to collapse
Two points
A quick search shows there is no direct root for 757 FTF, secondly the Z1 Compact forum is here. Please ask questions in the correct device forum
gregbradley said:
Two points
A quick search shows there is no direct root for 757 FTF, secondly the Z1 Compact forum is here. Please ask questions in the correct device forum
Click to expand...
Click to collapse
You are right, I saw that but I didn't mind...lol..
Sweet thanks guys, i managed to get .757 rooted with locked bootloader at last.
Id had a looks for the Z1 Compact forum initially but couldnt find it on the main page?
eclyptos said:
Yes, just downgrade, install dual recovery, upgrade to pre-rooted .757 FW, then Backup TA (in tha case in future you will want unlock bootlader), done. Fully working rooted phone with DRM intact.
Click to expand...
Click to collapse
How can i know if my DRM keys are intact or not.. Recently I have restored my TA partition and locked the bootloader..but how can I be sure if the DRM keys are working or intact?
Sent from my Xperia Z1 Compact (D5503)
coolkoushik07 said:
How can i know if my DRM keys are intact or not.. Recently I have restored my TA partition and locked the bootloader..but how can I be sure if the DRM keys are working or intact?
Sent from my Xperia Z1 Compact (D5503)
Click to expand...
Click to collapse
Type *#*#7378423#*#* and go to Service test > Security, if you have in all strings [Key OK][Active] they are all good, if you have [Unknown Error] the DRM keys are lost.
I post mine with UB.
eclyptos said:
Type *#*#7378423#*#* and go to Service test > Security, if you have in all strings [Key OK][Active] they are all good, if you have [Unknown Error] the DRM keys are lost.
I post mine with UB.
Click to expand...
Click to collapse
Thanks all are intact...
Sent from my Xperia Z1 Compact (D5503)
coolkoushik07 said:
Thanks all are intact...
Sent from my Xperia Z1 Compact (D5503)
Click to expand...
Click to collapse
Thanx then..

Can't root with Easy Root Tool

I can't root with Easy Root Tool for some reason and the only easy alternative I see is by flashing a pre-rooted kernel which requires an unlocked bootloader which is fine but I want to back up my drm keys
So will I be able to back them up after unlocking my bootloader??
Does anyone have any alternatives or suggestions for me to root my phone with locked bootloader or if it is possible to back up my drm keys after unlocking my bootloader
Thank u
declassified said:
I can't root with Easy Root Tool for some reason and the only easy alternative I see is by flashing a pre-rooted kernel which requires an unlocked bootloader which is fine but I want to back up my drm keys
So will I be able to back them up after unlocking my bootloader??
Does anyone have any alternatives or suggestions for me to root my phone with locked bootloader or if it is possible to back up my drm keys after unlocking my bootloader
Thank u
Click to expand...
Click to collapse
you loose your drm keys when you unlock, so no, it is not possible. what goes wrong when using easy root tool? What android version and kernel are you on?
xCJ999 said:
you loose your drm keys when you unlock, so no, it is not possible. what goes wrong when using easy root tool? What android version and kernel are you on?
Click to expand...
Click to collapse
4.4.2
stock kernel version 3.4.0
actually i just managed to root my phone FINALLY
thank u anyway:good:

[Q] Bootloader Lock Status, Philz Touch Version, TA Recovery

3 more questions rolled into one thread...
1. I cannot really remember whether I acquired root by going through the official Sony unlock procedure or no. So I don't know whether my BL is locked or unlocked, how can I tell for sure?
2. I would like to update Recovery, have an old version of the DualRec package installed (x.y.z.107) and I know x.y.z.154 is the most recent. Can I just take the flashable version (Z1C-lockeddualrecovery2.7.154-BETA.flashable) of that and use the current Philz Touch version 6.26.6 to update it? Also, my version of Philz is 6.26.6. It seems incapable of allowing backup of the and-sec partition, will an update by flashing the most recent DualRec fix this?
3. What is the procedure to put the TA partition back in and what features does it really regard? What will be re-enabled, assuming by the TA keys are not intact as of now?
1. You do not get root access by unlocking your bl but you can gain root access by flashing a kernel with root access if you wanna check if your unlocked just plug your phone into fast boot mode and if it shows bootloader status as ROOTED your unlocked
2. Use cwm instead it works fine
3. Use the backup ta tool to restore ta its in cross development forum
ta partition has the drm keys thats required by some media apps like track id
Hope this helped you

Root

I would like to ask if there is a point in waiting for a root method with Locked Bootloader or not.
Thanx a lot!
konstantinos3 said:
I would like to ask if there is a point in waiting for a root method with Locked Bootloader or not.
Thanx a lot!
Click to expand...
Click to collapse
+1
Oohhlala said:
+1
Click to expand...
Click to collapse
With unlock boot loader and there is method to save to DRM keys. Whenever you want to relock, relock your boot loader with DRM keys. And even with unlock boot loader all functions are running properly.
atif_afzal said:
With unlock boot loader and there is method to save to DRM keys. Whenever you want to relock, relock your boot loader with DRM keys. And even with unlock boot loader all functions are running properly.
Click to expand...
Click to collapse
Yes, I know that... But the question was made in order to wait and avoid this procedure... :angel:
curious too as i cant unlock bootloader
konstantinos3 said:
I would like to ask if there is a point in waiting for a root method with Locked Bootloader or not.
Thanx a lot!
Click to expand...
Click to collapse
No point...the stock kernel got dm-verity (verified boot) any changes made to it won't let you boot...and there is no way around it, the only way to root is with a custom kernel....
If you use iovyroot you can temp root on Lollipop and back up your TA, once you're on a custom rom you can also flash your drm keys (not just emulate), so you're all good...
People that can't unlock are out of luck...
-DM- said:
No point...the stock kernel got dm-verity (verified boot) any changes made to it won't let you boot...and there is no way around it, the only way to root is with a custom kernel....
If you use iovyroot you can temp root on Lollipop and back up your TA, once you're on a custom rom you can also flash your drm keys (not just emulate), so you're all good...
People that can't unlock are out of luck...
Click to expand...
Click to collapse
current version of iovyroot doesn't support .224 nor .253
konstantinos3 said:
current version of iovyroot doesn't support .224 nor .253
Click to expand...
Click to collapse
You misunderstood what iovyroot does, it's a temporary root that uses an exploit found on certain versions of Lollipop (so it won't work on MM . 224 or .253) you need to downgrade to a Lollipop firmware that is listed for your device, then you can root temporally just so you can backup your TA so you won't lose your drm keys forever once you unlock your bootloader...
This here will also explain in all details why you can't root when dm-verity is in place
You will never have full root because of dm-verity without unlocking your bootloader for the reasons explained above....
You can use this tool to fully reactivate your drm keys if you backup your TA partition before unlocking....
Hope that is a bit more clear for you now
-DM- said:
You misunderstood what iovyroot does, it's a temporary root that uses an exploit found on certain versions of Lollipop (so it won't work on MM . 224 or .253) you need to downgrade to a Lollipop firmware that is listed for your device, then you can root temporally just so you can backup your TA so you won't lose your drm keys forever once you unlock your bootloader...
This here will also explain in all details why you can't root when dm-verity is in place
You will never have full root because of dm-verity without unlocking your bootloader for the reasons explained above....
You can use this tool to fully reactivate your drm keys if you backup your TA partition before unlocking....
Hope that is a bit more clear for you now
Click to expand...
Click to collapse
Thank you for your answer and links!
I posted the previous answer because i had read this guide that says:
"2. BACKUP YOUR DRM KEYS
There is a tool called iovyroot, with which you can backup your DRM keys from an unrooted phone, but at the time of the writing it doesn't support the latest firmware (.224). It does support a lot of older firmwares so it may be useful to not upgrade your phone before checking up this tool."

Categories

Resources