adding DRM keys in future possible? - Sony Xperia P, U, Sola, Go

Unlocking the bootloader the official way (and only way for now) Will result in a permanent loss of your DRM "keys".
But does that also mean that the DRM keys can never be added in te future in a unofficial way??
(thinking how long it will take to root without unlocking bootloader..)

DRM lost forever once its unlocked.
No way to add it again.
Sent from my LT26i using XDA

I've read a couple of times now that it's bad if the DRM keys get erased.
What I would like to know is: what do I need DRM keys for on my phone, where exactly are they stored that they can't be backed up, and how did they get there in the first place?

They are used for DRM protected media. You can't listen to music that is protected with DRM or watch movies if I got it right.
They are deleted because of copyright reasons.

Pezo said:
I've read a couple of times now that it's bad if the DRM keys get erased.
What I would like to know is: what do I need DRM keys for on my phone, where exactly are they stored that they can't be backed up, and how did they get there in the first place?
Click to expand...
Click to collapse
They are stored in the bootloader partition, which is not accessible from system and/or fastboot. The keys are also likely device specific. However, it seems they are not used for anything now. The only known problem was TrackID, but the latest update works for me on two unlocked devices.

Related

[Q] Walkman Live - Unlock Bootloader (Second thoughts)

Recently got my hands on this lovely phone..I want to play/tweak with the device but I have certain doubts regarding unlocking the bootloader. I seek answers to some questions below
Following lines are quoted from http://unlockbootloader.sonyericsson.com/
Certain functions in your phone might cease to work, and performance might not be ideal.​What functions get impaired?
Certain content on your phone may also be inaccessible due to the removal of DRM security keys and the secure user data partition while unlocking the boot loader​What content is being talked about?
We advise you to create backups, since user data, settings and accounts will be removed.​How do I create a full backup so that I can restore my current firmware at any time later?
Also, I noticed some unresponsivness at the lowermost part of the touchscreen quite a few times.. anybody else having the same problem??
Hmmm.....
I recently unlocked my live with walkman bootloader and re locked it (just needed to go back to stock as it is )
How did u relock it? I've read that it isn't possible fr now....
Sent from my WT19i using XDA App
By unlocking, DRM function are deleted. Which means you can't use trackid.apk and 'FB like' in music player as its a part of the trackid application.
Well, you can always use Soundhound if you wish to.
Nothing is impossible
Just need to know how to do a search
Here you go
http://forum.xda-developers.com/showthread.php?t=1451919
u can use mybackup pro or TB(root needed) for backing up but they will only backup user data not the frimware.
Wat u have to do is to flash the original rom to move it to stock

how to remove drm server completely ?

how to remove drm server completely ?
i tried to delete the files from
sys..\bin and its after reboot its halted
Anything besides your SD cards should not be touched by the user unless you are 101% sure you know what you are doing.

Possible to recover deleted files after unlocking bootloader / rooting?

I stupidly trusted the "transfer to SD card" function and now my Z5 Compact has moved a big chunk of my photos from internal storage to… nowhere. They've been deleted and I'm not sure if I can get them back. I've managed to recover the thumbnails using FonePaw so I'm assuming the original full resolution files are still hanging around somewhere in the internal storage.
All the "recovery" tools I've found require your phone to be rooted in order to recover the deleted files from the internal storage. I'm aware that, in order to root the phone, the bootloader needs to be unlocked but that there are issues with losing DRM keys and the impact of that on some of the phone’s functions (specifically a number of the camera features). Given the camera was the primary reason I purchased this phone, I am reluctant to do something that messes with that, especially since this is the second handset as the first one was replaced under warranty after only three months (and this one still has 4 months of warranty left and has been having intermittent issues). There is also the issue that unlocking the bootloader factory resets the phone and therefore wipes all the data.
I know there is a bit of a workaround in that I can downgrade the firmware from Marshmallow to Lollipop and temporarily root the phone in order to backup the TA partition so I can restore the DRM keys et al after unlocking the bootloader and rooting the phone. Again, as I understand it the firmware downgrade will wipe my phone.
Normally wiping my phone wouldn’t bother me beyond being a pain to reinstall apps etc. What concerns me is that, given my missing files are likely floating somewhere in the internal storage ether, would a factory reset completely wipe those files from the phone permanently? Or would I likely still be able to recover them using appropriate software even after the reset, downgrade, unlocking of bootloader, and rooting?
I don't know much about it (and I’m willing to find out more for myself) but Is it possible to use something like adb backup to back up the whole phone and restore that to the phone after rooting in order to recover the missing files? Or will that also only work on a rooted phone?
If it's unlikely that my missing files would survive the repeated resets during the rooting process then I will probably just take this as a lesson learned the hard way and not bother trying to recover the files. Given the way my luck has been going, this handset will also fail before 12 months and I’ll have no warranty – and still no files!
Thank you in advance for any light you can help shed on this dilemma

