my sdcard is kingston class 6. .i want Moving Dalvik-cache to sdcard .because my system .i'm make ota android 2.1 this rom language to china'language .system/app was deodex. .so the data /dalvik-cache is very big .
help me .....how to Moving Dalvik-cache to sdcard........
12/28 I kown how to move dalvik-cache to ext
1.adb shell
2.su
3.busybox df -h
4.cp -a /data/dalvik-cache /system/sd/
5.rm -r /data/dalvik-cache
6.ln -s /system/sd/dalvik-cache /data/dalvik-cache
7.reboot
OK that 's all
How to move dalivik-cache to sdcard
I believe its...
a2sd cachesd to move dalvik to ext
to check if working
chka2sd
another option i found on the forms is to move the dalvik cache to the cache folder instead of the sdcard with a script...
http://forum.xda-developers.com/showthread.php?t=748053
hope this helps
Related
I want to move some some huge apps data dir on sd card, to free internal memory. /data/data/com.google.earth, for example, is 17MB !
So, I make a folder /system/sd/data/ moving in com.google.earth and doing symlink under /data/data
Code:
ln -s /system/sd/data/com.google.earth com.google.earth
but, at reboot, symlink are still here, but folder /system/sd/data disapears with all contents...
Why ? Where wrong ?
(i'm using MCR R4 with AP2SD++ )
I believe that the A2SD script moves all data to internal memory and removes the data dir from SD.
It's not even recommended to move data to the SD card because it's very insecure and can cause force closes.
At least that's how it was on the G1 and the A2SD script is most probably taken from there.
beidl said:
I believe that the A2SD script moves all data to internal memory and removes the data dir from SD.
Click to expand...
Click to collapse
well, looking into A2SD script I found this:
Code:
# don't allow /data/data on sd because of upgrade issues - move it if possible
if [ -d /system/sd/data ];
then
busybox cp -a /system/sd/data/* /data/data/;
busybox rm -rf /system/sd/data;
fi;
And I agree, if you move all /data/data phone never start without SD, but all what I want is move some, less used, big application, link Google Earth. So I've call the folder /system/sd/4data, to prevent script deleting, and seems to works fine, it survive at boot, Google Earth starts and I have 17Mb more memory free.
I'm using App2SD+ with MoDoCo r7.
I have today tried to moving data/data to sd card through symlink. I have now 138 MB internal memory free with (240 Apps). 90% of Apps & all Games works fine. But I can't start some Apps like "Market" or "Swype".
I get an error and it will be closed.
Can somebody check my adb steps ? is it correct or have I forgot some things ?
mount system
mkdir /system/sd/data
cd /data/data
cp * /system/sd/data
cd /data
rm -r data
ln -s /system/sd/data /data/data
thanks!
App data on SD causes too much problems and a big decrease in speed. (Galaxy S users have problems because data is on an internal SD card by default)
There's a reason data hasn't been moved to SD by the A2SD script yet.
If you really really really want as much space on /data as possible,
it's better to move an apps lib file to /system and symlink it to the apps data directory.
So at least the file is on the internal NAND.
Hi!
I found this script / mod:
flash this from recovery:
hxxp://mediafire.com/download.php?znwywidvo9s6ayn
does this:
su
cp -rf /system/media /sd-ext
rm -rf /system/media
ln -s /sd-ext/media /system
and also drops a script in init.d to mount the ext partition at boot time.
Click to expand...
Click to collapse
My question is:
How can i symlink the complete mediafolder to the ext3 partition.
I think, the quoted script isn't necessary, cause the ext3 partition is mounted on every startup, so i only need the command to put in the terminal emulator.
Or can someone modify the app2sd+ script, to make it flashable?
It's annoying, that my customsounds (on the FAT32 partition) won't be played, when the phone is mounted as an usb storage...
Thanks in advance.
ToM
PS: ****! Made an [QUESTION] before, but the forum uses prefixes... plz remove @ mod / admin. thx
Any ideas in here?
Hi,
I'm using MCR Fr11 (Froyo + Sense) with a2sd+.
Some applications could not be installed in my phone (the application was correctly downloaded then "installation failed" message occured). So I cleaned up the dalvik-cache (rm -r /cache/dalvik-cache/* while in recovery mode).
After that, I managed to install one application (google maps update) but then the problem reappeared with other applications.
I noticed that /cache partition is almost full (3.1MiB left).
I have three questions :
1) I can guess that /system/sd/dalvik-cache is the cache on the SD card used by a2sd+, so was is the purpose of /cache/dalvik-cache ? And why this internal memory cache is located on a very small partition (40MiB) ?
2) Is it safe to delete /cache/dalvik-cache and to create a link in the SD card partition ?
Something like :
Code:
rm -rf /cache/dalvik-cache
mkdir /system/sd/dalvik-cache2
ln -s /system/sd/dalvik-cache2 /cache/dalvik-cache
3) Is there another way to solve the problem ?
Thank you for your help.
I have the same problem, did you found a solution?
You do not have to care about not enough for the cache partition. Just clean cache of market:
Settings>applications>manage applications>all>choose market>clean cache. If this does not help, clean data of market (also under "manage applications"). You can also try to wipe cache in recovery.
I think I have the same problem...
The dalvik-cache is located in the cache partition, and the cache partition is full. Thus no further app can be installed.
Shouldn't the dalvik-cache by default be in the data partition? Does Oxygen move the dalvik-cache to the cache partition? Because I am pretty sure I didn't run any scripts that could have done it.
Can someone point me to instructions how to get it back to the data partition, please?
Hi guys, Im a total noob in this stuff.
But my question is, me SD card has a 1GB EXT3 partition and the rest is FAT32.
I recently flashed LeeDrOiD GB Sens rom and I was wondering when I go to the Menu and I look at the memory available it says I have 119MB available space on the internal storage, shouldn't it be 1GB since the EXT3 partition should also be the internal storage...?
Or am i totally lost in this stuff?
You are totally lost. The ext partition does not extend the internal storage. If you installed a2sd correctly, a symlink to /sd-ext will be created. This forces all apps to install in /sd-ext/data instead of internal memory (/data).
To check if a2sd is working, open terminal emulator and enter these commands:
Code:
su
ls -l /data
In the output you should see this:
Code:
/app -> /sd-ext/app
/app-private-> /sd-ext/app-private
If your rom supports a2sd+, you should also find this:
Code:
/dalvik-cache -> /sd-ext/dalvik-cache
The "->" means "is moved to".
Hmm, okay. Its not working.
This is what I get,
app
app-private
backup
dalvik-cache
...
...
And so on... There is no -> symbol.
Well I just made an EXT3 partition and flashed the new LeeDrOiD HD V3.3.3 - Port - R5 A2SD++. I thought A2SD would install automatically with this ROM.
Is there anything else I need todo so the apps go to the EXT3?
Thank for your reply!
Take a look on the leedroid thread. The dev posted a guide how to get a2sd working.
sorry but i can't write this code,is it a capital i or 1 and does it have spaces between them?
sorry but need the step by step instructions,thnx
Code:
ls -l
ls for list and -l for l(ong). Hope that helps.