Anyway to restore DRM keys, if no backup? - Xperia Z3 Q&A, Help & Troubleshooting

Hi
From a long time ago (before I researched before I did anything) I unlocked my bootloader to get root right away, but I read somewhere that you could restore them without a backup now, is that true? I mean, get someones else or something like that
Thanks in advance

Faspaiso said:
Hi
From a long time ago (before I researched before I did anything) I unlocked my bootloader to get root right away, but I read somewhere that you could restore them without a backup now, is that true? I mean, get someones else or something like that
Thanks in advance
Click to expand...
Click to collapse
No, drm keys cannot be restored, do not attempt to use other people's keys, you will get a proper hard brick (bit a soft brick, a real hard brick that Cabot be recovered from). However, there are ways to restore partial functionality that relies on drm keys, but it is not 100% the same

gregbradley said:
No, drm keys cannot be restored, do not attempt to use other people's keys, you will get a proper hard brick (bit a soft brick, a real hard brick that Cabot be recovered from). However, there are ways to restore partial functionality that relies on drm keys, but it is not 100% the same
Click to expand...
Click to collapse
Can you explain the second method further please?
Thanks in advance

i've found a way to restore drm keys, not just the functionnality : http://forum.xda-developers.com/z3/help/to-restore-lost-drm-keys-t3174005

unixseb said:
i've found a way to restore drm keys, not just the functionnality : http://forum.xda-developers.com/z3/help/to-restore-lost-drm-keys-t3174005
Click to expand...
Click to collapse
That does not work.
Read here in the faq from Sony
http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/

gregbradley said:
That does not work.
Read here in the faq from Sony
http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
Click to expand...
Click to collapse
i did, and it says it won't restore the drm keys, but now my camera is showing all the isos levels (was stucked at 800 with rooted rom) and the x-reality mode is working back, i'm able to take pictures at verry low light, so even if it don't restore the drm keys, it restore the functionnlities i've lost unlocking my bl, that's strang, i admit.

Related

[Q] Warranty after mods

Hi
If i unlook bootl. and apply root to device, did i lost warranty ? It's possible to restore all stock and get back warranty ?
Suggest you would use the search function. There're a number of threads on this topic already. Please.
Sent from my D5803 using XDA Free mobile app
sxtester said:
Suggest you would use the search function. There're a number of threads on this topic already. Please.
Sent from my D5803 using XDA Free mobile app
Click to expand...
Click to collapse
Advanced search is off, normal one show me galaxy s4 post, not z4
You don't need advanced search to find the answeres. Wait, let me google that for you...
http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
http://forum.xda-developers.com/z3-compact/general/unlocked-bootloader-discuss-customer-t2906731
http://forum.xda-developers.com/z3-compact/general/one-bootloader-unlock-flash-firmware-t2905047
http://forum.xda-developers.com/z3-compact/general/loss-drm-keys-t2890936
By the time you're done reading for sure the advanced search is back.
Thanks, just a thing i don't understand.
Bootloader unlocking is a reversable operations?
It' possible to re-lock and re-able warranty?
andxit said:
Thanks, just a thing i don't understand.
Bootloader unlocking is a reversable operations?
It' possible to re-lock and re-able warranty?
Click to expand...
Click to collapse
It is reversible using flashtool
However, it still will not restore TA partition so it can be seen if you have unlocked.
The only way to completely reset to factory conditions is to restore a TA backup, but the only way to get that is to root before unlocking
gregbradley said:
It is reversible using flashtool
However, it still will not restore TA partition so it can be seen if you have unlocked.
The only way to completely reset to factory conditions is to restore a TA backup, but the only way to get that is to root before unlocking
Click to expand...
Click to collapse
So to restore warranty after modding you need to wait a locked booatloder root and only after unlock and mod device ?
Correct?
andxit said:
So to restore warranty after modding you need to wait a locked booatloder root and only after unlock and mod device ?
Correct?
Click to expand...
Click to collapse
I do not want to talk about warranty's.
All I am saying is that in order to restore your phone to factory settings you need a stock TA partition. To restore a stock TA partition after unlocking the bootloader you need a backup of a TA partition taken from your phone. In order to make that backup you need root.
gregbradley said:
I do not want to talk about warranty's.
All I am saying is that in order to restore your phone to factory settings you need a stock TA partition. To restore a stock TA partition after unlocking the bootloader you need a backup of a TA partition taken from your phone. In order to make that backup you need root.
Click to expand...
Click to collapse
Ok.
Z3 modding is not in avanced state, so in previous xperia is possible to restore warranty after unlock bootl.?
Sorry for my question, im interested to buy z3, so i'm verifying modding possibilities
andxit said:
Ok.
Z3 modding is not in avanced state, so in previous xperia is possible to restore warranty after unlock bootl.?
Sorry for my question, im interested to buy z3, so i'm verifying modding possibilities
Click to expand...
Click to collapse
Again, as said numerous times in this thread, if you could be bothered to read the links or a quick read of the forum you'd know.
In my opinion, if you want to "mod" a phone, get a Nexus or a HTC One M8. Sony phones going all the way back to Xperia X10 are rubbish with custom Roms and "mods"
Right now, you cannot return completely to stock.
Jonathan-H said:
Again, as said numerous times in this thread, if you could be bothered to read the links or a quick read of the forum you'd know.
In my opinion, if you want to "mod" a phone, get a Nexus or a HTC One M8. Sony phones going all the way back to Xperia X10 are rubbish with custom Roms and "mods"
Right now, you cannot return completely to stock.
Click to expand...
Click to collapse
I don't know English very well, i've read all the links, but i have bit difficult with specific terms and i want to be sure about what i understand.
Sorry for trouble and thanks for willingness

