Always out of space

Discussion in 'Koush' started by Se7enLC, Oct 8, 2010.

  1. Se7enLC

    Se7enLC Active Member

    Joined:
    Nov 16, 2009
    Messages:
    1,262
    Likes Received:
    0
    Trophy Points:
    36
    Ratings:
    +0
    What do you mean by re-partitioning? You already have it partitioned into at least 2 partitions (first as primary fat32, second as ext3), right?

    Does it properly mount /sd-ext on boot? Make sure that is working before proceeding
     
  2. marty4short

    marty4short Member

    Joined:
    Nov 11, 2009
    Messages:
    234
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Latrobe,PA
    Ratings:
    +0
    Yes it is partitioned but does not seem to mount I am using slaythers kernel what steps should I try to get it to mount properly?
    I was using this command mount -o rw /dev/block/mmcblk0p2 /sd-ext and it keeps saying it failed device or resource is busy.
     
    #26 marty4short, Oct 27, 2010
    Last edited: Oct 27, 2010
  3. Se7enLC

    Se7enLC Active Member

    Joined:
    Nov 16, 2009
    Messages:
    1,262
    Likes Received:
    0
    Trophy Points:
    36
    Ratings:
    +0
    If you're already running slayhers kernel, what error do you get when you run Firerat's script?

    If you type "df", does it list /sd-ext as mounted?

    Do you see a device for /dev/block/mmcblk0p2?

    When you reboot, does /sd-ext come back up and mount automatically (check with df)?
     
  4. marty4short

    marty4short Member

    Joined:
    Nov 11, 2009
    Messages:
    234
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Latrobe,PA
    Ratings:
    +0
    i haven't gotten any errors running the script everything seems to go fine after reboot everything seems to force close. I reboot again and I loose all my apps I havent run the script again on this nandroid im showing you

    # "df"
    "df"
    Filesystem 1K-blocks Used Available Use% Mounted on
    tmpfs 115632 0 115632 0% /dev
    tmpfs 115632 0 115632 0% /mnt/asec
    /dev/block/mtdblock4 143744 137032 6712 95% /system
    /dev/block/mtdblock6 268032 154588 113444 58% /data
    /dev/block/mtdblock5 94848 51684 43164 54% /cache
    /dev/block/mtdblock0 1536 1176 360 77% /config
    /dev/block/mmcblk0p2 468104 3 443127 0% /sd-ext
    /dev/block/vold/179:1
    15086312 9909712 5176600 66% /mnt/sdcard
    /dev/block/vold/179:1
    15086312 9909712 5176600 66% /mnt/secure/asec
    /dev/block/dm-0 4164 2248 1916 54% /mnt/asec/com.metago.ast
    ro-1
    /dev/block/dm-1 2088 48 2040 2% /mnt/asec/com.mylittlebi
    gapps.android.albumartgrabber-1
    /dev/block/dm-2 2088 460 1628 22% /mnt/asec/com.google.zxi
    ng.client.android-1
    /dev/block/dm-3 11424 9764 1660 85% /mnt/asec/com.halfbrick.
    fruitninja-1
    /dev/block/dm-4 2088 300 1788 14% /mnt/asec/com.betterandr
    oid.bettercut-1
    /dev/block/dm-5 2088 140 1948 7% /mnt/asec/siir.es.adbWir
    eless-1
    /dev/block/dm-6 7276 5528 1748 76% /mnt/asec/com.google.ear
    th-1
    /dev/block/dm-7 3124 1504 1620 48% /mnt/asec/com.google.and
    roid.stardroid-1
    /dev/block/dm-8 5200 3896 1304 75% /mnt/asec/alterforce.eng
    ine-1
    /dev/block/dm-9 2088 264 1824 13% /mnt/asec/com.gmail.naga
    matu.drocap2-1
    /dev/block/dm-10 13500 11724 1776 87% /mnt/asec/com.rovio.angr
    ybirds_lite-2
    /dev/block/dm-11 4164 2104 2060 51% /mnt/asec/com.batterypow
    eredgames.antigen-1
    #
     
  5. Se7enLC

    Se7enLC Active Member

    Joined:
    Nov 16, 2009
    Messages:
    1,262
    Likes Received:
    0
    Trophy Points:
    36
    Ratings:
    +0
    Ok, that looks like it's mounting /sd-ext fine, and the errors sound a lot like the errors I was seeing. I didn't get force-closes, but all the apps were missing.

    I'm attaching my fix to this post for you to try, if you want.

    1). Run firerat's script to install all your apps to /sd-ext
    2). Reboot into recovery and apply this update file (works in CWM, no idea about other recoveries)
    NOTE: Don't try to boot normally until you install this update, and don't run Firerat's script AFTER the update.
    3). Then cross your fingers and hope that your droid will boot up and have all your apps still.

    What this update will do is modify your ramdisk and install a copy of 05mountsd that I modified, overwriting the one that firerat installs. The ramdisk modification causes it to wait for a property cm.filesystem.ready to be 1 before it will start sysinit. The modification to 05mountsd waits for /sd-ext to mount, and when it is successfull it sets cm.filesystem.ready to be 1.

    Let me know if this works for you. Make sure you have a backup just in case you get stuck unable to boot up!
     
  6. marty4short

    marty4short Member

    Joined:
    Nov 11, 2009
    Messages:
    234
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Latrobe,PA
    Ratings:
    +0
    ty ill try it out tonight I have to go to work soon but Ill let you know thanks again for the help
     
  7. marty4short

    marty4short Member

    Joined:
    Nov 11, 2009
    Messages:
    234
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Latrobe,PA
    Ratings:
    +0
    Thank you for helping me get this to work, I did have a force close as I was moving the apps to ext but after i flashed the zip it seems to work smooth. Just a quick question I can use the apkmanager.sh script to move the apps if I am having problems with a app say lag or if I install a new app correct? Just don't run the sh /sdcard/fr-a2sd_1-35.sh.txt? I think this is what you meant buy don't run the script again I just wanted to make sure? If I install a new nightly I just need to run the apps2sdext_hack_new.zip again?
     
    #31 marty4short, Oct 27, 2010
    Last edited: Oct 27, 2010
  8. Se7enLC

    Se7enLC Active Member

    Joined:
    Nov 16, 2009
    Messages:
    1,262
    Likes Received:
    0
    Trophy Points:
    36
    Ratings:
    +0
    Yeah, running apkmanager.sh is fine, it's just the fr-a2sd script that will overwrite 05mountsd. If you DO decide to run that script, just make sure to apply my zip file again to revert the change back again.

    Glad to hear my mod worked for you!
     
  9. marty4short

    marty4short Member

    Joined:
    Nov 11, 2009
    Messages:
    234
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Latrobe,PA
    Ratings:
    +0
    I see i still have stuff in data/data can I just use root explorer to delete that or is there a better way? I saw on your post you seemed to have the same issue on the cm forum.

    # "df"
    "df"
    Filesystem 1K-blocks Used Available Use% Mounted on
    tmpfs 115632 0 115632 0% /dev
    tmpfs 115632 0 115632 0% /mnt/asec
    /dev/block/mtdblock4 143744 137044 6700 95% /system
    /dev/block/mtdblock6 268032 32244 235788 12% /data
    /dev/block/mtdblock5 94848 51684 43164 54% /cache
    /dev/block/mtdblock0 1536 1176 360 77% /config
    /dev/block/mmcblk0p2 468104 154430 288700 35% /sd-ext
    /dev/block/mmcblk0p2 468104 154430 288700 35% /data/app
    /dev/block/mmcblk0p2 468104 154430 288700 35% /data/app-private
    /dev/block/mmcblk0p2 468104 154430 288700 35% /data/data
    /dev/block/mmcblk0p2 468104 154430 288700 35% /data/system
    /dev/block/vold/179:1
    15086312 9850584 5235728 65% /mnt/sdcard
    /dev/block/vold/179:1
    15086312 9850584 5235728 65% /mnt/secure/asec
     
    #33 marty4short, Oct 27, 2010
    Last edited: Oct 27, 2010
  10. Se7enLC

    Se7enLC Active Member

    Joined:
    Nov 16, 2009
    Messages:
    1,262
    Likes Received:
    0
    Trophy Points:
    36
    Ratings:
    +0
    Are you SURE you have stuff in /data/data? Keep in mind that /sd-ext/data is mounted on /data/data, so when you look in /data/data, you're going to see that, and not the real contents of the data partition.

    Also, you should have some stuff in /data/dalvik-cache still, unless you opted to move that to /sd-ext, too (not recommended).

    If you really want to check if you have anything in the real /data, try this:
    Code:
    mount -o rw,remount /
    mkdir /mnt/data.real
    mount /dev/block/mtdblock6 /mnt/data.real
    
    then poke around in /mnt/data.real to see what is there. You should not see much in /data/app or /data/data since it's using /sd-ext instead. If you see anything in there, compare it to what you see in /sd-ext. If the same data is in both /sd-ext and /mnt/data.real, you can safely delete the copy in /mnt/data.real.
     
  11. marty4short

    marty4short Member

    Joined:
    Nov 11, 2009
    Messages:
    234
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Latrobe,PA
    Ratings:
    +0
    thanks again that worked Im glad you figured this out cause I have no clue
     
  12. bigee1212

    bigee1212 Member

    Joined:
    May 31, 2010
    Messages:
    125
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    hey guys thanks a lot this worked for me. im probably running the same setup as marty4short, MIUI v 6.

    how will installing new apps work? automatically to sd-ext??
     
Search tags for this page
cm.filesystem.ready
,
cyanogenmod 10 out of space
,
cyanogenmod out of space
,
cyanogenmod storage space running out
,
miui storage space running out
,

motorola droid out of space

,

motorola droid running out of space

,
net 10 android constabtly out of space
,
storage space running out miui rom
,
why is my nexxus one always out of space