[G1 Android Development] haitiankid4lyf:
Apps on sdcard (Magic 4.5 also)

For those with the new 4.5 rom u need to install busybox

Download this file to the root of your sdcard

http://androidfanatic.com/cms/unofficial-app-repo.html?func=startdown&id=14

then do folowinf commands from terminal emmulator or adb shell:

mkdir /data/busybox

cat /sdcard/busybox > /data/busybox/busybox

chmod 4755 /data/busybox/busybox

cd /data/busybox

./busybox --install

export PATH=/data/busybox:$PATH

then skip to STEP 2 of this post

Some people wanted a more simple Guide to installing apps on their sdcard

Original Post

http://xdaforums.com/showthread.php?t=468959

First thing first go here and download and install Paragon Partiton Magic its a 90day trial chances are you'll only need to use it once.

http://www.download.com/Paragon-Partition-Manager-Personal-/3000-2248_4-10495078.html?tag=mncol

- conect your phone to computer via USB and mount it.

- and programs that may be using the phone: adb, windows explorer, mediaplayer etc

- open it up Paragon and click on create a partition, then click next

- you should see something like:

Basic Hard Disk 2 (HTC Android Phone USB Device)

- click on it and hit next

- move the slider to set how big you want you new partition to - be move left to make it smaller and right to make it bigger

I set mines to 1gb, some set theres to 2gb it also depends on how big you sdcard is if you have the 1gb that came with the phone i wouldn't advise doing this because of size and because their transfer rate are slower and could cause lag. 500mb is more than enough room it all depends on you i had 90 apps and only used 42mb.

- anyways when you select the size hit next

- in partition type select Linux Ext2 leave everything else the - way it was

- now select yes and hit next, the process should start

- it may tell you that you computer needs to restart hit yes and - let it restart

** MAKE SURE YOU DONT UNPLUG YOUR PHONE OR TURN IT OFF, DONT TOUCH IT AT ALL UNTILL THE OPERATION IS COMPLETEY FINISHED**

- when the computer boots up before getting to the logon screen paragon will finish partitioning.

now go here:

http://xdaforums.com/showthread.php?t=468959

download and unzip, rename the folder it extracts to to: mod

now cut and paste the folder: mod that contains the two files to the root of your hard drive (my computer->local disk and paste them there)

if you tried this mod before and was unsuccessful make sure you wipe before you try again, you mountd and init files can be corupted, i would advice a wipe and then reinstallation of JF 1.4.1

- connect you phone to your computer if its not already, go to comand prompt (start->run... type cmd) copy and paste everything after $ into command prompt

$ adb devices

- make sure that you see you device connected

$ mkdir /backup

$ adb pull /system/etc/mountd.conf /backup

$ adb pull /system/init.rc /backup

- you just backed up those two files to a folder named backup thats on the root of your harddrive check and make sure they are there.

$ adb remount

$ adb shell mkdir /system/sd

$ adb shell ls /system

- make sure that you see sd in the list of things that come up

$ adb push /mod/mountd.conf /system/etc/mountd.conf

$ adb push /mod/init.rc /system/init.rc

$ adb shell reboot

$ adb remount

$ adb shell

STEP 2 htc magic users start here

$ busybox df -h

- make sure you see a line ending in /system/sd

$ busybox cp -a /data/app /system/sd

$ rm -r /data/app

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

$ busybox cp -a /data/app-private /system/sd/app-private

$ rm -r /data/app-private

$ ln -s /system/sd/app-private /data/app-private

if you want to move data

$ busybox cp -a /data/data /system/sd/data

rm -r /data/data

$ ln -s /system/sd/data /data/data

$ adb shell reboot

now you are finished, there are undu instructions on the original post also a way to copy yout /data/data/ (folder where caches and other stuff are saved) to sdcard i advice not if you dont have a class 5 or 6 card or artleast class 4

hope this helps