DRM and root - Xperia Z3 Q&A, Help & Troubleshooting

Hello,
It is possible to get root (for xprivacy) without losing the DRM keys (no bootloader unlock)?
If yes, how?

Not currently..

DJ BlackEagle said:
Hello,
It is possible to get root (for xprivacy) without losing the DRM keys (no bootloader unlock)?
If yes, how?
Click to expand...
Click to collapse
Not yet, and the only reason I do not own this phone yet

Sindroid said:
Not currently..
Click to expand...
Click to collapse
Is someone working on this?

funkyblue04 said:
Not yet, and the only reason I do not own this phone yet
Click to expand...
Click to collapse
The phone is good. Only one thing is bad. It's the camera.
The camera from the Samsung Galaxy S3 and from Huawei Ascend P7 is better than from Sony Xperia Z3. It's sad, in the past (several years) was Sony good in cameras (mobile phones).

I think root with locked bootloader is being worked on.

funkyblue04 said:
Not yet, and the only reason I do not own this phone yet
Click to expand...
Click to collapse
The same here [emoji1]

DJ BlackEagle said:
The phone is good. Only one thing is bad. It's the camera.
The camera from the Samsung Galaxy S3 and from Huawei Ascend P7 is better than from Sony Xperia Z3. It's sad, in the past (several years) was Sony good in cameras (mobile phones).
Click to expand...
Click to collapse
I really don't know how you compare the camera of Z3 with Galaxy S3 !!!!

I also do not believe the camera is bad at all.

dany20mh said:
I really don't know how you compare the camera of Z3 with Galaxy S3 !!!!
Click to expand...
Click to collapse
Because I had a Samsung Galaxy S3 and the Huawei Ascend P7 before.
So I can compare it good.

funkyblue04 said:
I also do not believe the camera is bad at all.
Click to expand...
Click to collapse
Not fully bad, but can be better.
Take a photo of a tree or so. And look on the sheet. And you can see, it's not clear. Here on the forum exists this pictures.

I need a root so badly so I can get stock android. I am very upset there is still no root without unlocking the bootloader!

Yeah. I expected a fast solution as this phone is kinda popular

DJ BlackEagle said:
Because I had a Samsung Galaxy S3 and the Huawei Ascend P7 before.
So I can compare it good.
Click to expand...
Click to collapse
So say that, it's your personal opinion, cause if you check every where you will see the best camera right now is by Z3.

raviboy100 said:
Yeah. I expected a fast solution as this phone is kinda popular
Click to expand...
Click to collapse
I guess we can agree that the IPhone is waaaaaaay more popular and still an untethered Jailbreak sometimes needed months to become available.
And its not a matter of popularity or how bad we want it, it also includes luck besides methodology to stumble upon a suitable exploit. This is meticulous sifting trough code until you're lucky.

Do you think it will ever be possible to get root and install a custom rom without losing the DRM keys for the camera? In another thread i read that you have to backup a partition to avoid losing the codes before flashing anything, but can these codes even be used again when restored?
I really like the phone and would want to have it as a replacement for my One M7, but as long as there is no solution i will delay my decision.. I can't imagine Android without root anymore, so the camera DRM keys are a no-go when rooting.

What about this way:
Backup the DRM keys
Root the phone
The keys get deleted.
Restore the DRM keys.
Would this work, without losing some features?

DJ BlackEagle said:
What about this way:
Backup the DRM keys
Root the phone
The keys get deleted.
Restore the DRM keys.
Would this work, without losing some features?
Click to expand...
Click to collapse
When you restore the TA partition it relocks the bootloader, hence you lose root.
Either you have
Unlocked bootloader, root and no DRM keys
or
Locked bootloader, no root and keep DRM keys
Until there is a locked bootloader root method this is the way it will be.

But you definitely CAN restore the DRM keys to get back the original camera quality if you decide that you don't want / need root anymore? In other words, 100% restore to stock is possible if DRM keys were saved?

