Is it necessary to backup DRM keys before unlocking HTC device? - HTC U11+ Questions & Answers

So do HTC devices also have DRM keys in the TA (trim area) partition that must be backed up before unlocking the bootloader ?
Similar to Sony devices? Thanks for the answer.

lebigmac said:
So do HTC devices also have DRM keys in the TA (trim area) partition that must be backed up before unlocking the bootloader ?
Similar to Sony devices? Thanks for the answer.
Click to expand...
Click to collapse
Nop

What is it ? Never heard of it drm keys what are those

Aftab_khatri said:
What is it ? Never heard of it drm keys what are those
Click to expand...
Click to collapse
DRM keys in Sony Xperia smartphones are located in the TA (trim area) partition of the phone.
When unlocking the bootloader, the TA partition gets erased and you lose your phone's unique DRM keys forever unless you backed it up first.
Without the DRM keys you lose a lot of special functionality such as special camera features like BionZ, built-in noise-cancelling, X-Reality engine, Bravia engine, Track ID, Miracast etc...

lebigmac said:
DRM keys in Sony Xperia smartphones are located in the TA (trim area) partition of the phone.
When unlocking the bootloader, the TA partition gets erased and you lose your phone's unique DRM keys forever unless you backed it up first.
Without the DRM keys you lose a lot of special functionality such as special camera features like BionZ, built-in noise-cancelling, X-Reality engine, Bravia engine, Track ID, Miracast etc...
Click to expand...
Click to collapse
thanks alot mate

Galactus said:
Nop
Click to expand...
Click to collapse
Are you 100% sure about that? On HTCDev bootloader unlock website it says:
Some content on your device may also be invalidated and cannot be accessed any more because of invalid DRM security keys. This includes content that you may have purchased through a 3rd party vendor and through HTC. Furthermore, although you will still be able to receive updates to your device via FOTA (“firmware over the air”), we do not guarantee that updating your device via FOTA will not render your device unusable. Please understand that you will not be able to return your device to the original state and going forward your device may not be held covered under the warranty for all claims resulting from the unlocking of the bootloader. HTC bears no responsibility if your device is no longer usable afterwards.
Click to expand...
Click to collapse

lebigmac said:
Are you 100% sure about that? On HTCDev bootloader unlock website it says:
Click to expand...
Click to collapse
HTC devices might have the DRM keys and that partition, but when unlocking you won't lose anything, so you're good to go with unlocking BL and do custom stuff

lebigmac said:
DRM keys in Sony Xperia smartphones are located in the TA (trim area) partition of the phone.
When unlocking the bootloader, the TA partition gets erased and you lose your phone's unique DRM keys forever unless you backed it up first.
Without the DRM keys you lose a lot of special functionality such as special camera features like BionZ, built-in noise-cancelling, X-Reality engine, Bravia engine, Track ID, Miracast etc...
Click to expand...
Click to collapse
but if my ROM it rooted i can fix this by root? no (i use sony) im searching for answer over the net
bottom point ill stil have my camera (im gonna use custom stock base kernel) maybe lionage ROM later on

Superrman said:
but if my ROM it rooted i can fix this by root? no (i use sony) im searching for answer over the net
bottom point ill stil have my camera (im gonna use custom stock base kernel) maybe lionage ROM later on
Click to expand...
Click to collapse
if you use sony, got to sony forum, afaik there is no real fix for that. there is some work, you can check it in xz premium forum

Related

Test DRM keys ok on rooted locked BL?

Hi all
I have a rooted Z3. On the paper DRM keys should be untouched but I am not impressed with the camera's quality.
I flashed pre rooted rom and subsequent rom updates but wonder if something didn't go wrong along the way.
So, simple question : how can I test the effective presence of DRM keys / make sure the functions that come with it are present on my Z3?
Thx
benjieb said:
Hi all
I have a rooted Z3. On the paper DRM keys should be untouched but I am not impressed with the camera's quality.
I flashed pre rooted rom and subsequent rom updates but wonder if something didn't go wrong along the way.
So, simple question : how can I test the effective presence of DRM keys / make sure the functions that come with it are present on my Z3?
Thx
Click to expand...
Click to collapse
Your DRM keys will be totally intact unless you unlocked the bootloader.
Are you sure? I thought that flashing a full 'home made' pre rooted rom could over right TA partition resulting in useless drm keys... Isn't there some part of the rom that has to be exclude to prevent just that ?
benjieb said:
Are you sure? I thought that flashing a full 'home made' pre rooted rom could over right TA partition resulting in useless drm keys... Isn't there some part of the rom that has to be exclude to prevent just that ?
Click to expand...
Click to collapse
Do you see any difference in camera before and after installing preroot rom?
Having an awesome camera doesn't means awesome photo. There is many other things that makes a photo great.
Composition, subject, correct use of modes or manual settings, white balance...
I for one is not impressed with the stock Sony camera. But granted its much easier and better than other phone cameras available. I'm impressed with its low light capability, speed of autofocus, and all those amazing preprogrammed modes.
I'm no fan of manual control. If I need manual control, I'll need raw as well and for that I bought a dslr..
This Sony camera serves what I need. Quick, Good, camera to catch things at the right time.
Sent from my D6653 using Tapatalk
See here how to check the DRM keys:
http://forum.xda-developers.com/showpost.php?p=58620274&postcount=122
benjieb said:
Hi all
I have a rooted Z3. On the paper DRM keys should be untouched but I am not impressed with the camera's quality.
I flashed pre rooted rom and subsequent rom updates but wonder if something didn't go wrong along the way.
So, simple question : how can I test the effective presence of DRM keys / make sure the functions that come with it are present on my Z3?
Thx
Click to expand...
Click to collapse
Which version Z3 you have and which pre-rooted rom did you flash? The only version that has a locked bootloader is the T-Mobile Variant. And like all the other members stated, you can only lose DRM keys if you unlocked the bootloader. If your bootloader is locked then DRM will be retained even if you rooted and flash a pre-rooted rom.
I have a D6603 with current stock rom pre rooted. BL is locked.
Regards to camera (and not my photos) i am disappointed. I find the white balance dull/approximate, low light noisy and the overall sharpness quite bad. Hence I wondered if it was due to some messing about with drm keys...
benjieb said:
I have a D6603 with current stock rom pre rooted. BL is locked.
Regards to camera (and not my photos) i am disappointed. I find the white balance dull/approximate, low light noisy and the overall sharpness quite bad. Hence I wondered if it was due to some messing about with drm keys...
Click to expand...
Click to collapse
To truly check open the phone dialer and type *#*#7378423#*#* then navigate to "Service Test" then "Security". If the first three lines says MARLIN [Key OK][Active], CKB [Key OK][Active], WIDEVINE [Key OK][Active] then your drm keys are intact, if it says unknown then the drm keys are gone.
All OK active under security test, so I guess I am fine.
Thanks
I have Z3 T-Mobile carrier (D6616) from my friend but "Bootloader unlock allowed: Yes" but key "unknown error"
Code:
MARLIN [unknown error][Active]
CKB [unknown error][Active]
WIDEVINE [unknown error][Active]
However, I can manage to download music info from SONY. What happened with my device DRM Keys?
wuhoatu said:
I have Z3 T-Mobile carrier (D6616) from my friend but "Bootloader unlock allowed: Yes" but key "unknown error"
Code:
MARLIN [unknown error][Active]
CKB [unknown error][Active]
WIDEVINE [unknown error][Active]
However, I can manage to download music info from SONY. What happened with my device DRM Keys?
Click to expand...
Click to collapse
This means that you are able to unlock the bootloader but that it is currently locked.
Unless the bootloader has been unlocked the DRM keys are intact
Your DRM keys are intact.
gregbradley said:
This means that you are able to unlock the bootloader but that it is currently locked.
Unless the bootloader has been unlocked the DRM keys are intact
Your DRM keys are intact.
Click to expand...
Click to collapse
Many THX. I feel it uncommon because D6616 bootloader is told that cannot be unlockable and the keys has "unknown error".
wuhoatu said:
Many THX. I feel it uncommon because D6616 bootloader is told that cannot be unlockable and the keys has "unknown error".
Click to expand...
Click to collapse
If the bootloader was not able to be unlocked it would say
Bootloader unlock allowed:No
If it says bootloader unlock allowed:yes
then it can be