Restoring DRM keys

Anyone already tried restoring DRM keys? Is there no problem with it? As z3 got root just a while ago, I'm still a bit afraid to loose all the stuff sony gives. I have successfully rooted and backed up, so the question is only about restoring them.
kuboweb said:
Anyone already tried restoring DRM keys? Is there no problem with it? As z3 got root just a while ago, Im still a bit afraid to loose all the stuff sony gives. I have successfully rooted and backed up, so the question is only about restoring them.
Click to expand...
Click to collapse
No can do.
Google 'restore drm functionality' or find it here in the forums. Afaik when the drm keys are gone, they're gone. But you can get almost all of the functionality back (PlayStation -play everywhere or whatever it's called isn't there yet)
I have Rooted AND Backed up. I'm talking directly about restoring them. It is working on other Z devices, but is it on ours?
http://forum.xda-developers.com/showthread.php?t=2292598
Give it a go (or check with dev about support)
kuboweb said:
I have Rooted AND Backed up. Im talking directly about restoring them. It is working on other Z devices, but is it on ours?
Click to expand...
Click to collapse
I've been keeping myself pretty informed on this...But haven't flashed it yet. I'm an ex-Samsung user with experience flashing tho.
Afaik the drm keys can not yet be restored for the Z3, just functionality. Older models, yes, but not ours yet.
sean is here. said:
I've been keeping myself pretty informed on this...But haven't flashed it yet. I'm an ex-Samsung user with experience flashing tho.
Afaik the drm keys can not yet be restored for the Z3, just functionality. Older models, yes, but not ours yet.
Click to expand...
Click to collapse
Yes they can.
Use the same tool you used to back them up to restore them.
gregbradley said:
Yes they can.
Use the same tool you used to back them up to restore them.
Click to expand...
Click to collapse
I really hope you're right, but via Google I don't find any mention of the z3. Only older models, and a discussion in the z3c forum.
I'd be thankful for a link to the thread or site where you found that it's possible.
Really. I hope you're right.
sean is here. said:
I really hope you're right, but via Google I don't find any mention of the z3. Only older models, and a discussion in the z3c forum.
I'd be thankful for a link to the thread or site where you found that it's possible.
Really. I hope you're right.
Click to expand...
Click to collapse
1) Root the phone
2) Use the tool in the cross device development forum to backup the TA partition
3) Use the same tool to restore.
gregbradley said:
1) Root the phone
2) Use the tool in the cross device development forum to backup the TA partition
3) Use the same tool to restore.
Click to expand...
Click to collapse
Ok. But the z3 isn't listed under compatible devices.
Are you telling me from first hand experience that it works, and the op needs to be updated to include the z3?
sean is here. said:
Ok. But the z3 isn't listed under compatible devices.
Are you telling me from first hand experience that it works, and the op needs to be updated to include the z3?
Click to expand...
Click to collapse
I have not done it, but there are reports in that thread that it does. Why not give it a shot yourself.
Root on the Z3 only came in the last few days, you need to give the OP time to update....
I had done both backing up and restoring drm keys like 5-6 times on my z3.
It worked everytime.
So, don't worry.

[Q] Can someone give me their backed up TA File? And other questions

