deleting stock apps doesn't free internal memory - Hero CDMA Q&A, Help & Troubleshooting

I have deleted several built in apps from my ROM, but even after a reboot there is no more free internal phone storage, when about 7 MB should have been freed. Is there something else i need to do?

what was your method for deletion?

i used the adb shell, mounted the system as read/write and then deleted the apk files from the /system/app folder using the rm command.
the apps no longer show up in the app drawer, but i didn't gain any free internal memory.
I have a CDMA Hero, running the Damage controll 2.09.01 ROM with Apps2SD enabled.

Go into recovery and wipe dalvik.

that did it!
thanks

Related

Flashed Desire Sense rom, now virtually no internal memory??

Hi guys
I switched from my x10 to a nexus one last week, really wanted to try out Froyo, multitouch, and all the goodies that come with that.
I flashed a desire sense rom onto my nexus a couple of days ago. I didn't bother to check what the internal memory was on first boot, and perhaps I should have, but hopefully you can help anyway.
I used titanium backup to restore all of my apps. However, I got to a certain point, and my internal memory was full. So I had to cancel the process, and then start a new batch process in titanium backup to move all the apps to the sd card. This seemed fine, I started again to restore all the previously unrestored apps. Then, sooner than before, the same thing happened again. So I cancelled the process and moved all apps to the sd card. This went on, to the point where I'm at now, that I have so little internal memory I can't install any more apps! Even though I have supposedly shifted all my apps to the sd card. I have no idea what has happened this memory, where has it gone? How do I reclaim it? What is it that is taking it up, if all my apps are on my sd card instead? :-S
Thanks for the help as always guys, any tips are much appreciated.
Download DiskUsage from the market (you may have to uninstall something first).
Sent from my Nexus One using XDA App
When you restore from titanium after flashing a rom just restore missing apps and data NOT all system data, just fyi
or just do basic apps you need
if you are going to run sense roms you should use amon_ra 2.0.0 to set up an ext3 partition. Some roms move the a2sd auto after you reboot right after flashing rom and some use Dark Tremor that they include in rom. Just need to be sure.
ken
Thanks for the tip about titanium, I'll remember that for the next time.
I ran DiskUsage, seems I have 96.3MB of system data... Is all of this essential, or is there any way for me to clear some of it? How did it all get there in the first place?
Thanks guys.
that seems awful high for system mem free. sure it isn't internal free memory your seeing
not familiar with diskusage, if it shows all, good
i like quick system shows all mem info. maybe just duplicates diskusage, don't know
interested to know internal free memory
According to disk usage, out of a total of 196.2MB internal memory,
79.8MB is used by apps (presumably those which must be stored locally)
96.3MB system data
and 20.2MB free space.
Does this help?
rugmankc said:
that seems awful high for system mem free. sure it isn't internal free memory your seeing
not familiar with diskusage, if it shows all, good
i like quick system shows all mem info. maybe just duplicates diskusage, don't know
interested to know internal free memory
Click to expand...
Click to collapse
ask the right questions, that is not a large amount of system memory if he is using the new sense 2.0 roms
, are you using the new desireHD rom / mytouch 4g, with sense 2.0, these roms are large, leaving very little space on the device, if it is one of these you will have setup an ext partition on your sdcard,
if you have flashed the desireHD rom plug your phone into pc
from cmd type
adb shell stop
adb shell
a2sd repair
hit ctrl+c to back out
adb shell start
this should move all apps from the /data/app partition into your sd-ext partition, which has much more free space
those don't sound right, doesn't it say "internal free memory" and 20.63mb free which is the internal is very low
I go back into TB and scroll down and delete apps from previous rom and then refresh. If you did select "restore all apps and system data" may be why internal is low. Don't think you cancahnge that till next rom flash. If it is working you can nandroid for now and think about Dark Tremor.
I used "eViL-NXSense-v.1.25", this was the ROM that I flashed.
How much free memory would you expect with this? And also, how come the memory went down as I installed apps, even though I moved them to the external memory?
petecdun said:
I used "eViL-NXSense-v.1.25", this was the ROM that I flashed.
How much free memory would you expect with this? And also, how come the memory went down as I installed apps, even though I moved them to the external memory?
Click to expand...
Click to collapse
right, an AOSP rom will leave you with about 70-90 MB, not exactly sure with a sense rom but i doubt there would me much left to play with as the nexus was built without sense
the reason your space still goes down is because when you install the app, it is dexopted and the code is optimized, this optimized code is specific for your phone and is stored on your data partition, so even though your moving the actual app to your sdcard, the optimized code (Dalvik cache) is still stored on your phone, as the same for any app data.
my advice, and what i always use is Apps2Ext this is using a seperate partition on your memory card dedicated to installing apps, if you have one setup already great, if not
backup everything on your SDcard and partition it with your recovery software, when asked, choose 512MB ext, 0 swap, and the rest (FAT), copy all your stuff back to your SDcard, as well as this
http://forum.xda-developers.com/showthread.php?t=715940
flash that through the recovery, it will move all your apps from the data/app folder to the new partition you made on your sdcard and link data/app to that folder so any new apps you install will automatically be installed there
I have MicroMod2.10 sense which is auto a2sd, you need an ext3 partition to get more free.
I have 93mb free internal. Normal can be 75 to 120
Your system free mem sounds high
FYI: If you partition with amon or rommgr/cwmod it wipes sd card.
I just messed up my sdcard and had to reformat it, not ext partition, left it alone, thru Mini Partition Tool Wizard and sd card reader. The reader is the only thing that confirms I have ext 3. DT always shows ext2 and rommgr seems to do only ext2. Amon can do ext3, 512mb, 0 Swap
You need to get in habit of backing sdcard regularly, not necessarily all everytime, if a particular folder like videos or pics hasn't changed. They are high mem only.
Beat You bagofcrap24
I usually am on the losing end
Ken

