Unlock bootloader after root. - Xperia Z3 Q&A, Help & Troubleshooting

HI!
Planing on unlocking the bootloader and wonder what data will be wiped.
Will i still have recovery and root after the unlock?
Thanks!

Out of curiosity why would you want to unlock your bootloader AFTER you've gotten root? I can't think of a single benefit and you lose all the DRM stuff on the phone.

Jiibus said:
Out of curiosity why would you want to unlock your bootloader AFTER you've gotten root? I can't think of a single benefit and you lose all the DRM stuff on the phone.
Click to expand...
Click to collapse
You get multiple benefits like custom kernel, custom rom etc, etc...

joakim_5937x said:
HI!
Planing on unlocking the bootloader and wonder what data will be wiped.
Will i still have recovery and root after the unlock?
Thanks!
Click to expand...
Click to collapse
Yes, you'll keep both recovery and root because they are in system partition.
Data partition, including internal SD card will be wiped

Related

[Q] ROOT without WIPE on 4.1 stock

Hello, This is not my primary device. I am trying to backup my buddies data/apps before installing a cm variant. I searched everywhere and i find guides to root with out wiping only for older versions of android. i'd like to be able to root the stock 4.1 without wipe so i can install titanium and backup before unlocking/wiping and installing a custom rom. Any help? is this locked down in newer versions? or did my searches miss a guide. thx a lot.
There is no stock 4.1 for this device. What phone is it cause it's not this one.
crap. I meant to post in the nexus s 4g. mod, can you move this?!
calisro said:
crap. I meant to post in the nexus s 4g. mod, can you move this?!
Click to expand...
Click to collapse
OK
Anyone? now that I'm in the right device forum.
bump
There's no way.
polobunny said:
There's no way.
Click to expand...
Click to collapse
Alright. thx for the confirmation.
Last question, when I unlock the bootloader I understand it will wipe user data. Does it also wipe internal sdcard? I want to know if I should be worried about pulling all the pictures and stuff off before unlocking. thx.
calisro said:
Alright. thx for the confirmation.
Last question, when I unlock the bootloader I understand it will wipe user data. Does it also wipe internal sdcard? I want to know if I should be worried about pulling all the pictures and stuff off before unlocking. thx.
Click to expand...
Click to collapse
Yes, make a backup of your SD card then do what you want..
If your bootloader is unlocked you can flash custom recovery image and then flash superSU or superuser

[Q] Trying to root on 33R to no avail

