DRM Key backup and Root for the XZP? - Sony Xperia XZ Premium Questions & Answers

Does anyone have any idea if we'll ever get the ability to do a DRM key backup, root and DRM key restore on on XZP?
I absolutely love this phone but not having root is killing me...

Unlocking the bootloader and getting root has been achievable since day one.
You can forget about the DRM keys backup though.
I was going to ask you how you missed the thread called "Root Achieved" but then I saw you were on mobile so eh.

Thanks for the reply. I know root has been achievable for ages but I'm not gong to root without a way to backup the DRM keys or patch around them. I'm not losing camera functionality on a $800 phone.
So still waiting for Tobias or someone else to make a method like on the Z5.

Have fun waiting I guess.
Also, the backup tool doesn't even work on Nougat so there's another problem.
Two problems that is unlikely to be solved in the near future.

leijonasisu said:
Does anyone have any idea if we'll ever get the ability to do a DRM key backup, root and DRM key restore on on XZP?
I absolutely love this phone but not having root is killing me...
Click to expand...
Click to collapse
When I got my X Performance last year, I waited about three months to unlock it, due to the lack of temporary root exploit to run the backup of TA partition, but the tool for that was developed, and finally I was able to do things the right way!
Xperia devices, imo, are "camera phones", also, I do not like to lose their main functionality/differential (root can wait).
It sounds like now sony has just changed the way drm keys are stored and wiped after the device is unlocked, so it will be a bit difficult to achieve this, but not impossible!
Anyway, it's up to you mate. For now, enjoy your powerful device with stock camera!!

serajr said:
When I got my X Performance last year, I waited about three months to unlock it, due to the lack of temporary root exploit to run the backup of TA partition, but the tool for that was developed, and finally I was able to do things the right way!
Xperia devices, imo, are "camera phones", also, I do not like to lose their main functionality/differential (root can wait).
It sounds like now sony has just changed the way drm keys are stored and wiped after the device is unlocked, so it will be a bit difficult to achieve this, but not impossible!
Anyway, it's up to you mate. For now, enjoy your powerful device with stock camera!!
Click to expand...
Click to collapse
Missed your updated xposed modules on my x. They were crucial for Z and Z3 haha. You're right, this beast is not that bad without root. Some non root tweaks here and there make the experience bearable.
But when root becomes a win win solution for XZp and xposed available for n / o, I'm expecting to see some of that quality work of yours on the repo. I'll be within the firsts to bootloop... I mean test haha ?
Glad you're on XZp dev side.

I'm definitely not rooting just to lose the camera. It's one of the main reasons why I bought this phone. Hopefully someone works out how to root the phone and keep the DRM keys intact. I'll come back every month and see how things go.

Now with recovery we can flash all the amazing sound mods, magisk + modules.
Root <3.

I'm also holding out on getting new Sony devices to replace my Z5P, I refuse to use a phone without Adaway (and friends).

In my opinion keeping the DRM keys so we can enjoy the camera on this great phone is really important. We have DRM backups for the Z, Z1, Z3, Z+ etc. I hope we can get them for the XZP. There has to be a way someone can work out to backup the TA partition before rooting. I'll cross my fingers, because I know that there's never been a case where a device hasn't ended up being totally bypassed. I just hope it won't take too long.

It would be so easy to backup the DRM on this device.
Too bad I'm not really a developer.
Now you have to wait until I learn programming.

lebigmac said:
It would be so easy to backup the DRM on this device.
Too bad I'm not really a developer.
Now you have to wait until I learn programming.
Click to expand...
Click to collapse
If it was "too easy" now we would have the backup. As you can see it isn't.

FartyParty said:
Now with recovery we can flash all the amazing sound mods, magisk + modules.
Root <3.
Click to expand...
Click to collapse
Is it possible to do these without loosing the dm and having to root?

I dont understand why would people wait for DRM backup... I mean even if you do backup your DRM keys, once you restore them your bootloader automatically relocks so you lose root...
if you want aosp roms with google camera, nothing would change because once you root you lose they keys, and only way you can restore them is when you reflash the stock FW version you backed up the DRM keys from.
so yeah, devs already got a drm fix so if your problem is the camera functionality its not gonna work on root even with back up, so you might wanna go back to stock with working camera thats ok, you can flash a stock rom and flash a fix and it works just as good.
unless its warranty thats your problem, then yah you gotta wait for backup, but besides that its really pointless to wait, i mean with drm fix you get full camera functionality on a stock rom plus you got root, plus you get to modify the device as you like so its really not a big deal here, as for AOSP roms with or without backup, camera functionality is not gonna be at its best (unless kernel supports its full potential) again, you can not restore DRM keys to AOSP, you can only restore them once you reflash the FTF you had when you backed up the keys...

