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

Root how to set up Apps2SD

theboo7

Well-Known Member
Feb 20, 2010
129
0
how to set up SD card
1. backup your sd card(copy all your files on to pc)
2. boot into recovery
3. select Partition sd card
4. select Partition sd
5. when that is done select SD:ext2 to ext3 you can use the default values when it asks
6. Flash rom then you can copy all your files back to your sd card.

To see if A2SD is working
Code:
adb shell
a2sd check

if you get something like

Code:
drwxrwx--x system system 2010-05-24 10:26 dalvik-cache
drwxr-xr-x system system 2010-05-24 09:28 tombstones
drwxrwx--x shell shell 2010-05-23 13:59 local
drwxrwxr-x system system 2010-05-24 10:58 system
drwxrwx--x system system 2010-05-23 13:59 app-private
drwxrwx--x system system 2010-05-23 13:55 app
drwxrwxrwx root root 2010-05-23 13:59 DxDrm
drwxr-x--- root log 2010-05-23 13:59 dontpanic
drwxrwxrwx bluetooth bluetooth 2010-05-24 10:27 btips
drwxrwx--x system system 2010-05-23 14:00 anr
drwx------ root root 2010-05-24 10:22 property
lrwxrwxrwx root root 2010-05-23 16:39 drm -> /data/local
drwxrwx--t system misc 2010-05-23 13:59 misc
drwxr-xr-x root root 2008-08-01 05:00 data
-rw-r--r-- root root 11936 2008-08-01 05:00 firstboot.sh
drwx------ system system 2010-05-24 10:26 backup
-rw-rw-rw- media system 2 2010-05-24 10:58 pvcodec.txt
drwxrwx--- root root 2010-05-23 13:59 lost+found
drwxrwxrwx wimax wimax 2010-05-23 13:59 wimax

run

Code:
adb shell
a2sd repair

and if you get something like
Code:
Starting Apps2SD script for DConfig at 05-24-2010 17:04:21
setting variables from default dc.conf in /system/etc/
: not found
: not found
: not found
: not found
: not found
: not found
: not found
: not found
: not found
: not found
: not found
: not found
: not found
[ ] checking variables
[ ] Searching for Mount Point...
[ ] Mount point found..no further action required.
[!] Setting Dalvik VM Heapsize to 16mb.
[ ] Checking for ext partition
[!] Ext partition found.
[ ] Checking Ext partition...
e2fsck 1.40.8 (13-Mar-2008)
/system/bin/e2fsck: Device or resource busy while trying to open /dev/block/mmcblk0p2
Filesystem mounted or opened exclusively by another program?
8
[ ] Mounting ext partitions as ext3.
mount: mounting /dev/block/mmcblk0p2 on /system/sd failed: Device or resource busy
[X] Mounting ext partition as ext3 failed.
[ ] Mounting ext partition as ext2.
mount: mounting /dev/block/mmcblk0p2 on /system/sd failed: Device or resource busy
[X] Mounting ext partition as ext2 failed.
[X] Can't continue script...aborting.


you forgot to update ext2 to ext3(refer to step 5)

Code:
[ ] Mounting ext partitions as ext3.
mount: mounting /dev/block/mmcblk0p2 on /system/sd failed: Device or resource busy
[X] Mounting ext partition as ext3 failed.
[ ] Mounting ext partition as ext2.
mount: mounting /dev/block/mmcblk0p2 on /system/sd failed: Device or resource busy
[X] Mounting ext partition as ext2 failed.
[X] Can't continue script...aborting

you forgot to upgrade your ext, see where its ssys it didnt find ext3(which most roms run)
so it tries to load up ext2 which is incompatible, which in the end causes the dailure where it csnt continue the script
:)
 
how do i partion it?
1. backup your sd card(copy all your files on to pc)
2. boot into recovery
3. select Partition sd card
4. select Partition sd
5. when that is done select SD:ext2 to ext3 you can use the default values when it asks
6. Flash rom then you can copy all your files back to your sd card.
 
Upvote 0
how do i tell if my apps are on my sdcard? i just followed your instructions and i don't know if they are on my sdcard or not... after i finished moving my files back to my phone i just did a nandroid restore... was that stupid? should i just start over?


the nand backup was stupid xD