Hello,
trying to get root by unlocking the bootloader first (using preload recovery TWRP lastest + tamper bit mod) but I keep getting this error:
booting...
FAILED (remote: Device not unlocked cannot boot)
finished. total time: 0.406s
So I can't preload the custom recovery, is there any way of rooting on this oneplus firmware without wiping the whole device?
Any help would be much appreciated..
Edit: This isn't a reroot, this is first time root/unlock
Did you type fastboot oem unlock?
Your bootloader is locked and needs to be unlocked.
If fastboot oem unlock does not unlock it, then you need to fastboot boot into recovery.
Flash tamper, unlock, and then afterwords, adb sideload SuperSU.
zephiK said:
Did you type fastboot oem unlock?
Your bootloader is locked and needs to be unlocked.
If fastboot oem unlock does not unlock it, then you need to fastboot boot into recovery.
Flash tamper, unlock, and then afterwords, adb sideload SuperSU.
Click to expand...
Click to collapse
Umm thanks, I could have, but I really don't want to wipe everything, I got everything set up how I want with lots of data..I was looking for a way *without* wiping everything.. fastboot oem unlock will be my last resort tbh.
I thought with such a developer friendly phone there might be a way to overcome this problem
therightperson_630 said:
Umm thanks, I could have, but I really don't want to wipe everything, I got everything set up how I want with lots of data..I was looking for a way *without* wiping everything.. fastboot oem unlock will be my last resort tbh.
I thought with such a developer friendly phone there might be a way to overcome this problem
Click to expand...
Click to collapse
Yeah, I'm in the same boat as you. Unfortunately after all my reading, it seems impossible as CM did it as a preventative measure to secure your data.
I'm going to do a back up of everything and then a reflash to 25R where battery life was best, then unlock and reboot.
therightperson_630 said:
Umm thanks, I could have, but I really don't want to wipe everything, I got everything set up how I want with lots of data..I was looking for a way *without* wiping everything.. fastboot oem unlock will be my last resort tbh.
I thought with such a developer friendly phone there might be a way to overcome this problem
Click to expand...
Click to collapse
Well thats the whole point, the OnePlus One is a very developer friendly phone indeed. Thats why you get the "keys" to unlock the phone with a simple command instead of using a exploit to flash a custom recovery.
On 25R bootloader, it was possible but as of now there isn't a way to root without unlocking the bootloader. You can read the thread here, http://forum.xda-developers.com/oneplus-one/help/root-unlocking-bootloader-t2820628
This is why when people just now get a phone that has the ability to fastboot oem unlock, I suggest them to unlock their bootloaders as the first thing to do.
Backup all of your data and move forward. Best of luck.
therightperson_630 said:
Umm thanks, I could have, but I really don't want to wipe everything, I got everything set up how I want with lots of data..I was looking for a way *without* wiping everything.. fastboot oem unlock will be my last resort tbh.
I thought with such a developer friendly phone there might be a way to overcome this problem
Click to expand...
Click to collapse
if you truly want to restore everything there are apps that will zip up all your data and you can flash in one session after wiping your phone. If you are reloading the exact same software it should not be an issue. check google and playstore for such apps like app2zip
app2zip requires root, which I can't get if I've not unlocked the bootloader, which means wiping everything...app2zip won't help here but thanks for the suggestion
therightperson_630 said:
app2zip requires root, which I can't get if I've not unlocked the bootloader, which means wiping everything...app2zip won't help here but thanks for the suggestion
Click to expand...
Click to collapse
oh yea my bad I forgot about the root part. I usually root right away so my bad..
Sorry, but the only way is to unlock the bootloader. You could use Helium backup, also some Apps themselves have great backup functionality.
Yep. Gotta unlock it. No idea why people don't just do that in the first place.
Transmitted via Bacon
timmaaa said:
Yep. Gotta unlock it. No idea why people don't just do that in the first place.
Transmitted via Bacon
Click to expand...
Click to collapse
Because most people set up their phone before getting stuck into rooting and the like. Just as I did. I think locking the bootloader is good in theory, but the average user wouldn't know how to brick their phone even if the bootloader was already unlocked, so why do it?
therightperson_630 said:
Because most people set up their phone before getting stuck into rooting and the like. Just as I did. I think locking the bootloader is good in theory, but the average user wouldn't know how to brick their phone even if the bootloader was already unlocked, so why do it?
Click to expand...
Click to collapse
The difference between having a locked and unlocked bootloader is simply flashing custom recoveries or radios/etc. Theres no harm in doing leaving your bootloader unlocked.
The bootloader has to be locked out of the box, I believe its one of the criterias needed to be fulfilled in order to be approved for Google Apps (Play Store,etc). Also, it doesn't make sense to have a bootloader unlocked for average users.
Just unlock the bootloader and learn from your lesson.... either that or stick with stock ROM without root. Yeah it'll set you back because you'll have to redo your phone apps/settings but on the bright side you won't have to do it again because ur bootloader is already unlocked.
You need your bootloader unlocked to obtain root. See http://forum.xda-developers.com/showthread.php?t=2788632 on instructions on how to do so if you're unfamiliar. After once its unlocked, fastboot flash a custom recovery and flash supersu.
Trust me I'm familiar...had none of this trouble on the G1. Out of 5 android devices this is the second time I've had to unlock the bootloader...and the average user doesn't even know what a bootloader is, so not sure they'd be able to mess about with the radios.
therightperson_630 said:
Trust me I'm familiar...had none of this trouble on the G1. Out of 5 android devices this is the second time I've had to unlock the bootloader...and the average user doesn't even know what a bootloader is, so not sure they'd be able to mess about with the radios.
Click to expand...
Click to collapse
Thats because the G1 had a locked bootloader and the only way to flash a custom recovery was to gain a exploit to push a custom recovery. For the OnePlus/Nexus/HTC, we don't need a exploit because we have the ability to unlock our bootloaders. Think of it as Apple's iOS, in order to gain jailbreak you need a exploit to jailbreak your phone which can take a long time for it to happen. Whereas, on Nexus/OnePlus/HTC, we can simply just obtain access to do changes to the phone without having to wait for a exploit.
You keep mentioning average user but a average user wouldn't be attempting to obtain root access for their phone. The average user would just be using his/her phone as a phone and not tinkering with the deeper innings of the Operating System and if the average user wants to tinker with the deeper innings then they should really do their research and learn. There are a lot of good guides on XDA.
Couldn't agree more. There is no need for any exploit with this phone because you've been handed the keys.
Transmitted via Bacon
therightperson_630 said:
Hello,
trying to get root by unlocking the bootloader first (using preload recovery TWRP lastest + tamper bit mod) but I keep getting this error:
booting...
FAILED (remote: Device not unlocked cannot boot)
finished. total time: 0.406s
So I can't preload the custom recovery, is there any way of rooting on this oneplus firmware without wiping the whole device?
Any help would be much appreciated..
Edit: This isn't a reroot, this is first time root/unlock
Click to expand...
Click to collapse
have you considered the exploit devised in the following thread?:
http://forum.xda-developers.com/oneplus-one/development/mod-reset-unlock-tamper-bit-t2820912
ondoy1943 said:
have you considered the exploit devised in the following thread?:
http://forum.xda-developers.com/oneplus-one/development/mod-reset-unlock-tamper-bit-t2820912
Click to expand...
Click to collapse
That doesn't allow you to root while having a unlocked bootloader. It just changes the bits on whether or not your device has been tampered.
But then again,
This mod will allow you to unlock the bootloader without wiping the userdata as oppose to fastboot oem unlock command.
Click to expand...
Click to collapse
A little off topic but I unlock my boot loader and root as soon as I get the phone so I don't have to loose anything.
zephiK said:
That doesn't allow you to root while having a unlocked bootloader. It just changes the bits on whether or not your device has been tampered.
Click to expand...
Click to collapse
that's what you think, but in my case i was able to unlock the bootloader using the mod, hence rooting was a matter of course. the casual "fastboot oem unlock" command was not effective with my device. so.....
edit: then again, i unlocked the bootloader and rooted my phone while it was still at 30O firmware. i have no idea if the 33R firmware's bootloader is different from that of the 30O or not, that will render the mod ineffective.
It's fine, problem solved, went through the gruelling task of trying to back everything up without root = 40gb of stuff..
Already tried the tamper bit mod...it was stated in the first post (tamper bit mod) and the command screenshot was one of the steps when trying to boot the recovery, it still wouldn't boot because the bootloader wasn't unlocked..so, useless in my case.
Still lost some stuff but I got most of it back. I didn't have this problem on my xperia SP when unlocking the bootloader..if I remember correctly you could root, get recovery and custom rom all without unlocking bootloader. Unlocking the bootloader didn't erase the internal sd either..sure it might have been through an exploit rather than the proper way, but tbh I think I'd rather have that.
I'm not liking this "you've been given the keys" analogy...It's more like you've already settled into your new house and you're given the keys to unlock the front door when you're already inside...it's hassle more than anything.

