What do I need DRM keys for? - Sony Xperia XZ1 Compact Questions & Answers

"As everyone knows, bootloader unlock via code from sony removes drm keys. That disables certain functions, the most critical one being the camera (outputting only solid green pictures in case of oreo fw)."
[XZ1c/XZ1/XZp] temp root exploit to backup drm keys implemented
Tools to backup TA partition (drm keys) of Xperia XZ1 Compact by j4nn https://j4nn.github.io/ As everyone knows, bootloader unlock via code from sony removes drm keys. That disables certain functions, the most critical one being the camera...
forum.xda-developers.com
If I'm going to install Lineage, do I need DRM keys? Assume I'm never going back to stock. It's insecure.
[ROM] LineageOS 17/18/19 UNOFFICIAL - (Update: 2023-06-17)
LineageOS 17/18/19 for Sony Xperia XZ1 Compact RELEASE This is an alternative ROM for the Sony Xperia XZ1 Compact. Creating this to honor the great work of modpunk and derf elot from...
forum.xda-developers.com
"17.1 has stock Sony camera (not possible on 18.1)"
Would I need DRM keys for full Sony camera support here? Safetynet? Anything?

I think it's a good question. I recently unlocked a bootloader on an XZ1C and saved the DRM keys (TA partition), just to be sure. It's not too much work with all the splendid work done by the people on this forum, and it cannot hurt.
That said, I don't think the DRM keys just work on a non-stock OS. It has to be somehow linked to the OS and that is difficult without extensive knowledge about how Sony stored the keys on the device. Indeed, it shows now (using various apps you can download for that purpose) for example, that I have only security level L3 for Widevine access and no supported HDCP level at all.

cooltime said:
If I'm going to install Lineage, do I need DRM keys? Assume I'm never going back to stock. It's insecure.
Click to expand...
Click to collapse
Indeed, I am also thinking of installing Lineage 17.1 but I'm unsure if I need to save DRM keys for the camera?
Also, should I use newflasher or fastboot to flash the recovery?

Related

[Q] Bought used Z1. How to verify BIONZ works?

Hi guys,
I got a used Xperia Z1 that came rooted but with stock rom. That said, I have no way to know if the owner previously installed other stuff on it.
I mainly want to make sure that BIONZ (the camera engine) still works fine and enhances my images. I currently have .257 installed and the camera works fine. AFAIK the bootloader is locked - I manage to back up TA so that means it was there to be backed up.
Still, I'm not sure whether or not this BIONZ thing is working. I wanna be sure I'm getting the max quality out of my camera. Any idea how I can test it, toggle it?
If the bootloader unlock the camera simply won't work, ao if it do work you are fine.
Sent from my C6903 using Tapatalk
I will ask also here, because I will get my Z1 soon. If I unlock DRM keys are deleted, so Camera stops, I can put back the keys correct? But does the camera still doesn´t work under CM for excample?`(Even after Sony fixes the DRM problem, if ever..)
Qefx said:
I will ask also here, because I will get my Z1 soon. If I unlock DRM keys are deleted, so Camera stops, I can put back the keys correct? But does the camera still doesn´t work under CM for excample?`(Even after Sony fixes the DRM problem, if ever..)
Click to expand...
Click to collapse
hopefully sony will fix camera for unlocked bootloaders otherwise we are all stuck with sony stock rom for eternity...
or at least they whould realese some app that allows our camera to work even with unlocked bootloader..
Ok, than my guess was right, we are stucked with Sony rom, sad...
Edit: Forever, DRM reading software is not possible under CM (it would violate there license) only way would be an export import of the APPS and software needed? Anyone looked into that?

[Q]How can I get back my lost DRM on Z3c?

Unlocked and rooted without backing up DRM keys, is there any way to restore 100%,
Many thanks in advance
No
Sent from my Sony Xperia Z3 Compact D5803
DRM keys are unique for each device, so no way to restore them.
On the bright side you can use custom roms right away

Off. update/DRM keys

Hi all,
id like to put a question; since i have a Sony device for my first time, i didnt knew about camera quality decreasing and Sony services halting with bootloader unlocking. Im very up to taking photos, and camera quality is very important for me, X-Reality too. So, since i lost my DRM keys, when i flash official ftf file, then ill lock my bootloader, and then update my FW from KK to Lollipop by official way via Software Update - will it recover my DRM keys?
Carach_CZ said:
Hi all,
id like to put a question; since i have a Sony device for my first time, i didnt knew about camera quality decreasing and Sony services halting with bootloader unlocking. Im very up to taking photos, and camera quality is very important for me, X-Reality too. So, since i lost my DRM keys, when i flash official ftf file, then ill lock my bootloader, and then update my FW from KK to Lollipop by official way via Software Update - will it recover my DRM keys?
Click to expand...
Click to collapse
Sorry but once you lost the DRM keys (without backing them up) they are gone. Have you tried this "fix", it emulates a couple of functions that you lost, http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
---------- EDIT -------------
Actually I saw that you posted in that thread already yesterday saying that the patch worked - good for you!
charliebigpot said:
Sorry but once you lost the DRM keys (without backing them up) they are gone. Have you tried this "fix", it emulates a couple of functions that you lost, http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
---------- EDIT -------------
Actually I saw that you posted in that thread already yesterday saying that the patch worked - good for you!
Click to expand...
Click to collapse
is it possible to backup drm keys after i lost them? i managed to backup TA-backup-20150*****.zip several days ago (but im not sure if before/after unlocking bootloader.
EDIT: well i did saw some incerasing camera quality, but x-reality didint worked. im trying to solve my issue, but it will take a long trip. how Cyanogenmod camera holding up?
If you take a backup of nothing - you still have nothing when you restore it.
If you unlocked before backing up - that's it - nothing you do on your own is going to get the keys back. Only Sony can restore keys, and likely the only way they will do that is by replacing the mother board and charging you the parts and labor for it.
If that's not an option for you - then the DRM restore is currently the only other path to follow.

Z1 X-Reallity, BionZ on unlocked bootloader

I would like to know is there any way to get back X-reallity and BionZ after bootloader unlock. I know the solution wich save DRM keys before the unlock but when I did it I didn't know about it and about I will lost this features. So I found Bravia restore solution for X-Reallity. But after I installed and did everthing what was in the install section, I dont see any differences. And the BionZ. I have stock .236 rom and Im using Adaptive display mod and for my cam I installed the Z5 premium libs. So about the pictures, I dont feel it same as it was before unlock.
I need your help guys is there any way how I can chack this feature working or not and other way for X-Reallity getting back?
Sorry for my bad english.
If you don't have a TA backup from your phone, you have lost the proprietary Sony algorithms that make pictures appear better on your screen. It is not the camera apps or libs, but rather these algorithms that matter. And they are not recoverable, even if you relock your bootloader...
So i will never get these things back?
Not on this phone...
Not true, you can have these stuffs with fake drm keys: http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
I'll try it

Will someone be doing root for this phone with drm backup?

Quite some time since we had good root fith camera partition backup. Xz premium, xz1, ... didnt have one. I think this one should. So please if anyone has time, it would be superb!
Unlock bootloader, flash twrp, magisk and that's it for root.
You can forget about drm backup and drm fix depends if sToRm// feel like it I guess.
Unless there's someone else out there that will get the XZ2 and can make a drm fix.

Categories

Resources