DRM keys restored !!!

androidfreak70

Senior Member
Feb 12, 2014
3,830
653
0
30
here!
i have used many custom roms but atlast i came back to stock rom and when i flashed the stock rom, my DRM keys restored itself. i have to do nothing. happpy!!!!
No
Your DRM keys didn't restored. If bravia engine work so that's not mean the DRM keys are back
Flashtool just restore the TA partition not DRM keys

Tapatalk'ed from my Xperia™ Z (C6602) running Dirty Unicorns ROM!
 
  • Like
Reactions: Sebi673

Pandemic

Senior Member
Aug 30, 2010
23,911
23,148
253
Meppel
talk.sonymobile.com
No
Your DRM keys didn't restored. If bravia engine work so that's not mean the DRM keys are back
Flashtool just restore the TA partition not DRM keys

Tapatalk'ed from my Xperia™ Z (C6602) running Dirty Unicorns ROM!
If you did not backup your ta partition when u first rooted the keys are gone forever.
+2
Kinda useles to open a new thread about that in my case !

Send from my XZ With My Own Personal Modified MoonWalker SuperB !
 
Last edited:

Apollo89

Senior Member
Mar 9, 2013
1,307
2,071
0
Check the service menu: dial *#*#7378423#*#* (i.e. *#*#SERVICE#*#*) and choose 'Service tests' > 'Security'. If your DRM keys are okay, both MARLIN and WMLA will show up as [Key OK]. If they are erased, they would show up as [Unknown Error].

DRM keys are unique for each device, so they are not contained in any firmware download. Once they are erased, there is no way to get them back, unless you made a backup of the Trim Area (TA) before unlocking your bootloader.
 

mandibox

New member
Oct 11, 2014
4
2
0
DRM restored

Mine was also restored.
Tho the mess over here, on a Xperia Z2, was absolutely a little mistake that costed the phone's life: I changed dpi setting under /system/build.prop and couldnt get the phone to startup properly (bootloop). So to get it connected to the PC, the only exit was to unlock the bootloader and flash some 3rd party recovery mode. By doing so I knew I was gonna lose DRM keys, TA Partition was gonna be screwed... anyway, I had to do it. So I got into the OS partitions, I copied (too late) the TA Partition that was still there, and I could make a backup of not much things... the recovery did some backup, I'll check later its contents. Very complicated to explain details of what I did, but after it, to get the phone back working, I downloaded a brand new stock firmware, which also restored my TA Partition and my DRM keys somehow...

I made a test. I used a tool (Backup-TA-9.11) that downloaded from the phone the new TA Partition. And then I compared it to the old one (using same tool), and I saw that the old one was totally f***d up!
I'm also happy I have my DRM Keys back with the TA Partition working!
Good luck people
 

xerwudjohn

Senior Member
Sep 29, 2014
68
6
0
Mine was also restored.
Tho the mess over here, on a Xperia Z2, was absolutely a little mistake that costed the phone's life: I changed dpi setting under /system/build.prop and couldnt get the phone to startup properly (bootloop). So to get it connected to the PC, the only exit was to unlock the bootloader and flash some 3rd party recovery mode. By doing so I knew I was gonna lose DRM keys, TA Partition was gonna be screwed... anyway, I had to do it. So I got into the OS partitions, I copied (too late) the TA Partition that was still there, and I could make a backup of not much things... the recovery did some backup, I'll check later its contents. Very complicated to explain details of what I did, but after it, to get the phone back working, I downloaded a brand new stock firmware, which also restored my TA Partition and my DRM keys somehow...

I made a test. I used a tool (Backup-TA-9.11) that downloaded from the phone the new TA Partition. And then I compared it to the old one (using same tool), and I saw that the old one was totally f***d up!
I'm also happy I have my DRM Keys back with the TA Partition working!
Good luck people

HOW did you do that? are you sure about that? please check your service test/security if both first three lines are Ok.
 

mandibox

New member
Oct 11, 2014
4
2
0

Zewarxx

Senior Member
May 1, 2012
448
70
0
Maykop
Check the service menu: dial *#*#7378423#*#* (i.e. *#*#SERVICE#*#*) and choose 'Service tests' > 'Security'. If your DRM keys are okay, both MARLIN and WMLA will show up as [Key OK]. If they are erased, they would show up as [Unknown Error].

DRM keys are unique for each device, so they are not contained in any firmware download. Once they are erased, there is no way to get them back, unless you made a backup of the Trim Area (TA) before unlocking your bootloader.
Man I restored them twice and it still gives me the :/

Sent from my C6603 using XDA Free mobile app
 

iiAustinL

Member
Mar 6, 2013
11
4
0
One question, is it possible to have your DRM keys intact with a locked bootloader, and be able to access fastboot?
I know for a fact that in Flashtool, it stated that fastboot features were accessible.
So, this whole time I thought that I might have accidentally unlocked my bootloader until I came across this thread.
I remember when I first got the phone, I was unable to access Fastboot mode due to a locked bootloader, but now I am able to.
Code:
20/001/2015 19:01:57 - INFO  - Device connected with USB debugging on
20/001/2015 19:01:57 - INFO  - Connected device : Sony Xperia Z
20/001/2015 19:01:57 - INFO  - Installed version of busybox : BusyBox v1.20.2-jb static (2012-11-25 17:47 +0100) multi-call binary.
20/001/2015 19:01:57 - INFO  - Android version : 4.4.2 / kernel version : 3.4.0-perf-g32ce454 / Build number : 10.5.A.0.230
20/001/2015 19:01:57 - INFO  - Checking root access
20/001/2015 19:01:58 - INFO  - Root Access Allowed
20/002/2015 19:02:27 - INFO  - Please wait device is rebooting into fastboot mode (via ADB)
20/002/2015 19:02:28 - INFO  - Device will soon enter fastboot mode
20/002/2015 19:02:28 - INFO  - Device disconnected
20/002/2015 19:02:41 - INFO  - Device connected in fastboot mode
20/002/2015 19:02:45 - INFO  - Device Status: FASTBOOT mode
20/002/2015 19:02:47 - INFO  - Fetching fastboot version info from connected device
20/002/2015 19:02:47 - INFO  - FASTBOOT version info: [ version: 0.5 ]


-NEVERMIND, just tried flashing XzKernel-26 by alnikki25k, and it didn't boot.
 
Last edited:

LaurynasVP

Senior Member
Mar 11, 2014
278
37
0
Lithuania
Personally, I can't understand how other people is possible to bring their DRM keys without having TA-Partition. It's all fictive information and I'm totally sure, that no one have restored DRM keys within new ROM installation. And I can bet 100% that it doesn't matter - is it STOCK or CUSTOM ROM. Your DRM Keys aren't going to be restored within new ROM. It's impossible. The only way to get your DRM keys back is to restore your own TA-Partition (flashing any other person's TA-Partition will definitely brick your device), where DRM keys are located at.

Locking your bootloader doesn't restore your DRM keys. All you can do for now is to temporarily get some functions working only with some MODS, which are located somewhere in XDA.
 
  • Like
Reactions: Killer007TV

ast9011

Senior Member
Aug 13, 2012
245
31
58
27
Nagpore, Pune
my drm keys are lost after re locking BL. now i want to unlock it again but it fails every time i enter the unlock code.. is this because of lost drm keys? any assistance please?
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone