[Q] Where is my internal memory being used? - Galaxy Ace S5830 Q&A, Help & Troubleshooting

First of all, i have a S5830i rooted, odexed phone. I have linked ALL my apps to SD via Link2SD app.
I used to have around 100mb free but after a few days that became 90mb. I thought to try a wipe dalvik cache and after the reboot i had 78mb free!
I saw in many other screenshots that there are people with 130+ or even 150+ mb of free space internal memory.
How do they achieve that? Why i have only 78mb of free internal memory while i don't have any apps installed there?
I hope someone can assist me with that.
Thanks in advance.

AntrikoS said:
I saw in many other screenshots that there are people with 130+ or even 15+ mb of free space internal memory.
How do they achieve that? Why i have only 78mb of free internal memory while i don't have any apps installed there?
.
Click to expand...
Click to collapse
you are not clear with your question
u saw people have 15 mb free.. and when you have 78 mb free. you should be happy

i'm sorry i misstyped i mean 150mb not 15... 78mb free space seems too low since i don't have any apps installed in my internal storage.

As far as i know, Not all app data is copied to sd card with link 2sd. Did u think about trying a Script like "cronmod" or amarullz? Or s2e app which is, in my opinion, better than link2sd.
Gesendet von meinem GT-S5830 mit Tapatalk 2

link to sd never moves your dalvik cache and data to sd partition..
I would recommend you to use s2e if you are on CM7.x

A
charlessxavier said:
link to sd never moves your dalvik cache and data to sd partition..
I would recommend you to use s2e if you are on CM7.x
Click to expand...
Click to collapse
Link2sd moves apps apk, dalvik-cache dex, and libraries lib to the partition. Data of apps stay on internal /data.
Wiping dalvik cache (from recovery for example, or with adb) causes link2sd to loose the symbolic links used to store data, which messes up your app's location in a pretty nasty way.
Open link2sd, filter your linked apps, select all of them with menu > multi select > select all, then link app+dex+lib. If there were parts of an app that weren't linked this fixes it. Reboot. Also from link2sd clean app cache.
Finally, check your data/local address with a root explorer and make sure there aren't copies of apk files you already linked. If there are copies, delete them, reboot.
Edit: moving /data of apps to the partition frees up more memory, but lowers performance, specially with sdcards class 6 and below, and partitions which are ext2 or fat32.

Related

[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] Milestone CM7 sd-ext, caches and CM7

