Update file still present after ota update? - Verizon Galaxy Note 4 Q&A, Help & Troubleshooting

Does anyone else notice the phone trying to reinstall an update when you boot into recovery? I'm assuming there is still a file that is being identified as an update, is there a way to remove it?

It's not actually installing an update. It will always say that. As far as removing any update files you need root. Or a factory reset.

graydiggy said:
It's not actually installing an update. It will always say that. As far as removing any update files you need root. Or a factory reset.
Click to expand...
Click to collapse
Roger, thank you for the info.

Related

OTA Update Problems Rooted Nexus

I've now had two OTA update notifications but both have failed.
The update downloads and then when the phone restarts it shows the robot with a red triangle, I have to pull the battery and once the phone restarts the update hasn't been applied.
Is this because I'm rooted or is there something else going wrong?
kekni said:
I've now had two OTA update notifications but both have failed.
The update downloads and then when the phone restarts it shows the robot with a red triangle, I have to pull the battery and once the phone restarts the update hasn't been applied.
Is this because I'm rooted or is there something else going wrong?
Click to expand...
Click to collapse
Do you have the stock recovery installed? If not, that is what is causing the problem. Have a read of this thread for more info.
Yeah that must be it. I've tried using the method in the post but I get an assert error. I think it's because I've updated system apps. Am I right in thinking I need to modify the build.prop in the update?
kekni said:
Yeah that must be it. I've tried using the method in the post but I get an assert error. I think it's because I've updated system apps. Am I right in thinking I need to modify the build.prop in the update?
Click to expand...
Click to collapse
No. You need to replace the files you updated with the stock ones.
Ah. Okay. Can you point me in the direction of the best way to do that? Or is it just a case of finding all the apks and replacing the updated ones
kekni said:
Ah. Okay. Can you point me in the direction of the best way to do that? Or is it just a case of finding all the apks and replacing the updated ones
Click to expand...
Click to collapse
What build version are you currently on, and how many files are you looking for? If it's not too many, I'll extract them for you.
efrant said:
What build version are you currently on, and how many files are you looking for? If it's not too many, I'll extract them for you.
Click to expand...
Click to collapse
Currently I'm on ICL53F. The one that stops the update is Books but then there could be more... Would disabling CWM be an option as I've just got an OTA notification.
kekni said:
Currently I'm on ICL53F. The one that stops the update is Books but then there could be more... Would disabling CWM be an option as I've just got an OTA notification.
Click to expand...
Click to collapse
No, that wouldn't be an option. The update will still fail. For any update to work, all the original files need to be present in /system. You will have to do this in an iterative process. Replace one file, try the update again, replace the next file giving you an error, try the update again, ...
It may be easier to just flash a fresh full image. (You may even be able to keep your data if you do not flash the userdata.img file -- only flash the boot.img and the system.img files from the IMM76I factory image.
I've attached the BooksTablet .apk and .odex files for you.
Lesson to be learned: back up the stock files to your computer if you plan on changing them.

[Q] OTA JSS15R While Rooted

Currently trying to update my Nexus 7 to JSS15R (8MB OTA that may have helped multitouch issue?)
I am running rooted stock ROM, unlocked bootloader etc. Current build number is JSS15Q.
I've heard the newer versions of SuperSU have the OTA fix built in. I haven't been able to update though. I noticed there was an update and I went to update my Nexus 7. It went to update like it should, but I got an error and it never changed.
Flashed the OTA fix thinking it would help. No.
Forced OTA update by stopping Google Framework. No.
Flashed SuperSU 1.65 and tried to update again. No.
Any suggestions on what I should do? Manually flash the update without loosing root or an data?
Did you reflash the ota after you flashed supersu?
What was the error message?
sfhub said:
Did you reflash the ota after you flashed supersu?
What was the error message?
Click to expand...
Click to collapse
I read the new SuperSU versions have the OTA fix built in which allows OTA update.
When I initially went to update before everything, it rebooted then just came up with the "open android guy" with an error. Not sure what it exactly said, but I ran into the problem when I updated to JSS15Q.
I updated to JSS15Q by flashing the SuperSU OTA update fix with temporary TWRP. It then went through no problem. I followed that same method this time, but it didn't work.
When I did the j to q update while rooted the ota had an error as well. I had to install the full q rom from google. (I'm stock with root and I changed the system font) But this time around when I got the r ota I double checked what version supersu was runing and its at 1.65. I applied the r ota with no errors.
church said:
When I did the j to q update while rooted the ota had an error as well. I had to install the full q rom from google. (I'm stock with root and I changed the system font) But this time around when I got the r ota I double checked what version supersu was runing and its at 1.65. I applied the r ota with no errors.
Click to expand...
Click to collapse
Yeah I'm running 1.65 currently, but the update won't show up anymore. Check for updates and there's nothing.
datallboy said:
Yeah I'm running 1.65 currently, but the update won't show up anymore. Check for updates and there's nothing.
Click to expand...
Click to collapse
If its like the last issue with J to Q. You are updated but it doesn't show the name change in system. I could be wrong. It should have already been downloaded to your tablet. Check with a root explorer to find the ota zip or download the R ota found somewhere on this forum and manually flash it. I'm glad I didn't have to mess with anything this time around.
church said:
If its like the last issue with J to Q. You are updated but it doesn't show the name change in system. I could be wrong. It should have already been downloaded to your tablet. Check with a root explorer to find the ota zip or download the R ota found somewhere on this forum and manually flash it. I'm glad I didn't have to mess with anything this time around.
Click to expand...
Click to collapse
I found a zip for the ota update, don't remember where, but should I be able just to flash it with TWRP without loosing anything?
It will lose the option to blend milkshakes
church said:
It will lose the option to blend milkshakes
Click to expand...
Click to collapse
Not asking for sarcasm, just solutions. Will I lose root or any data? Or is it just like OTA update if I do it manually.
Oh you're using twrp? Disregard what I said. I'm coming from stock with stock recovery and rooted.
church said:
Oh you're using twrp? Disregard what I said. I'm coming from stock with stock recovery and rooted.
Click to expand...
Click to collapse
Stock recovery is on my device. I'm temporarily booting TWRP with the Nexus Toolkit so I can flash things.
datallboy said:
I read the new SuperSU versions have the OTA fix built in which allows OTA update.
When I initially went to update before everything, it rebooted then just came up with the "open android guy" with an error. Not sure what it exactly said, but I ran into the problem when I updated to JSS15Q.
I updated to JSS15Q by flashing the SuperSU OTA update fix with temporary TWRP. It then went through no problem. I followed that same method this time, but it didn't work.
Click to expand...
Click to collapse
Next time you have an error with stock recovery (android fallen down) press/hold power, then press/release VolUp, then release Power.
This will show you the error log.
As to your current problem, if your unit won't download and notify you about JSS15R download it by hand and place in your virtual sdcard, then temporary boot into tarp and choose install, selecting the ota zip.
---------- Post added at 08:58 PM ---------- Previous post was at 08:55 PM ----------
datallboy said:
Not asking for sarcasm, just solutions. Will I lose root or any data? Or is it just like OTA update if I do it manually.
Click to expand...
Click to collapse
Install the ota update.zip, then before reboot, immediately install supersu.
Do it that way and you won't lose root.
Forced OTA and it failed. I had already flashed the superSU.zip before
If you can't read this is the log...
Finding update package...
Opening update package...
Verifying update package...
Installing update...
Verifying current system...
assert failed: apply_patch_check ("/system/build.prop" [numbers and letters]
E: Error in /cache/(update file.zip)
(Status 7)
Installation aborted.
Any way to manually flash the update? Because SuperSU OTA isn't working.
So, you modified the build.prop, restore your backup of the original and it will work. Or flash the full factory image.
Guhrasoh said:
So, you modified the build.prop, restore your backup of the original and it will work. Or flash the full factory image.
Click to expand...
Click to collapse
Now that you mention it I tweaked it with PimpMyRom. I'll take that off and try to update.
I am a bit late, but I tried fixed my build.prop to its original state and I still can't OTA update...
I noticed on stock recovery there's an option to update with ADB. Is there an update file I can use to just manually install the update? I know the JSS15R update didn't do much, but I would like to know for future reference and when Android 4.4 is released.
datallboy said:
I am a bit late, but I tried fixed my build.prop to its original state and I still can't OTA update...
I noticed on stock recovery there's an option to update with ADB. Is there an update file I can use to just manually install the update? I know the JSS15R update didn't do much, but I would like to know for future reference and when Android 4.4 is released.
Click to expand...
Click to collapse
The same OTA update.zip you used before is used to do sideload in adb as well.
You'll also get the same errors if you have modified files.
If you post the errors, they can be diagnosed.
If you modified a lot of files, sometimes it is easier using the factory images.
sfhub said:
The same OTA update.zip you used before is used to do sideload in adb as well.
You'll also get the same errors if you have modified files.
If you post the errors, they can be diagnosed.
If you modified a lot of files, sometimes it is easier using the factory images.
Click to expand...
Click to collapse
Status 7 error, the log is posted in one of the above posts. I use "PimpMyROM" for a short while, which modifies the file. I deleted all the tweaks that went into the build.prop.
datallboy said:
Status 7 error, the log is posted in one of the above posts. I use "PimpMyROM" for a short while, which modifies the file. I deleted all the tweaks that went into the build.prop.
Click to expand...
Click to collapse
Unless you are very careful with your edit or made a backup, you need to get the real file. When you edit, even if you have an extra space left over, the sha1 checksum check will fail.
sfhub said:
Unless you are very careful with your edit or made a backup, you need to get the real file. When you edit, even if you have an extra space left over, the sha1 checksum check will fail.
Click to expand...
Click to collapse
I'll probably just backup apps + data and use JSS15R factory image. Made the mistake of not making a backup of my build.prop.
Good thing it's a Nexus Device!

After rooting, will the OTA work?

I am sorry if this question is answered already, but is there any way one can get the OTA again once the device is rooted? I mean by unroofing and factory reset or whatever means....
After rooting, OTA is still working but you'll probably lose root after it, excepted if your Superuser has an " OTA Survival " feature. In this case, you'll have to flash a stock ROM, and root it.
Sent from my Nexus 7
azvlean said:
After rooting, OTA is still working but you'll probably lose root after it, excepted if your Superuser has an " OTA Survival " feature. In this case, you'll have to flash a stock ROM, and root it.
Sent from my Nexus 7
Click to expand...
Click to collapse
be careful if you have a custom recovery, accepting an OTA might screw your device up.
sk8trix said:
be careful if you have a custom recovery, accepting an OTA might screw your device up.
Click to expand...
Click to collapse
Thanks for replying.
Will the custom recovery be overridden by the stock one? Or is there any chance of bricking the device?
sriram18981 said:
Thanks for replying.
Will the custom recovery be overridden by the stock one? Or is there any chance of bricking the device?
Click to expand...
Click to collapse
no sometimes what happens is the files dont install and you either get a reboot screen or some sort of black screen and then you might need to fix things with a toolkit through the pc or some hard kind of fix, t happened to me on a motorola Atrix a while back.
sriram18981 said:
I am sorry if this question is answered already, but is there any way one can get the OTA again once the device is rooted? I mean by unroofing and factory reset or whatever means....
Click to expand...
Click to collapse
If your phone or tablet is rooted but with Stock Recovery the OTA should work just fine as long as you haven't modified any system files that get updated through the OTA. The bigger the update is the more likely it is you will lose root and that the OTA will find modified files. On Nexus devices I've personally never seen more than an error message if the OTA fails. At most I've only ever seen "unexpected contents in" error with whatever (modified) file is the problem. The OTA will always fail if you have a custom recovery but it's not really a big deal, you can always flash the OTA update zip in your custom recovery (TWRP?), more often than not before the OTA even rolls out to your device you can find the OTA zip here or on another website.

[Download]AT&T Kitkat OTA file

Here is the ota file I just pulled from my s3. It's a cfg file though, and the recommended way to install is via adb sideload.
Stock users please test it. People who are rooted, use xposed, TiBu to freeze bloat, tell me how to update without a factory reset. I have already tried unrooting and using stock recovery, I am now unfreezing all bloat and uninstall xposed to see if it works.
https://mega.co.nz/#!W0JHQKAK!pA52fCAkUxTMia9A21KL1TrR8bmJT10jhNlBvn5j-Mk
Devs, is there a way to modify the update script so it doesn't check for modified system status? I'm worried I can't update because of tripped knox and if so I'm screwed
bkong said:
Here is the ota file I just pulled from my s3. It's a cfg file though, and the recommended way to install is via adb sideload.
Stock users please test it. People who are rooted, use xposed, TiBu to freeze bloat, tell me how to update without a factory reset. I have already tried unrooting and using stock recovery, I am now unfreezing all bloat and uninstall xposed to see if it works.
https://mega.co.nz/#!PJ40jDCY!I2A0Di...381MaXx3_0dl8I
Click to expand...
Click to collapse
Can you please PM @DocHoliday77 to help him build the Stock ROM for us? He does not have the AT&T Device, but can surely help us in building the ROM. Greatness of him!!
He may ask for some other files for building AT&T ROM for us. If he can build the ROM for us, then we dont have to take the pains of testing the CFG file!!
Thanks man!!
Thank you for sharing this. We'll be hard at work on this now
Sent from my SGH-I747 using XDA Premium 4 mobile app
bkong said:
Here is the ota file I just pulled from my s3. It's a cfg file though, and the recommended way to install is via adb sideload.
Stock users please test it. People who are rooted, use xposed, TiBu to freeze bloat, tell me how to update without a factory reset. I have already tried unrooting and using stock recovery, I am now unfreezing all bloat and uninstall xposed to see if it works.
https://mega.co.nz/#!PJ40jDCY!I2A0Di...381MaXx3_0dl8I
Devs, is there a way to modify the update script so it doesn't check for modified system status? I'm worried I can't update because of tripped knox and if so I'm screwed
Click to expand...
Click to collapse
Anybody have this hosted on a different mirror? The link asks me for a decryption key.
stoobie-doo said:
Anybody have this hosted on a different mirror? The link asks me for a decryption key.
Click to expand...
Click to collapse
Wait until later tonight or tomorrow when enewman17 or docholiday release a flashable
Sent from my SGH-I747 using XDA Premium 4 mobile app
@bkong
Link is bad, clicking it links to a url with "..." in the middle
CNexus said:
@bkong
Link is bad, clicking it links to a url with "..." in the middle
Click to expand...
Click to collapse
reuploaded it with new link, does it work now?
I'm also waiting for a flashable zip because I can't get adb working and ota fails every damn time.
bkong said:
reuploaded it with new link, does it work now?
I'm also waiting for a flashable zip because I can't get adb working and ota fails every damn time.
Click to expand...
Click to collapse
you can't just flash an update.zip through stock recovery?
Appears to be working! I've got someone who is going to try to get me everything I need to build a rom from the AT&T release, so if all goes well I should have it up this afternoon! :fingers-crossed:
Success!
used the odin flashable 4.3 file from http://forum.xda-developers.com/showthread.php?t=2722660 , went back to stock 4.3 and then used the OTA provided by the OP to get to 4.4.2
edit: please wait for the devs to work their magic to get fully working and easily flashable roms
Jakeuten said:
you can't just flash an update.zip through stock recovery?
Click to expand...
Click to collapse
I believe that wipes all your data so I wanted to avoid that, and it might not work according to some peoples experience,
DocHoliday77 said:
Appears to be working! I've got someone who is going to try to get me everything I need to build a rom from the AT&T release, so if all goes well I should have it up this afternoon! :fingers-crossed:
Click to expand...
Click to collapse
Awesome, will this be an odin flashable tar that will keep your data? I have been struggling for the past few hours trying to update without losing all my data. I flashed this rom [http://forum.xda-developers.com/showthread.php?t=2498233] that is stock and includes knox but Adb doesn't work for me and the at&t software update says its up to date, which its not, so I think the rom might have a problem, and I'm trying to figure out how to reinstall twrp so I can restore my backup but knox is blocking me. Hopefully I can just odin your rom and towelroot and be done with it.
DocHoliday77 said:
Appears to be working! I've got someone who is going to try to get me everything I need to build a rom from the AT&T release, so if all goes well I should have it up this afternoon! :fingers-crossed:
Click to expand...
Click to collapse
could you make an update.zip for users with stock recovery as well?
bkong said:
I believe that wipes all your data so I wanted to avoid that, and it might not work according to some peoples experience,
Click to expand...
Click to collapse
OTA shouldn't wipe any of your data. The way it works is it patches the existing files on your device with any changes to bring it up to date. Shouldn't touch any user data at all.
Awesome, will this be an odin flashable tar that will keep your data? I have been struggling for the past few hours trying to update without losing all my data. I flashed this rom [http://forum.xda-developers.com/showthread.php?t=2498233] that is stock and includes knox but Adb doesn't work for me and the at&t software update says its up to date, which its not, so I think the rom might have a problem, and I'm trying to figure out how to reinstall twrp so I can restore my backup but knox is blocking me. Hopefully I can just odin your rom and towelroot and be done with it.
Click to expand...
Click to collapse
It'll be recovery flashable. Im not sure yet if Ill be trying to create an Odin flashable one. Will need to have someone pull the system.img slightly differently if I do. (Would need to Odin flash 4.3, flash TWRP, boot straight to recovery and flash the OTA, then while still in recovery dump the partition.) Even then, no guarantee it would work quite right. These things can be a little finicky.
How is Knox blocking TWRP though? You should be able to flash that via Odin. Since you updated using the OTA though, every time you reboot, it will rewrite the stock recovery. So when you flash TWRP via Odin, uncheck the Auto Reboot box, then after the flash is successful, pull the battery. Then put it back in and boot straight to recovery and flash your rom.
Jakeuten said:
could you make an update.zip for users with stock recovery as well?
Click to expand...
Click to collapse
I will try. No guarantees though. Its been a long time since I've messed with OTA's, so I'm not completely sure I will remember exactly what to do with it. I should be able to do it though. Just not making promises!
bkong said:
I believe that wipes all your data so I wanted to avoid that, and it might not work according to some peoples experience,
Awesome, will this be an odin flashable tar that will keep your data? I have been struggling for the past few hours trying to update without losing all my data. I flashed this rom [http://forum.xda-developers.com/showthread.php?t=2498233] that is stock and includes knox but Adb doesn't work for me and the at&t software update says its up to date, which its not, so I think the rom might have a problem, and I'm trying to figure out how to reinstall twrp so I can restore my backup but knox is blocking me. Hopefully I can just odin your rom and towelroot and be done with it.
Click to expand...
Click to collapse
Not sure whether you can use Mobile Odin Pro to do that. Extracting the file from the OTA.zip and renaming it from 2400258.cfg to 2400258.zip makes it recognized in MOP, and the options are there to avoid the wipe, but I know earlier OTAs like that did wipe.
Note - I have only gone so far as loading it into MOP; waiting to see if someone more foolhardy than me is willing to actually do it.
stoobie-doo said:
Not sure whether you can use Mobile Odin Pro to do that. Extracting the file from the OTA.zip and renaming it from 2400258.cfg to 2400258.zip makes it recognized in MOP, and the options are there to avoid the wipe, but I know earlier OTAs like that did wipe.
Note - I have only gone so far as loading it into MOP; waiting to see if someone more foolhardy than me is willing to actually do it.
Click to expand...
Click to collapse
Tempted to try it (flash through stock recovery) but not my phone lol
Unless MO is written to specifically handle it, it will probably fail. (Im not sure if it is or isn't)
Sorry if I was misinformed about it wiping data. On TMobile neither OTA's or flashing in Odin ever wipes data. Afaik, Odin will only wipe data if there is a data.img included in the .tar file. Our OTA's have never touched anything but dalvik on the data partition either from what I remember.
DocHoliday77 said:
Unless MO is written to specifically handle it, it will probably fail. (Im not sure if it is or isn't)
Sorry if I was misinformed about it wiping data. On TMobile neither OTA's or flashing in Odin ever wipes data. Afaik, Odin will only wipe data if there is a data.img included in the .tar file. Our OTA's have never touched anything but dalvik on the data partition either from what I remember.
Click to expand...
Click to collapse
Let me be more precise; the technique I was talking about is found at http://forum.xda-developers.com/showthread.php?t=1767827 and applies the OTA in a way that wipes. Not sure whether MO would do the same or not; I haven't played with it since the upgrade to 4.3 last year and my memory is hazy.
Just tried and ADB sideload of this file to my S3. After renaming the .cfg file to .zip.
I get an "assert failed" on "getprop("ro.product.device") == "d2att""
Any suggestions? I'm wondering if the phone is reporting something other than d2att?
So no one tested this via stock recovery? Need to know if the update can be done through stock recovery.
stoobie-doo said:
Let me be more precise; the technique I was talking about is found at http://forum.xda-developers.com/showthread.php?t=1767827 and applies the OTA in a way that wipes. Not sure whether MO would do the same or not; I haven't played with it since the upgrade to 4.3 last year and my memory is hazy.
Click to expand...
Click to collapse
Just tried this method.
I got the assert failure again, and it happily wiped my internal SD but didn't install the OTA.
Good thing I'm not using this device for anything critical, I'd be rather pissed off.

Can stock recovery reflash ota?

When you get and accept the ota update it downloads into your storage, would it be possible to use the stock recovery to find it and reinstall?
Pp.
PanchoPlanet said:
When you get and accept the ota update it downloads into your storage, would it be possible to use the stock recovery to find it and reinstall?
Pp.
Click to expand...
Click to collapse
Can't you pull the recovery.img out?
Sent from my SM-G925T using XDA Free mobile app
Sorry but I don't pull anything.
I just download.
Pp.
I've posted the G925T's OF6 stock recovery over in the OP of this thread. Is that what you're looking for?
Aou said:
I've posted the G925T's OF6 stock recovery over in the OP of this thread. Is that what you're looking for?
Click to expand...
Click to collapse
Was wondering if I find ota download that I accepted when I updated, can I use that downloaded ota file and use stock recovery to reinstall update.
When you accept ota a file is download into your storage (don't know where ) just wanted to find and reflash.
After ota phone went from great to awesome, but decided to play with smartswitch and reinstall / restore after back up, but after restore I lost the ability to disable tmobile my account app.
After ota I had the ability to disable, after smartswitch no option to disable? ???
Pp. Thanks for input.
Still no answer to my question. ???
Pp.
PanchoPlanet said:
Was wondering if I find ota download that I accepted when I updated, can I use that downloaded ota file and use stock recovery to reinstall update.
When you accept ota a file is download into your storage (don't know where ) just wanted to find and reflash.
After ota phone went from great to awesome, but decided to play with smartswitch and reinstall / restore after back up, but after restore I lost the ability to disable tmobile my account app.
After ota I had the ability to disable, after smartswitch no option to disable? ???
Pp. Thanks for input.
Click to expand...
Click to collapse
Sorry, I must have accidentally marked this as "Read" or something.
To answer the first question: no. Even if you found the OTA update.zip, it's useless once you are already updated. The update.zip files only contain patches for files, and patches for whole partitions. The first thing it does is check to see what version you currently have, and if it doesn't match what it's expecting, it will abort. Past that, even if you fool it somehow, it verifies every single file that it is going to patch. If it finds something it is not expecting, it will abort.
As for disabling the T-Mobile app, I don't really know. I think on 5.0.2 I disabled it, but then I rooted right away and started freezing all the bloat soon after. On 5.1.1 leak, I think I still had that disabled. By the time OF6 came around, I believe it was still disabled. Don't know for sure now, because I'm rooted again and have all this stuff frozen with TiBu.

Categories

Resources