[Q] Error trying to install 5.1 OTA - Nexus 5 Q&A, Help & Troubleshooting

I am trying to install the 5.1 OTA. I am stock & non-rooted. I recently booted into TWRP but I didn't flash it. When the OTA starts to install I get the Android with the exclamation mark. The only word is Error. I press the power button and volume-up and the error is...
"/system/bin/install-recovery.sh" has unexpected contents.
E:Error in /cache/update.zip
(Status 7)
Apparently even doing a fastboot boot into TWRP mucked up something. Anyway to correct that file to take the OTA again? I really don't wanto to do a factory reset.

xda6969 said:
I am trying to install the 5.1 OTA. I am stock & non-rooted. I recently booted into TWRP but I didn't flash it. When the OTA starts to install I get the Android with the exclamation mark. The only word is Error. I press the power button and volume-up and the error is...
"/system/bin/install-recovery.sh" has unexpected contents.
E:Error in /cache/update.zip
(Status 7)
Apparently even doing a fastboot boot into TWRP mucked up something. Anyway to correct that file to take the OTA again? I really don't wanto to do a factory reset.
Click to expand...
Click to collapse
You don't need to do a factory reset. Just remove -w from flash-all.bat and flash factory image without loosing data.
P:S: Also there are a lot OTA update threads yet.

zagorteney said:
You don't need to do a factory reset. Just remove -w from flash-all.bat and flash factory image without loosing data.
P:S: Also there are a lot OTA update threads yet.
Click to expand...
Click to collapse
Will this method correct the install-recovery.sh file so future OTA updates will apply?

xda6969 said:
I am trying to install the 5.1 OTA. I am stock & non-rooted. I recently booted into TWRP but I didn't flash it. When the OTA starts to install I get the Android with the exclamation mark. The only word is Error. I press the power button and volume-up and the error is...
"/system/bin/install-recovery.sh" has unexpected contents.
E:Error in /cache/update.zip
(Status 7)
Apparently even doing a fastboot boot into TWRP mucked up something. Anyway to correct that file to take the OTA again? I really don't wanto to do a factory reset.
Click to expand...
Click to collapse
zagorteney said:
You don't need to do a factory reset. Just remove -w from flash-all.bat and flash factory image without loosing data.
Click to expand...
Click to collapse
Flash-all can be used to automate the process of flashing a factory image, but OP is having issues with OTA.
xda6969 said:
Will this method correct the install-recovery.sh file so future OTA updates will apply?
Click to expand...
Click to collapse
Read this thread's first post to know how you can upgrade to 5.1.
I think you can flash the ota update file (once it downloaded, it should be somewhere in your device - EDIT: zagorteney posted the exact location below, /cache) with TWRP, like you would a normal custom rom, and TWRP will output more information about why the OTA isn't applying.

@beekay201
You are wright. I've thought that OP just want to update to 5.1 anyway. Update.zip is located in /cache.

I had the same issue, then when I made the decision to use the flash-all script, I got another error about missing the system.img when it was in the same folder as everything else. I ended flashing all the files manually.

Ki77erB said:
I had the same issue, then when I made the decision to use the flash-all script, I got another error about missing the system.img when it was in the same folder as everything else. I ended flashing all the files manually.
Click to expand...
Click to collapse
It's common problem with flashing 5.1.

zagorteney said:
It's common problem with flashing 5.1.
Click to expand...
Click to collapse
I think I'm going to do the flash-all.bat. I've done that before and since I can save my app data by omitting -w then this method should be fine. I am going to make sure I have the latest adb and fastboot first so hopefully I don't get the common missing system.img error. Once I do this, will it correct the install-recovery.sh file so I can take future OTAs again? Also, the -w retains all app settings and data right?....it just doesn't preserve the internal SD card data?

xda6969 said:
I think I'm going to do the flash-all.bat. I've done that before and since I can save my app data by omitting -w then this method should be fine. I am going to make sure I have the latest adb and fastboot first so hopefully I don't get the common missing system.img error. Once I do this, will it correct the install-recovery.sh file so I can take future OTAs again?
Click to expand...
Click to collapse
As I know, you shouldn't be rooted or make any other modifications with system to get OTA.

