[Q] OTA update to GPE 5.1, I have 1 question in need of answering - One (M8) Q&A, Help & Troubleshooting

I just got an OTA notification for 5.1 too. I'm running GPE RUU rooted 5.0.1 with the latest TWRP recovery.
I got the firmware off of the link below
http://graffixnyc.com/m8.php
It has the stock recovery listed as version 3.11.1700.5. Should i flash this version or a more recent one?
Thanks in advanced for the help!

To flash the OTA you HAVE to bee 100% stock, not even root. OTA updates changed in Lollipop and if anything is different from the original system image it'll fail

EddyOS said:
To flash the OTA you HAVE to bee 100% stock, not even root. OTA updates changed in Lollipop and if anything is different from the original system image it'll fail
Click to expand...
Click to collapse
I don't think that is the case regarding root. I think installing the update will mean I will loose root but as long as I have a stock recovery and system it should install. I'm just not sure about which version recovery to use..

bentez2003 said:
I don't think that is the case regarding root. I think installing the update will mean I will loose root but as long as I have a stock recovery and system it should install. I'm just not sure about which version recovery to use..
Click to expand...
Click to collapse
Nope, it's ALL changed. In Lollipop if you're rooted, it'll fail. You HAVE to be 100% stock. It wasn't an issue pre-Lollipop, though

EddyOS said:
Nope, it's ALL changed. In Lollipop if you're rooted, it'll fail. You HAVE to be 100% stock. It wasn't an issue pre-Lollipop, though
Click to expand...
Click to collapse
Does that mean that the only way to upgrade now for people who use root, Xposed, etc. is to do a Titanium Backup and then run a full RUU upgrade to the new image?

Backup your data, restore your stock backup (which you all made, of course), restore stock recovery and then apply the update and restore your data/re-root

Related

[Q] any difference between factory 4.0.4 or OTA to 4.0.4 from 4.0.2?

hi i just upgrading my phone from 4.0.2 to 4.0.4 imm76i (gsm/hspa+ without google wallet),
i am going to root the phone by cwm recovery, then i have some questions:
when i was on 4.0.2, i rooted the box by cwm, and when i want to do update by OTA, i have to refresh back to the original recovery in the factory 4.0.2 image to apply the package, and that's what i have done...
so here is the question: if i root it by cwm again, and then flash the new recovery.img from factory 4.0.4 image download from "https://developers.google.com/android/nexus/images#yakjuimm76i"
to the phone, will it keep the ability to OTA to next android version? in another way, is there any difference between OTA & factory image OR, is there a identification to know that whether this device flashed a factory image or ota from a previous version?
ok, then if do not mv/rm /system/recovery-from-boot.p after flash cwm(for root), will it restore the stock recovery and keep the ability to do OTA?
erics_lu said:
hi i just upgrading my phone from 4.0.2 to 4.0.4 imm76i (gsm/hspa+ without google wallet),
i am going to root the phone by cwm recovery, then i have some questions:
when i was on 4.0.2, i rooted the box by cwm, and when i want to do update by OTA, i have to refresh back to the original recovery in the factory 4.0.2 image to apply the package, and that's what i have done...
so here is the question: if i root it by cwm again, and then flash the new recovery.img from factory 4.0.4 image download from "https://developers.google.com/android/nexus/images#yakjuimm76i"
to the phone, will it keep the ability to OTA to next android version? in another way, is there any difference between OTA & factory image OR, is there a identification to know that whether this device flashed a factory image or ota from a previous version?
Click to expand...
Click to collapse
The ota is usually just the parts of the rom that have been updated, those image files are the whole rom, if u root u will be able to get the ota but it won't install even with factory recovery,I haven't done it since my N1 but if I remember right u can delete super user from system app folder and delete,--- com.noshufou.android.su and reboot and root should be gone then ota will work and after u update u just root agn .... but your way u did it is always an option ....
biggofer said:
The ota is usually just the parts of the rom that have been updated, those image files are the whole rom, if u root u will be able to get the ota but it won't install even with factory recovery,I haven't done it since my N1 but if I remember right u can delete super user from system app folder and delete,--- com.noshufou.android.su and reboot and root should be gone then ota will work and after u update u just root agn .... but your way u did it is always an option ....
Click to expand...
Click to collapse
thank u for response, i tried to update to 4.0.4 from rooted 4.0.2, and everything is ok.. according to your condition, i think there may be some difference between nexus S and galaxy nexus, so root is not the question(though i met some problem while rooting 4.0.4 caused by the version of su.zip is out of date ).
now i am on 4.0.4 and rooted by cwm, and i didn't delete /system/recovery-from-boot.p, i hope that i will not have to re-flash stock recovery when the next OTA come
When you say that is rooted through CWM, means what exactly? You only used the CWM to root the device? But how?
yep cause i wanna use stock rom on my GN so far, so i use cwm only for root(by flashing a su.zip), and after googled a lot, i think it has went back to stock recovery now, no longer worry about OTA, thank you
erics_lu said:
hi i just upgrading my phone from 4.0.2 to 4.0.4 imm76i (gsm/hspa+ without google wallet),
i am going to root the phone by cwm recovery, then i have some questions:
when i was on 4.0.2, i rooted the box by cwm, and when i want to do update by OTA, i have to refresh back to the original recovery in the factory 4.0.2 image to apply the package, and that's what i have done...
so here is the question: if i root it by cwm again, and then flash the new recovery.img from factory 4.0.4 image download from "https://developers.google.com/android/nexus/images#yakjuimm76i"
to the phone, will it keep the ability to OTA to next android version? in another way, is there any difference between OTA & factory image OR, is there a identification to know that whether this device flashed a factory image or ota from a previous version?
Click to expand...
Click to collapse
No difference. If you did not delete the two files (/system/etc/install-recovery.sh and /system/recovery-from-boot.p) then your device will automatically flash the correct stock recovery on every re-boot.
EDIT: Actually there is one difference: the OTA places those two files on your system, while a full stock ROM does not.
erics_lu said:
ok, then if do not mv/rm /system/recovery-from-boot.p after flash cwm(for root), will it restore the stock recovery and keep the ability to do OTA?
Click to expand...
Click to collapse
Yes.
biggofer said:
[snip]
if u root u will be able to get the ota but it won't install even with factory recovery
Click to expand...
Click to collapse
This is wrong. Rooting has no impact whatsoever on being able to install an OTA update.
efrant said:
No difference. If you did not delete the two files (/system/etc/install-recovery.sh and /system/recovery-from-boot.p) then your device will automatically flash the correct stock recovery on every re-boot.
Yes.
This is wrong. Rooting has no impact whatsoever on being able to install an OTA update.
Click to expand...
Click to collapse
thank you so much, explained so detailed

