Thought I'd throw this up here. Seems much more readable on here than on the Ascend. If you don't know what this is, ignore it! Instructions: Start Terminal Emulator, enter su, enter a2sd <command> Darktremor Apps2SD Help Version 2.7.5.2 (2010-09-30) ================================================= Syntax: /system/bin/a2sd command All commands create a logfile: /data/dta2sd.log Command is one of the following 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 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. File removed: /data/.noswap noswap Creates the No Swap flag. Prevents A2SD from activating the swap partition. File created: /data/.noswap swappyxx Sets swap partition swappiness value to xx. Example: To set the swappiness of the swap partition to 30%, type: a2sd swappy30 File created: /data/dtswap 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. File created: /data/.dalvikcacahe File removed: /data/.dcpartition cachesdreset Performs the same function as cachesd, plus erases the contents of Dalvik-Cache, forcing a rebuild on reboot. File created: /data/.dalvikcache File removed: /data/.dcpartition cachepart Moves Dalvik cache files to the /cache partition in your phone. Creates Dalvik Cache to Cache Partition flag. File created: /data/.dcpartition File removed: /data/.dalvikcache cachepartreset Performs the same function as cachepart, plus erases the contents of Dalvik-Cache, forcing a rebuild on reboot. File created: /data/.dcpartition File removed: /data/.dalvikcache nocache Moves Dalvik cache files to the internal phone storage. Removes all Dalvik Cache flags. File removed: /data/.dcpartition File created: /data/.dalvikcache nocachereset Performs the same function as nocache, plus erases the contents of Dalvik-Cache, forcing a rebuild on reboot. File removed: /data/.dcpartition File created: /data/.dalvikcache resetcache Clears the dalvik cache and restarts phone. 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. partlist Shows the supported EXT partitions available for your particular ROM. ZipAlign Commands align Performs a one-time zipalign on all APK files in /data/app, /data/app-private and /system/app. 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 Dalvik Setting Commands jit Installs DalvikVM JIT. WARNING: Do not run this command if your phone has NAND protection active. nojit Removes DalvikVM JIT. WARNING: Do not run this command if your phone has NAND protection active. heapsizexx Sets Dalvik Heap Size to xx, or heapsize0 resets heap size to default settings. Ex: If you want to set the Dalvik Heap Size to 24mb, type a2sd heapsize24 File Created: /data/a2sdheapsize (value > 0) File Removed: /data/a2sdheapsize (value = 0) Low Memory Killer Commands lowmem-moderate Sets the internal memory killer to the following settings: 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 Files: /data/.lmoptimum /data/.lmstrict /data/.lmaggressive /data/.lmultimate /data/.lmextreme lowmem-optimum Sets the internal memory killer to the following settings: 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 Files: /data/.lmmoderate /data/.lmstrict /data/.lmaggressive /data/.lmultimate /data/.lmextreme lowmem-strict Sets the internal memory killer to the following settings: 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 Files: /data/.lmmoderate /data/.lmoptimum /data/.lmaggressive /data/.lmultimate /data/.lmextreme lowmem-aggressive Sets the internal memory killer to the following settings: 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 Files: /data/.lmmoderate /data/.lmoptimum /data/.lmstrict /data/.lmextreme /data/.lmultimate lowmem-extreme Sets the internal memory killer to the following settings: 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 Files: /data/.lmmoderate /data/.lmoptimum /data/.lmstrict /data/.lmaggressive /data/.lmultimate lowmem-ultimate Sets the internal memory killer to the following settings: 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 Files: /data/.lmmoderate /data/.lmoptimum /data/.lmstrict /data/.lmaggressive /data/.lmextreme lowmem-default Sets the internal memory killer back to phone default settings. Remove Files: /data/.lmmoderate /data/.lmoptimum /data/.lmstrict /data/.lmaggressive /data/.lmextreme /data/.lmultimate Conversion Commands convert-ext3 Converts an EXT2 partition to an EXT3 partition. Note: Boot process will take longer due to the conversion. convert-ext4 Converts an EXT3 partition to an EXT4 partition. Notes: You must execute a2sd convert-ext3 first if you are trying to convert from EXT2 to EXT4. Boot process will take longer due to the conversion. SD Card Maintenance Commands forcecheck Forces Darktremor Apps2SD to force check the EXT partition on the SD card when phone is rebooted. fixapk Fixes permissions on programs. usedtbusybox Uses the Darktremor packaged Busybox. Used to diagnose issues. usedefaultbusybox Reactivates Busybox scanning.
kewl nice post. I am attempting to add the a2sdgui to my builds. I have to correct some errors I get when it compiles tho b4 I will use it.
that'll be exciting but isnt there a app that you can download already that does that,? [APP][DEV]A2SDGUI (GUI for Darktremor A2SD) - xda-developers
I cant get my Delvik to move to my SD. I opened TU and typed in "su" and the "a2sd check" and it says something like "Set up issue Run a2sd repair to fix" and when I run "a2sd repair" it runs and then my phone but then when I run a2sd check again it tells me "Set up issue Run a2sd repair to fix"" again. So should I run "cachesd" to try and move it? Also next to swap it says "Partition not present or no swap support" then under that it says "Swap does not start" I made a swap partition at 32mb. Do I need to run one of the swap commands to make it work?
Okay I downloaded that and as soon as it goes to install I get a FC that says The application Package Access Helper (process com.android.defcontainer) has stopped unexpectedly" and its now just stuck on "installing" I noticed under requirements it says "2.2 - 2.3.3" I have 2.3.5 maybe thats why? Now Im getting force closes for literally everything. F@%*^#&^$&$&! Ahaha Reflash here we come!
A2SDGUI works on CM7 07282011 (GINGERBREAD 2.3.5) Try using the 'fix permissions' function in ROM MANAGER before resorting to a re-flash of your ROM. It takes a couple of re-boots for everything to settle in after moving the DALVIK CACHE to SD. Also, as stated in the ULTIMATE ASCEND CUSTOMIZATION GUIDE, you are recommended to have a CLASS 4 or better SDcard before using DT'S A2SD or you will more than likely experience problems.
I ran fix permissions twice in RM and twice in CWR. None of that happen till I tried to download a2sdgui. Every app I tried to open would FC and a crap load of .process' were FC and then after doing fix permissions I RM started force closing on me. I already wiped it all and reflashed tho. Yeah I have a class 4.
Can't explain why you're having problems w/A2SDGUI, I was running it, along w/CM7 07282011 w/a CLASS 2 card before recently switching to a CLASS 10 Card. A re-flash of your ROM may be in order.
I know it's too late now, but restoring a nandroid backup is usually less work than re flashing everything.
I'm having the same problem. With a class 10 card. But since I'm on vacation, I think I'll wait to try anything.
* convert-ext3 Converts an EXT2 partition to an EXT3 partition. Note: Boot process will take longer due to the conversion. * convert-ext4 Converts an EXT3 partition to an EXT4 partition. Note: You must execute a2sd convert-ext3 first if you are trying to convert from EXT2 to EXT4. Boot process will take longer due to the conversion. SD Card Maintenance Commands * forcecheck Forces Darktremor Apps2SD to force check the EXT partition on the SD card when phone is rebooted. * fixapk Fixes permissions on programs. * usedtbusybox Uses the Darktremor packaged Busybox. Used to diagnose issues. * usedefaultbusybox Reactivates Busybox scanning.
From what Ive read EXT 2 or 3 is recommended over 4 for Android. If that is in fact true I dont know. I partitioned mine as a EXT3 ext2, ext3 and ext4 are all filesystems created for Linux. This article explains the following: High level difference between these filesystems. How to create these filesystems. How to convert from one filesystem type to another. Ext2 Ext2 stands for second extended file system. It was introduced in 1993. Developed by R
I cant get my swap to activate. Ive tried thru the terminal and using A2SDGUI and it just wont activate/swap. Any ideas?
I had the same problem on my kindle fire after i put text plus in the cloud. When i put it back on the kindle, the problem stopped....hmmmm....process com.android.defcontainer has stopped unexpectedly.