How can I drm fix? - Sony Xperia XZs Questions & Answers

How can I drm fix?

https://forum.xda-developers.com/xzs/development/kernel-7-1-1-xperia-xzs-t3607488
Flash that.

FartyParty said:
https://forum.xda-developers.com/xzs/development/kernel-7-1-1-xperia-xzs-t3607488
Flash that.
Click to expand...
Click to collapse
3Qvm.

Am I to assume that after unlocking boot loader and rooting, flashing this restores the DRMs(generic)?
FartyParty said:
https://forum.xda-developers.com/xzs/development/kernel-7-1-1-xperia-xzs-t3607488
Flash that.
Click to expand...
Click to collapse

It activates the features that gets deactivated when you lose drm keys so thats nice but it doesn't restore the keys.
They are forever lost when you unlock bootloader unless you backed them up before but that tool only work with marshmallow.

Related

Stock vs Custom ROM & Kernel

Hi,
Currently i'm on KitKat 4.4.4 with Unlocked Bootloader and no DRM keys/function.
I would like to upgrade to any version of lollipop and use the DRM restore function to improve my camera quality, whilst being able to use Xposed with no boot loops.
Does anyone know of a configuration of Kernels/ROM/DRM patch that will allow me to do this?
As far as I know the DRM restore will only work on stock based roms, which require a stock kernel.
Thanks
diazlol said:
Hi,
Currently i'm on KitKat 4.4.4 with Unlocked Bootloader and no DRM keys/function.
I would like to upgrade to any version of lollipop and use the DRM restore function to improve my camera quality, whilst being able to use Xposed with no boot loops.
Does anyone know of a configuration of Kernels/ROM/DRM patch that will allow me to do this?
As far as I know the DRM restore will only work on stock based roms, which require a stock kernel.
Thanks
Click to expand...
Click to collapse
DRM restore only works if you have previously backed them up from the same phone. You can backup and restore while being on either Kitkat or Lollipop given that you back them up before unlocking the bootloader. Don't try to restore keys from another phone, you will end up with permanent bricked phone.
DRM restore only works if you have previously backed them up from the same phone. You can backup and restore while being on either Kitkat or Lollipop given that you back them up before unlocking the bootloader. Don't try to restore keys from another phone, you will end up with permanent bricked phone.
Click to expand...
Click to collapse
I don't intend on actually restoring the DRM keys, only restoring the function such as the Camera's noise cancellation.
I haven't backed up anything specifically, all I've done is UL bootloader and flash XPOSED & TWRP.
Am I screwed?
diazlol said:
I don't intend on actually restoring the DRM keys, only restoring the function such as the Camera's noise cancellation.
I haven't backed up anything specifically, all I've done is UL bootloader and flash XPOSED & TWRP.
Am I screwed?
Click to expand...
Click to collapse
No. Well, you lost your DRM.And remember. Never flash someone else' s TA partition.
TheTeslaCoil said:
No. Well, you lost your DRM.And remember. Never flash someone else' s TA partition.
Click to expand...
Click to collapse
Ok so I'll definitley not do that then. I lost my DRM on unlocking the bootloader.
However can I use this thread to restore functionality AFTER installing this ROM?
diazlol said:
Ok so I'll definitley not do that then. I lost my DRM on unlocking the bootloader.
However can I use this thread to restore functionality AFTER installing this ROM?
Click to expand...
Click to collapse
Did you backed up your TA before unlocking?
TheTeslaCoil said:
Did you backed up your TA before unlocking?
Click to expand...
Click to collapse
When I bought the phone?
No
if you did not backup the TA partition BEFORE unlocking the bootloader then you have lost your drm keys forever

Root without losing DRM Keys?

