Root and keep DRM and all other features? - Xperia Z5 Q&A, Help & Troubleshooting

I haven't checked XDA in awhile because I gave up hope of ever having a good root solution for the Z5. But I have been looking around lately and have seen roms such as [ROM][E6653] Slim Stock 32.0.A.6.200 and the [LP][UB][ROOT][DRM][KERNEL][RECOVERY](TWRP3.0) Z5 ADV STOCK KERNEL (2016/03/04) (v1g) kernel. So as of now, I'm a little lost here. Of the 15+ Android phones I've had, this has been the most complicated.
I understand that root is possible by unlooking the bootloader and that as of now, there is no root solution for a locked bootloader. Are you now able to unlock the bootloader and root with phone without losing any features?

You still lose DRM. There is a possibility to trick the phone into thinking the DRM keys aren't wiped restoring the DRM features after unlocking the bootloader but the DRM is still missing.

Mr_Bartek said:
You still lose DRM. There is a possibility to trick the phone into thinking the DRM keys aren't wiped restoring the DRM features after unlocking the bootloader but the DRM is still missing.
Click to expand...
Click to collapse
So you'll lose DRM keys but you can still retain all the features? I hope the same will be true for the Marshmallow update.

That's right. We don't have a kernel to run modified system images on MM just yet so can't confirm nor deny it working.

Related

