Can't flash 7.0 - Sony Xperia XZ Questions & Answers

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.

Related

how do I relock bootloader?

I got an update on my Xperia M2(d2305) to 4.4.4. I rooted my phone when it was 4.4.2. When I try to update it, it shows an error where it says (Sony update engine failure error 2003). I unroot my phones using the factory data reset but still with the same error. When I checked the bootloader it still say YES. .how do i lock back?
About your Problem
XlseS said:
I got an update on my Xperia M2(d2305) to 4.4.4. I rooted my phone when it was 4.4.2. When I try to update it, it shows an error where it says (Sony update engine failure error 2003). I unroot my phones using the factory data reset but still with the same error. When I checked the bootloader it still say YES. .how do i lock back?
Click to expand...
Click to collapse
You got an update on your Xperia M2(d2305) to 4.4.4.So you didnt unlock the bootloader. Right?
First when you root your phone that makes a file name su in your system.Factory data doesnt change system folders.So you have still root access.
All you need to do is;
-install supersu
-Get into setings
-Click unroot botton That remove your root access.
i am not sure but if you instaled xposed you may need to remove it.You can find it in firmware options.
(Just in case: to relock the bootloader Connect your phone (into flash mode) to Flashtool and click the "BLU" button )
Good Luck
@XlseS
Did you try to relock it with Flashtool? There was option for that i did it on my Tipo.
Sent from Xperia M2 D2303
Dzepar said:
@XlseS
Did you try to relock it with Flashtool? There was option for that i did it on my Tipo.
Sent from Xperia M2 D2303
Click to expand...
Click to collapse
How? sorry, I'm a bit noob
XlseS said:
How? sorry, I'm a bit noob
Click to expand...
Click to collapse
Press BLU icon, connect your phone in Flash mode, press Relock.
Good Luck.
Sent from Xperia M2 D2303
Device does not boot after I did that.
Are you on stock rom?
Sent from Xperia M2 D2303
JUST DOWNLOAD FLASHTOOL AND YOU'RE DONE!: HERE
1 boot into fastboot
2 head over ur computa and click relock, easy enough ? :silly:
I had an update to 4.4.2 via PC Companion, so files are all there.
If I reflash my phone, will the TA partition get reflashed too? In other words, will it get back my DRM keys?
There is method with TA script to backup and restore TA, but if I have backup of original ROM that came with my phone, so I'm asking will it do the job, because I have TA.img without md5sum.
Another reason is this one: http://www.xda-developers.com/restore-lost-functionality-on-your-unlocked-xperia-device-part-two/
Camera seems to get loss of functionality with removal of DRM keys.
EDIT: The answer is: nope. TA partition must be restored first.

Should I re-lock the bootloader?

