[Q] Move cache (not dalvik cache) to sd-ext? - Desire Q&A, Help & Troubleshooting

I tried stock a2sd with Y, Y, Y and after installing a load of apps it says "Insufficient storage available" for each new app (apart from a few small apps dotted around the middle of the sea of Insufficient storage available errors). Titanium Backup says that every partition has loads of free space.
In recovery it says the "Cache" partition is nearly full. How can I move this to the sd-ext partition (not the dalvik cache)?
Also, does stock a2sd with Y, Y, Y, do the same thing as data2sd and do I need to do a2sd install each time I install a new app?

Not 100% sure but if ur s-off rooted etc u can use terminal emulator from market and type
su
cachesd
Maybe someone can confirm this as i hav'nt used it myself but seen it in another post
Sent from my HTC Desire

Thanks but I already tried that - it seems to only move the dalvik cache.

maybe this will help
http://www.google.ie/url?sa=t&rct=j..._umVDA&usg=AFQjCNGWhD-cvvnyhZ8edSu7lhvb3UVryA
or try here
http://www.google.ie/url?sa=t&rct=j...t6CXDA&usg=AFQjCNH4BDsehxz01xYhghyEKjNzYbhSYA

Thanks. In the second link you posted I found this post, that explains you need to install Darktremor Apps2SD. Can this be used with stock A2SD, or do I need to start a fresh? It does look like you need to start a fresh because of overlapping commands and it has the same commands as stock A2SD anyway.
I have an sd-ext partition - will the script move it to there or the SD card and will I have to run it each time I install a new app?
I did try searching the forums and Google with different terms, but I couldn't find anything.
EDIT: It only mentions the Dalvik Cache, NOT the Cache in the Darktremor Apps2SD link below. I'll try it, but it looks like it's back to square one. Says here: "cachesd - Moves Dalvik cache files to the ext2/ext3/ext4 partition on your secure digital card. Creates Dalvik Cache to SD flag."
EDIT2: I found here that using Mount2SD there's an option to move the Cache when it's too small! But I can't find a download link.
EDIT3: Found it!
Cache - m2sd cache <enable/disable/auto>
By enabling this option, the script will link /sd-ext/cache to the /cache location. This is useful if your cache partition is to small to download big apps from market.
If you don't have an sd-ext partition, the cache will be linked to /data/cache instead.
Also by setting the auto option instead of enable, the script will only remount the cache if the nand cache is below 40mb.
Click to expand...
Click to collapse

Wrong post.

Related

[Q] How to clear the memory on your Evo

Can someone please tell me how to clean up all the memory on my phone? I have moved all my apps to the SD card and it still shows that my phone memory is about full. My can I do to clear out all the unnecessary stuff and get my phone memory down?
Options:
download Cache Cleaner NG.
Go into Recovery and wipe the Cache and Dalvik Cache
Don't use the stock Froyo apps to SD method, instead use the Darktremor method posted below. Make sure you move the cache to sd by typing a2sd cachesd in terminal emulator. Also, it is recommended that your SD card is Class 4 or higher.
http://forum.xda-developers.com/showthread.php?t=715938&highlight=apps2sd
twin001 said:
Options:
download Cache Cleaner NG.
Go into Recovery and wipe the Cache and Dalvik Cache
Don't use the stock Froyo apps to SD method, instead use the Darktremor method posted below. Make sure you move the cache to sd by typing a2sd cachesd in terminal emulator. Also, it is recommended that your SD card is Class 4 or higher.
http://forum.xda-developers.com/showthread.php?t=715938&highlight=apps2sd
Click to expand...
Click to collapse
Thank you, I will give it a try!
Just a thought....but Dalvik Cache can be cleaned up in Titanium Backup as well. Not sure to what extent and how good of job it does though.
Maybe someone can comment a bit further on this.

[Q] Cyanogenmod v.7 and dalvik cache