DRM

Ok sorry for idiotic question, but what are DRM and why do i need them? i backed them up on start before rooting, now i have tested few roms and stuff. But do i need to restore DRM for better photos or something? Or os not possible to restore DRM on costum rom. Its my first sony in years
I don't know that much on DRM and Development, I'm just a passionate guy, so what am gonna say is perhaps wrong so dont blame me
DRM (Digital Right Management) are keys used to "protect" the phone.
Those keys are sets by the firm (In this case SONY)
To enable some functions on the phone.
When you buy a new phone, DRM are already set up and everything works fine, but some phone functions require those keys to work (on the Z5 x-realty photos, bravia engine display needs them to work) .
If you unlock your bootloader, you delete by the same time those key located on the TA partition and so, X reality and Bravia cease to work,
I know that on the Samsung devices the fingerprint sensor is completely disabled if you lost DRM I don't know if it's the same on the Z5.
Once deleted you can't recover them, they're lost for ever, even if you relock your bootloader !
Actually I don't know if you can recover the keys if you have backed up your TA partition, but according to what I've read you can't, BUT you can emulate them.
DRM aren't only for phone, you can find some in video games protections, computer, or that kind of stuff
So is missing bravia noticable on phone?
Actually I can't answer, I'm waiting for a locked bootloader root in order to keep the originals DRM.
Guess you should ask someone who has unlocked his bootloader and lost DRM to see if there are some noticeable changes?
I don't see a big difference regarding X-Reality, but where there's a big difference is in the photos taken without the DRM keys.
If you want to root your phone and keep the DRM keys, read this: http://twigstechtips.blogspot.ch/2016/04/sony-z5-compact-root-without-losing-ta.html?m=1
I'm currently trying to get the TA partition restored on a stock non-rooted ROM
Ivory flaw is only available on lollipop?
I'm f*cked then I'm running Marshmallow and I don't want to flash a new Rom wiping everything :crying:
Thanks but I'll try later if there no root for Locked BL on Marshmallow
Nayibmc said:
I don't see a big difference regarding X-Reality, but where there's a big difference is in the photos taken without the DRM keys.
If you want to root your phone and keep the DRM keys, read this: http://twigstechtips.blogspot.ch/2016/04/sony-z5-compact-root-without-losing-ta.html?m=1
I'm currently trying to get the TA partition restored on a stock non-rooted ROM
Click to expand...
Click to collapse
keep me posted, i have TA partition backuped, it would be nice if i could restore DRM keys and use stock rom

[noob question] unlocking the bootloader