Cripes, so confused about DarkTremor A2SD on CM7

I'm really surprised that there is no documentation on this thing that I can understand. I'm having major issues with CM7 with DT A2SD. Every one of my widgets is broken. I can't tell what's installed to EXT and what's not. If I go into Manage Applications, all of the widget apps are installed to phone. I have next to zero internal space left.
I need to know how I can differentiate what's on internal, what's on Froyo SD, and what's on DT A2SD - As well as how to move them and tell where each app is going.
i honestly wish i knew. this is on my list to do, but i didnt feel like formatting my memory card cause there's so much on it, so i am just hoping gingerbread improved method will give me enough space.
i wish there was a tutorial or wiki for DT A2SD. you prob should just read that whole thread and it is explained there somewhere.
Some quick commands executed from adb shell or even the terminal on the phone can give you some more information:
a2sd check will give you basic diagnostic information from the DT a2sd script - this will reveal what is running where (apps on /sd-ext, data location, etc).
ls -al /data will help you understand what a2sd actually does for you. If a2sd is set up correctly, you should see an entry similar to "app --> /sd-ext/app", which indicates your /data/app directory is symbolically-linked to your /sd-ext partition (the ext-formatted partition on your SD card). This makes Android see /sd-ext/app and /data/app as the exact same thing, and everything within that folder will actually reside on the /sd-ext partition. The same thing applies to the dalvik-cache.
You can find out more about using a2sd via the a2sd help command, which shows an easy-to-understand listing of the various a2sd commands available.
All the documentation is in DarkTremor's thread.
There is no choosing in A2SD. If it's installed - all apps that are shown as "internal" go to EXT partition. But the phone doesn't know it, and you won't see it in OS visually in any place.
You can choose if you're sending your app data and your Dalvik-cache to SD also, that you can do from the Terminal (command line).
I should probably mention that all apps that are installed to SD using stock Froyo method, remain there - and cause a waste of space. So using A2SD you should move ALL your apps to "internal memory" (substituted with EXT partition).
This is a handy link for Darktremor users...
http://www.facebook.com/note.php?note_id=158826790833326
Sent from my Nexus One using XDA App
Hmm.. maybe I should had included some more info.
If I use Root Explorer and check my sd-ext folder, it does have apps within, and from install date I can tell they're from my CM7 install (plus I wiped everything including SD-EXT before flashing anyway). The problem is that some of these apps are things I do NOT want on SD-FAT or SD-EXT, I need them on internal (basically anything that I use with widgets, and LauncherPro). Pretty sure having widgets on EXT is what's causing my home screens to **** the bed.
Checked Install Location, right now that's set to Automatic.
If I go to Manage Applications, these apps appear to be on internal (Move to SD card is available on the button). I've read the FB page and original thread, I still see no way to differentiate between Internal, SD-FAT and SD-EXT - or how to move them between with certainty.
/sd-ext is the same as internal for all intents and purposes. You don't choose what apps to run off of /sd-ext, they all do. This is not causing your widget issues.
If you use DT a2sd, "Internal" becomes synonymous with "sd-ext". They are one and the same.
You SHOULD, however, move all of your apps off of SD-FAT - that is the implementation of "apps to sd" that breaks widgets.
Ok, I moved all of my apps off of SD-FAT and back to internal.. seems to be going well so far. The only thing I'm curious about now is that I didn't really get any space back, I still only have 21MB free (cleared browser and market cache as well). I've obviously messed something up somewhere along the line. Any ideas? I'm such a n00b at this apparently.
I really appreciate the help thus far guys!
You shouldn't have. Your space doesn't change as a result of moving apps to SD and back anymore - because they're all either on EXT, or partially on EXT and partially on FAT32.
If you don't have enough space left on internal memory - which can happen, if you have a lot of apps and they use a lot of data - you can move app data to SD and also Dalvik-cache to SD. This is done using command line commands.
One of those is usually enough.
I prefer the Dalvik-cache on SD - it might be a bit slower (never noticed that), but at least system settings (that are stored in /data/data) remain on the phone's internal memory and aren't prone to corruption.
Jack_R1 said:
You shouldn't have. Your space doesn't change as a result of moving apps to SD and back anymore - because they're all either on EXT, or partially on EXT and partially on FAT32.
If you don't have enough space left on internal memory - which can happen, if you have a lot of apps and they use a lot of data - you can move app data to SD and also Dalvik-cache to SD. This is done using command line commands.
One of those is usually enough.
I prefer the Dalvik-cache on SD - it might be a bit slower (never noticed that), but at least system settings (that are stored in /data/data) remain on the phone's internal memory and aren't prone to corruption.
Click to expand...
Click to collapse
On that note, moving the dalvik-cache is generally a better idea than moving /data/data. Better stability and compatibility and whatnot. Only bother with moving /data/data if you really really need the space.
You can move the dalvik-cache to sd with the a2sd cachesd command in either the terminal or adb shell.
OH MAN THANK YOU! Moved dalvik to SD-EXT and that did it! 120MB free! Time for a downloading spree!
level5music said:
OH MAN THANK YOU! Moved dalvik to SD-EXT and that did it! 120MB free! Time for a downloading spree!
Click to expand...
Click to collapse
Glad to help