Hello,
Is it possible to Root my Sony Xperia Z3 D6603 which is currently running Android 5.0.2 without losing the DRM keys?
I don't want to have to roll back to 4.4.4, or lose any of my files.
I have a pretty slow internet so i'm not a big fan of downloading stuff, I'm just psyched to check out Xposed if it exists.
No, you must roll back to a FW ending in .93 which is KK, then root, then install recovery, then update via a pre-rooted flashable zip
I would not hold my breath for a lollipop exploit. The main reason to find one has gone (i.e there already is a way to get root on lollipop with a locked bootloader)
Hussain_Salam said:
Hello,
Is it possible to Root my Sony Xperia Z3 D6603 which is currently running Android 5.0.2 without losing the DRM keys?
I don't want to have to roll back to 4.4.4, or lose any of my files.
I have a pretty slow internet so i'm not a big fan of downloading stuff, I'm just psyched to check out Xposed if it exists.
Click to expand...
Click to collapse
rooting has nothing to do with the DRM keys
you have to downgrade.
you will lose your data.
you have to download a kitkat stock rom.
No way around this if you want root.
android404 said:
rooting has nothing to do with the DRM keys
Click to expand...
Click to collapse
It does if you root by unlocking the bootloader. Doing this wipes the TA partition where the DRM keys are kept
you will lose your data.
Click to expand...
Click to collapse
Not if you do not wipe the data partition of flash the data partition from the FTF. You will get a lot of FC's when downgraded but this is not an issue as you will be upgrading immediately to Lollipop anyway
gregbradley said:
It does if you root by unlocking the bootloader. Doing this wipes the TA partition where the DRM keys are kept
Not if you do not wipe the data partition of flash the data partition from the FTF. You will get a lot of FC's when downgraded but this is not an issue as you will be upgrading immediately to Lollipop anyway
Click to expand...
Click to collapse
Of course... Thanks for correcting me.
gregbradley said:
It does if you root by unlocking the bootloader. Doing this wipes the TA partition where the DRM keys are kept
Not if you do not wipe the data partition of flash the data partition from the FTF. You will get a lot of FC's when downgraded but this is not an issue as you will be upgrading immediately to Lollipop anyway
Click to expand...
Click to collapse
But why revert if he is unlocking?
If he is unlocking he can flash a kernel with recovery and root via TWRP.
Before back up TA.
And after restore the DRM keys.
Easy.
TheTeslaCoil said:
But why revert if he is unlocking?
If he is unlocking he can flash a kernel with recovery and root via TWRP.
Click to expand...
Click to collapse
Please read the OP, he does not want to lose DRM keys, hence he needs to root without unlocking the bootloader first.
Also, if you have a custom kernel installed you cannot have DRM keys running, once you restore them using a TA partition restore you relock the bootloader and cannot boot on a custom kernel.
gregbradley said:
Please read the OP, he does not want to lose DRM keys, hence he needs to root without unlocking the bootloader first.
Also, if you have a custom kernel installed you cannot have DRM keys running, once you restore them using a TA partition restore you relock the bootloader and cannot boot on a custom kernel.
Click to expand...
Click to collapse
The DRM can be restored.
I rest my case.
TheTeslaCoil said:
The DRM can be restored.
I rest my case.
Click to expand...
Click to collapse
sigh,,,
No they cannot unless you have taken a backup before unlocking the bootloader.
There is a thread about restoring some functionality but it does not restore to 100% stock compared to when people have a stock ROM with DRM keys installed, and like I said, READ THE OP, he asked for a way not to lose his DRM keys, not to have the functions associated with them.
If you unlock without backing them up, you cannot restore them, FACT!
I really do not want to get into an online fracas with you, but this is the second time today you are jumping in and not giving exactly 100% correct answers to the questions asked.
android404 said:
Of course... Thanks for correcting me.
Click to expand...
Click to collapse
No worries
gregbradley said:
sigh,,,
No they cannot unless you have taken a backup before unlocking the bootloader.
There is a thread about restoring some functionality but it does not restore to 100% stock compared to when people have a stock ROM with DRM keys installed, and like I said, READ THE OP, he asked for a way not to lose his DRM keys, not to have the functions associated with them.
If you unlock without backing them up, you cannot restore them, FACT!
I really do not want to get into an online fracas with you, but this is the second time today you are jumping in and not giving exactly 100% correct answers to the questions asked.
Click to expand...
Click to collapse
But I already said, if you back up TA.
Check again.
And you appear to be a person that doesn' t like to be contradicted.
So...see you later.
TheTeslaCoil said:
But I already said, if you back up TA.
Check again.
And you appear to be a person that doesn' t like to be contradicted.
So...see you later.
Click to expand...
Click to collapse
Please tell the user how to back up his TA then without rooting first...
You need to back it up before unlocking the bootloader and you need root to back it up....
From now on I think me and you should only talk via PM.
Regards.
Root, backup TA. Save it on your laptop.
Unlock bootloader.
Enjoy a rooted unlocked device with endless possibilities.
If you ever want to have your phone as it was when you bought it, restore TA, unroot etc.
Easy peasy japanesey.
TheTeslaCoil said:
Root, backup TA. Save it on your laptop.
Unlock bootloader.
Enjoy a rooted unlocked device with endless possibilities.
If you ever want to have your phone as it was when you bought it, restore TA, unroot etc.
Easy peasy japanesey.
Click to expand...
Click to collapse
OK, so we are back at the situation the OP asked, how does he root without losing the DRM keys...... Your method said to unlock the boot to flash a custom kernel... That wipes the TA partition and the DRM keys BEFORE you have had a chance to back them up.
PS, as I said lets keep this via PM, I already sent one before you replied here.
gregbradley said:
OK, so we are back at the situation the OP asked, how does he root without losing the DRM keys...... Your method said to unlock the boot to flash a custom kernel... That wipes the TA partition and the DRM keys BEFORE you have had a chance to back them up.
PS, as I said lets keep this via PM, I already sent one before you replied here.
Click to expand...
Click to collapse
Just to follow up with this discussion. I am currently on a locked bootloader but rooted and installed recovery using the method mentioned in the other thread. How can I back up my TA partition? I can't find a tutorial link on TA partition backup.
mf1tym said:
Just to follow up with this discussion. I am currently on a locked bootloader but rooted and installed recovery using the method mentioned in the other thread. How can I back up my TA partition? I can't find a tutorial link on TA partition backup.
Click to expand...
Click to collapse
You have already done the "hard" part. Do some reading on this thread http://forum.xda-developers.com/showthread.php?t=2292598 ,will be short , download zip within OP ,extract and run. After you created backup store it safely I think I have mine on 4 locations (cloud and local) although I doubt I will be unlocking bootloader anytime soon.
gregbradley said:
OK, so we are back at the situation the OP asked, how does he root without losing the DRM keys...... Your method said to unlock the boot to flash a custom kernel... That wipes the TA partition and the DRM keys BEFORE you have had a chance to back them up.
PS, as I said lets keep this via PM, I already sent one before you replied here.
Click to expand...
Click to collapse
I said backup TA.
So...I' m right.
schetz said:
You have already done the "hard" part. Do some reading on this thread http://forum.xda-developers.com/showthread.php?t=2292598 ,will be short , download zip within OP ,extract and run. After you created backup store it safely I think I have mine on 4 locations (cloud and local) although I doubt I will be unlocking bootloader anytime soon.
Click to expand...
Click to collapse
Schetz, thanks mate. I saw this link before. It said it's unmaintained and the devices capatable is only to Z2 so I thought it did not work on the Z3. But I will re-read it again.
TheTeslaCoil said:
I said backup TA.
So...I' m right.
Click to expand...
Click to collapse
You said to root by unlocking the bootloader first, then backup the TA so you are wrong. Editing your post after the fact does not change this, adding the line "Before backup TA" does not make you correct as you have to root to backup the TA.. so when you say "why revert when he can just unlock", that's why.
And finally, restoring the DRM keys after unlocking means you get a locked bootloader, so you cannot boot a custom kernel so you lose root...
The point is now moot, and you need to remember my advice on this, keep it in PM's

