anyway for lock the bootloader - Sony Xperia XZ Premium Questions & Answers

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

Related

Root on locked bootloader

His guys just got the xzp and wow what a phone my only concern is root I have a locked bootloader and it's not unlockable but to be fair I've never unlocked a Xperia bootloader due to loosing drm keys etc
So my question is will we be able to get root on locked bootloaders like we did with past Xperia phones or are we stuck unless we unlock which in my case would mead no root ever :crying:
Thanks
Probably not would be my guess. You still need to unlock bootloader on previous models such as XZ/XZS.
FartyParty said:
Probably not would be my guess. You still need to unlock bootloader on previous models such as XZ/XZS.
Click to expand...
Click to collapse
Darn I love this device too but to never be able to have root might be a deal breaker
In service menu it says unlock bootloader allowed no but in developer options it give me the option to unlock the bootloader does this mean it's possible for me to unlock the bootloader
brockyneo said:
In service menu it says unlock bootloader allowed no but in developer options it give me the option to unlock the bootloader does this mean it's possible for me to unlock the bootloader
Click to expand...
Click to collapse
That setting is there regardless. If it says no its not possible.
FartyParty said:
That setting is there regardless. If it says no its not possible.
Click to expand...
Click to collapse
Ah OK no root for me then ever think it might have to be the oneplus 5 then I love this phone too
Wait for an Android vulnerability or someone find a way to backup the TA partition
ninjy said:
Wait for an Android vulnerability or someone find a way to backup the TA partition
Click to expand...
Click to collapse
But I cannot unlock the bootloader I was hoping for a root without unlocking the bootloader like the z3 which was my last Xperia device
One question if I stay with the xzp cam I at least flash the latest stock UK unbranded room with a locked bootloader so I can get rid of my carrier stuff thanks
brockyneo said:
But I cannot unlock the bootloader I was hoping for a root without unlocking the bootloader like the z3 which was my last Xperia device
Click to expand...
Click to collapse
It's what i'm saying
brockyneo said:
One question if I stay with the xzp cam I at least flash the latest stock UK unbranded room with a locked bootloader so I can get rid of my carrier stuff thanks
Click to expand...
Click to collapse
yes
ninjy said:
It's what i'm saying
yes
Click to expand...
Click to collapse
So what your saying is they maybe a work around getting root ect on locked bootloaders?
Thanks again
Like always, if a security breach is found on Android that allow getting root access, it will be possible to backup the DRM partition, then after if you like, unlocking the bootloader and then restore your DRM partition.
At least, it finished like this for the Z5, but you had to downgrade to Lollipop to get root access.
AFAIK, there is no known way to get root on Nougat today.
ninjy said:
Like always, if a security breach is found on Android that allow getting root access, it will be possible to backup the DRM partition, then after if you like, unlocking the bootloader and then restore your DRM partition.
At least, it finished like this for the Z5, but you had to downgrade to Lollipop to get root access.
AFAIK, there is no known way to get root on Nougat today.
Click to expand...
Click to collapse
So there is the Dirty Cow exploit that seems pretty pervasive and promising.
https://forum.xda-developers.com/general/security/dirty-cow-t3484879
EDIT: Nevermind I'm an idiot, I didn't realize the dates on dirty cow.
Question still stands though, do we know if there is anyone on the XZ Premium working on it?
topherhead said:
So there is the Dirty Cow exploit that seems pretty pervasive and promising.
https://forum.xda-developers.com/general/security/dirty-cow-t3484879
EDIT: Nevermind I'm an idiot, I didn't realize the dates on dirty cow.
Question still stands though, do we know if there is anyone on the XZ Premium working on it?
Click to expand...
Click to collapse
I don't think so, there will be more involved ppl when XZ1 will be released, since it's the same specs
hoping for this with the XZs updated to Oreo...
manilenio said:
hoping for this with the XZs updated to Oreo...
Click to expand...
Click to collapse
It's not possible anymore. You really need to unlock the bootloader in order to root. Something about patching the kernel.

Bootloader relock

