Bootloader relock - Sony Xperia XZ Premium Questions & Answers

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.

Related

[Q] How do I root my Sony Xperia Z3 d6603?

Hi
I just got my phone, but missing the benefits of rooting.
Can anyone tell me how to unlock the bootloader and then root my phone?
Found a lot of links, but not sure which are secure and not to use.
Here's where you go to unlock your bootloader - http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
Once unlocked, you can flash root or do whatever at that point.
Warning though, you will lose your DRM keys in this process, if you don't know what that means, do some research
se1000 said:
Here's where you go to unlock your bootloader - http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
Once unlocked, you can flash root or do whatever at that point.
Warning though, you will lose your DRM keys in this process, if you don't know what that means, do some research
Click to expand...
Click to collapse
Is their any way to back them up? So if I ever regret, I can get them back?
Also, is it possible or will it ever be possible to root with an locked bootloader?
Faspaiso said:
Is their any way to back them up? So if I ever regret, I can get them back?
Also, is it possible or will it ever be possible to root with an locked bootloader?
Click to expand...
Click to collapse
You need root to backup DRM keys.
You cant get root without unlocking the bootloader yet.
Youll lose DRM keys when you unlock the bootloader.
If you cant take losing your DRM keys do not unlock and root.
Chadneu said:
You need root to backup DRM keys.
You cant get root without unlocking the bootloader yet.
Youll lose DRM keys when you unlock the bootloader.
If you cant take losing your DRM keys do not unlock and root.
Click to expand...
Click to collapse
Thanks, I will wait.
Last question. I got Samsung before and I was able to update my phone with Kies after rooting. Is their any way to update Sony devices when rooted?
Thanks
Flashtool or PC Companion. I prefer the latter.
russell664 said:
Flashtool or PC Companion. I prefer the latter.
Click to expand...
Click to collapse
You sure? As the DRM keys doesn't matter for me, as I don't really use the camera a lot.
But when I unlock bootloader on Sonys website, it tells me I would not be able to get updates from that. But i'm still able to get them with the PC companion?
Just to make sure, as I really want android 5.0 when it comes out.
Faspaiso said:
You sure? As the DRM keys doesn't matter for me, as I don't really use the camera a lot.
But when I unlock bootloader on Sonys website, it tells me I would not be able to get updates from that. But i'm still able to get them with the PC companion?
Just to make sure, as I really want android 5.0 when it comes out.
Click to expand...
Click to collapse
You can't update with PC companion if you have unlocked your booloader. Your phone will be bricked!
Sent from my iPad using Tapatalk HD
eawert said:
You can't update with PC companion if you have unlocked your booloader. Your phone will be bricked!
Sent from my iPad using Tapatalk HD
Click to expand...
Click to collapse
You sure? So if I unlock my bootloader, their is no way for me to get Android 5.0?
Faspaiso said:
You sure? So if I unlock my bootloader, their is no way for me to get Android 5.0?
Click to expand...
Click to collapse
No way to know for sure until someone tries. But with the Z2, you just have to relock your bootloader (might need to revert to a stock kernel first) and then software updates work fine.
Faspaiso said:
You sure? So if I unlock my bootloader, their is no way for me to get Android 5.0?
Click to expand...
Click to collapse
There will always be FTF files shared on XDA and you can use flashtool with an unlocked bootloader.
Know somebody how can I root my z3 with latest ftf... 77? Please help!!
Twenga said:
Know somebody how can I root my z3 with latest ftf... 77? Please help!!
Click to expand...
Click to collapse
You do it the only way it is possible
Unlock the bootloader via the official way, flash a custom kernel
My bootloader is already unlocked, where can I get a custom kernel? My z3 was root with ftf.... 98 after upgrade to.... 77 I lost my root! Thank you for helping!!
Twenga said:
My bootloader is already unlocked, where can I get a custom kernel? My z3 was root with ftf.... 98 after upgrade to.... 77 I lost my root! Thank you for helping!!
Click to expand...
Click to collapse
Take a look in the development section
In need of some help, I wanted to root my z3 again, I've downgraded back to .77 but completely forgot how I done it last time, I created a few pre-rooted flashables (.77, .690 & .726) but I'm having trouble finding how to install custom recovery.. Any help would be greatly appreciated
Ps. Sorry to hijack your post
hey people...one question..
can i get only root access to my z3 ,without anything else?? i want only get rid of ads!!?? and how?? please help
i'm not interested in new kernel or rom change!? goes that so???
robertrobi said:
hey people...one question..
can i get only root access to my z3 ,without anything else?? i want only get rid of ads!!?? and how?? please help
i'm not interested in new kernel or rom change!? goes that so???
Click to expand...
Click to collapse
There is no need to spam multiple topics.
YES, it can be done. NO, we can't tell you how because you didn't post your phone model or Android version.
robogo1982 said:
There is no need to spam multiple topics.
YES, it can be done. NO, we can't tell you how because you didn't post your phone model or Android version.
Click to expand...
Click to collapse
Hej robogo1982, jesi dobio moju poruku u privat?

