[Q] If I update to 314 firmware, do I lose root? - Xperia Z2 Q&A, Help & Troubleshooting

Hi,
I have a UK unbranded xperia z2 and just received notification that there is new firmware.
It says I can download it via wifi without connecting to a PC.
I have previously rooted the device without unlocking the bootloader. I am wondering - if I update the firmware over wifi will I lose root?
If so is rooting it again as easy as it was the first time? I think the first time I used easy rooter app
Thanks

xiphrex said:
Hi,
I have a UK unbranded xperia z2 and just received notification that there is new firmware.
It says I can download it via wifi without connecting to a PC.
I have previously rooted the device without unlocking the bootloader. I am wondering - if I update the firmware over wifi will I lose root?
If so is rooting it again as easy as it was the first time? I think the first time I used easy rooter app
Thanks
Click to expand...
Click to collapse
Yes and Yes, you will loose root but rooting with your favourite root exploit should be identical procedure.

ghostofcain said:
Yes and Yes, you will loose root but rooting with your favourite root exploit should be identical procedure.
Click to expand...
Click to collapse
Thanks.
I just tried OTA update and it said it "could not verify" - after some research seems I have to remove root. But I dont want to have to wipe my phones data.
Is there a way to remove root without wiping data? In superSU, there is a "Full Unroot" option but will this actually remove root so I can update?

Flash the unbranded ftf for 314 UK, via flashtool, specifying no wipe for data and you should be OK although you'll have to reroot afterwards.

xiphrex said:
Thanks.
I just tried OTA update and it said it "could not verify" - after some research seems I have to remove root. But I dont want to have to wipe my phones data.
Is there a way to remove root without wiping data? In superSU, there is a "Full Unroot" option but will this actually remove root so I can update?
Click to expand...
Click to collapse
OTA update generally removes root. But you should be able to root again with the same procedure. The full unroot option in SuperSU does actually what it says and will fully unroot your device allowing you to update the firmware.
Just give it a try.
Hit thanks if it helped

Related

Rooted and Stock ROM: Will accepting today's (10 JUL) update do any harm?

Title says it all. I understand it screws up the search function (but can be fixed with an APK reload, but will the OTA cause any other issues?
huh I didn't get a software update.. and I just checked.... none for me on AT&T
If you are rooted with a stock rom, you can not install the update because you are rooted. There are 2 ways to install the update 1) unroot your phone, accept the update, and reroot your phone or 2) flash a custom factory rom with the update already installed.
And yes the update does disable the universal search on your phone and not sure if there are any other issues.
palillo2006 said:
If you are rooted with a stock rom, you can not install the update because you are rooted. There are 2 ways to install the update 1) unroot your phone, accept the update, and reroot your phone or 2) flash a custom factory rom with the update already installed.
And yes the update does disable the universal search on your phone and not sure if there are any other issues.
Click to expand...
Click to collapse
Or open up superuser/info and check boxes:
Temp unroot
Ota survival
droidstyle said:
Or open up superuser/info and check boxes:
Temp unroot
Ota survival
Click to expand...
Click to collapse
Future ROMs will have the update, right? So, if we wanted to, we could just wait?

Simplest way to upgrade from .532 firmware to 14.1.B.2.257 whilst maintaining root?