Recently I've managed to root using Unrevoked and flash a new ROM to my HTC Desire, I currently have Cyanogenmod v.7 RC2 running and it's fantastic!
However I'm already running low of internal memory.
I've done some reading about how to boost this by setting up a partition on my memory card, however there are some things that don't quite add up in my head. Below is a list of what I think I need to do to obtain A2SD+ for Cyanogenmod v.7 RC2, correct me if I'm wrong anywhere please
Make a backup using ROM manager
Copy all important data from memory card as I will have to format it - This includes the backup.
Use ROM manager to format the SD card and create a ext3 partition
Download S2E (Simple2ext) from the android marketplace and tick the box to move the dalvik cache to the SD card.
If the process list above is correct then my questions are:
Do I need to have obtained S-OFF to complete this process?
Do you need to start from a clean slate when moving the dalvik cache, i.e. should I factory-reset/wipe dalvik cache/wipe cache and then install Cyanogenmod v.7 RC2 again?
When you move over the dalvik cache is this a permanent move? For example if I had problem booting and I went through the factory-reset/wipe dalvik cache/wipe cache and then install Cyanogenmod v.7 RC2 again would this reset the dalvik cache back to its original location on the internal memory? Or would something more complicated need to be done to achieve this?
Thank you in advance for any help,
I'm slowly learning the basics
-Jackson
Bump,
any help would be greatly appreciated.
For any tl;dr
I really just want to know if moving the Dalvik cache to the SD card is permanent? Or will a full re-flash restore the dalviks original path back to the internal memory?
1) No.
2) No, don't do anything.
3) The dalvik cache does get moved but not too sure if it's permanent.
I would say to move dalvik cache back to internal, you would have to wipe /system because it's a script that gets installed as you need to remove the script. It's not permanent the way your thinking of. Just if you move it using the script then I don't think you can move it back whilst the script is installed. When the script is removed it will reset and go back to internal. Does that even make any sense?

Cache out of space

Im trying to install some application updates from the market. They will not download because in CATLOG I see "NOT ENOUGH SPACE LEFT" ... the cache folder has 420K available. I tried uninstalling apps I never use but that didnt help.
What can I do to reolved this? I am using SPRINT LOVERS ROM which doesnt support moving the cache to the SD card. ANY ideas would be appreciated....
Update: I erase the dalvik-cache folder and when it re-created, I have 7.4MB of free space.. BUT the program I need to update is a 15MB download ... I removed a few more programs but still not enough space.. What I ended up doing is using ROOT EXPLORER to DELETE the entire contents of the DALVIK CACHE then do into market and it downloaded.
Is there a way I can determine what programs are using the most space in the cache folder? I need to free up space so I would have to unistall more programs but I only want to uninstall large programs (ones that will give me enough free space back)
Have you wiped your cache partition from the recovery? If that and wiping the market's cache doesn't help you'll probably need to uninstall some apps.
Sent from my PC36100 using XDA Premium App
xHausx said:
Have you wiped your cache partition from the recovery? If that and wiping the market's cache doesn't help you'll probably need to uninstall some apps.
Sent from my PC36100 using XDA Premium App
Click to expand...
Click to collapse
Yes I did that.. BUT it rebuilds the cache and its filled up again. is there a utility I can use to see which programs take up the most cache space??
So what this basically means is that you have too many apps installed to be able to put your dalvik cache on the cache partition. By default it's on the data partition, and NOT the cache partition, but some ROMs move it to the cache partition by default. Or maybe you moved it there.
The idea of moving dalvik to the cache partition to free up space for more apps is self defeating. I don't get why anyone does it. The more apps you have, the more space you need for dalvik. So if you've run out of space on /data with dalvik there, you're probably at or will soon pass the point where you have too many apps to fit your dalvik on /cache. If you have few enough apps that you can fit dalvik on /cache, you probably could just leave it on /data anyway.
Basically, either:
1. Keep dalvik and the apps on /data. This may not work for you based on the fact that you've got a lot installed already.
2. Move dalvik to an ext3 partition if you've set one up.
3. Move apps to an ext3 partition, and leave dalvik on /data
4. Move both apps and dalvik to an ext3 partition.
Find the darktremor a2sd thread for details on how to do any of those.

[SOLVED]"phone storage getting low"

