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

Status
Not open for further replies.

serajr

Recognized Developer / Recognized Themer
Apr 21, 2011
5,010
18,602
263
São Paulo - SP
@sToRm// ... and on the subject of heart attack we talked about earlier today, I think some sony devs have had it (kidding again)! :p
You have just hit the bull's-eye!! Amazing work!!!

I have now no excuse to not buy an new Xperia anymore (XZ1, maybe XZ1C), damn it!!

(drm****.so >> LMAO)

Beers (2AH65358TN8257055)
 
Last edited:
  • Like
Reactions: Klaus N.

Saadkhalid786

Senior Member
May 9, 2017
111
13
0
Hello storm :)

superb work. but i got a problem. recently i upgraded to oreo and didnt like it so went back to 7.137 stock firmware. after reading this thread i followed everything carefully. installed recovery and all things went smooth but when i boot the phone after flashing those three files (kernel,magisk and drmpatch) the phone gets stuck on sony logo. have to flash stock firmware again to revive it. also in xperifirm 45.0.A.7.137_R7A is not available(its same version as the kernel you provided)
The modified kernel you provided is for R7A. and i think it is the problem. after i flash recovery then in recovery flash those three files then clear dalvik and cache and then phone doesnt boot.
what should i do now?
 

oneheart

Senior Member
Mar 17, 2011
168
18
0
Hello storm :)

superb work. but i got a problem. recently i upgraded to oreo and didnt like it so went back to 7.137 stock firmware. after reading this thread i followed everything carefully. installed recovery and all things went smooth but when i boot the phone after flashing those three files (kernel,magisk and drmpatch) the phone gets stuck on sony logo. have to flash stock firmware again to revive it. also in xperifirm 45.0.A.7.137_R7A is not available(its same version as the kernel you provided)
The modified kernel you provided is for R7A. and i think it is the problem. after i flash recovery then in recovery flash those three files then clear dalvik and cache and then phone doesnt boot.
what should i do now?
It looks like the kernel doesn't match. You try to restore the kernel(or restore full backup), and the patch fails,then startup success
 
Last edited:

FartyParty

Senior Member
Jan 18, 2017
629
210
0
it work with Android 8.0?
No, read OP.

Quick question for everyone, how do you suppress or completely disable the message at boot up about the device being untrusted?
You can't. It part of having unlocked bootloader.

and i think it is the problem
No that doesn't matter. Any of the 137 fw works. All you have to do is literally flash, go straight into fastboot, flash kernel, twrp and then boot straight into twrp to flash magisk and drmfix.
I'm using G8141_Customized CE1_1308-5321_45.0.A.7.137_R6A for example and it worked fine on all my xpz's.

Can not back up my own secret? Like Xperia Z5?
No.
 
Last edited:

Mobfigurz

Senior Member
Jun 29, 2012
195
49
0
No, read OP.


You can't. It part of having unlocked bootloader.


No that doesn't matter. Any of the 137 fw works. All you have to do is literally flash, go straight into fastboot, flash kernel, twrp and then boot straight into twrp to flash magisk and drmfix.
I'm using G8141_Customized CE1_1308-5321_45.0.A.7.137_R6A for example and it worked fine on all my xpz's.


No.
I am in the same boat as SaadKhalid, my phone will not boot, stuck at the Sony Logo but I can force it down and get into TWRP, but nothing more. I used Newflasher to flash the system with stock files, but nothing changes. I am worried now.
 

sToRm//

Senior Member
Jun 24, 2017
524
2,032
0
Munich
Hello storm :)

superb work. but i got a problem. recently i upgraded to oreo and didnt like it so went back to 7.137 stock firmware. after reading this thread i followed everything carefully. installed recovery and all things went smooth but when i boot the phone after flashing those three files (kernel,magisk and drmpatch) the phone gets stuck on sony logo. have to flash stock firmware again to revive it. also in xperifirm 45.0.A.7.137_R7A is not available(its same version as the kernel you provided)
The modified kernel you provided is for R7A. and i think it is the problem. after i flash recovery then in recovery flash those three files then clear dalvik and cache and then phone doesnt boot.
what should i do now?
Good morning. Do you have the G8141 or G8142 (dual)? What is your installed firmware version?
 
  • Like
Reactions: shadimar69

Let1107

Member
Oct 4, 2017
14
0
0
Hello storm :)

superb work. but i got a problem. recently i upgraded to oreo and didnt like it so went back to 7.137 stock firmware. after reading this thread i followed everything carefully. installed recovery and all things went smooth but when i boot the phone after flashing those three files (kernel,magisk and drmpatch) the phone gets stuck on sony logo. have to flash stock firmware again to revive it. also in xperifirm 45.0.A.7.137_R7A is not available(its same version as the kernel you provided)
The modified kernel you provided is for R7A. and i think it is the problem. after i flash recovery then in recovery flash those three files then clear dalvik and cache and then phone doesnt boot.
what should i do now?
How do you did a downgrade to android 7.1.1?
 

Emiliano7774

Member
Oct 27, 2017
22
3
0
please!! sorry for the bad inglish

Good morning. Do you have the G8141 or G8142 (dual)? What is your installed firmware version?

I'm the same !! I'm a guy from Argentina and I'm right now going through this situation !! help now please !!!!!!

i'm i get the dual version. My phone does not work
 
Last edited:

sToRm//

Senior Member
Jun 24, 2017
524
2,032
0
Munich
I'm the same !! I'm a guy from Argentina and I'm right now going through this situation !! help now please !!!!!!

i'm i get the dual version. My phone does not work
We can fix all, but I need more informations about what you did exactly. Did you flash the G8142 kernel or G8141? Was your device rooted or stock before?
 
Status
Not open for further replies.