madshark2009 said:
unless its warranty thats your problem, then yah you gotta wait for backup, but besides that its really pointless to wait
Click to expand...
Click to collapse
For me, it would be warranty, and resale-value.
You'll have hard times reselling a device that needs special care with every software update released.

Related

Will there be more roms, mods, soon?

I bought the z3 hoping to also have good development like the z2.
I know the device is quite new, can anyone tell me how long it took for the z2 to get much development?
Or is there any reason the z3 will not get as good development?
Thank you all in advance.
Some say it's the bootloader (DRM thing) but you can root without unlocking the bootloader and backup DRM keys.
It could also be that there are some more bugs to be cleaned from CM12 as most ROMs are based off of it, but as I have seen, all CM12 ROMs seem functional.
Perhaps it's not a popular device amongst developers, there isn't CWM or TWRP for any CM based ROM. Only Cyanogen recovery is built into the CM kernel.
I hope there will be more ROMs in development! Like AOKP, Dirty Unicorns and more others. It seems quite empty at the moment.
@Aronuser You just need to have some patience. I guess there will be also a good support but we will see, no one can really say it and how you said the device is actually new.
@squabbi what do you mean with bootloader thing? If I remember right in the past it was always the same: unlocking the BL -> loose DRM keys..
But there is already the chance to root without unlocking the BL and then to do a TA-Backup(in which the DRM keys are included).. so I do not really understand what you mean with it
gripfly said:
@Aronuser You just need to have some patience. I guess there will be also a good support but we will see, no one can really say it and how you said the device is actually new.
@squabbi what do you mean with bootloader thing? If I remember right in the past it was always the same: unlocking the BL -> loose DRM keys..
But there is already the chance to root without unlocking the BL and then to do a TA-Backup(in which the DRM keys are included).. so I do not really understand what you mean with it
Click to expand...
Click to collapse
You can root without unlocking the boot, but then there is no need to backup TA keys
If you then unlock the boot it is advisable to backup the DRM keys, but you cannot restore them whilst the boot is unlocked as restoring them automatically relocks your boot.
SO if you want CM or other AOSP roms then you have to lose the DRM keys. Restoring them will mean you can only boot a stock sony rom
gregbradley said:
You can root without unlocking the boot, but then there is no need to backup TA keys
If you then unlock the boot it is advisable to backup the DRM keys, but you cannot restore them whilst the boot is unlocked as restoring them automatically relocks your boot.
SO if you want CM or other AOSP roms then you have to lose the DRM keys. Restoring them will mean you can only boot a stock sony rom
Click to expand...
Click to collapse
Yeah that's more or less what I wanted to say, may I didn't wrote it as well. But that's nothing new and was minimum since the Z series launched by SONY a "problem".
But if he thought about this then(or than?) I might didn't understand it as he wanted to say it.

Root E6653 Running Firmware 32.1.A.1.185

