Hi guys, i have an idea. Will the idea of unlocking the bootloader and then do the root (with recovery enabled kernel that is) and then relocking (restoring the TA partition first) the bootloader work? I am a little bit confused with the fact about the DRM kind of things, since i don't want to lose it so if we could restore it back later then why this technique was never discussed? Please give me any information :angel:
hansip87 said:
Hi guys, i have an idea. Will the idea of unlocking the bootloader and then do the root (with recovery enabled kernel that is) and then relocking (restoring the TA partition first) the bootloader work? I am a little bit confused with the fact about the DRM kind of things, since i don't want to lose it so if we could restore it back later then why this technique was never discussed? Please give me any information :angel:
Click to expand...
Click to collapse
Oh yeah i forgot.. this trick will not work if you haven't done TA backup wouldn't it? :-/ I have done that before so i guess this idea won't work for anybody without TA backup i guess no?
hansip87 said:
Oh yeah i forgot.. this trick will not work if you haven't done TA backup wouldn't it? :-/ I have done that before so i guess this idea won't work for anybody without TA backup i guess no?
Click to expand...
Click to collapse
flashing the TA partition and locking the bootloader, and then flashing a stock FTF base/firmware will make your device exactly how you bought it.. It will allow x-reality to work in both movies/album, as well as track ID working.
- This technique has been discussed in previous threads.
== Do a search and you will see there is a FTF flashing guide. flashtool guide both in the android development section.
A guide on just about everything in the general section... have a look...
However even an unlocked bootloader will allow the x-reality engine to work with videos. But will stop netflicks from working. So there are probably a few apps out there that need a locked bootloader to work properly.
To have a locked bootloader you need a stock kernel. It will need to be signed, so even a boot.img or kernel.sin would be fine. Just needs to be stock.
- You could Root, backup TA partition, unlock bootloader, and then lock bootloader again. But that still uses a rooting tool.
forgive me if I'm wrong (and someone correct me) but we cant do a TA back up without root.
When I was looking into the ZU the only way to root was to unlock the bootloader then flash a new boot.img (?), this avoided vroot et al, and the issues that we seem to have atm but did mean that the first to root lost their DRM keys (TA partition) with the rooting
blueether said:
forgive me if I'm wrong (and someone correct me) but we cant do a TA back up without root.
When I was looking into the ZU the only way to root was to unlock the bootloader then flash a new boot.img (?), this avoided vroot et al, and the issues that we seem to have atm but did mean that the first to root lost their DRM keys (TA partition) with the rooting
Click to expand...
Click to collapse
yep my bad.. wrong way round.. :good:
blueether said:
forgive me if I'm wrong (and someone correct me) but we cant do a TA back up without root.
When I was looking into the ZU the only way to root was to unlock the bootloader then flash a new boot.img (?), this avoided vroot et al, and the issues that we seem to have atm but did mean that the first to root lost their DRM keys (TA partition) with the rooting
Click to expand...
Click to collapse
You can downgrade to lower firmware anytime without root, than use vroot if you don't mind some risk, than backup TA
Related
Hi all,
I'm getting my new Xperia Z2 (SO-03F) from DoCoMo. It's great but I cannot bear it without root.
After I Googled a ton and read many posts on xda, I finally knew these things:
1. root requires unlock (currently)
2. unlock will lose DRM keys (unless backing up them)
3. backup DRM keys needs root
So I'm falling in an infinite loop. How to root my device WITHOUT lossing DRM Keys? Maybe an root exploit should be found for us to backup TA before unlocking?
I think we should make a HOWTO guide of all the procedures, for the newbies (like me
Thx all.
tyeken8 said:
How to root my device WITHOUT lossing DRM Keys? Maybe an root exploit should be found for us to backup TA before unlocking?
Click to expand...
Click to collapse
For the moment, no way to root without lossing DRM Keys. Maybe an root exploit will be found to backup TA before unlocking, but we don't know it for sure and when...
All you need to know is here.
nreuge said:
For the moment, no way to root without lossing DRM Keys. Maybe an root exploit will be found to backup TA before unlocking, but we don't know it for sure and when...
All you need to know is here.
Click to expand...
Click to collapse
Thank you for reply.
BTW, my phone shows "Bootloader Unlock Allowed: No", can I still unlock it using FlashTool?
tyeken8 said:
Thank you for reply.
BTW, my phone shows "Bootloader Unlock Allowed: No", can I still unlock it using FlashTool?
Click to expand...
Click to collapse
currently no
tyeken8 said:
How to root my device WITHOUT lossing DRM Keys? Maybe an root exploit should be found for us to backup TA before unlocking?
I think we should make a HOWTO guide of all the procedures, for the newbies (like me
Thx all.
Click to expand...
Click to collapse
I leave this link which tells you how to do it, although it is in Spanish, you can I use a translator .sorry due the forum rules I can not post links.
1º-go to "htcmania" (spanish forum)>Sony Xperia Z1>ROMS y desarrollo Xperia Z1>/showthread.php?t=746342
Although this tutorial is for z1, z2 serves well for
I have read DRM function restoreration for UB thread and have some question . My z2 is unlock bootloader and lose Drm function like x-reality and Bionz if i follow these step
1. Relock bootloader using flashtool
2. Flash FW 17.1.A.2.69 ftf with TA partition with full wipe
3. Reboot
Is drm function will be restore? Because i didn't care about unlockbootloader and sony warranty I just want X-Reality,Vivid,and Bionz came back. and if this work can i flash 4.4.4 after.
e.g. Sorry for my bad english
does you have backup your ta file before you unlock your bootloader?
muhammadnajmi96 said:
does you have backup your ta file before you unlock your bootloader?
Click to expand...
Click to collapse
No,I didn't back up it
armmiehidetoz said:
No,I didn't back up it
Click to expand...
Click to collapse
try to take a look at this http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
muhammadnajmi96 said:
try to take a look at this http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
Click to expand...
Click to collapse
This will only allow restore certain features (X-Reality, Noise cancelling etc) - It won't allow apps that require the DRM keys to be present to actually be used, so far this seems to be the Playstation/Remote Play apps.
Goldfire said:
This will only allow restore certain features (X-Reality, Noise cancelling etc) - It won't allow apps that require the DRM keys to be present to actually be used, so far this seems to be the Playstation/Remote Play apps.
Click to expand...
Click to collapse
yes , i know. but he only said that he only want x-reality, noise cancelling feature back on his phone. this is the only way since he doesnt backup his ta file .
muhammadnajmi96 said:
yes , i know. but he only said that he only want x-reality, noise cancelling feature back on his phone. this is the only way since he doesnt backup his ta file .
Click to expand...
Click to collapse
Yes ,i have read this thread one.By this step will be relock and then unlcok bootloader again
but if i didn't want unlockbootloader again and flash fix file. If i only relock and flah tft with TA partitipn like thay said . May this can be work?(Sorry for bad english)
muhammadnajmi96 said:
yes , i know. but he only said that he only want x-reality, noise cancelling feature back on his phone. this is the only way since he doesnt backup his ta file .
Click to expand...
Click to collapse
Yep, I'm leaving that info there for other users that want to restore their DRM keys.
armmiehidetoz said:
Yes ,i have read this thread one.By this step will be relock and then unlcok bootloader again
but if i didn't want unlockbootloader again and flash fix file. If i only relock and flah tft with TA partitipn like thay said . May this can be work?(Sorry for bad english)
Click to expand...
Click to collapse
The mod linked above doesn't relock the bootloader, it just restores some features.
If you want to relock your bootloader, you'll need to flash the original kernel. More info here: http://forum.xda-developers.com/showthread.php?p=52567280#post52567280
Search also returns quite a few threads with more info.
Goldfire said:
Yep, I'm leaving that info there for other users that want to restore their DRM keys.
The mod linked above doesn't relock the bootloader, it just restores some features.
If you want to relock your bootloader, you'll need to flash the original kernel. More info here: http://forum.xda-developers.com/showthread.php?p=52567280#post52567280
Search also returns quite a few threads with more info.
Click to expand...
Click to collapse
Thank you for help. I have a question If i relock by this step, will my function(x-reality,vivid,BionZ) restore?
armmiehidetoz said:
Thank you for help. I have a question If i relock by this step, will my function(x-reality,vivid,BionZ) restore?
Click to expand...
Click to collapse
Nope, even after relocking the bootloader, the features you listed still require the original and unique DRM keys to function - the only real way to restore their functionality properly is either by the mod above or restoring the TA partition that held the DRM key info.
Goldfire said:
Nope, even after relocking the bootloader, the features you listed still require the original and unique DRM keys to function - the only real way to restore their functionality properly is either by the mod above or restoring the TA partition that held the DRM key info.
Click to expand...
Click to collapse
Thank for very helpful! Finally i got back x-reality,vivid ,and BionZ by http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672 .As you said when i relock and flash .69 with TA its work but when i update to .167 its broke again so i unlockbootloader again and follow this step thank for very help again:good:
armmiehidetoz said:
Thank for very helpful! Finally i got back x-reality,vivid ,and BionZ by http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672 .As you said when i relock and flash .69 with TA its work but when i update to .167 its broke again so i unlockbootloader again and follow this step thank for very help again:good:
Click to expand...
Click to collapse
where can i download .69 firmware wth TA partition? i've searched with xperifirm and couldnt find it bro.
Thepho3nix said:
where can i download .69 firmware wth TA partition? i've searched with xperifirm and couldnt find it bro.
Click to expand...
Click to collapse
Here
https://mega.co.nz/#!sccRRZaZ!2ten4FvV8H1WfQtNNTaKujWZBy9gz-9Ak7osJ1TF5qs
When i originally unlocked the bootloader I had backed up my TA partition.
Now I have a question, can I restore my drm keys from it since im on another version of lollipop?
Sent from my D6503 using XDA Free mobile app
Drm keys are Android version independent. So the answer is yes, you can restore them.
However it's good to remember some rules before restoring; it will also relock your bootloader so, if you have unauthorized software inside your phone by Sony, like a recovery or a custom ROM, your phone will NOT boot as they are normally designed to work with unlocked bootloader.
You should do a backup before proceed or make sure you are on a nin-custom Sony firmware.
Sent from my D6503 using XDA Free mobile app
_delice_doluca_ said:
Drm keys are Android version independent. So the answer is yes, you can restore them.
However it's good to remember some rules before restoring; it will also relock your bootloader so, if you have unauthorized software inside your phone by Sony, like a recovery or a custom ROM, your phone will NOT boot as they are normally designed to work with unlocked bootloader.
You should do a backup before proceed or make sure you are on a nin-custom Sony firmware.
Sent from my D6503 using XDA Free mobile app
Click to expand...
Click to collapse
Excuse me I ment im on another version of Android*, From your answer I understood I cant restore that.. So what are my options for restoring them?
Sent from my D6503 using XDA Free mobile app
As I understand, the DRM keys are not reliant on your Android version. So keys from 4.4.4 should work on 5.0.2 as they shouldn't change. I'm pretty sure envious_data has confirmed this (please correct me if I'm wrong).
HOWEVER, restoring them will relock the bootloader. If you are on a non-sony custom ROM (so CM, AOSP, etc) the phone will not boot (eXistenZ, Moonwalker (I think), and other stock based ROM's will however).
Stock based ROM's will ONLY boot if you have a stock kernel (which is found inside of the ftf file), any custom kernel (advanced stock, AndroPlus, any CM/AOSP, any other stock based kernel) kernels will not.
A locked bootloader recovery will not prevent the phone from booting, as it is on the /system partition and not inside of a kernel.
Also, if you have a recovery installed to the FOTAKernel partition, restore that to stock as that will prevent the phone from booting. The stock FOTAKernel file can be found in the ftf file too. If needed I can strip an ftf file down to stock kernel and FOTAKernel to be flashed.
CosTuMe said:
Excuse me I ment im on another version of Android*, From your answer I understood I cant restore that.. So what are my options for restoring them?
Sent from my D6503 using XDA Free mobile app
Click to expand...
Click to collapse
You can restore your DRM keys on any android version but you must make sure you'r completely on a stock build. (No custom kernals)
Deleted.
whats the procedure for restoring them?
CosTuMe said:
whats the procedure for restoring them?
Click to expand...
Click to collapse
If you used the BackupTA tool (or whatever it is called, it's in the cross device section) use the restore function in that.
But before you do, make sure you are on a stock based ROM, with a full stock kernel and full stock FOTAKernel partition.
gamer649 said:
If you used the BackupTA tool (or whatever it is called, it's in the cross device section) use the restore function in that.
But before you do, make sure you are on a stock based ROM, with a full stock kernel and full stock FOTAKernel partition.
Click to expand...
Click to collapse
Ok, i had done it(and the phone boots). is there anyway to check i got them back?
CosTuMe said:
Ok, i had done it(and the phone boots). is there anyway to check i got them back?
Click to expand...
Click to collapse
Open the phone dialer, *#*#7378423#*#*, Service Tests, Security, and then look to each row. Each one will be followed by [KEY OK][ACTIVE].
Also, to check the bootloader is relocked.
Open the phone dialer, *#*#7378423#*#*, Service Info, Configuration, look to rooting status. It will say "Bootloader unlock allowed: Yes", instead of "Bootloader unlocked: Yes".
Thank you very much, I had succeeded restoring them
Sent from my D6503 using XDA Free mobile app
im currently on kitkat rom with full root and unlocked bootloader, and im planning to lock the bootloader. if i upgrade my phone to the latest official lolipop rom. can my phone lock the bootloader? can i get a new DRM key?
PS: i unlocked BL without backing the DRM keys so i lost it.
ulyshut said:
im currently on kitkat rom with full root and unlocked bootloader, and im planning to lock the bootloader. if i upgrade my phone to the latest official lolipop rom. can my phone lock the bootloader? can i get a new DRM key?
PS: i unlocked BL without backing the DRM keys so i lost it.
Click to expand...
Click to collapse
You can re-lock the bootloader without the DRM keys, however it will not restore them. You can use the bootloader unlock/re-lock function in flashtool to lock the bootloader again.
You can lock the bootloader on any android version, regardless of what version you unlocked it on. But if you didn't back up your DRM keys there is no way to get them back, they are lost forever unfortunately.
thanks for the reply, because my remote play access did not work when i rooted my phone . now based on the other thread, its about the DRM key and unlock BL that is causing the issue.
Steps to restore DRM keys?
Hey,
I want to just request some help about the DRM keys. I know more or less what to do since I have lost them in order to get root. As I have understood the steps go:
Backup all apps and whatnot
Flash stock ftf file from any version (wipe APPSLOG, CACHE, DATA) via Flashtool
Root using Easy Root Tool
Backup TA partition using this tool
Push dual recovery into phone using NUTs Dual Recovery script
Restore TA partition using the tool above
And hopefully I would have Root with working keys? I am currently getting the 17.1.2.A.0.314 & 17.1.1.A.0.402 ftf firmware. If I am missing anything from the steps above please inform me.
Thanks ^^
.
suenoromis said:
Hey,
I want to just request some help about the DRM keys. I know more or less what to do since I have lost them in order to get root. As I have understood the steps go:
Backup all apps and whatnot
Flash stock ftf file from any version (wipe APPSLOG, CACHE, DATA) via Flashtool
Root using Easy Root Tool
Backup TA partition using this tool
Push dual recovery into phone using NUTs Dual Recovery script
Restore TA partition using the tool above
And hopefully I would have Root with working keys? I am currently getting the 17.1.2.A.0.314 & 17.1.1.A.0.402 ftf firmware. If I am missing anything from the steps above please inform me.
Thanks ^^
Click to expand...
Click to collapse
If you unlocked your BL before making backup of TA your keys are lost FOREVER .
Even if you downgrade and start everything again you won't get the keys back as they were unique to your device. If you don't have a TA backup of your keys don't waste time downgrading...
But if you DO HAVE A WORKING TA backup with YOUR keys then downgrade to 4.4.2, root, restore your TA (BL will get locked in the process), install dual recovery and upgrade to a pre-rooted firmware. You'll still have your keys and BL locked.
Steps to restore DRM keys?
ptmaniac said:
If you unlocked your BL before making backup of TA ..... You'll still have your keys and BL locked.
Click to expand...
Click to collapse
So there's absolutely no way to get the keys back after unlocking the bootloader?
What about this?
_delice_doluca_ said:
Drm keys are Android version independent. So the answer is yes, you can restore them.
However it's good to remember some rules before restoring; it will also relock your bootloader so, if you have unauthorized software inside your phone by Sony, like a recovery or a custom ROM, your phone will NOT boot as they are normally designed to work with unlocked bootloader.
You should do a backup before proceed or make sure you are on a nin-custom Sony firmware.
Click to expand...
Click to collapse
suenoromis said:
So there's absolutely no way to get the keys back after unlocking the bootloader?
What about this?
Click to expand...
Click to collapse
Confused about what? you are overcomplicating things.
You can get your keys back ONLY if you have a backup of your TA BEFORE unlocking your bootloader.
DID YOU BACKUP YOUR TA BEFORE UNLOCKING YOUR BOOTLOADER?
If you answer YES --> you can restore your keys
If you answer NO --> they are lost forever.
SImple.
suenoromis said:
So there's absolutely no way to get the keys back after unlocking the bootloader?
What about this?
Click to expand...
Click to collapse
Sorry, If I got things complicated. Let me explain it in scenerios and steps;
Small İnfo first; there is a small partition (or a small and untouchable part inside of a partition) in our phones. It contains and "device-specific" keys, basically an ID.
Some Sony-made softwares (like a picture or sound enhancer which are activated when user starts a music or takes a picture) are patent protected and search for these keys before run. If keys are not there user still can take a picture or listen to music however the patented enhancing software will not kick in. So how do you lose the keys? Why is Sony making this?
Because they want to protect their patented technology from being exposed to inspections or non-Sony users. So basically they tell you if you "unlock your bootloader" you will be able to do anything with your phone freely but the keys-including-partition will be wiped forever and those patented software addings will not run.
Let's get to scenerios.
1th Scenerio: You want to install custom kernel, recovery or ROM to your device? You have to unlock bootloader and it is simple. But doing this basically will wipe your keys and they will be gone forever.
2nd Scenerio: The device can be rooted without unlocking its recovery (very clever Sony, you think about protecting your patent and invent the "keys partition" and lock them to bootloader and get rooted that easily). Once we obtain root, we can read and write to any partition, including the one with the keys (it is called Trim Area). Once we are rooted, with FlashTool, we can backup the TA partition and protect the keys on our PCs.
"After the backing up", once we unlock the bootloader the phone will wipe TA partition but we will have a backup of them on our PCs.
With that backup on our PCs, we can safely do whatever we want; install custom ROMS, kernels, recoveries etc. (actually, there is even a recovery installation possible with "locked bootloader" ) and once we need to claim our warranty or want Sony-patented software enhancements, we can simply restore the TA partition (again with FlashTool).
I have mine updated to 5.1.1 and the bootloader is unlockable. However, the rooting instruction is confusing for this version.
I am looking for the definite solution for rooting (if it is required to unlock the bootloader, should I backup TA partition first?) 100% stock 5.1.1.
Frankly, I don't want to mess with Kingroot or similar tools from China.
I'm interested in this as well. Sent for warranty repair and came back with 5.1.1. Looking for recommended way to root and backup TA (though I have the original backup somewhere)
http://forum.xda-developers.com/xperia-z-ultra/general/guide-how-to-root-install-recovery-t3210207
I managed to root the device. Here is a guide:
http://forum.xda-developers.com/xperia-z-ultra/general/comprehensive-guide-rooting-5-1-x-t3219502
This is how i did it...downgraded to 4.4.4 and root it,TA backup, unlocked the device, updated to 5.1.1 with stock ftf installed the new recovery an flashed the TWRP after that flash the SuperSU zip and done...
fnldstntn said:
This is how i did it...downgraded to 4.4.4 and root it,TA backup, unlocked the device, updated to 5.1.1 with stock ftf installed the new recovery an flashed the TWRP after that flash the SuperSU zip and done...
Click to expand...
Click to collapse
That's a waste of time. OP has an unlockable bootloader, so he just has to:
- Flash recovery
- Flash SuperSU
- Reboot
Klaos3000 said:
That's a waste of time. OP has an unlockable bootloader, so he just has to:
- Flash recovery
- Flash SuperSU
- Reboot
Click to expand...
Click to collapse
unlockable =/= unlocked
mingkee said:
unlockable =/= unlocked
Click to expand...
Click to collapse
Unlocking the BL is still FAR quicker than going through that hellish process for locked bootloaders. It's like trying to juggle with your hands tied to your back, but they're not really tied. Not sure why WE are arguing though. You provided a guide for a locked bootloader, while I gave one for unlocked. What OP decides to do is currently a mystery.
Klaos3000 said:
Unlocking the BL is still FAR quicker than going through that hellish process for locked bootloaders. It's like trying to juggle with your hands tied to your back, but they're not really tied. Not sure why WE are arguing though. You provided a guide for a locked bootloader, while I gave one for unlocked. What OP decides to do is currently a mystery.
Click to expand...
Click to collapse
Here is a deal: unlocking bootloader will remove DRM key. The only workaround is to backup TA partition. However, doing such also requires root, so you have to root before unlocking bootloader.
Don't you know your method is no brainer???! But dealing with DRM key is another story.
Hello !
Frankly you should try with kingroot it's not really a big deal it's quicker and don't worry you will not mess up your phone. I did the same on mine, and it's quick...
LordBli said:
Hello !
Frankly you should try with kingroot it's not really a big deal it's quicker and don't worry you will not mess up your phone. I did the same on mine, and it's quick...
Click to expand...
Click to collapse
Kingroot does not work with 5.1.x, sorry.
I still have to rollback to 4.4.x and use dualrecovery method 3.
mingkee said:
Kingroot does not work with 5.1.x, sorry.
I still have to rollback to 4.4.x and use dualrecovery method 3.
Click to expand...
Click to collapse
Okay, so roll back to KitKat, root, backup your TA, unlock bootloader, and then update to 5.1.1 again. You'll then be able to just flash a recovery and root. If you don't care about the TA partition, then unlock bootloader and flash recovery and root.
Be aware that if your device is still under warranty, it'll be voided the second you lose the DRM keys (TA). If you're not under warranty anymore, it doesn't make any difference. If your device has to go into repairs down the road, it won't matter since you don't have warranty either way. But if you have, it's a good idea to back it up.
Also, the X-Reality engine etc. were at one point dependent on the TA partition, but this changed on KitKat, so X-Reality still works on an unlocked bootloader (even though it's really bad).
Klaos3000 said:
Okay, so roll back to KitKat, root, backup your TA, unlock bootloader, and then update to 5.1.1 again. You'll then be able to just flash a recovery and root. If you don't care about the TA partition, then unlock bootloader and flash recovery and root.
Be aware that if your device is still under warranty, it'll be voided the second you lose the DRM keys (TA). If you're not under warranty anymore, it doesn't make any difference. If your device has to go into repairs down the road, it won't matter since you don't have warranty either way. But if you have, it's a good idea to back it up.
Also, the X-Reality engine etc. were at one point dependent on the TA partition, but this changed on KitKat, so X-Reality still works on an unlocked bootloader (even though it's really bad).
Click to expand...
Click to collapse
Here is what I did as mentioned on the post linked on earlier post.
Download the latest ROM with Xperifirm, and 4.4.x ROM found in a sticky on the general section.
Pack the 5.1.X ROM as flashable pre-rooted.
Use Flashtool to rollback to 4.4.x, completely wipe, made initial setup and enable debug, and install recovery.
Install pre-rooted ROM through TWRP.
Backup TA partition and device data.
Unlock bootloader.
Restore TA partition and device data.
Done.
I recently rooted my device, butt.
I didn't yet made a ta backup
However I'm still rolling stock kernel, stock rom and locked bootloader. Only root and twrp. I'm i still in the safe zone or did i just proved to be a morron
Edit. I used the method where i didn't had to unlock my bootloader to get root, just to make that clear.
mellowbug said:
I recently rooted my device, butt.
I didn't yet made a ta backup
However I'm still rolling stock kernel, stock rom and locked bootloader. Only root and twrp. I'm i still in the safe zone or did i just proved to be a morron
Edit. I used the method where i didn't had to unlock my bootloader to get root, just to make that clear.
Click to expand...
Click to collapse
I think you can backup your TA partition because it is related to bootloader
raminta said:
I think you can backup your TA partition because it is related to bootloader
Click to expand...
Click to collapse
Oké great news. Thnx for the quick reply.