FORUMS
Remove All Ads from XDA

Sony credentials restore after unlocking the bootloader

430 posts
Thanks Meter: 1,130
 
By tobias.waldvogel, Senior Member on 18th January 2016, 11:13 PM
Post Reply Email Thread
This is outdated and not maintained anymore. Please this new tool instead

Most of us have decided to unlock the bootloader as there is no root or xposed without it.

But as you may have noticed this wipes the masterkey in TA unit 66667 and will make all Sony credentials inaccesible. As a consequence a lot of functionality is lost, e.g x-reality, Sony application updates etc.
Here is a solution to simulate the credentials again. There is no way to recover your lost key, but we can simulate them. Just flash the attached zip via TWRP, that's all.

This is solution is for all Z5 models (Z5 compact, Z5 , Z5 Premium, and the dual models of course)
Have fun
Attached Files
File Type: zip drmrestore.zip - [Click for QR Code] (20.0 KB, 22504 views)
The Following 152 Users Say Thank You to tobias.waldvogel For This Useful Post: [ View ] Gift tobias.waldvogel Ad-Free
 
 
18th January 2016, 11:14 PM |#2  
Quote:
Originally Posted by tobias.waldvogel

Most of us have decided to unlock the bootloader as there is no root or xposed without it.

But as you may have noticed this wipes the masterkey in TA unit 66667 and will make all Sony credentials inaccesible. As a consequence a lot of functionality is lost, e.g x-reality, Sony application updates etc.
Here is a solution to simulate the credentials again. There is no way to recover your lost key, but we can simulate them. Just flash the attached zip via TWRP, that's all.

This is solution is for all Z5 models (Z5 compact, Z5 , Z5 Premium, and the dual models of course)
Have fun

I can say that I have tested this on Xperia Z5 Premium, and when I view the sample photos that came with the phone I can now clearly see the image quality scale up just like before I unlocked bootloader!

Thanks ALOT Tobias, you're the man!


EDIT: Below I have included my experiences from the original thread where this was posted, and I will continue to update it if I feel necessary!

Testing right now on Z5P, will report back!


EDIT: First test: I went into album and viewed the sample photos that came with the phone. I can now se a clear change in the image quality, just like before unlocking bootloader! Going to do some camera tests now!

EDIT2: My camera app will not start, stating it is already in use or the flashlight is. Will try to install camera 2.0 then see what happens.
Camera keeps crashing, and will not start :S

EDIT3: Now suddenly there were several updates available on the "Whats new" app! Will post a screenshot soon!


EDIT4: I installed a 3rd party camera app (CyanogenOS Camera) and the pictures are noticeably better than before this fix! I think I can say its back to the quality it was before unlocking bootloader!
In the meantime I discovered that my 32gb sd card is now almost full, with only 2gb left. Are there any large files that twrp creates other than the backup files everytime I flash a rom or something?
Is there anything I can safely delete here?


EDIT5: After some more camera testing and comparing pictures with my lumia 1020 and my galaxy s6 I can say that in my eyes the picture quality is back to its original state.


The Following 7 Users Say Thank You to xirt0n For This Useful Post: [ View ] Gift xirt0n Ad-Free
18th January 2016, 11:42 PM |#3  
gamer649's Avatar
Senior Member
Thanks Meter: 598
 
Donate to Me
More
So just flash this in recovery on an unlocked bootloader and we are done? Or am I missing something?
I haven't unlocked my bootloader as of yet but I'm tempted to now.
18th January 2016, 11:52 PM |#4  
Retired Recognized Developer
Thanks Meter: 944
 
Donate to Me
More
Quote:
Originally Posted by tobias.waldvogel

Most of us have decided to unlock the bootloader as there is no root or xposed without it.

But as you may have noticed this wipes the masterkey in TA unit 66667 and will make all Sony credentials inaccesible. As a consequence a lot of functionality is lost, e.g x-reality, Sony application updates etc.
Here is a solution to simulate the credentials again. There is no way to recover your lost key, but we can simulate them. Just flash the attached zip via TWRP, that's all.

This is solution is for all Z5 models (Z5 compact, Z5 , Z5 Premium, and the dual models of course)
Have fun

I've read reports of Sony's Camera app not working after using this. Can you confirm if the TA partition only had DRM keys and not also some camera algorithms? If they did, can we use get those as well?
18th January 2016, 11:58 PM |#5  
Quote:
Originally Posted by CLShortFuse

