Unlock bootloader - Sony Xperia XZs Questions & Answers

So I want to unlock my bootloader and I noticed it can't be selected on Sony website. Do I click the xz or what do I do?

unlock
you can select XZ
it works with XZs

Thanks. Gonna give it a go

Hi guys, its a silly question...do we still lose DRM keys when unlocking bootloader? Like with Z series?

Sony provides the ability to unlock the bootloader of the XZs on their website... If I do so, without doing any other changes, will this result to losing DRM keys or whatever else that's important? Hope anyone can clarify, thanks.

manilenio said:
Sony provides the ability to unlock the bootloader of the XZs on their website... If I do so, without doing any other changes, will this result to losing DRM keys or whatever else that's important? Hope anyone can clarify, thanks.
Click to expand...
Click to collapse
i really want someone to try this to save drm keys
https://forum.xda-developers.com/xzs/how-to/dirty-trick-t3759905
i don't have xzs in my country otherwise i would have tried my self!
xzs is basically XZ so if android 6 of xz can be flashed on xzs before unlocking bootloader and then running dirtycow script!... iam 99% sure it will work! both always run on same buildnumbers and kernel versions!

Related

Test DRM keys ok on rooted locked BL?

Hi all
I have a rooted Z3. On the paper DRM keys should be untouched but I am not impressed with the camera's quality.
I flashed pre rooted rom and subsequent rom updates but wonder if something didn't go wrong along the way.
So, simple question : how can I test the effective presence of DRM keys / make sure the functions that come with it are present on my Z3?
Thx
benjieb said:
Hi all
I have a rooted Z3. On the paper DRM keys should be untouched but I am not impressed with the camera's quality.
I flashed pre rooted rom and subsequent rom updates but wonder if something didn't go wrong along the way.
So, simple question : how can I test the effective presence of DRM keys / make sure the functions that come with it are present on my Z3?
Thx
Click to expand...
Click to collapse
Your DRM keys will be totally intact unless you unlocked the bootloader.
Are you sure? I thought that flashing a full 'home made' pre rooted rom could over right TA partition resulting in useless drm keys... Isn't there some part of the rom that has to be exclude to prevent just that ?
benjieb said:
Are you sure? I thought that flashing a full 'home made' pre rooted rom could over right TA partition resulting in useless drm keys... Isn't there some part of the rom that has to be exclude to prevent just that ?
Click to expand...
Click to collapse
Do you see any difference in camera before and after installing preroot rom?
Having an awesome camera doesn't means awesome photo. There is many other things that makes a photo great.
Composition, subject, correct use of modes or manual settings, white balance...
I for one is not impressed with the stock Sony camera. But granted its much easier and better than other phone cameras available. I'm impressed with its low light capability, speed of autofocus, and all those amazing preprogrammed modes.
I'm no fan of manual control. If I need manual control, I'll need raw as well and for that I bought a dslr..
This Sony camera serves what I need. Quick, Good, camera to catch things at the right time.
Sent from my D6653 using Tapatalk
See here how to check the DRM keys:
http://forum.xda-developers.com/showpost.php?p=58620274&postcount=122
benjieb said:
Hi all
I have a rooted Z3. On the paper DRM keys should be untouched but I am not impressed with the camera's quality.
I flashed pre rooted rom and subsequent rom updates but wonder if something didn't go wrong along the way.
So, simple question : how can I test the effective presence of DRM keys / make sure the functions that come with it are present on my Z3?
Thx
Click to expand...
Click to collapse
Which version Z3 you have and which pre-rooted rom did you flash? The only version that has a locked bootloader is the T-Mobile Variant. And like all the other members stated, you can only lose DRM keys if you unlocked the bootloader. If your bootloader is locked then DRM will be retained even if you rooted and flash a pre-rooted rom.
I have a D6603 with current stock rom pre rooted. BL is locked.
Regards to camera (and not my photos) i am disappointed. I find the white balance dull/approximate, low light noisy and the overall sharpness quite bad. Hence I wondered if it was due to some messing about with drm keys...
benjieb said:
I have a D6603 with current stock rom pre rooted. BL is locked.
Regards to camera (and not my photos) i am disappointed. I find the white balance dull/approximate, low light noisy and the overall sharpness quite bad. Hence I wondered if it was due to some messing about with drm keys...
Click to expand...
Click to collapse
To truly check open the phone dialer and type *#*#7378423#*#* then navigate to "Service Test" then "Security". If the first three lines says MARLIN [Key OK][Active], CKB [Key OK][Active], WIDEVINE [Key OK][Active] then your drm keys are intact, if it says unknown then the drm keys are gone.
All OK active under security test, so I guess I am fine.
Thanks
I have Z3 T-Mobile carrier (D6616) from my friend but "Bootloader unlock allowed: Yes" but key "unknown error"
Code:
MARLIN [unknown error][Active]
CKB [unknown error][Active]
WIDEVINE [unknown error][Active]
However, I can manage to download music info from SONY. What happened with my device DRM Keys?
wuhoatu said:
I have Z3 T-Mobile carrier (D6616) from my friend but "Bootloader unlock allowed: Yes" but key "unknown error"
Code:
MARLIN [unknown error][Active]
CKB [unknown error][Active]
WIDEVINE [unknown error][Active]
However, I can manage to download music info from SONY. What happened with my device DRM Keys?
Click to expand...
Click to collapse
This means that you are able to unlock the bootloader but that it is currently locked.
Unless the bootloader has been unlocked the DRM keys are intact
Your DRM keys are intact.
gregbradley said:
This means that you are able to unlock the bootloader but that it is currently locked.
Unless the bootloader has been unlocked the DRM keys are intact
Your DRM keys are intact.
Click to expand...
Click to collapse
Many THX. I feel it uncommon because D6616 bootloader is told that cannot be unlockable and the keys has "unknown error".
wuhoatu said:
Many THX. I feel it uncommon because D6616 bootloader is told that cannot be unlockable and the keys has "unknown error".
Click to expand...
Click to collapse
If the bootloader was not able to be unlocked it would say
Bootloader unlock allowed:No
If it says bootloader unlock allowed:yes
then it can be

