big update file - Desire General

Hello, i have checked the forum but i found nothing about this problem.
After the update i have a file "com.htc 2.1-update1" on my phone, it is 18.774Kb size, and now i run out of memory.
Can i delete it without remove the last update ? I think the update is in rom now, this is only a cache file ?

deleting a 18kb file will barely do anything to your memory why is it so vital to delete this?
if you've run out of memory then uninstall some apps or use aps2sd

i think that's 18mb not 18kb..

sorry it is 18774Kb = 18Mb
i have 2 file, this one and "system Android 2.1-update1" 5182Kb
I can see they only with "Uninstaller" program.
I don't want root it now, i am waiting froyo.

Does anyone know if there's any answer re. this query? I've also got both "com.htc 2.1-update1" (18MB) and "Android System 2.1-update1" (5MB) listed in Uninstaller - the latter sounds like the actual installed update, is there any chance of being able to uninstall the former? (am hoping someone has given in a shot already!)
A.

Related

[HOWTO] Install Latest WaveSecure in ROM

I found that [email protected]'s ROM had a good idea of adding WaveSecure to the system partition (preventing listing in the My Downloads part of market, and preventing uninstallation through normal means), but his version is slightly out of date now (latest version is 3.0.0.43)
As a result, I set about finding a means to install WaveSecure to ROM myself. Here are my findings for anyone interested in doing the same.
Install the latest version from the market (3.0.0.43 at this time). Now use adb pull to get it off the device onto your pc
Code:
adb pull /data/app/com.wsandroid.apk D:\com.wsandroid.apk
Now open Market back up from the menu, go to My Downloads, and choose Wavesecure Mobile Security Beta and uninstall it for just now (to get it off the data/A2SD location that normal apps are stored in) - thanks, my-space!
Then push the saved apk to the system partition after a remount (to make it read/write)
Code:
adb remount
Code:
adb push D:\com.wsandroid.apk /system/app/com.wsandroid.apk
Then set it all up as usual (will appear in apps list immediately)
and remount system as read only again
Code:
adb remount
And that seems to be it so far. Remember to change the D:\com.wsandroid.apk path to whatever you actually used.
Let me know if anyone finds any problems with this, but I've done it and, fingers crossed, it's worked OK for me.
Obviously, this is only for root users, and there are no guarantees for this.
Couple of questions that might need looked into -
- Do settings carry across after a wipe (as Paul claims Modaco's version does. I've never tried it so can't confirm)
- Is there any disadvantage to using this method? (I guess this is all Modaco's update.zip does, but I don't know)
you forgot to metion to uninstall wavesecure before it is pushed back into system....
my_space said:
you forgot to metion to uninstall wavesecure before it is pushed back into system....
Click to expand...
Click to collapse
Oops! Knew I'd forget something, as I always seem prone to do. Well spotted, and OP corrected.
Thanks
No worries I got a bit confused when i pushed it back onto the phone and was still in my downloads...
I've rooted my phone already but whenever i try to use the command adb remount I get "remount failed: operation not permitted". Suggestions?
I see more and more often, redundant threads.
What How-to will you post next time? How to change backlight settings?
You're pointlessly spamming the board.
I can't say i agree with the 'pointlessly spamming the board' comment, but i would have thought this would at least be better in the applications and themes subforum rather than in development.
Don't forget that an awful lot of android users (and more recently all HTC devices) are more and more 'newbs' and need stuff like this.
While this is good and provides info that people like that need (and myself cos i'm crap at adb and stuff like that so wouldn't have had a clue how to do this previously), maybe the development forum is not the best place for it....
I'm guessing one won't be notified via Market if there's an update available if you push an app to /system/app/, right?
usb0 said:
I'm guessing one won't be notified via Market if there's an update available if you push an app to /system/app/, right?
Click to expand...
Click to collapse
You won't be notified, correct
If anybody doesn't already know, WaveSecure have started hosting update.zip files. This means it's now easy to update your "baked-in" version of WaveSecure without much messing around.
https://www.wavesecure.com/installations/update.zip
Download the file, save it to your SD card, reboot into the recovery console and choose the option to apply an update.zip file.
Voila! Your version of WaveSecure will be updated to the very latest version
DJBenson said:
[...]
Click to expand...
Click to collapse
That's really awesome! Thanks for the tip!
Just a question of curiosity: If I push an app to /system/app/ and then issue the rm-command to remove its apk, won't there be lying a bunch of files associated with the program and with absolutely no function, since the app itself is removed? How do I know the name of these files and where they are located for removal?
I'm a bit confused by that question. My understanding (which may be incorrect but from what I've seen of the "guts of a ROM" appears to be the case) is that the applications reside in the apk files, they are not extracted. If you list the content of any of the app folders (/system/app, /data/app or /data/app-private) then all you get is a bunch of apk files (and some odex files). So when you 'push' an apk to the phone, that application is then "installed", when you rm/remove an application, you do so by removing the apk.
if you remove the apk you have left something in /data/dalvik-cache. wiping the dalvik-cache every now and then helps reclaiming that space, though it is not much.
the app settings and data are stored in /data/data, you could delete the files manually by checking their names (no idea if/what convention the names follow), imho not worth the trouble as it is only a few kb.
odex files aren't created if you don't do in a PITA process manually. don't worry about them, don't touch them, then you're good. odex files are only for system apps.
I bought a used phone and it had WaveSecure already installed. I couldn't find it in the applications list to uninstall, so I did a factory reset on the phone. The application was still there and it still didn't show up in the applications list.
I have the Superuser Permissions application, so someone must have rooted it.
Is there any way to uninstall this?
motomeup said:
I bought a used phone and it had WaveSecure already installed. I couldn't find it in the applications list to uninstall, so I did a factory reset on the phone. The application was still there and it still didn't show up in the applications list.
I have the Superuser Permissions application, so someone must have rooted it.
Is there any way to uninstall this?
Click to expand...
Click to collapse
""Just (re)flash a ROM................""
I just noticed that WaveSecure now points to this post for instructions to install as system application, and I am not sure that the update.zip maintained with them is up-to-date.
However, you can now select to download the .apk directly to your PC thus eliminating the first Market step in this guide.
strife242 said:
I just noticed that WaveSecure now points to this post for instructions to install as system application, and I am not sure that the update.zip maintained with them is up-to-date.
However, you can now select to download the .apk directly to your PC thus eliminating the first Market step in this guide.
Click to expand...
Click to collapse
I believe it is kept up to date, as VillainROM kitchen uses it as a source for the WaveSecure app (fetched each night to keep it up-to-date).
I've certainly never had any problems with it.
Excellent guide Pulser,... I should really reinstall Wavesecure now Im not using a MoDacO Custom ROM. Nice one bruv.
Found this to be helpful.
https://www.wavesecure.com/blog/how-to-make-wavesecure-hard-reset-proof.aspx
I just did a search in the Market fro 'wavesecure' and two things popped up WaveSecure and WaveSecure UninstallProtection Add-on which needs to be uninstalled before WaveSecure and if the add-on is uninstalled it is supposed to lock the phone. (all this is in the description I have yet to try)

