[Script][A2SD]Darktremor 2.7.5.3 Beta 04 [HeroCDMA] (01/29/2011)

Search This thread

urushiol

Senior Member
Mar 18, 2010
552
76
This is closer tkirton, but it might be an issue with my computer, or my rom, I'm experimenting with fresh 2.0b because its the only rom I can get to pair with my bluetooth device.

here is what I get now...

Code:
# cd /system/bin
cd /system/bin
# a2sd jit
a2sd jit
[ ] Launching Darktremor A2SD
[*] Starting Darktremor Apps2SD version 2.7.5 preview fix 1
[ ] Mounting /system as read-write
[ ] Starting Apps2SD in jit mode
[ ] Running A2SD JIT Install Program.
[ ] Remounting /system in read-write
[ ] Running JIT Setup.
[ ] Installing JIT.
[ ] Backing up critical files.
cp: cannot create '/data/dalvik-backup/build.prop': No such file or directory
cp: cannot create '/data/dalvik-backup/bin/dalvikvm': No such file or directory
cp: cannot create '/data/dalvik-backup/lib/libdvm.so': No such file or directory

cp: cannot create '/data/dalvik-backup/lib/libnativehelper.so': No such file or
directory
cp: cannot stat '/system/app/HtcLockScreen.apk': No such file or directory
[ ] Modifying /system/build.prop
[ ] Removing HTC Lock Screen (for stability)
[ ] Installing JIT
[ ] Synchronizing...
[ ] Erasing contents of Dalvik-Cache
[ ] Rebooting Phone.

C:\Users\Hippie>

EDIT:

Dispite the errors JIT does in fact enable properly. Though I imagine to disable it I will have to push the libs/bin over manually because it appears it didn't backup the originals properly.
 
Last edited:

tkirton

Senior Member
Jul 13, 2009
2,044
224
50
Katy Texas
www.darktremor.info
That's definitely your rom, your rom doesn't have the files listed...are you sure your rom wasn't already JIT enabled?

This is the dilemma I face with adding JIT. There may be more than one way to enable it and what would happen if you enable it on a rom that had it already running?

This is closer tkirton, but it might be an issue with my computer, or my rom, I'm experimenting with fresh 2.0b because its the only rom I can get to pair with my bluetooth device.

here is what I get now...

Code:
# cd /system/bin
cd /system/bin
# a2sd jit
a2sd jit
[ ] Launching Darktremor A2SD
[*] Starting Darktremor Apps2SD version 2.7.5 preview fix 1
[ ] Mounting /system as read-write
[ ] Starting Apps2SD in jit mode
[ ] Running A2SD JIT Install Program.
[ ] Remounting /system in read-write
[ ] Running JIT Setup.
[ ] Installing JIT.
[ ] Backing up critical files.
cp: cannot create '/data/dalvik-backup/build.prop': No such file or directory
cp: cannot create '/data/dalvik-backup/bin/dalvikvm': No such file or directory
cp: cannot create '/data/dalvik-backup/lib/libdvm.so': No such file or directory

cp: cannot create '/data/dalvik-backup/lib/libnativehelper.so': No such file or
directory
cp: cannot stat '/system/app/HtcLockScreen.apk': No such file or directory
[ ] Modifying /system/build.prop
[ ] Removing HTC Lock Screen (for stability)
[ ] Installing JIT
[ ] Synchronizing...
[ ] Erasing contents of Dalvik-Cache
[ ] Rebooting Phone.

C:\Users\Hippie>
EDIT:

Dispite the errors JIT does in fact enable properly. Though I imagine to disable it I will have to push the libs/bin over manually because it appears it didn't backup the originals properly.
 

urushiol

Senior Member
Mar 18, 2010
552
76
That's definitely your rom, your rom doesn't have the files listed...are you sure your rom wasn't already JIT enabled?

This is the dilemma I face with adding JIT. There may be more than one way to enable it and what would happen if you enable it on a rom that had it already running?

Im running Fresh rom 2.0b(a sence rom, def. with jit disabled), i understand the lockscreen error because I'm using vanilla lock. I think its actually related to this line not working properly....

Code:
[ ] Remounting /system in read-write

And I say that because ever since I flashed this rom the command "adb remount" doesn't work properly. If i want to delete an app from my /system/app folder using adb, it kicks back a "read-only" error even if i just remounted. I'll nandroid to another rom this afternoon for futher testing.

Thanks so much tkirton, such a great and versatile program!
 

tkirton

Senior Member
Jul 13, 2009
2,044
224
50
Katy Texas
www.darktremor.info
The /system partition is normally in read-only mode. When you are running Apps2SD, the /system partition is changed to read-write as certain functions within Apps2SD alters files within the /system partition (JIT is an excellent example of this).

At the end of the Apps2SD operation, the /system partition is remounted again in read-only mode.

This will interfere with adb remount...but to remount again in read-write, type the following:
mount -o remount,rw /system

Over time, I will evaluate when the /system partition needs to be mounted to read-write and better write the program to accommodate it.

Actually, you can type that line at anytime, even if you don't execute adb remount before you enter the adb shell.