[Question][Request] Root for F8332 stock without unlocking BL?

Just as mentioned above. I dont mind waiting but just wanna ask is there anybody able to get it already? I've done some google, some pages offer a very 'detailed' instructions like just install TWRP using fastboot method then flash the SuperSU binary then bingo!! Some others state unlocking BL is required. Since to me xda is the only reliable source so I guess I will be looking for answers here.
Cheers
since the Z3+ and newer devices, root with lock bootloader is impossible at least for now.
btw, unlock bootloader is so easy for root, why not? Warranty?
tommy1616 said:
since the Z3+ and newer devices, root with lock bootloader is impossible at least for now.
btw, unlock bootloader is so easy for root, why not? Warranty?
Click to expand...
Click to collapse
Well... DRM keys thing is what i concern. AFAIK im gonna have to give up some features if i lose it so...
Btw it'd be appreciated if u could share some posts about re-locking bootloader and backing up/restoring DRM keys, especially for this new Xperia XZ.
boydzethuong said:
Well... DRM keys thing is what i concern. AFAIK im gonna have to give up some features if i lose it so...
Btw it'd be appreciated if u could share some posts about re-locking bootloader and backing up/restoring DRM keys, especially for this new Xperia XZ.
Click to expand...
Click to collapse
This kernel have DRM Patch
http://forum.xda-developers.com/xperia-xz/development/kernel-andropluskernel-v01-t3475240
But.... If unlocked bootloader, DRM keys well loss
and no backup way in marshmallow with no root at the least
tommy1616 said:
This kernel have DRM Patch
http://forum.xda-developers.com/xperia-xz/development/kernel-andropluskernel-v01-t3475240
But.... If unlocked bootloader, DRM keys well loss
and no backup way in marshmallow with no root at the least
Click to expand...
Click to collapse
That's what im worrying haha. Guess i'll wait, patiently, for a talent shows up
Someone just pls pls find a way to have it rooted without unlocking BL, or just a way to back up TA BEFORE unlocking for the sake of DRM keys sh!t then nothing would stop me from enjoying root
boydzethuong said:
That's what im worrying haha. Guess i'll wait, patiently, for a talent shows up
Someone just pls pls find a way to have it rooted without unlocking BL, or just a way to back up TA BEFORE unlocking for the sake of DRM keys sh!t then nothing would stop me from enjoying root
Click to expand...
Click to collapse
I've been waiting for over 3mths for some progress on backing up the ta keys on all the x range(I have the xa) I don't see it ever happening to be honest and I've made the mistake of loosing ta keys before I won't be doing it again.
Sent from my Xperia XA using XDA Labs

[noob question] unlocking the bootloader