[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

DRM

Ok sorry for idiotic question, but what are DRM and why do i need them? i backed them up on start before rooting, now i have tested few roms and stuff. But do i need to restore DRM for better photos or something? Or os not possible to restore DRM on costum rom. Its my first sony in years
I don't know that much on DRM and Development, I'm just a passionate guy, so what am gonna say is perhaps wrong so dont blame me
DRM (Digital Right Management) are keys used to "protect" the phone.
Those keys are sets by the firm (In this case SONY)
To enable some functions on the phone.
When you buy a new phone, DRM are already set up and everything works fine, but some phone functions require those keys to work (on the Z5 x-realty photos, bravia engine display needs them to work) .
If you unlock your bootloader, you delete by the same time those key located on the TA partition and so, X reality and Bravia cease to work,
I know that on the Samsung devices the fingerprint sensor is completely disabled if you lost DRM I don't know if it's the same on the Z5.
Once deleted you can't recover them, they're lost for ever, even if you relock your bootloader !
Actually I don't know if you can recover the keys if you have backed up your TA partition, but according to what I've read you can't, BUT you can emulate them.
DRM aren't only for phone, you can find some in video games protections, computer, or that kind of stuff
So is missing bravia noticable on phone?
Actually I can't answer, I'm waiting for a locked bootloader root in order to keep the originals DRM.
Guess you should ask someone who has unlocked his bootloader and lost DRM to see if there are some noticeable changes?
I don't see a big difference regarding X-Reality, but where there's a big difference is in the photos taken without the DRM keys.
If you want to root your phone and keep the DRM keys, read this: http://twigstechtips.blogspot.ch/2016/04/sony-z5-compact-root-without-losing-ta.html?m=1
I'm currently trying to get the TA partition restored on a stock non-rooted ROM
Ivory flaw is only available on lollipop?
I'm f*cked then I'm running Marshmallow and I don't want to flash a new Rom wiping everything :crying:
Thanks but I'll try later if there no root for Locked BL on Marshmallow
Nayibmc said:
I don't see a big difference regarding X-Reality, but where there's a big difference is in the photos taken without the DRM keys.
If you want to root your phone and keep the DRM keys, read this: http://twigstechtips.blogspot.ch/2016/04/sony-z5-compact-root-without-losing-ta.html?m=1
I'm currently trying to get the TA partition restored on a stock non-rooted ROM
Click to expand...
Click to collapse
keep me posted, i have TA partition backuped, it would be nice if i could restore DRM keys and use stock rom

[noob question] unlocking the bootloader

Hi all.
I've got my XZ since one week now, and I'm missing the possibilities of rooting my device.
My Z2 was LB, so I never could ever try to unlock my bootloader. therefore, I don't know anything about it.
I've read a lot of thread here and there, and some points are not that clear to me.
Will the procedure of unlocking the bootloader erase everything in the phone (like photos, contacts, etc...)?
Unlocking the bootloader will kill the DRM keys forever, if I understood well. but flashing Androplus Kernel will recover them, right?
Is it possible to relock the booltloader after? if yes, will the DRM keys be restored?
Last thing, to be sure of what I should do.
1-unlock the bootloader with IMEI via sony site.
2-install TWRP via adb command
3-flash Androplus kernel.
Am I right, or do I miss something?
Thanks for your help, and sorry for the noobish questions.
sensei_sai said:
Hi all.
I've got my XZ since one week now, and I'm missing the possibilities of rooting my device.
My Z2 was LB, so I never could ever try to unlock my bootloader. therefore, I don't know anything about it.
I've read a lot of thread here and there, and some points are not that clear to me.
Will the procedure of unlocking the bootloader erase everything in the phone (like photos, contacts, etc...)?
Unlocking the bootloader will kill the DRM keys forever, if I understood well. but flashing Androplus Kernel will recover them, right?
Is it possible to relock the booltloader after? if yes, will the DRM keys be restored?
Last thing, to be sure of what I should do.
1-unlock the bootloader with IMEI via sony site.
2-install TWRP via adb command
3-flash Androplus kernel.
Am I right, or do I miss something?
Thanks for your help, and sorry for the noobish questions.
Click to expand...
Click to collapse
Hey sensei_sai,
Im unsure if unlocking will erase your data but its always best to backup everything in the internal memory just in case something goes wrong.
Androplus will NOT recover your DRM keys but kernels with DRM fixes try to replicate the features that are permanently lost as a result of unlocking your boot-loader.
In the future it may be possible for you to re-lock the boot-loader but even then this wont restore DRM keys, the only way to restore DRM keys would be to back up your TA partition (This contains your DRM keys) before you unlock your boot-loader but to do this you need root access with your boot-loader still locked.
How to backup TA
Unfortunately at this time nobody has figured out a way to get root with a locked boot-loader although a newly found exploit (Dirty cow) may help us do this very soon so if you care about re-locking and keeping your DRM keys I advise waiting until a locked boot-loader root solution is around!
Sonic Dash said:
Hey sensei_sai,
Im unsure if unlocking will erase your data but its always best to backup everything in the internal memory just in case something goes wrong.
Androplus will NOT recover your DRM keys but kernels with DRM fixes try to replicate the features that are permanently lost as a result of unlocking your boot-loader.
In the future it may be possible for you to re-lock the boot-loader but even then this wont restore DRM keys, the only way to restore DRM keys would be to back up your TA partition (This contains your DRM keys) before you unlock your boot-loader but to do this you need root access with your boot-loader still locked.
How to backup TA
Unfortunately at this time nobody has figured out a way to get root with a locked boot-loader although a newly found exploit (Dirty cow) may help us do this very soon so if you care about re-locking and keeping your DRM keys I advise waiting until a locked boot-loader root solution is around!
Click to expand...
Click to collapse
Thanks for your reply.
Too bad for the TA partition.
So we have two possibilities. Take the risk of loose some features forever, but benefit of the root or wait till someone make some magic to use an exploit to obtain root without unlocking the bootloader.
Risk and go... Or wait and safe... Dilemma...
Sent from my Xperia XZ
I think that the era of DRM lock is over, we've been using DRM fixes for all the latest xperia phones, the dirty cow is a bad exploit and it's more dangerous than useful.
I was unsure about unlocking the bootloader but now that I did it, I rooted and I regret nothing, the only downside of unlocking is the warranty loss, but who cares as long as the phone doesn't magically explode.
Venom71 said:
I think that the era of DRM lock is over, we've been using DRM fixes for all the latest xperia phones, the dirty cow is a bad exploit and it's more dangerous than useful.
I was unsure about unlocking the bootloader but now that I did it, I rooted and I regret nothing, the only downside of unlocking is the warranty loss, but who cares as long as the phone doesn't magically explode.
Click to expand...
Click to collapse
Good point for you... I think i will take the risk.
Sent from my Xperia XZ
I'm about to....
sensei_sai said:
Good point for you... I think i will take the risk.
Sent from my Xperia XZ
Click to expand...
Click to collapse
caqo71 said:
I'm about to....
Click to expand...
Click to collapse
OK, so did the bootloader unlock erase your data? Did you use the sony way or Flashtool?
I wrote a complete guide just here : https://forum.xda-developers.com/xperia-xz/how-to/how-to-unlock-bl-kernel-twrp-root-t3541648
Please use the search
nathan30 said:
I wrote a complete guide just here : https://forum.xda-developers.com/xperia-xz/how-to/how-to-unlock-bl-kernel-twrp-root-t3541648
Please use the search
Click to expand...
Click to collapse
Thank you, I've seen that guide, seems like it's not possible to unlock bootloader without factory reset.
tempurastyle said:
Thank you, I've seen that guide, seems like it's not possible to unlock bootloader without factory reset.
Click to expand...
Click to collapse
Yes, it's not possible
tempurastyle said:
Thank you, I've seen that guide, seems like it's not possible to unlock bootloader without factory reset.
Click to expand...
Click to collapse
Yes, but it worth it!! Save all your datas and go for it!

Current Method for Backing Up Drm keys,Rooting and Restoring fully E6653?

I have a few questions as I understand the Z5 rooting process is very different from the Z1. I am still under warranty by some months so would like to ensure I can still restore back to claim warranty if needed.
Is it currently possible to backup the ta, drm keys, root, unlock bootloader, install recovery and have the option of fully restoring if warranty is needed?
What is actually lost if the drm keys are not backed up and lost? I heard it can cause camera problems. Does it cause these?
My main reason for wanting root is more control, freezing apps, and backing up apps etc but as it seems so complicated I am wondering if its worthwhile. I wish I had known it was so complicated before I bought this phone.
What is the current method people use to root, I currently have android 7.1.1.
I keep reading conflicing instructions that say the e6653 is not possible to be rooted as the bootloader cannot be unlocked but my device says bootloader can be unlocked and people saying the root method for e6653 is not a full root.
Any help would be appreciated as it would be great for some more info before I attempt anything.

Unlocked the BL without backing up TA Partition on my XA2 ULTRA..! Any suggestions ?

I know about the TA partition containing the DRM keys and backing it up from my previous XPERIA PHONES experience. However this time, I just unlocked the BL without thinking about TA backup :crying:. I tried to find some forums on it for XA2 ULTRA, but there is no specific well detailed thread on TA Partition backup for XA2 ULTRA. So what is the deal now? Have I lost my DRM keys + official SONY WARRANTY?:silly: Is there any workaround of restoring these DRM KEYS + TA partition? Shall I root first before doing so or anything else?
As far as I know, once you unlock the bootloader, they're gone and there's no way to get them back, but also you're not missing much, but you are definitely no longer in warranty.
roirraW "edor" ehT said:
As far as I know, once you unlock the bootloader, they're gone and there's no way to get them back, but also you're not missing much, but you are definitely no longer in warranty.
Click to expand...
Click to collapse
But I also didn't find any forum pertaining to XA2 ULTRA's TA Partition backup before unlocking the BL. Anyways. I think if you flash the original ROM back again, the DRM keys are included in it. May be. I am not sure.
noob_coder said:
But I also didn't find any forum pertaining to XA2 ULTRA's TA Partition backup before unlocking the BL. Anyways. I think if you flash the original ROM back again, the DRM keys are included in it. May be. I am not sure.
Click to expand...
Click to collapse
The ROM won't re-lock the bootloader, there's no way to re-lock the bootloader, and unlocking the bootloader is what scraps the DRM keys. Sony's site where you get the code for unlocking your bootloader using your IMEI makes it clear that it's permanant. I'm under the impression that the DRM keys are different for everyone's phone, so they won't be in the stock ROM that everyone can download and reflash.
roirraW "edor" ehT said:
The ROM won't re-lock the bootloader, there's no way to re-lock the bootloader, and unlocking the bootloader is what scraps the DRM keys. Sony's site where you get the code for unlocking your bootloader using your IMEI makes it clear that it's permanant. I'm under the impression that the DRM keys are different for everyone's phone, so they won't be in the stock ROM that everyone can download and reflash.
Click to expand...
Click to collapse
Who gives the F anyways? I bought the phone from one country and will be taking it to another country, so there is not even a single point of reconsidering back the DRM keys + Sony's official Warranty. I hope this device would last 2 years without any problems.

Categories

Resources