Hi,
I run Leedroid HD V3.3.3. (Android 2.3.3), with Data++ so I am S-off have reformatted my NAND memory (CM7 Hboot I think) and 1GB EXT partition on my SD card.
So the point is, I should have more then enough space for apps and stuff. But I keep getting the message "phone is getting low on storage". When I go to "settings ->manage application". I see 267MB used, only 20MB free.
But when I add the apps I have installed, there is no way I have 267MB worth of apps installed...
I already tried clearing cache partition in recovery mode. And also tried to clear browser cache and history.
I searched google and found a lot of people with similar problems, but no real fix anywhere...
Can someone help please?
Grtz
Download diskusage app and check. Your app data is on /data so it is not that hard to fill /data partition on CM7R2. I have roughly 50mb free.
So how can I fix this then?
You can also check via Titanium Backup menu (app usage or sth like this), the best method is changing version of hboot (if Your ROM support other hboot!) or delete items which You don't use, move some apps to SD (if You use ROM in which we can move apps) with APP2SD app
swimon said:
Hi,
I run Leedroid HD V3.3.3. (Android 2.3.3), with Data++ so I am S-off have reformatted my NAND memory (CM7 Hboot I think) and 1GB EXT partition on my SD card.
So the point is, I should have more then enough space for apps and stuff. But I keep getting the message "phone is getting low on storage". When I go to "settings ->manage application". I see 267MB used, only 20MB free.
But when I add the apps I have installed, there is no way I have 267MB worth of apps installed...
I already tried clearing cache partition in recovery mode. And also tried to clear browser cache and history.
I searched google and found a lot of people with similar problems, but no real fix anywhere...
Can someone help please?
Grtz
Click to expand...
Click to collapse
have you read through all of the FAQ for that rom, i found it very useful
it's likely you're running low because of dalvik cache on nand by default, you can move it to sd via a zip from that post. I used to run that rom, had plenty of space with cm7 hboot and dalvik on sd.
g1b50n said:
You can also check via Titanium Backup menu (app usage or sth like this), the best method is changing version of hboot (if Your ROM support other hboot!) or delete items which You don't use, move some apps to SD (if You use ROM in which we can move apps) with APP2SD app
Click to expand...
Click to collapse
i agree, deleting unused apps is often the easiest way!
but no, no need to manually 'move to SD' with this rom, keep everything on 'internal', then apps will be moved to the partition by default.
(you can move to sd, but then you're using the FAT32 partition of the card, hence wasting the partition)
Check if you have correctly installed D2SD script.
Probably you have to move dalvik cache to your SD. I have a different Rom but had the same problem, moving dalvik cahce fixed it for me.
thanks for all the replies,
sorry I kinda lost eye of this thread (because it's my brothers phone)
but I will definately try to move the Dalvik to SD, hope that works.
Greetings
try a rom with amarullz's AD2SDX, like Runnymede AIO - by sebastiaan15
before i only had 15 MB free (had to deleting randomly some apps), now 340MB free (same apps installed).
must by s-off and an CM7r2 HBOOT
Moving Dalvik to Cache with the script from Leedroid's topic worked like a charm,
thanks everyone.
Grtz!

low storage (dalvik cache vs Android 4.1.2 vs MIUI ROM)

Hi,
I was thinking about how to solve low storage problems on my HTC Desire, I have a question about Link2SD in relation to MIUI ROM and Android 4.1.2
To increase the available storage, in my previous ROM (CM7.1 on Android 2.3.7) I used Link2SD in order to move to the SD-EXT partition either apk, libs and dalvik cache.
I installed Link2SD even on my new MIUI ROM on Android 4.1.2.
I'm able to move either apk, libs and dalvik cache to SD_EXT as expected BUT (!) as soon as I restart the phone I'm prompted with a screen saying "optimizing apps" and if I open again Link2SD I see that:
apk and libs are still on the SD-EXT partition
dalvik cache has been moved back to internal memory.
Sincerely I don't know if this has to be addressed to Android 4.1.2 or MIUI ROM
Any suggestion about how to actually move dalvik cache to EXT ??
Thanks in advance for your support
Don't use Link2sd.
Use this script. It will move app and dalvik to sd-ext.
http://db.tt/m4sQLDOI
abaaaabbbb63 said:
Don't use Link2sd.
Use this script. It will move app and dalvik to sd-ext.
http://db.tt/m4sQLDOI
Click to expand...
Click to collapse
thanks for your reply.... but what does this script do?
will it move only user app?
will t let me choose which apps must be moved? or does it move in a massive way?
The problem is not that Link2SD cannot move dalvik to EXT but the problem is that MIUI/Android move back dalvik to internal memory after reboot.
Does this script solve that too?

Categories

Resources