+ Reply to Thread
Page 2 of 12 FirstFirst 1234 ... LastLast
Results 11 to 20 of 113
Like Tree2Likes

Thread: Relocate dalvik-cache to free up space

  1. #11
    Member equk is on a distinguished road
    Join Date
    May 2010
    Location
    UK
    Posts
    47

    Default

    Quote Originally Posted by vato View Post
    This script only moves dalvik-cache to /cache, but i see the same folder on /data
    Can i manually delete dalvik-cache on /data?
    You can delete dalvik-cache on /data but it would delete it on /cache as they are both the same thing because the script binds one to the other. If you look at the contents of /data/dalvik-cache it will be the same as /cache/dalvik-cache.

    They are both on the same partition as you can see from the disk usage.
    Code:
    Filesystem                Size      Used Available Use% Mounted on
    /dev/stl7                78.7M     41.9M     36.8M  53% /cache
    /dev/stl7                78.7M     41.9M     36.8M  53% /data/dalvik-cache
    Phone: Samsung Galaxy i5700
    SOC: SGM Nextgen (Froyo)
    Me: github // relocate dalvik to /cache

  2. #12
    Member tulipden712 is on a distinguished road
    Join Date
    May 2010
    Location
    Viet Nam
    Posts
    47

    Default

    Filesystem 1K-blocks Used Available Use% Mounted on
    tmpfs 82636 12 82624 0% /dev
    tmpfs 4096 0 4096 0% /sqlite_stmt_journals
    /dev/stl6 163228 150820 12408 92% /system
    /dev/stl5 188404 92052 96352 49% /data
    /dev/stl7 80576 2100 78476 3% /cache
    /dev/stl10 7729 777 6952 10% /efs
    /dev/bml8 3840 3840 0 100% /xbin

    After run dalvik-cache.zip,I saw /system is 163228mb and available is 12408mb.
    So why?
    I want it up to 196mb like you,so what do I have to?
    Last edited by tulipden712; 06-07-2010 at 04:39 PM.

  3. #13
    Member equk is on a distinguished road
    Join Date
    May 2010
    Location
    UK
    Posts
    47

    Default

    Quote Originally Posted by tulipden712 View Post
    Filesystem 1K-blocks Used Available Use% Mounted on
    tmpfs 82636 12 82624 0% /dev
    tmpfs 4096 0 4096 0% /sqlite_stmt_journals
    /dev/stl6 163228 150820 12408 92% /system
    /dev/stl5 188404 92052 96352 49% /data
    /dev/stl7 80576 2100 78476 3% /cache
    /dev/stl10 7729 777 6952 10% /efs
    /dev/bml8 3840 3840 0 100% /xbin

    After run dalvik-cache.zip,I saw /system is 163228mb and available is 12408mb.
    So why?
    I want it up to 196mb like you,so what do I have to?
    relocating the dalvik cache from /data to /cache doesn't change /system

    It seems that you have a 188mb /data partition tho what phone do you have? seems the filesystem layout is different.

    You also don't seem to have /data/dalvik-cache mounted to /dev/stl7 so seems it hasn't applied the script anyway (or is that df from before the mod?)
    Phone: Samsung Galaxy i5700
    SOC: SGM Nextgen (Froyo)
    Me: github // relocate dalvik to /cache

  4. #14
    Member tulipden712 is on a distinguished road
    Join Date
    May 2010
    Location
    Viet Nam
    Posts
    47

    Default

    My phone is I570EDXJC1 ->Samdroid Kitchen v1.2 beta ,so is it different?
    That was big mistake,I forgot df before the mod.So I could't see differents
    I did to run in recovery,apply any zip-> dalvik-cache.zip again,and nothing happened
    I don't have /data/dalvik-cache mounted to /dev/stl7. Hic
    Last edited by tulipden712; 06-07-2010 at 05:39 PM.

  5. #15
    Member equk is on a distinguished road
    Join Date
    May 2010
    Location
    UK
    Posts
    47

    Default

    Quote Originally Posted by tulipden712 View Post
    My phone is I570EDXJC1 ->Samdroid Kitchen v1.2 beta ,so is it different?
    That was big mistake,I forgot df before the mod.So I could't see differents
    I did to run in recovery,apply any zip-> dalvik-cache.zip again,and nothing happened
    I don't have /data/dalvik-cache mounted to /dev/stl7. Hic
    not sure why it's different

    you can check if the script is on the system with: ls /system/sd

    if userinit.sh is there it should be working ok.
    Code:
    # ls /system/sd
    placeholder  userinit.sh
    you can also get easier to read values with df -h
    Code:
    # df -h
    Filesystem                Size      Used Available Use% Mounted on
    tmpfs                    80.7M     12.0K     80.7M   0% /dev
    tmpfs                     4.0M         0      4.0M   0% /sqlite_stmt_journals
    /dev/stl6               196.3M    130.5M     65.8M  67% /system
    /dev/stl5               147.1M     58.2M     88.9M  40% /data
    /dev/stl7                78.7M     42.8M     35.9M  54% /cache
    /dev/stl10                7.5M    776.0K      6.8M  10% /efs
    /dev/bml8                 4.0M      4.0M         0 100% /xbin
    /dev/stl7                78.7M     42.8M     35.9M  54% /data/dalvik-cache
    /dev/block//vold/179:1
                            941.7M    274.5M    667.2M  29% /sdcard
    Phone: Samsung Galaxy i5700
    SOC: SGM Nextgen (Froyo)
    Me: github // relocate dalvik to /cache

  6. #16
    Member tulipden712 is on a distinguished road
    Join Date
    May 2010
    Location
    Viet Nam
    Posts
    47

    Default

    I can't see :
    ls /system/sd
    placeholder userinit.sh


    code.jpg
    Show me what to do next?
    Last edited by tulipden712; 06-07-2010 at 09:01 PM.

  7. #17
    Member Deych is on a distinguished road
    Join Date
    Apr 2010
    Location
    Maribor
    Posts
    54

    Default

    Quote Originally Posted by tulipden712 View Post
    I can't see :
    ls /system/sd
    placeholder userinit.sh


    Attachment 988
    Show me what to do next?
    I had the same problem so i extracted the zip and placed the userinit.sh manualy with rootexplorer.
    After reboot i had arraund 30M more free space.
    Last edited by Deych; 06-07-2010 at 09:36 PM.

  8. #18
    Member tulipden712 is on a distinguished road
    Join Date
    May 2010
    Location
    Viet Nam
    Posts
    47

    Default

    Greats. Thanks u

  9. #19
    Member equk is on a distinguished road
    Join Date
    May 2010
    Location
    UK
    Posts
    47

    Default

    Quote Originally Posted by Deych View Post
    I had the same problem so i extracted the zip and placed the userinit.sh manualy with rootexplorer.
    After reboot i had arraund 30M more free space.
    cool

    maybe it's some sort of bug or something where the file can't be copied for some reason
    Phone: Samsung Galaxy i5700
    SOC: SGM Nextgen (Froyo)
    Me: github // relocate dalvik to /cache

  10. #20
    Member tulipden712 is on a distinguished road
    Join Date
    May 2010
    Location
    Viet Nam
    Posts
    47

    Default

    Have a nice days! Thanks a lots


 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts