Jump to content

out of phone space memory (data partition)


Guest redcow

Recommended Posts

Hi,

my phone is claiming that I have not enough space on my data partition:

/dev/block/mtdblock5 165.8M 150.0M 15.8M 90% /data

localhost data # du -hs *

512 StreamingPacketLost.txt

97.5K anr

512 app

512 app-private

16.5K btips

79.4M dalvik-cache

57.1M data

2.0K debug

512 drm

6.0K dropbear

0 fix_permissions.log

512 init.sh

3.2M local

2.0K lost+found

49.0K misc

5.0K opt

4.0K property

512 reboot.chk

533.5K system

8.0K tmp

202.0K tombstones

3.3M xbin

So "dalvik-cache" and "data" take all the space, however I heard that its not a good idea to move the data files to the sdcard and make a symlink. Is it normal that my data and dalvik-cache directories are so big? and yes I'm using A2SD and it should work:

localhost data # ls -lisa app

4118 0 lrwxrwxrwx 1 root 0 14 Jan 18 19:55 app -> /system/sd/app

localhost data # ls -lisa app-private

326 0 lrwxrwxrwx 1 root 0 22 Jan 18 19:04 app-private -> /system/sd/app-private

Edited by redcow
Link to comment
Share on other sites

Guest shenshang

dalvik cache accumluates over time, mines ridiculously big as well. this will move it:

Following must be executed from shell whilst phone is running in normal operation mode:

adb shell

su

busybox df -h

- (You should see /system/sd)

busybox cp -a /data/dalvik-cache /system/sd/

busybox cp -a /data/data system/sd/
- (REBOOT INTO RECOVERY ROM)
reboot -recovery
Following must be executed from Aman Ra or Cyanogen Recovery ROM
adb shell

mount data

rm -rf /data/data

ln -s /system/sd/data /data/data

rm -rf /data/dalvik-cache

ln -s /system/sd/dalvik-cache /data/dalvik-cache

reboot

Link to comment
Share on other sites

you can try to wipe the dalvik-cache first. go to recovery, wipe, wipe dalvik-cache. then reboot and wait, when it is done check the free memory. i had the problem yesterday, phone complained, deleted 3 or 4 big apps i don't use, wiped dalvik and had 43mb free again, with 308 apps installed.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.