Hi, I'm in complete meltdown today. I didn't do thorough research and unlocked bootloader on my Z3. Now I regret it.
I heard you could restore the DRM files by mounting the TA files back onto the phone. Can someone give me their backed up TA files so that I can restore DRM features on my phone? I cried this morning because of my ignorance.
If not, can someone help me add "CWM-Based Recovery 6.0.4.7 Recovery" on my phone? I can't seem to load "Advance Stock Kernel with CWM Recovery v01 (FW: 23.0.A.2.93)" onto my phone. The program used to load it won't just make it happen.
I think I can handle the rest after that, but I need some suggestions.
Will using this: http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
brick my phone? It won't if I follow the steps correctly, right?
Other than that, can someone find me a PERFECT alternative for Music ID?
Is there also any way to restore "Sony Entertainment Media?"
How about fixing "Audio Quality and Volume Enhancements?"
Finally, will "PS4 Remote Play" still be broken?
I tried emailing [email protected] with the following message:
Hi, is there a way to reload lost DRM keys on a locked bootloader on
my Z3 phone?
Here's the story:
I didn't backup the TA partition on my phone and I unlocked bootloader
which made me lose the DRM files.
I'm in the process of relocking my phone. After relocking my phone,
can I send my phone to your repair center so that you guys can re-add
the DRM files?
From my understanding, you could delete the old partition and add a
new partition into my phone that has the DRM files, correct?
I hope to get a reply soon. Thanks.
Click to expand...
Click to collapse
What do you think of my letter to them? Can they help me restore the DRM files even though they are forever lost? They gotta have a set of DRM keys at the repair center!
Jojih said:
Hi, I'm in complete meltdown today. I didn't do thorough research and unlocked bootloader on my Z3. Now I regret it.
I heard you could restore the DRM files by mounting the TA files back onto the phone. Can someone give me their backed up TA files so that I can restore DRM features on my phone? I cried this morning because of my ignorance.
Click to expand...
Click to collapse
I am sure someone could share it with you, but you will be a fool to restore it. The TA partition is individual. If you restore one from another phone you will permanently, 100%, completely hard brick your phone. Do not even think about doing it.
If not, can someone help me add "CWM-Based Recovery 6.0.4.7 Recovery" on my phone? I can't seem to load "Advance Stock Kernel with CWM Recovery v01 (FW: 23.0.A.2.93)" onto my phone. The program used to load it won't just make it happen.
Click to expand...
Click to collapse
What program? Any logs? Maybe even a little clue on what is going wrong
I think I can handle the rest after that, but I need some suggestions.
Will using this: http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
brick my phone? It won't if I follow the steps correctly, right?
Click to expand...
Click to collapse
It says its working for Z3, so it will work
Other than that, can someone find me a PERFECT alternative for Music ID?
Click to expand...
Click to collapse
No, its personal choice, try some yourself and see which is best for you
Is there also any way to restore "Sony Entertainment Media?"
Click to expand...
Click to collapse
What is wrong with it?
How about fixing "Audio Quality and Volume Enhancements?"
Click to expand...
Click to collapse
Again, if you tell us what is wrong with it we may be able to help more
Finally, will "PS4 Remote Play" still be broken?
Click to expand...
Click to collapse
Why is it broken? If you unlocked the boot then yes. It will not work with an unlocked boot.
I tried emailing [email protected] with the following message:
What do you think of my letter to them? Can they help me restore the DRM files even though they are forever lost? They gotta have a set of DRM keys at the repair center!
Click to expand...
Click to collapse
No, they will not help. It well documented that unlocking the boot loses functionality, why would they restore it for you when you admit to unlocking and throwing away your warranty? It is actuall 100% impossible to restore the keys after unlocking unless you took a backup prior to unlocking.
You can however, do a search for restoring DRM functionality, that may help you.
I think you have to try to software it by sony companion (re-instal the frimware). if you cant then try to lock your bootloader and try again to frimware it by sony companion
gregbradley, I followed all the instructions on the internet and I can't get it to install CWM recovery. Maybe later on after work (8PM EST -5 GMT) you can do teamviewer with me? Or am I being unreasonable here?
As for Music ID, please give me the alternative you prefer the most.
Sony Entertainment Media shows as "unavailable" on my phone. Basically, unlocking bootloader killed it.
As for "Audio Quality and Volume Enhancements," audio quality has been degraded because of unlocking bootloader. I was wondering if there's a software or app out there that fixes it.
As for "PS4 Remote Play", any apps out there that remotely connects to the PS4?
Jojih said:
gregbradley, I followed all the instructions on the internet and I can't get it to install CWM recovery. Maybe later on after work (8PM EST -5 GMT) you can do teamviewer with me? Or am I being unreasonable here?
Click to expand...
Click to collapse
Have you tried flashing an advanced stock kernel? Why did you unlock the bootloader?
As for Music ID, please give me the alternative you prefer the most.
Click to expand...
Click to collapse
I use track ID, the one that comes with the phone
Sony Entertainment Media shows as "unavailable" on my phone. Basically, unlocking bootloader killed it.
Click to expand...
Click to collapse
It will only work if you relock, and maybe only if you restore your DRM keys, which you cannot do
As for "Audio Quality and Volume Enhancements," audio quality has been degraded because of unlocking bootloader. I was wondering if there's a software or app out there that fixes it.
Click to expand...
Click to collapse
I have never heard of unlocking the boot effecting audio quality
As for "PS4 Remote Play", any apps out there that remotely connects to the PS4?
Click to expand...
Click to collapse
There are some alternatives about but I do not use them
There is a port of remote play in cross dev use version 0.6.1 and should work fine
Go here: http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
You cannot restore your specific DRM keys, those are gone forever, but this will restore the functionality you've lost so it's as good as having them back.
I typed in "fastboot flash boot Z3_DooMLoRD_AdvStkKernel_v01_FW-93.img" and I get this error: waiting for device.
I typed that in CMD while both the device was on and in fastboot.
I don't know what I'm doing wrong.
And yea, Sony said they can't do anything to help restore TA files. Oh well.
Jojih said:
I typed in "fastboot flash boot Z3_DooMLoRD_AdvStkKernel_v01_FW-93.img" and I get this error: waiting for device.
I typed that in CMD while both the device was on and in fastboot.
I don't know what I'm doing wrong.
And yea, Sony said they can't do anything to help restore TA files. Oh well.
Click to expand...
Click to collapse
Have you installed fastboot on your PC? Try googling "minimal adb and fastboot" and install that
Also, if you install DroidShell_1.5 that will enter the path for you without manually doing it.
type
Code:
fastboot devices
and post the output here
gregbradley said:
Have you installed fastboot on your PC? Try googling "minimal adb and fastboot" and install that
Also, if you install DroidShell_1.5 that will enter the path for you without manually doing it.
type
Code:
fastboot devices
and post the output here
Click to expand...
Click to collapse
EDIT
Also, the phone cannot be ON and in FASTBOOT at the same time
You need to be in fastboot mode, phone off and attach usb cable whilst holding volume up, you should get a blue LED
Okay it's in fastboot. What do I do next?
Edit: Never mind, I think I successfully installed CWM. Testing now.
Edit 2: CWM installed! Rooting device now.
I'm in CWM and I rooted my phone. Upon restarting, I get this message:
Root access possibly lost. Fix?
THIS CAN NOT BE UNDONE.
- No
- Yes - FIx root (/system/xbin/su)
No or yes?
Edit: Now I have no wifi access. WTF. Seems to be CWM's fault. What other recovery tools should I flash with?
Jojih said:
I'm in CWM and I rooted my phone. Upon restarting, I get this message:
Root access possibly lost. Fix?
THIS CAN NOT BE UNDONE.
- No
- Yes - FIx root (/system/xbin/su)
No or yes?
Edit: Now I have no wifi access. WTF. Seems to be CWM's fault. What other recovery tools should I flash with?
Click to expand...
Click to collapse
Which device do you actually have (D6603 etc)
You should now flash a FTF and exclude system (and kernel if you have just flashed a custom kernel)
How did you install CMW? was it via flashing the doomkernel? That is for D6603 only
Yes, I own D6603, the Z3, not the compact or other variants.
I'm re-installing the OS. Let's see what happens.
zombiej79 said:
There is a port of remote play in cross dev use version 0.6.1 and should work fine
Click to expand...
Click to collapse
"If you have a Xperia Z2 or Xperia Z3 you need your DRM keys for this to work, their is currently no workaround to this."
You sure it won't mess up my phone?
Just use the current version of the app then should be OK I've had no issues

