Rooted with TWRP installed - Sony Xperia XZ Questions & Answers

Hi my xz is rooted with twrp installed what will happen if i install the update thats being pushed in my phone? Will it be bricked? What will i do to install the update properly? Please help me.

If you have an unlocked bootloader the OTA update will fail.

Is there any tool to relock the loader?

Flashtool

Ok thank you for help.

i have drm key , i can root device unclock bootloader and after re-lock bootloader e restore drm keys? (return original device?)
is possible?
thanks

​
djandrea said:
i have drm key , i can root device unclock bootloader and after re-lock bootloader e restore drm keys? (return original device?)
is possible?
thanks
Click to expand...
Click to collapse
Yea thats right dude

Related

Relock Bootloader

Ok guys i need some help, i unlocked the bootloader on mine Z3 with the official method by sony, flashed TWRP recovery and rooted it.
But after i did all that i heard about the DRM on the camera, is there a way to relock it and return to factory state?
Lordszero said:
Ok guys i need some help, i unlocked the bootloader on mine Z3 with the official method by sony, flashed TWRP recovery and rooted it.
But after i did all that i heard about the DRM on the camera, is there a way to relock it and return to factory state?
Click to expand...
Click to collapse
No, you have lost the DRM keys forever.
You can relock using flashtool, but it will not restore your DRM keys

Restoring Drm Keys on Custom Rom's Like Cyanogenmod

I have got a Z3.If we will be able to root without unlock bootloader, i will restore my drm keys.And i will unlock my bootloader and flash cyanogenmod.And i will relock bootloader, restore my drm keys on cyanogenmod.Is it possible?Sorry for bad english?
Not possible. Only a Sony rom can take use of the DRM keys. Cyanogen doesn't use Sonys algorithms.
If we are able to root without unlocking BL, we can backup the TA partition with the DRM keys and you will be able to restore them but as dashrink said, custom Roms which are not based on Sony's official firmware won't be able to use them. But you could always go back to an official (based) firmware and restore the TA partition with the DRM keys.
Well, what can we do for camera's quality on custom rom's?
LeonidasTurk said:
I have got a Z3.If we will be able to root without unlock bootloader, i will restore my drm keys.And i will unlock my bootloader and flash cyanogenmod.And i will relock bootloader, restore my drm keys on cyanogenmod.Is it possible?Sorry for bad english?
Click to expand...
Click to collapse
Once you relock the bootloader CM will not boot.
You need to keep the bootloader unlocked for custom kernels to boot
gregbradley said:
Once you relock the bootloader CM will not boot.
You need to keep the bootloader unlocked for custom kernels to boot
Click to expand...
Click to collapse
What about Xposed? I don't have to change ROM, therefore can I install Xposed and then restore DRM keys? :fingers-crossed:

[Question] Unlock bootloader risks

Hi all!
I have my Xperia M2 with the latest firmware: 18.6.A.0.182.
I want to root it, and install a custom recovery, and i know how to do all of this through this forum. But I need to unloock my bootloader.
What's the problem?
If you go here: (i can not post links, the developer sony / unlockbootloader) and warns you:
Important note! In order to unlock your Xperia™ M2 you need to be on software version 18.3.C.0.37. Also beware that booting this device the first time after unlocking the boot loader may take a long time.
Click to expand...
Click to collapse
I don't know why this...
Searching in google, the people recomends to use flashtool to unlock the bootloader.
What will happen if i intend to unlock it and something goes wrong? I don't know how to solve a soft-brick withouth an unlocked bootloader.
Thanks for your help.
Hey, first do it the official sony way flashtools doesn't work for many including me when i unlocked my bootloader. http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
Second if anything goes wrong, just reflash your firmware (jellybean, kitkat, lollipop whatever) through flashtools and it will be back to stock.
Unlocking your bootloader there is not much which can go wrong.
Btw, you will lose your DRM keys. 2 of them i think for buying stuff through ps store.
Also if you run into problems post here we'll help.
Now I have root with KingRoot. If I make a backup of TA partition i can restore DRM keys when I like it, no?
And the magic question for me is: How I flash original firmwares if the bootloader is locked? I only need locate the right FTF and with flashtool is enought?
Thank you!
makitos666 said:
Now I have root with KingRoot. If I make a backup of TA partition i can restore DRM keys when I like it, no?
And the magic question for me is: How I flash original firmwares if the bootloader is locked? I only need locate the right FTF and with flashtool is enought?
Thank you!
Click to expand...
Click to collapse
Yes you can restore your DRM keys backup if you want in the future.
And if you want to flash a FTF on locked bootloader you can use Flashtool by Androxyde or Xperia Companion.
Ok, thank you all, I'll try to backup DRM keys and unlook the bootloader and I'll post the results!