I'm really hoping I can be hand-held here in rooting my E6653. I've been out of the rooting game for a while and the Z5 digging through guides and threads looks like a whole lot harder process!
What's the process I have to use get my phone rooted? I understand that I need to unlock the bootloader, which I'm comfortable in doing myself. I can see a downgrade will more than likely be required. Sorry for the noob questions, but I just want to make sure I'm performing the correct rooting process.
I really only want to root my phone to have the ability to use Viper4Android, otherwise I'm truly happy with the phone as it is.
Raysie said:
I'm really hoping I can be hand-held here in rooting my E6653. I've been out of the rooting game for a while and the Z5 digging through guides and threads looks like a whole lot harder process!
What's the process I have to use get my phone rooted? I understand that I need to unlock the bootloader, which I'm comfortable in doing myself. I can see a downgrade will more than likely be required. Sorry for the noob questions, but I just want to make sure I'm performing the correct rooting process.
I really only want to root my phone to have the ability to use Viper4Android, otherwise I'm truly happy with the phone as it is.
Click to expand...
Click to collapse
Permanent Root is only available for UB only.
Currently UB poses problems with its DRM keys being lost forever.
You'll lose normal functions with the Camera, Bravia Engine, TrackID.. etc. dependent on the DRM keys stored on TA partition.
Before you perform UB you should backup your TA partition. using iovyroot. Better got a backup than sorry.
(http://forum.xda-developers.com/crossdevice-dev/sony/iovyroot-temp-root-tool-t3349597)
There are work around with the DRM problems, still it's better that you have a copy of the original TA you have on you device.
After that you can search for any possible ways to root your device.
Rooting UB: http://forum.xda-developers.com/xperia-z5/development/summary-rooting-z5-t3232042

Is it worth rooting the OnePlus 7?

Hi All.
I've got a OP 7 Pro which for the most part, am loving it, except the camera (Messing with GCam ports atm).
I usually root my handsets for the usual de-bloat / custom rom reasons. The last OnePlus I had, I rooted and installed TWRP. Didn't have much success with custom roms so ended up running pretty much stock (but could no longer update OTA for some reason). Since OP don't put loads of bloatware on, I din't mind so much, although I do like to mess around. I really want to be able to do full nand backup which requires unlocked bootloader = all data gone. I can handle reinstalling apps etc but loosing Google Authenticator is a pain in he ass. Do you guys think it is worth rooting at all? Is there a full backup technique that doesn't rquire unlocking bootloader / loosing current data?
I'm not particualrtly hopeful but any suggestions would be appreciaed.
Thanks.
Answered numerous times already. Please use the search box. https://forum.xda-developers.com/oneplus-7-pro/help/worth-rooting-days-gain-t3937894
Root is a good way to start the new year on XDA! ??
Love root!!!
Short answer, yes
I have lived fine without rooting for years.
Have not bricked my device once since I stopped rooting, but why ask here ? People come here just to root devices, try ROMs, Kernels, Mods ....... This place is biased and they will tell you rooting in great everytime
hallo dare said:
Answered numerous times already. Please use the search box. https://forum.xda-developers.com/oneplus-7-pro/help/worth-rooting-days-gain-t3937894
Click to expand...
Click to collapse
I read the thread you linked to. Nowhere do I see it discussing:
What all will be LOST by rooting besides Netflix 720P. (ie google pay etc and yes I know magisk has a "hide" feature but it fails on several common apps)
How the root can be accomplished without losing data or with a method to restore data lost from bootloader unlock.
Both questions were asked by the op in the original post.
Would like to know this too. I haven't rooted a device for many years, because I need the use of banking apps and Google Pay is my main (sometimes only) method of payment.
How reliable is custom kernels from hiding root?
famewolf said:
I read the thread you linked to. Nowhere do I see it discussing:
What all will be LOST by rooting besides Netflix 720P. (ie google pay etc and yes I know magisk has a "hide" feature but it fails on several common apps)
How the root can be accomplished without losing data or with a method to restore data lost from bootloader unlock.
Both questions were asked by the op in the original post.
Click to expand...
Click to collapse
I have my OnePlus 7 Pro rooted just following the guides on here and my phone still has functioning Google Pay and full quality Netflix.
Pokemon Go was trickier to get it to not recognize the root, I had to setup Magisk Manager a specific way besides just hiding root from the app but other than that everything works great.
QuintonAjStevens said:
I have my OnePlus 7 Pro rooted just following the guides on here and my phone still has functioning Google Pay and full quality Netflix.
Pokemon Go was trickier to get it to not recognize the root, I had to setup Magisk Manager a specific way besides just hiding root from the app but other than that everything works great.
Click to expand...
Click to collapse
How u have hd quality on netflix?This is not possible because when u unlock bootloaded u lose drm for hd.
johnnyman25 said:
How u have hd quality on netflix?This is not possible because when u unlock bootloaded u lose drm for hd.
Click to expand...
Click to collapse
Whoops. Didn't realize this was such a big problem. I assumed it was in full quality as I only tested it, but don't regularly use Netflix on my phone. After digging into the app it says I have Widevine L3 and can use only SD with no HDR.

Just bought a P3A, do I update prior to rooting

I will take delivery of a new Pixel 3a later this week. I will thoroughly read through “How to root the Pixel 3a with or without twrp & take OTA updates once rooted” and “How to Root Your Pixel 3a and Install Magisk (on Pie & Q) with or without TWRP”. But before unlocking bootloader and rooting should I accept all updates first during the initial setup?
MrTooPhone said:
I will take delivery of a new Pixel 3a later this week. I will thoroughly read through “How to root the Pixel 3a with or without twrp & take OTA updates once rooted” and “How to Root Your Pixel 3a and Install Magisk (on Pie & Q) with or without TWRP”. But before unlocking bootloader and rooting should I accept all updates first during the initial setup?
Click to expand...
Click to collapse
Yes
bejunk said:
Yes
Click to expand...
Click to collapse
Thanks. The little reading I have done so far, it sounds like you can not flash or boot TWRP in Android 10. Won't all the updates take me to 10? I will want to back up my ROMs.
MrTooPhone said:
Thanks. The little reading I have done so far, it sounds like you can not flash or boot TWRP in Android 10. Won't all the updates take me to 10? I will want to back up my ROMs.
Click to expand...
Click to collapse
Oh, i forgot as i dont use TWRP anymore.
Yes TWRP only works on Android 9.
However you can't install it like in the past time. You can only boot it via fastboot. You need to do this everytime you want to use TWRP. However when i tried it in past times it did not work well afaik, a full backup did not work at all.
So yeah try it with Android 9 first.
But with all the google backups nowadays i dont have the need for a nandroid (twrp backup)...
Especially as you can just reflash the stock image with deleting /data.
Here is the main thread, i think it will be more helpfull than i am https://forum.xda-developers.com/pixel-3a/development/twrp-3-3-1-pixel-3a-t3943413
The very first thing to do is minimal setup so you can enable developer settings and allow bootloader unlocking. That's a sticky setting, so then you can update, factory reset, etc. before actually unlocking the bootloader and rooting. Especially important if you're US/Verizon (don't put your SIM in until bootloader unlocking is enabled).
mike.s said:
The very first thing to do is minimal setup so you can enable developer settings and allow bootloader unlocking. That's a sticky setting, so then you can update, factory reset, etc. before actually unlocking the bootloader and rooting. Especially important if you're US/Verizon (don't put your SIM in until bootloader unlocking is enabled).
Click to expand...
Click to collapse
Thanks. So I read the two rooting threads I referenced above. I have always used TWRP in the past, but seeing it not supported in Android 10, I am considering skipping that. Do you think TWRP will support Android 10 in the future? I am a little nervous making changes without a backup. My plan would be to stick with a rooted stock at first than consider migrating to a custom ROM. Any recommendations are appreciated. Phone will be delivered tomorrow.
bejunk said:
But with all the google backups nowadays i dont have the need for a nandroid (twrp backup)...
Click to expand...
Click to collapse
I am not sure what you mean by "google backups nowadays". Is it the availability of stock ROMs?
MrTooPhone said:
I am not sure what you mean by "google backups nowadays". Is it the availability of stock ROMs?
Click to expand...
Click to collapse
No , I think most people use a TWRP backup because it restores you to a specifiic point with all your apps, user settings and your data in those apps.
Thats why i used it in the past times. Setiing up a phone in the past could be really time consuming and frustrating.
But nowadays, if you use the google backup (in Settings > System > Backup) (and the whatsapp one for messages - thtas the only messenger i use, but every other popular messager has a backup feature now) setting up the phone takes maybe 10 mins when i flash the factory image, it even gets my homescreen layout and my wallpaper back, also my settings. Apps which support that also keep their settings.
In the past i allways had a custom rom, because stock rom sucked. But with the Pixel theres no reason for me to use a custom rom anymore.
About root, i rooted my phone since i first used android, ca. 2010. But now I really dont need it anymore, so i just keep things stock.
---------- Post added at 16:03 ---------- Previous post was at 15:50 ----------
MrTooPhone said:
Thanks. So I read the two rooting threads I referenced above. I have always used TWRP in the past, but seeing it not supported in Android 10, I am considering skipping that. Do you think TWRP will support Android 10 in the future? I am a little nervous making changes without a backup. My plan would be to stick with a rooted stock at first than consider migrating to a custom ROM. Any recommendations are appreciated. Phone will be delivered tomorrow.
Click to expand...
Click to collapse
I dont think TWRP will be supported in the futur on A10. Google locked up /system and some other partitions the TWRP team needs to find new solutions but there id not much hope.
Did you buy your phone unlocked? If yes, the worst part you should be worried about is losing you app data from some apps. You cant really brick your phone. In the worst case you just need to flash a factory image.
You should know that rooting your phone will probably break google pay and banking apps. May i ask what did you want use root for?
I dunno, I really like Lineage OS, but it just feels like a downgraded stock rom.. (I used it before all the time on all phones before getting a pixel).
Also, for every update (monthly) you need to patch your boot.img, flash it, and the apply the update. Its some work which i dont think is worth it anymore.
bejunk said:
May i ask what did you want use root for?
Click to expand...
Click to collapse
Thanks for the detailed reply. I am coming from a MotoG3 (rooted stock), a 2015 era phone. So a lot has changed. I really have not seen a mid range phone I really liked, so I jumped on the P3a when I heard the news they were being discontinued.
I use root mainly for Adfree, SD-Maid, and Titanium Backup. I used to use Cerberus until the developer reneged on a lifetime subscription. I don't mess with the system apps much, but I do keep a few apps frozen except for the times when I seldom need them.
Magisk is the best way to root your phone as it still passes the SafetyNet check and google pay and banking apps continue to work. There is an excellent thread here on how to do it.
[Guide] How to root the Pixel 3a with or without twrp & take OTA updates once rooted
Every month, I "uninstall" magisk (which really just restores the original boot files) and sideload the latest update, then I install the magisk-patched boot.img and my phone is rooted again.
To be honest, I don't miss twrp at all. adb and fastboot are all that's needed. The backup in android 10 is perfectly sufficient.
This phone is practically impossible to brick. I love my Pixel 3a, except for the one problem I had when the bottom speaker died and I had to have it repaired under warranty at the local ubreakifix in less than an hour.
MrTooPhone said:
Thanks for the detailed reply. I am coming from a MotoG3 (rooted stock), a 2015 era phone. So a lot has changed. I really have not seen a mid range phone I really liked, so I jumped on the P3a when I heard the news they were being discontinued.
I use root mainly for Adfree, SD-Maid, and Titanium Backup. I used to use Cerberus until the developer reneged on a lifetime subscription. I don't mess with the system apps much, but I do keep a few apps frozen except for the times when I seldom need them.
Click to expand...
Click to collapse
Yeah, I had that phone too It was pretty good for its time. I even replaced the screen once, but its really complicated on that phone... To your needs:
Adfree: you can setup a custom DNS server (i think it was adguards one) in the settings menu which will block all ads, so no real need anymore for adaway or root for this. Just google a bit.
Titanium backup: I does not work so well is what i heard and like said nowadays most apps backup over Google backup. With Android11 it will get even harder as /data partition is even more protected now. Not really worth it imho.
Froze system apps: Pixel Android is really barebones. The few apps which i dont need (like Google Music/Video PixelBuds app etc) you can just disable them in the settings. This will freeze them, its like uninstalling them, they wont show up at all.
SD Maid is great but only rooting it for using it, is not worth it. You can clear the cache of the apps which hoard a lot of data by yourself. Also, when you uninatll an app, it asks you if you want to delete your userdata as well. The phone takes care of the rest.
Cerberus: If you keep your bootloader locked, when your phone gets stolen, nobody can access your phone. Even if they reflash it, on first boot it will ask to login to the gmail last time set up. Theres no workaroud. Google aslo has a find my device thingy, wher you can track or delete your device remotly.
I would suggest to use your phone unrooted for some time, and if you really need to root it for something, you can still do it.
Welcome to team Pixel, mate!
(sorry my grammer im to lazy to double check it...)
@bejunk Just a not to say thanks again. I took your advice and did not root. However, I did flash with GrapheneOS and then re-locked the bootloader. Time will tell if I like it.

Old OP3 user looking how to root nowadays

Hoi, just got a used SX 5 ii with Android 11. and it got some things that I just find annoying, like how you can't swap the back and recent button, or lock the buttons to always be there, and other small things like that. ik it's a tiny marked, so I don't expect full on roms oc <3
But like, is all this really necessary to root ya phone just so you can use xposed modules (Or what's current, would like some help on that too)?
And oc i'd also like to uninstall all the bloatware.
So, how do you:
Root a XQ-AS52 with build 58.1.A.5.330?
It looks like I have to copy the boot.img myself? How de heck does that happen??
Make small, mainly UI, changes, by maybe installing Xposed modules, or likewise
Any help, even just a yes to the thread does work, would be absolutely lovely! ty :3
Okay. So, lemme give some more deets. The pain I have with finding a way to root this phone is that I know of it having some DRM keys that may or may not affect the camera, and the camera is one of the big reasons I bought the phone. So I don't want it to be irreversibel. But I can't find a straight and up-to-date answer on how to and what to backup so I can replace the DRM key after unlocking the bootloader.
I have been one command from unlocking the bootloader with help from Sony's website. The only thing I missed was typing in the unlock key. I didn't complete it since the sony site said:
...you will not be able to revert the device back to a locked or original state or restore the DRM security keys
Click to expand...
Click to collapse
in a faq.
I really just want to retain full camera functionality, be able to uninstall bloat and use Xposed modules.
I just don't want to proceed with the guide linked in the previous post if i'm not sure what will happen. idk what goes on in a kernel level, I just know that there's more going on than I know

Categories

Resources