[HACK+MOD] Sony Xperia XZ Premium TWRP + KERNEL + ROOT + DRM fix/restore

Status
Not open for further replies.

burtallicus

Senior Member
Jul 15, 2012
245
33
0
Bucharest
Great job sToRm//

so to be clear .... there is still no way to back-up DRM keys of actual device ? and this DRM fix is just circumventing the fact that they are missing, right? i mean ... upon booting "the DRM" is tricked into belive that the keys are there?
 

sToRm//

Senior Member
Jun 24, 2017
524
2,032
0
Munich
Hello, is this drm patch need specific kernel signature?
I will also make a custom kernel for XZP, can I integrate the patch you released directly?
Thanks
If you want to use the patch with your own kernel, you should include the exports for the preloaded libs in your ramdisk.
file: RAMDISK/init.environ.rc


After that you can flash your kernel and also flash my DRMpatch (DRMpatch-sToRm.zip) which contains the preloaded libs and the patched secd (required).
 

gerald.mrrsn

Member
Jul 11, 2013
16
2
0
Prince Rupert
Stoked to see this ?

Thank you so much for your hard work.. I'm on the new oreo update now and love the new update so I'd definitely like to stay on it, so I was just wondering if you'll be posting a updated Kernal for oreo anytime soon or is it not possible yet? Sorry I don't know much about the more technical stuff besides on the basics that most ppl with modded phones know already ? I can't wait till you do anywho so I could unlock my phones potential finally ?
 

bosskillers

Member
Oct 14, 2015
22
2
33
47
Nyons
hello Storm I wanted to say thank you for this work, immediately after you posted the tutorial I got to work, the phone and root, TWRP, MAGISK and Xposed are on it, I'll be able to have fun week end is a great day for the holders of the XZ Premium
 

will0n

Member
Aug 21, 2017
9
0
0
What about the bounty thread? Any pp link?
And a noob question here: does it matter if I update the firmware to Oreo before unlocking and recovering the drm key?
 

sToRm//

Senior Member
Jun 24, 2017
524
2,032
0
Munich
What about the bounty thread? Any pp link?
And a noob question here: does it matter if I update the firmware to Oreo before unlocking and recovering the drm key?
If you want to donate, there is a link in the first post of this thread.

Oreo? Please read the first post. The patch is not tested with Oreo! It's for Nougat latest x.137.
I will try to patch Oreo later.
 

4rz0

Senior Member
Dec 2, 2010
400
88
0
What about the bounty thread? Any pp link?
And a noob question here: does it matter if I update the firmware to Oreo before unlocking and recovering the drm key?
There's a donation link right below every of his posts.

The patch doesn't work for Oreo yet, see first post.

This patch doesn't backup/recover your DRM keys, see first post.
 

gerald.mrrsn

Member
Jul 11, 2013
16
2
0
Prince Rupert
If you want to donate, there is a link in the first post of this thread.

Oreo? Please read the first post. The patch is not tested with Oreo! It's for Nougat latest x.137.
I will try to patch Oreo later.
Awesome all I was just wondering was when you'd possibly post a updated one for oreo ? cause I'm so stoked I can't wait to try it out, possibly when I get my pay soon I'll hook you up with a donation as the oreo update and your hard work just made my day today ?
 
  • Like
Reactions: sToRm//

sToRm//

Senior Member
Jun 24, 2017
524
2,032
0
Munich
WARNING!

There are a few users reporting problems with the kernel (sticked in Sony boot). It's because they used the wrong kernel version!
Please note: BEFORE you flash the kernel, make sure you have the right version! Phone Settings -> About -> Model / Build number
In the downloads you find kernels for different versions. You can flash the patched AndroPlus kernels (from me) also, if you have problems with the stock kernels. Check the relevant version here https://kernel.andro.plus/yoshino.html and then flash my patched kernels of AndroPlus (in the download pack or under the alternative downloads).

Because some users had AndroPlus_v05 kernel on their phones, I will patch this kernel right now and add the download link in the first post. They can flash this kernel and after that Magisk and DRMpatch, as in the description.
 

sToRm//

Senior Member
Jun 24, 2017
524
2,032
0
Munich
INFO:
I had a look into Oreo firmware and noticed that Sony must read my threads and brainstorming here! They changed some things in relevant system files to hide strings by reverse engineering their stuff! The "huj huj huj" is deleted and the subs changed. Also they changed the functions a little bit, so that it's different than before. Hahaha... They really think I am stupid as ****, huh? Give me a few days. I will flash Oreo and do my job. LMAO...
 

Saadkhalid786

Senior Member
May 9, 2017
111
13
0
@Storm

Hello! i saw that you added g8142 R5A firmware so using xperifirm i downloaded and flashed CE1_R5A firmware and then followed OP and its all successful now :)

thank you for your response
I really appreciate those weeks you spent on it and did not give up.

---------- Post added at 10:32 AM ---------- Previous post was at 10:30 AM ----------

Good morning. Do you have the G8141 or G8142 (dual)? What is your installed firmware version?
i got G8142 Dual sim variant. its all successful now :D

---------- Post added at 10:33 AM ---------- Previous post was at 10:32 AM ----------

How do you did a downgrade to android 7.1.1?
by using munjeni's newflasher.
 
  • Like
Reactions: Let1107

sToRm//

Senior Member
Jun 24, 2017
524
2,032
0
Munich
@Storm

Hello! i saw that you added g8142 R5A firmware so using xperifirm i downloaded and flashed CE1_R5A firmware and then followed OP and its all successful now :)

thank you for your response
I really appreciate those weeks you spent on it and did not give up.

---------- Post added at 10:32 AM ---------- Previous post was at 10:30 AM ----------



i got G8142 Dual sim variant. its all successful now :D

---------- Post added at 10:33 AM ---------- Previous post was at 10:32 AM ----------



by using munjeni's newflasher.
Nice to hear that! :cowboy:
 
  • Like
Reactions: Saadkhalid786
Status
Not open for further replies.