A2sd

Discussion in 'Team D1-MIUI' started by Vanteks1, Jan 7, 2011.

  1. Vanteks1
    Offline

    Vanteks1 New Member

    Joined:
    Oct 12, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Orlando, Fl
    Ratings:
    +0
    Can someone please help me out, running D1-MIUI with slayers 1GHZ kernel.
    Does MIUI support A2SD, I see the A2SD+ section in sd card settings but I can't seem to get it functioning correctly. I tried setting up Dark Tremors A2SD scripts as well and still no dice. :(

    My 16GB sd card is formatted with a 512M ext3 partition, an 32M swap partition and the rest is fat32.

    If anyone could help, these are my results when running A2SD

    # a2sd
    a2sd
    [ ] Launching Darktremor A2SD
    Starting Darktremor A2SD version 2.7 Update 3r1
    [ ] Mounting /system as read-write
    [*] Starting A2SD (Lite Version) in mode.
    [ ] Searching for Mount Point...
    [ ] Mount point found..no further action required.
    [ ] Checking for ext partition
    [ ] Ext partition found.
    [ ] Checking Ext partition...
    e2fsck 1.40.8 (13-Mar-2008)
    /dev/block/mmcblk0p2: clean, 10/130560 files, 27008/522112 blocks
    [ ] Mounting ext partitions...
    mount: mounting /dev/block/mmcblk0p2 on /system/sd failed: Invalid argument
    [X] Mounting ext partition failed.
    [X] Can't continue script...aborting.
    [ ] Setting File System Ready property to 1.
    [ ] Remounting /system to read-only.
    # a2sd check
    a2sd check
    [ ] Launching Darktremor A2SD
    Starting Darktremor A2SD version 2.7 Update 3r1
    [ ] Mounting /system as read-write
    [ ] Starting A2SD in check mode
    [ ] Running A2SD Check Program.
    [ ] Searching for Mount Point...
    [*] Mount point /system/sd located.
    [ ] Checking for ext partition
    [X] Ext partition found, but not mounted.
    Your rom may not be setup to run A2SD.
    Check with your rom developer if the boot image
    is programmed to run A2SD.
    [ ] Setting File System Ready property to 1.
    [ ] Remounting /system to read-only.


    could someone please help me out with this is you are experienced with Dark Tremors, or if anyone has A2SD running by using a different method i'd appreciate if you could fill me in or post a link to a good tut.
     
  2. Vanteks1
    Offline

    Vanteks1 New Member

    Joined:
    Oct 12, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Orlando, Fl
    Ratings:
    +0
    Anyone?

    Sent from my Droid using DroidForums App
     
  3. b00tleg82
    Offline

    b00tleg82 New Member

    Joined:
    Nov 17, 2009
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Apps2SD-ext Help..


    +1
    to this! I am not the one to bump a thread or even post but I have been having fits trying to get my /dev/block/mmcblk0p2 to mount to /sd-ext! I have searched and searched and messed up my rom many times trying to use "hacky" scripts and system file edits. The crazy thing is in root explorer /sd-ext shows up but when I open the folder it does not show free/used space. Also when I, "/mount -o rw /dev/block/mmcblk0p2 /sd-ext" from phone terminal or adb shell it returns the following; mount: mounting /dev/block/mmcblk0p2 on /sd-ext failed: Invalid argument. Ran a logcat because someone said this error is due to the fact the file that is trying to be created already exists in /mnt/secure/asec folder. Logcat did not return anything pointing to this. To be safe I deleted all files contained in that folder, but this also produced the same error when attempting to mount /sd-ext. I have also tried add the following 05mountsd file

    [ spoiler]
    #!/system/bin/sh
    #
    # mount ext[234] partition from sd card

    mknod /dev/block/mmcblk0 b 179 0
    mknod /dev/block/mmcblk0p1 b 179 1
    mknod /dev/block/mmcblk0p2 b 179 2
    mknod /dev/block/mmcblk0p3 b 179 3

    mount -o remount, rw /
    mkdir /sd-ext
    mount -o remount, ro /

    BB="logwarapper busybox";

    if [ "$SD_EXT_DIRECTORY" = "" ];
    then
    SD_EXT_DIRECTORY=/sd-ext;
    fi;

    # find first linux partition on SD card
    MMC=/dev/block/mmcblk0

    # wait for the device to settle
    COUNT=6;
    until [ -b "$MMC" ] || [ $COUNT -lt 1 ];
    do
    sleep 1;
    COUNT=$((COUNT-1));
    done;

    if [ -b "$MMC" ];
    then
    PARTITION=`busybox fdisk -l $MMC | awk '/^\// && $5 == 83 {print $1;exit;}'`

    if [ -b "$PARTITION" ];
    then
    log -p i -t mountsd "Checking filesystems..";

    if e2fsck -y $PARTITION
    then
    setprop cm.e2fsck.errors 0
    if busybox mount -o noatime,nodiratime -t ext4 $PARTITION $SD_EXT_DIRECTORY ||
    busybox mount -o noatime,nodiratime -t ext3 $PARTITION $SD_EXT_DIRECTORY ||
    busybox mount -o noatime,nodiratime -t auto $PARTITION $SD_EXT_DIRECTORY
    then
    chown 1000:1000 $SD_EXT_DIRECTORY;
    chmod 771 $SD_EXT_DIRECTORY;
    log -p i -t mountsd "$SD_EXT_DIRECTORY successfully mounted";
    else
    log -p e -t mountsd "Unable to mount filesystem for $SD_EXT_DIRECTORY!";
    fi
    else
    setprop cm.e2fsck.errors $?
    log -p e -t mountsd "Unable to repair filesystem, disabling apps2sd";
    fi
    fi
    fi
    [/spoiler]

    to /system/etc/inti.d permission are all set rwxr-x--- with hope it would mount /sd-ext at boot.

    I am at a loss! I hope someone can help us out Vanteks1..

    Also my mmcblk0p2 partition is ext4 not sure if it has to be ext3 or not i just assumed that android would read ext4 as Jameselle's kernel has support modules for ext4.

    Just some info about my setup:
    MIUI 1.7.2011 (rom)
    Jazmezelle-kernel-250-110-compcache.zip (kernel) *compcache works great and uses /dev/block/mmcblk0p3 Linux swap partition*

    no unauthorized mods or addons


    Thanks in advance!
     
  4. jamezelle
    Offline

    jamezelle Premium Member Premium Member Developer

    Joined:
    Apr 11, 2010
    Messages:
    620
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    the first thing that should be in your script is

    insmod /system/lib/modules/ext4.ko but i just checked and my modules arent loading, ill try to build them into the kernel and let you know how it goes.
     
  5. b00tleg82
    Offline

    b00tleg82 New Member

    Joined:
    Nov 17, 2009
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Thanks! jamezelle you are the man...
     
  6. ZeroBarrier
    Online

    ZeroBarrier Guest

    Ratings:
    +0
    Sent you a pm, I can help you get it to work as I've done for about 8 people now.
     
  7. tharris297
    Offline

    tharris297 New Member

    Joined:
    Sep 12, 2010
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Zerobarrier is a genius!
     
  8. ZeroBarrier
    Online

    ZeroBarrier Guest

    Ratings:
    +0
    You're welcome.

    LOL

    :laugh:
     
  9. Vanteks1
    Offline

    Vanteks1 New Member

    Joined:
    Oct 12, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Orlando, Fl
    Ratings:
    +0
    Sooooo I'm still stuck....... :(

    Sent from my Droid using DroidForums App
     
  10. ZeroBarrier
    Online

    ZeroBarrier Guest

    Ratings:
    +0
    My bad, sent you a pm too.
     
  11. gimpyestrada
    Offline

    gimpyestrada Member

    Joined:
    Nov 30, 2010
    Messages:
    162
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Wichita, KS
    Ratings:
    +0
    What happens in a PM that shouldn't happen on the board so that everyone can benefit? I also would like to know how to get it to work.
     
  12. pup154
    Offline

    pup154 Member

    Joined:
    Aug 3, 2010
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Randleman, NC
    Ratings:
    +0
    Yeah, me too!!
     
  13. pup154
    Offline

    pup154 Member

    Joined:
    Aug 3, 2010
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Randleman, NC
    Ratings:
    +0
    You just call 'em like you see 'em. lol
     
  14. gimpyestrada
    Offline

    gimpyestrada Member

    Joined:
    Nov 30, 2010
    Messages:
    162
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Wichita, KS
    Ratings:
    +0
    Crap! Anyone else know how to get it working?
     
  15. coverton341
    Offline

    coverton341 Member

    Joined:
    Apr 5, 2010
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    I would also like to know how to get this working if at all possible.

    Thanks
     
Search tags for this page
a2sd ext partition found but not mounted
,
a2sd galaxys3
,

a2sd scripts could not be found

,
cannot read a2sd mountpoint
,
cannot read a2sd.mount point
,

cannot read a2sd.mountpoint

,
darktremor apps2sd sd card cannot mount
,
df: /sd-ext: can't find mount point
,
exiting a2sd
,
ext boot