[Q] DRM Keys Restore - Xperia Z3 Q&A, Help & Troubleshooting

After rooting 4.4.4 I backed up my DRM Keys. Unlocked my bootloader and switched to 5.0.3 with twrp. After that I restored my DRM Keys and now it says "unlock allowed: yes"
First question: does that mean now my bootloader is locked again
Second: how can I be 100% sure if the keys are restored. Because I see no difference in photos and x reality.
Anyone can tell me how to be 100% sure about it.
D6603
Lollipop 5.0.2 stock
Rooted
Locked bootloader

Yes it is locked
Restoring your drm keys automatically rocks your bootloader

Related

[Q] Can I re-lock after unlocking the bootloader, and get the DRM keys back?

I.e I want to do this
- Unlock bootloader and root
- Settle for poor camera
And then when the locked bootloader root is released,
- Relock bootloader
- Root
-Use good camera again
Is this possible?
Thanks
Typically with Xperia devices, if there is a root method found that doesn't require an unlocked bootloader, then you can backup the TA partition that contains the DRM keys. You can then restore the TA partition at a later time.
If you unlock your bootloader without a TA partition backup, I believe your DRM keys are lost forever.
No.
You can only get DRM keys back if you restore a TA backup. This backup can only be created once you have root, so without a locked bootloader root you are currently out of luck

Relock Bootloader

Ok guys i need some help, i unlocked the bootloader on mine Z3 with the official method by sony, flashed TWRP recovery and rooted it.
But after i did all that i heard about the DRM on the camera, is there a way to relock it and return to factory state?
Lordszero said:
Ok guys i need some help, i unlocked the bootloader on mine Z3 with the official method by sony, flashed TWRP recovery and rooted it.
But after i did all that i heard about the DRM on the camera, is there a way to relock it and return to factory state?
Click to expand...
Click to collapse
No, you have lost the DRM keys forever.
You can relock using flashtool, but it will not restore your DRM keys

Restoring Drm Keys on Custom Rom's Like Cyanogenmod

I have got a Z3.If we will be able to root without unlock bootloader, i will restore my drm keys.And i will unlock my bootloader and flash cyanogenmod.And i will relock bootloader, restore my drm keys on cyanogenmod.Is it possible?Sorry for bad english?
Not possible. Only a Sony rom can take use of the DRM keys. Cyanogen doesn't use Sonys algorithms.
If we are able to root without unlocking BL, we can backup the TA partition with the DRM keys and you will be able to restore them but as dashrink said, custom Roms which are not based on Sony's official firmware won't be able to use them. But you could always go back to an official (based) firmware and restore the TA partition with the DRM keys.
Well, what can we do for camera's quality on custom rom's?
LeonidasTurk said:
I have got a Z3.If we will be able to root without unlock bootloader, i will restore my drm keys.And i will unlock my bootloader and flash cyanogenmod.And i will relock bootloader, restore my drm keys on cyanogenmod.Is it possible?Sorry for bad english?
Click to expand...
Click to collapse
Once you relock the bootloader CM will not boot.
You need to keep the bootloader unlocked for custom kernels to boot
gregbradley said:
Once you relock the bootloader CM will not boot.
You need to keep the bootloader unlocked for custom kernels to boot
Click to expand...
Click to collapse
What about Xposed? I don't have to change ROM, therefore can I install Xposed and then restore DRM keys? :fingers-crossed:

[Q] Do I have my facts straight?

