Restoring Drm Keys on Custom Rom's Like Cyanogenmod - Xperia Z3 Q&A, Help & Troubleshooting

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:

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

[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.

[Q] Unlocking the Bootloader

Apart from making a TA backup is there anything else anything I should do before unlocking the bootloader. So once I have unlocked the bootloader I can get my DRM keys back simply restoring using BACKUP-TA?.
Thanks
Yes you can restore to a factory state. I'd suggest to make a full backup with a recovery of your choice as well, so you have your data etc if anything goes wrong.
avi312singh said:
Apart from making a TA backup is there anything else anything I should do before unlocking the bootloader. So once I have unlocked the bootloader I can get my DRM keys back simply restoring using BACKUP-TA?.
Thanks
Click to expand...
Click to collapse
Yes you can get your DRM keys by restoring the TA but it seems pointless to me just to root, backup TA, unlock bootloader, then restore TA partition
You should be aware that restoring the TA partition ALSO RELOCKS the bootloader. So if you root by unlocking the bootloader and install a custom kernel then you will loose root and get a bootloop (If you installed a custom kernel)
You can root without unlocking the boot. This keeps your TA partition and DRM keys intact
If you unlock the bootloader you can flash a custom kernel. If you then restore TA partition you will get a bootloop
Im already rooted, I just wan to install custom roms e.g. CyanogenMod 12. So you think it's just pointless to root because if I try to restore TA partition after unlocking then I can get a bootloop with a custom kernel.
gregbradley said:
Yes you can get your DRM keys by restoring the TA but it seems pointless to me just to root, backup TA, unlock bootloader, then restore TA partition
You should be aware that restoring the TA partition ALSO RELOCKS the bootloader. So if you root by unlocking the bootloader and install a custom kernel then you will loose root and get a bootloop (If you installed a custom kernel)
You can root without unlocking the boot. This keeps your TA partition and DRM keys intact
If you unlock the bootloader you can flash a custom kernel. If you then restore TA partition you will get a bootloop
Click to expand...
Click to collapse
avi312singh said:
Im already rooted, I just wan to install custom roms e.g. CyanogenMod 12. So you think it's just pointless to root because if I try to restore TA partition after unlocking then I can get a bootloop with a custom kernel.
Click to expand...
Click to collapse
No it is not pointless.
You can unlock the boot loader and install CM, but you cannot restore the TA partition and boot with a CM ROM.
If you want your DRM keys back you will have to flash a stock ROM back.
If you want my opinion I'd wait till lollipop comes out then make a decision just my thought

Question about keys

so I've become aware you can install recovery even with a locked bootloader.
Is it possible to boot Cyanogen mod (or other custom roms) and then go back to a stock build and still have access to the keys and other default apps or would this require unlocking the bootloader?
Snow_fox said:
so I've become aware you can install recovery even with a locked bootloader.
Is it possible to boot Cyanogen mod (or other custom roms) and then go back to a stock build and still have access to the keys and other default apps or would this require unlocking the bootloader?
Click to expand...
Click to collapse
You cannot install cyanogenmod with a locked bootloader
But with an unlocked bootloader, then yes you can backup DRM keys, install CM, then if you want to go back to stock you can restore the DRM keys after re-locking the bootloader

Categories

Resources