Root Without BL unlock

Hello guys
im looking to root my OPO, but i dont want to unlock the Bootloader or install a custom recovery, just want a method to root so i can install Xposed on the stock CM11S rom, is this actually possible?
Why not just unlock the bootloader? Your warranty isn't affected by it. You lose nothing by unlocking it, and you gain nothing by leaving it locked.
Transmitted via Bacon
Jaocagomez said:
Hello guys
im looking to root my OPO, but i dont want to unlock the Bootloader or install a custom recovery, just want a method to root so i can install Xposed on the stock CM11S rom, is this actually possible?
Click to expand...
Click to collapse
timmaaa said:
Why not just unlock the bootloader? Your warranty isn't affected by it. You lose nothing by unlocking it, and you gain nothing by leaving it locked.
Transmitted via Bacon
Click to expand...
Click to collapse
Like @timmaaa mentioned, you lose nothing when you unlock bootloader. Not only that, it is the recommended and futureproof approach to do so. Unlocking the bootloader wipes your phone completly clean. Suppose somewhere down the road you want to try different ROMs, you'd realize you cannot do so without losing your data. So you'r much better off unlocaking your bootlaoder right now.
But to answer your question, no. It is not possible at a simpler level. Unlocking the bootlaoder give you access to all the partitions on the phone. What you need access to specifically is the recovery partition so you could flash a custom recovery and install the SU binaries onto your system. through that recovery.
What others have said, unlock the bootloader there's no problem with leaving it unlocked.
You're given the key to unlock the bootloader using a command. Use it and make your life simple. It's like saying you have the key to your house but you want to get inside the house without unlocking the door. Just use the key and make it simple.
Sent from my One A0001 using Tapatalk
Jaocagomez said:
Hello guys
im looking to root my OPO, but i dont want to unlock the Bootloader or install a custom recovery, just want a method to root so i can install Xposed on the stock CM11S rom, is this actually possible?
Click to expand...
Click to collapse
Perhaps you felt like I did, worried that you are ruining your phone or your ota ability.
Unlocking the Bootloader is painless aside from having to reinstall all your programs. Everyone says it wipes the os, but what they don't tell you is that you don't have to dig around looking for the proper version to reinstall. You just type a code, and the phone reboots fresh like a factory reset, ready to go. And installing the custom recovery is easy, and it works perfectly with ota updates.
Sent via quantum entanglement, focused through my OnePlus One.