Hi everyone,
I have D6603 with with Android 5.1.1 (23.4.A.0.546) with an unlocked bootloader (done per instructions on Sony's website).
For a while now I've noticed that the device overheats when I use the camera for a few minutes. According to this article,
the new update Sony have released, is supposed to mitigate the problem.
I cannot update my phone to the new Android version, because of the unlocked bootloader.
Can/should I re-lock the bootloader? Or is there a way to stop the overheating issue?
beentold82 said:
Hi everyone,
I have D6603 with with Android 5.1.1 (23.4.A.0.546) with an unlocked bootloader (done per instructions on Sony's website).
For a while now I've noticed that the device overheats when I use the camera for a few minutes. According to this article,
the new update Sony have released, is supposed to mitigate the problem.
I cannot update my phone to the new Android version, because of the unlocked bootloader.
Can/should I re-lock the bootloader? Or is there a way to stop the overheating issue?
Click to expand...
Click to collapse
You can still update to the latest firmware with flashtool.
Beetle84 said:
You can still update to the latest firmware with flashtool.
Click to expand...
Click to collapse
Thanks for the info Beetle. May I be so rude to ask you, where I can get the most up to date flashable ROM?
I did unlock the bootloader, but never managed to install a recovery mod or get root.
[/COLOR]
beentold82 said:
Thanks for the info Beetle. May I be so rude to ask you, where I can get the most up to date flashable ROM?
I did unlock the bootloader, but never managed to install a recovery mod or get root.
Click to expand...
Click to collapse
In flashtool theres a button labelled xperifirm, if you click that and follow the instructions you can download a ftf directly.
As for root and recovery, you can use this guide http://forum.xda-developers.com/z3/general/guide-rootrecovery-how-to-root-install-t3017056 , and then create a pre rooted 5.1.1 firmware from here http://forum.xda-developers.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904
Or you can install androplus kernel http://forum.xda-developers.com/z3/development/kernel-andropluskernel-t2925999 after you upgrade to stock 5.1.1 with fastboot, and skip the whole downgrade to kit kat which would be alot quicker.
Wow, that seems easy enough. I'll try it later tonight. Thanks again!
beentold82 said:
Wow, that seems easy enough. I'll try it later tonight. Thanks again!
Click to expand...
Click to collapse
No worries, good luck. You may have to disable virus protection to download xz dual recovery installer, well, I have to anyway, my VP doesnt like the install.bat file.
EDIT: isn't the .546 the latest?
Not sure... My phone tells me there is a system update, but it always fails because of the unlocked bootloader.
robogo1982 said:
EDIT: isn't the .546 the latest?
Click to expand...
Click to collapse
23.4.A.1.264 is I believe.

Bootloop and TWRP Probs

Hello,
actually i have big problems with my Xperia XZ.
I want to root it. There for i make the following steps:
1. Unlook Bootloader
2. Install TWRP by fastboot (here is my first problem --> no write permission on /system)
3. Install SuperSu by Chainfire --> flashable
--> Result Bootloop.
So i install Emma (flashtool by Sony) and want to go back to stock. But Emma brings "Unkown Model Picker" and did
not idendifite the phone.
Actually i don´t can start the recovery mode (twrp) --> Don´t know why.
Please help !!!
Buddy_Erz said:
Hello,
actually i have big problems with my Xperia XZ.
I want to root it. There for i make the following steps:
1. Unlook Bootloader
2. Install TWRP by fastboot (here is my first problem --> no write permission on /system)
3. Install SuperSu by Chainfire --> flashable
--> Result Bootloop.
So i install Emma (flashtool by Sony) and want to go back to stock. But Emma brings "Unkown Model Picker" and did
not idendifite the phone.
Actually i don´t can start the recovery mode (twrp) --> Don´t know why.
Please help !!!
Click to expand...
Click to collapse
hello,
if you are in android 7 root is not working
for xz you have to
unlockbootloader
install modified kernel and twrp at the same time
start you phone and restart enter twrp and install su
it works on android 6-0-1 not 7
can you help me how to got emma working with you
i tried to got emma working but all time got error
I´m on Android 6.0.1.
How can i flash the kernel?
I can start twrp. But cannot backup because no write permission to /system.
When comes your problem with emma. on installation?
Buddy_Erz said:
I´m on Android 6.0.1.
How can i flash the kernel?
I can start twrp. But cannot backup because no write permission to /system.
When comes your problem with emma. on installation?
Click to expand...
Click to collapse
Androplus v5
Kernel and twrp
You need to install kernel before twrp
Enter androplus section and see imstructions
For emma
I got error login
Application can't open
I install custumisation and app not workimg it not open
Inturnet off anyivirus nothing open
Had i to compile the kernel or anything else? or is there anything complete to download and flash? It confuse me
actually i download the ftf for stock rom and hope to flash it by flashtool. Actually i only want an functional device.
On emma i didn´t login. I copy the customization.ini to the emma folder.
Furthermore it seems emma is an java application and you need an java runtime.
Buddy_Erz said:
Had i to compile the kernel or anything else? or is there anything complete to download and flash? It confuse me
actually i download the ftf for stock rom and hope to flash it by flashtool. Actually i only want an functional device.
On emma i didn´t login. I copy the customization.ini to the emma folder.
Furthermore it seems emma is an java application and you need an java runtime.
Click to expand...
Click to collapse
If you have ub, open flashtool and flash nougat ftf excluding system.
Relock the bootloader.
Once its done, open sony app and repair the device.
Unlock the bl to get back the camera.
auras76 said:
If you have ub, open flashtool and flash nougat ftf excluding system.
Relock the bootloader.
Once its done, open sony app and repair the device.
Unlock the bl to get back the camera.
Click to expand...
Click to collapse
Ok. Thx.
First what means ub?
I downloaded the latets version find on xperifirm 39.0.A.3.30 (is this nougat?)
What Happend when i Flash all with this ftf?incl System.
Is there a fastboot command to relock bootloader?
What Sony app? Companion or emma?
Thanks.
Buddy_Erz said:
Ok. Thx.
First what means ub?
I downloaded the latets version find on xperifirm 39.0.A.3.30 (is this nougat?)
What Happend when i Flash all with this ftf?incl System.
Is there a fastboot command to relock bootloader?
What Sony app? Companion or emma?
Thanks.
Click to expand...
Click to collapse
Ub-unlocked bootloader.
You need. 327 fw.
Ok. I have ub.
You mean:
Android Nougat arrives on the Xperia XZ (39.2.A.0.327)
Can i Flash the 30 ftf (Download an xperifirm) to Go back to stock?
What Sony App?
Please can You give me more details.
Thx.
Buddy_Erz said:
Ok. I have ub.
You mean:
Android Nougat arrives on the Xperia XZ (39.2.A.0.327)
Can i Flash the 30 ftf (Download an xperifirm) to Go back to stock?
What Sony App?
Please can You give me more details.
Thx.
Click to expand...
Click to collapse
Yes, you can flash. 30 fw.
Sony app-pc companion.
auras76 said:
Yes, you can flash. 30 fw.
Sony app-pc companion.
Click to expand...
Click to collapse
Thanks gor You help.
All in all :
I Flash either fw 30 completly and have Stock 6.0.1
Or i Flash fw 327 without System and Repair with Sony
Companion.
In Both Cases i have to unlock bootloader After flashing
for Camera Function.
Why and when it is required to lock bootloader and
How Can i lock this. ?
Thanks
Buddy_Erz said:
Thanks gor You help.
All in all :
I Flash either fw 30 completly and have Stock 6.0.1
Or i Flash fw 327 without System and Repair with Sony
Companion.
In Both Cases i have to unlock bootloader After flashing
for Camera Function.
Why and when it is required to lock bootloader and
How Can i lock this. ?
Thanks
Click to expand...
Click to collapse
If you want nougat, first flash. 327 fw witch flashtool without system, relock the bootloader, repair witch companion, reboot and when its done the setup, unlock the bootloader.
auras76 said:
If you want nougat, first flash. 327 fw witch flashtool without system, relock the bootloader, repair witch companion, reboot and when its done the setup, unlock the bootloader.
Click to expand...
Click to collapse
Ok. Thanks for all your help.
One last question:
Fastboot command for relock the bootloader?
Buddy_Erz said:
Ok. Thanks for all your help.
One last question:
Fastboot command for relock the bootloader?
Click to expand...
Click to collapse
Just press the blu button in flashtool to relock the bootloader
gregbradley said:
Just press the blu button in flashtool to relock the bootloader
Click to expand...
Click to collapse
Danke
Thanks
it works. Thanks at aall.
I´m on Android 6.0.1. and have ub.
Does OTA working?
Buddy_Erz said:
it works. Thanks at aall.
I´m on Android 6.0.1. and have ub.
Does OTA working?
Click to expand...
Click to collapse
Not with an unlocked bootloader. You need to relock it and be on a firmware from a region that has the OTA released.
gregbradley said:
Not with an unlocked bootloader. You need to relock it and be on a firmware from a region that has the OTA released.
Click to expand...
Click to collapse
Ok. Thanks for answer. Are there any disadvantages
When i Relock BL?
I thought so, because i read something in earlier post
With Camera Not working with relock BL
Buddy_Erz said:
Ok. Thanks for answer. Are there any disadvantages
When i Relock BL?
I thought so, because i read something in earlier post
With Camera Not working with relock BL
Click to expand...
Click to collapse
Yes, but once you have updated via OTA then just unlock it again.
anyone can try if z5 ftf can boot on xz.
i don't have cannection to try.
flash a stock z5 ftf into xz
use ivory root for drm and ta partion
locke the phone
then flash android 6 for xz
then update ota
it should work

Relocked bootloader and flashed stock MM build, stock camera wont work

Hello, I've tried to relock my Sony Xperia XZ bootloader and flashed latest MM build with flashtool, phone booted locked no problem but when i open stock camera it says "another camera app is already open", anybody has any solution on how to fix stock camera after restoring XZ to locked firmware?
axaman943 said:
Hello, I've tried to relock my Sony Xperia XZ bootloader and flashed latest MM build with flashtool, phone booted locked no problem but when i open stock camera it says "another camera app is already open", anybody has any solution on how to fix stock camera after restoring XZ to locked firmware?
Click to expand...
Click to collapse
Unlock again the BL it will work again.
Sent from my F8332 using XDA-Developers mobile app
Mangtas_666 said:
Unlock again the BL it will work again.
Sent from my F8332 using XDA-Developers mobile app
Click to expand...
Click to collapse
Thanks a lot for your reply, i know i have to unlock bootloader again in order for camera to work, but how can i lock booloader and also have stock camera working?
axaman943 said:
Thanks a lot for your reply, i know i have to unlock bootloader again in order for camera to work, but how can i lock booloader and also have stock camera working?
Click to expand...
Click to collapse
Did you take a backup of your TA partition before unlock your Bootloader first time ?
zohaib0001 said:
Did you take a backup of your TA partition before unlock your Bootloader first time ?
Click to expand...
Click to collapse
No i didn't, was not aware had to do that when first unlocked bootloader...:crying:
zohaib0001 said:
Did you take a backup of your TA partition before unlock your Bootloader first time ?
Click to expand...
Click to collapse
Hi there,
I know this post is related to another user but I wish to relock my bootloader for another reason and was wondering if you could help me please?
I have TA backups, and what I am trying to do is to restore the DRM keys via the RootKernel tool; however, everytime I flash it via FlashTool, I can never figure out if it worked or not?
Could you tell me if there's a way to check if the DRM keys have been restored on an UNLOCKED bootloader please?
Also, can you tell me how to relock the bootloader, as well as restoring the original TA so everything works fine again please??
Thank you for your help
==========================================================================
Edit: I've found out how to relock the bootloader and restore TA, but I still don't quite know how to check if the keys are installed when on UB?
got the same problem as OP. anyone know how to get camera work with lock BL and stock FW.???
axaman943 said:
Hello, I've tried to relock my Sony Xperia XZ bootloader and flashed latest MM build with flashtool, phone booted locked no problem but when i open stock camera it says "another camera app is already open", anybody has any solution on how to fix stock camera after restoring XZ to locked firmware?
Click to expand...
Click to collapse
The same problem here, I've re-locked the phone and installed the stock Nougat ROM using Sony's PC companion, so no TA backup and after that every time I open the camera, it says ''Error: the camera may be in use by another application. please close the other application and try again.'' It's also the same for developmental Marshmallow ROM that I've installed by EMMA and even with the boot-loader unlocked the camera quality is really poor and doesn't save the picture it takes. So have I messed up the DRM security keys as part of boot-loader ? How can I fix this ??
I found this in Sony's developer site:
''Once you have unlocked the boot loader, you will not be able to revert the device back to a locked or original state or restore the DRM security keys.''
---------- Post added at 11:53 PM ---------- Previous post was at 11:15 PM ----------
YoLO13 said:
Hi there,
I know this post is related to another user but I wish to relock my bootloader for another reason and was wondering if you could help me please?
I have TA backups, and what I am trying to do is to restore the DRM keys via the RootKernel tool; however, everytime I flash it via FlashTool, I can never figure out if it worked or not?
Could you tell me if there's a way to check if the DRM keys have been restored on an UNLOCKED bootloader please?
Also, can you tell me how to relock the bootloader, as well as restoring the original TA so everything works fine again please??
Thank you for your help
==========================================================================
Edit: I've found out how to relock the bootloader and restore TA, but I still don't quite know how to check if the keys are installed when on UB?
Click to expand...
Click to collapse
May I borrow your TA back up and DRM keys for my F8331 ?
Dont use someone else's TA Partition. It ain't going to work.
Why don't you simple re-open your BL and flash a Stock ROM ? What is the benefit of re-locking if you lost your TA Partition ?
Picture quality is the same as stock unlocked if you flash androplus kernel
aj96 said:
the same problem here, i've re-locked the phone and installed the stock nougat rom using sony's pc companion, so no ta backup and after that every time i open the camera, it says ''error: The camera may be in use by another application. Please close the other application and try again.'' it's also the same for developmental marshmallow rom that i've installed by emma and even with the boot-loader unlocked the camera quality is really poor and doesn't save the picture it takes. so have i messed up the drm security keys as part of boot-loader ? How can i fix this ??
I found this in sony's developer site:
''once you have unlocked the boot loader, you will not be able to revert the device back to a locked or original state or restore the drm security keys.''
---------- post added at 11:53 pm ---------- previous post was at 11:15 pm ----------
may i borrow your ta back up and drm keys for my f8331 ?
Click to expand...
Click to collapse
WARNING!
using another one's ta partition in your phone will hard brick it. Each xperia has it's unique ta as an identification for the chip. Do not ever think about that.

Root?

Why it's almost impossible for us to have the root with the locked bootloader.? Since the day the mobile went out till now it wasn't possible ?, so is there a chance?
Zewarxx said:
Why it's almost impossible for us to have the root with the locked bootloader.? Since the day the mobile went out till now it wasn't possible ?, so is there a chance?
Click to expand...
Click to collapse
Nope highly unlikely, since dm-verity security was introduced on the z3+ all xperia devices after this require a unlocked bootloader for root. A modified system just won't boot up.
Sent from my Xperia XA using XDA Labs
aidy.lucas said:
Nope highly unlikely, since dm-verity security was introduced on the z3+ all xperia devices after this require a unlocked bootloader for root. A modified system just won't boot up.
Sent from my Xperia XA using XDA Labs
Click to expand...
Click to collapse
Hollywood!! So I shall wait no more? And unlock the bootloader? Because root with locked bootloader is just a myth now?
Zewarxx said:
Hollywood!! So I shall wait no more? And unlock the bootloader? Because root with locked bootloader is just a myth now?
Click to expand...
Click to collapse
Go ahead, don't forget to backup your TA partition / DRM keys before...
https://forum.xda-developers.com/crossdevice-dev/sony/universal-dirtycow-based-ta-backup-t3514236
sxtester said:
Go ahead, don't forget to backup your TA partition / DRM keys before...
https://forum.xda-developers.com/crossdevice-dev/sony/universal-dirtycow-based-ta-backup-t3514236
Click to expand...
Click to collapse
aidy.lucas said:
Nope highly unlikely, since dm-verity security was introduced on the z3+ all xperia devices after this require a unlocked bootloader for root. A modified system just won't boot up.
Sent from my Xperia XA using XDA Labs
Click to expand...
Click to collapse
so after the searches, I did I found out the following:
1- first, since I'm on android 7.0 I need to downgrade to 6.0 in order to backup my TA ! wich I can do via Flashtool
2- I do the backup
3- I root the phone and restore the backup I did
4- I upgrade to android 7 and then I'm good to go!
my questions:
1-what will I lose after unlocking the bootloader? and if I restored the TA backup will that count as if i didn't unlock the bootloader?
2- how I will root the phone? with a custom kernel or is there any other way? and if with a kernel any advice?
3-shall I do the root before upgrading to android 7? or before? and will I be able to still get updates after the root? or i will have to do it through Flashing Ftf of the new updates?
4-anyone is running Xposed framework?
thanks so much in advance ))
im not sure what we lose after bootloader unlock.. From what i read on the androplus kernel thread, if you use androplus there is some amount of drm functionality restored. there is no clear consensus from what i have read, and being a ex-Z3 user im still paranoid about this as in Z3 without the DRM camera is basically ****.
no xposed for nougat yet - so that's out of question.
Zewarxx said:
so after the searches, I did I found out the following:
1- first, since I'm on android 7.0 I need to downgrade to 6.0 in order to backup my TA ! wich I can do via Flashtool
2- I do the backup
3- I root the phone and restore the backup I did
Click to expand...
Click to collapse
then you are locked again ... Don't do that!
4- I upgrade to android 7 and then I'm good to go!
Click to expand...
Click to collapse
For every upgrade (via SONY's FTFs):
1. Flash FTF via Flashtool
2. flash suitable recovery and AndroPlus kernel (look in this forum and follow the instructions on AndroPlus' website)
3. boot into recovery, flash SuperSU and whatever you need
There should be a possibility to flash the devicekey (not the whole TA-partition!) to another partition to get the whole DRM-enchillada back. That does not work for me since it is not included in the FSC as of today.
my questions:
1-what will I lose after unlocking the bootloader? and if I restored the TA backup will that count as if i didn't unlock the bootloader?
Click to expand...
Click to collapse
What you will loose when unlocking BL:
https://forum.xda-developers.com/z3-compact/general/loss-drm-keys-t2890936
At least the first two AFAIK are taken care of the DRM-Patch in AndroPlus's kernel.
2- how I will root the phone? with a custom kernel or is there any other way? and if with a kernel any advice?
3-shall I do the root before upgrading to android 7? or before? and will I be able to still get updates after the root? or i will have to do it through Flashing Ftf of the new updates?
4-anyone is running Xposed framework?
Click to expand...
Click to collapse
2 see above, rinse and repeat for every new SONY Rom
3 same answer, since the modifications are overflashed by installing/flashing another ROM
4 I used to run XPrivacy, but ATM the granularity of options in MM and Nougat is enough for me -
there is no Xposed for Nougat ATM
DHGE said:
then you are locked again ... Don't do that!
For every upgrade (via SONY's FTFs):
1. Flash FTF via Flashtool
2. flash suitable recovery and AndroPlus kernel (look in this forum and follow the instructions on AndroPlus' website)
3. boot into recovery, flash SuperSU and whatever you need
There should be a possibility to flash the devicekey (not the whole TA-partition!) to another partition to get the whole DRM-enchillada back. That does not work for me since it is not included in the FSC as of today.
What you will loose when unlocking BL:
https://forum.xda-developers.com/z3-compact/general/loss-drm-keys-t2890936
At least the first two AFAIK are taken care of the DRM-Patch in AndroPlus's kernel.
2 see above, rinse and repeat for every new SONY Rom
3 same answer, since the modifications are overflashed by installing/flashing another ROM
4 I used to run XPrivacy, but ATM the granularity of options in MM and Nougat is enough for me -
there is no Xposed for Nougat ATM
Click to expand...
Click to collapse
Thanks for your time and effort, well the reason I wanted the root is for the xposed and for the adblock only and since there's no xposed support yet I think it's not necessary to lose what I may lose just for the adblock ? thanks again

Categories

Resources