Could someone just confirm that I got this right:
-if I want reaver on my phone, I have to root it
-if I root it, I lose low light camera quality
So I have to choose between rooting the phone (for installing reaver, airmon and apps like that, I don't need anything else) and having great low-light camera?
Yep.
It was true 2 weeks ago.
Now that the root method for locked bootloader becomes avaiable so you won't lose the drm keys if you root..
freddy1991 said:
It was true 2 weeks ago.
Now that the root method for locked bootloader becomes avaiable so you won't lose the drm keys if you root..
Click to expand...
Click to collapse
What do you mean?
Is it already available or?....
http://forum.xda-developers.com/showthread.php?t=3011598
To clarify:
Unlocking the bootloader wipes your DRM keys and losing those is what reduces the camera quality (among other things)
Previously, the only way to get root was to unlock the bootloader.
It is now possible (via giefroot exploit) to get root WITHOUT unlocking the bootloader. This means your DRM keys are unaffected.
Once you have root you can actually backup your DRM keys so you are then free to unlock the bootloader if you want (for customer kernels and stuff) and restore your DRM keys afterwards
3Shirts said:
To clarify:
Unlocking the bootloader wipes your DRM keys and losing those is what reduces the camera quality (among other things)
Previously, the only way to get root was to unlock the bootloader.
It is now possible (via giefroot exploit) to get root WITHOUT unlocking the bootloader. This means your DRM keys are unaffected.
Once you have root you can actually backup your DRM keys so you are then free to unlock the bootloader if you want (for customer kernels and stuff) and restore your DRM keys afterwards
Click to expand...
Click to collapse
Yes, but people should also know that restoring your DRM keys relocks the bootloader.
So, you can either have an unlocked bootloader without DRM keys (You can boot a custom kernel so can run CM etc)
or
a locked bootloader with DRM keys. (You cannot boot a custom kernel so are stuck to stock firmware)
You cannot have an unlocked bootloader with DRM keys.
Ah, thanks for the clarification, I didn't realise that. I've not unlocked my BL as I'm happy with root on stock.
Do you need to unlock for a custom rom and, if so, can you unlock, install the rom, and then relock?
3Shirts said:
Ah, thanks for the clarification, I didn't realise that. I've not unlocked my BL as I'm happy with root on stock.
Do you need to unlock for a custom rom and, if so, can you unlock, install the rom, and then relock?
Click to expand...
Click to collapse
If the custom rom relies on a custom kernel then yes you have to unlock. Custom kernels can only boot on an unlocked bootloader.
However, once you relock (Or restore the TA partition containing the DRM keys, this also relocks the boot) then you cannot boot a custom kernel so you get a bootloop until you either unlock again or restore a stock rom.
Locked bootloader = stock kernel only (Custom kernels will cause a bootloop)
Unlocked bootloader = any modified kernel and stock kernel (No DRM keys)
Here's one last question before following this guide http://forum.xda-developers.com/crossdevice-dev/sony/giefroot-rooting-tool-cve-2014-4322-t3011598
If something happens to my phone and I need to get it serviced, is it possible to remove root? Will there be any traces of root, or nobody'll ever know it'd been rooted?
David47 said:
Here's one last question before following this guide http://forum.xda-developers.com/crossdevice-dev/sony/giefroot-rooting-tool-cve-2014-4322-t3011598
If something happens to my phone and I need to get it serviced, is it possible to remove root? Will there be any traces of root, or nobody'll ever know it'd been rooted?
Click to expand...
Click to collapse
Flash a FTF or force repair with pccompanion.
That's removes root and no one can tell.

Z5 DRM Functions Back on an Unrooted Stock Firmware

Hi. I had rooted my E6603 some time ago using this method: http://twigstechtips.blogspot.ch/2016/04/sony-z5-compact-root-without-losing-ta.html?m1 so I didn't loose the DRM functions. It did work, but then I noticed the "fingerprint hardware not available" bug, which was fixed by renaming some system files.
Now my problem is that I don't want root anymore, so I made a clean installation of the newest .305 firmware. It was working fine, but I realized the DRM functions were lost, which I think is what's supposed to happen since the bootloader is unlocked in the rooting status info. I tried to restore the TA partition by simply flashing the backup through Flashtool, but it didn't work. Now, in rooting status, it says "unknown", not even "bootloader unlocked" or "bootloader unlock allowed: Yes".
What should I do? I want the DRM functions back without having my phone rooted. Can I root, restore them, change the name of the files necessary for the "fingerprint hardware" fix and then unroot my phone?
you need to downgrade to the LP version you made the DRM backup from, and then use the same tool you backed up with to restore the ta partition...
a detailed simple instruction is available at iovyroot main thread.
is there a way to have a stock kernel without root but with DRM fix? as I plan to go systemless but I can't properly work it out as supersu can't be remove

Categories

Resources