[Q] Locking bootloader

How Has anyone of you have any idea how to lock the bootloader on E3?
help3r said:
How Has anyone of you have any idea how to lock the bootloader on E3?
Click to expand...
Click to collapse
If you had made a backup of DRM keys before you unlocked, you can restore them and lock your bootloader.
If you hadn't done it, bad luck, they're lost, DRM keys are device specific and you can't restore them from another device.
I do not have a backup, made DRM keys, but do not want to restore them. I just wanted to lock the bootloader (factory Uploader software) because it resells the phone.
help3r said:
I do not have a backup, made DRM keys, but do not want to restore them. I just wanted to lock the bootloader (factory Uploader software) because it resells the phone.
Click to expand...
Click to collapse
They dont check the bootloader. I have sold many phones which were unlocked and rooted.
Yes, do not check, but if you need to give your phone under warranty then check if the bootloader is unlocked.
I ve backup my TA partition....then wanna restore...
but confused that which step is 1st Relock or restore..
So I have to do that without partition backup TA does not block the bootloader?
I repeat the question. Is it possible to lock the bootloader back without having done a backup TA?
help3r said:
I repeat the question. Is it possible to lock the bootloader back without having done a backup TA?
Click to expand...
Click to collapse
no

Audio automatic optimization and bootloader unlocked

