1. You want that $100.00 in your pocket or an Amazon Fire TV don't you? Well here's the deal. With our new updated look we are in desperate need of an updated logo. The 'old' one has certainly served us well, but it's time. Find all the details here: bit.ly/1q0k6Wa
  2. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

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:
    0
    Location:
    Orlando, Fl
    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:
    0
    Location:
    Orlando, Fl
    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:
    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:
    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:
    0
    Thanks! jamezelle you are the man...
  6. ZeroBarrier
    Offline

    ZeroBarrier Banned

    Joined:
    Apr 23, 2010
    Messages:
    991
    Likes Received:
    0
    Trophy Points:
    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:
    0
    Zerobarrier is a genius!
  8. ZeroBarrier
    Offline

    ZeroBarrier Banned

    Joined:
    Apr 23, 2010
    Messages:
    991
    Likes Received:
    0
    Trophy Points:
    0
    You're welcome.

    LOL

    :laugh:
  9. Vanteks1
    Offline

    Vanteks1 New Member

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

    Sent from my Droid using DroidForums App
  10. ZeroBarrier
    Offline

    ZeroBarrier Banned

    Joined:
    Apr 23, 2010
    Messages:
    991
    Likes Received:
    0
    Trophy Points:
    0
    My bad, sent you a pm too.
  11. gimpyestrada
    Offline

    gimpyestrada New Member

    Joined:
    Nov 30, 2010
    Messages:
    162
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Wichita, KS
    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 New Member

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

    pup154 New Member

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

    gimpyestrada New Member

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

    coverton341 New Member

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

    Thanks
  16. binnal2
    Offline

    binnal2 New Member

    Joined:
    Jul 13, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    i need you help too!Can you sent me a pm?Thanks!

    i need your help too!Can you sent me a pm?Thanks!
  17. barkena
    Offline

    barkena New Member

    Joined:
    Feb 16, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    I am having a similar issue:

    # /system/bin/a2sd diskspace
    /system/bin/a2sd diskspace
    [ ] Apps2SD is launching...
    __ _____
    | \ |
    | | |
    |__/ | Darktremor Apps2SD 2.7.5.2-1 (2011-01-02)

    [ ] GetProp Command = /system/bin/toolbox getprop
    [ ] SetProp Command = /system/bin/toolbox setprop
    [ ] Mount Point = /system/sd
    [ ] Starting Darktremor Apps2SD Version 2.7.5.2-1
    [ ] Launching Apps2SD Start Program with diskspace
    [ ] Starting Darktremor Apps2SD in diskspace mode
    [ ] Displaying Disk Space statistics on SD card
    Filesystem Size Used Available Use% Mounted on
    df: /dev/block/mmcblk0p2: can't find mount point
    [ ] Setting File System Ready property to 1.
    #

    Having trouble mounting... Can you message me as well ZeroBarrier? I am running a rooted LG Vortex (Froyo 2.2)... Thanks.
  18. barkena
    Offline

    barkena New Member

    Joined:
    Feb 16, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Update:

    # /system/bin/a2sd check
    /system/bin/a2sd check
    [ ] Apps2SD is launching...
    __ _____
    | \ |
    | | |
    |__/ | Darktremor Apps2SD 2.7.5.2-1 (2011-01-02)

    [ ] GetProp Command = /system/bin/toolbox getprop
    [ ] SetProp Command = /system/bin/toolbox setprop
    [ ] Mount Point = /system/sd
    [ ] Starting Apps2SD Check Program.
    [ ] Checking for ext partition
    [X] Ext partition found, but not mounted.
    Your rom may not be setup to run Apps2SD.
    Check with your rom developer if the boot image
    is programmed to run Apps2SD.

    Your partition may be using an EXT4 partition,
    but your rom may not support EXT4. Repartition
    your SD card to use EXT2 or EXT3.

    #

    Does this mean that my ROM does not support EXT3? That is what I currently is...
  19. tharris297
    Offline

    tharris297 New Member

    Joined:
    Sep 12, 2010
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    0
    yeah ... you are going to need e2fsck module and something else as drivers for ext3 and 4 are not in the base rom. When I was using a2sd+ i had to patch the rom zip with the necessary files to make it work. Using a kernel like slayher's which is ext3 and ext4 compatible isn't enough. If i remember correctly.
  20. djrakun
    Offline

    djrakun New Member

    Joined:
    Feb 4, 2010
    Messages:
    118
    Likes Received:
    0
    Trophy Points:
    0
    i can successfully use darktremor's a2sd script after installing slayher's 1.6 kernels, but that's the only kernel i've had any success with. no luck at all with p3droid's kernels with the EXT 2/3/4 module loaded.

    i've been using MIUI for about a week now, and this is the only thing keeping me from endorsing it to my other friends with rooted droids. with slayher's kernel i get a lot of wait/fc messages, and general UI stutters. I can't try any other kernels because even the stock wont work with a2sd+.

    An a2sd how-to should be a sticky in the MIUI forum, and someone who knows how to do it should provide solutions if possible
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
,
ext boot