[Q] Changed SD, cache left on phone

Hi people,
I have a Nexus One with Cyanogenmod 7, and I recently got an error saying that the SD card is blank or has f*cked filesystem (Sandisk SDHC 8GB). I managed to format the motherf*cker but now I still have cache left on the phone from the apps I had on my SD card.
On phone, with only some basic apps.
Available : 31.98 MB
Total Space: 196 MB
So how can I clear that cache, or leftovers from the apps I had on the SD ?
Thank's in advance.
Well, any of the apps that you had moved to the sdcard will still require removing from your phone. Using Froyo's app2sd moves only a portion of the app to the sdcard, so parts of it still remain along with the dalvik cache and the data for that app. So go into Settings -> Applications -> Manage and remove the apps that you no longer want (or were originally stored on the sdcard).
Oh, you're right, I found the apps that were on the SD and I can delete them from there. It's kinda silly, I've tried all sorts of different things but I didn't look in that section.
Thanks alot mate !
No problem. Glad you got it working.
I uninstalled everything that had leftovers on the phone but that only gave me about 12 mb space on the phone, so now I have 45 mb free out of 192. Is this normal ?
Thank you.
Were you running any app2sdext or just using the Froyo method of putting apps on there?
If you run
Code:
su
cd /data
du -hd 1
It will show you the size of each folder. If you go into those folders and run that command again, it will show you the sizes of those as well. If you change the command slightly to
Code:
du -hd 1 | grep M
It will only show you things that have a capital M in it (which is what is used to designate MB, so it will weed out some of the smaller folders).
This might give you an idea of what is taking up your space. I assume you have already sorted your apps by size in Settings -> Applications -> Manage?
I was using the App2SD free app from the market.
I ran the commands you said and this is what I've got (only high values here) :
31.1M ./data
94.6M ./dalvik-cache
28.7M ./app
Sent from my Nexus One using XDA Premium App
I would wipe your dalvik cache (can be done in the advanced section of recovery). You might be able to manually do it yourself, but it is easier in the recovery). There are probably caches from previous programs that haven't been erased. Android will regenerate any caches that it needs when it boots back up.
Seems like wiping dalvik's cache did the trick, now I've got over 100mb free on the phone.
Thank you very much brother.
If you are in need of more space on your phone, I can highly recommend using an app2sdext option. This can make the phone think it has much more internal memory. I am using a 1GB partition on my sdcard to store all my apps and dalvik cache. I use S2E which is an extremely easy app that is on the market. All you have to do is partition your sdcard (which does require it to be wiped again) and install this app. Then you just check what you want moved over to this new partition, the phone will reboot, and you will now have space to have everything installed that you want.