zagorteney said:
As I know, you shouldn't be rooted or make any other modifications with system to get OTA.
Click to expand...
Click to collapse
That's correct. I am no longer rooted and I haven't modified any system files intentally. Somehow, just booting into TWRP made a change to that file. I never had this issue when I was using CR.

zagorteney said:
As I know, you shouldn't be rooted or make any other modifications with system to get OTA.
Click to expand...
Click to collapse
Yep; SuperSU for example modifies /system/etc/install-recovery.sh (or /system/bin/install-recovery.sh) and a couple more files.
xda6969 said:
That's correct. I am no longer rooted and I haven't modified any system files intentally. Somehow, just booting into TWRP made a change to that file. I never had this issue when I was using CR.
Click to expand...
Click to collapse
Never heard of TWRP modifying /system on its own.

beekay201 said:
Yep; SuperSU for example modifies /system/etc/install-recovery.sh (or /system/bin/install-recovery.sh) and a couple more files.
Never heard of TWRP modifying /system on its own.
Click to expand...
Click to collapse
Ahh...I did install SuperSU to unroot. But I also installed it on a N10 to unroot it and it took the OTA without a hitch.
I did the flash-all.bat after removing the -w. Everything went fine. I hope the install-recovery.sh file was corrected. Thanks all for the help!

Related

Trying to update to 4.4.2 via TWRP Flash getting error

I'm new to rooting and android in general. I'm currently running 4.4 rooted with stock I believe. Says ponury kernal in my settings.
I'm trying to flash the update for 4.4.2 via the TWRP install. I get a failed error: error executing updater binary in zip.
I've made sure my zip is the 4.4 to 4.4.2 but still no luck. Any ideas what I can do? Do I need to wipe something before I can put it on there?
On a first thought, you need to get back to the original kernel.
Update from 4.4.1 to .4.4.2. has no problems with different kernels installed, however this won't work from 4.4. to 4.4.2.
The exact error message would be also helpful
tom1807 said:
On a first thought, you need to get back to the original kernel.
Update from 4.4.1 to .4.4.2. has no problems with different kernels installed, however this won't work from 4.4. to 4.4.2.
The exact error message would be also helpful
Click to expand...
Click to collapse
The error was : error executing updater binary in zip. I will look into getting back to stock.
matthewordie said:
The error was : error executing updater binary in zip. I will look into getting back to stock.
Click to expand...
Click to collapse
You need to fastboot flash the system and boot image from 4.4 if you have a custom kernel. Then flash the update
jd1639 said:
You need to fastboot flash the system and boot image from 4.4 if you have a custom kernel. Then flash the update
Click to expand...
Click to collapse
How do I fastboot flash the system and boot image? Can I do that from TWRP or do I need to use the command line with the fastboot? I have fastboot installed on my mac already. I was playing with that as well.
matthewordie said:
How do I fastboot flash the system and boot image? Can I do that from TWRP or do I need to use the command line with the fastboot? I have fastboot installed on my mac already. I was playing with that as well.
Click to expand...
Click to collapse
You'll need to get the factory image and extract the files. Inside there is another zip file which you'll need to extract. That's where you'll find the images. Use fastboot flash system system.img The Mac command is slightly different, I don't remember exactly what it is. To fastboot boot its the similar format
jd1639 said:
You'll need to get the factory image and extract the files. Inside there is another zip file which you'll need to extract. That's where you'll find the images. Use fastboot flash system system.img The Mac command is slightly different, I don't remember exactly what it is. To fastboot boot its the similar format
Click to expand...
Click to collapse
Is there a method of rooting or a specific kernal that will make it easier to update next time? I'd really hate to have to wipe everything every time there's an OTA update.
matthewordie said:
Is there a method of rooting or a specific kernal that will make it easier to update next time? I'd really hate to have to wipe everything every time there's an OTA update.
Click to expand...
Click to collapse
then stop modding your phone if you want OTAs.
its really that simple.
just flash the 4.4.2 factory images.
matthewordie said:
Is there a method of rooting or a specific kernal that will make it easier to update next time? I'd really hate to have to wipe everything every time there's an OTA update.
Click to expand...
Click to collapse
Flashing the system image won't wipe anything
http://forum.xda-developers.com/showthread.php?p=14
Sent from my Nexus 5 using Tapatalk
Zepius said:
then stop modding your phone if you want OTAs.
its really that simple.
just flash the 4.4.2 factory images.
Click to expand...
Click to collapse
Well I really don't know the exact steps involved in "flashing the image". That's what I'm asking.
jd1639 said:
Flashing the system image won't wipe anything
Click to expand...
Click to collapse
Then I guess I had the wrong impression of what flashing the image is. Is there a guide available?
matthewordie said:
Then I guess I had the wrong impression of what flashing the image is. Is there a guide available?
Click to expand...
Click to collapse
Follow method#2. But only flash the system.img and boot.img. http://forum.xda-developers.com/showthread.php?p=47156064
Edit, your bootloader is unlocked, right? If not then you will lose all you data unlocking it
jd1639 said:
Follow method#2. But only flash the system.img and boot.img. http://forum.xda-developers.com/showthread.php?p=47156064
Edit, your bootloader is unlocked, right? If not then you will lose all you data unlocking it
Click to expand...
Click to collapse
Ah, I was close I actually did method 1. Yeah I did leave it unlocked since i'm going to root again right away. Thanks