I've read reports of Sony's Camera app not working after using this. Can you confirm if the TA partition only had DRM keys and not also some camera algorithms? If they did, can we use get those as well?

I assume you are refering to my experiences with this fix.
Although the sony camera app for some reason stopped working after this, I can still use all my other apps that include the use of the camera without problems, like snapchat or the Cyanogen Camera which when I take pictures with and compare them to the pictures taken before the DRM restore, I can clearly see that the picture quality is now back!
19th January 2016, 12:20 AM |#6  
Retired Recognized Developer
Thanks Meter: 944
 
Donate to Me
More
Quote:
Originally Posted by xirt0n

I assume you are refering to my experiences with this fix.
Although the sony camera app for some reason stopped working after this, I can still use all my other apps that include the use of the camera without problems, like snapchat or the Cyanogen Camera which when I take pictures with and compare them to the pictures taken before the DRM restore, I can clearly see that the picture quality is now back!

Actually, CyanogenOS Camera has it's own postprocesssing, so you aren't using Sony's. It's just an alternative. I still want to know if it's possible to get the Sony algorithms back and/or use Sony's Camera app.
19th January 2016, 12:22 AM |#7  
Quote:
Originally Posted by CLShortFuse

Actually, CyanogenOS Camera has it's own postprocesssing, so you aren't using Sony's. It's just an alternative. I still want to know if it's possible to get the Sony algorithms back and/or use Sony's Camera app.

Oh, I didnt know that, I thought it was just the app that looked different if you know what I mean?
19th January 2016, 12:26 AM |#8  
Senior Member
Flag Brisbane
Thanks Meter: 79
 
More
Tobias, awesome work.

I wonder, how likely do you think it is that Sony will be able to patch this exploit in the Marshmallow update?

Sent from my E6653 using Tapatalk
19th January 2016, 12:33 AM |#9  
Quote:
Originally Posted by Dolphin Trainer

Tobias, awesome work.

I wonder, how likely do you think it is that Sony will be able to patch this exploit in the Marshmallow update?

Sent from my E6653 using Tapatalk

Sssh, dont mention stuff like that bro!
The Following 2 Users Say Thank You to xirt0n For This Useful Post: [ View ] Gift xirt0n Ad-Free
19th January 2016, 03:03 AM |#10  
Senior Member
Thanks Meter: 824
 
More
Quote:
Originally Posted by Dolphin Trainer

Tobias, awesome work.

I wonder, how likely do you think it is that Sony will be able to patch this exploit in the Marshmallow update?

Sent from my E6653 using Tapatalk

My first idea is also think that he should keep it secret until 6.0 out..... (maybe he should delete all files now until 6.0)

---------- Post added at 11:03 AM ---------- Previous post was at 10:57 AM ----------

Quote:
Originally Posted by xirt0n

I assume you are refering to my experiences with this fix.
Although the sony camera app for some reason stopped working after this, I can still use all my other apps that include the use of the camera without problems, like snapchat or the Cyanogen Camera which when I take pictures with and compare them to the pictures taken before the DRM restore, I can clearly see that the picture quality is now back!

I've just flashed the patch and my sony camera 2.0 is working. I guess you installed xposed which conflicted with camera 1.0, you'll need to deodex it or upgrade to camera 2.0 via What's New.

EDIT: I just tested Sony camera 2.0 to shoot with real high 3200iso indoor and no color noise there, confirmed this patch restored Sony low-light denoise algorithms.
The Following 6 Users Say Thank You to TheEndHK For This Useful Post: [ View ] Gift TheEndHK Ad-Free
19th January 2016, 04:10 AM |#11  
Senior Member
Thanks Meter: 824
 
More
Quote:
Originally Posted by CLShortFuse

Actually, CyanogenOS Camera has it's own postprocesssing, so you aren't using Sony's. It's just an alternative. I still want to know if it's possible to get the Sony algorithms back and/or use Sony's Camera app.

I just tested CyanogenOS Camera. I think it actually make use of Sony engine, not to mention it works with 23MP/20MP mode and it also access all scenes mode in Sony camera just acting like a stock camera. Tried to shoot at indoor low-light, no color noise been found, I think the DRM patch is working good with CyanogenOS camera.
Post Reply Subscribe to Thread

Tags
drm restore z5

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

Advanced Search
Display Modes