[Q] SuperSU persistence after OTA - Xperia Z2 Q&A, Help & Troubleshooting

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

Related

[Q] Impossible to root!

Hi guys,
first of all i'm sorry for my bad English,
second, i'm looking for solutions for 2 weeks in every part of forum without success!
i explain all the steps i've done before the trouble with my TF201 European version (32gb)
rooted with UnlockRoot v.2.3 success
installed all my apps.
trying to update to official update 9.4.2.21 (always fail)
i decided to unlock device with official asus app - success
again fail to update.
i decide to install CWM success
i load update 9.4.2.21.zip in my MicroSd (like a tutorial i read)
once i reboot in recovery, obviously, i can't acces to my MicroSd to load the .zip file
Panic---Solved learning adb command
i pushed .zip file into sdcard and update.
success with all update io've done but everytime loop recovery
http://forum.xda-developers.com/showthread.php?t=1514088
i solved with this guide...
try to Root the Tf201 with all of tools, like vipermodPrimeTimev4.5 (fail), UnlockRootv2.3 (fail), Sparkyroot (fail), TransformerPrimeIcsNew (fail)
the message is alway the same
i tried to reupdate OS but nothing, always it's impossibile to found busybox and su
tried to rerun Asus Unlock Device App
fail for possible internet connection (impossible)
is there any flash downloadMode like Odin for my GalaxyS, for every problems i had Odin was always the answer, the last but my MR.WOLF!
now i got my TF201 Unlocked (no more warranty) but Unrooted.
i love to use custom roms like i did with my galaxyS but now it's impossible to install CWM cause i'm not rooted.
any suggestion?
second step is to bring device to Assistance and pay what i need to have it clear (unlocked but clear) but i know that you got the solution.
thankyou all
Bad luck my friend
jacopone80 said:
...........................
thankyou all
Click to expand...
Click to collapse
Yeah man, that's bolex!! & you are out of luck.
I missed the OTA rootkeeper as well before I updated . No way yet to root 21, as far as yesterday midnight from what I remenber.
I did bring the unit back to the shop and exchanged it into the last showmodel ( still on HC)
Now it is updated and rooted.
Hopefully -vipervoy_ will find a new solution.
Edit: follow this thread: http://forum.xda-developers.com/showthread.php?t=1571828
re
ehi thankyou for quick answer...but...
you're telling me that there no way to root yet 9.4.2.21 update and in your signature I see rooted 9.4.2.21 @viperboy
i can't understand
jacopone80 said:
ehi thankyou for quick answer...but...
you're telling me that there no way to root yet 9.4.2.21 update and in your signature I see rooted 9.4.2.21 @viperboy
i can't understand
Click to expand...
Click to collapse
1. With Prime on .15 update (or earlier), get root
2. Install OTA rootkeeper
3. Upgrade to .21
4. Use OTA rootkeeper to get root back
This is the only way to have root on a stock .21 build.
If you upgrade to .21 before rooting and installing OTA rootkeeper, your cannot root (currently).
jacopone80 said:
you're telling me that there no way to root yet 9.4.2.21 update and in your signature I see rooted 9.4.2.21 @viperboy
i can't understand
Click to expand...
Click to collapse
It's really simple, you must root before updating to .21, save your root with something like Voodoo RootKeeper, and then restore your root after updating. There is currently no way to do an original root on .21.
re
perfectly understood right now
the problem is that i'm already on .21 and i think i can't donwgrade right?
so i've to wait for next root system
thanks all
Dave_S said:
It's really simple, you must root before updating to .21, save your root with something like Voodoo RootKeeper, and then restore your root after updating. There is currently no way to do an original root on .21.
Click to expand...
Click to collapse
And sometimes even this way is not working.
I'm using the .17 firmware,Is it possible to root?
rogeriok said:
I'm using the .17 firmware,Is it possible to root?
Click to expand...
Click to collapse
Yes
http://forum.xda-developers.com/showthread.php?t=1427125

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?

[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] If I update to 314 firmware, do I lose root?

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

[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.

Categories

Resources