Root Achieved!

YasuHamed

Senior Member
Dec 17, 2013
2,152
849
183
I now have root, thank you @YasuHamed !

Sadly drmfix or twrp doesn't work on xzp right now.
there is no twrp (YET), but i personally don't prefer adding twrp. (various reasons)
for drm fix
please read this
https://forum.xda-developers.com/showpost.php?p=72711291&postcount=54

---------- Post added at 10:36 PM ---------- Previous post was at 10:32 PM ----------

You've unlocked your BL without backing up your TA? You know that you lost your DRM keys?

---------- Post added at 10:31 AM ---------- Previous post was at 10:25 AM ----------

It looks like something good is coming soon:

https://kernel.andro.plus/yoshino.html
https://github.com/AndroPlus-org/android-kernel-sony-msm8998
forget about those days when we could root and extract drmkeys/ta.img
forget about those days when we had DIRTYCOW exploit

now whoever makes deal with devil (SONY) inexchange for unlock keys, MUST loose their valuable DRM KEYS! and survive for life on drm fixes!


however! IF any other X and XZ variants android 6 can be flashed on xzp and dirtycow can extract keys!.... but SURE it can never be done! withing same family, you cannot swipe variants' stock builds! and here we are talking outdated devices! , phone will brick or bootloop!
 

suz3tahuk

New member
Jun 11, 2017
1
0
0
DRM keys lost

and @FartyParty

