Unlocked and Rooted, still getting OTA. - Nexus 5X Q&A, Help & Troubleshooting

I have unlocked, decrypted, rooted my device (in /system), and flashed the ElementalX kernel. I am still somehow getting a current OTA. How can I avoid this?
Alternately, how can I update without wiping the device?

I use DisableService to stop all instances of SystemUpdateService. Should be two of them.
Sent from my Nexus 5X

Related

[Q] Any way to flash latest updates (GSM) without wipe?

Hi all,
I got my Galaxy Nexus GSM over a month ago now and got an OTA update straight away to 4.0.1. However I decided to flash the stock OTA 4.0.2 when it waqs released the first time (bootloader unlock and rooted).
However that update cause major lag on transitions and menus (forget the thread but it screwed many devices it seems).
Anyway it's re-rolling out again now and I'm thinking about giving it another try. I don't want to lose my data however.
The question is simple...is there a way to flash the update without wiping data?
Cheers
1. Back up using adb backup (use search to find the thread)
2. Flash stock 4.0.1 then wait for update or ditectly 4.0.2 image, then restore data using adb restore
3. ???
4. Profit!
Sent from my Galaxy Nexus using XDA App
OK, so in other words no.
Here's a question then...when people get their OTA updates does it wipe their devices?
No it does not.
So in that case could I just relock my bootloader and unroot and get the update?
Wiggz said:
Hi all,
I got my Galaxy Nexus GSM over a month ago now and got an OTA update straight away to 4.0.1. However I decided to flash the stock OTA 4.0.2 when it waqs released the first time (bootloader unlock and rooted).
However that update cause major lag on transitions and menus (forget the thread but it screwed many devices it seems).
Anyway it's re-rolling out again now and I'm thinking about giving it another try. I don't want to lose my data however.
The question is simple...is there a way to flash the update without wiping data?
Cheers
Click to expand...
Click to collapse
Yes. Flash the factory image and don't use the -w flag when applying the update.
OTA does not wipe. Either wait to receive it or apply manually.
Sent from my Galaxy Nexus using xda premium
Can you be a bit more specific - I can flash via the CW Recovery right? What method are you talking about using the -w ?
Help greatly appreciated.
I think that's the option when you flash image using fastboot
Anyway, is there any difference on latest roll of 4.0.2, compared to link on Google factory images, I was thinking doing the same today revert back from 4.0.3 custom rom to 4.0.2 stock
Sent from my Galaxy Nexus using XDA App
I have stock 4.0.1 ROM, just bootloader and root unlocked. I'm getting OTA update and want to allow it to update is all.

does root interfere with OTA?

