To all master, I have confusing case (on my own). I read almost all thread in how to get root xperia X. What I can conclude in order to get root are :
1. Backup DRM (but only for MM, not for N)
2. Unlock bootloader (but i will lost DRM keys and X-reality etc will not work)
3. Flash custom kernel / rom
4. Rooted
5. Profit
But i'm currently in 333 where I cant backup DRM (I don't want to lose it). So I wont unlock bootloader cause i dont want to lose DRM keys.
And my last chance is downgrade to MM right ?
Can I downgrade with locked bootloader ? Will I lose DRM after downgrade ?
Thanks for your help !
note : back in my old device, root is just one click away and all set
You can use the dirty cow exploit to backup your TA partition / drm keys, but you need to downgrade to MM first, since dirty cow got fixed in N. With Flashtool downgrading is possible, without unlocking your bootloader or losing your drm keys. With custom roms you can often flash a drm fix or a kernel with a built in drm fix, which restore most of the drm functions.
Related
I'll try and keep this short and to the point.
Currently running stock .290 firmware and wanting to root it, preferably without flashing a pre-rooted firmware, and without losing DRM keys.
Now if i want to root it according to this thread, i will need to unlock the Bootloader first:
"You'll have to unlock the bootloader if you want to root the .290 firmware (Android 4.3)."
and then root it via this, before i can run TA Backup to backup my DRM keys
What I'm confused about though, is that once the Bootloader is unlocked I lose my DRM Keys (as per this thread, and many other comments)
"The TA partition contains all your DRM keys for the Bravia/X-Reality Engine.
The first time you mess with your phone by unlocking the bootloader, these DRM keys will be deleted!"
The general consensus with regards to the proper order is:
1. Root
2. TA backup
3. Unlock bootloader
However for .290 it seems to be:
1. Unlock bootloader
2. Root
3. TA backup (if there is even anything left to backup?)
I guess what I'm wondering is if there is anyway to root .290 directly without first unlocking the Bootloader (and thus losing my DRM Keys), and without flashing pre-rooted firmware?
Or do i have this completely wrong, and by unlocking my Bootloader first, I won't lose my DRM Keys (contrary to what the linked thread above says)?
Thanks!
djyoshii said:
I'll try and keep this short and to the point.
Currently running stock .290 firmware and wanting to root it, preferably without flashing a pre-rooted firmware, and without losing DRM keys.
Now if i want to root it according to this thread, i will need to unlock the Bootloader first:
"You'll have to unlock the bootloader if you want to root the .290 firmware (Android 4.3)."
and then root it via this, before i can run TA Backup to backup my DRM keys
What I'm confused about though, is that once the Bootloader is unlocked I lose my DRM Keys (as per this thread, and many other comments)
"The TA partition contains all your DRM keys for the Bravia/X-Reality Engine.
The first time you mess with your phone by unlocking the bootloader, these DRM keys will be deleted!"
The general consensus with regards to the proper order is:
1. Root
2. TA backup
3. Unlock bootloader
However for .290 it seems to be:
1. Unlock bootloader
2. Root
3. TA backup (if there is even anything left to backup?)
I guess what I'm wondering is if there is anyway to root .290 directly without first unlocking the Bootloader (and thus losing my DRM Keys), and without flashing pre-rooted firmware?
Or do i have this completely wrong, and by unlocking my Bootloader first, I won't lose my DRM Keys (contrary to what the linked thread above says)?
Thanks!
Click to expand...
Click to collapse
No.
You need to downgrade to 532 root, backup ta, unlock bootloader then update.
Sent from my C6833 using XDA Premium 4 mobile app
SpyderTracks said:
No.
You need to downgrade to 532 root, backup ta, unlock bootloader then update.
Sent from my C6833 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Seems I'm really left with no option then.
In that case, are DRM keys linked to the hardware or firmware? In other words, by flashing the pre-rooted firmware will i still keep my original DRM keys? Or will I have new DRM keys, belonging/linked to said pre-rooted firmware?
djyoshii said:
Seems I'm really left with no option then.
In that case, are DRM keys linked to the hardware or firmware? In other words, by flashing the pre-rooted firmware will i still keep my original DRM keys? Or will I have new DRM keys, belonging/linked to said pre-rooted firmware?
Click to expand...
Click to collapse
AFAIK, it's only connected to xreality and a couple of other bits. More importantly it does have an effect on some streaming apps like netflix which will only work with drm. Think there may be a workaround for that on xda somewhere.
Also, if you lose drm and cannot restore the ta partition in event of breakage, then warranty is void.
Worth backing up I'd say if only for warranty purposes.
Sent from my C6833 using XDA Premium 4 mobile app
Like Spyder says, downgrade to 532 with Flashtool (no root or anything is needed), root it (it's very simple), backup TA (even simpler), unlock your bootloader, update to 290 again and root it (it's pretty simple with an unlocked bootloader).
If you regret it all and you want to re-lock the bootloader, be sure to be on a stock ROM with stock kernel and restore TA with the same tool you used to back it up with. This will also re-lock the bootloader. If you re-lock it on a custom kernel, your Ultra will not function. It will not reboot, and all you'll be left with is a blinking red LED over the screen. IF this happens, be sure to unlock the bootloader again, and it'll boot normally again.
You only have to backup the TA partition once, so if you choose to restore it and you want to unlock the bootloader yet again down the road, then just unlock it. You have the DRM keys, so you're safe. Be sure to back them up in the cloud too (Drive, Dropbox etc.) in case your computer crashes or you simply forget the DRM keys are there.
I wrote a guide on all this stuff, so take a look at it here.
You'll need to follow:
- Downgrading
- Rooting
- Backup TA Partition
- Unlocking the bootloader
After that, just download a 290 FTF and repeat step one (downgrading, but only with 290). Then when you're on 290, follow the guide you've already found. You can also flash Recovery/TWRP by following the short "Recovery and TWRP" section.
Good luck!
I've seen multiple threads on rooting the device both here and on other sites and all of them conveniently leave out mentioning the fact that you're irreversibly ****ed if you don't backup your DRM keys first.
With DRM keys, I find the thread for Backup TA only to be told the tool is no longer maintained, and I haven't come across anything else that's similar.
The instructions for Backup TA say that you need the device to be rooted in order to perform a backup. If I understand correctly, rooting requires unlocking the bootloader first - and doing that will invalidate the keys, so epic Catch 22 right there.
And yes, I know that this question has been asked before, but I'm looking to see if there is anything new as of today, i.e. July 2nd 2015 that is specifically applicable to the very latest firmware. So is it possible to root the device without losing DRM keys or having to downgrade to last year's firmware first?
If you download an app called "kingroot" I think, you will be able to root on the latest firmware, however, there are roumors who says that this method sends your IMEI to a company in Japan or China or something.
Sent from my D6503 using XDA Free mobile app somewhere in Norway
You could just download some older firmware, install it without unlocking the bootloader. Then root the device using some other method (because on older firmware there were exploits available) and backup the TA partition (DRM keys) right away. Then you're able to wipe the device again, install the latest LP firmware and be happy with a backup
KaiserSnorezay said:
I've seen multiple threads on rooting the device both here and on other sites and all of them conveniently leave out mentioning the fact that you're irreversibly ****ed if you don't backup your DRM keys first.
With DRM keys, I find the thread for Backup TA only to be told the tool is no longer maintained, and I haven't come across anything else that's similar.
The instructions for Backup TA say that you need the device to be rooted in order to perform a backup. If I understand correctly, rooting requires unlocking the bootloader first - and doing that will invalidate the keys, so epic Catch 22 right there.
And yes, I know that this question has been asked before, but I'm looking to see if there is anything new as of today, i.e. July 2nd 2015 that is specifically applicable to the very latest firmware. So is it possible to root the device without losing DRM keys or having to downgrade to last year's firmware first?
Click to expand...
Click to collapse
You have it confused. Rooting using exploits like towel root or kingroot doesn't unlock your bootloader and you dont loose your DRM keys. If you want to unlock your bootloader you will have to goto Sony website and type in your IMEI and follow a procedure.
Try the steps mentioned in this link, it'll help you root your phone without unlocking your boot loader. Once you have root and recovery, you can go to recovery and backup only the TRIM Area which is the TA partition.
http://forum.xda-developers.com/xperia-z2/development/stock-d6502-6503-23-1-1-28-complete-t3104145
Hello,
I am new to this forum and rooting procces, I've read some threads and didn't understand few things.
So, my questions are:
1. Is it possible to root phone without unlocking bootloader and losing DRM keys?
2. If it isn't,is there a way to backup DRM keys and restore them after rooting?
3. If I am able to root without unlocking bootloader will I still get OTA updates and if I do, will OTA update delete my root status?
Sorry if these questions were already asked in other thread, I was searching a bit and couldn't find any of those. Hope you can help me out.
Thank you in advance and have a nice day
1. Yes it is although you do need some time to do it. It's not difficult though.
2. As soon as you root, you can take a ta backup(which requires a few clicks and about 2 minutes of your time).
3. You won't be able to use Ota (even if you are which you most likely won't, it is recommended that you DO NOT use it).
cindra said:
1. Is it possible to root phone without unlocking bootloader and losing DRM keys?
2. If it isn't,is there a way to backup DRM keys and restore them after rooting?
3. If I am able to root without unlocking bootloader will I still get OTA updates and if I do, will OTA update delete my root status?
Sorry if these questions were already asked in other thread, I was searching a bit and couldn't find any of those. Hope you can help me out.
Thank you in advance and have a nice day
Click to expand...
Click to collapse
1.-Yes, the method is called "Downgrading". I go back to 4.4.2 (Build number 314) and use the older XZDR (Xperia Z Dual Recovery). It will temporarily root to install the recovery. When the phone reboots you can install a custom ROM or whatever to get Lollipop with Root and Recovery
2.-After rooting on 4.4.2 you can do a backup of the DRM Keys
3.-Just because you have rooted your phone you will no longer be able to get OTA updates for the Android system itself. OTA will show a random error message and PC Companion will refuse because of the modified software.
Ok, thank you for answers
Is there any 6+ Android build that is pre-rooted or is it better to stick with 5.1.1 rooted?
Alo, I've heard that cam quality could drop after rooting or unlocking bootloader, is it true?
cindra said:
Ok, thank you for answers
Is there any 6+ Android build that is pre-rooted or is it better to stick with 5.1.1 rooted?
Alo, I've heard that cam quality could drop after rooting or unlocking bootloader, is it true?
Click to expand...
Click to collapse
Stick with android 5.1.1 for now.
And yes, cam quality WILL DROP, but only after UNLOCKING YOUR BOOTLOADER. Rooting alone won't hurt your cam quality.
Mokiwipeout said:
Stick with android 5.1.1 for now.
And yes, cam quality WILL DROP, but only after UNLOCKING YOUR BOOTLOADER. Rooting alone won't hurt your cam quality.
Click to expand...
Click to collapse
Ok, so I was thinking a lot if I should root or not. I decided to root. So just to clarify some things. If I use comunity root with downgrading,will it keep my DRM keys? If yes, I backup TA partition when rooted and then I can proceed with BL unlocking. Can I restore DRM keys to a custom ROM? Do you have any good custom ROM suggestion for me and is it better to use odexed or deodexed ROM?
I saw also saw this thread, hope it works so I won't be losing any camera quality.
That should be all.
Thank you in advance.
Have a nice day .
If you do NOT UNLOCK your bootloader, you wont lose your drm keys. (this is why after rooting using this method you can actually backup your drm keys, which you MUST DO no matter what).
When you restore your drm keys, you actually RELOCK your bootloader, so you must be on a stock based custom rom, and not using a custom kernel, otherwise you will simply brick your device.
Odexed or deodexed rom is purely personal preference, the difference being that deodexed ROMs allow for more customization (which is not necessary though). Regarding this, it doesn't really matter whether it is deodexed or not, so keep this in mind.
I cannot suggest a rom and I would advise against asking which rom is the best, because it is against the forum's rules.
Mokiwipeout said:
If you do NOT UNLOCK your bootloader, you wont lose your drm keys. (this is why after rooting using this method you can actually backup your drm keys, which you MUST DO no matter what).
When you restore your drm keys, you actually RELOCK your bootloader, so you must be on a stock based custom rom, and not using a custom kernel, otherwise you will simply brick your device.
Odexed or deodexed rom is purely personal preference, the difference being that deodexed ROMs allow for more customization (which is not necessary though). Regarding this, it doesn't really matter whether it is deodexed or not, so keep this in mind.
I cannot suggest a rom and I would advise against asking which rom is the best, because it is against the forum's rules.
Click to expand...
Click to collapse
Thank you for answer. If i use this method will it keep my bootloader locked (Will DRM keys stay on phone?).
Look.
Your bootloader cannot be "accidentally" unlocked. You have to get the bootloader unlock code by YOURSELF. A program wont do it on its own.
So don't worry, even if the method you chose to root the device requires an unlocked bootloader, it will be stated since you have to do it manually.
Plus, rooting a device with an unlocked bootloader simply requires installing a custom kernel(which has a recovery too) and then flashing a zip file that will root the phone.
Mokiwipeout said:
Look.
Your bootloader cannot be "accidentally" unlocked. You have to get the bootloader unlock code by YOURSELF. A program wont do it on its own.
So don't worry, even if the method you chose to root the device requires an unlocked bootloader, it will be stated since you have to do it manually.
Plus, rooting a device with an unlocked bootloader simply requires installing a custom kernel(which has a recovery too) and then flashing s zip fike that will root the phone.
Click to expand...
Click to collapse
Thank you very much and sorry for so stupid questions, I am new to this and just want to be sure
Hey all
New to the Z5C and just wondering what the go is with the TA keys?
I know with the Z3C (Previous phone) you had to backup the TA keys or you lost them forever, is this the same with the Z5?
If I were to unlock the bootloader would I loose the DRM keys forever like the previous models, or can they be recovered by re flashing a firmware file?
Thanks
nzzane said:
Hey all
New to the Z5C and just wondering what the go is with the TA keys?
I know with the Z3C (Previous phone) you had to backup the TA keys or you lost them forever, is this the same with the Z5?
If I were to unlock the bootloader would I loose the DRM keys forever like the previous models, or can they be recovered by re flashing a firmware file?
Thanks
Click to expand...
Click to collapse
You will lose your drm keys. There is tool which you can take backup from your drm keys. now there is also possibility to restore drm keys (emulate them) like on previous models.
This
http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
Also kernels like androplus kernel and xpower rom contains drm restore by default
If phone needs repairing under warranty i think you need ta-backup
Not that I ever bothered with backing them up but yes it's the same with the Z5C too. Once you unlock the bootloader it'll wipe the TA partition too along withDRM keys so better back it up if you want to hold on to your warranty and whatever Sony proprietary features on the stock ROM. And if you happen to lose the DRM keys do not try to flash someone else's on to yours otherwise it'll be an epic brick.
Also if you do happen to lose your DRM keys you can still enable the sony features with custom Roms/kernel available.
Sent from my E5823 using Tapatalk
Can anyone tell us if reflashing the stock rom over a custom rom will reinstate the LOCKED BOOTLOADER and the DRM KEYS!
Your help is always appreciated, Thanks in advance.
Will not reinstall them. After unlocking of bootloader DRM keys are gone forever. The only way to keep DRM keys is before unlocking of bootloader to make backup of TA partition.
valyo_bg said:
Will not reinstall them. After unlocking of bootloader DRM keys are gone forever. The only way to keep DRM keys is before unlocking of bootloader to make backup of TA partition.
Click to expand...
Click to collapse
Every thread i have been on, require us to root the device first!
So does that mean we cant backup TA Partition for DRM KEYS? As for root bootloader should be unlocked for this device.
With Lollipop phone can be rooted without unlocking of boot loader. Then you can make backup of TA partition. After backup phone can be upgraded to Marshmallow, then bootloader can be unlocked and phone rooted. In fact my phone also is rooted, I don't need DRM keys and don't make backup of TA partition. Why you need backup of DRM keys?
valyo_bg said:
With Lollipop phone can be rooted without unlocking of boot loader. Then you can make backup of TA partition. After backup phone can be upgraded to Marshmallow, then bootloader can be unlocked and phone rooted. In fact my phone also is rooted, I don't need DRM keys and don't make backup of TA partition. Why you need backup of DRM keys?
Click to expand...
Click to collapse
Thanks for such a fast response.
The reason is because i really want to root my device. But people over net sometimes complain for issues at camera(quality reduction and non functionality) after unlocking bootloader. I dont even know if these are really related. I just wanted to be ready if anything happens.
Please tell having a TA BACKUP for DRM, is that necessary or not. And TA BACKUP from my lollipop will work at my marshmallow as well ryt!
My phone is rooted and don't find any quality problem with camera or something else .