It's not only about proprietary apps. It's about advanced functions for both camera and music. There will be no noise canceling and other algorithms that make the backbone of decent looking pics and videos. That's why everyone is freaked about the TA backup. They're unique and cannot be used from another XZp. Relocking the BL won't do a thing since those keys are buh-bye forever. I for once bought this beauty for the looks, camera, and music (-ish), but I'll miss Xposed FW like crazy (hopefully we'll have xposed for N soon).

Best thing to do now is to wait for a custom kernel that restores those functions - it's just around the corner.

sorry for spamming the forum - got bored at work. still - DRM functionality is pretty important.
------------------------------------------------------------------------------------------------------------------------------------------

am comiso .... la xperia xzp aveam soft frontstore am reusit sa flashuiesc un firmware ok ...... si ma mancat sa unlock bootloader .... acum face poze verzi ..... ce pot sa ii fac ?

---------- Post added at 04:17 AM ---------- Previous post was at 04:13 AM ----------

hello i need u help at my xzp .... i unlocked bootloader for rooting and now my phone make picture green .... please help me im the best noob...... anyway im not rooted the phone
 

awdrifter

Senior Member
Feb 11, 2012
228
10
38
It has nothing to do with DRM stuff as in piracy. It screws with the camera and other phone features.

For me root is #1 priority so I don't care about the camera.
Thanks for the info. The camera is one of the reason I want this phone. So I guess I'll hold off for now.

Sent from my ZTE A2017U using Tapatalk
 

ccgchhun

Member
Mar 24, 2015
44
1
28
Err...I don't know if I really need it (or know much about it). I guess it has something to do with Sony proprietary app, music, etc?
If yes, I don't think I really care about it. I don't even have the intention to relock the bootloader...I guess.
sorry guy what is DRM key ?
 

YasuHamed

Senior Member
Dec 17, 2013
2,152
849
183
What is the DRM fix? If it's only for DRM'd media playback then it won't affect me.
DIGITAL RIGHTS MANAGEMENT keys (DRM KEYS) are stored in TA partitions, when boot is unlocked sony formats userdata and wipe TA partitions so DRM keys goes. and sony proprietary software such as Bravia Engine, Xreality, 4k video recording sony bass surround STOPS working.
for years kernels has been faking drm keys by pointing at specific cell in TA where once keys were installed in order us to have both root access and full app features
with xzp , sony has changed the DRM keys location (hide) in TA image so the classic kernel patcher unable to fake drm keys availability

DIRTYCOW script found xploit within android L, MM and if your sony came running on android 6, you can simply EXTRACT ORIGINAL SONY FACTORY TA.IMG (before unlocking boot loader), LATER you can reinstate these keys once boot is unlocked by adb shell.
however SONY fixed that xploit in Android 7.x.x and since XZP released on 7.0. DIRTYCOW SCRIPT doesn't work

SOLUTION ?
TWO THINGS must be achieved in near future in order to RECLAIM XZP
1. DRM FIX
OR
2. DIRTY COW SCRIPT TO WORK ON 7.X.X
 

young.khalifa

New member
Jul 7, 2017
2
0
0
sony xperia xz premium ROOT. no rcovery need

i tried to unlock my sony xperia xz premium and have done it by using the sony xeperia xz in sony website. and i also install SuperSu by using flashtool but-it works perfectly with no problem till i install some incorrect Rom on my phone and now my phone can not turn on. think it is a softbrick or bootloop and i cant flash my phone with flashtool because the MTP it off in my phone .now im waiting for a twrp for my phone maybe i can install manually a os on my phone.

1. if u want to root your sony xperia xz premium u need to unlock the bootloader first
2. then u unlocked it u have to download the root file. (supersu) download the latest version
3.download the flashtool
4.run the flashtool and go to fastboot mode and click on ''Select kernel to flash'' the explore the root file .reboot your phone and you are done. your phone is now rooted.
 

FartyParty

Senior Member
Jan 18, 2017
629
210
0
i tried to unlock my sony xperia xz premium and have done it by using the sony xeperia xz in sony website. and i also install SuperSu by using flashtool but-it works perfectly with no problem till i install some incorrect Rom on my phone and now my phone can not turn on. think it is a softbrick or bootloop and i cant flash my phone with flashtool because the MTP it off in my phone .now im waiting for a twrp for my phone maybe i can install manually a os on my phone.

1. if u want to root your sony xperia xz premium u need to unlock the bootloader first
2. then u unlocked it u have to download the root file. (supersu) download the latest version
3.download the flashtool
4.run the flashtool and go to fastboot mode and click on ''Select kernel to flash'' the explore the root file .reboot your phone and you are done. your phone is now rooted.
You can just reflash your phone to get it to work again.
Use this

Also what do you mean just download supersu? When you download it it comes in a flashable zip, how can you flash that as a kernel?
I thought you had to recompile a kernel with supersu included.
 

young.khalifa

New member
Jul 7, 2017
2
0
0
tnx for your answer

You can just reflash your phone to get it to work again.
Use this

Also what do you mean just download supersu? When you download it it comes in a flashable zip, how can you flash that as a kernel?
I thought you had to recompile a kernel with supersu included.

I download the supersu file . the file format ist .img then i used the fastboot mode in flashtool and i selected ''select kernel to flash'' i eplored the supersufile.img and after rebooting your phone you have a rotted xperia xz premium .

---------- Post added at 09:02 PM ---------- Previous post was at 08:55 PM ----------

You can just reflash your phone to get it to work again.
Use this

Also what do you mean just download supersu? When you download it it comes in a flashable zip, how can you flash that as a kernel?
I thought you had to recompile a kernel with supersu included.
Maybe you can help me.
i have xperia xz premium and it is a softbrick or bootloop. my ust debugging is off and i cant flash a new firmware by uing flashtool because it needs a MTP permission to flash .
can in use any other way to flash my phone ?
 

FartyParty

Senior Member
Jan 18, 2017
629
210
0
I download the supersu file . the file format ist .img then i used the fastboot mode in flashtool and i selected ''select kernel to flash'' i eplored the supersufile.img and after rebooting your phone you have a rotted xperia xz premium
Where did you download it from :p?

i have xperia xz premium and it is a softbrick or bootloop. my ust debugging is off and i cant flash a new firmware by uing flashtool because it needs a MTP permission to flash .
can in use any other way to flash my phone ?
Yes, download this

Download the fw, drop the files in the fw folder, connect your phone in flashmode and start the newflasher.exe and it will flash :).
 
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