Jump to content

Is A2SD working?? and how can i test it?


Recommended Posts

Guest DickieUK
Posted

Hi guys,

i'm struggling to find out how to tell if A2SD is working for me...

i installed MCR2.0 core over MCR1.5 without wipe, i had already installed a small handful of apps.

last night i set my 2GB stock SD to the 3 partitions correctly and rebooted... (should this have been done prior to upgrade??)

i dont notice any difference and dont know how i can tell if A2SD is working? whats the signs?? what can i check??

i looked at Internal Memory in settings, which was at 92MB - dont know if this is RAM or storage??

as a test i uninstalled Maps, which had been installed whilst on MCR1.5, and the Int Mem stayed at 92MB

I then reinstalled it from Market and my Int Mem dropped to 90MB... any ideas??

As a second test, i found a 3MB random app off market, installed it, and then the Int Mem dropped by another 1MB..

Is this correct? Is this intended behaviour? did my old apps get moved to my SD automatically? How can i check?

Sorry to bother you, hope you can help as i'm a bit stuck...

Cheers

Dickie.

Guest markiemrboo
Posted
Hi guys,

i'm struggling to find out how to tell if A2SD is working for me...

i installed MCR2.0 core over MCR1.5 without wipe, i had already installed a small handful of apps.

last night i set my 2GB stock SD to the 3 partitions correctly and rebooted... (should this have been done prior to upgrade??)

i dont notice any difference and dont know how i can tell if A2SD is working? whats the signs?? what can i check??

i looked at Internal Memory in settings, which was at 92MB - dont know if this is RAM or storage??

as a test i uninstalled Maps, which had been installed whilst on MCR1.5, and the Int Mem stayed at 92MB

I then reinstalled it from Market and my Int Mem dropped to 90MB... any ideas??

As a second test, i found a 3MB random app off market, installed it, and then the Int Mem dropped by another 1MB..

Is this correct? Is this intended behaviour? did my old apps get moved to my SD automatically? How can i check?

Sorry to bother you, hope you can help as i'm a bit stuck...

Cheers

Dickie.

One way which may help determine is to run `adb shell` and then the following.

/system/sd is showing the ext sdcard partition. It's obviously got something on there, as 59.8MB is used. The file list is showing symlinks from /data/app* to the sdcard.

# df -h

df -h

Filesystem				Size	  Used Available Use% Mounted on

tmpfs					96.2M		 0	 96.2M   0% /dev

tmpfs					 4.0M		 0	  4.0M   0% /sqlite_stmt_journals

/dev/block/mtdblock3	170.0M	146.2M	 23.8M  86% /system

/dev/block/mtdblock5	165.8M	 28.1M	137.7M  17% /data

/dev/block/mtdblock4	130.0M	  1.8M	128.2M   1% /cache

/dev/block/mmcblk0p2	893.7M	 59.8M	786.3M   7% /system/sd

/dev/block//vold/179:1

						  6.4G	580.6M	  5.9G   9% /sdcard

# ls -l /data

ls -l /data

drwxrwxrwx	1 1000	 1000		 2048 Jan  6  1980 ←[1;34manr←[0m

lrwxrwxrwx	1 0		0			  14 Sep  4 09:52 ←[1;36mapp←[0m -> ←[1;34m/system/s

d/app←[0m

lrwxrwxrwx	1 0		0			  22 Sep  3 14:25 ←[1;36mapp-private←[0m -> ←[1;34m/

system/sd/app-private←[0m

drwxrwxrwx	1 1002	 1002		 2048 Jan  6  1980 ←[1;34mbtips←[0m

drwxrwx--x	1 1000	 1000		 2048 Jan  6  1980 ←[1;34mdalvik-cache←[0m

drwxrwx--x	1 1000	 1000		 2048 Jan  6  1980 ←[1;34mdata←[0m

lrwxrwxrwx	1 0		0			  11 Jan  6  1980 ←[1;36mdrm←[0m -> ←[1;34m/data/loc

al←[0m

-rw-r--r--	1 0		0			  32 Aug  1  2008 ←[0;0minit.sh←[0m

drwxr-xr-x	1 2000	 2000		 2048 Aug  1  2008 ←[1;34mlocal←[0m

drwxrwx---	1 0		0			2048 Jan  6  1980 ←[1;34mlost+found←[0m

drwxrwx--t	1 1000	 9998		 2048 Jan  6  1980 ←[1;34mmisc←[0m

drwx------	1 0		0			2048 Jan  6  1980 ←[1;34mproperty←[0m

-rw-rw-rw-	1 0		0			  69 Sep  3 14:19 ←[0;0mreboot.chk←[0m

drwxrwxr-x	1 1000	 1000		 2048 Jan  6  1980 ←[1;34msystem←[0m

drwxr-xr-x	1 1000	 1000		 2048 Sep  3 19:37 ←[1;34mtombstones←[0m

#

Guest DickieUK
Posted

ok, so i got:

# df -h

df -h

Filesystem				Size	  Used Available Use% Mounted on

tmpfs					96.2M		 0	 96.2M   0% /dev

tmpfs					 4.0M		 0	  4.0M   0% /sqlite_stmt_journals

/dev/block/mtdblock3	170.0M	149.9M	 20.1M  88% /system

/dev/block/mtdblock5	165.8M	 74.8M	 90.9M  45% /data

/dev/block/mtdblock4	130.0M	  1.1M	128.9M   1% /cache

/dev/block/mmcblk0p2	457.4M	 39.2M	393.8M   9% /system/sd

/dev/block//vold/179:1

						  1.3G	822.5M	543.1M  60% /sdcard

# ls -l /data

ls -l /data

drwxrwxrwx	1 1000	 1000		 2048 Sep  2 23:12 ←[1;34manr←[0m

lrwxrwxrwx	1 0		0			  14 Sep  4 22:14 ←[1;36mapp←[0m -> ←[1;34

m/system/sd/app←[0m

lrwxrwxrwx	1 0		0			  22 Sep  4 22:14 ←[1;36mapp-private←[0m -

> ←[1;34m/system/sd/app-private←[0m

drwxrwxrwx	1 1002	 1002		 2048 Sep  2 23:08 ←[1;34mbtips←[0m

drwxrwx--x	1 1000	 1000		 2048 Sep  2 23:08 ←[1;34mdalvik-cache←[0m

drwxrwx--x	1 1000	 1000		 2048 Sep  2 23:08 ←[1;34mdata←[0m

lrwxrwxrwx	1 0		0			  11 Sep  2 23:08 ←[1;36mdrm←[0m -> ←[1;34

m/data/local←[0m

-rw-r--r--	1 0		0			  32 Aug  1  2008 ←[0;0minit.sh←[0m

drwxrwx--x	1 2000	 2000		 2048 Sep  2 23:08 ←[1;34mlocal←[0m

drwxrwx---	1 0		0			2048 Sep  2 23:08 ←[1;34mlost+found←[0m

drwxrwx--t	1 1000	 9998		 2048 Sep  2 23:08 ←[1;34mmisc←[0m

drwx------	1 0		0			2048 Sep  2 23:08 ←[1;34mproperty←[0m

drwxrwxr-x	1 1000	 1000		 2048 Sep  2 23:12 ←[1;34msystem←[0m

drwxr-xr-x	1 1000	 1000		 2048 Sep  2 23:15 ←[1;34mtombstones←[0m

#

i'm guessing this is all cool then...

So whats ''Internal Memory''... any ideas why removing a pre-A2SD install app makes no difference, but reinstalling it lowered it??

Can you confirm if A2SD moves all preinstalled apps to SD on detection of the ext3 partition??

Many thanks for the quick reply, i'm almost starting to spend more time here than XDA-DEV's!!! :)

P.S. quick shout out to Paul for all your hardwork!! i've missed all this tinkering as i went back to 'conventional' handsets since my XDAIIs died... :)

Hero = LOVE IT!!

Guest markiemrboo
Posted (edited)

I reckon it's all probably ok. The 'Internal Memory' oddities may just be cache stuff. I think, though I am not sure (Paul can confirm / deny), that any apps stored locally are moved to the sd card when it detects a valid partition and sets it up?

Another thing you can check is to do an `ls /system/sd/app/`. You should see all of your apps in there if it is working (excluding HTC standard system apps etc) :-)

Edited by markiemrboo
Guest phillevy
Posted
I reckon it's all probably ok. The 'Internal Memory' oddities may just be cache stuff. I think, though I am not sure (Paul can confirm / deny), that any apps stored locally are moved to the sd card when it detects a valid partition and sets it up?

Another thing you can check is to do an `ls /system/sd/app/`. You should see all of your apps in there if it is working (excluding HTC standard system apps etc) :-)

I was also wanting to check if my apps were on the sd card - using astro file browser on my Hero, the only apps showing up on the device are the preinstalled ones in the system/app folder - so can I conclude that all my other apps must be on the sd card?

Guest AndyCr15
Posted (edited)

I've just partitioned too, all my apps I'd downloaded stopped working. I'm putting them back one by one, but when I browse to the SD card on ASTRO I don't see a folder containing apps. Should I?

**EDIT** when I do this

"One way which may help determine is to run `adb shell` and then the following.

/system/sd"

I get -

"sbin/sh: /system/sd: permission denied"

What's going wrong?

Edited by AndyCr15
Guest Stevie B
Posted
I've just partitioned too, all my apps I'd downloaded stopped working. I'm putting them back one by one, but when I browse to the SD card on ASTRO I don't see a folder containing apps. Should I?

**EDIT** when I do this

"One way which may help determine is to run `adb shell` and then the following.

/system/sd"

I get -

"sbin/sh: /system/sd: permission denied"

What's going wrong?

you have to change directory to sd not attempt to run it (execute it).

adb shell

#cd /system/sd

What you have done is to attempt to run a program named sd in the system directory

Guest markiemrboo
Posted
I was also wanting to check if my apps were on the sd card - using astro file browser on my Hero, the only apps showing up on the device are the preinstalled ones in the system/app folder - so can I conclude that all my other apps must be on the sd card?

I have found that for some reason ASTRO browser doesn't show anything in /system/sd for me either, however doing an `ls /system/sd/app` from adb shell shows them there just fine.

I've just partitioned too, all my apps I'd downloaded stopped working. I'm putting them back one by one, but when I browse to the SD card on ASTRO I don't see a folder containing apps. Should I?

**EDIT** when I do this

"One way which may help determine is to run `adb shell` and then the following.

/system/sd"

I get -

"sbin/sh: /system/sd: permission denied"

What's going wrong?

You're trying to run a folder here. You missed off the ls :)

ls /system/sd/app

Guest phillevy
Posted (edited)
I have found that for some reason ASTRO browser doesn't show anything in /system/sd for me either, however doing an `ls /system/sd/app` from adb shell shows them there just fine.

Sorry not sure if I was making myself clear - the point I was making was about not seeing any apps on the device/system/app folder (where they presumably would normally be in an unrooted phone), and this being reassurance that they must be on the SD card without the need to look at the SD card at all.

Edited by phillevy
Guest Stevie B
Posted
I was also wanting to check if my apps were on the sd card - using astro file browser on my Hero, the only apps showing up on the device are the preinstalled ones in the system/app folder - so can I conclude that all my other apps must be on the sd card?

Your other apps should be in a directory called /system/sd/apps

/system/sd is a mount point to your sdcard

therefore any further app installations should go in to this directory on your sd card

Guest phillevy
Posted
Your other apps should be in a directory called /system/sd/apps

/system/sd is a mount point to your sdcard

therefore any further app installations should go in to this directory on your sd card

I did realise that, so I thought that rather than try to browse this, I would look at the folder they would have been in without apps2sd and if they weren't there by a process of elimination it would confirm they had to be in the system/sd/apps folder which is not easily accessible for me.

  • 2 weeks later...
Guest DickieUK
Posted

I've just used DiskInternals Linux Reader to access my SD via USB-Hero connection, and looked in the EXT3 partition... I have 3 directories :

app - filled with various .zip's and .apk's

app-private - filled with .apk's

lost+found - empty

so i guess this is ok, but i'm still losing 'Internal Memory' (i'm down to 67MB now...)

Can anyone confirm this as ok?? i dont see the point in A2SD if i lose both Int Memory and SD space!

Also, does anyone know if the MoDaCo custom rom 2.0/A2SD manages the swap file like Swapper?? or is the Swap partition just so u can use Swapper etc... ??

Guest DickieUK
Posted

I've just used DiskInternals Linux Reader to access my SD via USB-Hero connection, and looked in the EXT3 partition... I have 3 directories :

app - filled with various .zip's and .apk's

app-private - filled with .apk's

lost+found - empty

so i guess this is ok, but i'm still losing 'Internal Memory' (i'm down to 67MB now...)

Can anyone confirm this as ok?? i dont see the point in A2SD if i lose both Int Memory and SD space!

Also, does anyone know if the MoDaCo custom rom 2.0/A2SD manages the swap file like Swapper?? or is the Swap partition just so u can use Swapper etc... ??

Guest Tibor Gáts
Posted
I've just used DiskInternals Linux Reader to access my SD via USB-Hero connection, and looked in the EXT3 partition... I have 3 directories :

app - filled with various .zip's and .apk's

app-private - filled with .apk's

lost+found - empty

so i guess this is ok, but i'm still losing 'Internal Memory' (i'm down to 67MB now...)

Can anyone confirm this as ok?? i dont see the point in A2SD if i lose both Int Memory and SD space!

Also, does anyone know if the MoDaCo custom rom 2.0/A2SD manages the swap file like Swapper?? or is the Swap partition just so u can use Swapper etc... ??

I have exactly the same problem, and could not figure out the solution. (I checked my EXT3 partition, all the apps are there in the mentioned directory, but I still lost the internal memory!) :) I already can not install more applications, I totally ran out of internal memory! :D PLEASE SOMEBODY HELP US!!!!

Guest Tibor Gáts
Posted
I have exactly the same problem, and could not figure out the solution. (I checked my EXT3 partition, all the apps are there in the mentioned directory, but I still lost the internal memory!) :) I already can not install more applications, I totally ran out of internal memory! :( PLEASE SOMEBODY HELP US!!!!

:D I found the solution!!!! :D :D B) :D B) I just deleted the contents of the "/data/local/tmp" folder, because every app I installed had a copy there. Now I have 96MB free space, and everything is working fine! :P

  • 2 weeks later...
Guest sherifbeko
Posted
:) I found the solution!!!! :D :P :D :D B) I just deleted the contents of the "/data/local/tmp" folder, because every app I installed had a copy there. Now I have 96MB free space, and everything is working fine! :D

when i use either astro file manager or linda file manager, the /data folder does not contain any other sub folders, any help ?

  • 6 months later...
Guest brosenz
Posted

I've been doing some research and found that the apps are being installed in the /system/sd/app folder, and after checking with df the size of the folder will grow as I install apps, I did some test with big apps like Google earth and maps. What I've noticed as well from the df command, is that the /data folder will grow, specifically the dalvik-cache folder within data (/data/dalvik-cache), meaning as I install more apps both directories will grow size, not in the same proportion, meaning the size in /system/sd/app of the files for Google Earth and Maps is much bigger than the size in /data/dalvik-cache, any idea why is this happening ?, or maybe I should not worry because dalvik-cache is just cache and will increase and decrease as needed ?, thanks a lot

I have a Nexus One using MoDaCo Alpha r21 with a 16GB SD card partitioned with 1G ext3 partition and the rest is FAT32

  • 4 months later...
Guest totiadrenalin
Posted
I've been doing some research and found that the apps are being installed in the /system/sd/app folder, and after checking with df the size of the folder will grow as I install apps, I did some test with big apps like Google earth and maps. What I've noticed as well from the df command, is that the /data folder will grow, specifically the dalvik-cache folder within data (/data/dalvik-cache), meaning as I install more apps both directories will grow size, not in the same proportion, meaning the size in /system/sd/app of the files for Google Earth and Maps is much bigger than the size in /data/dalvik-cache, any idea why is this happening ?, or maybe I should not worry because dalvik-cache is just cache and will increase and decrease as needed ?, thanks a lot

I have a Nexus One using MoDaCo Alpha r21 with a 16GB SD card partitioned with 1G ext3 partition and the rest is FAT32

installing dtapps2sd-2.7.5-rc2-signed.zip give me endless boot loop

some help here please?

Guest cortiis
Posted

Found this on VillainROM site and it works. The site is down for some reason so am copy pasting the contents.

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

Create check.sh

Mount your sdcard on your pc, create a folder called "gscript" on the root of the sdcard, create a textfile called "check.sh" inside that folder and paste the following code into that textfile:

#!/system/bin/sh

if [ -h /data/app ]; then

  echo /data/app is a symlink...............OK

  if [ -h /data/app-private ]; then

	echo /data/app-private is a symlink.......OK

	if [ -h /data/dalvik-cache ]; then

	  echo /data/dalvik-cache is a symlink......OK

	  echo -e "\nAPPS2SD is working with dalvik-cache!\n"

	elif mount|grep dalvik-cache > /dev/null; then

	  echo /data/dalvik-cache is a bind-mount...OK

	  echo -e "\nAPPS2SD is working with dalvik-cache!\n"

	else

	  echo -e "\nAPPS2SD is working without dalvik-cache!\n"

	fi

  fi

else

echo APPS2SD is NOT working!

fi

exit 0

Run check.sh

Download "GScript Lite" from market, hit menu, add script, uncheck "needs su", hit "load file", select check.sh, hit save. This will throw you back into the main menu of GScript, if you click on "check" now it will tell you the status of your apps2sd!

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.