Does it still working?
Cause im not really sure is it only placebo effect or does it still really working with the bootloader unlocked?
chitose_ndy said:
Does it still working?
Cause im not really sure is it only placebo effect or does it still really working with the bootloader unlocked?
Click to expand...
Click to collapse
it will work if you :
restore your ta backup or install kernel with drm patch
L33Tgod said:
it will work if you :
restore your ta backup or install kernel with drm patch
Click to expand...
Click to collapse
Yup, i installed kernel with drm patch.
It seems really working.
After a while I can notice the different.

Did anyone try to relock bootloader with patched Magisk boot image?

I am wondering if I should root my new device, but I'd like to keep the security benefits too (and SafetyNet might need locked bootloader in the near future), so I would only do it if relocking is possible. Has anyone tried to relock the bootloader after patching with Magisk and signing the boot.img?
geiszla said:
I am wondering if I should root my new device, but I'd like to keep the security benefits too (and SafetyNet might need locked bootloader in the near future), so I would only do it if relocking is possible. Has anyone tried to relock the bootloader after patching with Magisk and signing the boot.img?
Click to expand...
Click to collapse
Don't ever do that u loose fingerprint or u end up in a bootloop because of the persist partition and the bootloader whats getting corrupt. Only when you are on a normal or stock firmware u can lock your bootloader without issues.
mastersjef said:
Don't ever do that u loose fingerprint or u end up in a bootloop because of the persist partition and the bootloader whats getting corrupt. Only when you are on a normal or stock firmware u can lock your bootloader without issues.
Click to expand...
Click to collapse
I wouldn't change any other partition except replace the boot.img, but I would sign that one too. What do you mean by bootloader getting corrupt?
geiszla said:
I wouldn't change any other partition except replace the boot.img, but I would sign that one too. What do you mean by bootloader getting corrupt?
Click to expand...
Click to collapse
Because the relock locks the bootloader and the bootloader is patched how you wanna do that?
mastersjef said:
Because the relock locks the bootloader and the bootloader is patched how you wanna do that?
Click to expand...
Click to collapse
The bootloader is not patched, it's just unlocked than locked. When it's unlocked, it doesn't check the signatures of the loaded components, when it's locked, it does. It won't boot if any of the system components is not signed, but I can sign the changed boot image and then it should boot just fine. At least in theory... I've seen a few people who's done it even with custom ROM and recovery, but I haven't done it before and don't know if it would work with the OP8.
I know it also depends on the signature verification method used by the bootloader and I think OnePlus devices use AVB, but not sure about that either and don't want to brick my brand new device
geiszla said:
I wouldn't change any other partition except replace the boot.img, but I would sign that one too. What do you mean by bootloader getting corrupt?
Click to expand...
Click to collapse
How do you sign the boot.img?
rossrosh007 said:
How do you sign the boot.img?
Click to expand...
Click to collapse
I too would like to know more about this.
It would be nice to be able to run your own boot image and re-lock the bootloader.

Categories

Resources