If you download an OTA update but choose not to immediately install it, can someone please tell me where on the tab (which directory) and under what name the update files are stored? I want to start saving them as a sort of archive before I install them, in case I ever want to go back to a specific version. Are they normally automatically deleted after install?
Thanks.
If you have root they are in /cache/fota_dn and will be a long string of numbers/letters.
How about without root? Or not accessible without root?
Thanks!
Don't know I always root. I guess grab a file manager and look for that folder.
eman01 said:
How about without root? Or not accessible without root?
Thanks!
Click to expand...
Click to collapse
you must be rooted to see files in that folder. there's no simple way around that.
View updates
eman01 said:
If you download an OTA update but choose not to immediately install it, can someone please tell me where on the tab (which directory) and under what name the update files are stored? I want to start saving them as a sort of archive before I install them, in case I ever want to go back to a specific version. Are they normally automatically deleted after install?
Thanks.
Click to expand...
Click to collapse
get a file manager and keep pressing up until its not working then go to cache
tanfeb said:
get a file manager and keep pressing up until its not working then go to cache
Click to expand...
Click to collapse
That will not work.
/cache folder has permissions 770 with user system, group cache
I'm uploading it now. Once its done I'll post a link.
Posted by error
Enviado desde mi GT-I9505 mediante Tapatalk
Ota
CM ota updates are stored in /sdcard/cmupdater
this is a 100% guarantee for all CM phones. Dosent Mater is you are using nexus 4 or any other phone.
Source: wiki.cyanogenmod.org/w/Updating
Related
Hello,
My brother and I both have d2gs. I changed/removed apps in the system/apps folder as a result I was unable to upgrade to 2.4.3. My brother hasn't changed anything or rooted. If I copy his folder and overwrite my directory will I be able to update? (His phone is already updated)
Thx
Not going to work. Update updates bootloader, recovery and kernel beside system.
My advice if you can't get system stock manually is flash SBF, then update OTA
Sent from my DROID2 GLOBAL
leobg said:
Not going to work. Update updates bootloader, recovery and kernel beside system.
My advice if you can't get system stock manually is flash SBF, then update OTA
Sent from my DROID2 GLOBAL
Click to expand...
Click to collapse
Yea I didn't think it would be that easy haha
leobg said:
Not going to work. Update updates bootloader, recovery and kernel beside system.
My advice if you can't get system stock manually is flash SBF, then update OTA
Sent from my DROID2 GLOBAL
Click to expand...
Click to collapse
Yea I didn't think it would be that easy haha
leobg said:
Not going to work. Update updates bootloader, recovery and kernel beside system.
My advice if you can't get system stock manually is flash SBF, then update OTA
Sent from my DROID2 GLOBAL
Click to expand...
Click to collapse
I think Vexorg might mean the system/apps folder, which he or she modified to disable bloatware. It seems that removing apps from that folder makes the update fail. One should rename the apps instead to disable (e.g. CityID.apk -> CityID.apk.bak) so the original state can be recovered when updating.
Correct me if I'm wrong, but in that case copying the brother's system/apps should work fine. I've read that you can download the same APKs online to recover them, so I would imagine using the brother's directory contents should be fine as well.
adridge said:
I think Vexorg might mean the system/apps folder, which he or she modified to disable bloatware. It seems that removing apps from that folder makes the update fail. One should rename the apps instead to disable (e.g. CityID.apk -> CityID.apk.bak) so the original state can be recovered when updating.
Correct me if I'm wrong, but in that case copying the brother's system/apps should work fine. I've read that you can download the same APKs online to recover them, so I would imagine using the brother's directory contents should be fine as well.
Click to expand...
Click to collapse
Yup that's exactly what I meant, can anyone confirrm?
I posted this in the "General" forum and didn't get any response, so I thought I would post it here. I apologize if this is the wrong forum for this.I figured may Moscow Desire, Vorbeth, or someone else may have a suggestion. Thanks in advance for your assistance!
"I have my tab rooted and bootloader unlocked. I used OTA Rootkeeper to temporarily unroot. The OTA update downloaded and attempted to install but failed. I downloaded the update again and saved it to my extra SD card. I then used CWM recovery to attempt installation again. Failed again. I am thinking that maybe the unlocked bootloader or CWM is causing the failure. Anybody have any ideas or input? Thanks!"
delete the first line in updater-script and it should work
if not than it´s possible that your not on the right version or you have to remove all check line´s and install then
please upload and post the update here for other users which are not able to download it. thx
How do you save the update to the external SD? I only get the option to download, and the file seems quite hidden from me.
Where is the OTA update stored at- read this to find out
ExtremeRyno said:
How do you save the update to the external SD? I only get the option to download, and the file seems quite hidden from me.
Click to expand...
Click to collapse
You can save the download by choosing the "Later" option when prompted to install. Then you can go to the root directory of the device to the \cache\fota_dn directory and the update will be there. From there you can copy it and save it elsewhere on your eternal-SD card of wherever. if you choose to "Install now" option, and the update fails, the OTA update is not left in the \cache directory.
I always choose to "Install later" so I can keep a copy of the OTA update. Hope that helps!
meier2009 said:
delete the first line in updater-script and it should work
if not than it´s possible that your not on the right version or you have to remove all check line´s and install then
please upload and post the update here for other users which are not able to download it. thx
Click to expand...
Click to collapse
Thanks for the reply, but I think this is a little beyond my skillset level and I don't want to mess something up! I'm not sure how I cna upload the OTA update to this forum, but if you tell me, I will be glad to do it!
http://www14.zippyshare.com/v/40506917/file.html
That's the original OTA file. I'm not comfortable editing anything.
Thanks, bidniss for letting me know how to catch those OTA files.
EDIT:
Okay, I edited my updater-script (not the file above) and tried to install from CWM. Failed at "apply_patch_check("/system/app/LinkToFacebook.odex".)" with a big string of numerals and letters. I assume mine failed because I have deleted the Facebook link. Will try to restore it on my system and attempt update again.
Recovered my app backups and tried to install update again. This time it failed at "apply_patch_check("/system/lib/modules/bcmdhd.ko" ...). No clue what that is, but after a quick search I found it has to do with wifi? and is in the kernel..Which I'm running the modified version of....So...Dang.
Screw it..Figured while I was already tinkering I might as well just install CM10. It's pretty sweet, by the way.
i will download it and remove all the checks, than you can try again, so i did it some time ago
Gesendet von meinem A700 mit Tapatalk 2
edit: hier is the updater-script
change to the one in your zip an it should run through!!! but MAKE A NANDROID BEFORE.
if your on the wrong version it MAY be you screw up your sys because it looks like the file checks didn´t match.
did you do any patch before the OTA Update?
meier2009 said:
i will download it and remove all the checks, than you can try again, so i did it some time ago
Gesendet von meinem A700 mit Tapatalk 2
edit: hier is the updater-script
change to the one in your zip an it should run through!!! but MAKE A NANDROID BEFORE.
if your on the wrong version it MAY be you screw up your sys because it looks like the file checks didn´t match.
did you do any patch before the OTA Update?
Click to expand...
Click to collapse
No patches. I am on the OTA JB version Acer_AV051_A700_RV09RC08_PA_CUS1 Build number: Acer_AV051_A700_1.034.00_PA_CUS1
My tablet has an unlocked bootloader and is rooted. The update fails. I am turning off the root with OTA Rootkeeper. I get a message that says, "failed to verify whole-file signature"
"signature verification failed"
"assert failed: getprop("ro.product.name")=="a700_pa_cus1"
"Error in /cache/acer_ug/update.zip"
I am using CWM v6.0.1.5 to install the update.
Does this shed any light that may help?- Thanks!
"assert failed: getprop("ro.product.name")=="a700_pa_cus1"
this is first line in updater, if you remove, this error shoul not aplly again
if other check errors apear then you have to remove all of the checks, like i did in the updater-script, which i added in my post.
else try to disable verification check in CWM
and also look here and try this http://forum.xda-developers.com/showthread.php?t=1810687
meier2009 said:
"assert failed: getprop("ro.product.name")=="a700_pa_cus1"
this is first line in updater, if you remove, this error shoul not aplly again
if other check errors apear then you have to remove all of the checks, like i did in the updater-script, which i added in my post.
else try to disable verification check in CWM
and also look here and try this http://forum.xda-developers.com/showthread.php?t=1810687
Click to expand...
Click to collapse
Thanks for the info! My update.zip is on my Windows 8 PC and I may have to move it to my Win 7 PC because winzip is not allowing me to extract the files so I can "copy & paste" the updater-script file you posted. If there is a simpler way to do it, please let me know and thanks again!
use 7zip or winrar, open the zip und C&P the file into it
or long way, extract all , do modify and then repack all files an folders INSIDE the extractet/modified folder, NOT the folder AND it´s content
your also able the open inside the winrar window the script and change it with Notepad++
EDIT::
aaaaah wait:
if your not able to open it, you have to decrypt it with acer decrypter first, then it´s an "real" zip
search hier im Forum danach
meier2009 said:
use 7zip or winrar, open the zip und C&P the file into it
or long way, extract all , do modify and then repack all files an folders INSIDE the extractet/modified folder, NOT the folder AND it´s content
your also able the open inside the winrar window the script and change it with Notepad++
EDIT::
aaaaah wait:
if your not able to open it, you have to decrypt it with acer decrypter first, then it´s an "real" zip
search hier im Forum danach
Click to expand...
Click to collapse
Thanks! I updated my Winzip and proceeded as directed. Update successful! I really don't see much difference in performance but if I do I will post what I fins. Thanks again!
Sent from my A700 using Tapatalk 2
I've moved this back to general, that's where it belongs. Development is strictly for ROM's, mods and kernels only.
Hey guys,
I think I accidentally deleted the people system APK?! I can no longer save contacts. Wondering what the best way to fix this issue would be without flashing back to stock rom. I am currently rooted and running stock 4.4.2 KK, but I have made a lot of MODS and am running the Galaxy Gear Manager for my watch which is a huge process to get running that I don't want to have to repeat.
Any help is mucho appreciated!!!
If you can find the apk somewhere install that. Otherwise flash the system.img from the factory image.
jd1639 said:
If you can find the apk somewhere install that. Otherwise flash the system.img from the factory image.
Click to expand...
Click to collapse
Will flashing the system.img reset everything?
jason.T said:
Will flashing the system.img reset everything?
Click to expand...
Click to collapse
No, it'll reinstall all the system files. If you modified any of them you'll lose that but I doubt you modified any. This will only work if your bootloader is unlocked. If it isn't then you'll lose everything unlocking it.
jd1639 said:
No, it'll reinstall all the system files. If you modified any of them you'll lose that but I doubt you modified any. This will only work if your bootloader is unlocked. If it isn't then you'll lose everything unlocking it.
Click to expand...
Click to collapse
Awesome, my bootloader is unlocked, thanks!
jason.T said:
Awesome, my bootloader is unlocked, thanks!
Click to expand...
Click to collapse
Have super su on your internal sd card so you can flash it in your recovery. You'll lose root.
jason.T said:
Hey guys,
I think I accidentally deleted the people system APK?! I can no longer save contacts. Wondering what the best way to fix this issue would be without flashing back to stock rom. I am currently rooted and running stock 4.4.2 KK, but I have made a lot of MODS and am running the Galaxy Gear Manager for my watch which is a huge process to get running that I don't want to have to repeat.
Any help is mucho appreciated!!!
Click to expand...
Click to collapse
Do you still need help with this? It's not that difficult to just pull the app and move it into the right system folder. Once you do that, change permissions to match the other apps, and reboot, you should be back to normal. I'll post the apk if you need it.
es0tericcha0s said:
Do you still need help with this? It's not that difficult to just pull the app and move it into the right system folder. Once you do that, change permissions to match the other apps, and reboot, you should be back to normal. I'll post the apk if you need it.
Click to expand...
Click to collapse
The APK would be amazing! I haven't been able to find it, I got the System.img that I was going to flash after work, but the APK would be a lot easier! Thanks!!
Hi,
It's Contact.apk you would need?
jason.T said:
The APK would be amazing! I haven't been able to find it, I got the System.img that I was going to flash after work, but the APK would be a lot easier! Thanks!!
Click to expand...
Click to collapse
No problem. I'll have it uploaded in a bit. It's just the People / Contacts apk, right? And you're odexed or deodexed?
jason.T said:
The APK would be amazing! I haven't been able to find it, I got the System.img that I was going to flash after work, but the APK would be a lot easier! Thanks!!
Click to expand...
Click to collapse
You can pretty much just download any ROM available, extract the Contacts.apk file (I think its in system/priv-app/) and put it on your device.
es0tericcha0s said:
No problem. I'll have it uploaded in a bit. It's just the People / Contacts apk, right? And you're odexed or deodexed?
Click to expand...
Click to collapse
Yes, the People/contacts apk, and I am still stock, just rooted and have an unlocked bootloader, so odexed, I believe.
jsgraphicart said:
You can pretty much just download any ROM available, extract the Contacts.apk file (I think its in system/priv-app/) and put it on your device.
Click to expand...
Click to collapse
I tried that with one of the apk's I found, but I couldn't get it to work. I may have gotten a corrupt file though.
Here's a flashable zip in attachment (wipe Dalvik cache just in case) for Contacts.apk (with the .odex file)...
You still have ContactsProvider.apk?
jsgraphicart said:
You can pretty much just download any ROM available, extract the Contacts.apk file (I think its in system/priv-app/) and put it on your device.
Click to expand...
Click to collapse
He might not be in a situation where he can download a large file like a complete rom. He did mention being at work. Anyway, these should work:
https://dl.dropboxusercontent.com/u/9903887/Apps/Contacts.apk
https://dl.dropboxusercontent.com/u/9903887/Apps/Contacts.odex
If you are deodexed, let me know, and don't use just the apk ^ there or it will force close constantly.
Just use a file manager that has root access (ES File Manager is a good, free choice, if you don't have another) and move the app and odex file to:
/system/priv-app
Make sure to change the permissions. The 3 Read options should be checked and the first Write option. If you aren't sure, just read the permissions of another app in that folder and match it. Then just reboot and should be back to normal.
viking37 said:
Here's a flashable zip in attachment (wipe Dalvik cache just in case) for Contacts.apk...
You still have ContactsProvider.apk?
Click to expand...
Click to collapse
Awesome!, thanks. The only thing I see in my app/system directory that pertains to contacts is the "GoogleContactsSyncAdapter.apk" I will be attempting to get this fixed when I get home in a couple hours.
jason.T said:
I tried that with one of the apk's I found, but I couldn't get it to work. I may have gotten a corrupt file though.
Click to expand...
Click to collapse
You need to change the permissions. If you didnt do that, then it wont work. es0tericcha0s explained it in his last post
jason.T said:
Awesome!, thanks. The only thing I see in my app/system directory that pertains to contacts is the "GoogleContactsSyncAdapter.apk" I will be attempting to get this fixed when I get home in a couple hours.
Click to expand...
Click to collapse
Re,
Contacts.apk and ContactsProvider.apk are in /system/priv-app...
You are odexed, right?
es0tericcha0s said:
He might not be in a situation where he can download a large file like a complete rom. He did mention being at work. Anyway, these should work:
https://dl.dropboxusercontent.com/u/9903887/Apps/Contacts.apk
https://dl.dropboxusercontent.com/u/9903887/Apps/Contacts.odex
If you are deodexed, let me know, and don't use just the apk ^ there or it will force close constantly.
Just use a file manager that has root access (ES File Manager is a good, free choice, if you don't have another) and move the app and odex file to:
/system/priv-app
Make sure to change the permissions. The 3 Read options should be checked and the first Write option. If you aren't sure, just read the permissions of another app in that folder and match it. Then just reboot and should be back to normal.
Click to expand...
Click to collapse
Dropped those 2 files into the correct /system/priv-app, changed permissions, still nothing? What am I missing?
jason.T said:
Dropped those 2 files into the correct /system/priv-app, changed permissions, still nothing? What am I missing?
Click to expand...
Click to collapse
Dumb question, but did you reboot?
Does anyone know what dir the ota files are downloaded too? I would like to capture the ota and see whats in there.
TheJokah said:
Does anyone know what dir the ota files are downloaded too? I would like to capture the ota and see whats in there.
Click to expand...
Click to collapse
I did it earlier, have to be rooted to see the file that's downloaded. If you're using a root explorer search for "dlpkgfile" that's the name of the newest OTA at least, I made a copy on my SD card so I could keep putting it in the right dir and avoid downloading it all over again. Since I tried all my options i'm back to unrooted, still can't upgrade from g to o.
I don't remember the exact directory, somewhere in /etc/ if I recall.
ajent said:
I did it earlier, have to be rooted to see the file that's downloaded. If you're using a root explorer search for "dlpkgfile" that's the name of the newest OTA at least, I made a copy on my SD card so I could keep putting it in the right dir and avoid downloading it all over again. Since I tried all my options i'm back to unrooted, still can't upgrade from g to o.
I don't remember the exact directory, somewhere in /etc/ if I recall.
Click to expand...
Click to collapse
I'm having the same issue with upgrading 10G. maybe there is a way in the ota Package
EDIT:
I found this link http://forum.xda-developers.com/showthread.php?t=2699123 to force an update using the dlpkgfile from ota. I wonder if it could work for G4 also??
@TheJokah @ajent. Don't need to be rooted. Root Browser will be able to view the directory without root permissions. (I use it all the time to browse system partitions and files on unrooted devices). You can do a lot with Root Browser without root. You just can't make changes.
When the fota is available you will find it in /cache/fota
I have captured several OTAs for various devices this way...
EDIT: Make sure to copy the file after it downloads and before restart, otherwise the file will be deleted before you get it.
That is good info, thanks.
I'm pretty convinced flashfire installing the xposed zip does something that isn't reverted when flashing the unrooted system image. I used my limited knowledge to look at that xposed zip and it seems like only modifications are made to /system so it should be removed when flashing back unrooted image. I really don't know, but hope somebody can figure it out lol.
It ends up in recovery mode so I just turn it off and boot up again and it says update failed. I realize it will lose root so I'll have to reroot but will it lock the bootloader again also? I'm just tired of seeing it everyday want to update so figured I'd let it do it but it does't seem to work. Is there a manual update file somewhere? I googled but I can't find it. Should I find the complete rom and re-install the newest version?
jeffrimerman said:
It ends up in recovery mode so I just turn it off and boot up again and it says update failed. I realize it will lose root so I'll have to reroot but will it lock the bootloader again also? I'm just tired of seeing it everyday want to update so figured I'd let it do it but it does't seem to work. Is there a manual update file somewhere? I googled but I can't find it. Should I find the complete rom and re-install the newest version?
Click to expand...
Click to collapse
Bootloader will stay unlocked. If it's an OTA it's trying to install it will fail IF it wants to patch ramdisk as you're rooted.
You can restore stock ramdisk and it should update correctly, but I'd use FullOTA instead for best compatibility.
You can install FullOTA either using HWOTA or installing TWRP (by Pretoriano80 as it has decryption support) and use HuRUpdater script to update.
ante0 said:
Bootloader will stay unlocked. If it's an OTA it's trying to install it will fail IF it wants to patch ramdisk as you're rooted.
You can restore stock ramdisk and it should update correctly, but I'd use FullOTA instead for best compatibility.
You can install FullOTA either using HWOTA or installing TWRP (by Pretoriano80 as it has decryption support) and use HuRUpdater script to update.
Click to expand...
Click to collapse
I have TWRP 3.2.1-0 since I installed Oreo. Is the full ota downloaded into my phone somewhere since it seems to download it fine then I can install it with TWRP? Or do I need to find it online somewhere. Since it ends up in TWRP after trying to install if it was someplace I can find then maybe I can just install whie in TWRP. I'll google for HuRpdater script or is it on here somewhere? I just googled but nothing came up.
jeffrimerman said:
I have TWRP 3.2.1-0 since I installed Oreo. Is the full ota downloaded into my phone somewhere since it seems to download it fine then I can install it with TWRP? Or do I need to find it online somewhere. Since it ends up in TWRP after trying to install if it was someplace I can find then maybe I can just install whie in TWRP. I'll google for HuRpdater script or is it on here somewhere? I just googled but nothing came up.
Click to expand...
Click to collapse
Updates go to /data/update/
But you can download it from http://pro-teammt.ru/firmware-database/ (download update.zip, public zip and data zip for your firmware. You can click the File list link after you have searched to find the public and hw data)
And HuRUpdater is found here: https://forum.xda-developers.com/honor-9/development/tool-flash-official-firmware-recovery-t3769279
TWRP can't install huawei update.zips by default, so you'd have to download firmware then use HuRUpdater to flash it.
ante0 said:
Updates go to /data/update/
But you can download it from http://pro-teammt.ru/firmware-database/ (download update.zip, public zip and data zip for your firmware. You can click the File list link after you have searched to find the public and hw data)
And HuRUpdater is found here: https://forum.xda-developers.com/honor-9/development/tool-flash-official-firmware-recovery-t3769279
TWRP can't install huawei update.zips by default, so you'd have to download firmware then use HuRUpdater to flash it.
Click to expand...
Click to collapse
I found the files where you said, thanks. update_data_public.zip, update_MHA_L29_hw_usa.zip, and update.zip
When I read the instuction it calls for 3 files 2 of which are already spelled out correctly but looks like I need to rename the MHA file to update_all_hw.zip is this correct?
It also says to put the recovery image in the same folder if I want to keep custom recovery so sounds like it will wipe it if I don't. I'll have to download twrp 3.2.1-0 again
Ok this is interesting, I have 2 files in data with 6 digit names 151465 and 161808 and both have the 3 files but they are of different sizes but the exact same names as I mentioned before. Maybe better to go to the website you mentioned or I'll screw something up with them.
Figured out how to open the file list and can see the 3 files now so I'll get all 3. Update.zip is 2gb is that right? It's gonna take like 5 hours it says.
jeffrimerman said:
I found the files where you said, thanks. update_data_public.zip, update_MHA_L29_hw_usa.zip, and update.zip
When I read the instuction it calls for 3 files 2 of which are already spelled out correctly but looks like I need to rename the MHA file to update_all_hw.zip is this correct?
It also says to put the recovery image in the same folder if I want to keep custom recovery so sounds like it will wipe it if I don't.
Ok this is interesting, I have 2 files in data with 6 digit names 151465 and 161808 and both have the 3 files but they are of different sizes but the exact same names as I mentioned before. Maybe better to go to the website you mentioned or I'll screw something up with them.
When I click on the "update" hyperlink it just opens a new page and doesn't seem to start downloading. Maybe I need to do something else?
Click to expand...
Click to collapse
Rename the zip with HW in its name to update_all_hw.zip and Public to update_data_public.zip.
If recovery.img is present in the same dir as guru it will flash it back to recovery_ramdisk after update is flashed. It's to save a step so you don't have to reboot to fastboot to flash it again.
/data/update includes old/partial downloads too. So if you for example have used eRecovery before to download, but cancelled it, the update is still there. Same goes for system update. I would rather use firmware finder/teammt because you know those are completed zips.
On the site you can click on file list to show links to downloads, the update link rarely works anymore. It just parses data from hicloud but for some reason the update link always points to front page (or to search results if you have searched).
So just copy paste the update, public and Hw l29 links into a new tab to download.
jeffrimerman said:
Figured out how to open the file list and can see the 3 files now so I'll get all 3. Update.zip is 2gb is that right? It's gonna take like 5 hours it says.
Click to expand...
Click to collapse
That's correct.
It's going to erase everything isn't it? Rename the TWRP to "recovery" right? Since it's already a .img file I imagine I don't need to add ".img" right?
jeffrimerman said:
It's going to erase everything isn't it? Rename the TWRP to "recovery" right? Since it's already a .img file I imagine I don't need to add ".img" right?
Click to expand...
Click to collapse
Updating doesn't wipe. And HuRUpdater will tell you if it should wipe, it will also tell you if it will lock bootloader.
Yes, if you don't have "show extentions" turned on in Windows just rename it to recovery.
ante0 said:
Updating doesn't wipe. And HuRUpdater will tell you if it should wipe, it will also tell you if it will lock bootloader.
Yes, if you don't have "show extentions" turned on in Windows just rename it to recovery.
Click to expand...
Click to collapse
It didn't erase anything woooo hoooo. Thank you. I did loose root which will be easy to put back on. At the end if installing everything automatically there were 2 buttons on the bottom. One was erase cache/dalvik I think and the other was reboot so I just rebooted to be safe. Figured if it was buggy I could always go back and erase the cache/delvik but looks fine. Just checked and my TWRP is there so all is good