The lockscreen error relating to JIT has nothing to do with the /system being moved into read-write mode. The lockscreen error is a well known issue with JIT...it is because JIT and the current HTC SenseUI lockscreen are incompatible (actually, many aspects of the SenseUI (the one that is part of the 2.1 release from HTC) is incompatible with JIT. Many developers have worked around this issue by either patching the current SenseUI or using another version from another phone.

Im running Fresh rom 2.0b(a sence rom, def. with jit disabled), i understand the lockscreen error because I'm using vanilla lock. I think its actually related to this line not working properly....

Code:
[ ] Remounting /system in read-write
And I say that because ever since I flashed this rom the command "adb remount" doesn't work properly. If i want to delete an app from my /system/app folder using adb, it kicks back a "read-only" error even if i just remounted. I'll nandroid to another rom this afternoon for futher testing.

Thanks so much tkirton, such a great and versatile program!
 
Last edited:

urushiol

Senior Member
Mar 18, 2010
552
76
Im running Fresh rom 2.0b(a sence rom, def. with jit disabled), i understand the lockscreen error because I'm using vanilla lock. I think its actually related to this line not working properly....

Code:
[ ] Remounting /system in read-write

And I say that because ever since I flashed this rom the command "adb remount" doesn't work properly. If i want to delete an app from my /system/app folder using adb, it kicks back a "read-only" error even if i just remounted. I'll nandroid to another rom this afternoon for futher testing.

Thanks so much tkirton, such a great and versatile program!

^^^Forgive me of the nonsensical nature of this post, I made it right after I woke up, and before I had my coffee, I promise I had something intelligible to say that has little to do with what is conveyed above!

This is the error I am currently receiving when doing a2sd jit

Code:
# cd /system/bin
cd /system/bin
# a2sd jit
a2sd jit
[ ] Launching Darktremor A2SD[*] Starting Darktremor Apps2SD version 2.7.5 preview fix 1
[ ] Mounting /system as read-write
[ ] Starting Apps2SD in jit mode
[ ] Running A2SD JIT Install Program.
[ ] Remounting /system in read-write
[ ] Running JIT Setup.
[ ] Installing JIT.
[ ] Backing up critical files.
cp: cannot create '/data/dalvik-backup/build.prop': No such file or directory
cp: cannot create '/data/dalvik-backup/bin/dalvikvm': No such file or directory
cp: cannot create '/data/dalvik-backup/lib/libdvm.so': No such file or directory

cp: cannot create '/data/dalvik-backup/lib/libnativehelper.so': No such file or
directory
cp: cannot stat '/system/app/HtcLockScreen.apk': No such file or directory
[ ] Modifying /system/build.prop
[ ] Removing HTC Lock Screen (for stability)
[ ] Installing JIT
[ ] Synchronizing...
[ ] Erasing contents of Dalvik-Cache
[ ] Rebooting Phone.

C:\Users\Hippie>

The lockscreen error can be ignored because I manually removed it prior to installing A2SD because I wanted to use the Vanilla lock. And I understand a2sd is simply trying to remove it because it doesn't play nice with jit, and the error is because its already gone =D


However this error is of my concern.
Code:
cp: cannot create '/data/dalvik-backup/build.prop': No such file or directory
cp: cannot create '/data/dalvik-backup/bin/dalvikvm': No such file or directory
cp: cannot create '/data/dalvik-backup/lib/libdvm.so': No such file or directory

cp: cannot create '/data/dalvik-backup/lib/libnativehelper.so': No such file or
directory

I when I made the previous post this morning I was in my fog before my coffee took effect, I thought this error was on the /system, but I see its on /data. I have had problems not always being able to get my /system to mount as RW, and thought this was the source of the problem, but data should always be RW, correct?

I will test on a different rom tonight.
 

tkirton

Senior Member
Jul 13, 2009
2,044
224
50
Katy Texas
www.darktremor.info
Yes, /data should always be read-write.

And regarding the morning thing...I completely understand. Happens to me a lot.

EDIT: The errors you are seeing are there because the backup process (which the JIT function does in order to restore all programs in case you don't want JIT later) didn't find the corresponding files.

EDIT #2: Got a report that the dalvik-backup directory (or the subdirectories bin and lib) isn't being created. I'll check the file tonight to see if that's the case and, if corrections need to be made, I'll release 2.7.5 Preview Fix 2.

Now, this JIT installer uses one method of installing JIT (Just10o's method). There could be other variations that work better and, if they accomplish better results, I will modify this code to reflect that.

^^^Forgive me of the nonsensical nature of this post, I made it right after I woke up, and before I had my coffee, I promise I had something intelligible to say that has little to do with what is conveyed above!

This is the error I am currently receiving when doing a2sd jit

Code:
# cd /system/bin
cd /system/bin
# a2sd jit
a2sd jit
[ ] Launching Darktremor A2SD
[*] Starting Darktremor Apps2SD version 2.7.5 preview fix 1
[ ] Mounting /system as read-write
[ ] Starting Apps2SD in jit mode
[ ] Running A2SD JIT Install Program.
[ ] Remounting /system in read-write
[ ] Running JIT Setup.
[ ] Installing JIT.
[ ] Backing up critical files.
cp: cannot create '/data/dalvik-backup/build.prop': No such file or directory
cp: cannot create '/data/dalvik-backup/bin/dalvikvm': No such file or directory
cp: cannot create '/data/dalvik-backup/lib/libdvm.so': No such file or directory

cp: cannot create '/data/dalvik-backup/lib/libnativehelper.so': No such file or
directory
cp: cannot stat '/system/app/HtcLockScreen.apk': No such file or directory
[ ] Modifying /system/build.prop
[ ] Removing HTC Lock Screen (for stability)
[ ] Installing JIT
[ ] Synchronizing...
[ ] Erasing contents of Dalvik-Cache
[ ] Rebooting Phone.

C:\Users\Hippie>
The lockscreen error can be ignored because I manually removed it prior to installing A2SD because I wanted to use the Vanilla lock. And I understand a2sd is simply trying to remove it because it doesn't play nice with jit, and the error is because its already gone =D


However this error is of my concern.
Code:
cp: cannot create '/data/dalvik-backup/build.prop': No such file or directory
cp: cannot create '/data/dalvik-backup/bin/dalvikvm': No such file or directory
cp: cannot create '/data/dalvik-backup/lib/libdvm.so': No such file or directory

cp: cannot create '/data/dalvik-backup/lib/libnativehelper.so': No such file or
directory
I when I made the previous post this morning I was in my fog before my coffee took effect, I thought this error was on the /system, but I see its on /data. I have had problems not always being able to get my /system to mount as RW, and thought this was the source of the problem, but data should always be RW, correct?

I will test on a different rom tonight.
 
Last edited:

xxxk15

Senior Member
Apr 15, 2010
243
0
well it gave me the error Insufficient Storage Avabilable on Damage Control 2.09.1 so i downgraded to 2.08.1 and i downloaded about 60 apps then all the sudden it gave me the Insufficient Storage Avabilable error again. I thought it was fixed. It gave me the error after updating an app and installing another app so i uninstalled them both and cleared the data on the market but that didnt work. I have 64MB left on internal Storage. I dont know what to do to fix this, anything will be apprciated

Would the preview fix 2 fix this??
 

kbnguy

Senior Member
Feb 12, 2007
150
25
San Antonio, TX
Darchdroid v2.7

I'm running Darchdroid v2.7. I tried out A2SD pf1 with Dalvik in cache part. Jit went ok (i guessed since no FC's) but the option Apps2SD in setting menu has greyed out and all the apps in ext part. no longer show up even though they're reported installed.

Ran a2sd. it reported that ext part. is mounted.

Any help. TIA
 

urushiol

Senior Member
Mar 18, 2010
552
76
I'm running Darchdroid v2.7. I tried out A2SD pf1 with Dalvik in cache part. Jit went ok (i guessed since no FC's) but the option Apps2SD in setting menu has greyed out and all the apps in ext part. no longer show up even though they're reported installed.

Ran a2sd. it reported that ext part. is mounted.

Any help. TIA

EDIT: Removed post because i was incorrect! Cheers =D
 
Last edited:

xstrider

Member
Jul 1, 2010
26
0
Hi all I am having trouble rebooting the phone since app2sd. I am on a Droid Eris using Evil Eris 3.0. It will just stall into the black boot up screen afther the androids on skateboards and set there for hours until I do a battery pull. When I do a2sd check I get the following:

# a2sd check
a2sd check
[ ] Launching Darktremor A2SD
[*] Starting Darktremor Apps2SD version 2.7.5 preview fix 1
[ ] Mounting /system as read-write
[ ] Starting Apps2SD in check mode
[ ] Running A2SD Check Program.
Darktremor Apps2SD Status Report
===============================================================
[ ] Searching for Mount Point...
[*] Mount point /system/sd located.
[ ] Checking for ext partition
[X] Ext partition found, but not mounted.
Your rom may not be setup to run A2SD.
Check with your rom developer if the boot image
is programmed to run A2SD.
SD Mount - [X] SD card not mounted.

Apps - [X] Runs from SD card.
- [X] Setup Issue. Run a2sd repair.

Private Apps - [X] Runs from SD card.
- [X] Setup Issue. Run a2sd repair.

Dalvik Cache - [*] Runs from Internal Storage.

[ ] Setting File System Ready property to 1.
[ ] Remounting /system to read-only.
#

I can get it to boot up if I plug it in and run as2d repair, install, or nocache but if I have to reboot I run into the same issue. Is there something I missed so that I dont have to plug it into the computer to run a command to I am assuming mount the EXT partition?
 

tkirton

Senior Member
Jul 13, 2009
2,044
224
50
Katy Texas
www.darktremor.info
That Apps2SD uses a different version. I don't have a GUI for mine yet.

Run a2sd check to confirm that everything is setup correctly. You shouldn't have issues with DarchDroid since I'm currently running that on my phone.

I'm running Darchdroid v2.7. I tried out A2SD pf1 with Dalvik in cache part. Jit went ok (i guessed since no FC's) but the option Apps2SD in setting menu has greyed out and all the apps in ext part. no longer show up even though they're reported installed.

