[EVO 4G Q&A, Help & Troubleshooting] james873:
Since this guide was posted, I'm getting questions ask on how to use Darktremor Apps2SD.

Darktremor Apps2SD is a command line interface (CLI) program (a GUI is planned, but has not been built).

You will need either a terminal program from the Android Marketplace, or you will need ADB from the Android Software Development Kit (SDK).

If you are using a terminal program, simply start up the program. Type su to allow the terminal program to gain superuser access (if you are using Superuser.apk to manage your superuser permission, this will automatically trigger a popup on the very first run. Press Accept to allow the terminal program superuser access).

If you are using ADB, simply navigate to the directory you stored the Android SDK in. Then navigate to the Tools directory under the SDK folder. Type adb shell in a command line on your computer (ADB can be found in the SDK under the Tools folder).

Both of these methods should bring you to a prompt that displays a pound sign (#).

Once you have the superuser prompt, simply type /system/bin/a2sd followed by the command you wish to use (i.e. /system/bin/a2sd check)

The list of commands are below.

Quote: Syntax

Syntax: /system/bin/a2sd command

command is one of the following:

Quote: Standard Apps2SD Commands: --------------------------------------------------reinstall Moves free and paid apps to the ext2/ext3/ext4 partition on your secure digital card. Removes the No A2SD flag file. This is used if you have already executed an a2sd remove command. Otherwise, this part is automatically performed when Apps2SD is started. File removed: /data/.noa2sd

remove Moves free and paid apps to the internal phone storage. Creates the No A2SD flag file. File created: /data/.noa2sd Quote: Swap Partition Commands: --------------------------------------------------reswap Removes the No Swap flag. Allows A2SD to activate the swap partition. This is used if you have already executed an a2sd noswap command. Otherwise, this part is automatically performed when Apps2SD is started. Note: This command has no effect in CyanogenMod 6. Swap space is disabled in the kernel. File removed: /data/.noswap

noswap Creates the No Swap flag. Prevents A2SD from activating the swap partition. Note: This command has no effect in CyanogenMod 6. Swap space is disabled in the kernel. File created: /data/.noswap Quote: Dalvik Cache Commands: --------------------------------------------------cachesd Moves Dalvik cache files to the ext2/ext3/ext4 partition on your secure digital card. Creates Dalvik Cache to SD flag. Quote: Caution: If your phone fails to mount the ext2/ext3/ext4 partition and your dalvik-cache is pointed to the SD card, you will likely end up in a boot loop. Execute a2sd nocache from adb shell to rectify the issue. File created: /data/.dalvikcacahe File removed: /data/.dcpartition

cachesdreset Same as cachesd above, but erases the contents of the dalvik-cache after move. This performs both the a2sd cachesd and a2sd resetcache all in one command. File removed: /data/.dcpartition

cachepart Moves Dalvik cache files to the /cache partition in your phone. Creates Dalvik Cache to Cache Partition flag. Quote: Caution: Some phones do not have enough space to put the dalvik-cache on the cache partition. Also, some roms that have SenseUI installed will not work well with the dalvik-cache on the cache partition. If you experience issues such as force closes, try moving the dalvik-cache to the SD card (a2sd cachesd) or internal storage (a2sd nocache) instead. File created: /data/.dcpartition File removed: /data/.dalvikcache

cachepartreset Same as cachepart above, but erases the contents of the dalvik-cache after move. This performs both the a2sd cachepart and a2sd resetcache all in one command. File removed: /data/.dalvikcache

nocache Moves Dalvik cache files to the internal phone storage. Removes all Dalvik Cache flags. File removed: /data/.dcpartition, /data/.dalvikcache

nocachereset Same as nocache above, but erases the contents of the dalvik-cache after move. This performs both the a2sd nocache and a2sd resetcache all in one command. File removed: /data/.dcpartition. /data/.dalvikcache

resetcache Clears the dalvik cache and restarts phone. Quote: Apps2SD Diagnostic Commands: --------------------------------------------------check Performs a symlink and flag file check on your setup. Outputs a report that shows you if there are issues with your Apps2SD setup.

repair Performs a repair of all symlinks based on flag file activation.

diskspace Shows disk space statistics for the ext partition.

sysinfo Displays information about your phone, partitions, swap, and more. Also writes a dump file that has an entire profile of your phone. This is for troubleshooting only. File Created: /data/dtsysdump.txt

swapspace Shows swap space statistics for all swap space active on the phone. Has no effect with CyanogenMod 6, as the swap space does not activate Quote: ZipAlign Commands: --------------------------------------------------align Performs a one-time zipalign on all APK files in /data/app and /data/app-private.

zipalign Allows ZipAlign to execute during the boot process. Creates the ZipAlign flag file. File Created: /data/.zipalign

nozipalign Prevents ZipAlign from executing during the boot process. Removes the ZipAlign flag file. File Removed: /data/.zipalign Quote: Dalvik Setting Commands: --------------------------------------------------jit Installs DalvikVM JIT. Quote: WARNING: Do not run this command if your phone has NAND protection active. nojit Removes DalvikVM JIT. Quote: WARNING: Do not run this command if your phone has NAND protection active. defaultheap Resets the Dalvik heap size to the default heap size. File Removed: /data/.smallheap, /data/.largeheap, /data/.jumboheap

smallheap Sets the Dalvik heap size to 16MB. File Created: /data/.smallheap File Removed: /data/.largeheap, /data/.jumboheap

largeheap Sets the Dalvik heap size to 24MB. File Created: /data/.largeheap File Removed: /data/.smallheap, /data/.jumboheap

jumboheap Sets the Dalvik heap size to 32MB. File Created: /data/.jumboheap File Removed: /data/.smallheap, /data/.largeheap Quote: Low Memory Killer Commands: ----------------------------------------------------lowmem-moderate Sets the internal memory killer to the following settings: Code: Foreground Apps: 1536 pages / 6 MB Visible Apps: 3072 pages / 12 MB Secondary Server: 4096 pages / 16 MB Hidden Apps: 7680 pages / 30 MB Content Provider: 8960 pages / 35 MB Empty App: 10240 pages / 40 MB Create File: /data/.lmmoderate Remove File: /data/.lmoptimum, /data/.lmstrict, /data/.lmaggressive, /data/.lmultimate, /data/.lmextreme

lowmem-optimum Sets the internal memory killer to the following settings: Code: Foreground Apps: 1536 pages / 6 MB Visible Apps: 2048 pages / 8 MB Secondary Server: 4096 pages / 16 MB Hidden Apps: 10240 pages / 40 MB Content Provider: 12800 pages / 50 MB Empty App: 15360 pages / 60 MB Create File: /data/.lmoptimum Remove File: /data/.lmmoderate, /data/.lmstrict, /data/.lmaggressive, /data/.lmultimate, /data/.lmextreme

lowmem-strict Sets the internal memory killer to the following settings: Code: Foreground Apps: 1536 pages / 6 MB Visible Apps: 2048 pages / 8 MB Secondary Server: 4096 pages / 16 MB Hidden Apps: 15360 pages / 60 MB Content Provider: 17920 pages / 70 MB Empty App: 20480 pages / 80 MB Create File: /data/.lmstrict Remove File: /data/.lmmoderate, /data/.lmoptimum, /data/.lmaggressive, /data/.lmultimate, /data/.lmextreme

lowmem-aggressive Sets the internal memory killer to the following settings: Code: Foreground Apps: 1536 pages / 6 MB Visible Apps: 3072 pages / 12 MB Secondary Server: 4096 pages / 16 MB Hidden Apps: 21000 pages / 82 MB Content Provider: 23000 pages / 90 MB Empty App: 25000 pages / 98 MB Create File: /data/.lmaggressive Remove File: /data/.lmmoderate, /data/.lmoptimum, /data/.lmstrict, /data/.lmextreme, /data/.lmultimate

lowmem-extreme Sets the internal memory killer to the following settings: Code: Foreground Apps: 1536 pages / 6 MB Visible Apps: 3072 pages / 12 MB Secondary Server: 4096 pages / 16 MB Hidden Apps: 38400 pages / 150 MB Content Provider: 40960 pages / 160 MB Empty App: 43520 pages / 170 MB Create File: /data/.lmextreme Remove File: /data/.lmmoderate, /data/.lmoptimum, /data/.lmstrict, /data/.lmaggressive, /data/.lmultimate

lowmem-ultimate Sets the internal memory killer to the following settings: Code: Foreground Apps: 1536 pages / 6 MB Visible Apps: 3072 pages / 12 MB Secondary Server: 4096 pages / 16 MB Hidden Apps: 51200 pages / 200 MB Content Provider: 57600 pages / 225 MB Empty App: 64000 pages / 250 MB Create File: /data/.lmultimate Remove File: /data/.lmmoderate, /data/.lmoptimum, /data/.lmstrict, /data/.lmaggressive, /data/.lmextreme

lowmem-default Sets the internal memory killer back to phone default settings. Remove File: /data/.lmmoderate, /data/.lmoptimum, /data/.lmstrict, /data/.lmaggressive, /