Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Phones > LG Ally > Ally - All Things Root



Reply
 
LinkBack Thread Tools
Old December 21st, 2011, 09:40 PM   #1 (permalink)
New Member
 
Join Date: Dec 2011
Posts: 6
 
Device(s):
Thanks: 3
Thanked 0 Times in 0 Posts
Question Moving folders to the SD card on the Ally? (ext2/3/4 partition preferably)

Running a rooted Ally, velocity 1.2 ROM, amonra recovery; busybox and bash shells as well as default; and I've got a 32GB microSD, with a 5GB ext3 and a 1GB swap partition setup on it (p2 & p3, p1's a 26GB FAT32).

I've been able to move a few apps to the fat32 partition on the SD card, with apps2SD but I'd like a little more flexibility and room, so.... Is it possible to move any of the following to those partitions?

/dalvik-cache
/cache
/data/data
/data/app
/system/app

Simply moving them and "ln -s"ing them doesn't seem to work, I tried that with the FAT32 partition (25GB), and lose permissions with it, too. My best guess is, it's not mounting the partition early enough in the boot process, adb catlog was giving me 'can't find dalvik-cache' errors.

So, my questions are:

1. Is it possible to move any of those, or all of them, to that partition? And if so, how? ideally i'd like the caches on the swap partion and the apps and /data/data on the ext3.

2. How can I reliably mount those partitions, and do so early enough in the boot cycle for them to be read at the right time in the boot cycle?

less important puzzles:
3. How do I set bash as my default shell?

4. I've been told android doesn't use an fstab, but a vold.fstab instead, yet I've seen both on the system.. what's up?

5. Failing any of this, is there a way to easilly shuffle the partition boundaries around to make /data a little larger?

Christiebunny is offline  
Reply With Quote
Sponsors
Old December 21st, 2011, 11:15 PM   #2 (permalink)
ROM Developer
 
rgocal's Avatar
 
Join Date: Jan 2011
Location: Pennsylvania
Posts: 708
 
Device(s): Razr (4.0.3 Root), Ally (Bionx Core), Enlighten (Dev WIP), Kindle Fire (Synergy),
Thanks: 81
Thanked 295 Times in 157 Posts
Send a message via AIM to rgocal Send a message via Yahoo to rgocal Send a message via Skype™ to rgocal rgocal09
Default

Alot of curious questions...
Simply apps are the only android based software of the system that can be moved to the sdcard on the ally device how ever possible on other devices. For instance in order to install android 3.0 to a kindle, it must run off the sdcard but thats just an example of android flexibility. It just all depends on the device capabilities but the ally does not have great memory usage
__________________

Don't forget the "thanks" button!
Donate | Android Tablet Forum Moderator | Bionix Facebook
Kinship, Mind, Skill

rgocal is online now  
Reply With Quote
Old December 21st, 2011, 11:39 PM   #3 (permalink)
New Member
 
Join Date: Dec 2011
Posts: 6
 
Device(s):
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by rgocal View Post
Alot of curious questions...
Simply apps are the only android based software of the system that can be moved to the sdcard on the ally device how ever possible on other devices. For instance in order to install android 3.0 to a kindle, it must run off the sdcard but thats just an example of android flexibility. It just all depends on the device capabilities but the ally does not have great memory usage
Oddd, i've got a friend that claims he's got /dalvik-cache moved (though he won't tell me how so i'm suspicious), how do I move the apps? just ln -s? and is that /data/app ot /data/app and /system/app both?
Christiebunny is offline  
Reply With Quote
Old December 22nd, 2011, 12:56 AM   #4 (permalink)
ROM Developer
 
rgocal's Avatar
 
Join Date: Jan 2011
Location: Pennsylvania
Posts: 708
 
Device(s): Razr (4.0.3 Root), Ally (Bionx Core), Enlighten (Dev WIP), Kindle Fire (Synergy),
Thanks: 81
Thanked 295 Times in 157 Posts
Send a message via AIM to rgocal Send a message via Yahoo to rgocal Send a message via Skype™ to rgocal rgocal09
Default

The cache is done by the rom itself and init.d scripts their called. You have no control over this, only the rom does (which the developer had to integrate ofcourse)
/data/app are the apps that can be moved to sdcard. /system/app stay on the memory device the system is installed on.
rgocal is online now  
Reply With Quote
The Following User Says Thank You to rgocal For This Useful Post:
Christiebunny (December 22nd, 2011)
Old December 22nd, 2011, 01:28 AM   #5 (permalink)
New Member
 
Join Date: Dec 2011
Posts: 6
 
Device(s):
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by rgocal View Post
The cache is done by the rom itself and init.d scripts their called. You have no control over this, only the rom does (which the developer had to integrate ofcourse)
/data/app are the apps that can be moved to sdcard. /system/app stay on the memory device the system is installed on.
I'll have to see if I can move/symlink /data/apps then, Icould have swore it was possible to move /data/dalvik-cache too, oh well, that's not as big an issue to me.