Ehm, and as far as I know you need root to backup the TA-partition and DRM-keys... Which kind of is the issue atm.
But if there is root possibility without unlock it should (at some time) be possible to backup the TA-partition/DRM-keys after which it SHOULD be possible to relock the bootloader (and get full functionality as stock) again.
Then again, this is all theoretical and based on earlier models.

Related

Why better no root...

Hi,
could someone tell me why I better should not root my Z3?
I know the benefits of rooting but I heard about some points why it's better not to root the Z3...
Greetz
ROOT!
Enjoy life, custom icons, themes, xposed, adfree web and apps, calls from your dual speakers AND back up your drm keys
I see no downsides if you know what you are doing.
Could you tell me what you heard? There are no real downsides. The only things i can think of are losing warranty, but you can easily unroot and the other thing is bricking your phone, that only happens if you didn't use your brains and made a backup.
I heard that the X-Reality for mobile engine and the equlizer won't work anymore after you rooted it...
Oh and I've got stereo for Calls and notifications right out of the box
01001001M said:
I heard that the X-Reality for mobile engine and the equlizer wont work anymore after you rooted it...
Click to expand...
Click to collapse
That's a lie. X-reality doesn't work after you unlock your bootloader.
beni8978 said:
That's a lie. X-reality doesn't work after you unlock your bootloader.
Click to expand...
Click to collapse
Don't you need to unlock the bootloader to root the device and if not for what reason do you need to unlock the bootloader?
http://forum.xda-developers.com/z3/general/guide-rootrecovery-how-to-root-install-t3017056
For locked bootloaders
beni8978 said:
That's a lie. X-reality doesn't work after you unlock your bootloader.
Click to expand...
Click to collapse
what?
i've unlocked my bootloader and using bravia engines, and it works fine
If you unlock the bootloader on the Z3/Z3C, then you lose your DRM keys, therefore no X-reality, no ClearAudio+, no camera low light stuff, playstation app etc. Basically all Sony developed functions won't work. However if you root it with locked BL, everything will work and you can backup your DRM keys. I did it and everything works fine + there is Titanium Backup, Xposed, SD Write fix etc.
Worth it.
The only thing that won't work after rooting (not unlocking) is PlayStation Remote.
your phone = your decision. want to know reasons pro/cons = google it (before creating thread here...) as simple as that.
Remote play works just need the remote play port 0.6.1
01001001M said:
Hi,
could someone tell me why I better should not root my Z3?
I know the benefits of rooting but I heard about some points why it's better not to root the Z3...
Greetz
Click to expand...
Click to collapse
Absolutely no reason you shouldn't root, especially now that you can do so w/ a locked BL so you save DRM keys. The simple reason of adding Xposed framework should be enough. It will work guaranteed. Here are some good links IMO.
http://forum.xda-developers.com/showpost.php?p=58591838&postcount=1054
And to fix stereo issue on notifications (notifications louder / coming out of both speakers - don't think root is needed:
http://forum.xda-developers.com/z3/development/z3-speakers-incoming-call-headphones-t2889964

Going from Z to Z5 Compact - downgrade to 4.42?

Evening all,
Just placed an order for the Z5 Compact after my Z has started playing up after 3 years of use,
Basically I had mine rooted a long time ago, and I havnt really touched it since or done any rooting/customization in ages and im drawing a blank..
Basically want to root the Z5 and downgrade to the 4.42 firmware as I have on my Z, as I dislike the 5.51 software the menu options etc looks very tacky for stock Sony layout, and it looks like 6 marshmallow is the same.
Is this feasible or reccomended?
Is there a step by step guide I can follow as I am seriously ****e with computers and all this stuff, I also wanted to learn about and if there are guides on how I can customise the menu etc If I can keep 5.51 or even upgrade to 6.0 and root the device and install a custom theme and change the menu layout etc?
Is this possible at all, I know people have custom software but I havnt a clue on how to go about rooting it let alone customising it...
Any help much appreciated!
There is no 4.4.2 firmware available for z5 series...
Daniel_GB said:
There is no 4.4.2 firmware available for z5 series...
Click to expand...
Click to collapse
lol cool well that answers that, can the menu/ settings etc be customized and changed,
kam90 said:
lol cool well that answers that, can the menu/ settings etc be customized and changed,
Click to expand...
Click to collapse
I don't think you can customize settings menu in stock roms...
Daniel_GB said:
I don't think you can customize settings menu in stock roms...
Click to expand...
Click to collapse
Im planning on rooting from 5.51 found a decent guide with use of command prompt so should be easy I hope! Is there an app/program downloadable after root which will allow me to apply custom themes/ menu layouts.
I can only remember Super SU, and theres an aptoide one I had iirc
hey. no offense but i'd suggest you read and learn a bit more about rooting newer xperia devices before you do any mistake.
its for sure no easy thing if you arent much into this stuff. just to mention one thing: at this moment there is no way to root the z5
with locked bootloader. unlocking your bootloader means, that you most probably lose your warranty and the drm keys. those keys
can be simulated by a workaround, but infact they are gone forever without any chance to restore them.
in the end, rooting the z5 now is a process of unlocking bootloader (via flashtool or adb), flash kernel via adb, flash twrp recovery via adb
and finally install supersu via twrp flash.
these should be enough keywords to google for, and/or getting knowledge here in xda forums. once again, i just can advice
you read all those guides twice....
VorlonKosh said:
hey. no offense but i'd suggest you read and learn a bit more about rooting newer xperia devices before you do any mistake.
its for sure no easy thing if you arent much into this stuff. just to mention one thing: at this moment there is no way to root the z5
with locked bootloader. unlocking your bootloader means, that you most probably lose your warranty and the drm keys. those keys
can be simulated by a workaround, but infact they are gone forever without any chance to restore them.
in the end, rooting the z5 now is a process of unlocking bootloader (via flashtool or adb), flash kernel via adb, flash twrp recovery via adb
and finally install supersu via twrp flash.
these should be enough keywords to google for, and/or getting knowledge here in xda forums. once again, i just can advice
you read all those guides twice....
Click to expand...
Click to collapse
DRM keys arent really required though are they? are they not restorable/ way to back them up prior, ive googled Z5 compact root and ive got loads of links on search results though
Voiding warranty of new device and god knows what will be with restored fake DRM keys with further updates, and no, there is NO rooting Z5 series with having Bootloader locked for now, i doubt there will ever be a method but hope im wrong. You might want to reconsider Z5 series, replace your Z with Z3 that is easily rootable even with locked BL and is on Marshmallow list.
kam90 said:
DRM keys arent really required though are they? are they not restorable/ way to back them up prior, ive googled Z5 compact root and ive got loads of links on search results though
Click to expand...
Click to collapse
well, the drm keys are required for e.g. x-reality, camera postprocessing, ps controller support and much more. at the moment the drm restore patch works, but who knows, google or sony could counterpatch this aswell. you can only backup them with root. to get root you need to unlock your bootloader first. unlock bootloader = drm key lost forever. you cant lock your bootloader without original drm keys, and with unlocked bootloader you dont have ota updates and pc companion wont work anymore. means, you always have to update manually with
flashtool.
Really?! Cause with my Z I could link up with pc companion and do a factory reset which wiped out the root and everything on it when it froze up..
What about the main thread on this forum... is there any other reading or threads/guides in relation to this

[Question][Request] Root for F8332 stock without unlocking BL?

Just as mentioned above. I dont mind waiting but just wanna ask is there anybody able to get it already? I've done some google, some pages offer a very 'detailed' instructions like just install TWRP using fastboot method then flash the SuperSU binary then bingo!! Some others state unlocking BL is required. Since to me xda is the only reliable source so I guess I will be looking for answers here.
Cheers
since the Z3+ and newer devices, root with lock bootloader is impossible at least for now.
btw, unlock bootloader is so easy for root, why not? Warranty?
tommy1616 said:
since the Z3+ and newer devices, root with lock bootloader is impossible at least for now.
btw, unlock bootloader is so easy for root, why not? Warranty?
Click to expand...
Click to collapse
Well... DRM keys thing is what i concern. AFAIK im gonna have to give up some features if i lose it so...
Btw it'd be appreciated if u could share some posts about re-locking bootloader and backing up/restoring DRM keys, especially for this new Xperia XZ.
boydzethuong said:
Well... DRM keys thing is what i concern. AFAIK im gonna have to give up some features if i lose it so...
Btw it'd be appreciated if u could share some posts about re-locking bootloader and backing up/restoring DRM keys, especially for this new Xperia XZ.
Click to expand...
Click to collapse
This kernel have DRM Patch
http://forum.xda-developers.com/xperia-xz/development/kernel-andropluskernel-v01-t3475240
But.... If unlocked bootloader, DRM keys well loss
and no backup way in marshmallow with no root at the least
tommy1616 said:
This kernel have DRM Patch
http://forum.xda-developers.com/xperia-xz/development/kernel-andropluskernel-v01-t3475240
But.... If unlocked bootloader, DRM keys well loss
and no backup way in marshmallow with no root at the least
Click to expand...
Click to collapse
That's what im worrying haha. Guess i'll wait, patiently, for a talent shows up
Someone just pls pls find a way to have it rooted without unlocking BL, or just a way to back up TA BEFORE unlocking for the sake of DRM keys sh!t then nothing would stop me from enjoying root
boydzethuong said:
That's what im worrying haha. Guess i'll wait, patiently, for a talent shows up
Someone just pls pls find a way to have it rooted without unlocking BL, or just a way to back up TA BEFORE unlocking for the sake of DRM keys sh!t then nothing would stop me from enjoying root
Click to expand...
Click to collapse
I've been waiting for over 3mths for some progress on backing up the ta keys on all the x range(I have the xa) I don't see it ever happening to be honest and I've made the mistake of loosing ta keys before I won't be doing it again.
Sent from my Xperia XA using XDA Labs

Root on locked bootloader

His guys just got the xzp and wow what a phone my only concern is root I have a locked bootloader and it's not unlockable but to be fair I've never unlocked a Xperia bootloader due to loosing drm keys etc
So my question is will we be able to get root on locked bootloaders like we did with past Xperia phones or are we stuck unless we unlock which in my case would mead no root ever :crying:
Thanks
Probably not would be my guess. You still need to unlock bootloader on previous models such as XZ/XZS.
FartyParty said:
Probably not would be my guess. You still need to unlock bootloader on previous models such as XZ/XZS.
Click to expand...
Click to collapse
Darn I love this device too but to never be able to have root might be a deal breaker
In service menu it says unlock bootloader allowed no but in developer options it give me the option to unlock the bootloader does this mean it's possible for me to unlock the bootloader
brockyneo said:
In service menu it says unlock bootloader allowed no but in developer options it give me the option to unlock the bootloader does this mean it's possible for me to unlock the bootloader
Click to expand...
Click to collapse
That setting is there regardless. If it says no its not possible.
FartyParty said:
That setting is there regardless. If it says no its not possible.
Click to expand...
Click to collapse
Ah OK no root for me then ever think it might have to be the oneplus 5 then I love this phone too
Wait for an Android vulnerability or someone find a way to backup the TA partition
ninjy said:
Wait for an Android vulnerability or someone find a way to backup the TA partition
Click to expand...
Click to collapse
But I cannot unlock the bootloader I was hoping for a root without unlocking the bootloader like the z3 which was my last Xperia device
One question if I stay with the xzp cam I at least flash the latest stock UK unbranded room with a locked bootloader so I can get rid of my carrier stuff thanks
brockyneo said:
But I cannot unlock the bootloader I was hoping for a root without unlocking the bootloader like the z3 which was my last Xperia device
Click to expand...
Click to collapse
It's what i'm saying
brockyneo said:
One question if I stay with the xzp cam I at least flash the latest stock UK unbranded room with a locked bootloader so I can get rid of my carrier stuff thanks
Click to expand...
Click to collapse
yes
ninjy said:
It's what i'm saying
yes
Click to expand...
Click to collapse
So what your saying is they maybe a work around getting root ect on locked bootloaders?
Thanks again
Like always, if a security breach is found on Android that allow getting root access, it will be possible to backup the DRM partition, then after if you like, unlocking the bootloader and then restore your DRM partition.
At least, it finished like this for the Z5, but you had to downgrade to Lollipop to get root access.
AFAIK, there is no known way to get root on Nougat today.
ninjy said:
Like always, if a security breach is found on Android that allow getting root access, it will be possible to backup the DRM partition, then after if you like, unlocking the bootloader and then restore your DRM partition.
At least, it finished like this for the Z5, but you had to downgrade to Lollipop to get root access.
AFAIK, there is no known way to get root on Nougat today.
Click to expand...
Click to collapse
So there is the Dirty Cow exploit that seems pretty pervasive and promising.
https://forum.xda-developers.com/general/security/dirty-cow-t3484879
EDIT: Nevermind I'm an idiot, I didn't realize the dates on dirty cow.
Question still stands though, do we know if there is anyone on the XZ Premium working on it?
topherhead said:
So there is the Dirty Cow exploit that seems pretty pervasive and promising.
https://forum.xda-developers.com/general/security/dirty-cow-t3484879
EDIT: Nevermind I'm an idiot, I didn't realize the dates on dirty cow.
Question still stands though, do we know if there is anyone on the XZ Premium working on it?
Click to expand...
Click to collapse
I don't think so, there will be more involved ppl when XZ1 will be released, since it's the same specs
hoping for this with the XZs updated to Oreo...
manilenio said:
hoping for this with the XZs updated to Oreo...
Click to expand...
Click to collapse
It's not possible anymore. You really need to unlock the bootloader in order to root. Something about patching the kernel.

Do you think there are still the drm keys?

Hello. I bought a used Xperia XZ2 compact, beautiful. But the quality of the photos (especially in the dark) is bad.
I have the doubt that the old owner had rooted the device or unlocked the bootloader, losing the DRM keys, causing the bad quality of the photos.
Is there a way to understand if the DRM keys are still on the phone?
I tried to access the hidden menu by typing *#*#7378423#*#* and in Service Info -> Security appears as in the attached photo.
Do you think the DRM keys are there?
Could someone take a screenshot on his XZ2 Compact with the DRM keys?
Thank you.
What stands in the service menu after bootloader unlocked ? If there stands like this : bootloader unlocked: yes
Then its unlocked for sure. And that stands under configuration
Pandemic said:
What stands in the service menu after bootloader unlocked ? If there stands like this : bootloader unlocked: yes
Then its unlocked for sure. And that stands under configuration
Click to expand...
Click to collapse
it says bootloader unlock allowed: yes
it's like that for every phone, also the unlocked ones
Yes your DRM layer looks perfectly fine/functional.
the drm keys are restorable on xz2c even if someone unlocks the bootloader ?
bob1791 said:
the drm keys are restorable on xz2c even if someone unlocks the bootloader ?
Click to expand...
Click to collapse
I have the same question.
David-538 said:
I have the same question.
Click to expand...
Click to collapse
I unlocked the bootloader yesterday and checked for the drm key in the hidden menu.. and I found out that anything was changed... =)
EDIT:
unexpectedly I notice that the booloader was not unlocked when I tried to install the twrp recovery. Doing again the oem unlock results in DRM Keys LOST... sorry for the inconvenience
bob1791 said:
I unlocked the bootloader yesterday and checked for the drm key in the hidden menu.. and I found out that anything was changed... =)
Click to expand...
Click to collapse
That means it's lost right ? How's the camera quality now, still the same ? And does it take much longer to take a picture ?
David-538 said:
That means it's lost right ? How's the camera quality now, still the same ? And does it take much longer to take a picture ?
Click to expand...
Click to collapse
If it was lost before I do'n't know because I bought the phone like new but the drm keys was provisioned and in other threads I read that this mean the drm keys are still there.. Of course the camera quality still is the same but sony removed this "function" (and for "this function" I mean the fact that if the drm keys are lost your camera won't works) with Android 9 and I already tested this with the XZ1 compact.
bob1791 said:
If it was lost before I do'n't know because I bought the phone like new but the drm keys was provisioned and in other threads I read that this mean the drm keys are still there.. Of course the camera quality still is the same but sony removed this "function" (and for "this function" I mean the fact that if the drm keys are lost your camera won't works) with Android 9 and I already tested this with the XZ1 compact.
Click to expand...
Click to collapse
Are you saying that after unlocking, one can't downgrade to older firmware versions, without breaking the camera ?
David-538 said:
Are you saying that after unlocking, one can't downgrade to older firmware versions, without breaking the camera ?
Click to expand...
Click to collapse
I didn't say that.. I said that unlocking bootloader on Android 11 on my XZ2 compact didmn't break the camera and seems that the drm keys are still there. Furthermore Sony has removed the drm keys camera dependency since Android 9, so if you run Android 9 or newer you camera will still work even if you will unlock the bootloader.
bob1791 said:
I didn't say that.. I said that unlocking bootloader on Android 11 on my XZ2 compact didmn't break the camera and seems that the drm keys are still there. Furthermore Sony has removed the drm keys camera dependency since Android 9, so if you run Android 9 or newer you camera will still work even if you will unlock the bootloader.
Click to expand...
Click to collapse
Thanks, this is great news. I was wondering if keys get lost after unlocking the bootloader. Also are they still there after flashing custom roms ?
David-538 said:
Thanks, this is great news. I was wondering if keys get lost after unlocking the bootloader. Also are they still there after flashing custom roms ?
Click to expand...
Click to collapse
I don't know if the keys still remain there after flashing custom roms... I think that they will be wipe because when you flash a rom you need to wipe everything but you can make a backup before doing some destructive operation. But I'm not sure about the backup and other stuff to preserve the drm keys...
bob1791 said:
I don't know if the keys still remain there after flashing custom roms... I think that they will be wipe because when you flash a rom you need to wipe everything but you can make a backup before doing some destructive operation. But I'm not sure about the backup and other stuff to preserve the drm keys...
Click to expand...
Click to collapse
Ok, but thanks for the info...
David-538 said:
Ok, but thanks for the info...
Click to expand...
Click to collapse
You're welcome. I'm looking for a good custom rom to put in my XZ2 Compact right now....
Of course unlocking the bootloader delete the drm keys... But the camera is still working
bob1791 said:
Of course unlocking the bootloader delete the drm keys... But the camera is still working
Click to expand...
Click to collapse
Uhm, how slow is capturing photos after unlocking the bootloader? I read somewhere that it becomes much slower. And that super slowmo video doesn't work after unlocking. Could you confirm that, or did it only happen on android 9 or older firmware?
se
David-538 said:
Uhm, how slow is capturing photos after unlocking the bootloader? I read somewhere that it becomes much slower. And that super slowmo video doesn't work after unlocking. Could you confirm that, or did it only happen on android 9 or older firmware?
Click to expand...
Click to collapse
seems it is the same.. I taken a pic in a low light environment and I didn't notice any lag
se
David-538 said:
Uhm, how slow is capturing photos after unlocking the bootloader? I read somewhere that it becomes much slower. And that super slowmo video doesn't work after unlocking. Could you confirm that, or did it only happen on android 9 or older firmware?
Click to expand...
Click to collapse
seems it is the same.. I taken a pic in a low light environment and I didn't notice any lag
bob1791 said:
se
seems it is the same.. I taken a pic in a low light environment and I didn't notice any lag
Click to expand...
Click to collapse
Okay thanks for the info.

Categories

Resources