Can't flash 7.0

I got a unlocked bootloader XZ dual 8332, download tft from Xperiafirm, and at the end of flash session i got a erro :
Code:
[COLOR="Red"]01/025/2016 17:25:54 - ERROR - Have read only 524256 byte(s) instead of 780004 byte(s)
01/025/2016 17:25:54 - ERROR - Error flashing. Aborted[/COLOR]
What does it's meanning ? My phone got a "update failed" when turn on now.
Do we need check some "check box" or anything before flash a tft file ?
And is anyway to relock bootloader if we want repair by Xperia Companion or update through OTA ?
Thanks.
AFAIK flashtool is not compatible with 7.0 yet and there is no way to relock your bootloader yet.
gregbradley said:
AFAIK flashtool is not compatible with 7.0 yet and there is no way to relock your bootloader yet.
Click to expand...
Click to collapse
Wipe qnovo and try in flashtool
gregbradley said:
AFAIK flashtool is not compatible with 7.0 yet and there is no way to relock your bootloader yet.
Click to expand...
Click to collapse
I relocked by flashtool (same as unlock) and repairing by Companion now.
Btw thank you .
let's wait for new kernel to get back DRM-fix xD
Sorry to be a bother.
Same thing happened to me, how do i relock the bootloader?
Lavievn said:
I relocked by flashtool (same as unlock) and repairing by Companion now.
Btw thank you .
let's wait for new kernel to get back DRM-fix xD
Click to expand...
Click to collapse
Is the camera working for you after relock?
chawlasrijan said:
Is the camera working for you after relock?
Click to expand...
Click to collapse
No, we cant use stock camera app and got very bad and small sound volume.
Cavaleur7 said:
Sorry to be a bother.
Same thing happened to me, how do i relock the bootloader?
Click to expand...
Click to collapse
same as unlock, but now you get a "relock button", click it and everything fine but your DRM-key is gone
Lavievn said:
No, we cant use stock camera app and got very bad and small sound volume.
Click to expand...
Click to collapse
That's just sad No point to relock the bootloader then.
Need do that for update, or wait till new kernel for 7.0 with drm-fix release
chawlasrijan said:
That's just sad No point to relock the bootloader then.
Click to expand...
Click to collapse
When you flash a modified kernel with drm fix your drm is working. When you relock your bootloader your phone got factory reset itself and drm still in your phone.
Try to update via ota
After that because you are unlocked try to flash flashfire and install supersu to be rooted and searsh to drm fix file and flash it manually from any root file manager.
Another step
Uodate your unlocked phone ota update
Restart you phone
It should be working now with no drm fix
Poweroff your phone
Enter falshmode (power button + volum up) you see a purpul led
Enter adb and flash supersu sr5
It should work after flash drm manually
Try and reply please
karrouma said:
When you flash a modified kernel with drm fix your drm is working. When you relock your bootloader your phone got factory reset itself and drm still in your phone.
Try to update via ota
After that because you are unlocked try to flash flashfire and install supersu to be rooted and searsh to drm fix file and flash it manually from any root file manager.
Another step
Uodate your unlocked phone ota update
Restart you phone
It should be working now with no drm fix
Poweroff your phone
Enter falshmode (power button + volum up) you see a purpul led
Enter adb and flash supersu sr5
It should work after flash drm manually
Try and reply please
Click to expand...
Click to collapse
So much wrong info here.
Firstly, once you unlock the bootloader the TA partition where the DRM keys are stored is formatted. They are gone forever. Relocking the bootloader does not bring them back. The DRM fix replicates (Not 100% fixes) the missing functions and this fix only works on rooted phones, which you cannot have with a locked bootloader.
Secondly, do not try and update OTA with an unlocked bootloader. It could brick your device.
Are there any known issues when unlocking the boot loader?
A: Yes. When you select a device, any known issues for that device will be displayed. In addition, the following generic issues have been reported:
•Some users have experienced problems when they are accepting over the air upgrades. Therefore we do not recommend users to accept over the air upgrades, after having unlocked the boot loader. For additional information, check out the XDA Forums for hints and tips from the community.
Click to expand...
Click to collapse
Source Sony unlock bootloader FAQ
gregbradley said:
So much wrong info here.
Firstly, once you unlock the bootloader the TA partition where the DRM keys are stored is formatted. They are gone forever. Relocking the bootloader does not bring them back. The DRM fix replicates (Not 100% fixes) the missing functions and this fix only works on rooted phones, which you cannot have with a locked bootloader.
Secondly, do not try and update OTA with an unlocked bootloader. It could brick your device.
Source Sony unlock bootloader FAQ
Click to expand...
Click to collapse
I am on unlocked bootloader
I will do a backup now and will try to update OTA or via xperia companion
Turning phone off and enter flashboot to inject supersu sr5 for android 7 and then restart
I will try
If not booting ,bye bye my xz
If can't be back to android 6 , bye bye my xz
Wait my reply, it depend to the speed of my connection
karrouma said:
I am on unlocked bootloader
I will do a backup now and will try to update OTA or via xperia companion
Turning phone off and enter flashboot to inject supersu sr5 for android 7 and then restart
I will try
If not booting ,bye bye my xz
If can't be back to android 6 , bye bye my xz
Wait my reply, it depend to the speed of my connection
Click to expand...
Click to collapse
Xperia companion will fail. It will detect unlocked bootloader and not work.
OTA 'may' work, but as I said and quoted it 'may' also brick your device. Do it at your own risk.
gregbradley said:
Xperia companion will fail. It will detect unlocked bootloader and not work.
OTA 'may' work, but as I said and quoted it 'may' also brick your device. Do it at your own risk.
Click to expand...
Click to collapse
Everything you wrote is absolutely correct.
PC companion detects that the device is unlocked & OTA's automatically fails to install.
So apparently, relocking & updating is possible but relocking means you can no longer use the stock camera anymore.
chawlasrijan said:
Everything you wrote is absolutely correct.
PC companion detects that the device is unlocked & OTA's automatically fails to install.
So apparently, relocking & updating is possible but relocking means you can no longer use the stock camera anymore.
Click to expand...
Click to collapse
You should be able to then unlock again and just needo to wait for a modified kernel with drm fix for android 7
Sent from my iPad
gregbradley said:
You should be able to then unlock again and just needo to wait for a modified kernel with drm fix for android 7
Sent from my iPad
Click to expand...
Click to collapse
Unlocking your bootloader again on Nougat using official Sony guide fixed the issue for me.
Make sure you don't use Flashtool to unlock your bootloader on Nougat.
Thank you for the support
chawlasrijan said:
Unlocking your bootloader again on Nougat using official Sony guide fixed the issue for me.
Make sure you don't use Flashtool to unlock your bootloader on Nougat.
Thank you for the support
Click to expand...
Click to collapse
How to unlock
Via adb???
Steps used please
If you have the ftf can you modify your kernel now??
karrouma said:
How to unlock
Via adb???
Steps used please
If you have the ftf can you modify your kernel now??
Click to expand...
Click to collapse
Google "unlock bootloader Sony"
Click the sony developer link & follow the guide.

How Can I Return to Stock?

Hello. I have a sony xperia z3 with unlocked bootloader and cm 12.1. I want to install latest stock firmware and lock my bootloader. I want to restore my DRM keys too. I will sell this phone and i have worries about privacy. How can i permanent delete my ALL data? Can anyone help me (step by step) Thank u!
LeonidasTurk said:
Hello. I have a sony xperia z3 with unlocked bootloader and cm 12.1. I want to install latest stock firmware and lock my bootloader. I want to restore my DRM keys too. I will sell this phone and i have worries about privacy. How can i permanent delete my ALL data? Can anyone help me (step by step) Thank u!
Click to expand...
Click to collapse
Flash FTF via flashtools and wipe everything it's pretty straightfoward, you can get it here. Download, open xperifirm, flash.
To restore drmkeys you need to have a backup before you unlocked your bootloader otherwise your DRM keys are lost forever and you will have to flash either a kernel or
drm fix.

Categories

Resources