Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Tip us?
 
darkcell
Old
(Last edited by darkcell; 13th April 2010 at 02:44 AM.)
#1  
Senior Member - OP
Thanks Meter 3
Posts: 136
Join Date: Mar 2004
Default app2sd for spica

this is app2sd for spica, i'm using xjd1 firmware (eclair 2.1) + root_lkupdate_v3_pda

first, I will not responsible for any damage of your device...

you will need a partitioned sdcard, just use paragon partition manager to create fat32 and ext2 partition, create fat32 first then ext2
it's recommended that you use at least class 4 microsd...

here it is:
#mount -o remount,rw,codepage=utf8,vfat,xattr,check=no /dev/stl6 /system
#busybox df -h --> make sure /sdcard is on /dev/block//vold/179:1
#cd / --> go to root directory
#mkdir /system/sd
#mount -t ext2 /dev/block/mmcblk0p2 /system/sd
#busybox df -h --> make sure /dev/block/mmcblk0p2 is mounted on /system/sd, if the mounting process fails you can't continue...

#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
basically app2sd is ended here, but you will lost app2sd every phone reboots, so you'll need to edit install-recovery.sh, add "mount -t ext2 /dev/block/mmcblk0p2 /system/sd" in the last line...or simply download edited install-recovery.sh here: http://cid-c4b7e1a837cca944.skydrive...ll-recovery.sh

install-recovery.sh is meant to autorun app2sd when phone reboots...

#cd /system
#chmod 0777 etc
#mv /system/etc/install-recovery.sh /system/etc/install-recovery.old --> backup the oiriginal install-recovery.sh

#exit
$exit

prompt>adb push install-recovery.sh /system/etc --> push downloaded install-recovery.sh to spica, don't turn off phone if pushing install-recovery fails!!!

if you wan't to turn off your phone you'll need to type:
#mv /system/etc/install-recovery.old /system/etc/install-recovery.sh
to restore install-recovery.sh to the original one...then you can safely turn off your spica...

prompt>adb shell
$su
#cd /system
#chmod 0755 etc
#chmod 0755 etc/install-recovery.sh
reboot to check if it works...

I will try to answer any questions you may have about the tut here but be forewarned, I'm no guru when it comes to this stuff. Therefore, if a question is asked that I can't answer, it would be appreciated if someone else who can does so.

I successfully allocated 560mb for /data/app


this credited to mboisker

Update:
it seems live wallpaper not working for me after using app2sd, it always force closed
don't know the problem, maybe the microsd is causing the problem...
 
johnnywhojr
Old
#2  
johnnywhojr's Avatar
Senior Member
Thanks Meter 279
Posts: 669
Join Date: Oct 2007
Location: Regina

 
DONATE TO ME
nice work!!!
 
johnnywhojr
Old
(Last edited by johnnywhojr; 13th April 2010 at 02:15 AM.) Reason: notifications
#3  
johnnywhojr's Avatar
Senior Member
Thanks Meter 279
Posts: 669
Join Date: Oct 2007
Location: Regina

 
DONATE TO ME
please ignore
 
johnnywhojr
Old
#4  
johnnywhojr's Avatar
Senior Member
Thanks Meter 279
Posts: 669
Join Date: Oct 2007
Location: Regina

 
DONATE TO ME
ok so i have found me a free copy of paragon and have partitioned to fat32. how would i then create ext2 on the sdcard? ive been looking through the program and am not seeing how to creat ext2. Suggestions? I use win7 32bit. Thanks
 
darkcell
Old
#5  
Senior Member - OP
Thanks Meter 3
Posts: 136
Join Date: Mar 2004
Quote:
Originally Posted by johnnywhojr View Post
ok so i have found me a free copy of paragon and have partitioned to fat32. how would i then create ext2 on the sdcard? ive been looking through the program and am not seeing how to creat ext2. Suggestions? I use win7 32bit. Thanks
first you need to delete all partition...
now, create fat32 partition first, specify how much mb you want to create for fat32
and then create partition again, choose ext2 for file system...