[Q] Delete preinstalled applications - clearing memory

Hello.
I deleted with ES File Explorer the .apk's from /system/app/
those apps had no .odex files.
they dissapeared from menu, market, app manager...
but the internal phone hasn't cleared the space.
Now what?
i was looking forward to gain some more space for other useful apps.
why not just use s2e or a2sd to increase your space? this would be less problematic i guess
never try to delete any system apps as they can create a problem for u afterwards better use s2e to max up your internal space
The internal memory is calculated from freespace in /data partition, that's why deleting application from /system/app will not affect free internal memory. You have to use app like darktremor a2sd, s2e, or ungaze to add freespace to install more app.
Deleted.
greenAlgae said:
The internal memory is calculated from freespace in /data partition, that's why deleting application from /system/app will not affect free internal memory. You have to use app like darktremor a2sd, s2e, or ungaze to add freespace to install more app.
Click to expand...
Click to collapse
i looked at first in that folder. but with your info and a better search i found those memory-consuming-app-remains: /data/dalvik-cache/
moved them to SD, just to be sure.
after that, the internal free memory got bigger.
i did that because i don't need/want demo games/apps.
and thank you all, i will try and use the memory card to install apps.

[Q] BCM's M2SD low on internal storage

Greetings,
I've recently installed ICS BCM, and forgotten to enable M2SD until I realised I was running out of space on internal storage (Remaining 30MB). I have now enabled M2SD for SD-EXT for apps and data . Newly installed apps and their data goes to SD-EXT, how can I move previously installed apps and data in the internal storage to SD-EXT? Thanks!
jazzaddict said:
Greetings,
I've recently installed ICS BCM, and forgotten to enable M2SD until I realised I was running out of space on internal storage (Remaining 30MB). I have now enabled M2SD for SD-EXT for apps and data . Newly installed apps and their data goes to SD-EXT, how can I move previously installed apps and data in the internal storage to SD-EXT? Thanks!
Click to expand...
Click to collapse
If you enabled it from terminal and rebooted, old apps and data should go to ur ext now.
Check it by typing 'm2sd status', apps and data should be marked as loaded. You can check it also via titanium backup which should show more space on your internal memory, or via root explorer where app and data subfolder of sd-ext folder should show your list of apps and data.
Sent from my Nexus One
MoeNeXus said:
If you enabled it from terminal and rebooted, old apps and data should go to ur ext now.
Check it by typing 'm2sd status', apps and data should be marked as loaded. You can check it also via titanium backup which should show more space on your internal memory, or via root explorer where app and data subfolder of sd-ext folder should show your list of apps and data.
Sent from my Nexus One
Click to expand...
Click to collapse
I did enable it via terminal, but the apps what I installed before enabling M2SD are still in internal storage.
some apps are not moved they need to stay on phone--not sure if that is your case
if m2sd doesn't work like dark tremor you may just have to reflash and run m2sd at start
i would move data back as it slows phone for most people and move dalvik
m2sd dalvik enable

Categories

Resources