[Q] Needed: Idiots guide to updating system apps

In a lot of the custom roms threads I see that people are always asking the cooks to update the system apps as soon as a new one is released.
Rather than us users constantly hassling the cooks to do this, could somebody post an 'idiots' guide how to update the system apps ourselves?
I have seen a few threads about how to remove apps using adb, but none on how to update them.
Any help would be appreciated, not just by the users, but probably by the overworked cooks too
Cheers.
EDIT: by this I mean a way to update the apk in the system folder rather than the date to save space on the phones memory.
One way is to open the market and click on the 'downloads' link at the top and it will give you a list of installed apps and the ones highlighted in red have updates.
Another way is to search the market or a free app called 'aTrackDog' which will check all your apps for updates.
Thanks, but that is not what I meant. I should have made it clearer in my question.
What I want is this: a way to update the applications so that the updated apk goes into the system folder rather than the data folder. That way the update doesn't take up any more of the precious space on my phone.
I'll edit the OP to show this.
But thanks anyway for your help.
Don't you mean the fact that certain apps included in roms cant be updated. Only possible by flashing an updated version of that rom.
Wrong section.
prodygee said:
Don't you mean the fact that certain apps included in roms cant be updated. Only possible by flashing an updated version of that rom.
Click to expand...
Click to collapse
No, that's not true. Often when a cook produces their own rom they will release an "Update pack" when a system app has been updated (such as Flash or Maps). For an example, see here under 'updated system apps':
http://forum.xda-developers.com/showthread.php?t=773997
What I am asking for is if anybody knows how to use adb to update apps on the system partition. When updating from the market a the update takes place on the data folder, not the system one.
Ta.
scutworker said:
No, that's not true. Often when a cook produces their own rom they will release an "Update pack" when a system app has been updated (such as Flash or Maps). For an example, see here under 'updated system apps':
http://forum.xda-developers.com/showthread.php?t=773997
What I am asking for is if anybody knows how to use adb to update apps on the system partition. When updating from the market a the update takes place on the data folder, not the system one.
Ta.
Click to expand...
Click to collapse
do you mean by example
Code:
adb push Vending.apk /system/app
adb reboot
TomLeeDesire said:
do you mean by example
Code:
adb push Vending.apk /system/app
adb reboot
Click to expand...
Click to collapse
That is something like it. What I want is a guide to what to do to update these apps when an update is out in the market place. Something like being able to update the app from the market, but then move the new apk to the system folder so to save space on data.
Thing is, if you're using a cooked ROM you're likely to be using A2SD+ which makes the need to not have system updates redundant as you've got your EXT partition. The other way would just be to edit the original ZIP file and reflash the ROM without a wipe
EddyOS said:
Thing is, if you're using a cooked ROM you're likely to be using A2SD+ which makes the need to not have system updates redundant as you've got your EXT partition. The other way would just be to edit the original ZIP file and reflash the ROM without a wipe
Click to expand...
Click to collapse
That is not entirely true, even though I sport A2SD+ (and it's 1/3 free) my /data is always begging for room... I'm always at the 15MB-free-limit.
Then you've either got a LOT of apps storing data or something's not right
Small dirty 0.1beta guide
I'll use teppic's update zip as example (hope he doesn't mind), sample of his updateapps.zip can be found in this thread -> http://forum.xda-developers.com/showthread.php?t=773997
1. Install the update from Market, then open Appmonster and backup it on SD. After that, uninstall the update, to free up space.
2. Open the update.zip with WinRar (don't unpack it), you'll see 2 folders
META-INF
system
Open the inside of META-INF till you get to update-script and open it for editing, here's the example:
Code:
show_progress 0.1 0
delete SYSTEM:app/YouTube.apk
delete SYSTEM:app/YouTube.odex
delete SYSTEM:app/Facebook.apk
delete SYSTEM:app/Facebook.odex
delete_recursive DATA:data/com.android.vending
copy_dir PACKAGE:system SYSTEM:
set_perm_recursive 0 0 0755 0644 SYSTEM:app
show_progress 0.1 10
Replace/add/remove .apk's (you can add .apk without .odex) in this list, as those commands will delete existing apps from /system/app on phone
The rest of the script will copy the content of the other folder you saw before (system with subfolder app), so you want to add/remove apk's you like to there. Remember to use WinRar's function to add the file to archive, everything done here's is inside of the archive. When you're done, save the update-script, check everything again and close WinRar.
3. Flash the zip ;]
or do it manually:
h_ttp://forum.cyanogenmod.com/topic/8067-how-to-manually-update-system-apps/
EddyOS said:
Then you've either got a LOT of apps storing data or something's not right
Click to expand...
Click to collapse
I do think A LOT fits (about 300 apps installed)...
That's exactly what I wanted.
Thanks for the help, everybody.
Does this work on a Rooted (Unrevoked) phone with HTC's Original Froyo?
- I've been following teppic74's thread for some time now, and for every app that get an updated I get closer to flashing his ROM... but if I can just update my apps I wouldn't have to go through the process of reinstalling everything else after...
gosa said:
Does this work on a Rooted (Unrevoked) phone with HTC's Original Froyo?
- I've been following teppic74's thread for some time now, and for every app that get an updated I get closer to flashing his ROM... but if I can just update my apps I wouldn't have to go through the process of reinstalling everything else after...
Click to expand...
Click to collapse
Sure thing.
thed0g said:
Sure thing.
Click to expand...
Click to collapse
Nice!
That means my weekend is saved, I 'm gonna give myself some updates!
- Thanks!
One thing...if using the push and pull commands in adb to move the apk files to the system partition, what happens to the .odex files? Do you move them as well?
scutworker said:
One thing...if using the push and pull commands in adb to move the apk files to the system partition, what happens to the .odex files? Do you move them as well?
Click to expand...
Click to collapse
.odex files are only on some custom rom's, you probably dont have them.
Hello again...
I kind of never got around to doing this last weekend - both because lack of time but also because the more I read the more worries I have. (Don't know when I lost my "gung ho" attitude, but age seems to turn me into a chicken...)
Anyway - I wanted to ask one important question.
How do I keep an eye on the space I have available for updating my apps? What if the updates are so much larger than the apps I'm replacing, what will happen then?
I read in teppic74's thread that he recommended some adjustments to save space, but how do I know what I have to "play" with? Is there a good app to read available space in "system"?
Thanks in advance,
gosa

Help! Cannot write or delete from internal memory!

Here is my issue I cannot create folders or delete anything on the internal sdcard.
Background info: I just got this gs3 its on boost mobile. I am on NJ3 I used CF-auto-root method to get root. Everything went fine updated Supersu installed a bunch of apps including Titanium Backup and made backups of all apps on the phone. Everything finished fine. I have not deleted any apps yet nor have I installed a custom record very or any ROMs its still!l stock. I have a 64gb sdcard installed which is new and empty so I wanted to put my backups on it but could not. While looking for a fix I noticed that even the default INTERNAL sdcard had a red folder on top with "cannot write to this location" . so now I cannot use TB. It gives an "insufficient storage" message and fails
I then went to ES File Explorer and tried to make a folder on the internal card and could not, also tried to delete and could not !! I have Googled this problem and come up with a number of solutions but most are very old threads. Can anyone give me some help fixing this? The phone seems to otherwise work but I fear it will only get worse with time.
edit I can install apps though even now.
Oh I left out that I did recieve an update for Security policy update. Which I understand has something to do with SElinux. I also found a fix for what appears to be my problem related to this it is;
SU
restorecon -FR /data/media/0
I decided to try it but get a message that -F is invalid
syntax is restorecon (--nRrv-- )
From what I can google the version of restorecon I have on my phone does not include that switch!!! Just my luck, can anyone help me figure out if I can change the binary to an updated one so I can use this?
Well I am disappointed 45 views and not one reply, oh well.
I eventually bit the bullet and did a factory reset from the settings menu, it cleared up the issue and I still had root!! Google reinstalled all my apps and SuperSu disabled Knox for me. I also unchecked auto update for security updates so that Samsung does not send another one to me without my knowledge. also disabled autoupdate for Samsung apps.
know everything is golden again.

Where does unfinished update data go?

Hi everyone, I'm back to the W10M scene now that I got a new battery for my Lumia 625 and I would like to ask if anyone knows where unfinished update data goes in the system memory so I can delete it?
I have my 625 rooted with WPIntenals and the updates failed (multiple times) but the system now still takes up almost 6GB and I would like to free up some of that space as I have only a 8GB internal memory, I already checked the usual update download folders in Data and can't find anything nor can I find any spkg files by searching so I think there might be some sort of other files that take up that space because I am pretty sure it only took up about 2-3GB before. So does anyone know what files I'm looking for and where they are?
Does no one know?
Now I have only 200MB free on my system and it's only cause of the update that keeps failing, I didn't install anything new in weeks and I anyway have it set to install to SD card. If this keeps up I will be left without any space free on the system.
What Storage said?
augustinionut said:
What Storage said?
Click to expand...
Click to collapse
Storage reports System is taking 7GB something, can't say exactly now as my phone is dead.
Softreset. Hardreset. Reflash only if not rooted.
wats telemetry data(2-3 mb). can find that on system> storage>this device>temp files
regds
niz
nizuak said:
wats telemetry data(2-3 mb). can find that on system> storage>this device>temp files
regds
niz
Click to expand...
Click to collapse
That folder is empty unfortunately but it also does seem like it stopped eating up any more space even though I got lots of "Couldn't download updates" messages so I'll just leave it as this with those 200MB free.
Ok... phone\data\shareddata\dushared\packages
or phone\windows\servicing\packages do not erase nothing from this folder. After hardreset ...bum, blue sad face..
Data\ProgramData\SoftwareDistribution
It's safe to delete the entire folder (i did twice), but it won't stop the updates from failing.
augustinionut said:
Ok... phone\data\shareddata\dushared\packages
or phone\windows\servicing\packages do not erase nothing from this folder. After hardreset ...bum, blue sad face..
Click to expand...
Click to collapse
I unfortunately do not have anything in dushared.
TheBITLINK said:
Data\ProgramData\SoftwareDistribution
It's safe to delete the entire folder (i did twice), but it won't stop the updates from failing.
Click to expand...
Click to collapse
This did free up 2GB data, thanks a bunch.
And yes, unfortunately there seems to be no way to stop the updates, none of the registry keys that would work on Windows seem to work on W10M. (except not connecting to wi-fi and setting your data connection to metered that is)
TheBITLINK said:
Data\ProgramData\SoftwareDistribution
It's safe to delete the entire folder (i did twice), but it won't stop the updates from failing.
Click to expand...
Click to collapse
There seems to be a way to actually prevent windows update from doing it's job, I have removed all the update data and then modified the hosts file redirecting all the links I could find listed online (and with fiddler) to be related to windows updates to 127.0.0.1 and now the update just sits on 0%, it's been a couple of hours already so I am pretty positive that it won't start the download, perhaps if this was done on a clean install (before the phone even noticed there is an update on the server) it would just never detect an update again.

Storage location of ROM-downloaded updates ?

Hi Folks
on 3.1.3 I had downloaded the OTA update via the ROM-inbuild functionality (Settings->System Update).
But, instead of using following the ROM-update function I decided to download the full 3.2 ROM and update via TWRP, as recommend on several locations.
Things are running fine now under 3.2, but System Update is constantly (after each reboot) nagging to update the system - I assume because it sees the update file somewhere and wants to proceed.
Does anybody here know where to look for this file ? I searched under a number of locations, so far without success.
Your help is much appreciated, thanks
Axel
You'll find the update in the internal storage under Android/data/com.oneplus.ota/files/.OnePlusOta (beware, the last one is a hidden folder!)
In my case, the file was inside the
Code:
.Ota
directory, which is root folder. Note that is a hidden directory, so make sure your preferences are set to see hidden files.

Categories

Resources