As the title says, I'm currently rooted and using the original .532 firmware.
What is the simplest way of upgrading to the latest update keeping root intact?
I'm able to update via wi-fi or over the air.
I read somewhere about rootkeeper?
Please could someone advise me on how to do this without wiping data and root.
Thanks xda members.
http://forum.xda-developers.com/showthread.php?t=2502185
natispain said:
http://forum.xda-developers.com/showthread.php?t=2502185
Click to expand...
Click to collapse
Thanks for the link. However, is there not an alternative & quicker method?
A user claims to have updated ota without losing root only by using rootkeeper.
I donĀ“t know, but that method is quick and easy.
You must have the bootloader unlocked, do not have recovery installed, only change the build.prop with rooy explorer (you can try without changing it), keep the root with rootkeeper and update with sony update center.
You can try it with your original 532, I think.
rooted and on original software (condensed from http://forum.xda-developers.com/showthread.php?t=2502185). You do not need unlocked bootloader for this.
1. OTA Rootkeeper - install and protect root
2. Perform OTA to 257
3. Enjoy
If OTA fails
1. TiBu - make full backup of your apps & necessary system apps (wifi locations, SMS, etc)
2. FlashTool - Reinstall 532 FTF
3. Root (vRoot is suspect, but go ahead if you like living dangerously, we all do)
4. OTA Rootkeeper - install and protect root
5. Perform OTA to 257
6. Restore Apps via TiBu
7. Enjoy
* Of course, if you're doing it via OTA failure method, you should make sure all your app config files are exported out and saved (Nova, LightFlow, etc)
hey dude do nothing. do not unlock bootloader or anything else. if you have root just ota thats it no need for a rootkeeper or anything else.
can it be any simple than that???
the duderino said:
hey dude do nothing. do not unlock bootloader or anything else. if you have root just ota thats it no need for a rootkeeper or anything else.
can it be any simple than that???
Click to expand...
Click to collapse
That's what I did last time but root was lost.
I may skip the update and wait for Kitkat 4.4 and root.
I noticed no difference or improvement whatsoever when I had 257.
kanej2006 said:
That's what I did last time but root was lost.
I may skip the update and wait for Kitkat 4.4 and root.
I noticed no difference or improvement whatsoever when I had 257.
Click to expand...
Click to collapse
hmmmm it worked for me tough.

[Q] Z2 Root and OTA

It may have been put clearly somewhere else but I can't seem to locate it. Apologies if I am asking an answered question.
If I root this phone (don't intend to unlock bootloader), however:
Will OTA stop working? (because of modification)
Will doing an OTA update on rooted phone remove root?
If so, is it possible to preserve root while doing an OTA?
Will removing all traces of root be as easy as SU uninstall?
With some phones, the OTA will be broken after rooting and some it will not. This is my first Sony and I wanted to confirm if this was also the case.
jcspecs said:
It may have been put clearly somewhere else but I can't seem to locate it. Apologies if I am asking an answered question.
If I root this phone (don't intend to unlock bootloader), however:
Will OTA stop working? (because of modification)
Will doing an OTA update on rooted phone remove root?
If so, is it possible to preserve root while doing an OTA?
Will removing all traces of root be as easy as SU uninstall?
With some phones, the OTA will be broken after rooting and some it will not. This is my first Sony and I wanted to confirm if this was also the case.
Click to expand...
Click to collapse
Will OTA stop working? (because of modification) No, it would not stop working if you just root
Will doing an OTA update on rooted phone remove root? It may or may not. Nobody has tried it yet. But normally we dont recommend doing OTA after rooting
If so, is it possible to preserve root while doing an OTA? No way till now.
Will removing all traces of root be as easy as SU uninstall? Yes, there is an option in SU to unroot the phone.
manu44 said:
Will OTA stop working? (because of modification) No, it would not stop working if you just root
Will doing an OTA update on rooted phone remove root? It may or may not. Nobody has tried it yet. But normally we dont recommend doing OTA after rooting
If so, is it possible to preserve root while doing an OTA? No way till now.
Will removing all traces of root be as easy as SU uninstall? Yes, there is an option in SU to unroot the phone.
Click to expand...
Click to collapse
Hello,
Thanks so much for your clear and concise responses. Previously I've never been concerned about the unrooting of a phone or access to OTA. I just got so comfortable working with Samsung that I feel a bit out of my depth at the moment with the Z2.
jcspecs said:
It may have been put clearly somewhere else but I can't seem to locate it. Apologies if I am asking an answered question.
If I root this phone (don't intend to unlock bootloader), however:
Will OTA stop working? (because of modification)
Will doing an OTA update on rooted phone remove root?
If so, is it possible to preserve root while doing an OTA?
Will removing all traces of root be as easy as SU uninstall?
With some phones, the OTA will be broken after rooting and some it will not. This is my first Sony and I wanted to confirm if this was also the case.
Click to expand...
Click to collapse
On my phone OTA won't work on rooted device. Firmware downloads fine but it fails verification when trying to install.
jcspecs said:
Hello,
Thanks so much for your clear and concise responses. Previously I've never been concerned about the unrooting of a phone or access to OTA. I just got so comfortable working with Samsung that I feel a bit out of my depth at the moment with the Z2.
Click to expand...
Click to collapse
I can understand, I am also coming from SamsungS4. this is my first sony phone.But trust me sony has lot less hassles compared to Samsung Knox Bull****
kamalaggi said:
On my phone OTA won't work on rooted device. Firmware downloads fine but it fails verification when trying to install.
Click to expand...
Click to collapse
Interesting. Could it be something that varies across providers?
manu44 said:
I can understand, I am also coming from SamsungS4. this is my first sony phone.But trust me sony has lot less hassles compared to Samsung Knox Bull****
Click to expand...
Click to collapse
Yes. Happy to have avoided Knox.
manu44 said:
Will OTA stop working? (because of modification) No, it would not stop working if you just root
Will doing an OTA update on rooted phone remove root? It may or may not. Nobody has tried it yet. But normally we dont recommend doing OTA after rooting
If so, is it possible to preserve root while doing an OTA? No way till now.
Will removing all traces of root be as easy as SU uninstall? Yes, there is an option in SU to unroot the phone.
Click to expand...
Click to collapse
So, we can just click unroot in supersu, not have to flash FTF using FlashTool ? After this method of unroot can we safely do ota ?

[Q] Removing Root to do OTA Lolipop?

As per the title, I read something somewhere to the effect that from here on out, OTA updates will fail on most phones if they have been rooted, and this seems to be true for the Z Ultra GPE. So, what changed when I rooted my phone, and how do I undo it so that I can do the OTA update? I have looked through the forum, but nobody seems to answer it. I am rooted with Supersu using the Towelroot method. I am hoping to not have to unlock the bootloader or anything, just want to do this the official way. (I did backup my TA partition though).
jeraldjunkmail said:
As per the title, I read something somewhere to the effect that from here on out, OTA updates will fail on most phones if they have been rooted, and this seems to be true for the Z Ultra GPE. So, what changed when I rooted my phone, and how do I undo it so that I can do the OTA update? I have looked through the forum, but nobody seems to answer it. I am rooted with Supersu using the Towelroot method. I am hoping to not have to unlock the bootloader or anything, just want to do this the official way. (I did backup my TA partition though).
Click to expand...
Click to collapse
If your GPe is rooted only, the OTA should install just fine. If you made any system changes, you'll need to revert those though. I ran the OTA while I was rooted and didn't have any problems.
Visa Declined said:
If your GPe is rooted only, the OTA should install just fine. If you made any system changes, you'll need to revert those though. I ran the OTA while I was rooted and didn't have any problems.
Click to expand...
Click to collapse
Not so. See:
http://bgr.com/2014/11/14/android-5-0-lollipop-updates-and-root/
As mine is rooted, no dice, the OTA fails. So, how to unroot it so that the update takes?
jeraldjunkmail said:
Not so. See:
http://bgr.com/2014/11/14/android-5-0-lollipop-updates-and-root/
As mine is rooted, no dice, the OTA fails. So, how to unroot it so that the update takes?
Click to expand...
Click to collapse
well at the moment that doesn't effect the GPe, and may never. There will have to be a system image flashed to put the block device in a known state before the new way could ever be used, and if there is a system.img we can always flash that to get the OTA to work... no big deal I don't think.
jeraldjunkmail said:
Not so. See:
http://bgr.com/2014/11/14/android-5-0-lollipop-updates-and-root/
As mine is rooted, no dice, the OTA fails. So, how to unroot it so that the update takes?
Click to expand...
Click to collapse
First of all, BGR is a garbage site, and I wouldn't believe anything they say, ever. Second, that article is talking about avoiding root AFTER Lollipop is installed.
Having root will not cause the OTA to fail. If your OTA is failing, it's because you made a system change on your device.
*edit
If you were using Xposed, then that is more than likely why your OTA is failing.
What is Xposed? How would I check to see if it has affected my device? Only thing I did was Towelroot and running SuperSU. I may have done something to allow writing to the external SD card, but forget how I did that. I was intentionally trying to keep this phone basically stock so that it would easily update to Lolipop. I did a Titanium backup to the externalSD card and reset it to factory and the OTA update still fails though. I assume this was due to the fact that I rooted it. The bootloader is still unmodified, secureboot is still green - yes, lock state is locked. Only other thing I can think of is I installed an app that allowed me to set permissions by app (turn off location settings by app, etc) Sorry I can't give any more details than that...
jeraldjunkmail said:
I may have done something to allow writing to the external SD card, but forget how I did that.
Click to expand...
Click to collapse
jeraldjunkmail said:
Only other thing I can think of is I installed an app that allowed me to set permissions by app (turn off location settings by app, etc) Sorry I can't give any more details than that...
Click to expand...
Click to collapse
If you can't figure out what system change you made to your phone, just factory reset it, and run the OTA again. There was multiple people(me included) that took the OTA successfully, our phones were rooted and SuperSU was installed.
Visa Declined said:
If you can't figure out what system change you made to your phone, just factory reset it, and run the OTA again. There was multiple people(me included) that took the OTA successfully, our phones were rooted and SuperSU was installed.
Click to expand...
Click to collapse
As mentioned before, I factory reset this and wiped the cache from the stock recovery mode. Update won't take, stops shortly after it fails with "system update error". Since my last reset (been done a few times) it won't prompt me to get the OTA update, after my last reset last night. Any help is appreciated. Thanks!
{Damn thing won't work... (*&^&%^$$#}
jeraldjunkmail said:
As mentioned before, I factory reset this and wiped the cache from the stock recovery mode. Update won't take, stops shortly after it fails with "system update error". Since my last reset (been done a few times) it won't prompt me to get the OTA update, after my last reset last night. Any help is appreciated. Thanks!
{Damn thing won't work... (*&^&%^$$#}
Click to expand...
Click to collapse
The only fail-safe way I can see is to:
root
back up TA
unlock BL
hotboot custom kernel with recovery
flash 4.4.2
OTA to 4.4.3
OTA to 4.4.4
root and restore TA if you want a working camera
OTA to 5.0
blueether said:
The only fail-safe way I can see is to:
root
back up TA
unlock BL
hotboot custom kernel with recovery
flash 4.4.2
OTA to 4.4.3
OTA to 4.4.4
root and restore TA if you want a working camera
OTA to 5.0
Click to expand...
Click to collapse
As often happens, I sometimes see a solution I don't care to implement and begin to procrastinate. So, haven't looked at this problem for a while. I may have found the solution to my problems, but want to know if anyone has experience with it before proceeding. I re-installed superSU and went through the options. Buried in the options list is a box that offers "Full unroot, Cleanup for permanent unroot". What happens when I do this? does it just remove superSU or does it restore the phone back to factory status, before it was rooted? Thanks!
PS: @ blueether the solution is fine and I am sure it would work (I was going to go ahead with it until I saw that option in superSU), but have been hesitant to unlock the bootloader, etc, due to my unfamiliarity with hacking Sony products, and only want to do it as a last, final, no other option solution. Thanks for your help!
jeraldjunkmail said:
As often happens, I sometimes see a solution I don't care to implement and begin to procrastinate. So, haven't looked at this problem for a while. I may have found the solution to my problems, but want to know if anyone has experience with it before proceeding. I re-installed superSU and went through the options. Buried in the options list is a box that offers "Full unroot, Cleanup for permanent unroot". What happens when I do this? does it just remove superSU or does it restore the phone back to factory status, before it was rooted? Thanks!
PS: @ blueether the solution is fine and I am sure it would work (I was going to go ahead with it until I saw that option in superSU), but have been hesitant to unlock the bootloader, etc, due to my unfamiliarity with hacking Sony products, and only want to do it as a last, final, no other option solution. Thanks for your help!
Click to expand...
Click to collapse
That's fine and I take no offence at you not wanting to unlock the BL.
I haven't tried the full unroot option in supersu so I'm not sure what the outcome is. One of the other GPe users care to comment?
Well, turns out that the solution to unrooting the phone is to install superSU and than look inthe settings. It will offer you an option to completely uninstall root. It did what it says, and than you can check it with a check root app from the market. It reports that the phone is not rooted. Now the question is, will it pick up the OTA update... No luck with that after a clean factory reset, so not sure what to do next.
2 questions: If I unrooted my phone, and it says it is unrooted, is this true, in the fullest extent? Does towelroot do anything more than adding some permissions ans the superuser file?
If the phone won't pick up the OTA update, why? What went wrong?
Thanks!
jeraldjunkmail said:
Well, turns out that the solution to unrooting the phone is to install superSU and than look inthe settings. It will offer you an option to completely uninstall root. It did what it says, and than you can check it with a check root app from the market. It reports that the phone is not rooted. Now the question is, will it pick up the OTA update... No luck with that after a clean factory reset, so not sure what to do next.
2 questions: If I unrooted my phone, and it says it is unrooted, is this true, in the fullest extent? Does towelroot do anything more than adding some permissions ans the superuser file?
If the phone won't pick up the OTA update, why? What went wrong?
Thanks!
Click to expand...
Click to collapse
It sounds like the OTA is not being pushed at the moment/anymore. You could copy it to there the recovery can see it and manually install it
blueether said:
It sounds like the OTA is not being pushed at the moment/anymore. You could copy it to there the recovery can see it and manually install it
Click to expand...
Click to collapse
Can you point me inthe right direction for instructions on this process? Thanks!
Visa Declined said:
First of all, BGR is a garbage site, and I wouldn't believe anything they say, ever. Second, that article is talking about avoiding root AFTER Lollipop is installed.
Having root will not cause the OTA to fail. If your OTA is failing, it's because you made a system change on your device.
*edit
If you were using Xposed, then that is more than likely why your OTA is failing.
Click to expand...
Click to collapse
Your post is two years ago but i think you can help me,there is a new update for my phone and i am rooted i also have xposed installed so this mean i cannot update my sytem? Do i need to uninstall xposed? Im on stock rom and with TWRP recovery it would be a big help if you reply thanks.

[Q] SuperSU persistence after OTA

Hello i just followed all the steps about rooting my Z2 and i got a software update for it, can i safely update and keep superuser data???
the tutorial i followed
http://forum.xda-developers.com/xperia-z2/development/stock-d6502-23-1-0-726-complete-guide-t3085893
it's not stated whether its safe to OTA update your phone or not, at least for SU data
Thank you in advance
igorsalma said:
Hello i just followed all the steps about rooting my Z2 and i got a software update for it, can i safely update and keep superuser data???
the tutorial i followed
http://forum.xda-developers.com/xperia-z2/development/stock-d6502-23-1-0-726-complete-guide-t3085893
it's not stated whether its safe to OTA update your phone or not, at least for SU data
Thank you in advance
Click to expand...
Click to collapse
Well, usually updating over the air would unroot your device as system/recover/boot is rewritten. You will either need to flash a prerooted firmware or reroot it again after an OTA.
Quote me in case you expect a reply!
Good Luck

Categories

Resources