If it does not belong anywhere else and has to do with Android post it here.
Aug 28th, 2010, 9:40 am
Hi,

I found these forums about a week ago and I must say they're a great help! I also grabbed some apps & games and that's from where I want to start this topic. Each app or game saves it's data on your internal SD card in it's own folder. While getting more and more apps your folder list will grow larger and larger. Is there a way to change the folder where the app saves it's data to?
For instance, App1 installs it's data in /sdcard/App1/data/... and App2 in /sdcard/App2/data/... Is it possible to save both like /sdcard/Apps/App1/data/... and /sdcard/Apps/App2/data/...

Tia
Aug 28th, 2010, 9:40 am
Aug 28th, 2010, 8:16 pm
Would also be nice to figure a answer out for this. I have the same problem. If you try to hide the folder in android by putting a "." in front of the folder name to make it hidden in a file explorer, the app then doesnt see the folder and makes a new one. We need a good solution for this.
Aug 28th, 2010, 8:16 pm
Sep 21st, 2010, 1:21 am
Ok, this might take a bit of patience on your part, this can be a complex process. But yes, it's very possible.

http://forum.cyanogenmod.com/topic/2636 ... hable-zip/

This is a link to Firerat's script to enable the old style Apps2SD on an ext partition instead of the SD cards normal fat partition. Now for this to work, you need a kernel that supports mounting ext partitions. I currently have over 450MBs of apps installed on my Motorola Droid (only comes with 256MBs of internal storage); now this might not be impressive because you can pull that off with Froyo's Apps2SD easily, but my Droid thinks that all these apps are actually installed on internal storage. So when I mount my SD card, all my apps are still accessible.

Word of caution, you should keep apps that are high priority to you on real internal storage (this can be done using Firerat's apkmanager.sh script in terminal emulator), but; and there is always a but, push your launcher into /system/app/ adb instead of moving it into real internal storage. My droid wouldn't boot up once I moved the launcher into internal storage for better performance, so I had to push the launcher to /system/app/ in recovery to get it to boot back up.

In short, read the thread, then re-read the thread. Make sure you understand what you are doing or you just might find yourself flashing a backup after a lot of time and hard work.

Edit: Forgot to mention, this tricks android. It moves your /data/app/ and /data/data/ into your SD card's ext partition (you have to partition your SD card yourself, you won't need more than 1GB, I recommend using Gparted), but your phone will still think they are on internal memory.
Sep 21st, 2010, 1:21 am
Sep 21st, 2010, 5:49 pm
ZeroBarrier wrote:now this might not be impressive because you can pull that off with Froyo's Apps2SD easily


So, let's wait for 2 more days. If not, you helped me out ;)
Sep 21st, 2010, 5:49 pm
Sep 21st, 2010, 7:05 pm
But thats not what he was really asking for. Those apps will still create a bunch or other folders on the root rood the SD card.

Ill give you a real world example...

This is how apps are writing to the sd now...


sdcard -- PicSayPro
--------- Zedge
--------- Shootme
--------- game1
--------- game2
--------- game3
--------- ex1
--------- ex2
--------- ex3


What we need, is a way to change it so apps would write to a folder like this.



sdcard -- media -- PicSayPro
------------------ Zedge
------------------ Shootme
---------
--------- games -- game1
------------------ game2
------------------ game3
---------
--------- exfolder -- ex1
-------------------- ex2
-------------------- ex3


I think this can be solved with symlinks but Im not a linux guru...
Sep 21st, 2010, 7:05 pm