How to install Dark Tremor’s a2sd on Samsung Galaxy Ace (Froyo/Custom Roms)

This method will only work on Samsung Galaxy Ace running Froyo or a Gingerbread custom Rom. This won’t work with stock gingerbread firmware.

ROMS that are ORM (Original From manufacturer) i.e.  Stock Roms will not run any version of a2sd except Froyo.  This is because the code to launch Darktremor 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.

If you are on Gingerbread, don;t be disappointed, a gingerbread tutorial is up in the works.
Requirements:
You need your phone to be rooted.
a2sd_enabler.sh.zip (The Script file)
dtapps2sd-2.zip (Darktremor 2.7.5.3 Beta 04)
Either ADB to run commands on PC (android sdk) or Terminal app on phone

Please note that this script sleeps for 8 seconds at boot time to make sure that the SD card is loaded before mounting.

Instructions:

  1. Backup all data, both on your phone and your SD card. Your sdcard will be wiped clean.
  2. Partition your SD card as following:
    1st partition FAT32, 2nd partition ext2. (Ext2 partition size >1 GB recommended) Make sure that you use ext2 only, as ext3 and ext4 are not supported by the stock kernel)
    How to partition your sd card?
  3. Insert your SD card and make sure that your phone recognizes it correctly.
    Connect your phone in Mass Storage mode, then extract the contents of “a2sd_enabler.sh.zip” to your SD card root directory. Also copy “dtapps2sd-2.zip” to the root of the sd card.
  4. If you are using stock recovery, rename “dtapps2sd-2.zip” as “update.zip”. This will be required in step 8.
  5. Disconnect mass storage. Do not unplug your phone. Open command prompt, navigate to your C:\android-sdk-windows->platform-tools folder (or wherever you have installed your android sdk) and execute:
    Code:
    adb shell
    su

    OR alternatively hit up terminal app on your phone & type:
    su
  6. Type in the following commands (try copy-paste each line then hit enter):
    Code:
    cp /sdcard/a2sd_enabler.sh /data/local/tmp/
    chmod 755 /data/local/tmp/a2sd_enabler.sh
    /data/local/tmp/a2sd_enabler.sh
  7. To double check everything, reboot your phone and login again as root through adb,(or hit the terminal app) then run the following command, and find a line similar to the highlighted line in the output below:
    Code:
    su
    df
    Output Code:
    /dev: 142220K total, 12K used, 142208K available (block size 4096)
    /mnt/asec: 142220K total, 0K used, 142220K available (block size 4096)
    /cache: 25656K total, 12K used, 25644K available (block size 4096)
    /data: 185240K total, 36768K used, 148472K available (block size 4096)
    /system: 213376K total, 211520K used, 1856K available (block size 4096)
    /system/sd: 1032088K total, 38512K used, 993576K available (block size 4096)

    /mnt/sdcard: 6783016K total, 190356K used, 6592660K available (block size 4096)
    /mnt/secure/asec: 6783016K total, 190356K used, 6592660K available (block size 4096)
  8. Now you’re good to go. Reboot into recovery and select “flash zip from sdcard” & then select file “update.zip” (from step 4). Reboot. (If you have clockworkmod recovery, you can directly select “flash zip from sd card” & then select “dtapp2sd-2.zip”, hence no need of renaming)

Voila!!

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)

IMPORTANT: 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.)

If you want to use your partition in ext3/ext4 format, follow the article below:
>> How to install Dark Tremor’s a2sd on Samsung Galaxy Ace (ext3/ext4)

Got question? Feel free to leave a comment.

[via Xda-developers]

5 thoughts on “How to install Dark Tremor’s a2sd on Samsung Galaxy Ace (Froyo/Custom Roms)

  1. Pingback: How to force install apps to SD card without ROOT!!! | do something create some thing

  2. Pingback: The definitive Android cheat sheet « Ace Tips

  3. Pingback: Advantages of rooting your phone « Ace Tips

  4. Pingback: How to install Dark Tremor’s a2sd on Samsung Galaxy Ace (ext3/ext4) « Ace Tips

  5. Pingback: How to force install apps to SD card without ROOT!!! « Ace Tips

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s