Any one know how to relock the bootloader for a xperia xpz?
If you unlocked because you wanted root or custom firmware and lost the sony features for camera and want to revert back. You cannot do so until there is an drm fix or if you had your ta backed up. relocking will do nothing.
CKkio23 said:
If you unlocked because you wanted root or custom firmware and lost the sony features for camera and want to revert back. You cannot do so until there is an drm fix or if you had your ta backed up. relocking will do nothing.
Click to expand...
Click to collapse
I know but maybe i can go through the warranty
Let1107 said:
I know but maybe i can go through the warranty
Click to expand...
Click to collapse
What warranty? As soon as u unlocked the bootloader the warranty is no longer valid as per the terms and conditions u read when u done it
But when you do backup of DRM keys first of course if it possible. And restore them before give Phone on warranty. And relock bootloader warrianty will be works. But if you lose DRM key without backup. The bootloader not be relock.
CKkio23 said:
If you unlocked because you wanted root or custom firmware and lost the sony features for camera and want to revert back. You cannot do so until there is an drm fix or if you had your ta backed up. relocking will do nothing.
Click to expand...
Click to collapse
So, is it possible at this moment to backup the DRM keys?
Legdotus said:
So, is it possible at this moment to backup the DRM keys?
Click to expand...
Click to collapse
No
Oh well, let's hope they find a god damn way to do it. Using an unrooted phone is so uncool.
Mackay53 said:
No
Click to expand...
Click to collapse
Actually, idk if this will work bc it doesnt use 'real' drm keys, but theres always this: https://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672 - yall know if it will work? (pls dont be rude or anything just trying to help)
b_rad42 said:
Actually, idk if this will work bc it doesnt use 'real' drm keys, but theres always this: https://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672 - yall know if it will work? (pls dont be rude or anything just trying to help)
Click to expand...
Click to collapse
There's a hack/mod here that offers a DRM fix, but no DRM restoration. https://forum.xda-developers.com/xz...hack-mod-sony-xperia-xz-premium-twrp-t3695171
Basically we can root now. I think you can just relock the bootloader (to remove the unlocked message on boot thing) if you're going to send your device in for repairs.
Thread cleaned.
iArvee said:
I think you can just relock the bootloader (to remove the unlocked message on boot thing) if you're going to send your device in for repairs.
Click to expand...
Click to collapse
No, that required the keys which are lost forever.
FartyParty said:
No, that required the keys which are lost forever.
Click to expand...
Click to collapse
Ah, I stand corrected then. What happens if you DO try to relock the bootloader? It will simply fail? Or brick the phone?
iArvee said:
Ah, I stand corrected then. What happens if you DO try to relock the bootloader? It will simply fail? Or brick the phone?
Click to expand...
Click to collapse
Nothing.

Xperia XZ Premium camera issues

I bought a XZ Premium locally second hand. THe phone worked great. I used Flashtool to stick EE firmware on as it had vodafone.
The thing is the camera does not work. when I select camera it shows the view. but when i press the button to take the shot ti does nothing, also the same with videos.
Snapchat video works?
any help?
UPDATE
OK so did the systems test and when I take a photo on front or rear camera it is green.
now looking online its something to do with DRM and unlocing the bootloader
I dont think this phone has been unlocked , the service screen shows as unlock possible - no
Seems like the phone has it bootloader unlocked you should flash drmpath thats the only way it will work.
raven213 said:
Seems like the phone has it bootloader unlocked you should flash drmpath thats the only way it will work.
Click to expand...
Click to collapse
Anyway to check? as it all points to the DRM issue but sont want to mess with it further as it still has warranty
shaz2sxy said:
Anyway to check? as it all points to the DRM issue but sont want to mess with it further as it still has warranty
Click to expand...
Click to collapse
When you turn on your phone do you get a message ??
raven213 said:
When you turn on your phone do you get a message ??
Click to expand...
Click to collapse
no messages, just the usual Xperia loading screen
Nothing like "your device has been unlocked and can't be trusted"
raven213 said:
Nothing like "your device has been unlocked and can't be trusted"
Click to expand...
Click to collapse
nope nothing like that
For green photos you have to flash drmpatch which you will need unlocked bootloader and twrp installed. I'm not sure if it's possible but probably the owner before you relocked the bootloader?
raven213 said:
For green photos you have to flash drmpath which you will need unlocked bootloader and twrp installed. I'm not sure if it's possible but probably the owner before you relocked the bootloader?
Click to expand...
Click to collapse
Thats whats quizzing me about this lol
its still under warranty so I might send it to Sony first to see what they do and if not i'll use xperfix
Alright good luck

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.

Question Reverting to stock and relocking bootloader