ok so im not sure where you are in the setup and what rom your using etc.
first. what rom are you using?
second. go to terminal and run these commands
adb shell
cd data
ls -l
copy paste what comes out and let me see it.
 
Upvote 0
i am using the ic3 rom



drwxrwx--x system system 2010-05-24 10:26 dalvik-cache
drwxr-xr-x system system 2010-05-24 09:28 tombstones
drwxrwx--x shell shell 2010-05-23 13:59 local
drwxrwxr-x system system 2010-05-24 10:58 system
drwxrwx--x system system 2010-05-23 13:59 app-private
drwxrwx--x system system 2010-05-23 13:55 app
drwxrwxrwx root root 2010-05-23 13:59 DxDrm
drwxr-x--- root log 2010-05-23 13:59 dontpanic
drwxrwxrwx bluetooth bluetooth 2010-05-24 10:27 btips
drwxrwx--x system system 2010-05-23 14:00 anr
drwx------ root root 2010-05-24 10:22 property
lrwxrwxrwx root root 2010-05-23 16:39 drm -> /data/local
drwxrwx--t system misc 2010-05-23 13:59 misc
drwxr-xr-x root root 2008-08-01 05:00 data
-rw-r--r-- root root 11936 2008-08-01 05:00 firstboot.sh
drwx------ system system 2010-05-24 10:26 backup
-rw-rw-rw- media system 2 2010-05-24 10:58 pvcodec.txt
drwxrwx--- root root 2010-05-23 13:59 lost+found
drwxrwxrwx wimax wimax 2010-05-23 13:59 wimax
that is what happens when i run the adb shell. but i started the instructions over again from the begining before i did this and like i said in another post all of the apps (including my stock apps) are now in my internal memory so i only have 49.65mb of space left in the internal memory
 
Upvote 0
the first 2 commands worked but when i entered the third command this came up:

# a2sd repair
Starting Apps2SD script for DConfig at 05-24-2010 17:04:21
setting variables from default dc.conf in /system/etc/
: not found
: not found
: not found
: not found
: not found
: not found
: not found
: not found
: not found
: not found
: not found
: not found
: not found
[ ] checking variables
[ ] Searching for Mount Point...
[ ] Mount point found..no further action required.
[!] Setting Dalvik VM Heapsize to 16mb.
[ ] Checking for ext partition
[!] Ext partition found.
[ ] Checking Ext partition...
e2fsck 1.40.8 (13-Mar-2008)
/system/bin/e2fsck: Device or resource busy while trying to open /dev/block/mmcblk0p2
Filesystem mounted or opened exclusively by another program?
8
[ ] Mounting ext partitions as ext3.
mount: mounting /dev/block/mmcblk0p2 on /system/sd failed: Device or resource busy
[X] Mounting ext partition as ext3 failed.
[ ] Mounting ext partition as ext2.
mount: mounting /dev/block/mmcblk0p2 on /system/sd failed: Device or resource busy
[X] Mounting ext partition as ext2 failed.
[X] Can't continue script...aborting.



what should i do to fix this?
 
Upvote 0
i just started all over right now and deleted all of the files from my phone's sdcard and now i flashed my ROM back after doing the partition sdcard thing and right now am copying all of my files back over to the phone.

i'll tell you how it goes after that transfers over


ok here is what happened after i started over... it said the same thing lol, so should i just reboot and see if it works?
 
Upvote 0
how do i partion it?
1. backup your sd card(copy all your files on to pc)
2. boot into recovery
3. select Partition sd card
4. select Partition sd
5. when that is done select SD:ext2 to ext3 you can use the default values when it asks
6. Flash rom then you can copy all your files back to your sd card.
my recovery joeys 3.0.8 does not have the partition sd card option?
 
Upvote 0
i just started all over right now and deleted all of the files from my phone's sdcard and now i flashed my ROM back after doing the partition sdcard thing and right now am copying all of my files back over to the phone.

i'll tell you how it goes after that transfers over


ok here is what happened after i started over... it said the same thing lol, so should i just reboot and see if it works?

you need to upgrade your partion from ext2 to ext3
 
Upvote 0
how do you UNinstall aps2sd???

i did it, worked fine, but my apps seem to be lagging because of it.

hmmm i would guess that if its a ROM that has a option to check just uncheck
or maybe adb uninstall. or format your mem card and if the partion isnt on their, apps will install to internal mem and a2sd will still be there if you ever want it again.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones