[Q] root access with ota available, ota updates not working - One (M8) Q&A, Help & Troubleshooting

I have successfully done the guide to rooting your m8 while keeping the ability to do ota updates. However the ota updates are not working. It just keeps rebooting trying again and failing again.
I have xposed and xprivacy installed. I have the stock recovery installed. Was I supposed to remove xposed? I tought I read that I didn't have to in several places.
I read the entire thread of the guide and have searched for a while. I couldn't find any other errors like mine in any way.
Thank you for your time.

I am not positive on the M8 yet, but on an N5 for example, you can't take an OTA with a custom recovery, or Xposed.
And you need to properly uninstall Xposed. Search on that, I haven't done it.
Also, if you've made other system changes.. Like uninstalling system apps, it won't work either.
I'm not an OTA type, I flash updates manually... And I definitely am not sure if this applies to the M8. ?

You have to have stock recovery, stock rom, and stock kernel to be able to OTA.
I think you must not have any system installed mods as well. (HK sound mod etc.)
s-off and root and xposed do not affect the OTA.

Related

random noob questions...

OK,
1st Hi all and thanks for not bashing my lack of knowledge. I have done many searches and am now more confused than before.
I am comming from a droid X, I did the z4 root on it to get wifi tether working, it was on 2.2.1 I believe. Well it went very good, but I never got a push for an update. Got the new GN on verizon and tried to restore it back to stock, didn't work, so instead of selling it I gave it to my mom. Also, did this on a friends and he did get the update push and lost the root and superuser access.
This story is just so you know I am a complete noob. Other than following someones set by set on using Z4 I have really not done anything and have some questions on my new phone.
1. why would I want to unlock the bootloader?
2. after reading about the wifi hotspot by svtp do I need to root?
3. If i root and/or unlock the bootloader will this stop the updates from google (main reason I bought the phone)?
4. I am not into overclocking or modding but I want to be able to have wifi if I ever need it. That is the only thing I want.
Basically I am looking to unlock the wifi and still get all the google updates, is this possible? As of right now I think buying the svtp app is my best bet, I just don't want an unexpected bill showing up.
ok, still not rooted or unlocked. cannot get svtp to work wifi
Follow this guide --> http://forum.xda-developers.com/showthread.php?t=1382163
re #1: you need to unlock the bootloader to do pretty much anything non standard with your phone.
Since unlocking the bootloader wipes all data on the phone it's a good idea to do it early. You can leave it otherwise stock while you think about it, you can even relock it if you need to return the phone for some reason.
Neither unlocking nor rooting the phone will stop you getting the OTAs, it's custom roms that will do that. However most OTAs will stop your root access because they reset the permissions on your su files.
hth
Clancy_s said:
Neither unlocking nor rooting the phone will stop you getting the OTAs, it's custom roms that will do that. However most OTAs will stop your root access because they reset the permissions on your su files.
Click to expand...
Click to collapse
Just to add further to this... not only will custom ROMs stop you from getting OTA updates, having custom recovery (ClockworkMod) will prevent them from applying, even with the stock ROM. If using a stock ROM with custom recovery, you'll need to do the update manually. If you wait until you get the update notification, your phone should have downloaded the update to /cache. You can then use the custom recovery to apply the update. Alternatively, you can look on these forums for someone to post the URL to the OTA update zip file, download it, and flash it manually (this way you don't need to wait until your phone gets the update, you can download it and have it sooner).
In either case, you'll usually need to re-root, as stated. This is easier with a custom recovery, because you should just have to flash superuser immediately after flashing the update, before rebooting.
Until CM9 is stable, I'm running the stock ROM with ClockworkMod recovery. I can download the OTA updates manually and flash them with ClockworkMod then flash superuser and I'm good to go. Custom recovery makes it nice and easy to retain root, as well as the ability to do nandroid backups, etc.

To root or not to root?

So I got my phone today and rooted it directly. When I was browsing through the apps, I saw it has an update but it didn't let me install it because the phone was rooted. So, I had to go back to stock rom with a kdz file wiping everything, which seems to be the latest rom right now. I'm thinking about if i should root or not right now. Will I have to wipe everything again when the phone gets another update? Are you all in this situation or do i not know something correctly?
Some how I was able to install latest ota with root and also nothing was wiped.
Im not 100% sure but I think you can unroot with SuperSU then ota should go through but I may be wrong.
If you want to use apps like g3 tweaksbox, titanium backup etc, you will need root! I think you can do so much more when your Phone is rooted, so i would root it immediately!
homer285 said:
Some how I was able to install latest ota with root and also nothing was wiped.
Im not 100% sure but I think you can unroot with SuperSU then ota should go through but I may be wrong.
Click to expand...
Click to collapse
I also took an OTA for my F460S while rooted and it worked. My phone also is fine (it didn't die, crash or kill itself). When I get my next OTA I'll upload a video to show that it does work for some odd reason (only for a few people that I have seen). The benefits of rooting outweigh the drawbacks. If you root your phone, than you should be comfortable flashing a KDZ to restore it.
OTA updates often modify existing pre-installed apps, otherwise known as bloatware, so they check to be sure those targets are present and unmodified. If you have rooted but not deleted or removed or frozen any such apps, your system will pass that OTA test.
Some OTA's also look for su being installed, and hiding su can fool that, depending...
Sometimes the OTA is just mean altogether, for your protection.
Sent from my VS985 4G using Tapatalk

[Q] Can I still get OTA updates to Android after rooting?

I want to get some of the bloat off my Galaxy Tab S (WiFI only 10.5" 32GB) and have it auto sync time to NTP. Pretty weak that it can't do the latter on default software. I see the lovely Chainfire root tool in the General forum for this device.
My best guess is that I will still receive Android updates but installing one will void the root and make me re-root. This from a two year old thread here: http://forum.xda-developers.com/showthread.php?t=1814093
Install Titanium Backup, freeze half the stuff that comes with it, how could life get better?
Im not sure about reciving an ota update from the device will make you lose root. I have supersu pro and turned on survival mode in case I lost root from an update. To update I think you will need to flash and stock updated rom and reroot. I am on rooted stock rom and have twrp recovery. I also changed my status to official so I can see if their is an update. So basically I can get the ota update and install it but I have not tested it yet with the new update yesterday. Since im on a custom recovery and rooted Im not sure if the ota update will install correctly. But to answer your question Im pretty sure you flash the rom update with odin. As for ota updates and installing them i do not know. Hope this helps!

Non-OTA update vs root, opinions on Marshmallow update

So the Marshmallow OTA for M9 is already here (not sure for how long but I just checked for updates accidentally and it started nagging me to update).
However I have a modified system partition (stock with supersu and xposed) and I'm not sure if that one TWRP backup I have was before or after flashing su (silly me) so I guess OTA is a no-go for me. So here are some noob questions:
does the USB update work well with a rooted phone? (I suppose it does as it wipes everything, root included)
I've heard Marshmallow updates the bootlader. Does it require locked bootloader and will that affect my custom recovery?
are there any problems with rooting after the update?
is there a working xposed binary for 6.0?
and the last but not least - is it worth updating at all in the first place? I mostly look for better performance.
Usb, couldnt tell you. I have not seen any issues but you will need either a totally stock device to accept ota's or s-off to update. The ota doesn't wipe data.
Bootloader.. I think it did.
Root is possible but be careful as only certain twrp and supersu versions work.
Xposed is compatible (certain version) but some mods are extremely dangerous.
The interesting bit.. The mm update itself. Well, the constant discharging after a full charge is solved. The recents list has a new clear button and it has annoyingly been moved. The powersave notification icon has been removed so now you have to guess. Performance is seemingly much much better. Although i havent benchmarked it it feels a lot smoother.
I'm glad i updated but its still not perfect.
Sent from my HTC One M9 using Tapatalk

[Q] Android system update.

My question is regarding the system notification that says "system update downloaded" bassicly this update is a February 2016 security patches for Nexus 5X. Now my question is : Is it safe for me to install it ? ( I am rooted ( systemless), have twrp installed while on stock rom), if it isn't then how can I get rid of this notification?
yes, you can safely install it. no you won't be able to without further setup because of the way OTAs work (manual flashing via PC, FlashFire by Chainfire). you should be able to get rid of the notification by long-pressing it (which may disable other notifications as well).
Broken303 said:
yes, you can safely install it. no you won't be able to without further setup because of the way OTAs work (manual flashing via PC, FlashFire by Chainfire). you should be able to get rid of the notification by long-pressing it (which may disable other notifications as well).
Click to expand...
Click to collapse
"yes, you can safely install it. no you won't be able to without further setup because of the way OTAs work"
I am sorry maybe I am having troubles with reading with understanding but can I safely install it or can't I?
wojwem19 said:
"yes, you can safely install it. no you won't be able to without further setup because of the way OTAs work"
I am sorry maybe I am having troubles with reading with understanding but can I safely install it or can't I?
Click to expand...
Click to collapse
sorry, wasn't the best way of explaining it. you are safe to flash it, in the sense that it won't (or shouldn't) mess up your system. the system won't let you though, because in the process of the OTA update your system gets checked for modifications (root, adblockers, xposed...). if that process failes, so does the OTA update process and you get send back to your OS as it was and eventually the notification will pop back up again. therefore if you want to take the update, you have to flash it another way. one way is using your pc, there are even toolkits which automate most of the process and guide you through it (there are some very detailed and useful guides here on the forum, just do a quick search). another option is Chainfires FlashFire (which still has its quirks).
So, can you tell us how to install it via PC or provide the link that explains how to do it? Because the notification in not.center is a bit of annoying. Thanks!
Bottom line: you can not install an OTA if you have modified the system which means if you are rooted or have installed a custom recovery the OTA will fail. Even if you use a PC and use the ADB program, it will fail. There are many ways to update your system to the latest release using fastboot. Searching this forum has spelled out this process countless times. the search bar is your friend.
Problem that I now have is that it restarts to update, then it enters TWRP custom recovery. I flashed back the stock recovery to keep important OTA updates.
Yaz75 said:
the search bar is your friend.
Click to expand...
Click to collapse
exactly, thank you.
just as an example: searching the N5X forum for 'toolkit' leads me to several threads. this is one of those and further leads me here. oh, look, there is even a faq-section there and more specifically several possible solutions using this toolkit alone.
i don't intend to sound mean here, but with quick checks like that you can not only safe yourself some time.

Categories

Resources