Ran a2sd. it reported that ext part. is mounted.

Any help. TIA
 

tkirton

Senior Member
Jul 13, 2009
2,044
224
50
Katy Texas
www.darktremor.info
No it won't.

2.7 update 3r1 and 2.7.5 was tested running DarchDroid on my phone without any issues. In fact, I'm still running 2.7.5 and DarchDroid together with no issues.

2.7 update 2 and 2.7 update 3 was tested running Buufed 2.0b, which is based on DarchDroid.

You should not use 3rd party apps2sd when using Darchdroid 2.7, since it has a completely different native apps2sd. It will cause problems!
 
Last edited:

tkirton

Senior Member
Jul 13, 2009
2,044
224
50
Katy Texas
www.darktremor.info
Apps2SD support isn't in the boot image of that rom.

Lucky for you, I have a flashable kernel designed for Evil Eris 3.0:

http://www.darktremor.info/files/eris/ee3kernel-signed.zip

Go into recovery and flash this. Reboot and Apps2SD will start working correctly.

Hi all I am having trouble rebooting the phone since app2sd. I am on a Droid Eris using Evil Eris 3.0. It will just stall into the black boot up screen afther the androids on skateboards and set there for hours until I do a battery pull. When I do a2sd check I get the following:

# a2sd check
a2sd check
[ ] Launching Darktremor A2SD
[*] Starting Darktremor Apps2SD version 2.7.5 preview fix 1
[ ] Mounting /system as read-write
[ ] Starting Apps2SD in check mode
[ ] Running A2SD Check Program.
Darktremor Apps2SD Status Report
===============================================================
[ ] Searching for Mount Point...
[*] Mount point /system/sd located.
[ ] Checking for ext partition
[X] Ext partition found, but not mounted.
Your rom may not be setup to run A2SD.
Check with your rom developer if the boot image
is programmed to run A2SD.
SD Mount - [X] SD card not mounted.

Apps - [X] Runs from SD card.
- [X] Setup Issue. Run a2sd repair.

Private Apps - [X] Runs from SD card.
- [X] Setup Issue. Run a2sd repair.

Dalvik Cache -
[*] Runs from Internal Storage.

[ ] Setting File System Ready property to 1.
[ ] Remounting /system to read-only.
#

I can get it to boot up if I plug it in and run as2d repair, install, or nocache but if I have to reboot I run into the same issue. Is there something I missed so that I dont have to plug it into the computer to run a command to I am assuming mount the EXT partition?
 

xstrider

Member
Jul 1, 2010
26
0
Apps2SD support isn't in the boot image of that rom.

Lucky for you, I have a flashable kernel designed for Evil Eris 3.0:

Ahh, I guess I shouldn't have assumed that it included it like 2.0. I am sure glad you had a flashable kernel designed. :) I just loaded it and it reboots beautifully. Thanks for the all the work you have put in. Now I have space to load in SCUMMVM. :D
 

britoso

Senior Member
Jan 13, 2010
2,794
302
Orlando
weird, I just tried 'dtapps2sd-2.7.5-pf2-signed.zip'
I get the error which suggests I have EXT4...the previous version worked fine on this same partition.
:confused:

Code:
# a2sd install
a2sd install
[ ] Launching Darktremor A2SD
[*] Starting Darktremor Apps2SD version 2.7.5 preview fix 1
[ ] Mounting /system as read-write
[ ] Starting Apps2SD in install mode
[ ] Checking SD Card.
[ ] Searching for Mount Point...
[!] Mount point found..no further action required.
[ ] Checking for ext partition
[!] Ext partition found, but not mounted.
[ ] Checking Ext partition...
e2fsck 1.40.8 (13-Mar-2008)
/dev/block/mmcblk0p2 has unsupported feature(s): extents gdt_checksum
e2fsck: Get a newer version of e2fsck!
[ ] Mounting ext partitions
mount: mounting /dev/block/mmcblk0p2 on /system/sd failed: Invalid argument
[COLOR="Red"][X] Mounting ext partition failed.[/COLOR]
[X] Can't continue script...aborting.
[X] SD card not mounted.  Install can't continue.
    Problem may be one of the following:

--- You do not have an ext partition set up on your SD card.
    Please reboot your phone into recovery and use the options
    in recovery to setup your SD card.

--- You are using an ext partition that is incompatible with
    the rom you are using.  This usually happens if you are
    using an ext4 partition on a rom that does not support
    it.
    Reboot phone into recovery and repartition the SD card.

--- Your SD card is experiencing issues.  You may need to
    repartition or replace the SD card.

--- Your rom does not support A2SD/Apps2SD.  Contact your ROM
    provider and inquire about adding or correcting A2SD
    support.

[ ] Setting File System Ready property to 1.
[ ] Remounting /system to read-only.
# mkdir /system/sd
any idea?
 

tkirton

Senior Member
Jul 13, 2009
2,044
224
50
Katy Texas
www.darktremor.info
Did you change something in the rom? Like, maybe, the boot image? This usually indicates that the rom doesn't support ext4:

/dev/block/mmcblk0p2 has unsupported feature(s): extents gdt_checksum

If not, it's possible there may be a problem with the SD card. The mount method is the same in 2.7.5 as it was in 2.7...that hasn't changed.

weird, I just tried 'dtapps2sd-2.7.5-pf2-signed.zip'
I get the error which suggests I have EXT4...the previous version worked fine on this same partition.
:confused:

Code:
# a2sd install
a2sd install
[ ] Launching Darktremor A2SD
[*] Starting Darktremor Apps2SD version 2.7.5 preview fix 1
[ ] Mounting /system as read-write
[ ] Starting Apps2SD in install mode
[ ] Checking SD Card.
[ ] Searching for Mount Point...
[!] Mount point found..no further action required.
[ ] Checking for ext partition
[!] Ext partition found, but not mounted.
[ ] Checking Ext partition...
e2fsck 1.40.8 (13-Mar-2008)
/dev/block/mmcblk0p2 has unsupported feature(s): extents gdt_checksum
e2fsck: Get a newer version of e2fsck!
[ ] Mounting ext partitions
mount: mounting /dev/block/mmcblk0p2 on /system/sd failed: Invalid argument
[COLOR=Red][X] Mounting ext partition failed.[/COLOR]
[X] Can't continue script...aborting.
[X] SD card not mounted.  Install can't continue.
    Problem may be one of the following:

--- You do not have an ext partition set up on your SD card.
    Please reboot your phone into recovery and use the options
    in recovery to setup your SD card.

--- You are using an ext partition that is incompatible with
    the rom you are using.  This usually happens if you are
    using an ext4 partition on a rom that does not support
    it.
    Reboot phone into recovery and repartition the SD card.

--- Your SD card is experiencing issues.  You may need to
    repartition or replace the SD card.

--- Your rom does not support A2SD/Apps2SD.  Contact your ROM
    provider and inquire about adding or correcting A2SD
    support.

[ ] Setting File System Ready property to 1.
[ ] Remounting /system to read-only.
# mkdir /system/sd
any idea?
 

tkirton

Senior Member
Jul 13, 2009
2,044
224
50
Katy Texas
www.darktremor.info
If I remember correctly, Framework43 switched the kernel out from 2.x to 3.0...that's why the support is missing. He's been trying to get back to fixing that, but he's got a hectic schedule that doesn't allow him much (if any) free time.

Ahh, I guess I shouldn't have assumed that it included it like 2.0. I am sure glad you had a flashable kernel designed. :) I just loaded it and it reboots beautifully. Thanks for the all the work you have put in. Now I have space to load in SCUMMVM. :D
 

urushiol