Can DRM Keys be restored on the XZ1 after rooting?

I want to unlock the bootloader and root my XZ1 and use Magisk. Can the DRM keys be restored after rooting? Edit: Nevermind it seems the bounty for XZ1 DRM restore/fix is still going.
You answered it yourself.
No, it cannot. The DRM-Keys can't even be backed up, since the place where and how they are stored is unknown as of yet.
As a sidenote, for the XZ Premium, which uses the same chipset and similar software, there exists a DRM Fix which emulates the existence of the DRM keys, enabling you to use all protected features even after the keys are lost. It's currently in the works of being ported over to the XZ1 series of phones.
The answer has changed; thanks to j4nn's glorious work, it is now possible to do exactly this. You can find instructions over on the XZ1 Compact forum: https://forum.xda-developers.com/xperia-xz1-compact/development/devonly-exploits-temp-root-to-backup-t3795510
"saving" the DRM-Keys means: backup of the device specific Trim Area
"restoring" means: copying the Trim Area back
THIS WILL result in a soft brick on a modified (rooted ...) ROM
What you can do: create a boot partition with the keys "baked in" -> ta_poc (search for it)

Photo recovery from internal storage

Hello,
I am looking for advice on recovering photos lost from internal storage. The phone is not rooted and from everything I have been reading this is necessary. I have reviewed the guide on how to root the device but my concern is it indicates data will be deleted when unlocking the bootloader and I also need to write to internal storage during the process. Does anyone have any advice on gaining root access with minimal impact on internal storage or any suggestions on how best approach this?
(Un)fortunately it's not possible, it would bring a serious security issue. Locked bootloader with encryption ensures integrity and security of data. There is no publicly known exploit which could be used to root the phone without bootloader unlocking.
Your only option is to use one of the many recovery apps, though I have no idea how successful they will be, you will need to try them. Also check your google photos web folder, your photos might be there.
_mysiak_ said:
(Un)fortunately it's not possible, it would bring a serious security issue. Locked bootloader with encryption ensures integrity and security of data. There is no publicly known exploit which could be used to root the phone without bootloader unlocking.
Your only option is to use one of the many recovery apps, though I have no idea how successful they will be, you will need to try them. Also check your google photos web folder, your photos might be there.
Click to expand...
Click to collapse
Thank you for the clarification. I did try several of the recovery apps but they failed and indicated root access was required for a detailed scan which led me here. I have not been able to figure anything else out so I guess it is not possible and lesson learned to backup photos.
mak7_7 said:
Thank you for the clarification. I did try several of the recovery apps but they failed and indicated root access was required for a detailed scan which led me here. I have not been able to figure anything else out so I guess it is not possible and lesson learned to backup photos.
Click to expand...
Click to collapse
Sorry to hear that, but thank you for reporting back. Yeah, data backup is essential these days, you never know what will happen to your phone (or Google/cloud account for that matter), I always keep also at least one separate physical copy of important data.

Categories

Resources