The Ultimate Apps2sd Thread!

Discussion in 'Cyanogenmod' started by GodfatherIP, Mar 3, 2011.

  1. dpaine88

    dpaine88 Member

    Joined:
    Jul 18, 2010
    Messages:
    808
    Likes Received:
    1
    Trophy Points:
    18
    Ratings:
    +1
    Thanks for the reply man. I did not link or put the Link2SD app on the SD card itself, and my 11link2sd file is identical to yours. I think I am going to have to use some scripts.

    Thanks man, I went there and did this

    st

    but wasn't able to get it working still :(
     
  2. GoBigOrGoHome70

    GoBigOrGoHome70 Member

    Joined:
    Apr 1, 2011
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Maple Grove, MN
    Ratings:
    +0
    Today Prime created a flashable zip which may help some of you. You should flash this pre-install of Link2SD, but I believe it works after install too. I don't believe you will need the 99Complete file from a previous post in this thread with this zip. I could be wrong, so someone jump in if I am. Prime tweeted the link, so I've reproduced his tweet below.

    #cyanogenmod Link2SD Users: This is a link2sd pre-installation zip, it will remove /etc/init.d/05mountsd (mounts to /sd-ext) and replace it with a modified version that mounts (and scans if an issue is detected) the second (ext2/3/4) based SD Card partition using the ext4 driver.

    You need to make certain /data/sdext2 exists before flashing the zip/using link2sd...this is a safety measure to prevent any possible mishaps with a previous /data/sdext2 setup.

    Link2sd Pre-installation Flashable zip: http://bit.ly/gpGpKX
     
  3. armin369

    armin369 Member

    Joined:
    Jul 8, 2010
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    Yesterday I spent about 5+ hours on trying to set up my Link2SD. I partitioned my SDcard to EXT2 Primary using Mini-Tool. It worked but then my SD card would not show up when I connected my phone to my computer, but it would show up in Mini-Tool. So I formated my SD card again and tried to setting up my Link2SD but I would get the mount error when I ran the app and chose EXT2. I did run the command in TE but it would give me an "Invalid argument" message. Can someone help me with this, please??
     
  4. sbenson

    sbenson Silver Member

    Joined:
    Jan 19, 2011
    Messages:
    2,370
    Likes Received:
    61
    Trophy Points:
    113
    Location:
    Virginia/DC Metro Area
    Ratings:
    +61
    Do you have rom manager? That's how I did mine and it worked flawlessly.

    Sent from my Droid using DroidForums
     
  5. armin369

    armin369 Member

    Joined:
    Jul 8, 2010
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    I do but when I partitioned it using ROM Manager, it partitioned into ext3. What I'm wondering is why I get "invalid Argument" when I run the command in TE
     
  6. GodfatherIP

    GodfatherIP Member

    Joined:
    Feb 22, 2010
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    If you are on CM7 you need to delete the 05mountsd script from /system/etc/init.d because it mounts the ext partition in a way that is not compatible with link2sd. If you are using the deprimed kernel by prime he has some links in the 3rd post that will install the proper scripts for using link2sd. With deprimed kernel you should be able to use ext2, ext3, or ext4.
     
  7. GodfatherIP

    GodfatherIP Member

    Joined:
    Feb 22, 2010
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    What command are you running in terminal emulator?
     
  8. GodfatherIP

    GodfatherIP Member

    Joined:
    Feb 22, 2010
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    You said you partitioned with mini-tool, did you make sure your fat32 partition was the first partition on the card? It should be fat32 (primary) then ext2 (primary) when you look at the partitions in Mini-Tool. If fat32 is not your first partition that could cause issues.
     
  9. danceswithbongs

    danceswithbongs Active Member

    Joined:
    Nov 30, 2010
    Messages:
    1,040
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    A TeePee outside of Detroit
    Ratings:
    +5
    Godfather
    I'm wondering if he is using a kernel that doesn't install the correct ext.ko module from system/lib/modules
    Where you insmod ext2.ko or ext3.ko or 4.
    Any idea what the best way is for him to find that out?
     
  10. armin369

    armin369 Member

    Joined:
    Jul 8, 2010
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0


    I will try this when I get home today, but is there anyway to just use the stock kernel instead of flashing Prime's? Prime's deprimed kernel is amazingly smooth but the battery life is decreased by 20% on my phone when I use his kernel :(
     
  11. armin369

    armin369 Member

    Joined:
    Jul 8, 2010
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    "su
    mkdir /data/sdext2
    mount -o rw,nosuid,nodev,noatime,nodiratime /dev/block/vold/179:2 /data/sdext2"

    ^^^^ That's the command I run in TE

    In Mini Tool it shows FAT32 as primary and then I created an EXT2 (500MB) and set it as primary also. Those were my only two partitions
     
  12. armin369

    armin369 Member

    Joined:
    Jul 8, 2010
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0

    Ext.ko doesn't exist in my Modules folder but ext2,3,4 are there.

    Edit: I am using the stock CM7 Kernel since the battery life on that is good for my phone.
     
Similar Threads
  1. PirateSonny
    Replies:
    1
    Views:
    778
  2. molo41
    Replies:
    5
    Views:
    3,594
  3. motiond
    Replies:
    5
    Views:
    1,444
  4. yourname1245
    Replies:
    20
    Views:
    1,933
  5. JohnnyACE562
    Replies:
    2
    Views:
    1,758
Loading...
Search tags for this page

app2sd script

,
app2sd script download
,
apps2sd droid x2.bin
,
apps2sd scripts
,
best apps 2 sd
,
ext2.ko android
,
init module ext2.ko failed
,

link2sd mount script error invalid argument

,
mount script cannot be created. mount: invalid arguement
,
www.droidforums.net/forum/ cyanogenmod/129723-ultimate-apps2