Front camera is Snapchat application is glitching (Read)

Hi,
I know this is an application issue but;
I have an Xperia Z5 Premium (I already posted this in Z5 Premium forum but no replies there). So I have a Xperia Z5 Premium with unlocked bootloader and with DRM patch installed, I do not have the DRM keys backed up either.
I launch Snapchat with all this, front camera works fine as it should, but I wanted to change my phone back to stock, I reinstalled stock firmware and locked the bootloader via flashtool. I launch Snapchat, and the front camera glitches very badly - It's showing green spots and tears all over the screen and lagging horribly, this is completely fine in the Sony Camera App.
Now IF I unlock my bootloader and install a DRM patch, this issue is fixed.
But I don't want to unlock my bootloader and root my device, I want it to be as stock as possible. Is there any fix to this issue?
Can someone else test this on their Z5 / Z5 Premium without the DRM keys and have bootloader locked.
Thanks
I have the same issue you are describing, but I did unlock my bootloader, I didn't install the drm fix though edit: This issue is not present when I use a custom rom so I guess it has to do something with the drm fix
I don't know how to fix this, I don't want to unlock my bootloader and/or install a custom rom but I really want Snapchat on my bootloader locked Xperia Z5 with stock rom and no DRM keys.
I'd be really grateful if someone helps me with this.. I already regret not backing my TA folder up a lot and this is the last thing I need.
I found out that this happens only when the bootloader is locked, not when unlocked.
Is there some way to fix this please?

Quick questions about flashing 32.2.A.0.305

I have not received the 32.2.A.0.305 update for my Z5 yet, so I went to XperiFirm to check which region my device's firmware is from. It turns out the firmware is CDA 1298-2996 (South Africa).
I live in Australia and wish to flash the Customized AU firmware with CDA 1298-7277. I want to do this so that my device will be updated and will be using the Australian firmware.
My bootloader is locked; is flashing possible without unlocking the bootloader?
Will flashing a different firmware potentially cause damage (my device is not network locked, and single sim E6653).
Will this affect my warranty / DRM keys?
Thank you in advance, I appreciate any help :angel:
You are safe to flash almost any E6653 Firmware onto your E6653
Obviously dont flash test firmwares or ones that May lock your sim
Sent from my E6653 using XDA-Developers mobile app
Envious_Data said:
You are safe to flash almost any E6653 Firmware onto your E6653
Obviously dont flash test firmwares or ones that May lock your sim
Sent from my E6653 using XDA-Developers mobile app
Click to expand...
Click to collapse
Thank you And the DRM keys should not be affected? I have read that unlocking the bootloader only affects the keys.
csfrank271 said:
Thank you And the DRM keys should not be affected? I have read that unlocking the bootloader only affects the keys.
Click to expand...
Click to collapse
Flashing a FTF shouldent touch DRM At all.
Envious_Data said:
Flashing a FTF shouldent touch DRM At all.
Click to expand...
Click to collapse
Thanks again, I appreciate the knowledge!
csfrank271 said:
I have not received the 32.2.A.0.305 update for my Z5 yet, so I went to XperiFirm to check which region my device's firmware is from. It turns out the firmware is CDA 1298-2996 (South Africa).
I live in Australia and wish to flash the Customized AU firmware with CDA 1298-7277. I want to do this so that my device will be updated and will be using the Australian firmware.
My bootloader is locked; is flashing possible without unlocking the bootloader?
Will flashing a different firmware potentially cause damage (my device is not network locked, and single sim E6653).
Will this affect my warranty / DRM keys?
Thank you in advance, I appreciate any help :angel:
Click to expand...
Click to collapse
you can flash and what ever with your device, DRM keys are safe!
when u ulock bootloader, the device WIPE user Data and sony partitions (TA (trimArea) partitions) and DRM keys and FIDO keys will be lost!
this $h!t is with sony only!!
i rooted my fone and having modified kernel having DRM stimulation installed. its working fine now.
- at any given day, to a thirsty user who wants to CONTROL his Xperia to the most. i would say, ignore drm keys and make a deal with devil to have root access
- however since Xperia Z5 (unlike latest xperia Xseries) came out on LP kernel. so u can FLASH LP kernel and root it with app like kingroot and extract your DRM keys to windows pc and back it up. now u can flash the LASTED Android back on you Xperiaz5 and unlock your boot loader to have root access.
check this
http://forum.xda-developers.com/z5-...ting-xperia-z5-z5p-variants-drm-keys-t3437902
YasuHamed said:
you can flash and what ever with your device, DRM keys are safe!
when u ulock bootloader, the device WIPE user Data and sony partitions (TA (trimArea) partitions) and DRM keys and FIDO keys will be lost!
this $h!t is with sony only!!
i rooted my fone and having modified kernel having DRM stimulation installed. its working fine now.
- at any given day, to a thirsty user who wants to CONTROL his Xperia to the most. i would say, ignore drm keys and make a deal with devil to have root access
- however since Xperia Z5 (unlike latest xperia Xseries) came out on LP kernel. so u can FLASH LP kernel and root it with app like kingroot and extract your DRM keys to windows pc and back it up. now u can flash the LASTED Android back on you Xperiaz5 and unlock your boot loader to have root access.
check this
http://forum.xda-developers.com/z5-...ting-xperia-z5-z5p-variants-drm-keys-t3437902
Click to expand...
Click to collapse
Thanks for the advice, I will look into it in the future when CyanogenMod improves and I need to unlock the bootloader to install it. My main incentive for this would be to greatly improve the camera, which we all know takes very washed-out photos.
I have just gone through the firmware flashing process. Thankfully there are many guides available and it all worked just fine, so I am using the current, correct firmware now
The worst part was just the waiting and suspense (feels like a lot could go wrong).
Thanks again Envious_Data and YasuHamed!
csfrank271 said:
Thanks for the advice, I will look into it in the future when CyanogenMod improves and I need to unlock the bootloader to install it. My main incentive for this would be to greatly improve the camera, which we all know takes very washed-out photos.
I have just gone through the firmware flashing process. Thankfully there are many guides available and it all worked just fine, so I am using the current, correct firmware now
The worst part was just the waiting and suspense (feels like a lot could go wrong).
Thanks again Envious_Data and YasuHamed!
Click to expand...
Click to collapse
i had flashed Cm13 on XperiaZ and inbuilt camera app of CM13 was worse than xperia! and if you think you z5 camera isn't working properly then God Help you when you won't have DRM keys in place! because the DRM keys actually enables feature of camera which wont be activated if DRM keys are lost
nothing will go wrong! be confident! sony devices are Hardcore stallions! once you nail them! they will be your pet!

anyway for lock the bootloader

Is there any chance to lock again my bootloader?
Unfortunately, you cannot relock the bootloader.
iArvee said:
Unfortunately, you cannot relock the bootloader.
Click to expand...
Click to collapse
If BLU option in flashtool works , we have any chance to lock it again
SilverGamer_YT said:
If BLU option in flashtool works , we have any chance to lock it again
Click to expand...
Click to collapse
No, unlike the old Z1/Z2/Z3 where you can easily lock and unlock the bootloader, you need the DRM keys. However, even if you have the DRM keys, you still cannot relock the bootloader. I backed up the DRM keys of my Z5 before and couldn't relock the bootloader. Basically once you unlock, you can't go back.
May I ask why you want to relock it?
iArvee said:
No, unlike the old Z1/Z2/Z3 where you can easily lock and unlock the bootloader, you need the DRM keys. However, even if you have the DRM keys, you still cannot relock the bootloader. I backed up the DRM keys of my Z5 before and couldn't relock the bootloader. Basically once you unlock, you can't go back.
May I ask why you want to relock it?
Click to expand...
Click to collapse
I feel like there is no stuff for unlock the bootloader and the f****** green pictures when you make any update of software I don't really like it
SilverGamer_YT said:
I feel like there is no stuff for unlock the bootloader and the f****** green pictures when you make any update of software I don't really like it
Click to expand...
Click to collapse
Well, there's AOSP 8.1. You can try the 4k all the time and the 120hz refresh rate. Though I'm not sure if that's fixed yet.
The DRM fix still works for me. You can manually flash the drmfix and not have to use xperifix.
iArvee said:
Well, there's AOSP 8.1. You can try the 4k all the time and the 120hz refresh rate. Though I'm not sure if that's fixed yet.
The DRM fix still works for me. You can manually flash the drmfix and not have to use xperifix.
Click to expand...
Click to collapse
I know Sony cannot not change their DRM because if they do it they can make I big mistake like giving the DRM in their software and fix any unlocked phone
And for the aosp is for single SIM and doesn't works fine in dual SIM

Do you think there are still the drm keys?