Hi all.
I've got my XZ since one week now, and I'm missing the possibilities of rooting my device.
My Z2 was LB, so I never could ever try to unlock my bootloader. therefore, I don't know anything about it.
I've read a lot of thread here and there, and some points are not that clear to me.
Will the procedure of unlocking the bootloader erase everything in the phone (like photos, contacts, etc...)?
Unlocking the bootloader will kill the DRM keys forever, if I understood well. but flashing Androplus Kernel will recover them, right?
Is it possible to relock the booltloader after? if yes, will the DRM keys be restored?
Last thing, to be sure of what I should do.
1-unlock the bootloader with IMEI via sony site.
2-install TWRP via adb command
3-flash Androplus kernel.
Am I right, or do I miss something?
Thanks for your help, and sorry for the noobish questions.
sensei_sai said:
Hi all.
I've got my XZ since one week now, and I'm missing the possibilities of rooting my device.
My Z2 was LB, so I never could ever try to unlock my bootloader. therefore, I don't know anything about it.
I've read a lot of thread here and there, and some points are not that clear to me.
Will the procedure of unlocking the bootloader erase everything in the phone (like photos, contacts, etc...)?
Unlocking the bootloader will kill the DRM keys forever, if I understood well. but flashing Androplus Kernel will recover them, right?
Is it possible to relock the booltloader after? if yes, will the DRM keys be restored?
Last thing, to be sure of what I should do.
1-unlock the bootloader with IMEI via sony site.
2-install TWRP via adb command
3-flash Androplus kernel.
Am I right, or do I miss something?
Thanks for your help, and sorry for the noobish questions.
Click to expand...
Click to collapse
Hey sensei_sai,
Im unsure if unlocking will erase your data but its always best to backup everything in the internal memory just in case something goes wrong.
Androplus will NOT recover your DRM keys but kernels with DRM fixes try to replicate the features that are permanently lost as a result of unlocking your boot-loader.
In the future it may be possible for you to re-lock the boot-loader but even then this wont restore DRM keys, the only way to restore DRM keys would be to back up your TA partition (This contains your DRM keys) before you unlock your boot-loader but to do this you need root access with your boot-loader still locked.
How to backup TA
Unfortunately at this time nobody has figured out a way to get root with a locked boot-loader although a newly found exploit (Dirty cow) may help us do this very soon so if you care about re-locking and keeping your DRM keys I advise waiting until a locked boot-loader root solution is around!
Sonic Dash said:
Hey sensei_sai,
Im unsure if unlocking will erase your data but its always best to backup everything in the internal memory just in case something goes wrong.
Androplus will NOT recover your DRM keys but kernels with DRM fixes try to replicate the features that are permanently lost as a result of unlocking your boot-loader.
In the future it may be possible for you to re-lock the boot-loader but even then this wont restore DRM keys, the only way to restore DRM keys would be to back up your TA partition (This contains your DRM keys) before you unlock your boot-loader but to do this you need root access with your boot-loader still locked.
How to backup TA
Unfortunately at this time nobody has figured out a way to get root with a locked boot-loader although a newly found exploit (Dirty cow) may help us do this very soon so if you care about re-locking and keeping your DRM keys I advise waiting until a locked boot-loader root solution is around!
Click to expand...
Click to collapse
Thanks for your reply.
Too bad for the TA partition.
So we have two possibilities. Take the risk of loose some features forever, but benefit of the root or wait till someone make some magic to use an exploit to obtain root without unlocking the bootloader.
Risk and go... Or wait and safe... Dilemma...
Sent from my Xperia XZ
I think that the era of DRM lock is over, we've been using DRM fixes for all the latest xperia phones, the dirty cow is a bad exploit and it's more dangerous than useful.
I was unsure about unlocking the bootloader but now that I did it, I rooted and I regret nothing, the only downside of unlocking is the warranty loss, but who cares as long as the phone doesn't magically explode.
Venom71 said:
I think that the era of DRM lock is over, we've been using DRM fixes for all the latest xperia phones, the dirty cow is a bad exploit and it's more dangerous than useful.
I was unsure about unlocking the bootloader but now that I did it, I rooted and I regret nothing, the only downside of unlocking is the warranty loss, but who cares as long as the phone doesn't magically explode.
Click to expand...
Click to collapse
Good point for you... I think i will take the risk.
Sent from my Xperia XZ
I'm about to....
sensei_sai said:
Good point for you... I think i will take the risk.
Sent from my Xperia XZ
Click to expand...
Click to collapse
caqo71 said:
I'm about to....
Click to expand...
Click to collapse
OK, so did the bootloader unlock erase your data? Did you use the sony way or Flashtool?
I wrote a complete guide just here : https://forum.xda-developers.com/xperia-xz/how-to/how-to-unlock-bl-kernel-twrp-root-t3541648
Please use the search
nathan30 said:
I wrote a complete guide just here : https://forum.xda-developers.com/xperia-xz/how-to/how-to-unlock-bl-kernel-twrp-root-t3541648
Please use the search
Click to expand...
Click to collapse
Thank you, I've seen that guide, seems like it's not possible to unlock bootloader without factory reset.
tempurastyle said:
Thank you, I've seen that guide, seems like it's not possible to unlock bootloader without factory reset.
Click to expand...
Click to collapse
Yes, it's not possible
tempurastyle said:
Thank you, I've seen that guide, seems like it's not possible to unlock bootloader without factory reset.
Click to expand...
Click to collapse
Yes, but it worth it!! Save all your datas and go for it!

Unlock bootloader