rooting and ota

Hi,
I might sound dumb but will I be ablle to get OTA updates if I install custom recovery and root.
thechamp007 said:
Hi,
I might sound dumb but will I be ablle to get OTA updates if I install custom recovery and root.
Click to expand...
Click to collapse
No. OTA updates require stock recovery. However, you can revert to stock recovery and unroot as you please. Also, you can flash OTA updates through TWRP once a flashable zip is made, except you have to download it and flash it manually, just like installing a custom ROM. Cheers.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4
I received the last update through OTA on a rooted Stock ROM with TWRP installed.
After the install was finished TWRP asked if I wanted to restore the root. All went smoothly.
To clarify.. I did not flash the ROM. I used the normal OTA update.
tigerdim said:
I received the last update through OTA on a rooted Stock ROM with TWRP installed.
After the install was finished TWRP asked if I wanted to restore the root. All went smoothly.
To clarify.. I did not flash the ROM. I used the normal OTA update.
Click to expand...
Click to collapse
I believe you can on small point updates. The full update from 4.3 to 4.4 most likely won't work with a custom recovery.
nbehary said:
I believe you can on small point updates. The full update from 4.3 to 4.4 most likely won't work with a custom recovery.
Click to expand...
Click to collapse
you must have stock /system folder + stock recovery
you can be rooted, by if you delete some files in /system - you break your ota
new ota will be with new radio too
after ota super-su apk will be removed by the ota
---------------
i restored /system apps from sdcard before 4.3 ota and migrate very well from 4.2.2
The ota 4.3 update removed my root and Twrp. Hope 4.4 doesn't do the same. It's always a pain for me to restore root with my Windows 7 laptop. It keeps installing the wrong usb drivers which get in the way of the wugfresh toolkit access to the nexus 7. So it's no easy task for me.

[Q] How do I perform the OTA update to Lollipop when rooted?

I recently unlocked the bootloader of an HTC One (M8) running Kitkat, installed TWRP then flashed a .ZIP file to root the phone. Now Lollipop has been released there's an OTA available on the phone but I'm not able to update through it. I've seen different posts all over the place about how you have to just install the stock recovery or how you have to use an RUU or how you have to use a NANDroid backup so the opinions are quite conflicting.
I basically just want the phone to run the stock unrooted version of Android so I'm able to perform the official OTA updates to Lollipop so how do I go about this? Any help is greatly appreciated!
Charlular said:
I recently unlocked the bootloader of an HTC One (M8) running Kitkat, installed TWRP then flashed a .ZIP file to root the phone. Now Lollipop has been released there's an OTA available on the phone but I'm not able to update through it. I've seen different posts all over the place about how you have to just install the stock recovery or how you have to use an RUU or how you have to use a NANDroid backup so the opinions are quite conflicting.
I basically just want the phone to run the stock unrooted version of Android so I'm able to perform the official OTA updates to Lollipop so how do I go about this? Any help is greatly appreciated!
Click to expand...
Click to collapse
No need to unroot. You just need a stock recovery.
Charlular said:
I basically just want the phone to run the stock unrooted version of Android so I'm able to perform the official OTA updates to Lollipop so how do I go about this? Any help is greatly appreciated!
Click to expand...
Click to collapse
Let me try to clarify the confusion based on my experience with the Lollipop OTA update. First, you need to remember that, during the OTA update, the software checks for two things: 1) the version of the recovery; and 2) whether any system files has been modified (described in my earlier post).
As a result, you only need stock recovery (from 4.4.4 or 5.0.1) to initiate the OTA update (as mentioned by the other poster). If no system files were altered as a result of your root access, your OTA should finish without errors.
However, root itself and what people do after they have root access often mean some system files were altered. Hence, they need to use either RUU or TWRP backup to restore they all files back to the factory version.
Finally, as for RUU vs. TWRP:
The RUU or TWRP version must match that to your carrier version of M8. The RUU is the better option, but not available for all carrier versions. When RUU is not available, people rely on TWRP nandroid backup generated by other users.
Bottom line or my advice:
First do a TWRP backup before you start anything. If anything goes wrong, you can always revert back to the working status as it is now.
To begin, go back to stock recovery, and see if the OTA update will go through. If not, you will see red triangle. Then hold Vol + and tap power button once to see the error messages. See my post above. If you ran into the same error as I did, you'll know what to do (RUU or TWRP backup to return to stock).
ikeny said:
Let me try to clarify the confusion based on my experience with the Lollipop OTA update. First, you need to remember that, during the OTA update, the software checks for two things: 1) the version of the recovery; and 2) whether any system files has been modified (described in my earlier post).
As a result, you only need stock recovery from (4.4.4 or 5.0.1) to initiate the OTA update (as mentioned by the other poster). If no system files were altered as a result of your root access, your OTA should finish without errors.
However, root itself and what people do after they have root access often mean some system files were altered. Hence, they need to use either RUU or TWRP backup to restore they all files back to the factory version.
Finally, as for RUU vs. TWRP:
The RUU or TWRP version must match that to your carrier version of M8. The RUU is the better option, but not available for all carrier versions. When RUU is not available, people rely on TWRP backup generated by other users.
Bottom line or my advice:
First do a TWRP backup before you start anything. If anything goes wrong, you can always revert back to a work status as it is now.
To begin, go back to stock recovery, and see if the OTA update will go through. If not, you will see red triangle. Then hold Vol + and tap power button once to see the error messages. See my post above. If you ran into the same error as I did, you'll know what to do (RUU or TWRP backup to return to stock).
Click to expand...
Click to collapse
A very well-worded answer

TWRP=No OTA for you