On stock 4.4, 4.4.2 install fails every time, on about 20-30%

I am unrooted and on stock 4.4.
I have tried installing the 4.4.2 OTA 3 times, failing every time on 20-30%.
Then I tried to go to recovery mode and wiping cache partition, and after that I immediately got another OTA 4.4.2, but that also failed.
I have no idea why this is happening, and what my options are.
Do anyone know about this problem, if it is with my phone or a general problem, and how to fix it, or get 4.4.2 some other way.
did you install any mods, kernels, change any files? if so its been documented all over the forums.
No, the only thing I've done that might be causing a problem (I've just now learned), is that I had Google Keep deactivated, which apparently is a no-no since it's a system app.
I've re-activated it now and waiting until I get another OTA, then trying again.
danielvago said:
No, the only thing I've done that might be causing a problem (I've just now learned), is that I had Google Keep deactivated, which apparently is a no-no since it's a system app.
I've re-activated it now and waiting until I get another OTA, then trying again.
Click to expand...
Click to collapse
It didn't work. I have no idea what to do, can I sideload the APK?
Something similar happened to me to my wife's Nexus 5. Not even manually down loading the OTA file and flashing it using CWM worked properly (it flashed all right, but the phone became unstable after). So in the end, I downloaded the factory image for 4.4.2 and did a flash-all. Detailed instructions for doing that are available here: http://forum.xda-developers.com/showthread.php?t=2513701. It seems to run fine now. If you would like to preserve your data, unzip all of the factory image file and flash one component at a time, skipping userdata.img (as doing so wipes your data).
danielvago said:
It didn't work. I have no idea what to do, can I sideload the APK?
Click to expand...
Click to collapse
I've never had a problem flashing an update because system apps were disabled. Deleted yes, disabled no. If you were at one time rooted and deleted Keep from system/app sideloading it will not install it in the system, it will be installed as a user app. Also, if you put Keep back in system/app it needs to be both the apk and the odex files or it will fail again anyway. If you delete anything from the system you need to save those files somewhere because that will affect being able to do updates. Instead of deleting a file I would just rename it by adding the number 1 at the end of the name (Keep.apk1). At this point you would need to be rooted to replace anything in the system. Or you could use adb to flash the system image. Anyway... all this is conjecture on my part because it's not very clear if you have EVER been rooted or not and what exactly you mean by "deactivated," then asking if sideloading would work. If you "Disabled" Keep you don't need to sideload it because it's still there inside system/app. The update does not care if you have system app updates installed or not as long as the original is in system/app.
---------- Post added at 04:33 AM ---------- Previous post was at 04:24 AM ----------
Theory said:
Something similar happened to me to my wife's Nexus 5. Not even manually down loading the OTA file and flashing it using CWM worked properly (it flashed all right, but the phone became unstable after). So in the end, I downloaded the factory image for 4.4.2 and did a flash-all. Detailed instructions for doing that are available here: http://forum.xda-developers.com/showthread.php?t=2513701. It seems to run fine now. If you would like to preserve your data, unzip all of the factory image file and flash one component at a time, skipping userdata.img (as doing so wipes your data).
Click to expand...
Click to collapse
I believe you can open the flash-all script and delete the -w part and it will not flash the userdata image. I have a new original version of the 2012 N7 I'm going to try that with here in a minute to update to 4.4.2 but like you mention doing each image separately works great.
wantabe said:
I've never had a problem flashing an update because system apps were disabled. Deleted yes, disabled no. If you were at one time rooted and deleted Keep from system/app sideloading it will not install it in the system, it will be installed as a user app. Also, if you put Keep back in system/app it needs to be both the apk and the odex files or it will fail again anyway. If you delete anything from the system you need to save those files somewhere because that will affect being able to do updates. Instead of deleting a file I would just rename it by adding the number 1 at the end of the name (Keep.apk1). At this point you would need to be rooted to replace anything in the system. Or you could use adb to flash the system image. Anyway... all this is conjecture on my part because it's not very clear if you have EVER been rooted or not and what exactly you mean by "deactivated," then asking if sideloading would work. If you "Disabled" Keep you don't need to sideload it because it's still there inside system/app. The update does not care if you have system app updates installed or not as long as the original is in system/app.
---------- Post added at 04:33 AM ---------- Previous post was at 04:24 AM ----------
I believe you can open the flash-all script and delete the -w part and it will not flash the userdata image. I have a new original version of the 2012 N7 I'm going to try that with here in a minute to update to 4.4.2 but like you mention doing each image separately works great.
Click to expand...
Click to collapse
Sorry for not being clear, I have never rooted, un-locked, flashed anything, etc. I am using the phone very stock-y, not messing with anything.
It boggles me, that I can have such a problem, when I am going completely stock.
The most "extreme" things I've done is install an adblock apk and flashplayer 11.1 apk, that Dolphin browser suggested.
I don't know if the only solution is to do a factory reset, which I hate doing, since it took so very long to set everything up the way I wanted it.
I've read of other people having this problem, and no solution, and some have tried a factory reset but that didn't fix it.
danielvago said:
Sorry for not being clear, I have never rooted, un-locked, flashed anything, etc. I am using the phone very stock-y, not messing with anything.
It boggles me, that I can have such a problem, when I am going completely stock.
The most "extreme" things I've done is install an adblock apk and flashplayer 11.1 apk, that Dolphin browser suggested.
I don't know if the only solution is to do a factory reset, which I hate doing, since it took so very long to set everything up the way I wanted it.
I've read of other people having this problem, and no solution, and some have tried a factory reset but that didn't fix it.
Click to expand...
Click to collapse
What is the error when the OTA fails?
Adblockers usually require root, which in turn edits the hosts file, so that could be the culprit. I'd go the factory image way and edit the flash-all.bat using Notepad++ before running it to remove the -w flag so you don't lose your data
try incremental install
danielvago said:
I am unrooted and on stock 4.4.
I have tried installing the 4.4.2 OTA 3 times, failing every time on 20-30%.
Then I tried to go to recovery mode and wiping cache partition, and after that I immediately got another OTA 4.4.2, but that also failed.
I have no idea why this is happening, and what my options are.
Do anyone know about this problem, if it is with my phone or a general problem, and how to fix it, or get 4.4.2 some other way.
Click to expand...
Click to collapse
try sideloading 4.4.1 first. .and then sideload 4.4.2 after that. see if that works.
EddyOS said:
Adblockers usually require root, which in turn edits the hosts file, so that could be the culprit. I'd go the factory image way and edit the flash-all.bat using Notepad++ before running it to remove the -w flag so you don't lose your data
Click to expand...
Click to collapse
I just updated a new 2012 N7 from 4.1 to 4.4.2 and I couldn't get removing the -w flag to work. I think the script needs more editing than just removing the -w part. Something new I had never tried before which I actually don't personally have much use for because it still flashes the stock recovery over a custom recovery if you are using one. Anyway.. flashing the bootloader and radio separately and then flashing the update zip with "fastboot update image-hammerhead-kot49h.zip" would be a little bit of a shortcut versus flashing ALL of the images and you don't lose data.
Never had an issue myself, but I always prefer to flash each image manually one at a time
EddyOS said:
Never had an issue myself, but I always prefer to flash each image manually one at a time
Click to expand...
Click to collapse
I've always flashed each image separately also, I was just being lazy and experimenting. Removing the -w from the .bat and/or the .sh wouldn't work for me.
---------- Post added at 10:33 AM ---------- Previous post was at 10:27 AM ----------
danielvago said:
Sorry for not being clear, I have never rooted, un-locked, flashed anything, etc. I am using the phone very stock-y, not messing with anything.
It boggles me, that I can have such a problem, when I am going completely stock.
The most "extreme" things I've done is install an adblock apk and flashplayer 11.1 apk, that Dolphin browser suggested.
I don't know if the only solution is to do a factory reset, which I hate doing, since it took so very long to set everything up the way I wanted it.
I've read of other people having this problem, and no solution, and some have tried a factory reset but that didn't fix it.
Click to expand...
Click to collapse
If you don't want to try a factory reset (can't blame you) you're probably going to need to use adb. If you don't have it setup this is a good video showing how to setup adb.
wantabe said:
If you don't want to try a factory reset (can't blame you) you're probably going to need to use adb. If you don't have it setup this is a good video showing how to setup adb.
Click to expand...
Click to collapse
Thanks a lot.
I followed his steps and got it to show me the phones serial number when I wrote "adb devices" in cmd, in SDK -> platform-tools but... now what?
The guide just stops, and I don't know what to do.
I've done everything in this other guide ( http://www.androidbeat.com/2013/12/...-4-4-2-kitkat-update-nexus-4-nexus-5-nexus-7/ ), but when I get to "adb sideload kk.zip" it just says "adb is not recognized as an internal or external command, operable command or batch file" and I'm stuck again.
What to do?
danielvago said:
Thanks a lot.
I followed his steps and got it to show me the phones serial number when I wrote "adb devices" in cmd, in SDK -> platform-tools but... now what?
The guide just stops, and I don't know what to do.
I've done everything in this other guide ( http://www.androidbeat.com/2013/12/...-4-4-2-kitkat-update-nexus-4-nexus-5-nexus-7/ ), but when I get to "adb sideload kk.zip" it just says "adb is not recognized as an internal or external command, operable command or batch file" and I'm stuck again.
What to do?
Click to expand...
Click to collapse
Your path to adb isn't correct. Put the zip file in the same folder as adb
jd1639 said:
Your path to adb isn't correct. Put the zip file in the same folder as adb
Click to expand...
Click to collapse
Thanks, that was it, got it to begin.
Unfortunately it didn't work, it gave me an error about 30-35% through (like the normal OTA).
It says:
"/system/framework/framework-res.apk" has unexpected contents.
E:Error in /tmp/update.zip
(Status 7)
Installation aborted.
From this link ( http://www.androidbeat.com/2013/12/...-4-4-2-kitkat-update-nexus-4-nexus-5-nexus-7/ ) I chose:
"Nexus 5
Android 4.4 to 4.4.2 OTA update"
as I am on 4.4.
danielvago said:
Thanks, that was it, got it to begin.
Unfortunately it didn't work, it gave me an error about 30-35% through (like the normal OTA).
It says:
"/system/framework/framework-res.apk" has unexpected contents.
E:Error in /tmp/update.zip
(Status 7)
Installation aborted.
From this link ( http://www.androidbeat.com/2013/12/...-4-4-2-kitkat-update-nexus-4-nexus-5-nexus-7/ ) I chose:
"Nexus 5
Android 4.4 to 4.4.2 OTA update"
as I am on 4.4.
Click to expand...
Click to collapse
You're going to have to flash the system and boot image in fastboot in order for the update to work. You modified something
jd1639 said:
You're going to have to flash the system and boot image in fastboot in order for the update to work. You modified something
Click to expand...
Click to collapse
I am unrooted and locked, I have no idea how I modified something, or what, or how, I have kept it really stock.
What does it mean to flash the system and boot image? Can I do it without rooting, unlocking and/or factory resetting?
danielvago said:
I am unrooted and locked, I have no idea how I modified something, or what, or how, I have kept it really stock.
What does it mean to flash the system and boot image? Can I do it without rooting, unlocking and/or factory resetting?
Click to expand...
Click to collapse
Ok, so you're doing an adb sideload while in recovery?
jd1639 said:
Ok, so you're doing an adb sideload while in recovery?
Click to expand...
Click to collapse
Yes.

[Q] Unable to update to 5.0.1 via OTA or Sideload

Every time there is an OTA update I have this problem.
My Nexus 5 is unlocked and rooted. Every time there is an OTA I get the Android laying down red error message.
Ok fine, I'll manually update with Sideload.
Then I get this error:
"/system/bin/install-recovery.sh" has unexpected contents.
E: Error in /sideload/package.zip
(Status 7)
The last time this happened I had to fully unroot and wipe my phone.
My question is this: Do I have to fully unroot and wipe my phone every single time there is an update? If so, what's the point? Is there a workaround for this that doesn't include wiping my phone every few months when there is an incremental update?
you cannot apply an OTA to a phone that is rooted, you *must* unroot and also undo *every* modification.
save yourself the trouble and just download the factory image and manually flash the new bootloader, radio, system images then you will be up to date. After that just re-root
Lots of tutorials all over the internet for this
Is that flashing via computer?
orthonovum said:
you cannot apply an OTA to a phone that is rooted, you *must* unroot and also undo *every* modification.
save yourself the trouble and just download the factory image and manually flash the new bootloader, radio, system images then you will be up to date. After that just re-root
Lots of tutorials all over the internet for this
Click to expand...
Click to collapse
Ok, then if I don't want to wipe my phone every couple of months I should just not root it, is that safe to assume?
orthonovum said:
you cannot apply an OTA to a phone that is rooted, you *must* unroot and also undo *every* modification.
save yourself the trouble and just download the factory image and manually flash the new bootloader, radio, system images then you will be up to date. After that just re-root
Lots of tutorials all over the internet for this
Click to expand...
Click to collapse
I apologize as I think I misunderstood you.
You're saying that I can download the official OTA, extract the bootloader, radio, and system images using the Nexus Toolbox?
At that point I'll be good to go with the OTA?
Skullpuck said:
You're saying that I can download the official OTA, extract the bootloader, radio, and system images using the Nexus Toolbox?
At that point I'll be good to go with the OTA?
Click to expand...
Click to collapse
No. You download the official 5.0 factory image. Then you extract those files to a computer. And you flash them to your phone using fastboot.
Then after booting up you will be good to go with the OTA.
I just wanted everyone to know that I have fixed the problem with orthonovum's advice.
In case anyone needs step by step advice, check the comment section of this site for Tom's comment on December 19, 2014 at 22:08: http://aaronhastings.me/updating-to-android-5-0-1-on-rooted-nexus-5/
Basically, download the full stock image for 5.0.1, extract it, then just flash the radio, boot, and system images using the NRT.
radio-hammerhead-m8974a-2.0.50.2.22.img
boot.img
system.img
Or just follow the many guides here and use fastboot.
Sent from my Nexus 5 using XDA Premium App
iirc.. This happened because supersu uses/modifies that install-recovery script to exploit stuff.
a maguro wrote this.

process of taking OTA while keeping root?

how exactly do i go about doing this. back in the day root was easy to keep while taking OTA updates but now i'm not so sure about that. Is there a safe way to take the 7.1.1 OTA update and keep root? I'm currently on 7.1 build NDE63V. No i'm not using the Verizon variant as i have Sprint and thus don't need to worry about dealing with Verizon's BS.
If someone can please point me in the direction of some kind of guide in taking OTA while keeping root or unrooting, taking OTA and then re-rooting or something along those lines that would be a great help. I have a few videos showing me how to unroot but that requires me to completely wipe my phone it seems, at least with the guides i've found. And i'd rather avoid that if possible.
silvernirvash said:
how exactly do i go about doing this. back in the day root was easy to keep while taking OTA updates but now i'm not so sure about that. Is there a safe way to take the 7.1.1 OTA update and keep root? I'm currently on 7.1 build NDE63V. No i'm not using the Verizon variant as i have Sprint and thus don't need to worry about dealing with Verizon's BS.
If someone can please point me in the direction of some kind of guide in taking OTA while keeping root or unrooting, taking OTA and then re-rooting or something along those lines that would be a great help. I have a few videos showing me how to unroot but that requires me to completely wipe my phone it seems, at least with the guides i've found. And i'd rather avoid that if possible.
Click to expand...
Click to collapse
Download the newest factory image, extract it all. Right click the flash-all.bat and select edit. Scroll to the -w and delete it. Then boot into bootloader and run the flash-all.bat. Then, fastboot boot TWRP RC2 and then flash the RC2 zip (in TWRP) to keep twrpas your recovery. Then flash the latest supersu in TWRP and reboot.
Deleting the -w stops the flash-all.bat from wiping your device. So when you boot again everything is as it was.
k.s.deviate said:
Download the newest factory image, extract it all. Right click the flash-all.bat and select edit. Scroll to the -w and delete it. Then boot into bootloader and run the flash-all.bat. Then, fastboot boot TWRP RC2 and then flash the RC2 zip (in TWRP) to keep twrpas your recovery. Then flash the latest supersu in TWRP and reboot.
Deleting the -w stops the flash-all.bat from wiping your device. So when you boot again everything is as it was.
Click to expand...
Click to collapse
wouldn't this be the same as taking the ota update? or does the ota lock the bootloader?
Echo2Lincoln said:
wouldn't this be the same as taking the ota update? or does the ota lock the bootloader?
Click to expand...
Click to collapse
Ota does not lock the bootloader, but it will not flash if you have a modified system partition or TWRP recovery. It will simply fail. You could do the above steps with the ota file from Google as well.

Feb 2019 update now available

Hope by performance fixes they mean memory leak fix.
I have not seen os ram usage this low after boot in many months.
Did you have round corner?
yaral said:
Did you have round corner?
Click to expand...
Click to collapse
It squared it when I screenshot.
Anybody figure out how to turn off the rounded corners?
Anyone know what the modem sucurity patch is about? Kinda don't want to take it cuz of the sim lock issues awhile back.
enigma2446 said:
Anyone know what the modem sucurity patch is about? Kinda don't want to take it cuz of the sim lock issues awhile back.
Click to expand...
Click to collapse
no clue but i fastboot flashed the images because the OTA refused to work, but flashing the images worked. i'm still able to connect to ATT towers from my sprint sim unlocked PH-1.
TomTheGeek3 said:
no clue but i fastboot flashed the images because the OTA refused to work, but flashing the images worked. i'm still able to connect to ATT towers from my sprint sim unlocked PH-1.
Click to expand...
Click to collapse
Noob question here: When using fastboot to flash the update image, do you have to worry about the "slot A" vs "slot B" thing?? Can you provide a little more insight? I've been reading around the forum, and I'm a little worried about bricking my phone! (The bootloader on my phone is unlocked and I've rooted the phone, but I haven't flashed a third-party ROM. The OTA update feature gives me a "couldn't update" message.)
adiejg said:
Noob question here: When using fastboot to flash the update image, do you have to worry about the "slot A" vs "slot B" thing?? Can you provide a little more insight? I've been reading around the forum, and I'm a little worried about bricking my phone! (The bootloader on my phone is unlocked and I've rooted the phone, but I haven't flashed a third-party ROM. The OTA update feature gives me a "couldn't update" message.)
Click to expand...
Click to collapse
No you don't have to worry about it. The flash all file in the zip will do all the work for you. It wont take update via ota because you have to be on the stock boot.img. the stock boot img has the recovery built into the ramdisk there for if your rooted then there is no stock recovery to use for ota. Be cautious because flashing via fastboot will wipe the phone.
enigma2446 said:
No you don't have to worry about it. The flash all file in the zip will do all the work for you. It wont take update via ota because you have to be on the stock boot.img. the stock boot img has the recovery built into the ramdisk there for if your rooted then there is no stock recovery to use for ota. Be cautious because flashing via fastboot will wipe the phone.
Click to expand...
Click to collapse
If I edit the .bat file and remove "format userdata", that will prevent the wipe?
njsges said:
If I edit the .bat file and remove "format userdata", that will prevent the wipe?
Click to expand...
Click to collapse
It should without issues but always prepare for hickups.
Anyone else having issues when trying to update to the February release? I tried to sideload the OTA update and that kept giving me the error "adb sideload failed to read command: no error" and then I decided to follow Morphius's suggestion here to just unroot my device by flashing to stock bootloader in order to try to take the OTA update and that OTA keeps failing as well. Anyone else having this issue?
hssxda said:
Anyone else having issues when trying to update to the February release? I tried to sideload the OTA update and that kept giving me the error "adb sideload failed to read command: no error" and then I decided to follow Morphius's suggestion here to just unroot my device by flashing to stock bootloader in order to try to take the OTA update and that OTA keeps failing as well. Anyone else having this issue?
Click to expand...
Click to collapse
Are you rooted?
After three days running, memory Leak not fixed.. Bummer
enigma2446 said:
No you don't have to worry about it. The flash all file in the zip will do all the work for you. It wont take update via ota because you have to be on the stock boot.img. the stock boot img has the recovery built into the ramdisk there for if your rooted then there is no stock recovery to use for ota. Be cautious because flashing via fastboot will wipe the phone.
Click to expand...
Click to collapse
Again, a very noob question, (and I do apologize) but can I use something like Titanium Backup to make sure I can restore all my apps the way they were after I flash the update via fastboot? Reinstalling everything seems like a gigantic pain in the backside.
adiejg said:
Again, a very noob question, (and I do apologize) but can I use something like Titanium Backup to make sure I can restore all my apps the way they were after I flash the update via fastboot? Reinstalling everything seems like a gigantic pain in the backside.
Click to expand...
Click to collapse
Titanium Backup used to require root access. You probably need to be rooted before you update via fastboot and run the backup through Titanium Backup. Then you will need to copy your backup files to a computer because fastboot flashing will erase your phone data. Next apply the fastboot update, root again, copy your backup back to the phone and restore your backup.
enigma2446 said:
Are you rooted?
Click to expand...
Click to collapse
I was but I followed all the proper steps but for some reason this morning my computer wouldn't real the OTA zip file. I tried it tonight using a different USB port on my laptop and it is worked first time... so weird...
d14r1 said:
After three days running, memory Leak not fixed.. Bummer
Click to expand...
Click to collapse
I don't have memory leak anymore..
1.5gb ram not in usage.
The last time I restarted my phone was after the update.
I'm using my Essential 'phone in the UK having recently purchased it used. On the 7th I had a notice to say that an update was available. When I tried to install it it downloaded, but refused to install saying: Couldn't update... installation problem. As far as I know the 'phone is running the stock software but I noticed that no updates had been installed since October 2018. I unchecked 'allow bootloader unlocking' in case that was the issue, but still couldn't perform the update.
I went onto the Essential website and downloaded the OTA image to my iMac, then, following the guide, sideloaded the update on to the 'phone. This worked well and I now have an updated PH-1. I'll have to see if March's update now installs correctly or not.
so.... am i reading this right... and here is my thinking...
to keep root and still take the OTAs
- go to Essentials site and download the image zip
- (to keep root) copy boot.img to your device, patch it through magisk, then copy it back to your ota folder.
- open flashall.bat, comment the format userdata (to keep your data), change the boot.img line to patched_boot.img
- run flashall.bat
- profit

Categories

Resources