that's all...
 
johnnywhojr
Old
#6  
johnnywhojr's Avatar
Senior Member
Thanks Meter 279
Posts: 669
Join Date: Oct 2007
Location: Regina

 
DONATE TO ME
Quote:
Originally Posted by darkcell View Post
first you need to delete all partition...
now, create fat32 partition first, specify how much mb you want to create for fat32
and then create partition again, choose ext2 for file system...

that's all...
i have allocated 5gb for fat32. but when i attempt to partition to ext2, my only choices are 'not formatted' or 'fat16' or 'fat32' or 'apple hfs'

so im close but just not there. lol
 
darkcell
Old
#7  
Senior Member - OP
Thanks Meter 3
Posts: 136
Join Date: Mar 2004
Quote:
Originally Posted by johnnywhojr View Post
i have allocated 5gb for fat32. but when i attempt to partition to ext2, my only choices are 'not formatted' or 'fat16' or 'fat32' or 'apple hfs'

so im close but just not there. lol
what version your paragon?
try to install version 10
 
johnnywhojr
Old
(Last edited by johnnywhojr; 12th April 2010 at 10:39 PM.) Reason: update
#8  
johnnywhojr's Avatar
Senior Member
Thanks Meter 279
Posts: 669
Join Date: Oct 2007
Location: Regina

 
DONATE TO ME
Quote:
Originally Posted by darkcell View Post
what version your paragon?
try to install version 10
ive downloaded 2010 free edition and demo edition. i am also inprocess of 9.0 professional. so, once that is done and installed i will try again. looks like a little trial and error til i get it. thanks for the replys and point in the right direction!

UPDATE: So i dl'd 9.0 pro. and it worked to create ext2 on the sdcard. so now i will attempt this again and go from there. again thanks for the help.

2nd update:
#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

got to #rm -r app and it deleted all my apps and wouldnt allow me to carry on. so i would assume that this should be done using adb?
 
totalsam
Old
#9  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Apr 2010
That's wonderful !

Would it be possible to store some apps on the SD card, and let others in the phone's memory ?

Thanks in advance
 
darkcell
Old
(Last edited by darkcell; 13th April 2010 at 02:51 AM.)
#10  
Senior Member - OP
Thanks Meter 3
Posts: 136
Join Date: Mar 2004
Quote:
Originally Posted by johnnywhojr View Post
ive downloaded 2010 free edition and demo edition. i am also inprocess of 9.0 professional. so, once that is done and installed i will try again. looks like a little trial and error til i get it. thanks for the replys and point in the right direction!

UPDATE: So i dl'd 9.0 pro. and it worked to create ext2 on the sdcard. so now i will attempt this again and go from there. again thanks for the help.

2nd update:
#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

got to #rm -r app and it deleted all my apps and wouldnt allow me to carry on. so i would assume that this should be done using adb?
no, before you rm -r app, you should cp * /system/sd/app as told in above steps, so the applications still there in /system/sd/app, and now link the app to /data/app/ with ln -s /system/sd/app /data/app

so the /data/app is basically just a link to /system/sd/app now since it has been removed...

Quote:
That's wonderful !

Would it be possible to store some apps on the SD card, and let others in the phone's memory ?

Thanks in advance
no it's not possible, the apps only installed on sdcard now...

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Guide Your Sheep to Safety with Finger Shepherd

Just a coupe of days ago, we brought you news about a game calledAgent Sheep. In that … more

Nandroid Manager Receives Major Update

Do you find yourself obsessively jumping from ROM to ROM? And do you hate having to restore a full … more

Careers in Android: Recruiter Reveals How Resumes are Chosen – XDA Developer TV

XDA Developer TV Producer Jayce released a video a … more

HttpClient Tutorial to Upload and Download with Your App

Developers wanting to interact with the Internet need to choose a package to do the … more