rooted all my devices, havent rooted this one yet in fear for it messing with OTA. if i use the insecure boot imagine flashing via odin root method (option #1 on the toolkit), will i lose the ability to receive OTA updates?
You could always skip it, remove root and get it later on that day.
If you keep all the stock apps it would probably remove root without effecting anything else.
Sent from my SPH-L900 using Tapatalk 2
rooting by itself shoukdnt cause problems if you're using stock recovery and don't modify system files. Ota can interfere with root though.
uluaz said:
rooted all my devices, havent rooted this one yet in fear for it messing with OTA. if i use the insecure boot imagine flashing via odin root method (option #1 on the toolkit), will i lose the ability to receive OTA updates?
Click to expand...
Click to collapse
I believe you would be able to get an OTA if you were just rooted, but after applying it, it would break your root and your would have to root over again. If you have a custom recovery the OTA would just fail to install. I could be wrong on the first part, it's been a long time since I only rooted, without installing a custom recovery as well.
Sent from my SPH-L900 using xda premium
what about if i install OTA rootkeeper? would that make a difference?
The biggest thing you need to consider is whether you have a custom recovery or stock. Only a stock recovery will let an OTA update flash. If it's custom you'll want to either flash to stock before trying to update or wait a day or so unitl someone uploads a rooted .zip version of the update.
i think im going to stay with stock recovery.
so i just rooted and installed CWM. if i reflash stock recovery via odin, will the phone stay rooted?

[Q] OTA update Query

Hi, i got my nexus flo a week ago. This is my first nexus device.I have some queries. I have unlocked the bootloader, installed twrp and rooted the device.
Will that prevent me getting OTA?
Also, does having unlocked bootloader and custom recovery cause failure to update the software?
(Not just the JSS15R but future updates to kitkat as well)
Also what is the odex and deodex in this thread? which one should i flash?
http://forum.xda-developers.com/showthread.php?t=2383059
littleromeo said:
Hi, i got my nexus flo a week ago. This is my first nexus device.I have some queries. I have unlocked the bootloader, installed twrp and rooted the device.
Will that prevent me getting OTA?
Also, does having unlocked bootloader and custom recovery cause failure to update the software?
(Not just the JSS15R but future updates to kitkat as well)
Also what is the odex and deodex in this thread? which one should i flash?
http://forum.xda-developers.com/showthread.php?t=2383059
Click to expand...
Click to collapse
Odex vs deodex: http://forum.xda-developers.com/showthread.php?t=2200349
If I understand well, updates will 'fail' with custom recovery, whereas the update is flashed the firmware version number shows the old version. Explained in the guides somewhere.
Sent from my Nexus 7 (2013)
littleromeo said:
Hi, i got my nexus flo a week ago. This is my first nexus device.I have some queries. I have unlocked the bootloader, installed twrp and rooted the device.
Will that prevent me getting OTA?
Also, does having unlocked bootloader and custom recovery cause failure to update the software?
(Not just the JSS15R but future updates to kitkat as well)
Also what is the odex and deodex in this thread? which one should i flash?
http://forum.xda-developers.com/showthread.php?t=2383059
Click to expand...
Click to collapse
Unlocked bootloader has no direct negative effect on ota installs.
With an unlocked bootloader you might do further actions which can affect the ota like modify or delete /system files. You might install an enhancement like apm. Those, among others, would prevent the ota update from completing.
Now normally root by itself would not prevent an ota update, but there was an issue with SuperSU v 1.51 and earlier which did prevent the ota install from completing. This was fixed in SuperSU v1.55 and above.
Installing twrp will not block the ota.
The ota will disable root and overwrite custom recovery by default.
If you would like to prevent that behavior, the easiest way is to
copy the ota update.zip and supersu update.zip to your virtual sdcard
boot into twrp
install ota update.zip
immediately (prior to reboot) re-install supersu
sfhub said:
Unlocked bootloader has no direct negative effect on ota installs.
With an unlocked bootloader you might do further actions which can affect the ota like modify or delete /system files. You might install an enhancement like apm. Those, among others, would prevent the ota update from completing.
Now normally root by itself would not prevent an ota update, but there was an issue with SuperSU v 1.51 and earlier which did prevent the ota install from completing. This was fixed in SuperSU v1.55 and above.
Installing twrp will not block the ota.
The ota will disable root and overwrite custom recovery by default.
If you would like to prevent that behavior, the easiest way is to
copy the ota update.zip and supersu update.zip to your virtual sdcard
boot into twrp
install ota update.zip
immediately (prior to reboot) re-install supersu
Click to expand...
Click to collapse
Thank you for the guide, updated to JSS15R. There were no touchscreen problems for me before the update and everything is just like before even after update. Hope someone comes up with a changelog soon.

[Q] Question Upgrading Rooted Device

So, I have a question on upgrading my G3.
I am currently permarooted using PurpleDrake. No TWRP. I'm currently running 10c.
Is it safe for me to run the OTA and upgrade to 10m as is? Or do I need to unroot first? If I have to unroot first can I use the Unroot option in SuperSU? Or do I have to reflash the stock ROM?
Thank you for your time.
Yaaar said:
So, I have a question on upgrading my G3.
I am currently permarooted using PurpleDrake. No TWRP. I'm currently running 10c.
Is it safe for me to run the OTA and upgrade to 10m as is? Or do I need to unroot first? If I have to unroot first can I use the Unroot option in SuperSU? Or do I have to reflash the stock ROM?
Thank you for your time.
Click to expand...
Click to collapse
It all depends on if you have modded the system or not. ie: frozen any apps or removed any system files. If you have not then you can flash the stock recovery, run the OTA, then reflash TWRP. If you have modded the system then either undo your mods, or you can just flash the stock rom. For me I didn't fuss with making sure my system was perfect, I just flashed the stock 10c with flashtool, took the OTA to 10m, re rooted and then restored everything
Well, that's what I thought. I was hoping I wouldn't have to reflash stock. It always takes a couple hours. Then, after the reflash/upgrade; the backup/restore always seems to miss something; especially app data for some reason. Then after that, I have to go and readjust all my settings.
I guess I'll just wait for a major update. 10m doesn't seem to offer enough improvements to warrant the hassle.
Thank you for your reply.
Flash zone's 10m rom.
Knocked off my LG-D851

Using OTA's when rooted

I have my M8 running the GPE ROM which I have rooted. On previous Android versions, I was able to apply the OTA albeit manually in the custom recovery.
The last few OTA's I have attempted on my M8 have been a complete failure and I have ended up having to wipe and apply a factory image. Recently therefore i have been ignoring the updates (L-MR1 has been bugging me to install for weeks!)
Is there a method of applying these updates with the phone rooted?
Thanks
An ota will install with root applied BUT you have to make sure the system partition is untouched. This means that ALL the "stock" apps need to be there and nothing can be removed. xposed is also a known bugger to refuse official ota updates. And a must have is the HTC stock recovery. An ota never installs through a custom recovery !

Categories

Resources