Root without losing DRM Keys?

Hello,
Is it possible to Root my Sony Xperia Z3 D6603 which is currently running Android 5.0.2 without losing the DRM keys?
I don't want to have to roll back to 4.4.4, or lose any of my files.
I have a pretty slow internet so i'm not a big fan of downloading stuff, I'm just psyched to check out Xposed if it exists.
No, you must roll back to a FW ending in .93 which is KK, then root, then install recovery, then update via a pre-rooted flashable zip
I would not hold my breath for a lollipop exploit. The main reason to find one has gone (i.e there already is a way to get root on lollipop with a locked bootloader)
Hussain_Salam said:
Hello,
Is it possible to Root my Sony Xperia Z3 D6603 which is currently running Android 5.0.2 without losing the DRM keys?
I don't want to have to roll back to 4.4.4, or lose any of my files.
I have a pretty slow internet so i'm not a big fan of downloading stuff, I'm just psyched to check out Xposed if it exists.
Click to expand...
Click to collapse
rooting has nothing to do with the DRM keys
you have to downgrade.
you will lose your data.
you have to download a kitkat stock rom.
No way around this if you want root.
android404 said:
rooting has nothing to do with the DRM keys
Click to expand...
Click to collapse
It does if you root by unlocking the bootloader. Doing this wipes the TA partition where the DRM keys are kept
you will lose your data.
Click to expand...
Click to collapse
Not if you do not wipe the data partition of flash the data partition from the FTF. You will get a lot of FC's when downgraded but this is not an issue as you will be upgrading immediately to Lollipop anyway
gregbradley said:
It does if you root by unlocking the bootloader. Doing this wipes the TA partition where the DRM keys are kept
Not if you do not wipe the data partition of flash the data partition from the FTF. You will get a lot of FC's when downgraded but this is not an issue as you will be upgrading immediately to Lollipop anyway
Click to expand...
Click to collapse
Of course... Thanks for correcting me.
gregbradley said:
It does if you root by unlocking the bootloader. Doing this wipes the TA partition where the DRM keys are kept
Not if you do not wipe the data partition of flash the data partition from the FTF. You will get a lot of FC's when downgraded but this is not an issue as you will be upgrading immediately to Lollipop anyway
Click to expand...
Click to collapse
But why revert if he is unlocking?
If he is unlocking he can flash a kernel with recovery and root via TWRP.
Before back up TA.
And after restore the DRM keys.
Easy.
TheTeslaCoil said:
But why revert if he is unlocking?
If he is unlocking he can flash a kernel with recovery and root via TWRP.
Click to expand...
Click to collapse
Please read the OP, he does not want to lose DRM keys, hence he needs to root without unlocking the bootloader first.
Also, if you have a custom kernel installed you cannot have DRM keys running, once you restore them using a TA partition restore you relock the bootloader and cannot boot on a custom kernel.
gregbradley said:
Please read the OP, he does not want to lose DRM keys, hence he needs to root without unlocking the bootloader first.
Also, if you have a custom kernel installed you cannot have DRM keys running, once you restore them using a TA partition restore you relock the bootloader and cannot boot on a custom kernel.
Click to expand...
Click to collapse
The DRM can be restored.
I rest my case.
TheTeslaCoil said:
The DRM can be restored.
I rest my case.
Click to expand...
Click to collapse
sigh,,,
No they cannot unless you have taken a backup before unlocking the bootloader.
There is a thread about restoring some functionality but it does not restore to 100% stock compared to when people have a stock ROM with DRM keys installed, and like I said, READ THE OP, he asked for a way not to lose his DRM keys, not to have the functions associated with them.
If you unlock without backing them up, you cannot restore them, FACT!
I really do not want to get into an online fracas with you, but this is the second time today you are jumping in and not giving exactly 100% correct answers to the questions asked.
android404 said:
Of course... Thanks for correcting me.
Click to expand...
Click to collapse
No worries
gregbradley said:
sigh,,,
No they cannot unless you have taken a backup before unlocking the bootloader.
There is a thread about restoring some functionality but it does not restore to 100% stock compared to when people have a stock ROM with DRM keys installed, and like I said, READ THE OP, he asked for a way not to lose his DRM keys, not to have the functions associated with them.
If you unlock without backing them up, you cannot restore them, FACT!
I really do not want to get into an online fracas with you, but this is the second time today you are jumping in and not giving exactly 100% correct answers to the questions asked.
Click to expand...
Click to collapse
But I already said, if you back up TA.
Check again.
And you appear to be a person that doesn' t like to be contradicted.
So...see you later.
TheTeslaCoil said:
But I already said, if you back up TA.
Check again.
And you appear to be a person that doesn' t like to be contradicted.
So...see you later.
Click to expand...
Click to collapse
Please tell the user how to back up his TA then without rooting first...
You need to back it up before unlocking the bootloader and you need root to back it up....
From now on I think me and you should only talk via PM.
Regards.
Root, backup TA. Save it on your laptop.
Unlock bootloader.
Enjoy a rooted unlocked device with endless possibilities.
If you ever want to have your phone as it was when you bought it, restore TA, unroot etc.
Easy peasy japanesey.
TheTeslaCoil said:
Root, backup TA. Save it on your laptop.
Unlock bootloader.
Enjoy a rooted unlocked device with endless possibilities.
If you ever want to have your phone as it was when you bought it, restore TA, unroot etc.
Easy peasy japanesey.
Click to expand...
Click to collapse
OK, so we are back at the situation the OP asked, how does he root without losing the DRM keys...... Your method said to unlock the boot to flash a custom kernel... That wipes the TA partition and the DRM keys BEFORE you have had a chance to back them up.
PS, as I said lets keep this via PM, I already sent one before you replied here.
gregbradley said:
OK, so we are back at the situation the OP asked, how does he root without losing the DRM keys...... Your method said to unlock the boot to flash a custom kernel... That wipes the TA partition and the DRM keys BEFORE you have had a chance to back them up.
PS, as I said lets keep this via PM, I already sent one before you replied here.
Click to expand...
Click to collapse
Just to follow up with this discussion. I am currently on a locked bootloader but rooted and installed recovery using the method mentioned in the other thread. How can I back up my TA partition? I can't find a tutorial link on TA partition backup.
mf1tym said:
Just to follow up with this discussion. I am currently on a locked bootloader but rooted and installed recovery using the method mentioned in the other thread. How can I back up my TA partition? I can't find a tutorial link on TA partition backup.
Click to expand...
Click to collapse
You have already done the "hard" part. Do some reading on this thread http://forum.xda-developers.com/showthread.php?t=2292598 ,will be short , download zip within OP ,extract and run. After you created backup store it safely I think I have mine on 4 locations (cloud and local) although I doubt I will be unlocking bootloader anytime soon.
gregbradley said:
OK, so we are back at the situation the OP asked, how does he root without losing the DRM keys...... Your method said to unlock the boot to flash a custom kernel... That wipes the TA partition and the DRM keys BEFORE you have had a chance to back them up.
PS, as I said lets keep this via PM, I already sent one before you replied here.
Click to expand...
Click to collapse
I said backup TA.
So...I' m right.
schetz said:
You have already done the "hard" part. Do some reading on this thread http://forum.xda-developers.com/showthread.php?t=2292598 ,will be short , download zip within OP ,extract and run. After you created backup store it safely I think I have mine on 4 locations (cloud and local) although I doubt I will be unlocking bootloader anytime soon.
Click to expand...
Click to collapse
Schetz, thanks mate. I saw this link before. It said it's unmaintained and the devices capatable is only to Z2 so I thought it did not work on the Z3. But I will re-read it again.
TheTeslaCoil said:
I said backup TA.
So...I' m right.
Click to expand...
Click to collapse
You said to root by unlocking the bootloader first, then backup the TA so you are wrong. Editing your post after the fact does not change this, adding the line "Before backup TA" does not make you correct as you have to root to backup the TA.. so when you say "why revert when he can just unlock", that's why.
And finally, restoring the DRM keys after unlocking means you get a locked bootloader, so you cannot boot a custom kernel so you lose root...
The point is now moot, and you need to remember my advice on this, keep it in PM's

