Nougat, locked bootloader and DRM hack? - Xperia Z5 Compact Q&A, Help & Troubleshooting

Hi.
Last year I unlocked bootloader and rooted my Z5C before it was possible to backup the TA and now I'm a bit lost in what to do. Yesterday I used Flashtool to install 32.3.A.0.378 but the problem is the DRM is gone. I have a locked bootloader so apps that check for this finally work. Therefore, if possible, I want to stay on locked bootloader a bit if it's possible to put in a DRM hack so camera pictures are nice again.
Is it possible to keep bootloader locked and install AndroPlus kernel? Or is there another way of getting DRM back without unlocking?
Device is not rooted and there's no recovery on it. But it's smooth like hell! :laugh:
Any suggestions?

No, not possible.
If you want a kernel with drm fix, you have to unlock bootloader

Gewiz said:
No, not possible.
If you want a kernel with drm fix, you have to unlock bootloader
Click to expand...
Click to collapse
Thanks a bunch. Unlocking it is...

Related

[Q] simplist way to unlock bootloader & root

my brother want me to install a new os for him however he is still on stock kernel and os ect 2.3.4 I believe,
what is the simplest, fastest and safes way to unlock the bootloader of his phone,
furthermore can I use flashtool to root his phone and install other kernals ect,
I have tried *#*#7378423#*#* and it says ''yes'' [as his phone is sim unlocked but I know that he has not unlocked the bootloader himself]
thank you for your time and help in advance :good:
The simplist way to unlock bootloader is the official way.. but you will lose warranty and DRM keys.
Callliope said:
The simplist way to unlock bootloader is the official way.. but you will lose warranty and DRM keys.
Click to expand...
Click to collapse
how is that??
http://unlockbootloader.sonymobile.com/ , just read very carefully!10 times before you unlock it.

What I have to do before sony service?

Hi.
I have some problems with my mini jack. When I plug headphones it sometimes work sometimes not. I think it is messed up. Phone still has waranity, so maybe they fix it.
My question is:
What I have to do before I leave my phone in service center?
Do I have to relock my bootloader or just flash stock ICS?
will they check software if phone has hardware problem?
Thanks in advance!
Cheers
Cwikla
You should relock the bootloader and restore drm keys of possible.
Relocking bootloader is a must as it is the first thing they check.
Relocking the bl should be enough but sometimes sony checks more deeper for the drm keys. So if you have backed up then restore your TA.
And you should flash the latest stock firmware.
They must probably will check bootloader status.
When my touchscreen wasnt working correctly, i just flashed ICS and relocked bootloader without restoring drm keys (i didnt backed it up when i unlocked). Apearrently they didn't checked the software and just sent me a new phone.
If you just relock the bootloader they can check the drm keys and will know you unlocked it before. But I don't see a reason why they will remove your warranty because of that, giving the fact that nothing software-wise can screw your headphone jack.
@Twski
Depends on the employee who checks your phone. If he checks for drm keys then he knows that you unblocked your bootloader and your warranty is void.
But mostly they just check the bootloader status like they did last time.
And unlocking the bootloader will void the warranty no matter what the problem is. While unlocking the bootloader they clearly told you that.
Hamza Murad said:
You should relock the bootloader and restore drm keys of possible.
Relocking bootloader is a must as it is the first thing they check.
Relocking the bl should be enough but sometimes sony checks more deeper for the drm keys. So if you have backed up then restore your TA.
And you should flash the latest stock firmware.
They must probably will check bootloader status.
Click to expand...
Click to collapse
Twski said:
When my touchscreen wasnt working correctly, i just flashed ICS and relocked bootloader without restoring drm keys (i didnt backed it up when i unlocked). Apearrently they didn't checked the software and just sent me a new phone.
If you just relock the bootloader they can check the drm keys and will know you unlocked it before. But I don't see a reason why they will remove your warranty because of that, giving the fact that nothing software-wise can screw your headphone jack.
Click to expand...
Click to collapse
Hamza Murad said:
@Twski
Depends on the employee who checks your phone. If he checks for drm keys then he knows that you unblocked your bootloader and your warranty is void.
But mostly they just check the bootloader status like they did last time.
And unlocking the bootloader will void the warranty no matter what the problem is. While unlocking the bootloader they clearly told you that.
Click to expand...
Click to collapse
Thank you guys for reply!
I will relock bootloader, flash latest stock and go to sony service.
Edit: And if I want to unlock it again after it return to me, the procedure is the same like 1st time unlocking?
Yes.

relocking the bootloader????

I have unlocked the bootloader and now i found that there are ways to root to root phone without unlocking the bootloader is it possible to relock the bootloader without losing any phone capabilities.
If you've already unlocked there's absolutely no point in relocking it, you get more freedom and benefit more from an unlocked bootloader eg custom kernels and roms
i just want to know what is the way and suppose i want to give them for warranty repair so i should be prepared lol
Amritttt said:
i just want to know what is the way and suppose i want to give them for warranty repair so i should be prepared lol
Click to expand...
Click to collapse
If you used TA backup after rooting and BEFORE unlocking, you can return the phone to a fully LOCKED state as if you had never unlocked it.
If you didn't do a TA backup, you can only relock it and thus the reseller/repair centre know what you did.
i never made any TA backup it wasn't available that time there was no root that time without unlocking it.
Amritttt said:
i never made any TA backup it wasn't available that time there was no root that time without unlocking it.
Click to expand...
Click to collapse
Then you can't return to completely stock. The relocked notice will give you away.
LenAsh said:
Then you can't return to completely stock. The relocked notice will give you away.
Click to expand...
Click to collapse
Look at Xperiafirmware.com -> "Sony XPERIA Z2 D6503 - Android 4.4.2 - firmware 17.1.2.A.0.314". There is a solution to re-lock the bootloader.

