• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root app2sd

Hey
I am wondering what the best way of doing app2sd would be?
Thanks for your help!

Hi,

Best way to app2sd (IMHO) is using the darktremor's app2sd which is built in to my ROM and Jiilik's ROM. This is only for v20a though. To do so, do the following:

Download a partitionning tool (Minitool partition editor for example, freeware and does alot of partition formats)
Partition your SD card like this:

Main partition: Primary, FAT32, Resize it down by 1GB or so
Secondary partition: 1GB Primary, EXT4 or EXT3 partition type (I suggest Ext4 but I'm not sure if it's properly supported, so try Ext3 if it doesn't work)

I suggest 1GB because there is a limitation on partitions above 2GB, and I strongly doubt anyone will install more than 1GB worth of apps anyways. I have 2GB of apps on my Galaxy S2 and I just now crossed the 1GB barrier after 6 months and I download ALOT OF STUFF.

Once your SD card is partitionned, slap it back in the phone and boot up. Once it's booted up, it's possible that App2sd didn't configure itself. To configure it, either use adb shell to access a shell or use the Android terminal app from the market. Type the following:

su
a2sd reinstall

This should reboot the phone. Once that's done, I suggest doing the following also:

su
a2sd cachesd

Should again reboot.

This will put your apps and Dalvik cache to the SD card. I recommend this solely because I've had Apps on SD and dalvik on the data partition and I'd get dalvik cache corruption.

--------------------

Another alternative I could recommend is the link2SD application, as it works for both Gingerbread and Eclair (v20a and v10d). The advantage of link2SD is you can create two FAT32 partitions if ext2/3/4 support isn't there (Stock gingerbread ROM doesn't have ext4 support for example and stock Eclair ROM doesn't have any ext support at all). Once you've partitionned your second primary partition on the SD card, put it in the phone, boot it up and run link2SD. Select your partition type from the popup menu. It'll create the necessary folder to read the partition. Once that's done, you can manually move applications to that partition and it transfers both the app and the dalvik cache file. You can also set the application to transfer all new application installations automatically. It's a more versatile way of doing app2sd.

Really depends on what you're looking for. ;) I prefer Darktremor's solution though.
 
I am finding the davlik cache gets unlinked in a lot of apps with link2sd. This never happened in 2.1. Actually in 2.1, the lib files would do that, but not now in 2.3
 
I am finding the davlik cache gets unlinked in a lot of apps with link2sd. This never happened in 2.1. Actually in 2.1, the lib files would do that, but not now in 2.3

I'm thinking it has to do with the way Dalvik is managed on Gingerbread... It must rebuild dalvik files more often. If Dalvik is rebuilt, it breaks the symlink... Which is why I recommend Darktremor's solution on 2.3.3, if you're using 2.1 Link2SD is the only viable solution...
 
Back
Top Bottom