This is a public service announcement to save people headaches. RTFM. You cannot ever now, or in the past, take an OTA with a custom recovery. You must always have a stock recovery and system to do so. Period. If you do install a custom recovery, freeze the update center with Titanium, Rom Toolbox, or the like, so that you will remember you have a custom recovery and not accidentally take an update.
I hope this helps someone out there
So what is the simplest way to update to the OTA firmware with a phone that is rooted with twrp, and a custom ROM? Is there a way to disable twrp without having to un-root? That way it might be possible to update to the OTA firmware. Please correct me if I'm wrong.
Grizzie said:
So what is the simplest way to update to the OTA firmware with a phone that is rooted with twrp, and a custom ROM? Is there a way to disable twrp without having to un-root? That way it might be possible to update to the OTA firmware. Please correct me if I'm wrong.
Click to expand...
Click to collapse
.this is referring to stock software updates, unless it's updates of the rom, which you won't even receive if you're on a custom rom...to update a custom rom, you just download the updated version, or the OTA if the rom is so capable, and flash it in twrp like the first version you downloaded
Grizzie said:
So what is the simplest way to update to the OTA firmware with a phone that is rooted with twrp, and a custom ROM? Is there a way to disable twrp without having to un-root? That way it might be possible to update to the OTA firmware. Please correct me if I'm wrong.
Click to expand...
Click to collapse
Wait for a flashable zip for TWRP. You can revert to stock to take an OTA. Being rooted is not a problem per se, it's the custom recovery and having non stock roms. In theory you could flash the stock recovery and bootloader and then take an OTA. However, not having stock system/apps could likely create havoc
In case you do happen to try and install it, here's a fix for your bootloops: http://forum.xda-developers.com/showthread.php?p=60117595

HTC ONE M8 5.0.1- Failed To Flash Stock Recovery

Stock Recovery
Dear friends,
I have an HTC one M8
Android-5.0.1
Network Provider- Three Republic of Ireland
Bootloader status- Unlocked
S-ON
CID-H3G__001
I am trying to do an OTA-4.25.771.6
I was on TWRP Custom Recovery
I tried to reflash to stock recovery to do the OTA and unsuccessfully tried the below mentioned Stock recoveries from XDA developers.
stock+recovery+1.54.771.5+recovery.img
and
stock+recovery+1.12.771+recovery.img
I see a Red triangle with an exclamation mark when I try to run the Stock Recovery.
Can anybody suggest any solutions
Many Thanks
sijuiv said:
I have an HTC one M8
Android-5.0.1
stock+recovery+1.54.771.5+recovery.img
and
stock+recovery+1.12.771+recovery.img
Click to expand...
Click to collapse
Those recoveries are way too old to work, it needs to match your current firmware (hboot, etc.), which sounds like Lollipop Android 5.0 (those are Kitkat Android 4.4.2 recoveries).
I assume you have the stock Lollipop ROM? Since you need the stock ROM (in addition to stock recovery) to OTA. And trying to install the recent Stagefright OTA?
sijuiv said:
CID-H3G__001
I am trying to do an OTA-4.25.771.6
I was on TWRP Custom Recovery
I tried to reflash to stock recovery to do the OTA and unsuccessfully
Click to expand...
Click to collapse
You need to install 4.20.771.2 stock recovery or the one that from OTA 4.25.771.6.
And make sure you have a non-rooted stock 4.20.771.2 ROM running on your device
redpoint73 said:
Those recoveries are way too old to work, it needs to match your current firmware (hboot, etc.), which sounds like Lollipop Android 5.0 (those are Kitkat Android 4.4.2 recoveries).
I assume you have the stock Lollipop ROM? Since you need the stock ROM (in addition to stock recovery) to OTA. And trying to install the recent Stagefright OTA?
Click to expand...
Click to collapse
dEAR rEDPOINT73
mANY tHANKS FOR THE REPLY,
I am trying to install the recent 4.25.771.6 OTA.
I am on a stock rom.
Can you please give me a link to the Stock Recovery I should flash.
Regards
ckpv5 said:
You need to install 4.20.771.2 stock recovery or the one that from OTA 4.25.771.6.
And make sure you have a non-rooted stock 4.20.771.2 ROM running on your device
Click to expand...
Click to collapse
Dear CKP5
Many thanks for the reply.
Do I need to unroot my Device which is already on Stock Rom to do an OTA.I have'nt messed with any default apps that came with the device. I am already receiving the notifications to do an OTA on the device.
I could'nt find the stock recovery.Can you please give me a link to the same.
Regards
Definitely you need a non-rooted stock ROM.
If you unroot your ROM, most likely it won't work either as the root itself change some files.
Restore the system part only from a non-rooted backup to avoid problem. You can keep your data.
Install stock recovery then do OTA
Check link in my signature for all files that you need.
And FYI .. this OTA will upgrade your system to 5.0.2 but unfortunately the stagefright fix only fix 6/7 vulnerabilities

Categories

Resources