Analysis & Opinion

DRM keys restored !!!

204 posts
Thanks Meter: 39
Post Reply Subscribe to Thread Email Thread
19th October 2014, 08:32 PM |#11  
Thanks Meter: 6
Originally Posted by mandibox

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.
10th March 2015, 06:30 PM |#12  
Junior Member
Thanks Meter: 2
Originally Posted by xerwudjohn

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


Sorry for the late response

I now figured out the DRM Keys are not really restored.
At the time I did not know about them, and lost them by mistake.
But I found another post that kinda helped me getting them back:
11th March 2015, 12:40 AM |#13  
Zewarxx's Avatar
Senior Member
Flag Maykop
Thanks Meter: 57
Originally Posted by Apollo89

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
21st March 2015, 02:26 AM |#14  
Junior Member
Thanks Meter: 1
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.
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 by iiAustinL; 21st March 2015 at 03:49 AM.
21st March 2015, 09:09 AM |#15  
LaurynasVP's Avatar
Senior Member
Flag Telšiai
Thanks Meter: 31
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.
1st April 2015, 09:46 PM |#16  
ast9011's Avatar
Senior Member
Flag Nagpore, Pune
Thanks Meter: 27
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?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes