Jump to content

App2SD for Desire


Guest PaulW21781

Recommended Posts

Guest PaulW21781

Ok...

I installed the APP2SD doing the following method (fresh install, etc)

In Recovery Console

Partition SD Card

64Mb SWAP

1Gb ext2

Remainder FAT32

Wipe Data

Install rootupdate.zip

Reboot

Recovery Console (as soon as rebooted)

Install app2sd-signed

Reboot

Go through the HTC setup malarky (and restore backup of my settings so messages, etc come back)

Now...

/system/data/sd/app does contain apps I installed

However

/data/app Also contains the same data (not being moved?)

/data/app isn't symlinked to /system/sd/app (should it be?)

Phone memory is still going down when installing apps, even though it is being moved to SD (well, copied from what I can see)

Any ideas?? Is this right??

A quick google, and it mentioned this...

#mkdir /system/sd/app

#cd /data/app

#cp * /system/sd/app <-- if you do fresh firmware update, skip this step

#cd /data

#rm -r app

#ln -s /system/sd/app /data/app

Duno... trustworthy??

Edited by PaulW21781
Link to comment
Share on other sites

Guest ed.dark
Ok...

I installed the APP2SD doing the following method (fresh install, etc)

In Recovery Console

Partition SD Card

64Mb SWAP

1Gb ext2

Remainder FAT32

Wipe Data

Install rootupdate.zip

Reboot

Recovery Console (as soon as rebooted)

Install app2sd-signed

Ive done the same - still got memory decreasing

Reboot

Go through the HTC setup malarky (and restore backup of my settings so messages, etc come back)

Now...

/system/data/sd/app does contain apps I installed

However

/data/app Also contains the same data (not being moved?)

/data/app isn't symlinked to /system/sd/app (should it be?)

Phone memory is still going down when installing apps, even though it is being moved to SD (well, copied from what I can see)

Any ideas?? Is this right??

A quick google, and it mentioned this...

#mkdir /system/sd/app

#cd /data/app

#cp * /system/sd/app <-- if you do fresh firmware update, skip this step

#cd /data

#rm -r app

#ln -s /system/sd/app /data/app

Duno... trustworthy??

same happened to me. Ive not tried the other bit at the bottom though. How do we get a terminal up and running?

Edited by ed.dark
Link to comment
Share on other sites

Guest toxxico

i'm a complete newbie. can you please tell me how to install it. do i need linux to install a2sd? i have rooted the phone just don't have a clue how to install a2sd

Link to comment
Share on other sites

Guest rassha

I followed instructions from post #1, and I think it's installed. I think.??!! Anyway how to know that app2sd is installed. I don't see any icon. Installed lot of apps, but Memory storage keeps decreasing....

Not sure it's working....

Link to comment
Share on other sites

Working here. Did it like this, with 2 sd cards (1 gold):

-put in the goldcard with the signed apps2sd zip

-Go into recovery via linux

-install it

-power off

-put in the card you want to use for apps2sd

-go into recovery via linux

-partition sd card

-enter the sizes you want to use

-boot

Tada! :huh:

Link to comment
Share on other sites

I have a sd card with 2 partitions. 1 fat 32 and one ext3 as primary. Is this ok?

Make a first partition, ext2, with the size you want for your apps. The rest -> fat32.

Link to comment
Share on other sites

Guest rassha
I followed instructions from post #1, and I think it's installed. I think.??!! Anyway how to know that app2sd is installed. I don't see any icon. Installed lot of apps, but Memory storage keeps decreasing....

Not sure it's working....

I can confirm that app2sd working. On a "clean" phone, i have about 120 mb free space....Installed lots of applications, and I have plenty of room :huh: Among others, Motonav (30mb), Google Earth (22mb), Asphalt 3 (8 mb) and about 50 other apps, and Stil have 79mb free :P))

Paul, thanks a lot for this :blink:)))

Link to comment
Share on other sites

Guest hassand

i wiped my desire while rooting it

do i need to wipe it again to install a2sd?

if yes, for the future cases do i need to wipe it everytime i install something via recovery?

Link to comment
Share on other sites

Guest Heppieboeddah
i wiped my desire while rooting it

do i need to wipe it again to install a2sd?

if yes, for the future cases do i need to wipe it everytime i install something via recovery?

No need to wipe if you just want to update the apps2sd.

If you flash a new rom in the future the dev will inform you if a wipe is nessecary.

Make sure youre sd-card is already formatted with the Ext2 or Ext3 partition. Because apps2sd will place youre app on the Ext2/3 partition.

Link to comment
Share on other sites

Guest PaulW21781
Check if its ok with apps2sd. Howto was posted in the main-thread.

http://android.modaco.com/index.php?s=&amp...t&p=1257198

http://files.upit.me/1272682026.jpg

How to make the script see links...

http://android.modaco.com/index.php?s=&amp...t&p=1257305

Hope you don't mind, but I modified the script a little to also show how much space is being saved (and could be saved) by using the Dalvik-Cache modded A2SD :huh:

#!/system/bin/sh

  #Set all Paths to Check

  appsfld=/data/app

  appsprvfld=/data/app-private

  dalvikfld=/data/dalvik-cache

  #Get Sizes (even before checking)

  appsize=$(du -Lsh ${appsfld} | sed 's/\([0-9]*\)\(.*\)/\1/')

  appprivsize=$(du -Lsh ${appsprvfld} | sed 's/\([0-9]*\)\(.*\)/\1/')

  dcachesize=$(du -Lsh ${dalvikfld} | sed 's/\([0-9]*\)\(.*\)/\1/')

#Do the Magic!

if [ -h $appsfld ]; then

  echo -e "/data/app is a symlink.............OK ("$appsize"MB)"

  if [ -h $appsprvfld ]; then

	echo -e "/data/app-private is a symlink.....OK ("$appprivsize"MB)"

	if [ -h $dalvikfld ]; then

	  echo -e "/data/dalvik-cache is a symlink....OK ("$dcachesize"MB)"

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

	  totalsize=$(( $appsize + $appprivsize ))

	  totalsize=$(( $totalsize + $dcachesize ))

	  echo -e "\nAPPS2SD is saving you "$totalsize"MB of Internal Mem"

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

	  echo -e "/data/dalvik-cache is a bind-mount.OK ("$dcachesize"MB)"

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

	  totalsize=$(( $appsize + $appprivsize ))

	  totalsize=$(( $totalsize + $dcachesize ))

	  echo -e "\nAPPS2SD is saving you "$totalsize"MB of Internal Mem"

	else

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

	  totalsize=$(( $appsize + $appprivsize ))

	  echo -e "\nAPPS2SD is saving you "$totalsize"MB of Internal Mem"

	  echo -e "\nYou could save a further "$dcachesize"MB by moving the"

	  echo -e "Dalvic-Cache across with the modified APPS2SD Script!"

	fi

  fi

else

echo APPS2SD is NOT working!

totalsize=$(( $appsize + $appprivsize ))

totalsize=$(( $totalsize + $dcachesize ))

echo -e "You could save "$totalsize"MB by using APPS2SD with"

echo -e "the Dalvik-Cache mod!"

fi

exit 0

This one DOES require you to check Needs SU? in GScript.

6f4f9948.png

Edited by PaulW21781
Link to comment
Share on other sites

Guest PaulW21781
A2SD doesn't work in my Desire? Why? :huh:

Copy this file to your SD Card

http://paulw.hardmilk.com/downloads/r1-a2s...rade-signed.zip

Boot your phone into recovery mode, use the pushfiles method and the choose "Flash from SD" and select the file you just downloaded.

Once done, choose reboot, and then run the GScript again :P

There is no need to perform any kind of reset or wipe any data.

Link to comment
Share on other sites

Guest Snarkasm

What and where exactly does the script need to be for GScript to see it? I have a Check_A2SD.sh on the root of the SD card that contains the code in the code box above, but it never sees it when I try to load. Ideas?

Link to comment
Share on other sites

Guest PaulW21781
What and where exactly does the script need to be for GScript to see it? I have a Check_A2SD.sh on the root of the SD card that contains the code in the code box above, but it never sees it when I try to load. Ideas?

Needs to be in a folder called gscript on the root of the SD card.

Link to comment
Share on other sites

Guest DjDario
Copy this file to your SD Card

http://paulw.hardmilk.com/downloads/r1-a2s...rade-signed.zip

Boot your phone into recovery mode, use the pushfiles method and the choose "Flash from SD" and select the file you just downloaded.

Once done, choose reboot, and then run the GScript again :huh:

There is no need to perform any kind of reset or wipe any data.

Excellent, now it's work good!! Thank you! :-)

Link to comment
Share on other sites

Guest Heppieboeddah
Hope you don't mind, but I modified the script a little to also show how much space is being saved (and could be saved) by using the Dalvik-Cache modded A2SD :huh:

[..removed the code..and screenshot]

[...]

Like this script better... :blink:

And ofcourse I dont mind.... :P

Link to comment
Share on other sites

Guest PaulW21781
I can't find "GScript"

Where can I download it ?

it's not in the root of my SD....

THX

Go into the market, search for it :-)

Link to comment
Share on other sites

Guest kewell79
Copy this file to your SD Card

http://paulw.hardmilk.com/downloads/r1-a2s...rade-signed.zip

Boot your phone into recovery mode, use the pushfiles method and the choose "Flash from SD" and select the file you just downloaded.

Once done, choose reboot, and then run the GScript again :huh:

There is no need to perform any kind of reset or wipe any data.

Most i use my goldcard when installing this file?

Or use the card i already havw a2sd on?

edit: i tried the last one, worked perfekt :P

Edited by kewell79
Link to comment
Share on other sites

Guest maximini1

My Story:

1- I part my SD 16G :1.4G to EXT3 & the rest FAT32 by Paragon Partition Manager

2- I create My Gold Card ( drop the rootupdated.zip, app2sd.zip and touch input chinese.zip to it)

3- Wipe

4- Flash rootupdated.zip

5- Flash app2sd.zip

6- Flash touch input chinese.zip

7- Power Off

8- Boot up the phone, everything went alright

P.S. Installed app to phone, anyway phone memory still drop now around 100M, use busybox df -h checked my sd ext3 it use about 94M, personally its fine for me.

Link to comment
Share on other sites

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.