Hi all.
I've got my XZ since one week now, and I'm missing the possibilities of rooting my device.
My Z2 was LB, so I never could ever try to unlock my bootloader. therefore, I don't know anything about it.
I've read a lot of thread here and there, and some points are not that clear to me.
Will the procedure of unlocking the bootloader erase everything in the phone (like photos, contacts, etc...)?
Unlocking the bootloader will kill the DRM keys forever, if I understood well. but flashing Androplus Kernel will recover them, right?
Is it possible to relock the booltloader after? if yes, will the DRM keys be restored?
Last thing, to be sure of what I should do.
1-unlock the bootloader with IMEI via sony site.
2-install TWRP via adb command
3-flash Androplus kernel.
Am I right, or do I miss something?
Thanks for your help, and sorry for the noobish questions.
sensei_sai said:
Hi all.
I've got my XZ since one week now, and I'm missing the possibilities of rooting my device.
My Z2 was LB, so I never could ever try to unlock my bootloader. therefore, I don't know anything about it.
I've read a lot of thread here and there, and some points are not that clear to me.
Will the procedure of unlocking the bootloader erase everything in the phone (like photos, contacts, etc...)?
Unlocking the bootloader will kill the DRM keys forever, if I understood well. but flashing Androplus Kernel will recover them, right?
Is it possible to relock the booltloader after? if yes, will the DRM keys be restored?
Last thing, to be sure of what I should do.
1-unlock the bootloader with IMEI via sony site.
2-install TWRP via adb command
3-flash Androplus kernel.
Am I right, or do I miss something?
Thanks for your help, and sorry for the noobish questions.
Click to expand...
Click to collapse
Hey sensei_sai,
Im unsure if unlocking will erase your data but its always best to backup everything in the internal memory just in case something goes wrong.
Androplus will NOT recover your DRM keys but kernels with DRM fixes try to replicate the features that are permanently lost as a result of unlocking your boot-loader.
In the future it may be possible for you to re-lock the boot-loader but even then this wont restore DRM keys, the only way to restore DRM keys would be to back up your TA partition (This contains your DRM keys) before you unlock your boot-loader but to do this you need root access with your boot-loader still locked.
How to backup TA
Unfortunately at this time nobody has figured out a way to get root with a locked boot-loader although a newly found exploit (Dirty cow) may help us do this very soon so if you care about re-locking and keeping your DRM keys I advise waiting until a locked boot-loader root solution is around!
Sonic Dash said:
Hey sensei_sai,
Im unsure if unlocking will erase your data but its always best to backup everything in the internal memory just in case something goes wrong.
Androplus will NOT recover your DRM keys but kernels with DRM fixes try to replicate the features that are permanently lost as a result of unlocking your boot-loader.
In the future it may be possible for you to re-lock the boot-loader but even then this wont restore DRM keys, the only way to restore DRM keys would be to back up your TA partition (This contains your DRM keys) before you unlock your boot-loader but to do this you need root access with your boot-loader still locked.
How to backup TA
Unfortunately at this time nobody has figured out a way to get root with a locked boot-loader although a newly found exploit (Dirty cow) may help us do this very soon so if you care about re-locking and keeping your DRM keys I advise waiting until a locked boot-loader root solution is around!
Click to expand...
Click to collapse
Thanks for your reply.
Too bad for the TA partition.
So we have two possibilities. Take the risk of loose some features forever, but benefit of the root or wait till someone make some magic to use an exploit to obtain root without unlocking the bootloader.
Risk and go... Or wait and safe... Dilemma...
Sent from my Xperia XZ
I think that the era of DRM lock is over, we've been using DRM fixes for all the latest xperia phones, the dirty cow is a bad exploit and it's more dangerous than useful.
I was unsure about unlocking the bootloader but now that I did it, I rooted and I regret nothing, the only downside of unlocking is the warranty loss, but who cares as long as the phone doesn't magically explode.
Venom71 said:
I think that the era of DRM lock is over, we've been using DRM fixes for all the latest xperia phones, the dirty cow is a bad exploit and it's more dangerous than useful.
I was unsure about unlocking the bootloader but now that I did it, I rooted and I regret nothing, the only downside of unlocking is the warranty loss, but who cares as long as the phone doesn't magically explode.
Click to expand...
Click to collapse
Good point for you... I think i will take the risk.
Sent from my Xperia XZ
I'm about to....
sensei_sai said:
Good point for you... I think i will take the risk.
Sent from my Xperia XZ
Click to expand...
Click to collapse
caqo71 said:
I'm about to....
Click to expand...
Click to collapse
OK, so did the bootloader unlock erase your data? Did you use the sony way or Flashtool?
I wrote a complete guide just here : https://forum.xda-developers.com/xperia-xz/how-to/how-to-unlock-bl-kernel-twrp-root-t3541648
Please use the search
nathan30 said:
I wrote a complete guide just here : https://forum.xda-developers.com/xperia-xz/how-to/how-to-unlock-bl-kernel-twrp-root-t3541648
Please use the search
Click to expand...
Click to collapse
Thank you, I've seen that guide, seems like it's not possible to unlock bootloader without factory reset.
tempurastyle said:
Thank you, I've seen that guide, seems like it's not possible to unlock bootloader without factory reset.
Click to expand...
Click to collapse
Yes, it's not possible
tempurastyle said:
Thank you, I've seen that guide, seems like it's not possible to unlock bootloader without factory reset.
Click to expand...
Click to collapse
Yes, but it worth it!! Save all your datas and go for it!

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.

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

Categories

Resources