FORUMS
Remove All Ads from XDA

modified: Installing & Run application on sdcard

32 posts
Thanks Meter: 0
 
By tempo10, Junior Member on 23rd December 2008, 08:27 PM
Post Reply Email Thread
24th December 2008, 07:13 AM |#11  
Stericson's Avatar
Retired Senior Mod / Retired Senior RecDev - Godfather of Android Theming
Thanks Meter: 413
 
More
Well talk is certainly better than nothing...thanks for the info....

Stericson
 
 
24th December 2008, 07:37 AM |#12  
OP Junior Member
Thanks Meter: 0
 
More
I post a method withtout compiling the ramdisk.img but that do not force mounting the sd ext2 drive under rootfs but still workable...probably when i back to work I can compile 1 to flash
25th December 2008, 09:43 AM |#13  
TheDudeOfLife's Avatar
Senior Member
Flag Chicago
Thanks Meter: 42
 
Donate to Me
More
Am I the only one that thinks there are a few things that are getting 'lost in translation' here?

I'm not getting /sd mounted properly upon reboot...there's no way I'm going to continue attempting this till I see a better (no offense) tutorial or do a little more research on the command lines.

I would really shy away from this if you're an average user or don't know what mountd and init.rc files are used for....this could flat out wreck your phone.
25th December 2008, 06:53 PM |#14  
Inactive Recognized Developer
Thanks Meter: 4,354
 
More
Quote:
Originally Posted by TheDudeOfLife

Am I the only one that thinks there are a few things that are getting 'lost in translation' here?

I'm not getting /sd mounted properly upon reboot...there's no way I'm going to continue attempting this till I see a better (no offense) tutorial or do a little more research on the command lines.

I would really shy away from this if you're an average user or don't know what mountd and init.rc files are used for....this could flat out wreck your phone.

/sd is /sdcard (mount point for the micro sd card's partition)
25th December 2008, 07:10 PM |#15  
Member
Thanks Meter: 3
 
More
I'm getting stuck right here:

8. busybox cp -a /data/app /sd/
9. rm -r /data/app
10. ln -s /sd/app /data/app
11. reboot


It's saying read only system blah blah, even though I have indeed mounted it is rw
25th December 2008, 07:28 PM |#16  
TheDudeOfLife's Avatar
Senior Member
Flag Chicago
Thanks Meter: 42
 
Donate to Me
More
Quote:
Originally Posted by pershoot

/sd is /sdcard (mount point for the micro sd card's partition)

No....no it is not.
/sd is a mount of the ext2 partition used for the 'copy' of /data/app (one of the things i disagreed with is picking /sd as a mount point for the second partition.)

/sdcard is the fat32 mount point...used as usual for mounting files.
25th December 2008, 07:30 PM |#17  
TheDudeOfLife's Avatar
Senior Member
Flag Chicago
Thanks Meter: 42
 
Donate to Me
More
Quote:
Originally Posted by IzzeLing

I'm getting stuck right here:

8. busybox cp -a /data/app /sd/
9. rm -r /data/app
10. ln -s /sd/app /data/app
11. reboot


It's saying read only system blah blah, even though I have indeed mounted it is rw

Type mount in adb shell and see if /sd is even mounted. I wasn't seeing it in my list. I don't think his mount command in the init.rc is correct, but I'm too busy with holiday stuff.

Don't rm -r /data/app if you have not 100% verified the copy works.
25th December 2008, 07:52 PM |#18  
jashsu's Avatar
Senior Member
Thanks Meter: 15
 
More
This line looks mangled (need flags in the args):

Edit: nevermind, looks like it should work in the init.rc
25th December 2008, 08:02 PM |#19  
Inactive Recognized Developer
Thanks Meter: 4,354
 
More
Quote:
Originally Posted by TheDudeOfLife

No....no it is not.
/sd is a mount of the ext2 partition used for the 'copy' of /data/app (one of the things i disagreed with is picking /sd as a mount point for the second partition.)

/sdcard is the fat32 mount point...used as usual for mounting files.

ahh yea. i just re-glanced over the instructions.

cool.
25th December 2008, 09:47 PM |#20  
Member
Thanks Meter: 3
 
More
Quote:
Originally Posted by TheDudeOfLife

Type mount in adb shell and see if /sd is even mounted. I wasn't seeing it in my list. I don't think his mount command in the init.rc is correct, but I'm too busy with holiday stuff.

Don't rm -r /data/app if you have not 100% verified the copy works.

Yeah, don't see it. Hm.
27th December 2008, 03:08 PM |#21  
bhang's Avatar
Senior Member
Flag megalopolis
Thanks Meter: 5
 
More
internal memory usage after this mod
what becomes of the internal fs and or the mem that it occupied?

Is it all used like ram on a pc to run apps on?

If the web and market caches don't seem to purge untill the "low space" error comes up, would they just bloat on up to fill the extra space if not moved or do they get moved by default, because the phone now thinks the partition on the sd is the internal FS?

I just want to understand how this affects the phone, I can make out from the commands what is going on but that is not what I want to know..thanks

If a g1 with its FS moved to sd rings in the woods but nobody is around to hear it, did somebody really call?


bhang

edit:
It just seems like there will be alot of storage on the handset FS that would sit unused, unless you added more *nix type stuff to like /bin or /sbin, or maybe debian or sumthin but ATM its just sitting unused, please correct me if im wrong, the OS doesn't see both /app dirs, correct?
Post Reply Subscribe to Thread

Tags
apps on sd, root

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes