trying to perform security update ota. issues. - Nexus 5X Q&A, Help & Troubleshooting

I am on custom recovery ( initially ). I got a notification that security update is available , so I downloaded the 6.0.1 image, extracted recovery from it, and flashed it via Rashr. But the moment I try to install the ota ( it boots into the recovery, I see the little android working - "Installing system update" ), it gives me "Error" at the end.
what exactly am I doing wrong ? Do I need to flash something else besides recovery to get the ota update ? Something is missing and I am not sure what.
Any help ?

are you rooted? if so what method? if your system partition isn't 100% i believe that will cause you to fail OTA. Why not just flash the update using fastboot/adb? you can download the image from google developer site.

Related

Unable to update to Android 5.0.2

Dear all,
I hope anyone can help me. I am trying to update to the latest Android version which I got OTA today. I have rooted my device and I am running TWRP (version 2.8.5.0) since some time. (Rooted it to restore some apps using Titanium backup). When I try to update using the OTA my device boots into recovery. When I choose install and select the downloaded zip file my device gives me the following error:
E: Zip signature verification dailed: 1
Disabling the ZIP verification doesn't work as I will just get another error message.
I have tried sideloading the ROM using adb commands but so far this hasn't worked either.
Anyone can give me some directions as how to continue from here? I would really like to update my device to Android 5!
Update with solution (for me):
What worked for me was downloading the OTA update like I would normally do. Then connect the phone to the computer and copy the downloaded update file to the computer (should be located on internal memory/download/). Once you have the file on your computer extract it, and then extract the file 'firmware'. Inside this second file should be a recovery.img. If you flash this recovery to your phone (no need to unroot or relock your bootloader) you will then be able to install the update.
That's because you need stock recovery to flash OTA. It won't work with TWRP because the OTA ZIP works different than a custom ROM.
Go back to stock everything and it'll work.
Or wait a couple of days till the boys here come up with a lollipop rom.
Ok thanks a lot, that'll help me I'll let you guy know if I run into any more problems.
how revert back to stock rom
JuanArg said:
That's because you need stock recovery to flash OTA. It won't work with TWRP because the OTA ZIP works different than a custom ROM.
Go back to stock everything and it'll work.
Or wait a couple of days till the boys here come up with a lollipop rom.
Click to expand...
Click to collapse
sir give step by step guide for reverting back to stock rom so as to install ota lollipop
there's have another way?
i had update from my HTC Disre EYE to 5.0 LLP [file name: OTA_EYE_TUHL_L50_SENSE60_MR_hTC_Asia_WWE_2.19.707.1-1.17.707.9_release_426512hhqv3ttmt8g0i6n3.zip(823MB)](if you want this file just tell me)
bootloader unlocked, S-ON, Rooted(SuperSU). at first began update install there's tried to go to Recovery Mode, right?, but mine is TWRP 2.8.5.0, that's doesn't work right, and i found this http://forum.xda-developers.com/desire-eye/general/update-to-android-5-0-2-t3081580 and i swear to god i'm not sure how can i do it right, i'm rookie for HTC. and then i just use fastboot flash recovery.img from this http://forum.xda-developers.com/des...1-15-502-7-t2966590/post57350873#post57350873, then seem like it work but it failed anyway. if i have to rollback to same old state of original ROM, i have to use HTC RUU right?, but all i can find is rom from USA, i'm not sure it will works in ASIA. i want to update to LLP so bad 'cause i still have problem with HTC write protection.
any solution for this, please help:silly:
sir my phone also on same condition and on 1.17.707.9
please send above file link for me I have no update notification
now we want ruu
sir please send file link
Use these two files. First restore the stock nandroid using twrp (remember to choose NO when twrp prompts you to install supersu and root rom).
After you successfully restore the backup, flash stock recovery.
That should take care of it.
https://docs.google.com/file/d/0B21aRK6c7mFWM19zTU9kYzc4YVU/edit?usp=docslist_api
https://docs.google.com/file/d/0B21aRK6c7mFWSmRpU2RLcTNtQkk/edit?usp=docslist_api
Sent from my HTC Desire EYE using XDA Free mobile app
It works!!!!
JuanArg said:
Use these two files. First restore the stock nandroid using twrp (remember to choose NO when twrp prompts you to install supersu and root rom).
After you successfully restore the backup, flash stock recovery.
That should take care of it.
Sent from my HTC Desire EYE using XDA Free mobile app
Click to expand...
Click to collapse
Your post save my life, sir. Now I can back to 4.4.4 with 1.17.707.9 software number!!! THANKS.
sorry for lately
hbrajhbh1 said:
sir please send file link
Click to expand...
Click to collapse
just got out few days, "drive.google.com/file/d/0Bz42d4oUm2q_SWNaTV9zbTBHSkU/view?usp=sharing" is the zip file update from HTC Asia_WWE_2.19.707.1-1.17.707.9, i hope it will help:cyclops:
sir sorry to say this link is not working? Please review
pkzr said:
i had update from my HTC Disre EYE to 5.0 LLP [file name: OTA_EYE_TUHL_L50_SENSE60_MR_hTC_Asia_WWE_2.19.707.1-1.17.707.9_release_426512hhqv3ttmt8g0i6n3.zip(823MB)](if you want this file just tell me)
bootloader unlocked, S-ON, Rooted(SuperSU). at first began update install there's tried to go to Recovery Mode, right?, but mine is TWRP 2.8.5.0, that's doesn't work right, and i found this http://forum.xda-developers.com/desire-eye/general/update-to-android-5-0-2-t3081580 and i swear to god i'm not sure how can i do it right, i'm rookie for HTC. and then i just use fastboot flash recovery.img from this http://forum.xda-developers.com/des...1-15-502-7-t2966590/post57350873#post57350873, then seem like it work but it failed anyway. if i have to rollback to same old state of original ROM, i have to use HTC RUU right?, but all i can find is rom from USA, i'm not sure it will works in ASIA. i want to update to LLP so bad 'cause i still have problem with HTC write protection.
any solution for this, please help:silly:
Click to expand...
Click to collapse
Are you able to install this OTA after you returned to stock .17.707.9 ?
You were on 1.17.707.9 and you received the above mentioned file as OTA ?
Can it be installed by stock recovery (un-rooted phone) or do i have to root and install twrp to install this OTA ?
thanks
after I reverted to stock version I get ota notification.
i flashed stock recovery and unrooted and then only able to install lollipop update succeefully
hbrajhbh1 said:
after I reverted to stock version I get ota notification.
i flashed stock recovery and unrooted and then only able to install lollipop update succeefully
Click to expand...
Click to collapse
I brought my phone 4 days ago ... It is on stock kit Kat 1.17.707.9 (unrooted) . Now how can I install the above shared OTA? Can you give steps plz.
prmah said:
Are you able to install this OTA after you returned to stock .17.707.9 ?
You were on 1.17.707.9 and you received the above mentioned file as OTA ?
Can it be installed by stock recovery (un-rooted phone) or do i have to root and install twrp to install this OTA ?
thanks
Click to expand...
Click to collapse
1. i unable to install that OTA and i can not return to original ROM of 1.17.707.9, i still don't know HOW.
2. Yes, go to Setting > About > Software Update
3. Yes, it's can install with Original Recovery and it's not work with TWRP.
hbrajhbh1 said:
after I reverted to stock version I get ota notification.
i flashed stock recovery and unrooted and then only able to install lollipop update succeefully
Click to expand...
Click to collapse
How to Revert to Stock Version?, Just uninstall SuperSU?, and how to unroot it?
prmah said:
I brought my phone 4 days ago ... It is on stock kit Kat 1.17.707.9 (unrooted) . Now how can I install the above shared OTA? Can you give steps plz.
Click to expand...
Click to collapse
go to Setting > About > Software Update
as ur phone new one and u have not done any root or unlock so update is easy
check for lollipop update in settings/about/software update?it will notify.if update available download and install.
hbrajhbh1 said:
as ur phone new one and u have not done any root or unlock so update is easy
check for lollipop update in settings/about/software update?it will notify.if update available download and install.
Click to expand...
Click to collapse
I think OTA is not available in India right now.
But when I m trying to install the above shared OTA(Google drive link) from stock recovery , a as soon as I select "apply from phone storage " phone reboots on its own .
I wana install lollipop please help.
prmah said:
I think OTA is not available in India right now.
But when I m trying to install the above shared OTA(Google drive link) from stock recovery , a as soon as I select "apply from phone storage " phone reboots on its own .
I wana install lollipop please help.
Click to expand...
Click to collapse
in usual way of that you have to put update file in Download folder in internal memory(after that you may have to restart) and then go to setting > about > software update, checking for update and wait the way that should be.
pkzr said:
in usual way of that you have to put update file in Download folder in internal memory(after that you may have to restart) and then go to setting > about > software update, checking for update and wait the way that should be.
Click to expand...
Click to collapse
I did that but no luck.
placed ota file in download folder then restarted the phone. Then check for update but still the same message "there are no updates available for your phone"
So i just got the ota update today the lollipop for my country (Egypt) i had phone rooted with custom recovery TWRP i tried installing the update and failed.. then i flashed the stock recovery and still fails...gone to supersu and settings and unrooted it and tried again, still fails...
relocked the bootloader and STILL fails this now got me so mad because upon every install failure i had to redownload the update (it takes a long time tho) so if anyone could help me here i will be so thankful.

How to go from prerooted to stock rom ?

Hi I m really new to this so excuse me ...
i got many updates by flashing with fastboot prerooted system.img i was on 2.19.40.18 prerooted but i would like to go to a stock no rooted to be able to apply OTA now
I tried an erase of my phone, but i came back to prerooted ...
I tried to install tethered TWRP and to install the.zip from asus download page but it was stuck on updating IFWI .... ( 2.19.40.20 zip file from asus )
What can i do ?
Plz help me
You need to go into the SuperSU settings, scroll to near the bottom and choose "Full unroot."
I did all on this post : http://forum.xda-developers.com/zenfone2/general/guide-to-apply-ota-bootloop-rooted-zf2-t3127835
I did unroot, flashed all 4 line before but i think my recovery is corrupted, it end in error with the green guy instantly and flashin via fastboot recovery.img isnt doing anybetter ...
I m really stuck ..
i was trying an adb sideload with a stock rom is this a good idea ? i got error protocol fault ...
shinjy87 said:
i was trying an adb sideload with a stock rom is this a good idea ? i got error protocol fault ...
Click to expand...
Click to collapse
Protocol fault is because you don't use latest ADB. Google it.
i successfully did this but now adb is stuck on serving 13 % and on the phone : verifying update package , it stopped like 15 min ago ...
Here's what I did to go from pre-rooted system back to stock.
1. Download the official latest image from Asus http://www.asus.com/support/Download/39/1/0/13/Lk0Sg1Ulh0Ph49Hl/32/
2. Rename the zip to MOFD_SDUPDATE.zip
3. Unroot via SU
4. Uninstall Xposed and modules if you have them busybox etc. (uninstall.bat for xposed it's easy)
5. Copy MOFD_SDUPDATE.zip to an SD card and insert into phone or copy to internal memory
6. Boot into recovery by holding power and volume up
7. If you get dead android press power button and volume up button and release.
8. Auto installs new image
I went this route after unrooting via SU and uninstalling xposed framework still wouldn't let me run OTA updates for some reason. I imagine I did something along the road or removed a system app or something. It wouldn't let me manually sideload or update and would error out halfway through the process. I cleared fastboot cache and even reset the device to no avail. I was on 2.19.40.18. I installed the 2.19.40.20 image then the OTA update to .22 yesterday.
If I root the device again which is likely I'll use method 3 and the rootkit tool.
i will try your way, installing the 22 now.
But i dont remember in recovery the auto installs new image ?
error in recovery trying to update the .22 like you said, i need to put the .20 before the .22 ?
shinjy87 said:
error in recovery trying to update the .22 like you said, i need to put the .20 before the .22 ?
Click to expand...
Click to collapse
I installed the 2.19.40.20 full system image (1.1GB) from Asus yesterday. They didn't have the full image for .22 up but they do now. I was on the .18 pre-rooted image. When you hold power and volume up choose recovery and it should install the MOFD_SDUPDATE.zip automatically (mine did). I had issues trying to manually update the phone from .18 to .20 and .22 via ADB (the patches are like 30MB). It would start the update with the android robot then fail about halfway.
Download the correct system image for your device. The new update is available as a full image now so download the .22 image from Asus and then rename it to MOFD_SDUPDATE.zip. Copy it to an SD card and insert it back into your phone. Phone is powered off so hold power and volume up to get the recovery screen. It will say Normal in a big green arrow. Change it to recovery via the volume buttons then hit power button and it should find and automatically install the MOFD_SDUPDATE.zip image.
FYI this is on a ZE551ML 4GB/64GB US WW firmware based phone. I imagine the other models are the same or very similar.
I wish I could articulate this better. Hopefully someone more knowledgeable comes along and lends a hand.
Hi, want to ask.
Previously i root by using Method 1 (PRE-ROOTED SYSTEM.IMG).
can i use your method to revert to stock rom and root again using Method 3 (1 CLICK ROOT TOOL)?
wlbwlb said:
Hi, want to ask.
Previously i root by using Method 1 (PRE-ROOTED SYSTEM.IMG).
can i use your method to revert to stock rom and root again using Method 3 (1 CLICK ROOT TOOL)?
Click to expand...
Click to collapse
Yes.
Induced_Apathy said:
Yes.
Click to expand...
Click to collapse
Thank, another question. will it wipe all my data?
wlbwlb said:
Thank, another question. will it wipe all my data?
Click to expand...
Click to collapse
Flashing the entire system image you want to wipe everything anyways in this case. If you mean using the one click rootkit (method 3) to root then no it will not.
Yea. I'm hoping someone finds a way to return this to a "never been rooted" device where the OTA actually works.
madmike23 said:
Yea. I'm hoping someone finds a way to return this to a "never been rooted" device where the OTA actually works.
Click to expand...
Click to collapse
Flash the .18 pre-rooted, then don't update SuperSU binary. Take OTAs as needed.
If OTA doesn't show up, download the OTA and adb sideload into stock recovery.
Harfainx said:
Flash the .18 pre-rooted, then don't update SuperSU binary. Take OTAs as needed.
If OTA doesn't show up, download the OTA and adb sideload into stock recovery.
Click to expand...
Click to collapse
I've done that before, with any OTA, it'll give me the error droid when installing. That's when I said screw it, and try to unroot. And now I'm stuck with that error no matter what.
madmike23 said:
I've done that before, with any OTA, it'll give me the error droid when installing. That's when I said screw it, and try to unroot. And now I'm stuck with that error no matter what.
Click to expand...
Click to collapse
What does the recovery log say?
Harfainx said:
What does the recovery log say?
Click to expand...
Click to collapse
Only thing that caught my attention is: Unable to open '/sdcard/MOFD_SDUPDATE.zip': No such file or directory.
This was last attempt unrooted and this morning's OTA

[Q] Ota Problem

my zenphone wont update i uninstall xposed,unroot and never delete any blotware just freeze the app and when i going to update got the android error i got unlocked bootloader and twrp then i flash the stock recovery and still not able to install the update then i tried sideload with stock recovery but got this problem
Yea, I think a lot of us who rooted, can't get back to a regular, "never been rooted" device. None of the OTA seems to work.
If you can download the update, you can try to use the SD Update feature done here.
madmike23 said:
Yea, I think a lot of us who rooted, can't get back to a regular, "never been rooted" device. None of the OTA seems to work.
If you can download the update, you can try to use the SD Update feature done here.
Click to expand...
Click to collapse
I can use twrp to flash the original rom or i need to do the step that was un that link
It tells you the problem. Your fingerprint is from .18, and it's expecting to find .20.
Easiest way is to flash the .18 pre-rooted image.
Reboot, DO NOT update SuperSU binary.
Take OTAs as they come up. If it doesn't show up, download and install through sideload in stock recovery.
They'll work and you won't get that fingerprint issue.

How I can apply Security Patches on a Rooted Rom?

Hi, I have a Nexus 5X with unlocked bootloader and with rooted. Since some days ago, I have a notification with a security update, but with the custom recovery it is not automatically installed.
Is there any way to install this OTA updates?
If you install TWRP (which you should, IMHO), it is easy. I'm not at all experienced, but I did it without losing any data. But with TWRP, you can do a full backup first. Everything I've done came from this single guide: http://forum.xda-developers.com/nexus-5x/general/guides-how-to-guides-beginners-t3206930
martyfried said:
If you install TWRP (which you should, IMHO), it is easy. I'm not at all experienced, but I did it without losing any data. But with TWRP, you can do a full backup first. Everything I've done came from this single guide: http://forum.xda-developers.com/nexus-5x/general/guides-how-to-guides-beginners-t3206930
Click to expand...
Click to collapse
i have TWRP ... and when try to install the updade i end up in recovery mode - after rebooting nothing changed ant the ota update notification is still there
Reyengine said:
i have TWRP ... and when try to install the updade i end up in recovery mode - after rebooting nothing changed ant the ota update notification is still there
Click to expand...
Click to collapse
The updates will not install on a rooted phone. Updates check if your software is stock and if not it will not update, includes recovery partition. Your best bet is to just update the ROM you're on. The ROM developer typically updates his base on a regular basis especially if it's one of the more active ones like Pure Nexus or Chroma among others.
If you really need Google updates to happen then you must go back to stock image and updates will work then.
Edit #2: If you are rooted but stock w/ TWRP, just unroot and flash stock recovery and the updates will work or you can ADB sideload the update zip w/ TWRP.
Reyengine said:
i have TWRP ... and when try to install the updade i end up in recovery mode - after rebooting nothing changed ant the ota update notification is still there
Click to expand...
Click to collapse
The link I provided has explicit instructions. I remembered wrong, though. You don't need TWRP, you need to do it in Fastboot mode, so you need to find the latest Fastboot program, or install the Android SDK. Then follow step 10 in the link I provided.

Phone keeps asking me to install an OTA update I already installed

So, I have a Sprint HTC 10. It was rooted, and then an OTA update came out about a week or so ago, version 1.80.651.10.
I unrooted and installed it, since I have TWRP it seems to take over the install process, but more or less does install it correctly.
Once my phone rebooted, it complained that the download was corrupt like it always does (likely due to TWRP) but this has happened before and the update always actually does install successfully. Going to system settings I can confirm that I am on version 1.80.651.10.
However, this time, it seems hell-bent on assuming that the update didn't install. It keeps putting an update notification in the notification bar that refuses to go away. If I go to check for updates, it confirms that I am up to date and the notification disappears.... for a short while, but then appears again asking me to install the update.
How can I get rid of this annoying thing? I haven't even gotten around to re-rooting my phone yet, as been confirmed by root and safetynet checkers, the ROM is basically at stock right now.
Cyber Akuma said:
So, I have a Sprint HTC 10. It was rooted, and then an OTA update came out about a week or so ago, version 1.80.651.10.
I unrooted and installed it, since I have TWRP it seems to take over the install process, but more or less does install it correctly.
Once my phone rebooted, it complained that the download was corrupt like it always does (likely due to TWRP) but this has happened before and the update always actually does install successfully. Going to system settings I can confirm that I am on version 1.80.651.10.
However, this time, it seems hell-bent on assuming that the update didn't install. It keeps putting an update notification in the notification bar that refuses to go away. If I go to check for updates, it confirms that I am up to date and the notification disappears.... for a short while, but then appears again asking me to install the update.
How can I get rid of this annoying thing? I haven't even gotten around to re-rooting my phone yet, as been confirmed by root and safetynet checkers, the ROM is basically at stock right now.
Click to expand...
Click to collapse
If you have twrp installed it wont update the firmware only software. You need to flash firmware seperatly with fastboot.
So I would need to extract the firmware or something out of the OTA file and flash that manually? What partitions would the firmware be updating?
And I am assuming this would overwrite TWRP and I would have to reinstall it?
Cyber Akuma said:
So I would need to extract the firmware or something out of the OTA file and flash that manually? What partitions would the firmware be updating?
And I am assuming this would overwrite TWRP and I would have to reinstall it?
Click to expand...
Click to collapse
Correct.:good:
Can somebody please explain how to flash the firmware with fastboot?
So I have to flash the OTA with TWRP, afterwards I have to extract the firmware file out of the OTA.zip and flash it with fastboot. But which commands are necessary in fastboot?
To get this out of the way, you can only flash firmware over fastboot if you're S-OFF. Otherwise, you'll need to restore completely to stock via custom recovery or RUU then update by OTA.
The best guide I've found for this is at http://forum.xda-developers.com/htc-10/how-to/2016-05-27-fastboot-flashing-firmware-t3387520.
kjjejones42 said:
To get this out of the way, you can only flash firmware over fastboot if you're S-OFF. Otherwise, you'll need to restore completely to stock via custom recovery or RUU then update by OTA.
The best guide I've found for this is at http://forum.xda-developers.com/htc-10/how-to/2016-05-27-fastboot-flashing-firmware-t3387520.
Click to expand...
Click to collapse
Thats not true. You flash in ruu mode when S - ON. If your are S - Off you can do it from download mode. I think you are a little confused with that thread. Those firmwares are modified and for S -Off phones only.
yldlj said:
Thats not true. You flash in ruu mode. If soff you can do it from download mode.
Click to expand...
Click to collapse
Ah, you're right! Sorry. To flash while S-ON, the CID and MID must match the zip + the bootloader must be locked, right?
kjjejones42 said:
Ah, you're right! Sorry. To flash while S-ON, the CID and MID must match the zip + the bootloader must be locked, right?
Click to expand...
Click to collapse
Im not sure about locked or relocked bootloader, i think it will work with unlocked but i could be wrong.
yldlj said:
Im not sure about locked or relocked bootloader, i think it will work with unlocked but i could be wrong.
Click to expand...
Click to collapse
I just had another thought, correct me if I'm wrong. You can flash the OTA manually through the stock recovery as a ZIP.
The OTA ZIP can either be downloaded in various places online, or you can download it on the phone as usual then find it in /data/data/com.htc.updater/files (if your device is rooted). More info at http://forum.xda-developers.com/showpost.php?p=66548846&postcount=3.
You can then flash the OTA through recovery if you have;
* 100% unmodified system (can be restored from TWRP backup)
* Stock recovery
kjjejones42 said:
I just had another thought, correct me if I'm wrong. You can flash the OTA manually through the stock recovery as a ZIP.
The OTA ZIP can either be downloaded in various places online, or you can download it on the phone as usual then find it in /data/data/com.htc.updater/files (if your device is rooted). More info at http://forum.xda-developers.com/showpost.php?p=66548846&postcount=3.
You can then flash the OTA through recovery if you have;
* 100% unmodified system (can be restored from TWRP backup)
* Stock recovery
Click to expand...
Click to collapse
Correct. Also unmodified boot. But if your flashing unmodified system image, boot and stock recovery you may aswell just boot to android and take the ota.

Categories

Resources