Camera breaks down after Locking boot loader

Whenever I lock my bootloader back and return to the stock firmware, the camera breaks down
I can't shift to video mode because the camera app freezes, I have tried it several times to go stock by flashtool and xperia companion but it happens every time on locked bootloader
any fix? thanks for any help, I have Z5 E6653
any help would be appreciated
Have you restore drm keys?
dodo1515 said:
Have you restore drm keys?
Click to expand...
Click to collapse
I haven't, I hope that fixes the problem, could you tell me how to do so or maybe direct me to the forum, thank you
hassanman1997 said:
I haven't, I hope that fixes the problem, could you tell me how to do so or maybe direct me to the forum, thank you
Click to expand...
Click to collapse
You cannot restore if you haven't backup your drm keys before unlocking bootloader..but there should be a way for your problem, l will search and let you know...
dodo1515 said:
You cannot restore if you haven't backup your drm keys before unlocking bootloader..but there should be a way for your problem, l will search and let you know...
Click to expand...
Click to collapse
I searched and came across this thread
http://www.xda-developers.com/restore-lost-functionality-on-your-unlocked-xperia-device-part-two/
it can only restore some of the functionality back but not the DRM Keys, I didnt even know what the DRM Keys were until now
thanks for the info
hassanman1997 said:
I haven't, I hope that fixes the problem, could you tell me how to do so or maybe direct me to the forum, thank you
Click to expand...
Click to collapse
You're welcome