Good afternoon friends.
I have a consultation, if unlock my bootloader I lose amenities that in the cell? I remember in the Xperia z1 Yes is lost features, and I have want to install mods in my Xperia xz, but without losing the characteristics especially camera that I love. Thanks in advance.
Translated by Google.
@NicoCardonaM Yes you'll lose your drm keys by unlocking the bootloader and some functionality too.
Good news is that there are work-arounds The best solution is to downgrade to MM with flashtool before unlocking and backup your TA partition and keys. Then you can use TA POC tool to inject your TA and modify the stock kernel to keep your bootloader unlocked with all the features. You can also restore the TA partition if you ever need warranty support, and the bootloader will relock like you never unlocked it
If it's too late for you to backup the DRM keys there are kernels that include DRM-FIX, you'll get pretty much all the functionality back, but your unique keys will be lost forever and warranty too.
TA backup tool: https://forum.xda-developers.com/crossdevice-dev/sony/universal-dirtycow-based-ta-backup-t3514236
TA POC tool: https://forum.xda-developers.com/crossdevice-dev/sony/poc-real-trim-instead-drm-fix-t3552893
If you already unlocked and it's too late to backup your keys you can use something like this:
https://forum.xda-developers.com/xperia-xz/development/kernel-dm-verity-ric-drm-keys-t3672452
Please read carefully before proceeding, backup your phone and all important stuff and you'll have to factory reset more than once probably...
NicoCardonaM said:
Good afternoon friends.
I have a consultation, if unlock my bootloader I lose amenities that in the cell? I remember in the Xperia z1 Yes is lost features, and I have want to install mods in my Xperia xz, but without losing the characteristics especially camera that I love. Thanks in advance.
Translated by Google.
Click to expand...
Click to collapse
XZ has DRM FIX in KERNEL LEVEL so even when drmkeys are LOST you can MOCK it and ALL PREMIUM FEATURES will WORK!
you can however
1. downgrade XZ on Android 6 ( MM ) and user UNIVERSAL TA BACKUP V2 script (AKA dirtycow scrip) to EXTRACT drm keys ( A file with .img extension having filesize approx 2mb )
my xperience
I have the TA.img file with me! but i never used it (YET) to enable Premium features since DRM FIX is doing job at kernel level.
however ONE DAY IF I WANT TO RE LOCK MY BOOTLOADER TO SELL THE DEVICE, I NEED TA.IMG TO RECLOCK MY BOOTLOADER

Do you think there are still the drm keys?