Hello. I bought a used Xperia XZ2 compact, beautiful. But the quality of the photos (especially in the dark) is bad.
I have the doubt that the old owner had rooted the device or unlocked the bootloader, losing the DRM keys, causing the bad quality of the photos.
Is there a way to understand if the DRM keys are still on the phone?
I tried to access the hidden menu by typing *#*#7378423#*#* and in Service Info -> Security appears as in the attached photo.
Do you think the DRM keys are there?
Could someone take a screenshot on his XZ2 Compact with the DRM keys?
Thank you.
What stands in the service menu after bootloader unlocked ? If there stands like this : bootloader unlocked: yes
Then its unlocked for sure. And that stands under configuration
Pandemic said:
What stands in the service menu after bootloader unlocked ? If there stands like this : bootloader unlocked: yes
Then its unlocked for sure. And that stands under configuration
Click to expand...
Click to collapse
it says bootloader unlock allowed: yes
it's like that for every phone, also the unlocked ones
Yes your DRM layer looks perfectly fine/functional.
the drm keys are restorable on xz2c even if someone unlocks the bootloader ?
bob1791 said:
the drm keys are restorable on xz2c even if someone unlocks the bootloader ?
Click to expand...
Click to collapse
I have the same question.
David-538 said:
I have the same question.
Click to expand...
Click to collapse
I unlocked the bootloader yesterday and checked for the drm key in the hidden menu.. and I found out that anything was changed... =)
EDIT:
unexpectedly I notice that the booloader was not unlocked when I tried to install the twrp recovery. Doing again the oem unlock results in DRM Keys LOST... sorry for the inconvenience
bob1791 said:
I unlocked the bootloader yesterday and checked for the drm key in the hidden menu.. and I found out that anything was changed... =)
Click to expand...
Click to collapse
That means it's lost right ? How's the camera quality now, still the same ? And does it take much longer to take a picture ?
David-538 said:
That means it's lost right ? How's the camera quality now, still the same ? And does it take much longer to take a picture ?
Click to expand...
Click to collapse
If it was lost before I do'n't know because I bought the phone like new but the drm keys was provisioned and in other threads I read that this mean the drm keys are still there.. Of course the camera quality still is the same but sony removed this "function" (and for "this function" I mean the fact that if the drm keys are lost your camera won't works) with Android 9 and I already tested this with the XZ1 compact.
bob1791 said:
If it was lost before I do'n't know because I bought the phone like new but the drm keys was provisioned and in other threads I read that this mean the drm keys are still there.. Of course the camera quality still is the same but sony removed this "function" (and for "this function" I mean the fact that if the drm keys are lost your camera won't works) with Android 9 and I already tested this with the XZ1 compact.
Click to expand...
Click to collapse
Are you saying that after unlocking, one can't downgrade to older firmware versions, without breaking the camera ?
David-538 said:
Are you saying that after unlocking, one can't downgrade to older firmware versions, without breaking the camera ?
Click to expand...
Click to collapse
I didn't say that.. I said that unlocking bootloader on Android 11 on my XZ2 compact didmn't break the camera and seems that the drm keys are still there. Furthermore Sony has removed the drm keys camera dependency since Android 9, so if you run Android 9 or newer you camera will still work even if you will unlock the bootloader.
bob1791 said:
I didn't say that.. I said that unlocking bootloader on Android 11 on my XZ2 compact didmn't break the camera and seems that the drm keys are still there. Furthermore Sony has removed the drm keys camera dependency since Android 9, so if you run Android 9 or newer you camera will still work even if you will unlock the bootloader.
Click to expand...
Click to collapse
Thanks, this is great news. I was wondering if keys get lost after unlocking the bootloader. Also are they still there after flashing custom roms ?
David-538 said:
Thanks, this is great news. I was wondering if keys get lost after unlocking the bootloader. Also are they still there after flashing custom roms ?
Click to expand...
Click to collapse
I don't know if the keys still remain there after flashing custom roms... I think that they will be wipe because when you flash a rom you need to wipe everything but you can make a backup before doing some destructive operation. But I'm not sure about the backup and other stuff to preserve the drm keys...
bob1791 said:
I don't know if the keys still remain there after flashing custom roms... I think that they will be wipe because when you flash a rom you need to wipe everything but you can make a backup before doing some destructive operation. But I'm not sure about the backup and other stuff to preserve the drm keys...
Click to expand...
Click to collapse
Ok, but thanks for the info...
David-538 said:
Ok, but thanks for the info...
Click to expand...
Click to collapse
You're welcome. I'm looking for a good custom rom to put in my XZ2 Compact right now....
Of course unlocking the bootloader delete the drm keys... But the camera is still working
bob1791 said:
Of course unlocking the bootloader delete the drm keys... But the camera is still working
Click to expand...
Click to collapse
Uhm, how slow is capturing photos after unlocking the bootloader? I read somewhere that it becomes much slower. And that super slowmo video doesn't work after unlocking. Could you confirm that, or did it only happen on android 9 or older firmware?
se
David-538 said:
Uhm, how slow is capturing photos after unlocking the bootloader? I read somewhere that it becomes much slower. And that super slowmo video doesn't work after unlocking. Could you confirm that, or did it only happen on android 9 or older firmware?
Click to expand...
Click to collapse
seems it is the same.. I taken a pic in a low light environment and I didn't notice any lag
se
David-538 said:
Uhm, how slow is capturing photos after unlocking the bootloader? I read somewhere that it becomes much slower. And that super slowmo video doesn't work after unlocking. Could you confirm that, or did it only happen on android 9 or older firmware?
Click to expand...
Click to collapse
seems it is the same.. I taken a pic in a low light environment and I didn't notice any lag
bob1791 said:
se
seems it is the same.. I taken a pic in a low light environment and I didn't notice any lag
Click to expand...
Click to collapse
Okay thanks for the info.

Categories

Resources