[Q] How to clear the memory on your Evo - EVO 4G Q&A, Help & Troubleshooting

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.

Related

[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?

Laggy Desire while opening apps

Hey,
I have extremely annoying issue on my Desire. Everytime I am opening an app there is a delay between tapping the icon and displaying app (full loaded screen of the app). Sometimes it takes 3-5 seconds. You can imagine how bothering it is. I found out that when I do full wipe it is great again but it takes less then two three days and lags are back. The biggest dealy has Handcent, Gallery, etc. Sometimes opening settings is laggy too.
Any idea how to get rid of this lags? I think it started some time after rooting my phone. Could be the problem the number of apps installed on a2sd storage? I have currently 106 apps.
I am really desperate! I love Android but this is not the user experinece I would expect from such a system and such a smartphone!!
I use GingerVillain 2.7 based on CM7. I used CM7 before and it was the same.
Do you use software like setcpu to control the cpu frequency or using scripts/software to control the voltage?
MatDrOiD said:
Do you use software like setcpu to control the cpu frequency or using scripts/software to control the voltage?
Click to expand...
Click to collapse
I used JuiceDefender but I had this problem before I use it. There is also some performance settings in CM7-settings. Do you think the problem is somewhere in CPU settings?
I don't think so. Given the fact that after a wipe it works fine, I'd put my money on your davlik cache. As it grows bigger in size, combined with probably low class sd card, it gets slower. You have some tips&tricks how to move davlik to /data in the development section. Or simply buy a faster sd card.
erklat said:
I don't think so. Given the fact that after a wipe it works fine, I'd put my money on your davlik cache. As it grows bigger in size, combined with probably low class sd card, it gets slower. You have some tips&tricks how to move davlik to /data in the development section. Or simply buy a faster sd card.
Click to expand...
Click to collapse
I have Kingston 16GB class4. I know that class4 is not the biggest number but I read that Kingston is as fast as some other cards class6 and that in fact it is not necessary to have so speed card This is a new want I don't really want to pay for another one...
Move dalvik to /data? Do you think this helps? And a2sd storage will work the same way?
devcager said:
I have Kingston 16GB class4. I know that class4 is not the biggest number but I read that Kingston is as fast as some other cards class6 and that in fact it is not necessary to have so speed card This is a new want I don't really want to pay for another one...
Move dalvik to /data? Do you think this helps? And a2sd storage will work the same way?
Click to expand...
Click to collapse
Moving dalvik cache to internal /data partition often solves perfomance problems. That's why some developers do not move it to sd.
It won't disturb the working of a2sd, because has two different versions:
A2SD: All apps you install will be automatically moved to sd-ext
A2SD+: All apps you install plus dalvik cache will be automatically moved to sd-ext.
So when you move dalvik cache to /data, you are using "only" a2sd, but it's still working the same way.
But before this I would try wether wiping dalvik cache in recovery solves your problem.
MatDrOiD said:
Moving dalvik cache to internal /data partition often solves perfomance problems. That's why some developers do not move it to sd.
It won't disturb the working of a2sd, because has two different versions:
A2SD: All apps you install will be automatically moved to sd-ext
A2SD+: All apps you install plus dalvik cache will be automatically moved to sd-ext.
So when you move dalvik cache to /data, you are using "only" a2sd, but it's still working the same way.
But before this I would try wether wiping dalvik cache in recovery solves your problem.
Click to expand...
Click to collapse
Oh. Thanks! I will try! But I am afraid that I tried an app moving dalvik in the past and my phone got extremely laggy and buggy. Maybe it was not compatible app with my ROM
As I said when I do full wipe (so wiping dalvik as well) it is quick several days but then it gets back to laggy phone.
GV 2.7 - I have dalvik cache on Internal memory with Cm7r2 Hboot - no delays like you have, instead instant opening.
You can move it easily by using any terminal (I have better Terminal Emulator Pro).
Commands:
a2sd cachesd - moves Dalvik to SD
a2sd cachesdreset - moves Dalvik to SD, but firstly it wipes it.
a2sd nocache - moves Dalvik to Internal NAND.
a2sd nocachereset - moves Dalvik to Internal, but firstly it wipes it.
Personally, I prefer the "reset" commands.
davebugyi said:
GV 2.7 - I have dalvik cache on Internal memory with Cm7r2 Hboot - no delays like you have, instead instant opening.
You can move it easily by using any terminal (I have better Terminal Emulator Pro).
Commands:
a2sd cachesd - moves Dalvik to SD
a2sd cachesdreset - moves Dalvik to SD, but firstly it wipes it.
a2sd nocache - moves Dalvik to Internal NAND.
a2sd nocachereset - moves Dalvik to Internal, but firstly it wipes it.
Personally, I prefer the "reset" commands.
Click to expand...
Click to collapse
And when it is not enough space on internal??
devcager said:
And when it is not enough space on internal??
Click to expand...
Click to collapse
Change your partition table. With aosp rom you waste almost 150mb on /system. That is one hefty davlik with 110 apps approximately.

Apps2sd

my ROM is a apps2sd ROM. Ext sd is reporting use, i.e. I set 1g of ext and storage says 658mb of ext is free. But in applications my apps give me the choice to Move to SD! ?
I used TB pro to batch move apps to SD but altho my apps now report they are on SD. Ext usage actually went down after the move. Am I confusing Apps on Sd / ext ? So on roms with default apps2sd you ignore in applications that they appear to be on internal mem?
Sent from my HTC Desire using XDA App
Yes ignore it. You've just moved your apps from ext to fat. Read the root memory faq in my signature
Sent from my HTC Desire using XDA App
I've some A2SD questions as well. I'm on CM7 with several apps already installed. My 4GB SD card has already been partitioned to 3GB FAT32 and 1GB ext4.
I was getting low memory warnings so I applied the darktremors script (stable, not nightly) expecting it to automatically move my apps to the sd card like your a2sd guide said it would. However, I still got low memory warning, so I manually moved the app to sd card using manage applications. This however moved the apps to the FAT32 partition, and several of my apps suh as my clock widget and swype no longer work.
How to I get my existing apps to move to the SD card's ext4 partition?
They need to all be moved to phone.
The apps should automatically move to ext download quick system info to check a2sd is working.
If its not try "a2sd reinstall" from terminal emulator.
Dalvik-cache is not moved by default and takes up a whole load of space so don't forget "a2sd cachesd" too
Sent from my HTC Desire using XDA App
OK, I thought the a2sd would move existing apps as well, didn't know I needed to "a2sd reinstall". Can I do the reinstall through an adb shell or do I need to download a terminal emulator?
I don't have a Class 4 card, it's a generic card and I don't know what class it is, so should I move the dalvik-cache to the cache partition using "a2sd cachepart" rather than "a2sd cachesd"?
Do I need to wipe cache and dalvik-cache before running any a2sd commands such as reinstall and cachesd/cachepart?
Lastly, do I need to reboot the phone after running these commands?
Thanks.
goister said:
OK, I thought the a2sd would move existing apps as well, didn't know I needed to "a2sd reinstall". Can I do the reinstall through an adb shell or do I need to download a terminal emulator?
I don't have a Class 4 card, it's a generic card and I don't know what class it is, so should I move the dalvik-cache to the cache partition using "a2sd cachepart" rather than "a2sd cachesd"?
Do I need to wipe cache and dalvik-cache before running any a2sd commands such as reinstall and cachesd/cachepart?
Lastly, do I need to reboot the phone after running these commands?
Thanks.
Click to expand...
Click to collapse
Ive never seen any performance issues even on class 2 cards. Keeping dalvik on NAND may give a miniscule performance increase, but I think its so negligible, you wont notice. But put it where you want. I recommend card though as you need the cache partition for downloads and as it fills with dalvik, it will limit the size of apps you can download from the market.
a2sd reinstall is for if it doesn't work properly. Its always the first thing to try. Then move dalvik. The way dalvik move works is that it wipes dalvik, moves the location then reboots the phone (rebuilding dalvik so expect delays when booting up the first time). For this reason its best to use "terminal emulator" from the market.
Hope this helps.
Alright, thanks! Will try reinstall and moving dalvik cache to the sdcard. Might get a new faster card since 4GB is getting tight anyway.
Tried the reinstall and it seemed to work. I had to move my apps back to the internal memory in 2 batches since I was running out of internal memory. So here's what I did
1. Move batch 1 of apps from sdcard back to internal memory
2. Run a2sd check in adb shell
3. Run a2sd reinstall in adb shell
4. After phone rebooted, checked my storage to find about 50MB of internal space left (woohoo!)
5. Move batch 2 of apps from sdcard back to internal memory
6. checked my storage to find still about 50MB of internal space left. I guess this means a2sd automatically moved them to the sd-ext partition?
When I ran a2sd check in step 2, the output showed that my ext partition type was ext2 rather than ext4 which I formatted the sd-ext partition to. Is this a mistake?
Will try moving dalvik-cache perhaps this weekend.
Are there any benchmarks I can run on the sdcard to make sure it's fast enough for dalvik-cache? Perhaps HDTach/CrystalDiskBench/ATTO/AS-SSD Bench/etc? There aren't any markings on the sdcard that indicates its class. It's a generic HP 4GB sdcard. Will a "dd if=largefile of=/dev/null" for read and a "dd if=largefile1 of=largefile2" for write work?
I've never known a card too slow for dalvik. Just move it. You can move it back again
Sent from my HTC Desire using XDA App
I believe the ext2 is due to some error with a2sd check. I encountered it too when i used the command and i was using an ext4 partition.
As for dalvik, try moving it. If it too slow then move it back.
itachi1706 said:
I believe the ext2 is due to some error with a2sd check. I encountered it too when i used the command and i was using an ext4 partition.
As for dalvik, try moving it. If it too slow then move it back.
Click to expand...
Click to collapse
Sorry, yes its a bug, fixed apparently in the latest BETA.
Don't think I'll be playing with the phone for a while - it's my wife's phone, and it took almost a week for me to figure things out and start from stock to CM7 with A2SD...now it's relatively stable with quite a bit of internal memory available, so I think I'll keep it that way for a while.
Thanks for all the help!
Hello rootsu,
i installed a Data++ rom and now some applications that i install, not from market, disappear after a reboot. From the market it is fine but if i put a .apk in the card and install it, disappear after reboot. Not all of them. Only some of them.
I have a aura sygic gps and this is one of them that disappear after install. The only way that doesn't is to move to the card. And another one, that doesn´te have the option to move to the card, disappear after reboot.
I already wipe dalvik cache, wipe everytnhig, rom install again, etc...
What's the problem? Do you now? I've searched a lot but i cant find anything.
That's a new one on me.
Install, take titanium backup, boot recovery, factory reset, format /data, titanium restore?
Sent from my HTC Desire using XDA App
Thanks, rootsu.
And when i go to install again, say that this will replace another application.
I already made a backup, when i have stock, and restore it and happens the same.
What to do?
Edit: I do a backup, only the application, with titanium, and when restore it and say error and dont restore the application.
Hello rootsu,
i modify de hboot to sense and all problems gone. Its good now. I think thats a problem with a Hboot Data++.
Thanks.
Ah maybe yes. Good work
Sent from my HTC Desire using XDA App
Hello rootsu,
i install hboot sense and Leedroid 3.3.3 and works fine, but i have a question about cache file system. Why my cache system space is 202mb? In the AlphaRev 1.8 page the hboot sense as 40 mb. I dont understand.
The cache system space is from sdcard memory or memory phone?
Thanks
Although I am not rootSU, I feel free to answer:
I am pretty sure it uses space of SD Card. Using internal memory would be a little strange, especially we are talking about 160 MB here.
SwiftKeyed from CyanogenMod with Transparent XDA App
MatDrOiD said:
Although I am not rootSU, I feel free to answer:
I am pretty sure it uses space of SD Card. Using internal memory would be a little strange, especially we are talking about 160 MB here.
SwiftKeyed from CyanogenMod with Transparent XDA App
Click to expand...
Click to collapse
Thanks MatDrOiD.

Apps not being moved to SD. Using latest Fresh/Amon Ra roms

Hey guys,
So I just finished partitioning my SD card, upgraded ext 2 to ext 3, reflashed the latest Fresh rom, and then tried downloading and installing some apps.
However, when I checked my internal memory and SD card memory usage, my internal memory is the one that goes down.
Does DT app2sd not work automatically?
Did I miss a step?
Thanks!
Looks like this is the answer:
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)
Where do I type this in? And how do I verify I have DT installed?
Thanks!
I use an app called 'A2SDGUI', its easier than typing commands. Simple interface too. Check it out.
We're comin from a pure power source.
xpiamchris said:
Looks like this is the answer:
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)
Where do I type this in? And how do I verify I have DT installed?
Thanks!
Click to expand...
Click to collapse
If the kernel and the ROM support A2SD the only command you should need after partitioning the SD card is a2sd reinstall which will move the apps to the SD card intermediately and then reboot the device. The commands can be entered via terminal emulator right on the phone (remember to su first) OR using a computer and using adb shell.

[Q] Move cache (not dalvik cache) to sd-ext?

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.

Categories

Resources