I've successfully reverted back to stock rom using the rescue software but couldn't figure out how to relock the bootloader. Could anyone post a tutorial on it?
raiprasant62 said:
I've successfully reverted back to stock rom using the rescue software but couldn't figure out how to relock the bootloader. Could anyone post a tutorial on it?
Click to expand...
Click to collapse
Fastboot mode => fastboot flashing lock
Will I get widevine L1 support back if I relock bootloader? And will I be able to unlock it again?
raiprasant62 said:
Will I get widevine L1 support back if I relock bootloader?
Click to expand...
Click to collapse
I don't know
raiprasant62 said:
And will I be able to unlock it again?
Click to expand...
Click to collapse
yes
@raiprasant62 it is VERY CRITICAL that you have the correct stock ROM variant for your model installed before relocking bootloader or it'll lock and give a corrupt device warning and fail to boot!!!!
The ONLY safe way to relock bootloader is to use Motorola Rescue and Smart Assistant tool and then boot into the ROM and then attempt relocking
Has anyone successfully relocked the phone and checked Widevine L1 status after relock?
I read somewhere here that once unlocked.. this phone can never get L1 back and is stuck on L3 forever. But I can't find where. I wonder if it's speculation or has anyone actually tried it?
JonW434 said:
Has anyone successfully relocked the phone and checked Widevine L1 status after relock?
I read somewhere here that once unlocked.. this phone can never get L1 back and is stuck on L3 forever. But I can't find where. I wonder if it's speculation or has anyone actually tried it?
Click to expand...
Click to collapse
is there a fully working TWRP build available for this device which can backup /data? if yes then backup your data -> relock the bootloader -> boot into system and see what will happen.
As far as I know, there's no working TWRP currently, but I will keep looking. I haven't seen anyone talk about using it.
I did find this, from here, but I haven't found anyone talk about the pros and cons or if it worked or not. My phone hasn't been unlocked yet, because I'm unsure if I will get L1 back if I ever relock it. If I unlock it, I'll test a few of the ROMS on here out and see what happens.
JonW434 said:
I did find this, from here, but
Click to expand...
Click to collapse
that's all I could find, too. but it's unclear if it's able to decrypt & backup /data.
I assume it would be possible to bring back L1 since it depends on your verified boot state. it's like the Play Store certification I think.
@JonW434 I have heard users on Telegram saying that yes relocking bootloader that WV L1 does come back on Motorola devices
ThE_MarD said:
@JonW434 I have heard users on Telegram saying that yes relocking bootloader that WV L1 does come back on Motorola devices
Click to expand...
Click to collapse
Yeah it seems so.
Like you said in post #5, it seems the most important thing is to make sure to have correct version of stock rom installed for correct model. Outside of that, it just seems there aren't many people relocking in order to confirm it. But it seems like it should work like with any other phones. I've seen other Motorola users (for other models) that it relocks fine. I'm not sure where it came from that this phone can't do that, maybe it was a misunderstanding.
JonW434 said:
I'm not sure where it came from that this phone can't do that, maybe it was a misunderstanding.
Click to expand...
Click to collapse
some Moto's will never get back the state of "oem_locked" once they were unlocked. maybe that's the reason. but it doesn't effect the verfied boot state.
WoKoschekk said:
some Moto's will never get back the state of "oem_locked" once they were unlocked. maybe that's the reason. but it doesn't effect the verfied boot state.
Click to expand...
Click to collapse
Interesting. I've been outside the world of Android stuff for a few years and have been relearning everything, or some new things that have changed.
Is there a way to check the state of these things via an app or rooted file explorer or are this things inaccessible to us, in terms of modifying or viewing them?
JonW434 said:
Interesting. I've been outside the world of Android stuff for a few years and have been relearning everything, or some new things that have changed.
Is there a way to check the state of these things via an app or rooted file explorer or are this things inaccessible to us, in terms of modifying or viewing them?
Click to expand...
Click to collapse
on your fastboot screen bottom left: oem_locked, flashing_unlocked or flashing_locked
JonW434 said:
Has anyone successfully relocked the phone and checked Widevine L1 status after relock?
I read somewhere here that once unlocked.. this phone can never get L1 back and is stuck on L3 forever. But I can't find where. I wonder if it's speculation or has anyone actually tried it?
Click to expand...
Click to collapse
I don't know how to check that but after relock I was able to use Google wallet without any hacks. Also unlock again was not a problem. Now I am on stock 13 ROM rooted. That works good for me.

Categories

Resources