Hello. I bought a used Xperia XZ2 compact, beautiful. But the quality of the photos (especially in the dark) is bad.
I have the doubt that the old owner had rooted the device or unlocked the bootloader, losing the DRM keys, causing the bad quality of the photos.
Is there a way to understand if the DRM keys are still on the phone?
I tried to access the hidden menu by typing *#*#7378423#*#* and in Service Info -> Security appears as in the attached photo.
Do you think the DRM keys are there?
Could someone take a screenshot on his XZ2 Compact with the DRM keys?
Thank you.
What stands in the service menu after bootloader unlocked ? If there stands like this : bootloader unlocked: yes
Then its unlocked for sure. And that stands under configuration
Pandemic said:
What stands in the service menu after bootloader unlocked ? If there stands like this : bootloader unlocked: yes
Then its unlocked for sure. And that stands under configuration
Click to expand...
Click to collapse
it says bootloader unlock allowed: yes
it's like that for every phone, also the unlocked ones
Yes your DRM layer looks perfectly fine/functional.
the drm keys are restorable on xz2c even if someone unlocks the bootloader ?
bob1791 said:
the drm keys are restorable on xz2c even if someone unlocks the bootloader ?
Click to expand...
Click to collapse
I have the same question.
David-538 said:
I have the same question.
Click to expand...
Click to collapse
I unlocked the bootloader yesterday and checked for the drm key in the hidden menu.. and I found out that anything was changed... =)
EDIT:
unexpectedly I notice that the booloader was not unlocked when I tried to install the twrp recovery. Doing again the oem unlock results in DRM Keys LOST... sorry for the inconvenience
bob1791 said:
I unlocked the bootloader yesterday and checked for the drm key in the hidden menu.. and I found out that anything was changed... =)
Click to expand...
Click to collapse
That means it's lost right ? How's the camera quality now, still the same ? And does it take much longer to take a picture ?
David-538 said:
That means it's lost right ? How's the camera quality now, still the same ? And does it take much longer to take a picture ?
Click to expand...
Click to collapse
If it was lost before I do'n't know because I bought the phone like new but the drm keys was provisioned and in other threads I read that this mean the drm keys are still there.. Of course the camera quality still is the same but sony removed this "function" (and for "this function" I mean the fact that if the drm keys are lost your camera won't works) with Android 9 and I already tested this with the XZ1 compact.
bob1791 said:
If it was lost before I do'n't know because I bought the phone like new but the drm keys was provisioned and in other threads I read that this mean the drm keys are still there.. Of course the camera quality still is the same but sony removed this "function" (and for "this function" I mean the fact that if the drm keys are lost your camera won't works) with Android 9 and I already tested this with the XZ1 compact.
Click to expand...
Click to collapse
Are you saying that after unlocking, one can't downgrade to older firmware versions, without breaking the camera ?
David-538 said:
Are you saying that after unlocking, one can't downgrade to older firmware versions, without breaking the camera ?
Click to expand...
Click to collapse
I didn't say that.. I said that unlocking bootloader on Android 11 on my XZ2 compact didmn't break the camera and seems that the drm keys are still there. Furthermore Sony has removed the drm keys camera dependency since Android 9, so if you run Android 9 or newer you camera will still work even if you will unlock the bootloader.
bob1791 said:
I didn't say that.. I said that unlocking bootloader on Android 11 on my XZ2 compact didmn't break the camera and seems that the drm keys are still there. Furthermore Sony has removed the drm keys camera dependency since Android 9, so if you run Android 9 or newer you camera will still work even if you will unlock the bootloader.
Click to expand...
Click to collapse
Thanks, this is great news. I was wondering if keys get lost after unlocking the bootloader. Also are they still there after flashing custom roms ?
David-538 said:
Thanks, this is great news. I was wondering if keys get lost after unlocking the bootloader. Also are they still there after flashing custom roms ?
Click to expand...
Click to collapse
I don't know if the keys still remain there after flashing custom roms... I think that they will be wipe because when you flash a rom you need to wipe everything but you can make a backup before doing some destructive operation. But I'm not sure about the backup and other stuff to preserve the drm keys...
bob1791 said:
I don't know if the keys still remain there after flashing custom roms... I think that they will be wipe because when you flash a rom you need to wipe everything but you can make a backup before doing some destructive operation. But I'm not sure about the backup and other stuff to preserve the drm keys...
Click to expand...
Click to collapse
Ok, but thanks for the info...
David-538 said:
Ok, but thanks for the info...
Click to expand...
Click to collapse
You're welcome. I'm looking for a good custom rom to put in my XZ2 Compact right now....
Of course unlocking the bootloader delete the drm keys... But the camera is still working
bob1791 said:
Of course unlocking the bootloader delete the drm keys... But the camera is still working
Click to expand...
Click to collapse
Uhm, how slow is capturing photos after unlocking the bootloader? I read somewhere that it becomes much slower. And that super slowmo video doesn't work after unlocking. Could you confirm that, or did it only happen on android 9 or older firmware?
se
David-538 said:
Uhm, how slow is capturing photos after unlocking the bootloader? I read somewhere that it becomes much slower. And that super slowmo video doesn't work after unlocking. Could you confirm that, or did it only happen on android 9 or older firmware?
Click to expand...
Click to collapse
seems it is the same.. I taken a pic in a low light environment and I didn't notice any lag
se
David-538 said:
Uhm, how slow is capturing photos after unlocking the bootloader? I read somewhere that it becomes much slower. And that super slowmo video doesn't work after unlocking. Could you confirm that, or did it only happen on android 9 or older firmware?
Click to expand...
Click to collapse
seems it is the same.. I taken a pic in a low light environment and I didn't notice any lag
bob1791 said:
se
seems it is the same.. I taken a pic in a low light environment and I didn't notice any lag
Click to expand...
Click to collapse
Okay thanks for the info.

Categories

Resources