Xperia XZ Nougat ROOT possible??

Is it possible to root the latest version of the sony Xperia XZ?
Heard that it could solve the overheating and weak battrey issue so guessing ima try it out
P.S my XZ doesnt have twrp or anything installed
Yes, it is possible. First of all you need to flash to MM and backup your TA partition (if DRM keys are important to you). Then flash back to N. Then unlock bootloader and flash kernel. And only then you will be able to root it.
lowweijian said:
Is it possible to root the latest version of the sony Xperia XZ?
Heard that it could solve the overheating and weak battrey issue so guessing ima try it out
P.S my XZ doesnt have twrp or anything installed
Click to expand...
Click to collapse
Yes...
And i rooted my phone with latest 7.1.1 firmware.
And yes again... I got 7 hrs SoT and not problem with standby drain.
Use Guide: https://forum.xda-developers.com/xperia-xz/how-to/how-to-unlock-bl-kernel-twrp-root-t3541648
Im not great at rooting and my phone is actually still under warranty
Now the problem is
Warranty void
Catastrophic heat death
Not sure which is more worth
If you follow guide closely (most important step - BACKUP YOUR TA PARTITION!) the process is fully reversible and will not void your warranty. You just have to remember to restore DRM keys before sending phone on warranty
S1gma said:
If you follow guide closely (most important step - BACKUP YOUR TA PARTITION!) the process is fully reversible and will not void your warranty. You just have to remember to restore DRM keys before sending phone on warranty
Click to expand...
Click to collapse
THANKS!
S1gma said:
If you follow guide closely (most important step - BACKUP YOUR TA PARTITION!) the process is fully reversible and will not void your warranty. You just have to remember to restore DRM keys before sending phone on warranty
Click to expand...
Click to collapse
so, if i backup my DRM... and do the ROOT, and then i want to reset to factory, and then restore the DRM again and it will remain stored permanently as it was before the bootloader unlocking ?
i mean, flashing the phone again will never affect the DRM keys anymore?
thanks
Nidhal AKA the king said:
so, if i backup my DRM... and do the ROOT, and then i want to reset to factory, and then restore the DRM again and it will remain stored permanently as it was before the bootloader unlocking ?
i mean, flashing the phone again will never affect the DRM keys anymore?
thanks
Click to expand...
Click to collapse
Restoring the DRM will also relock your bootloader and you lose root.
gregbradley said:
Restoring the DRM will also relock your bootloader and you lose root.
Click to expand...
Click to collapse
Actually it will brick the phone (DM-Verity, RIC at work again).
You must flash a stock ROM first (you lose root) and then you flash/restore the TA-backup.
DHGE said:
Actually it will brick the phone (DM-Verity, RIC at work again).
You must flash a stock ROM first (you lose root) and then you flash/restore the TA-backup.
Click to expand...
Click to collapse
Thats exactly how I bricked myZ5 once :silly:
Had to send it in for repair.
Not sure if I had been lucky, but I received it back in normal condition in two weeks after repair... without charge
Seems I'm lucky than - I've always first flashed DRM keys and do a reflash later But I did it without booting the phone
Answering the @Nidhal AKA the king question: If you reflash DRM keys you have to also reflash original firmware. That way you lose root, but you DRM keys are back in place. Phone will remain locked until you will unlock bootloader again. So yes - DRM keys will survive normal flashing once they are restored
DHGE said:
Actually it will brick the phone (DM-Verity, RIC at work again).
You must flash a stock ROM first (you lose root) and then you flash/restore the TA-backup.
Click to expand...
Click to collapse
The fact it relocks the boot implies you must have a stock kernel to boot. Actually you can restore the TA partition and then flash a stock rom as long as you don't reboot in between.
AFAIK, even if you reboot you can still flash a FTF and unbrick it. It only gives you a soft brick anyway. I have done this loads of times on previous xperias.
I've dont the part till im ready to downgrade to MM but im worried that it will hard brick my phone like the Xperia V I used before
Not sure about it tho since really just got the phone and the overheating and the standby power loss is putting me into a fuss

Categories

Resources