I know it was discussed a lot, but since things are constantly being updated i can't get a hold of what is working at the moment. I will be brief.
16 GB SD card, First partition is primary 14 GB FAT32, second partition is ext3 1 GB.
I am using Cyanogenmod 7 7.2.0 RC1 on Motorola Milestone. I also have androidiani open recovery and kabaldan's mmcfix module installed.
After the partitioning was complete (in card reader) i returned the SD card in the phone and booted to open recovery where I formated all caches and factory restored CM7 everything is clean.
Questions:
1. When I launch File Explorer (the one within the rom) SD-EXT on root is empty, no folders or anything, but if I launch terminal emulator and cd sd-ext then ls there they are. Why?
2. I play couple of memory intensive games (like Dead Space and GTA3), but since I have only 256 mb ram they often crash (without error) when loading a level or saved game (yes I have chainfire3D). Will moving dalvik cache and cache to sd-ext help free more ram so I can crash less?
3. What is the point of moving dalvik and cache to sd-ext and where can I find a guide how to do it?
Thanks.
CeBits said:
I know it was discussed a lot, but since things are constantly being updated i can't get a hold of what is working at the moment. I will be brief.
16 GB SD card, First partition is primary 14 GB FAT32, second partition is ext3 1 GB.
I am using Cyanogenmod 7 7.2.0 RC1 on Motorola Milestone. I also have androidiani open recovery and kabaldan's mmcfix module installed.
After the partitioning was complete (in card reader) i returned the SD card in the phone and booted to open recovery where I formated all caches and factory restored CM7 everything is clean.
Questions:
1. When I launch File Explorer (the one within the rom) SD-EXT on root is empty, no folders or anything, but if I launch terminal emulator and cd sd-ext then ls there they are. Why?
2. I play couple of memory intensive games (like Dead Space and GTA3), but since I have only 256 mb ram they often crash (without error) when loading a level or saved game (yes I have chainfire3D). Will moving dalvik cache and cache to sd-ext help free more ram so I can crash less?
3. What is the point of moving dalvik and cache to sd-ext and where can I find a guide how to do it?
Thanks.
Click to expand...
Click to collapse
1) The File Manager bundled with CM7 doesn't have ROOT access, which is required to read the files on /sd-ext. Try using Root Explorer, for example.
2) No, it won't. What will probably help you is to disable JIT (gives you more free RAM), install V6 Supercharger by zeppelinrox (reorganizes how RAM is used) and remove ChainFire3D (it only helps if you reduce the texture quality to 16-bits, otherwise it's just one more layer between your apps and the GPU).
3) The point of using sd-ext is to overcome the storage limitations of the Milestone (not its RAM limitations), allowing you to install more apps without using app2sd (which renders apps on the SD unusable when you plug the device to a computer).
I hope it helps (=
Disabling surface dithering also helps.
I tried 7.2.0-RC2 without V6 and it works great, plus no more side effects, like Maps "forgetting" pre-cached areas =D
Hi. I followed pontomedon's guide to partition my 8GB card with OpenRecovery (parted & tune2fs). So I got 1 GB ext3. And installed CyanogenMod 7.2.2.
But in the CM Settings "Use internal storage" is grayed out and says "This device doesn't have expanded internal storage". Has something gone wrong? What's the best way to confirm that SD ext is working?
If ext would work, would the phone's memory still be used fully first, and SD ext only after that, or how does it go? I've now set Install location to "Internal".
I've heard of S2E (simple2ext) app, maybe I'll try it next.
mantokoski7 said:
What's the best way to confirm that SD ext is working?
If ext would work, would the phone's memory still be used fully first, and SD ext only after that, or how does it go? I've now set Install location to "Internal".
I've heard of S2E (simple2ext) app, maybe I'll try it next.
Click to expand...
Click to collapse
Your storage as in FAT partition on sdcard is working?
You can "mount | grep sd-ext" and "df /sd-ext" to check if sd-ext is mounted and how much space it has.
sd-ext is treated as internal memory. All user installed apps are moved to ext partition. Internal storage (data) is used for app data (configuration, etc.)
Thanks. Why does it show it as ext4. 8% is used... I guess it's working after all. Now let's install some games!
/dev/block/mmcblk0p2 on /sd-ext type ext4 (rw,noatime,nodiratime,barrier=1,data=ordered)
Filesystem /dev/block/mmcblk0p2 1K-blocks 936666 Used 70298 Available 816397 Use% 8% Mounted on /sd-ext
I installed Root Browser Lite and it shows the installed apps in sd-ext, also Dalvik-cache for those apps is there, which is good I think.
how to format?
mantokoski7 said:
I installed Root Browser Lite and it shows the installed apps in sd-ext, also Dalvik-cache for those apps is there, which is good I think.
Click to expand...
Click to collapse
Hi, my question is very close to this topic : when I try to install another rom I got all the old applications coming from the previous install. Is there a way to format the ext 2 in the same time we update or change CM?
Thx
Use -FuFu-'s MiniMod Recovery - it has an extended wipe menu, including ext-wipe.
http://forum.xda-developers.com/showthread.php?t=1091787
Eiertschik said:
Use -FuFu-'s MiniMod Recovery - it has an extended wipe menu, including ext-wipe.
http://forum.xda-developers.com/showthread.php?t=1091787
Click to expand...
Click to collapse
I'm using 2ndBootOR . What is the differcnce between them?
bibile said:
I'm using 2ndBootOR . What is the differcnce between them?
Click to expand...
Click to collapse
With 2ndbootOR you can use "wipe_ext2.sh" from MiniMod by -FuFu, or any other script. Just copy file to "scripts" folder.
FuFu's latest OR is based on the 2ndbootOR, so it does everything the 2ndbootOR does, but it also has additional scripts. So it really worth a try.
Thx I'll update my second phone (I have not seen these answers before)
Sent from my U8860 using xda app-developers app

[Q] use SD as main storage?

This is what I am currently doing: I made a 1GB ext4 partition, and i link all my apps to that using Link2SD.
This is working and i maintain about 100MB free on my internal memory. I have seen some other screenshots of ACE users, that somehow trick their phones to thinking that the Sd partition is the internal memory and everythign will automatically install there, and in system storage it reports the total space as that of the partition and not the ~100 MB.
how can i do this? what apps do I need
hshaikh said:
This is what I am currently doing: I made a 1GB ext4 partition, and i link all my apps to that using Link2SD.
This is working and i maintain about 100MB free on my internal memory. I have seen some other screenshots of ACE users, that somehow trick their phones to thinking that the Sd partition is the internal memory and everythign will automatically install there, and in system storage it reports the total space as that of the partition and not the ~100 MB.
how can i do this? what apps do I need
Click to expand...
Click to collapse
there's a script called "amarullz sd-ext" or similiar thing like that.....
here's the link
Code:
http://forum.xda-developers.com/showthread.php?t=1310309
123r4ka456 said:
there's a script called "amarullz sd-ext" or similiar thing like that.....
here's the link
Code:
http://forum.xda-developers.com/showthread.php?t=1310309
Click to expand...
Click to collapse
that looks confusing as hell. and he doesnt even use an ace. before i try it and may ruin something, has anyone tried this with an ace
Lol. What u describe there is what the amarullz script doing, swapping internal memory with sdcard and made phone think sdcard is the phone memory for app data.
hshaikh said:
that looks confusing as hell. and he doesnt even use an ace. before i try it and may ruin something, has anyone tried this with an ace
Click to expand...
Click to collapse
LOL, just copy and paste script and set permission.....
dont need to read the whole thread
looking at his picture, it seems like he will be saving more files on the internal memory as opposed to what im doing now where everything is on SD. is that not counter intuitive
hshaikh said:
looking at his picture, it seems like he will be saving more files on the internal memory as opposed to what im doing now where everything is on SD. is that not counter intuitive
Click to expand...
Click to collapse
yes, but the creator said it will improve overall performance.
the more you install app = more dalvik cache
and one day, your internal memory become full.....of dalvik cache
so is there a way to still have everything on the SD card, but also have the phone think that the 1GB partition is the internal memory

[Q] error: not enough internal memory - but I have 90MB and app is 30MB

Hi Folks,
Executive summary:
I'm trying to install an app that is around 30MB. I have 90MB of internal memory available. It won't download and complains there is not enough memory.
Gory detail:
I have a 32 GB SD card partitioned into 10GB (ext2) and 20 (FAT32) and I use Link2SD to automatically install apps on the ext2 partition. That is working fine.
There is an app in Samsung Apps, issued by the education department, that I need for my son's upcoming spelling bee. The app is around 30MB. When I try to download it, it complains that there is not enough internal memory and that I should delete some files, make space, etc.
Relevant information:
1. There is 90MB available on the internal memory and the app is 30MB.
2. The app should automatically be installed on the SD card anyway, and so not be concerned about the internal memory in the first place.
3. Other, smaller apps from Samsung Apps install without complaint directly onto the SD card.
The figure of 90MB is from Settings > Applications > Manage Applications and also from Link2SD > Settings > Storage Info. Same number.
The phone is rooted and running Gingerbread 2.3.6.
Thanks in advance.
2ways said:
Hi Folks,
Executive summary:
I'm trying to install an app that is around 30MB. I have 90MB of internal memory available. It won't download and complains there is not enough memory.
Gory detail:
I have a 32 GB SD card partitioned into 10GB (ext2) and 20 (FAT32) and I use Link2SD to automatically install apps on the ext2 partition. That is working fine.
There is an app in Samsung Apps, issued by the education department, that I need for my son's upcoming spelling bee. The app is around 30MB. When I try to download it, it complains that there is not enough internal memory and that I should delete some files, make space, etc.
Relevant information:
1. There is 90MB available on the internal memory and the app is 30MB.
2. The app should automatically be installed on the SD card anyway, and so not be concerned about the internal memory in the first place.
3. Other, smaller apps from Samsung Apps install without complaint directly onto the SD card.
The figure of 90MB is from Settings > Applications > Manage Applications and also from Link2SD > Settings > Storage Info. Same number.
The phone is rooted and running Gingerbread 2.3.6.
Thanks in advance.
Click to expand...
Click to collapse
Did you move the dalvik-cache partition?
Dalvik-cache needs space too to install and run the app so clean it and then try to install this app again
Viper The Ripper said:
Did you move the dalvik-cache partition?
Dalvik-cache needs space too to install and run the app so clean it and then try to install this app again
Click to expand...
Click to collapse
Thanks for getting back to me.
In setting up Link2SD, a new dalvik-cache folder was set up on the 2nd partition on the SD card and the default action for all new apps is to put dalvik-cache files there. There is still the old dalvik-cache folder on /data.
I used Link2SD to clear all the cache folders and got another 10 MB free of internal memory.
Running df in a terminal I get:
/data size-180MB, used-76MB, free-104MB
Which should mean that the 'old' dalvik-cache folder has plenty of room to expand and shouldn't be stopping the installation of a single new app. Again, of course, any new apps should have their dalvik-cache files added to the SD partition anyway, rather than the original one.
Is their something I'm not understanding about the dalvik-cache?
Thanks for the help.
2ways said:
Thanks for getting back to me.
In setting up Link2SD, a new dalvik-cache folder was set up on the 2nd partition on the SD card and the default action for all new apps is to put dalvik-cache files there. There is still the old dalvik-cache folder on /data.
I used Link2SD to clear all the cache folders and got another 10 MB free of internal memory.
Running df in a terminal I get:
/data size-180MB, used-76MB, free-104MB
Which should mean that the 'old' dalvik-cache folder has plenty of room to expand and shouldn't be stopping the installation of a single new app. Again, of course, any new apps should have their dalvik-cache files added to the SD partition anyway, rather than the original one.
Is their something I'm not understanding about the dalvik-cache?
Thanks for the help.
Click to expand...
Click to collapse
You're right, smply I thought that your dalvik-cache partition was full and it was the reason you couldn't install anything, but it's weird :S :S :S
For this and many other reasons I don't like to use link2sd, I prefer int2ext+ script; safe, simple, fast, doesn't touch the dalvik-cache partition and keep /data in /data place
AFAIK Link2sd don't move "apps" strictly, It link apps to sd-ext partition, so a part of apps are installed in /data (internal memory) and the rest (the heaviest) in your sd-ext partition
It could be helpful
http://forum.xda-developers.com/showthread.php?t=2313327&highlight=about+link2sd
BTW you can wait for the replies from fellows better informed on such issues
Thanks for your help.
It's my wife's phone and I'll be away from home now until next week, so can't pursue the solution any further just now, but I haven't given up!
I'll be back on this thread come Monday, and I'll definitely have a look at int2ext.
Thanks again.
Viper The Ripper said:
You're right, smply I thought that your dalvik-cache partition was full and it was the reason you couldn't install anything, but it's weird :S :S :S
For this and many other reasons I don't like to use link2sd, I prefer int2ext+ script; safe, simple, fast, doesn't touch the dalvik-cache partition and keep /data in /data place
AFAIK Link2sd don't move "apps" strictly, It link apps to sd-ext partition, so a part of apps are installed in /data (internal memory) and the rest (the heaviest) in your sd-ext partition
It could be helpful
http://forum.xda-developers.com/showthread.php?t=2313327&highlight=about+link2sd
BTW you can wait for the replies from fellows better informed on such issues
Click to expand...
Click to collapse
Sorry for the Off-Topic, but my battery drained faster with int2sd.. do you faced the same problems?
Sent from my GT-S5830 using xda app-developers app
Blackbox421 said:
Sorry for the Off-Topic, but my battery drained faster with int2sd.. do you faced the same problems?
Sent from my GT-S5830 using xda app-developers app
Click to expand...
Click to collapse
It's normal I suppose due to Read/Write cycles, but it's better (less cycles) than swap partition (reduce your sdcard's life drastically)
Couldn't Install on USB Storage or SD Card
If, while installing your app, its showing "Couldn't Install on USB Storage or SD Card", then I've got just the solution. You could either fix it permanently,temporarily or do a method each time before you install your app.
Permanent Method
1) If your device is running on 2.2.1 or 2.3.6 android version, upgrade it to 3.4.5 ICS or 4.1.1 Jellybean. If the problem is solved then, don't worry, your problem has been permanently fixed.
Temporary Method
1) Backup your SD Card files and format it. Don't worry, it won't affect your partitions. I cannot guarantee you that this thing won't come up again. It may not but there is still a chance.
2) Before installing your apps, Go to Settings>Storage Info>Unmount SD Card. Select this each time before you install anything. Your app will be installed on to your Phone memory. After installing, Go to Settings again and Mount your SD Card. And of course, you could then Link your app to your partition or whatsoever...
I'll recommend Temporary Method 2 as it is would be easy for you if you're a newbie...Hope that this helped...Thanks:highfive:

Categories

Resources