Senior Member
Mar 18, 2010
552
76
No it won't.

2.7 update 3r1 and 2.7.5 was tested running DarchDroid on my phone without any issues. In fact, I'm still running 2.7.5 and DarchDroid together with no issues.

2.7 update 2 and 2.7 update 3 was tested running Buufed 2.0b, which is based on DarchDroid.

For it to work properly do you need to have native apps2sd disabled or will it work fine even if it is enabled? Sorry for my mistake. :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 26
    Darktremor Apps2SD Installation Instructions

    How to install:

    NOTE: ROMS THAT ARE ORM (ORIGINAL ROM FROM MANUFACTURER...ALSO KNOWN AS STOCK ROMS) WILL NOT RUN ANY VERSION OF APPS2SD EXCEPT FROYO.
    The code to launch Apps2SD is not present in the init.rc. The only way Apps2SD will work with a Stock ROM is if the init.rc has been modified with the commands to run Apps2SD.

    Since you are flashing this version to your phone, do a nandroid backup of your phone before starting these instructions. Also, it is preferred you use RA 1.6.2 Recovery, Godspeed Recovery or ClockworksMod Recovery.
    1. Download the program from the previous post.
    2. Determine if you have setup your sd card with an ext partition

    if you have setup your sd card already (existing users of a2sd...any version):

    A. Copy the program to your sd card.
    b. Reboot into recovery
    if you have not setup your sd card (for those new to a2sd):
    A. backup your sd card to your computer. can't stress this enough, as partitioning will wipe the entire card.
    B. Reboot into recovery
    c. In android system recovery, select partition sdcard
    d. In the partition sdcard menu, select partition sd
    e. Follow the instructions on the phone to partition your sd card. You can optionally set a swap file while you are partitioning your sd card.
    F. In the partition sdcard menu, select sd:ext2 to ext3. Follow the instructions on the screen.
    G. only perform this step if you want ext4 and your rom supports it: in the partition sdcard menu, select sd:ext3 to ext4. Follow the instructions on the sdcard.
    h. Press the back button on the phone to go back to the main menu.
    I. Put the a2sd file on the sd card (and all your other files you backed up earlier) by selecting usb-ms toggle and transfer the files to your computer.
    3. In recovery, select flash zip from sdcard.
    4. In flash zip from sdcard, select the a2sd package file you downloaded earlier. Press home to flash.
    5. Reboot phone.
    Note: Due to an issue with the Sprint Hero source code, ext4 partitions may only work intermittently. You may not want to use an ext4 partition unless the rom you are using is certified to have a working ext4 partition. If you have issues with ext4, repartition your sd card for ext3.
    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.)

    12
    Introducing...
    Darktremor Apps2SD 2.7.5.3 Beta 04
    Date of Release: January 29, 2011

    Download Current Version

    Instructions - Change Log - Commands - ROM List - Developer's Guide
    Darktremor Apps2SD Fan Page ---- Darktremor Apps2SD Development Group

    Are you installing Darktremor Apps2SD on your phone? Here are the instructions to help you: Facebook
    Are you a developer wanting to include Darktremor Apps2SD in your latest ROM? Here is the Developer Guide: Facebook
    Update on Beta 4
    It seems I'm getting mixed results with these betas. I'm not sure why this is occurring, some people have been able to get this working right while others have had a hard time with it.

    Currently, I'm rebuilding the entire program. This takes a while because I have to figure out how to pack all these options into the program but make it small enough to where it will run correctly.

    I will say that some of the beta features are coming back out...one of them is the search for a partition code. I suspect that code may be leading me into issues with certain platforms, so I'm going back to the 2.7.5.2 method of mounting (mmcblk0p2 or mmcblk1p2).

    Also, parts of the code will use Busybox Ash (the only code that won't will be starta2sd, which will still use Bash for the time being). The startup code will definitely use Busybox Ash.

    Until then, here are the links to the the last two betas and the last official release:

    Version 2.7.5.3 Beta 04 - http://www.darktremor.info/files/a2sd/dtapps2sd-2.7.5.3-beta04-signed.zip
    Version 2.7.5.3 Beta 03 - http://www.darktremor.info/files/a2sd/dtapps2sd-2.7.5.3-beta03-signed.zip
    Version 2.7.5.2-1 - http://www.darktremor.info/files/a2sd/dtapps2sd-2.7.5.2-1-signed.zip

    And, if you want past versions, you can view the repository: ftp://dtuser:Darktremor1@ftp.darktremor.info (ignore the smiley face...that's XDA doing that.)
    Beta 04 took longer than I expected to release. I have done major changes to the code:

    1. New commands: convert-ext4 - This will convert your EXT3 partition into EXT4. Just a friendly reminder on this command: Not every rom supports EXT4, so it is possible to go into a boot loop if you switch roms. Use with caution.

    2. Reworked convert-ext3 (convert-ext4 gets similar code)...now a flag file is set before the reboot (no conversion is done before the reboot). At load time, the conversion is performed. This takes longer in the reboot process and you may think your phone has locked up...wait about five minutes before doing anything with the phone.

    3. Repair is rebuilt...now it uses existing commands to repair the setup (reinstall, remove, cachesd, cachepart, nocache, datasd, nodata). Definitely shrinks the code.

    4. Added fix_permissions program to the package. This may help with Superuser issues when using the datasd feature. It is used in reinstall, remove, datasd and nodata.

    5. a2sd install is back!!! Both a2sd install and a2sd reinstall do the exact same thing.

    6. Dalvik heap code has been shrunk and now creates a file called dalvikheap. Actually, the code has been doing this all along (since about 2.7.5.2, I think), but I never put the code in to use the file.

    7. Low Memory Killer code has also been shrunk and uses a file caled dtset_lowmem to set the low memory killer parameter.

    8. Replaced Busybox PS function with Toolbox PS. The issue with Busybox PS is that it gives a false reading when I look for android.process.acore (which is the main program when the GUI starts up). If that is present, the program thinks you are trying to run Darktremor without any command line parameters. This was because Busybox would report the process was there when, in reality, it wasn't (validated this when my phone was boot looping.) Toolbox's PS reports the correct setting. This should fix the bootlooping issues some people are experiencing.

    9. New commands: usedtbusybox and usedefaultbusybox - these commands may help in diagnosing issues that is may be related to the native Busybox on your rom. a2sd usedtbusybox will use the Busybox that is packaged with Darktremor. a2sd usedefaultbusybox will turn back on the scan behavior of the program introduced in Beta 03.

    10. Support for Darktremor Apps2SD version 2.7 and earlier has been discontinued. To upgrade correctly from one of those versions, use version 2.7.5.3 Beta 03b or earlier.

    11. Finally fixed stalled boot issues (or at least my tests with several roms says so.)

    See the change log for additional details.

    You will notice that if the program runs repair and finds a problem, it will correct the issue and reboot. You will see a second reboot when the dalvik-cache clears (this is to fix timing issues with CyanogenMod...I can't control that startup as well as I can other roms). This only happens if repair is ran or you flash a new rom (as repair will realign all data). If you are upgrading from a previous version of Darktremor, you should not see the reboots.
    This is Darktremor Apps2SD, a multipurpose program that primarily allows a user to execute applications created for the Android OS on their Secure Digital card (with the proper setup...more on that later). But, Darktremor Apps2SD is all about stability. The goal is to be able for all users of the Android OS to be able to take advantage of a method to run their applications from a secure digital card.

    But just because the Darktremor Apps2SD is all about stability, doesn't mean it isn't packed with features:

    - Move applications (both free and paid) to the Secure Digital card.
    - Move Dalvik Cache to run either from your Secure Digital card or from your cache partition and clears the cache on demand.
    - Boot Loop Protection: prevents the phone from boot looping in the event the SD card could not be mounted.
    - Dalvik JIT for faster performance on Roms which support it.
    - User selectable sizes for the Dalvik heap sizes, allowing a user to freely optimize their system.
    - Activate a swap partition on your SD card and sets how often the swap partition is utilized.
    - Automatically fixes configuration issues.
    - Users can check the free space on their SD card and check the installation to make sure all is setup correctly.
    - Runs ZipAlign on demand...this makes your programs load faster.
    - Built in help system for easy reference of commands.
    - All features can also be reversed without repartitioning your Secure Digital card.
    - New logging features assists in troubleshooting issues.
    - Commands to set the Low Memory Killer feature at boot time. Great for those people who are the "set it and forget it" type.
    - And more...

    Darktremor Apps2SD is not the same as Froyo Apps2SD. Froyo Apps2SD creates a secure folder on the FAT32 section of your SD card (this is the section that you see when you mount your phone to your computer) and stores the programs there. This is nice as you don't have to do anything special with the phone, but it isn't backwards compatible with older versions of Android (Cupcake, Donut, Eclair) and, because of the way Froyo works, older programs not designed for Froyo will automatically stay on your internal storage (unless you install a program that forces the move to your SD card).

    Darktremor Apps2SD takes a different approach. Based on the original CyanogenMod works, Darktremor Apps2SD uses symbolic linking to force Android into moving your applications to the SD card. Because Android will not allow anything to be ran from the FAT32 partition on your SD card (and, in Froyo, it will only allow you to run programs from a special folder), Darktremor utilizes filesystems called EXT2, EXT3 and EXT4. Each one of these filesystems is native to Linux (the operating system running Android), which allows you to run programs from them (same as, say, a computer running Ubuntu). This method is completely compatible with all versions of Android, including Froyo. In fact, you can run both the Darktremor Apps2SD and Froyo Apps2SD at the same time.

    Check out the list of Roms that either have Darktremor Apps2SD installed or are compatible with Darktremor Apps2SD. Click on the link labeled ROM List at the top of this message.
    4
    Darktremor Apps2SD Commands

    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.

    Syntax

    Syntax: /system/bin/a2sd command

    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. Note: This command has no effect on roms where the swap space is not built into 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 on roms where the swap space is not built into the kernel.
    File created: /data/.noswap

    swappyxx
    Sets the swappiness setting for the swap file. xx sets the swappiness percentage used. (i.e. to set swappiness to 30%, type a2sd swappy30.
    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.
    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.
    Caution: Some phones do not have enough space to put the dalvik-cache on the cache partition. Also, some roms that have SenseUI installed may not work well with the dalvik-cache on the cache partition (although this issue appears to be fixed starting with Darktremor 2.7.5.1). 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.
    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. Note: This command has no effect on roms where the swap space is not built into the kernel.
    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
    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.
    defaultheap
    Resets the Dalvik heap size to the default heap size.
    File Removed: /data/.smallheap, /data/.largeheap, /data/.jumboheap

    heapsizexx
    Sets the dalvik heap size to xx. For example, to set the dalvik cache to 24mb, type a2sd heapsize24. To reset back to default, type a2sd heapsize0 (that's a zero, not the letter "o")
    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, /data/.lmextreme, /data/.lmultimate
    1
    Darktremor Apps2SD Credits and Change Log

    Special Thanks:
    Thanks to the following people for helping me with Darktremor Apps2SD:
    Toastcfh
    - For assisting me in getting my test kernel setup to run ext4...that helped tremendously with development.
    - For testing it (along with Flipzmode) on FreshToast 2.0 (CDMA Hero).
    - For (along with Flipzmode) helping to identify the disappearing marketplace issue.
    shahid.malik
    - For testing on VillianROM 5.5 (HTC GSM Hero)
    - For testing on VanillaEclair 2.0.1 (HTC GSM Hero)
    Andrizoid
    - For testing on Evil Eris 2.0 (HTC Eris)
    - For including it in Smash Rom (HTC Eris)
    Framework43
    - For adding to Evil Eris 2.0.1 (HTC Eris)
    DS36
    - For testing on Eris Official 1.0 Alpha w/ Controllable Overclocking (HTC Eris)
    4SidedDice (and others)
    - For testing it on DamageControl's 2.08 and later (CDMA Hero)
    Flipzmode
    - For including it (along with Toastcfh) in FreshToast 2.0 (CDMA Hero)
    - For including it in Fresh Hero (HTC CDMA Hero)
    - For including it in Fresh Evo (HTC Evo)
    - For (along with Toastcfh) helping to identify the disappearing marketplace issue.
    Kurt666
    - For testing on Pay's ROM for Desire v1.4 (HTC Desire)
    Cordy
    - For helping with general testing of Darktremor Apps2SD
    zygame
    - For including it on Daguu_Espresso_v1.2_By_FlZyGaMeUp-Pre-release-2 (HTC GSM Hero)
    chuckhriczko
    - For including it in SuperSonic v2.0 (HTC Evo)
    zenulator
    - For including it in ZenEXP 0.9.6.2 (HTC CDMA Hero)
    crunchybutternut
    - For including it in Buufed 1.7.2 (HTC CDMA Hero)
    .mac
    - For including it in ZenEXP Eris Expresso (HTC Eris)
    Papa Smurf151
    - For including it in Blue Echo (HTC CDMA Hero)
    - For including it in Red Dawn (HTC CDMA Hero)
    beezy420
    - For including it in HoneyBun Rom (HTC CDMA Hero)
    britoso
    - For testing it on Froyo FRF50 and FRF83 (Nexus One)
    djmcnz
    - For including it in Kang-o-rama 0.9 Froyo (Nexus One)
    THATTON
    - For testing the installation process on ClockworksMod Recovery.
    eViL D:
    - For including it in eViL n-One-sh0t Noir 7 (Nexus One)
    t2noob
    - For including it in Plain Jane T2 2.1 (HTC Eris)
    Jr33
    - For including it in Froyo AOSP Beta3 (Nexus One)
    - For including it in CliqMod (Motorola Cliq)
    UltimoJedi
    - For supplying the elusive base address to build a boot image on the HTC Legend.
    MrDanger
    - For including it in DangerRom (HTC CDMA Hero for Cellular South)
    Kiljacken
    - For including it in KiljackenROM (HTC Tattoo)
    BesFen
    - For including it in BesFen Apps2SD ROM (HTC Legend)
    dsixda
    - For including it in his Android Kitchen
    freddyemmer
    - For including it in Vodafone 845 MR Edition
    attn1
    - For including it in Liberated_Aria (HTC Aria)
    capychimp
    - For including it in RCMagic 4.2 for Rogers Cellular (HTC Magic)
    nfinitefx45 (and others)
    - For showing me the binding mount method for using dalvik-cache on the cache partition and using SenseUI (roboclk helped with this as well).
    - For including it in NFX-Hero
    If I forgot anyone...let me know.
    Change Log

    Darktremor Apps2SD Version 2.7.5.2
    - Added additional code to allow /dev/block/mmcblk1p3 to be a swap partition. This complements the multiple location codes that were added in 2.7.5 Final that allows for EXT mounting from /dev/block/mmcblk0p2 or /dev/block/mmcblk1p2
    - Fixed a few lines in the code that did not write to the log file correctly.
    - Fixed the log file reference. It was pointed at "/data/dta2sd.log;"...the semicolon didn't need to be there.
    - Adjusted the installer script to only remove files in /system/etc/init.d that have the following words in it: apps2sd, a2sd, cache, dalvik. It will also name the launcher file either 04apps2sd, 10apps2sd or 40apps2sd...depending on number availability (the number in the front of the file tells Busybox what sequence to run the file...you can't have two or more files start with the same number (i.e 04modules and 04apps2sd...one of these files will be skipped). This is to address concerns with other roms regarding the partition mounting as an ext2 when it was formatted as an ext4 (module launcher was overwritten by Darktremor).
    Darktremor Apps2SD Version 2.7.5.1
    - Added mounting functions to the cache partition. This mounts dalvik-cache directory on the cache partition (/cache/dc) to /data/dalvik-cache. The end result is SenseUI thinks it is storing dalvik-cache files on /data/dalvik-cache rather than the cache partition. No more force closes when using the cache to store dalvik-cache and using SenseUI.
    - Added swappiness settings for swap partition. The command is a2sd swappyxx, where xx is the value you wish to set swappiness to (i.e. to set swappiness to 30%, type a2sd swappy30).
    - Added a2sd partlist to list the available EXT partitions available on your rom. This should reduce the number of complaints about incorrectly mounting the ext partition.
    - Rebuild a2sd repair to run from starta2sd. Fixa2sd is no longer available.
    - Unmounts the EXT partition before it performs an automated reboot. This should reduce the time to mount the SD card (which it doesn't look like it did..oh well).
    - Removed smallheap, largeheap and jumboheap command. Replaced with heapsizexx command, where xx is the number of megs you wish to set aside for dalvik cache.
    Darktremor Apps2SD Version 2.7.5 Final
    - New commands: cachepartreset, cachesdreset, nocachereset. These commands do the same as their counterparts (cachepart, cachesd, nocache), but it doesn't move the contents of the dalvik-cache. This allows users to perform both a move and a reset of the dalvik-cache.
    - cmpatch command has been removed. The CyanogenMod patch that was related to that command automatically installs as part of startup.
    - boota2sd has been removed. All functions have been transferred to launcha2sd. The "lite" version of Apps2SD no longer exists (replaced by the contents of boota2sd). This was done to speed up Apps2SD load time (this is part of the CyanogenMod 6 fixes).
    - Mount commands now looks for both /dev/block/mmcblk1p2 and /dev/block/mmcblk0p2. This is to allow compatibility with phones that use mmcblk0p2 for other items (i.e. Froyo).
    Darktremor Apps2SD Version 2.7.5 Release Candidate 3 (RC3)
    - Four releases (three official, one unofficial): RC3, RC3A, RC3B (unofficial), RC3C...subsequent versions used to fix interactive issues between Darktremor Apps2SD and CyanogenMod Nightly Builds.
    - Mount point has changed from /system/sd to /data/sd (RC3 only). This is mostly for stability with NAND protected phones. This was reversed back in RC3A. However, there is code in RC3C that detects whether the mount point /sd-ext (used in CyanogenMod and Froyo builds) exists...if so, it uses that mount point instead of /system/sd. - Include /system/bin/sysinit from CyanogenMod for developers who wish to use the CyanogenMod Froyo method outlined in the Rom Guide.
    - a2sd swapspace now uses different data to show the swap sizes and free.
    - Changed verbage in a2sd check to reflect the a2sd reinstall and a2sd reswap commands.
    - New command: a2sd cmpatch - this command symlinks /cache/dalvik-cache to /data/dalvik-cache. Also creates a new Dalvik to Cache directory: /cache/dc.
    - Now have a way to detect if the program is running during boot. Type a2sd by itself on a command prompt will display the help file.
    Darktremor Apps2SD Version 2.7.5 Release Candidate 2 (RC2)
    - a2sd install and a2sd swap have been renamed to a2sd reinstall and a2sd reswap. This is due to too many people thinking that a2sd install and a2sd swap is the commands used to install apps2sd and to turn on swap. These functions are automatic when apps2sd starts. Those commands are suppose to be used to a) reactivate apps2sd after running the a2sd remove command and b) reactivate swap after running a2sd noswap.
    - Corrected lowmem-default command to work.
    - Uses the installed Busybox on the phone or the included Busybox for Apps2SD. This may help with phones that are ext3 capable but only mount as ext2.
    - Added more logging for Sysinfo
    - Creates a separate dump file during Sysinfo that has numerous pieces of information about the phone. This will help in future troubleshooting and development of Apps2SD (it doesn't get sent anywhere).
    - Detects Froyo build in a2sd check and a2sd repair. This will use the asterisks (old format) rather than the checkmarks (new format) in the report.
    Darktremor Apps2SD Version 2.7.5 Release Candidate 1 (RC1)
    - Added mknod command to create /dev/block/mmcblk0p2 (mostly for Froyo kernels)
    - Added logging. Log is saved in /data/dta2sd.log
    - Added Low Memory Killer commands (lowmem-moderate, lowmem-strict, lowmem-optimum, lowmem-aggressive, lowmem-extreme, lowmem-ultimate). Now the user can control the low memory killer settings and reapply them on boot. a2sd check reports Low Memory Killer settings - Moved launching of boota2sd from starta2sd to launcha2sd. This eliminates one level of bash shell, which should make the program use less memory.
    - Now displays the help file when a2sd is called without command parameters from the command line.
    - Added a new property: apps2sd.run. This is used for determining if a2sd is being called at first boot or the command line.
    - Fixed an issue with moving /data/app and /data/app-private where the permissions were not being copied. This caused strange issues to occur in applications, especially the paid apps.
    - a2sd check now reports "default setting" used when dalvik.vm.heapsize doesn't exists.
    - Detection of No Apps2SD flag file has been installed in the Apps2SD Lite Version (apparently that was skipped all this time).
    - Moved the code to activate swap to the front of launcha2sd. This is until I find a better way of detecting it.
    - New format for a2sd check and a2sd repair. Now displays graphic symbols. Should make the report easier to read. Note: New graphics doesn't work so well in Froyo builds. A fix is coming soon.
    - New commands: a2sd swapspace shows the amount of swap space (this may not work in all roms). a2sd sysinfo shows a complete profile of your phone.
    Darktremor Apps2SD Version 2.7.5 Preview Fix 4a
    - Removed 00a2sdremove script file. Removal of other apps2sd is done during the flash process.
    - Fixed a coding error during the rebuild process where a2sd install and a2sd cachesd was not proceeding when the ext partition was mounted.
    Darktremor Apps2SD version 2.7.5 Preview Fix 4
    - Complete rebuild from Apps2SD 2.7 Update 3r1. This one is built a little different than Preview releases. Changes from Preview Fix 3 are included.
    - Help system will now show the entire command list using Busybox More. - a2sd check will now display the ext type on the SD card.
    - a2sd defaultheap will return the heap size to the device's default setting (removes all heap flag files)
    Darktremor Apps2SD version 2.7.5 Preview Fix 3
    - Removed reference to mounting /system (except in JIT installation/removal). This is to accommodate NAND protection in the Desire.
    Darktremor Apps2SD version 2.7.5 Preview Fix 1 and Preview Fix 2
    - Fixed JIT installation and removal error.
    Darktremor Apps2SD version 2.7.5 Preview
    - Added Boot Loop Protection...moves app, app-private and/or dalvik-cache back to internal storage if SD card could not be mounted. Sets No Apps2SD flag.
    - Added Dalvik JIT. - Added user selectable Dalvik heap sizes (smallheap = 16mb, largeheap = 24mb, jumboheap = 32mb) - Renamed many programs with new .a2sd extentions.
    - Corrected bugs from Darktremor A2SD 2.7 Update 3r1.
    - Apps, Dalvik Cache and Swap Partition can be activated separately.
    - Install and Davik Cache to SD will not work if the SD card can't mount. This prevents a user-inflicted boot loop.
    Darktremor A2SD Version 2.7 Update 3r1
    - Fixes a bug in fixa2sd that causes the dalvik-cache to automatically move to the SD card.
    - Created a new program called launcha2sd that now does the launching functions of a2sd. The program a2sd now launches launcha2sd using bash. This fixes any /system/bin/sh issues with open brackets being interpreted at commands rather than conditions in an IF statement.
    Darktremor A2SD Version 2.7 Update 3
    - If a rom has the dalvik-cache on the cache partition, it will not attempt to move it to the internal cache.
    - Users now have an option to move the dalvik-cache to the cache partition. The option to move dalvik-cache to the SD card is still retained.
    - New commands introduced: cachepart moves dalvik-cache to cache partition, cachesd moves dalvik-cache to sd card (phased replacement to a2sd cache).
    - Fixes some minor bugs.
    Darktremor A2SD Version 2.7 Update 2
    - The /system partition returns to read-only state when the program is finished. The /data partition is left untouched.
    - ZipAlign does not automatically start on boot. You must type a2sd zipalign to activate the start on boot feature.
    - Taken out visual references of CyanogenMod's cm.filesystem.ready and DamageControl's dc.filesystem.ready. It now refers to both visually as "File System Ready property"
    - A2SD Check no longer mounts the ext partition. It will indicate when the ext partition is not already mounted. This should help in troubleshooting roms that do not automatically launch A2SD.
    Darktremor A2SD Version 2.7 Update 1
    - Reversed a decision on 2.7 final to set /system and /data to read-only when the program completes. This is causing major issues with some newer roms.
    Darktremor A2SD Version 2.7
    - Completely rebuild the entire program from ground up. Attempted to simplify the process and to better detect different environments.
    - All programs use the included busybox.a2sd to avoid conflicts with the different busybox installations.
    - Mounts /system and /data in read-write to prevent any conflicts. Remounts them in read-only when completed.
    - Except for a2sd, all programs built as bash scripts.
    - Separated the original program into the following programs:
    a2sd - Simple script that detects whether the init.rc was fixed with the cm.filesystem.ready and sets it accordingly. Starts starta2sd if either a command is included or the cm.filesystem.ready patch is installed, otherwise runs A2SD that does not move dalvik-cache. Runs a smaller version of the boota2sd if the cm.filesystem.ready or dc.filesystem.ready are not present.
    starta2sd - Processes all commands...it's the controller program. Adds the following commands: align, zipalign, nozipalign, resetcache, clearcache, fixmarket, diskspace. boota2sd - Used when the cm.filesystem.ready fix or the dc.filesystem.ready fix is present in init.rc. Resets dalvik-cache, app and app-private to internal storage upon the following conditions:
    - Mount failure or missing ext partition, and
    - Any or all key directories are symlinked to the SD card. This step prevents a bootloop or a stall from occuring during the boot process. Also incorporates better detection of mounted partition. If it detects the partition mounted in /proc/mounts, it will skip trying to mount. Automatically executes fixa2sd if the flags and symlinks to dalvik-cache, app and/or app-private do not match. Also moved the mounting of the swap partition to the end and reintegrated auto partition detection when mounting (similar to A2SD 2.6.1). Added ZipAlign functions.
    chka2sd - Incorporates bug fixes that did not detect the dalvik-cache correctly. New report layout (should be simpler to read). Code was simplified. fixa2sd - Incorporates same bug fixes as chka2sd. Does a better detection of flag files and symlinks. Code was simplified.
    setupa2sd - Used to execute setup commands from starta2sd (install, remove, cache, nocache, align, fixmarket). Also controls a2sd help.
    aligna2sd - zip aligns all apk files in /data/app and /data/app-private.
    010a2sdmodaco - Part of the Beta8 Modaco Desire testing, does the following:
    - If 02cachedalvikcache exists, back the program up and overwrite the program, preventing the contents from executing.
    - if 40a2sd exists, do the same thing.
    Darktremor A2SD Version 2.6.1
    - Mainly a bugfix. Corrects the dalvik-cache code where it would put the dalvik-cache back on the sd card even when the flag file was set.
    - Put the flag files back on /system/sd. Fresh 2.0d was incompatible with the new setup (it doesn't mount the /sdcard until later in the boot process).
    - Added code for Fresh 2.0d...the boot can be hung if the dalvik-cache is changed during boot. Program automatically determines if 04apps2sd exists in /system/etc/init.d (this is signature for any roms built from Fresh 2.0d) and automatically sets the NoCache flag if the dalvik-cache is in internal memory and the NoCache flag isn't set.
    - Fixed swap code. It was not turning on swap when it should.
    - (Release 1) - Fixed some minor issues.
    - (Release 2) - Recreated a new flash package that is more compatible with different recovery system.
    Darktremor A2SD Version 2.6
    - Moves all flag files from /system/sd to /sdcard. The kernel mounts the FAT32 SD partition and that will be available before Apps2SD runs. Future flag file creation will be in /sdcard.
    - Added a check feature (a2sd check). This will check your flag files and symlinks. A report on your screen will tell you what needs to be fixed, if any.
    - Added a repair feature (a2sd repair). This will repair your a2sd installation.
    - Flashing the A2SD checks Busybox installation and reinstalls it if necessary (it only checks for a missing Busybox installation...it won't replace the one you have installed).
    - Automatically remounts /system and /data partitions for read-write access when started with any of the install/repair options (install, repair, cache, nocache, remove).
    - Fixed mount command...now uses auto detect rather than the individual partitions. This allows A2SD to work on ext4.
    - Separate nocache version available for slower SD cards.
    Darktremor A2SD Version 2.5
    - Added functionality to move dalvik-cache to the ext partition.
    - Added option a2sd cache to manually move the dalvik-cache to the ext partition.
    - Added option a2sd nocache to manually move the dalvik-cache back to the internal phone storage.
    - Added option a2sd install to setup a2sd on a phone (all apps and dalvik-cache on ext partition)
    - Added option a2sd remove to revert all a2sd changes back to normal mode (all apps and dalvik-cache in internal storage).
    - Added option a2sd noswap to turn off swap partition.
    - Added option a2sd swap to turn on swap partition.
    1
    Your android phone is designed to store applications in the phone's internal storage under the directory /data/app and /data/app-private.

    Apps2SD allows the applications to be stored on the SD card by telling Android to store the applications somewhere else.

    It does this by creating directories on your SD card, then replaces /data/app and /data/app-private with a symbolic link file. A symbolic link file is a file that is a reference to another file or directory. This is similar to how shortcuts work in Windows.

    For example, without Apps2SD installed, if you used a file manager on your phone and tapped the /data/app folder, you would see a bunch of files. Now, if you look at where you are at in the directory chain, you would be at /data/app, since that is a directory.

    When Apps2SD is active, if you tap on the /data/app folder, you would still see files, but you will noticed that you are in a completely different directory (/system/sd/app). This is because /data/app is a file that points to /system/sd/app. When Android stores your program in /data/app, it thinks it is still storing it in /data/app (Internal storage). But, because of redirection, it is really storing the program in /system/sd/app.

    When you type a2sd install, one of the processes it performs is moving all the data from /data/app to /system/sd/app. In your case, it looks like you tried to perform an install of Apps2SD after it was already installed. In other words, the files were trying to copy to themselves, which can't happen.

    The a2sd install command is usually not necessary, as the program will automatically set itself up upon boot. The only time you really need to use a2sd install is if you used an a2sd remove command in the past or the Boot Loop Prevention code activated (your SD card failed to mount). Both scenarios activate the No Apps2SD flag file, which a2sd install removes.

    To check your diskspace on your ext partition, you can use a2sd diskspace.

    Running a GSM Hero using a stock 2.1 repack ROM.

    I've not used A2SD before, but giving it a shot now. I had no problems setting it up, the instructions are very clear and concise, but I am having problems using it.

    I setup a 750MB ext3 partition, and I was expecting AppMonster to report I had loads of freespace. It was reporting my freespace as pretty much what it was before. (100MB free)

    I tried /system/bin/a2sd install and it appears I have lots of duplicated files from the rather verbose output.

    What have I done wrong?
    Thanks.

    Code:
    # /system/bin/a2sd install
    /system/bin/a2sd install
    [ ] Launching Darktremor A2SD
    [*] Starting Darktremor Apps2SD version 2.7.5 preview
    [ ] Mounting /system as read-write
    [ ] Starting Apps2SD in install mode
    [ ] Checking SD Card.
    [ ] Searching for Mount Point...
    [!] Mount point found..no further action required.
    [ ] Checking for ext partition
    [*] Ext partition found and already mounted.
    [ ] Moving apps to SD card.
    cp: '/data/app/YouTube.apk' and '/system/sd/app/YouTube.apk' are the same file
    cp: '/data/app/br.com.fast4ward.sdcardspeedtester.zip' and '/system/sd/app/br.co
    m.fast4ward.sdcardspeedtester.zip' are the same file
    cp: '/data/app/btm.game.ui.apk' and '/system/sd/app/btm.game.ui.apk' are the sam
    e file
    cp: '/data/app/com.adobe.reader.apk' and '/system/sd/app/com.adobe.reader.apk' a
    re the same file
    cp: '/data/app/com.agilesoftresource.apk' and '/system/sd/app/com.agilesoftresou
    rce.apk' are the same file
    cp: '/data/app/com.alfray.timeriffic.apk' and '/system/sd/app/com.alfray.timerif
    fic.apk' are the same file
    cp: '/data/app/com.bigtincan.android.adfree.apk' and '/system/sd/app/com.bigtinc
    an.android.adfree.apk' are the same file
    cp: '/data/app/com.bonfiremedia.android_ebay.apk' and '/system/sd/app/com.bonfir
    emedia.android_ebay.apk' are the same file
    cp: '/data/app/com.dozingcatsoftware.WireGoggles.apk' and '/system/sd/app/com.do
    zingcatsoftware.WireGoggles.apk' are the same file
    cp: '/data/app/com.facebook.katana.apk' and '/system/sd/app/com.facebook.katana.
    apk' are the same file
    cp: '/data/app/com.google.android.apps.maps.apk' and '/system/sd/app/com.google.
    android.apps.maps.apk' are the same file
    cp: '/data/app/com.google.android.apps.shopper.apk' and '/system/sd/app/com.goog
    le.android.apps.shopper.apk' are the same file
    cp: '/data/app/com.google.android.apps.translate.apk' and '/system/sd/app/com.go
    ogle.android.apps.translate.apk' are the same file
    cp: '/data/app/com.google.android.apps.unveil.apk' and '/system/sd/app/com.googl
    e.android.apps.unveil.apk' are the same file
    cp: '/data/app/com.google.android.maps.mytracks.apk' and '/system/sd/app/com.goo
    gle.android.maps.mytracks.apk' are the same file
    cp: '/data/app/com.google.android.stardroid.apk' and '/system/sd/app/com.google.
    android.stardroid.apk' are the same file
    cp: '/data/app/com.google.zxing.client.android.apk' and '/system/sd/app/com.goog
    le.zxing.client.android.apk' are the same file
    cp: '/data/app/com.handcent.nextsms.apk' and '/system/sd/app/com.handcent.nextsm
    s.apk' are the same file
    cp: '/data/app/com.luke.uktvguide.apk' and '/system/sd/app/com.luke.uktvguide.ap
    k' are the same file
    cp: '/data/app/com.magicwach.rdefense_free.apk' and '/system/sd/app/com.magicwac
    h.rdefense_free.apk' are the same file
    cp: '/data/app/com.maplekeycompany.apps.shake.apk' and '/system/sd/app/com.maple
    keycompany.apps.shake.apk' are the same file
    cp: '/data/app/com.mathpad.mobile.android.wt.unit.apk' and '/system/sd/app/com.m
    athpad.mobile.android.wt.unit.apk' are the same file
    cp: '/data/app/com.mattwach.trap2.apk' and '/system/sd/app/com.mattwach.trap2.ap
    k' are the same file
    cp: '/data/app/com.mgillespie.AutosportsFREE.apk' and '/system/sd/app/com.mgille
    spie.AutosportsFREE.apk' are the same file
    cp: '/data/app/com.mgillespie.GamingNews.apk' and '/system/sd/app/com.mgillespie
    .GamingNews.apk' are the same file
    cp: '/data/app/com.mixzing.basic.apk' and '/system/sd/app/com.mixzing.basic.apk'
     are the same file
    cp: '/data/app/com.neoline.music.apk' and '/system/sd/app/com.neoline.music.apk'
     are the same file
    cp: '/data/app/com.newsrob.apk' and '/system/sd/app/com.newsrob.apk' are the sam
    e file
    cp: '/data/app/com.opera.mini.android.apk' and '/system/sd/app/com.opera.mini.an
    droid.apk' are the same file
    cp: '/data/app/com.pgmsoft.wifinder.apk' and '/system/sd/app/com.pgmsoft.wifinde
    r.apk' are the same file
    cp: '/data/app/com.rechild.advancedtaskkiller.apk' and '/system/sd/app/com.rechi
    ld.advancedtaskkiller.apk' are the same file
    cp: '/data/app/com.rerware.android.MyBackupPro.apk' and '/system/sd/app/com.rerw
    are.android.MyBackupPro.apk' are the same file
    cp: '/data/app/com.shazam.android.apk' and '/system/sd/app/com.shazam.android.ap
    k' are the same file
    cp: '/data/app/com.socialnmobile.dictapps.notepad.color.note.apk' and '/system/s
    d/app/com.socialnmobile.dictapps.notepad.color.note.apk' are the same file
    cp: '/data/app/com.xe.android.apk' and '/system/sd/app/com.xe.android.apk' are t
    he same file
    cp: '/data/app/de.android_telefonie.appmanager.apk' and '/system/sd/app/de.andro
    id_telefonie.appmanager.apk' are the same file
    cp: '/data/app/de.czesla.android.remote.apk' and '/system/sd/app/de.czesla.andro
    id.remote.apk' are the same file
    cp: '/data/app/net.flixster.android.apk' and '/system/sd/app/net.flixster.androi
    d.apk' are the same file
    cp: '/data/app/org.transdroid.apk' and '/system/sd/app/org.transdroid.apk' are t
    he same file
    cp: '/data/app/uk.co.johnsto.android.beebplayer.apk' and '/system/sd/app/uk.co.j
    ohnsto.android.beebplayer.apk' are the same file
    [ ] Linking /data/app to /system/sd/app.
    [ ] Moving private apps to SD card.
    cp: '/data/app-private/br.com.fast4ward.sdcardspeedtester.apk' and '/system/sd/a
    pp-private/br.com.fast4ward.sdcardspeedtester.apk' are the same file
    [ ] Linking /data/app-private to /system/sd/app-private.
    [ ] Removing No A2SD flag file.
    rm: cannot remove '/data/.noa2sd': No such file or directory
    [ ] Setting File System Ready property to 1.
    [ ] Remounting /system to read-only.
    #
    Can someone also explain how A2SD works in a simplified form? It may help in understanding things.

    Thanks.