Hi there
as I asked, I really want to know how these things actually work.
From my understanding, even though we have App2SD, the internal memory is still decreased everytime we install new app because it will generate the cache for that application (I tried install 5mb app, and what i get is i lost around 1mb of internal memory) is what I understand correct??
Now I currently have 150+ app installed in my phone with App2SD and I have 27mb internal memory left. If I move the dalvik-cache, my internal memory will boost up to 98mb. And if I install more apps, the internal memory won't be decreased anymore. but should I move the dalvik-cache?
According to some thread, it said that we shouldn't move dalvik-cache since it will make phone slower. But in my case I only have 27mb left in my internal memory so I can only install around 30 more apps. What do you suggest in this case?
Thx so much
PS. I attach the photo, pls have a look, why there are so much memory used in Data? thx
moving /data/data to sd would better than dalvik cache
tempo10 said:
moving /data/data to sd would better than dalvik cache
Click to expand...
Click to collapse
Thank you, I did it but still... when I install apps, my internal memory is deceased Because dalvik-cache still affects my internal memory right? But I think I lost less internal memory compare to before(without moving /data/data to sd)
Is this mean I have limited of app installation even though I have app2sd?
thx
yes,
http://en.wikipedia.org/wiki/Dalvik_virtual_machine
you may take at look at DalvikVM so you would know what does dalvik-cache do actually.
Rather than moving /data/data,
you may try to delete market, google map, browser cache and make a symlink to sdcard as well
tempo10 said:
yes,
http://en.wikipedia.org/wiki/Dalvik_virtual_machine
you may take at look at DalvikVM so you would know what does dalvik-cache do actually.
Rather than moving /data/data,
you may try to delete market, google map, browser cache and make a symlink to sdcard as well
Click to expand...
Click to collapse
Where is the cache located for market and browser? What folder/files do you actually symlink to sd card and how do you do it?
Goose247 said:
Where is the cache located for market and browser? What folder/files do you actually symlink to sd card and how do you do it?
Click to expand...
Click to collapse
yeah, I would like to know how as well haha
Can you teach us how to delete market, google map, browser cache and make a symlink to sdcard?
thank you
i would like to know too.. please do tell
Related
I've been having problems with the internal memory on my hero getting very low, and my phone seems to be slowing down a lot as a result.
I have apps2sd set up, and that seems to be working fine, however looking through the folders on my phone, the /system/xbin one seems very very large (582,031,812 bytes according to Astro).
What is this folder, and is there anything I can do to free up space? Would deleting the contents be a good idea?
if i'm not totally wrong that would be around 580mb, which just can't be true. besides that the internal memory is in /data, while /system/xbin is in /system, so totally different partitions (it is like asking "my space on d:\ is getting low, should i delete c:\xyz?"). last but not least you will most certainly break your system if you delete stuff from there. and the contents of everything inside /system ususally doesn't change, except you do it manually or use any kind of update.zip (new rom, theme, etc).
try wiping dalvik-cache from recovery, that might free a few mb.
Thanks.
I thought it didn't make any sense, and that it must be in a different place to the internal memory. Ok, I'll look through data to work out if anything is taking up more space than expected.
What will I lose by wiping dalvik-cache?
Why would my memory keep on shrinking? My apps are on my sd card, so it shouldn't be them...
Sausageman said:
What will I lose by wiping dalvik-cache?
Click to expand...
Click to collapse
nothing, it is recreated on boot. the problem is that when you uninstall an app the optimized "copy" of the app is not deleted from dalvik-cache.
Sausageman said:
Why would my memory keep on shrinking? My apps are on my sd card, so it shouldn't be them...
Click to expand...
Click to collapse
for once through dalvik-cache, everytime you install an app it takes some space in dalvik-cache, though not as much as the app itself. besides that the app data (settings, savegames etc) is stored in /data, as well as system settings.
Hmm, deleting the dalvik-cache didn't make any difference.
So i use megatron rom with app2sd. I install so many apps and without i notice my phone memory decreasing to 15mb. But my app2sd space are 350mb. And 'text message memory full' appear in my notification bar means i cant receive a new text message. And after i reboot my phone, some of my apps and games in the menu are gone. And when i trt to uninstall things it took forever same as if i try to install apps from the market.
Of course i know how to fix this, just format my phone. BUT i need to backup all my pictures, music and things and backup my apps using titanium back. But the problem is like i said some of my apps are gone and i cant backup them all!
I plan to wipe my dalvik cache in the custom recovery to free my phone memory. Is it ok? Will my apps get deleted if i do that?
Help!
Sent from my LG-P500 using XDA App
I recommend u back up ur music and pictures in a pc and flash void rom
ccdreadcc said:
I recommend u back up ur music and pictures in a pc and flash void rom
Click to expand...
Click to collapse
The problem is, i cant connect my phone to pc using the usb. When i check the 'mass storage only', it stay like that forever. There is no 'turn on usb storage' message appear.
Sent from my LG-P500 using XDA App
use a card reader
try reflashing megatron ,might work.
try entering this in terminal a2sd cachesd
Note: If you apply Darktremor Apps2SD and still notice internal storage is decreasing, this is due to the dalvik-cache not being moved. By default, Darktremor Apps2SD will not move the dalvik-cache on boot.
If you want to move the dalvik-cache to the sd card, type:
a2sd cachesd (move dalvik to sd card)
a2sd cachesdreset (move dalvik to sd card and clears contents of dalvik-cache)
a2sd cachepart (move dalvik to cache partition)
a2sd cachepartreset (move dalvik to cache partition and clears contents of dalvik-cache)
Make sure your SD card is at least a class 4 before doing this, otherwise you may run into performance issues, unless you move the dalvik to the cache partition.
You still have other caches (i.e. Browser caches) and other data being stored and updated in internal storage, so the number of free space will continue to drop, but at a slower rate (unless you are engage in heavy web surfing, tweeting or facebook socializing.)
ccdreadcc said:
use a card reader
Click to expand...
Click to collapse
my card reader cant read my sd card. sad
mathew3184 said:
try reflashing megatron ,might work.
Click to expand...
Click to collapse
hmm do you think so? i will try this but i will do a nandroid backup first.
mathew3184 said:
Note: If you apply Darktremor Apps2SD and still notice internal storage is decreasing, this is due to the dalvik-cache not being moved. By default, Darktremor Apps2SD will not move the dalvik-cache on boot.
If you want to move the dalvik-cache to the sd card, type:
a2sd cachesd (move dalvik to sd card)
a2sd cachesdreset (move dalvik to sd card and clears contents of dalvik-cache)
a2sd cachepart (move dalvik to cache partition)
a2sd cachepartreset (move dalvik to cache partition and clears contents of dalvik-cache)
Make sure your SD card is at least a class 4 before doing this, otherwise you may run into performance issues, unless you move the dalvik to the cache partition.
You still have other caches (i.e. Browser caches) and other data being stored and updated in internal storage, so the number of free space will continue to drop, but at a slower rate (unless you are engage in heavy web surfing, tweeting or facebook socializing.)
Click to expand...
Click to collapse
sadly, like i said, i cant install any more app. i havent install terminal emulator. ohh i wish i had terminal emulator installed before i encounter this problem
shotgun32 said:
my card reader cant read my sd card. sad
Click to expand...
Click to collapse
try using a linux system.. its prob because ur system doesn't read the funky ext partitions
shotgun32 said:
sadly, like i said, i cant install any more app. i havent install terminal emulator. ohh i wish i had terminal emulator installed before i encounter this problem
Click to expand...
Click to collapse
sorry for doubling, but use ADB - its like terminal emulator but it runs on pc and has nothing to do with the phone
dongimin2 said:
try using a linux system.. its prob because ur system doesn't read the funky ext partitions
Click to expand...
Click to collapse
How to use the linux system?
Sent from my LG-P500 using XDA App
dongimin2 said:
sorry for doubling, but use ADB - its like terminal emulator but it runs on pc and has nothing to do with the phone
Click to expand...
Click to collapse
And how to use the ADB?
Sent from my LG-P500 using XDA App
I created a partition of 512 MB on my 16GB card to install LINK2SD but eventually ended up formatting my whole data. I did install Link2sd and then moved up all the huge apps like Yahoo Messenger with the plugin and other games and stuff. I had free internal space of about 77MB, I switch off my phone and I turn it on and its 33MB. What to do?
have you do titanium backups or nandroids before using link2sd? it is possible to damage your system severely and you shall have done that.
second, for ur issue, try checking the memory displays in link2sd
are you sure the app "link2sd" is placed in the phone storage? it may have moved back the apps after a reboot
did you note down what was the internal memory space before performing link2sd? was it 33mb?
hope i helped and good luck
Miasmic said:
have you do titanium backups or nandroids before using link2sd? it is possible to damage your system severely and you shall have done that.
second, for ur issue, try checking the memory displays in link2sd
are you sure the app "link2sd" is placed in the phone storage? it may have moved back the apps after a reboot
did you note down what was the internal memory space before performing link2sd? was it 33mb?
hope i helped and good luck
Click to expand...
Click to collapse
Yeah I restored my titanium backup. Before installing link2sd it was around 28 MB. After moving the apps it was around 77MB and now after a restart its like 33MB. Yes I did check from the storage info option of link2sd.
I heard [Read rather] somewhere that Link2SD sometimes unlinks the libraries after a reboot, If you had cleared the dalvik cache, the dalvik cache of all the linked apps would have also been unlinked. So, if you link all the apps again, It will again free the space on your Phone memory. I have to do it everytime I clear the dalvik cache or I reboot my phone for some reason. It is irritating because I have 93 apps and It is time consuming to do all manually everytime.
KaKkaR0T said:
I heard [Read rather] somewhere that Link2SD sometimes unlinks the libraries after a reboot, If you had cleared the dalvik cache, the dalvik cache of all the linked apps would have also been unlinked. So, if you link all the apps again, It will again free the space on your Phone memory. I have to do it everytime I clear the dalvik cache or I reboot my phone for some reason. It is irritating because I have 93 apps and It is time consuming to do all manually everytime.
Click to expand...
Click to collapse
ahaha, true true
so i recommend app2sd+ instead of link2sd or whatever2sd, of course only if your rom supports it
I've never had Link2SD unlink anything. If you have any apps on the sdcard prior to use, it screws up, and if you move widgets it will as well, but I've been using Link2SD with stock LGP509T rom for months now with 0 issues like what you're describing.
If you wiped dalvik cache, you need to relink it. For libraries, do not bother, they will just get extracted back no matter what, so...
I've been wondering if there's a way to do a full apps2sd without making a partition on the sd card. My ace is running a stock rom. Rooted and running 2.3.5. The internal memory really sucks and I'm thinking of getting a 8GB micro sd just to store it all.
Any hints or tips?
what do u mean by "full"?
if u just search a2sd on market, many of it will allow moving app to sdcard without even creating partition. but it just move apk tho. dalvik cache and data still occupy internal memory.
an0nym0us_ said:
what do u mean by "full"?
if u just search a2sd on market, many of it will allow moving app to sdcard without even creating partition. but it just move apk tho. dalvik cache and data still occupy internal memory.
Click to expand...
Click to collapse
I have an app called app 2 SD from the market and I don't think it does what it says. If all the apps were installed on the SD, wouldn't the internal memory be almost completely free? Or do I have a misunderstanding of apps2sd? Unless the apps2sd are different for custom roms or something?
u need to also install a2sd enabler to be able to move all apps that previously restricted by android system to only install in internal. but then most widget would be unusable if move to sdcard using that a2sd app from market. and also as i said earlier, it will only move apk. dalvik cache and data still occupy internal so it will eventually become cluttered and full again.
also i think users here if talking about a2sd, it means darktremore a2sd script. it allow moving full dalvik cache and data to sdcard without giving problem to widgets, but it needs second sdcard partition.
so to answer ur question, and if by "full" u mean full moving of dalvik cache and data to sdcard without second partition, no... theres no a2sd app that can move dalvik cache and data to sdcard without second partition. none that i can think of. darktremore a2sd script and similar variant script that can fully move dalvik cache and data to sdcard needs second partition.
the simplest way is make an ext partition using cwm recovery and use link2sd to link the apps to sd card. it also moves the dalvik cache and dex to sd. I am using link2sd and it does what it meant to
i just wanted to ask if it is possible to re-partition /system and /data partition .. i am thinking of pulling some of /system memory and add it to /data because my system has around 60mb+ more free memory which i can't use while my /data is only less than 20mb free and its irritating to see the low memory notification ..
or is it possible to pull some of /cache memory and add it to /data ?
thanks
xlSKYFiRElx said:
i just wanted to ask if it is possible to re-partition /system and /data partition .. i am thinking of pulling some of /system memory and add it to /data because my system has around 60mb+ more free memory which i can't use while my /data is only less than 20mb free and its irritating to see the low memory notification ..
or is it possible to pull some of /cache memory and add it to /data ?
thanks
Click to expand...
Click to collapse
Try using scripts like CronMod to increase you internal memory. All you need is a rooted phone and an SD Card with ext partition. You can create an ext partition from CWM (Advanced> Partition SD card> Size (maximum 1GB)>Cache (0MB)). Make sure to backup your SD card before you create the ext partition. Here is the link to the script,
Cronmod Unofficial / Data2sdext
Hope I Helped
mahithm said:
Try using scripts like CronMod to increase you internal memory. All you need is a rooted phone and an SD Card with ext partition. You can create an ext partition from CWM (Advanced> Partition SD card> Size (maximum 1GB)>Cache (0MB)). Make sure to backup your SD card before you create the ext partition. Here is the link to the script,
Cronmod Unofficial / Data2sdext
Hope I Helped
Click to expand...
Click to collapse
i found CronMod a couple of days ago, well i tried Data2Ext .. when i installed it my phone was 80% more laggy, i don't know why .. but i kinda like it more since it shows the sd-ext partition on the app manager instead of the original device storage .. but still, i'll try cronmod
also, it says on the thread that the attached files are outdated, but the links on the post seems to be dead
also, i added facebook, facebook messenger, google play services, hangout, clean master and quickpic to the .zip of the rom so they would be pre-installed to the /system but still my device storage is only at 30~40% initial after flashing considering that the apps are installed in the /system partition
i also tried TouchWiz ROM, it's great but i haven't installed a single app yet but the /data partition seems to be 60% Loaded already ?? is there a remedy for it ? thanks
you helped me again, hit thanks :good:
by the way, will cronmod work with pre-installed apps ? i mean the system apps ?? will cronmod manage to move all of its Dalvik Cache and Data to SdExt ??
xlSKYFiRElx said:
i found CronMod a couple of days ago, well i tried Data2Ext .. when i installed it my phone was 80% more laggy, i don't know why .. but i kinda like it more since it shows the sd-ext partition on the app manager instead of the original device storage .. but still, i'll try cronmod
also, it says on the thread that the attached files are outdated, but the links on the post seems to be dead
also, i added facebook, facebook messenger, google play services, hangout, clean master and quickpic to the .zip of the rom so they would be pre-installed to the /system but still my device storage is only at 30~40% initial after flashing considering that the apps are installed in the /system partition
i also tried TouchWiz ROM, it's great but i haven't installed a single app yet but the /data partition seems to be 60% Loaded already ?? is there a remedy for it ? thanks
you helped me again, hit thanks :good:
Click to expand...
Click to collapse
This is how CronMod works. It basically loads the /data to /sd-ext so that now /sd-ext contains all the data files. Now we mount the ext partition as the new /data mount point. Then all files in /sd-ext are moved back to /data. Since certain files like gps will not work when it is in ext partition, it is then moved back to /sd-ext. Then all the contents in /data and /sd-ext in binded so that any change in any of them is reflected to original. This is initialized every time at the boot. The reason CronMod lags is because the ext partition is loaded as the mount point for /data. Since SD card read/write operations are slower than internal memory read/write operation, /data operation will be slow. This is can be solved to a greater extend if you have a Class 8 or 10 SD card. BTW which verson did you install? If you installed CronMod by croniccorey then gps will not work. Go with CronMod Unofficial by Styke. Also this doesn't affect /system partition. Using this script will not increase the /system space. It will only increase the /data memory, so that you can install more apps and games.
---------- Post added at 11:05 AM ---------- Previous post was at 11:00 AM ----------
xlSKYFiRElx said:
by the way, will cronmod work with pre-installed apps ? i mean the system apps ?? will cronmod manage to move all of its Dalvik Cache and Data to SdExt ??
Click to expand...
Click to collapse
Since this script moves the /data partition to your ext, none of the pre-installed apps are moved to ext partition. /system thereby system apps remains intact. I suggest you install apps like facebook, facebook messenger, google play services, hangout and clean master after you setup this script. Once you install an app as system app, it can never be moved to ext partition. Hope I Helped
Since this script links the /data partition to your ext, none of the pre-installed apps are moved to ext partition. /system thereby system apps remains intact. I suggest you install apps like facebook, facebook messenger, google play services, hangout and clean master after you setup this script. Once you install an app as system app, it can never be moved to ext partition. Hope I Helped
Click to expand...
Click to collapse
i see, i think you didn't understood my question, sorry for that .. i mean, will the system applications cache and dalvik cache be linked to the sd-ext ?? .. nonetheless, i'll try again
but, do you happen to have a link to the latest versions ?? the latest version links are dead on the thread so i can't find a download link
thumbs up again for you mate, you help a lot
EDIT: also, will be SDHC be sufficient to aid the lag (even for a little ?) its a Class 10 32GB RIDATA MICRO SDHC
xlSKYFiRElx said:
i see, i think you didn't understood my question, sorry for that .. i mean, will the system applications cache and dalvik cache be linked to the sd-ext ?? .. nonetheless, i'll try again
but, do you happen to have a link to the latest versions ?? the latest version links are dead on the thread so i can't find a download link
thumbs up again for you mate, you help a lot
EDIT: also, will be SDHC be sufficient to aid the lag (even for a little ?) its a Class 10 32GB RIDATA MICRO SDHC
Click to expand...
Click to collapse
LOL I explained everything in detail thinking that you will understand. Long story short, CronMod script basically moves /data to ext partition. Since all the system and user application's dalvik cache is present in /data, Yes, it will be moved to ext. Nothing in /system will be moved to ext partition. All system apps are present at /system/app, so it can't be moved. User apps that you install goes to /data/app, so those will be moved. Also download the latest version from the "Attached Files" section in the same link. It works. Before you buy a new SD Card, try this in your current SD Card. See if it lags a lot. I might have an another solution. If that too doesn't work, you can buy a new SD Card. Do post the result. Hope I Helped
mahithm said:
LOL I explained everything in detail thinking that you will understand. Long story short, CronMod script basically moves /data to ext partition. Since all the system and user application's dalvik cache is present in /data, Yes, it will be moved to ext. Nothing in /system will be moved to ext partition. All system apps are present at /system/app, so it can't be moved. User apps that you install goes to /data/app, so those will be moved. Also download the latest version from the "Attached Files" section in the same link. It works. Before you buy a new SD Card, try this in your current SD Card. See if it lags a lot. I might have an another solution. If that too doesn't work, you can buy a new SD Card. Do post the result. Hope I Helped
Click to expand...
Click to collapse
i get stuck at bootscreen with cronmod, i don't know why, with Data2Ext, with my previous experience with is is ultimate lag
xlSKYFiRElx said:
i get stuck at bootscreen with cronmod, i don't know why, with Data2Ext, with my previous experience with is is ultimate lag
Click to expand...
Click to collapse
Are you using any other data2ext scripts currently apart from CronMod? Usually installing CronMod on a device that already has a data2ext script will give this error. Make sure to delete all other data2ext scripts if present. Since you are stuck at boot screen, you will have to reflash the rom. Make sure to do Mounts and Storage>Format /system before flashing the new rom. There are two ways by which you can install CronMod. First one is by flashing the zip from CWM (in that case you have to mount /system before flashing). Second one is the easiest one. Just extract the CronMod zip file. You will get a file 40int2ext in /system/etc/init.d/. Now extract the rom that you are going to flash, put the file 40int2ext in /system/etc/init.d/ and then compress it back. Done! Now flash the rom and you are good to go. Try the second method. Make sure you have an ext partition and the rom has init.d support (all custom roms has init.d support). If that method doesn't work or devices lags like hell, then post here and I'll be glad to share the other method. Hope I Helped