ok so I'm getting ready for the big jf updates, and I figured I would productively pass my time by doing some new stuff.
the first thing I decided was that I was (thanks juan for the idea) going to move my caches to the ext2 partition of my sdcard (that I created for moving apps to) instead of the fat32 portion.
I also was going to do this through a script. as I began modifying it I chose to search for any new cache moves that may interest me. I did find this one for maps, that I haven't tested
the question though is how do I transfer this to my script (which will follow) and remove that extra /files inside of the cache, I would like to just have the maps one for ease of my clearing the caches script. so would someone with more knowledge then me correct any mistakes I have made.cd /data/data/com.google.android.apps.maps
mkdir /sdcard/cache/files/maps
busybox cp -a files /sdcard/cache/files/maps
rm -R files
ln -s /sdcard/cache/files/maps files
thanks for your help!!!chmod 0777 /data/local/bin/transfer.sh
mkdir /system/sd/cache
rm -R /data/data/com.android.vending/cache
mkdir /system/sd/cache/marketCache
ln -s /system/sd/cache/marketCache /data/data/com.android.vending/cache
rm -R /data/data/com.android.browser/cache/webviewCache
mkdir /system/sd/cache/webviewCache
ln -s /system/sd/cache/webviewCache /data/data/com.android.browser/cache/webviewCache
rm -R /data/data/com.google.android.street/cache
mkdir /system/sd/cache/streetCache
ln -s /system/sd/cache/streetCache /data/data/com.google.android.street/cache
rm -R /data/data/com.google.android.apps.maps
mkdir /system/sd/cache/maps
ln -s /system/sd/cache/maps /data/data/com.google.android.apps.maps
Last edited by constellanation; 02-05-2009 at 10:38 PM.
Just change the last line to ln -s /sdcard/cache/files/maps files
so?
rm -R /data/data/com.google.android.apps.maps
mkdir /system/sd/cache/maps
ln -s /system/sd/cache/files/maps files
could you translate that last line for me as well?
so I'll just think aloud here,
ok so ln -s is a symbolic link
and the second part is the old location and the first part is the new location?
I meant the last line of the first script.
And actually looking at it again you'll need to change the cp command. I'm not sure if you even need to copy the existing files into the sdcard cache folder. I would just skip the copy command, rm the files, then change the symlink to what I said in my previous post.
Although I'm not 100% sure why you care enough about a files folder inside the maps folder to begin with.
ok I think I see where you're going with this.
that first script isn't a script it was just the commands I just found for moving the map cache (which i don't remember seeing before).
the second script is the one I am trying to do personalize, and make sure works correctly. so in effect you can completely ignore the first quote box.
Consty, how are any of those commands moving the files to ext2 partition....? it just seems like the same commands for moving them to the sd card as before.... which means they would end up on the fat32 partition...right?
Edit: I noticed that it says system/sd. yea that would work i have been meaning to do this as well....
Last edited by birdman81484; 02-05-2009 at 08:42 PM.
well the old commands were /sdcard/cache/etc...
so system/sd/cache/etc... is the file created in the moving apps to sdcard if I'm not mistaken?
or atleast system/sd/etc... was
I haven't tried it because I was hoping to get some clarification on that map part (that i put together) at the end of the script (based on the cache moves) before I gave it a shot.
i feel like it may or may not be missing something. since some of its cache/files/ are different and so forth.
Bookmarks