Help with Bacup TA > UL > Root > Unroot > ReLock BL/Restore TA

Hi all,
So I read people are now able to backup TA partition (DRM Keys) before Unlocking the Bootloader.
Keep in mind my aim for instance here is to install BBS (Better Battery Stats app) onto the system partition for full battery stats.
Now my question is can the below tasks be achieved in this order.:
1. Downgrade to an exploitable Firmware (MM?)
2. Backup TA partition
3. UL BL (Unlock Bootloader)
4. Root device
5. Install BetterBatteryStats onto System partition.
6. Unroot device
8. L BL (Lock Bootloader)
9. Restore TA partition.
And where in this list would be best to upgrade to Nougat.
I believe I achieved something similar on my z5c, but it's been a while now since I've wanted to root. But given the recent TA exploits I'm thinking it's time to geek again.
I believe if we can define the above process explicitly, many people would be happy.
As much information, direction, insight, instructions on all of the points above would be greatly appreciated by and for my.fellow XZ'ers :fingers-crossed:
I'm also curious on how to unlock, root and restore
I know it was possible to be rooted with locked bootloader on Z3 but have not seen how to on the XZ yet
Sonic Dash said:
I'm also curious on how to unlock, root and restore
I know it was possible to be rooted with locked bootloader on Z3 but have not seen how to on the XZ yet
Click to expand...
Click to collapse
Its not possible to have root on a locked bootloader on the XZ.
dillalade said:
Hi all,
Keep in mind my aim for instance here is to install BBS (Better Battery Stats app) onto the system partition for full battery stats.
And where in this list would be best to upgrade to Nougat.
Click to expand...
Click to collapse
Try this
Downgrade to MM
Backup TA
Upgrade to Nougat
Unlock bootloader and root
Install BBS
Remove root and relock bootloader
I have no guarantee it will work though and the DM-verity would probably lead to a bootloop or a non booting device. Be sure you know how to get out of this before you proceed.
gregbradley said:
Its not possible to have root on a locked bootloader on the XZ.
Click to expand...
Click to collapse
What's the reason for this?
Doesn't the Z3 have similar protection as the XZ?
Sonic Dash said:
What's the reason for this?
Doesn't the Z3 have similar protection as the XZ?
Click to expand...
Click to collapse
No, the XZ has verified boot security (DM-verity). The bootloader will not allow a non signed kernel to boot. Stock kernels will not allow a modified system to boot. Hence you need to unlock the boot for the phone to boot if you change the system partition by just one bit....
gregbradley said:
No, the XZ has verified boot security (DM-verity). The bootloader will not allow a non signed kernel to boot. Stock kernels will not allow a modified system to boot. Hence you need to unlock the boot for the phone to boot if you change the system partition by just one bit....
Click to expand...
Click to collapse
Okay that makes sense, so with it being unlocked is there any way to hide the device unlocked screen at boot?
Im sure I also have seen talks about DRM keys being flashed in and being possible to use with unlocked bootloaderers did anything ever come of that?
Sonic Dash said:
Okay that makes sense, so with it being unlocked is there any way to hide the device unlocked screen at boot?
Im sure I also have seen talks about DRM keys being flashed in and being possible to use with unlocked bootloaderers did anything ever come of that?
Click to expand...
Click to collapse
I do not know any way of hiding the screen. Also, the DRM fix that is used with an unlocked bootlader is not a full restore of the keys. DRM functionality is restores and to my knowledge it is not 100% the same as restoring the TA partition fully.
gregbradley said:
I do not know any way of hiding the screen. Also, the DRM fix that is used with an unlocked bootlader is not a full restore of the keys. DRM functionality is restores and to my knowledge it is not 100% the same as restoring the TA partition fully.
Click to expand...
Click to collapse
After some research it seems like this warning is stored in the logo.
I found a post from a few months back with a guide on how to remove it for the Moto G4
Maybe its the same for our XZ?
Sonic Dash said:
After some research it seems like this warning is stored in the logo.
I found a post from a few months back with a guide on how to remove it for the Moto G4
Maybe its the same for our XZ?
Click to expand...
Click to collapse
Yes, this can be changed in the kernel from what I remember.
gregbradley said:
Its not possible to have root on a locked bootloader on the XZ.
Try thisDowngrade to MM
Upgrade to Nougat
Install BBS
Remove root and relock bootloader
I have no guarantee it will work though and the DM-verity would probably lead to a bootloop or a non booting device. Be sure you know how to get out of this before you proceed.
Click to expand...
Click to collapse
Not sure I follow your procedure, seems redundant, I assume you've missed out a few steps there by accident.
But thanks anyway.
However, if the DM verity you mention does what it should then I guess by editing the system partition as I proposed and then relocking would cause a bootloop.
I hope there is a way and perhaps others can share more insight.
dillalade said:
Not sure I follow your procedure, seems redundant, I assume you've missed out a few steps there by accident.
But thanks anyway.
However, if the DM verity you mention does what it should then I guess by editing the system partition as I proposed and then relocking would cause a bootloop.
I hope there is a way and perhaps others can share more insight.
Click to expand...
Click to collapse
Your quote has missed some of the steps I mentioned...
•Downgrade to MM
•Backup TA
•Upgrade to Nougat
•Unlock bootloader and root
•Install BBS
•Remove root and relock bootloader
But yes, I presume a bootloop will result from it
dillalade said:
Hi all,
So I read people are now able to backup TA partition (DRM Keys) before Unlocking the Bootloader.
Keep in mind my aim for instance here is to install BBS (Better Battery Stats app) onto the system partition for full battery stats.
Now my question is can the below tasks be achieved in this order.:
1. Downgrade to an exploitable Firmware (MM?)
2. Backup TA partition
3. UL BL (Unlock Bootloader)
4. Root device
5. Install BetterBatteryStats onto System partition.
6. Unroot device
8. L BL (Lock Bootloader)
9. Restore TA partition.
And where in this list would be best to upgrade to Nougat.
I believe I achieved something similar on my z5c, but it's been a while now since I've wanted to root. But given the recent TA exploits I'm thinking it's time to geek again.
I believe if we can define the above process explicitly, many people would be happy.
As much information, direction, insight, instructions on all of the points above would be greatly appreciated by and for my.fellow XZ'ers :fingers-crossed:
Click to expand...
Click to collapse
It won't work! As @gregbradley said, dm-verity does not allow unsigned partitions (eg modified /system) to be loaded, and the procedure you wanna try will result in a bootloop for sure!
Now that we have a specific tool to perform backup of TA partition, "safe" root came true. So why not to do that?
You can always restore your original TA.img and flash full stock firmware, which will give you a locked device like the never-unlocked one!
Anyway... try it at your own risk!
gregbradley said:
Yes, this can be changed in the kernel from what I remember.
Click to expand...
Click to collapse
So who would be best to contact in regards to making this? @AndroPlus perhaps?
How to convert ta.img to file ta.zip flash twrp
s-6182 said:
How to convert ta.img to file ta.zip flash twrp
Click to expand...
Click to collapse
Just realised, you won't need to convert anything!
In TWRP, select - Install Image (under Install button on the home menu) and locate the TA.img from there.
Apparently, you might not need to flash stock firmware afterwards, but I would do that if I were you just to make sure everything works cleanly!
gregbradley said:
No, the XZ has verified boot security (DM-verity). The bootloader will not allow a non signed kernel to boot. Stock kernels will not allow a modified system to boot. Hence you need to unlock the boot for the phone to boot if you change the system partition by just one bit....
Click to expand...
Click to collapse
Why did Sony do that?
I just dont want to see ads in games and apps.
For these, root was enough. At least my old Z3 phone.
I do not want to open the unlock bootloader, because the device may have serious performance degradation especially on the camera, right?!
Is it possible in the near future to make root without unlock bootloader ?
P.S.: If I knew that, I would not buy XZ.
please stop the discussion on SONY's security measures here
FerhaDo said:
I do not want to open the unlock bootloader, because the device may have serious performance degradation especially on the camera, right?!
Is it possible in the near future to make root without unlock bootloader ?
Click to expand...
Click to collapse
This has been beaten to death in the post Z3 devices fora.
You can read A LOT about in e.g. the Z5 section.
Authorative Guide:
http://forum.xda-developers.com/crossdevice-dev/sony/noob-guide-to-sony-ericsson-xperia-t3209012

Categories

Resources