Root questions

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

Relocked bootloader

It's possible to relock bootloader for Xperia X F5122 after unlock?
You can. But there's no way to recover DRM keys for now.
iH8Ecchi said:
You can. But there's no way to recover DRM keys for now.
Click to expand...
Click to collapse
There's no way to recover your drm keys at all ever, one of the reasons I'm waiting off unlocking my xa bootloader no ta back up
Sent from my Xperia XA using XDA Labs
Relocked and Camera NOT Working... - Unlock, and it works.
Hi everyone, i have unlocked my Xperia X f5122 34.0.A.2.292 bootloader (Sadly)
after unlocking i noticed some functions like X-Reality not working anymore on my device...
i wanted to relock it again using flashtool, and i did it easily
but after relock camera will not work (camera app hangs when i press button or touch) - third party apps not working too.
when i unlock it again, i get camera working...
is there any way to relock bootloader and make camera work like when device is unlocked?
(sorry for bad english)
lianzen said:
Hi everyone, i have unlocked my Xperia X f5122 34.0.A.2.292 bootloader (Sadly)
after unlocking i noticed some functions like X-Reality not working anymore on my device...
i wanted to relock it again using flashtool, and i did it easily
but after relock camera will not work (camera app hangs when i press button or touch) - third party apps not working too.
when i unlock it again, i get camera working...
is there any way to relock bootloader and make camera work like when device is unlocked?
(sorry for bad english)
Click to expand...
Click to collapse
Don't know how to fix it but you could just flash this kernel:
http://forum.xda-developers.com/xperia-x/development/root-xperia-x-34-0-2-292-modified-t3449708
All functions like x-reality will work with this kernel
Relock then FLash? hmmm
kistigun said:
Don't know how to fix it but you could just flash this kernel:
http://forum.xda-developers.com/xperia-x/development/root-xperia-x-34-0-2-292-modified-t3449708
All functions like x-reality will work with this kernel
Click to expand...
Click to collapse
Thank for Reply,
so you mean i have to relock bootloader then flash that kernel then unroot with super su?
can i get relocked boot loader and everything OK that way?
but for flashing that kernel i have to unlock boot loader
maybe this works? :
i unlock bootloader then flash kernel then unroot and then relock bootloader
but that way android ask me for patttern at srart which i dont know what is it so i have to draw wrong pattern 30 times to get device factory reset.
i dont know after than kernel will stay there or not.
its like 1 week im working on this device day and night
lianzen said:
Thank for Reply,
so you mean i have to relock bootloader then flash that kernel then unroot with super su?
can i get relocked boot loader and everything OK that way?
but for flashing that kernel i have to unlock boot loader
maybe this works? :
i unlock bootloader then flash kernel then unroot and then relock bootloader
but that way android ask me for patttern at srart which i dont know what is it so i have to draw wrong pattern 30 times to get device factory reset.
i dont know after than kernel will stay there or not.
its like 1 week im working on this device day and night
Click to expand...
Click to collapse
No just keep you bootloader unlocked and flash that kernel, you´ll have all functions(like x-reality) and root
kistigun said:
No just keep you bootloader unlocked and flash that kernel, you´ll have all functions(like x-reality) and root
Click to expand...
Click to collapse
yeah thats what im doing
i wonder if i can relock and unroot and have everything ok.
thanks
lianzen said:
yeah thats what im doing
i wonder if i can relock and unroot and have everything ok.
thanks
Click to expand...
Click to collapse
Problably not, you've unlocked your bootloader so your TA-partition is whiped meaning you lost your DRM keys. You can not get them back anymore. So without a kernel with DRM-fix you wont get functions like x-reality back. So just keep your bootloader unlocked and use a custom kernel with DRM-fix and you'll be fine.
kistigun said:
Problably not, you've unlocked your bootloader so your TA-partition is whiped meaning you lost your DRM keys. You can not get them back anymore. So without a kernel with DRM-fix you wont get functions like x-reality back. So just keep your bootloader unlocked and use a custom kernel with DRM-fix and you'll be fine.
Click to expand...
Click to collapse
Got a question, hope you can help me.
How close is that DRM-fix to the original DRM keys in terms of quality?
El Brillantinas said:
Got a question, hope you can help me.
How close is that DRM-fix to the original DRM keys in terms of quality?
Click to expand...
Click to collapse
same quality
Is it possible to make the "bootloader is unlocked" message when booting up disappear?
No, only by relocking your bootloader.
aidy.lucas said:
There's no way to recover your drm keys at all ever, one of the reasons I'm waiting off unlocking my xa bootloader no ta back up
Sent from my Xperia XA using XDA Labs
Click to expand...
Click to collapse
Isn't Xperia XA came out on Android 6.01 ? if that so then you can use DirtyCow script to extract drm keys / TA.img.
PrinceOfQueda said:
It's possible to relock bootloader for Xperia X F5122 after unlock?
Click to expand...
Click to collapse
you can block the bootlader now in android 8 and the camera is work
Hello: Someone can tell me if after opening it, the booloader can be blocked again. I have the DRM keys. I tried to do it by Flash Tool, but when I turn on the phone it always asks me for the android key and I do not know what it is.
Thank you.
I answer: Easy with oreo. An ftf of oreo is installed by flashtool and the mobile starts, we accept debug usb and developer mode. The mobile is turned off and reconnected to flashtool, given to the blu and relock option. When finished, disconnect the mobile and turn it on. Ask for Android key, well, it turns off and connects to xperia companion. The repair firmware option is given and the instructions are followed and when finished we have repaired oreo and the bootloader as before unlocking it.
Kisses, applause and thanks to all those who have helped me with the comments.

Categories

Resources