would you know how to set the ext2 partition to mount in vold.fstab, like the sdcard does? i can manually mount it, but i'd like it automounted, especially if I can do that early in the boot process so it sees the apps there. I tried /etc/fstab, I figured that'd load before vold.fstab does, since it mounts /system and the rest, but I couldn't get the change to stick.
Christiebunny is offline  
Reply With Quote
Old December 27th, 2011, 08:56 PM   #6 (permalink)
New Member
 
Join Date: Sep 2011
Posts: 3
 
Device(s):
Thanks: 0
Thanked 1 Time in 1 Post
Cool re apps on sd ext

Have you checked out the links2sd app? It moves apps to your ext partition, puts in the symbolic links, and mounts the ext partition at boot time. Its working pretty well for me.
Velocity 1.2
32 GB micro SD
dwarfplanet9 is offline  
Reply With Quote
The Following User Says Thank You to dwarfplanet9 For This Useful Post:
Christiebunny (December 28th, 2011)
Old December 27th, 2011, 08:59 PM   #7 (permalink)
New Member
 
Join Date: Dec 2011
Posts: 6
 
Device(s):
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by dwarfplanet9 View Post
Have you checked out the links2sd app? It moves apps to your ext partition, puts in the symbolic links, and mounts the ext partition at boot time. Its working pretty well for me.
Velocity 1.2
32 GB micro SD

I haven't, no, thank you! I'll look into it, especially since I'm also running velocity 1.2 w/ a 32GB microSD
Christiebunny is offline  
Reply With Quote
Old December 28th, 2011, 02:49 AM   #8 (permalink)
New Member
 
Join Date: Dec 2011
Posts: 6
 
Device(s):
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Link2SD does exactly what I'd hoped, it works awesome so far! although in hindsight maybe making an 8GB ext3 partition for apps was a bit overboard
Christiebunny is offline  
Reply With Quote
Old December 28th, 2011, 11:08 PM   #9 (permalink)
ROM Developer
 
rgocal's Avatar
 
Join Date: Jan 2011
Location: Pennsylvania
Posts: 708
 
Device(s): Razr (4.0.3 Root), Ally (Bionx Core), Enlighten (Dev WIP), Kindle Fire (Synergy),
Thanks: 81
Thanked 295 Times in 157 Posts
Send a message via AIM to rgocal Send a message via Yahoo to rgocal Send a message via Skype™ to rgocal rgocal09
Default

Quote:
Originally Posted by Christiebunny View Post
Link2SD does exactly what I'd hoped, it works awesome so far! although in hindsight maybe making an 8GB ext3 partition for apps was a bit overboard

Just abit 0.o lol
rgocal is online now  
Reply With Quote
The Following User Says Thank You to rgocal For This Useful Post:
Christiebunny (December 31st, 2011)
Old December 29th, 2011, 08:07 AM   #10 (permalink)
Senior Member
 
dots's Avatar
 
Join Date: Aug 2010
Location: Shelby Township, MI
Posts: 955
 
Device(s): LG Ally (Retired), HTC Inspire 4g (Current)
Thanks: 53
Thanked 243 Times in 190 Posts
kissarmy10001
Default

Moving dalvik-cache to sdcard ext partition is possible. I've done it back in the 2.1 days when i had an ally. Granted it wasn't the most stable idea but was possible. Used Darktermors apps2sd script.

See: [Script][A2SD] Darktremor 2.7.5.3 Beta 04 [N1] (01/29/2011) - xda-developers

This does what link2sd does plus more, just no GUI.
__________________
Visit the LG Ally IRC Channel!
LG Ally IRC Channel
dots is offline  
Last edited by dots; December 29th, 2011 at 08:10 AM.
Reply With Quote
Sponsors
Old December 30th, 2011, 01:24 AM   #11 (permalink)
New Member
 
Join Date: Dec 2011
Posts: 6
 
Device(s):
Thanks: 3
Thanked 0 Times in 0 Posts
Default

I shrunk the ext down to 1GB, I know it's more than I need, but I'll probably find something to fill it, just like everywhere else

Have 23MB free on the internal, could probably free up more, but there's several apps I wasn't sure about moving, like handcent, google maps, and other things with widgets.

I thought about moving dalvik-cache, but it seems lins2sd does that automatically for the files it moves to SD, anyways, so I'm not gonna touch it.

Thanks to everyone for the help though, although it's a tiny bit slower to boot now, it's SO much nicer than it was ... now if only the interal storage was an actual microSD I could replace, I'd put in a class10 4GB or something *joking*
Christiebunny is offline  
Last edited by Christiebunny; December 31st, 2011 at 02:40 PM.
Reply With Quote
Reply

LG Ally
Current Rating:
Rate this Phone:

 The LG Ally was one of the first Android handsets from the Korean manufacturer to see a US release. The QWERTY slider came to Verizon in the spring of 2010 as a mid-range smartphone geared towards those looking for a solid media and messaging... Read More


Bookmarks

Tags
cache, dalvik-cache, ext3, lg ally, root, sdcard


Go Back   Android Forums > Android Phones > LG Ally > Ally - All Things Root User CP
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 03:59 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo