yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] irha:
The specific problem with mount not happening early seems to be due to the missing mount script. I think I tried to reflash CM7 at one point and forgot about it, that must have removed the mount script. It would be nice if Link2SD can detect such situations and give warning about the missing mount script.

In any case, my sorrows are not over. I tried recreating the mount script and now the phone doesn't even boot up. Android stops spinning and the desktop never loads. I could remove the mount script from adb and was able to get back into the desktop, though I am back with no apps. What is worse is that Link2SD doesn't let me unlink any of these apps so that I can move some of the important ones back to internal memory, so my phone is almost unusable right now. Why are these apps not listed at all? Someone please help!

Update: I don't know if this was the root cause of all my problems, but it turns out that my ext4 partition had errors and so was marked readonly. I tried to repair it both on the phone as well as on ubuntu, but was getting the error "fsck.ext4 invalid argument passed to ext2 library while rewriting block and inode bitmaps", so ended up formatting it to ext2, paid for the Titanium Pro version for the batch install capability and reinstalled all my apps. Now, after several restarts, the system looks stable. I hope this information will be useful for someone in the future.
[Android Apps and Games] vleutmans:
LINK2SD rocks

Thumbs up (again) for this great app (how often can I say this.... never enough :-) ).

I combine link2sd with "stock" non deodexed ROM and this combination is the best...for my phone at least.

Procedure:

-backup your apps with titanium backup

-with minitool partition wizard, remove your second partition + swap partition if you have...swap will only make your phone slower. Just create a second fat32 (primary) partition with the space you have..as "any" rom/kernel will support fat32 !!

-flash stock rom (+delete data/sys from recovery mode)

-root your phone (for example with superoneclick) + reboot

-install busybox from market (just do it !!)

-reboot your phone

-install link2sd from market (put autolink on, choose fat16/32)...+reboot as requested

-With titanium, set restore to "internal"

DONE

Link2sd nicely will create your links to the second fat32 partition.

Enjoy your stock rom ...and install lots of apps!!

What I experience "with my phone" from custom roms (I tried many) is that they only have theming /cosmetic changes...but despite all geeky filesystems (ext2/3/4)+JIT+Cyanogen toys+ app2sd/hybrid data2sd they don't make your phone faster on same clockspeed as stock ROM.

Yes benchmarks tell you nice things.....but it's not the numbers that count :-)

My statement : link2sd+stock ROM rules !!

I could be completely wrong, but I can only tell from my experience with my phone type...don't shoot me down too fast.
[Android Apps and Games] bakpinar:
fixed in 1.9.8
[Android Apps and Games] bakpinar:
UPDATE:

1.9.8

- fixed bug in setting install location option

- updated some translations
[Android Apps and Games] danogwok:
updating my fusinideos

i installed fusionideos 1.7.4 and how do i update to 1.7.10..? i am all new to this. searched thru all forums, nothing i can get.

how do i update please help?:(
[Android Apps and Games] Dolphin Fairy:
Anybody can help me with this one...? :confused:
[Android Apps and Games] basti55:
Hello, i have a problem with Link2SD on my LG Optimus GT540 (2.1 stock, rooted)

I have bought a new 8 GB micro sd card (Sandisk), and done everything that needs to be done so i could move apps to my sd with link 2 sd.

But i seem to have problem: mount script cannot be created, mount: invalid argument (2nd partiton is FAT32)

What do i need to do so it can work properly?

Can anybody help me solve this?
[Android Apps and Games] vleutmans:
I found a related link.

http://androidforums.com/ascend-all-things-root/320507-3-issues-cm6-help-please.html

Not sure if if could apply to you, but factory reset seems to fix it in this case ?

Br.

Michel

---------- Post added at 02:06 PM ---------- Previous post was at 02:00 PM ----------

Try to make your link2sd partition fat32 (primary)..

So on your SD card you would have

1st partition : fat32 (primary) (size about 7 GB)

2nd partition (for link2sd) : fat32 (primary) (size about 700 MB)

Tell me if this works.

You (luckily) don't need ext partitions for link2sd.

Br.

Michel
[Android Apps and Games] basti55:
I've done a factory reset but that didn't help.
[Android Apps and Games] vleutmans:
Did you install busybox (from market) before link2sd tries to create mount script ?
[Android Apps and Games] basti55:
Yes i did, and i updated it to the latest version.., but it still doesn't work..
[Android Apps and Games] vleutmans:
Weird, I didn't run into this issue on stock 2.1 ROM for my phone, but we have totally different phones...difficult to compare.

Maybe the software designer has a clue , because link2sd doesn't create the mount script in /etc/init.d ... in my case..and still it works.
[Android Apps and Games] basti55:
Do you think maybe upgrading to 2.2 will solve this problem?
[Android Apps and Games] grayson73:
I have a 2GB SD card and this is my current state:

Internal 154MB Used, 24.43MB free

SD Card 210MB used, 785MB free

SD Card 2nd Part 300MB used, 577MB free

Why is 154MB internal memory being used when all of the apps have been linked to the SD card?

The only internal application is Link2SD for 765KB.

System apps only total around 30MB-40MB

---------- Post added at 05:11 AM ---------- Previous post was at 04:58 AM ----------

I rebooted the phone and now internal memory says 41.59MB used, 137MB free.

Is there a way to clear the internal memory without rebooting the phone?
[Android Apps and Games] imakul8:
I noticed that after reinstalling a rom or backups that although I formatted to ext2, Link2SD would give me the script error. If I selected the ext3 opinion in Link2SD it would ask for reboot and everything would work fine..so just try the other options and Link2SD should recognize it.
[Android Apps and Games] jhonnyx1000:
You could try using Titanium Backup. Open the app, press menu then select batch. Go down to the 'Manipulate data' section and then press 'Remove orphan data' then press 'Run batch operation'. It should be processing. After it finished, see if it made any difference. If it didn't, go back to the same place 'Menu then Batch' and then select 'Wipe data for user & system apps' in the Manipulate data section. BEWARE THAT IT'LL BASICALLY DELETE EVERYTHING.
[Android Apps and Games] patpads:
Help Please!

LG-P509 Optimus T (2.2 v10l)

Rooted and Flashed "void #forever" ROM (inl. add-ons) & newest franco's kernel >> using Gingerbreak v.12 and ROM Manager

N00B ALERT!

I had App2SD installed before I installed link2SD. Since then I've used all 3 options: APP2SD app, native feature, and link2SD. Mostly link2SD until things went south

1. First off definitely hats off to the great OP for developing this app which almost brought my first -- once laggy and almost unusable with all the bloatware from LG/TMobile -- android phone to perfection, almost.

Right when I was almost there, I somehow get everything to mess up.

when I first used it I didn't pay attention to the "create link" LOL, I thought "move to sd card" did it. Once I noticed that I went ahead and move apps that are supposedly already in SD1 to SD2 via "create link". Storage bars seem to have increased/decreased accordingly.

2. First sign of trouble:

Everything went fine with link2SD, until after I saw a "low internal memory" notification. It however disappeared after 1 minute or two, apparently to get link2SD loaded and working. It kept reappearing after every reboot and disappearing after few minutes.

As far as I can remember, that kept happening until I noticed ~30 apps reappearing in internal memory.

Link2SD apps priorly with "linked -> SD" status became "on SD" (while still being listed under linked apps), I tried to relink them (I don't remember exactly what I did, I think I tried batch-relinking them within link2SD).

This is when I noticed everything started to go upside down. SD2 storage remained almost same, while SD2's usage went up couple hundreds MB.

3. After some checking/moving/un-reinstalling apps back and forth, I then eventually tried to move apps listed in SD card & "linked" w/ "on SD" status back to internal memory >> then tried linking them again to SD2. Changes are seen especially clear with internal memory (it increased ? o. O ) while SD1&2 remained virtually intact as if the apps are already there. Important to note that I did a literal ~100 device reboots after each operation. Not that smartest way I know but I thought I'd try to fix it without touching a computer.

4. So, last thing I did was to use the "More" options. Everything except "recreate mount scripts".

"Clean up the 2nd Partition": 170MB worth of unneeded apps.

"clean up the dalvik-cache": ~5MB unneeded files, 3 of 4 files are system (zeam and some others I forgot)

Rebooted. SD2 freed up lots of space, SD1 almost unchanged, as expected. But internal got from ~30MB left down to 900KB. What gives ? :/

All I want is freeing the internal memory & move it to SD2, why so hard ? xD

According to link2SD there's only a very few apps in internal memory. But the checkboxes next to [SD card] tab under Application Settings >> Manage Applications, many of them are unchecked, meaning it is indeed in internal memory ?

I tried to make sense of all the storage movements/changes but it just drove me crazy because nothing seems to make sense to me.

Thanks a lot in advance! to any one's enlightenments lol
[Android Apps and Games] pl1987:
new filtering UI

I love UI new (re)design. I've noticed one bug though, when I select "~to be moved to SD (APP2SD)" filter it shows all applications that are moveable, including those already sitting on SD.
[Android Apps and Games] jhonnyx1000:
Refer to the post above the one you posted.
[Android Apps and Games] phillcanz:
can somebody give me a mirror with the new release, can't download through markt T.T
[Android Apps and Games] patpads:
---N00B alert---

Are you referring to this post ? (by irha, sorry I can't even multiquote)

If I understood correctly, when the first 'low memory' notification appeared at reboot = late mounting = when the mount script missing error first occurred = possible partition (SD2) error ?

And so to confirm as above poster did, I should:

1. check if the partition is indeed corrupted just in case

2. whether (1) is true or not >> format SD card to ext2

Some questions @Jhonny & @irha:

- I haven't tried using Titanium Backup yet. Would it be safe to use it in the current condition ?

- Should I uninstall link2sd and if so at what point -- before or after T.Backup, should I try unlinking/uninstalling apps first?

- is using other app2sd methods in conjunction with link2sd an issue ?

Lol sorry too many questions, any feedback is greatly appreciated.

---N00B alert---

---------- Post added at 08:40 PM ---------- Previous post was at 07:58 PM ----------

in case you haven't found this, sorry not direct link though:

http://www.androidpit.com/en/android/market/apps/app/com.buak.Link2SD/Link2SD
[Android Apps and Games] denzel09:
A question: is there a way to have this great app work with stock ginger?

2) it will work with ics?

Thanks i love this app :)

Inviato dal mio GT-S5570 usando Tapatalk
[Android Apps and Games] bsoplinger:
I have a HTC Wildfire S for Virgin Mobile. It runs 2.3.4 which is gingerbread and other than S-off and root is stock ROM and link2SD works great on it. What type of problem should I be looking for with gingerbread?
[Android Apps and Games] denzel09:
Ok. So it works also w stock ginger now. Good news. Thanks.

Some workaround added... :thumbup:

Inviato dal mio GT-S5570 usando Tapatalk
[Android Apps and Games] tydynrain:
SD-Ext Partition Mounting Too Late

Hello All :-)

For the past few months now I have been doing my best to implement data2ext/data2sd on my phone with only limited success. While data2ext in general has no relevance to this thread, the fact that Link2SD has been included in my attempts does. I have read hundreds of pages in countless threads in these forums (including all 220 some pages in this thread) without finding something that has rectified my dilema. Only one of the data2ext scripts and Link2SD have worked in any fashion at all (I tried the last version of LINK2SD and the present most recent version). For both of these everything is good until I reboot (regular reboot, or even powering off and back on again, not fast reboots). If I do a regular reboot any apps that were moved to my SD-EXT partition disappear. They reappear if I do a fast reboot (from the Link2SD menu for example), but they remain gone no matter how many regular reboots I do.

I have experimented and tested this implementation on several of the latest EI22 Gingerbread ROMs and kernels with the same results. In fact I don't even have a stable or set setup yet because I flash back and forth between about 8 different ROMs a few times a day. Through all of these I am usually using the latest of either Nubecoder's kernel or the Samurai kernel.

My phone is a Samsung Epic 4g and my SD Card is 32 GB marked class 10 (though from testing it I don't really think it actually is a class 10). I have a 2GB EXT4 partition. I used GParted to format and partition. This problem is the same on 2 different Epics, as I had to swap my old phone for a new one due to the USB/charging port dying, so I know it wasn't just a single-phone-specific one.

From my experiements and my reading it seems that my SD-EXT4 partition is not mounting soon enough in the boot sequence. I have been seeking which files I need to edit or tweak (mostly in the system/etc and system/etc/init.d folders) to make it so that it would mount at the correct time during boot, without success.

If anyone has any ideas or suggestions that might shed some light on this quite frustrating situation, or things that I might try, I would be inexpressibly grateful. I am determined to make this work. Period. Thank you.
[Android Apps and Games] lerkin:
You can use titanium backup to move data of selected apps to sd-ext. First of all you need to add two lines to init.d/11link2sd:

mount -t ext4 -o rw /dev/block/vold/179:2 /data/sd-ext

mount -t ext4 -o rw /dev/block/mmcblk0p2 /sd-ext

Restart, now TB will recognize second partition, and with long press on any user app in tb's list you can move data to sd-ext

Don't forget to make nand backup.

Edited: I forgot something, we need to add specific directory app to sd-ext.
[Android Apps and Games] denzel09:
#!/system/bin/sh

#added by link2sd

sleep 10

mount -t ext4 -o rw /dev/block/vold/179:2 /data/sdext2

mount -t ext4 -o rw /dev/block/mmcblk0p2 /data/sdext2

That is script that link2sd makes in my init.d and all works. No problem.

But titanium dont recognize second partition like for example with a2sd darktremor:

A2sd 1GB. etc.etc.

I want mean, is it normal? Or is it possible some adding so titanium see also w link2sd the Second a2sd partition?

In next release is it possible link apk in apk folder in sdext and not simply in sdext? It will be more clear for eyes :)

Inviato dal mio GT-S5570 usando Tapatalk
[Android Apps and Games] Kierrok:
Link2SD needs install-recovery.sh or init.d support enabled to mount its partition at boot time. The problem is Samsung GB ROMs don't have it.

You can enable init.d support easily if you cook your ROM. If you can't do it for yourself ask your ROM devel to enable it.
[Android Apps and Games] denzel09:
So with samsung GB stock rom still doesnt work.. this was my doubt, because with froyo worked great but since my mini s5570 was passed to GB ... bum.. no more link2sd works.

So ...

Inviato dal mio GT-S5570 usando Tapatalk
[Android Apps and Games] denzel09:
One moment buddy, in 1.9.0 changelog i see:

1.9.0:

.................

......................

- added workaround for Roms that do not have install-recovery.sh and init.d scripts to mount 2nd partition at boot, e.g. new Samsung GB roms

** mounts after system finishes booting and you need to perform 'Quick reboot'

- new and safer 'Quick reboot' method

..............

.......

Inviato dal mio GT-S5570 usando Tapatalk
[Android Apps and Games] Kierrok:
Link2SD always worked with GB. The problem is the Samsung ROMs.

And yes, in your stock ROM it will work that way.
[Android Apps and Games] denzel09:
Ok.

Is there not way to automatically set to boot that 'quick reboot' function ? So to have all completely automatic? :thumbup:

Inviato dal mio GT-S5570 usando Tapatalk
[Android Apps and Games] tydynrain:
OK, that's what I've been I've been figuring out through my many trials and errors, but the one thing I can't figure out is if the ROMs and kernels I'm using are made specifically for the Epic, and all I've tried say they support init.d scripts, why doesn't it actually function?
[Android Apps and Games] letsgetlost:
All SD partitions get unmounted

Hi all,

I installed link2sd following instructions on the first post. I have 2 partitions on my 8 GB SD: the first is a FAT partition with 7.5 GB and the second is an ext2 partition with 512 MB.

In the first post has been said that "When you connect your phone to PC as mass storage, Android unmounts FAT partition but the second partition remains mounted. Therefore linked applications are not affected and can be run without problems." but when I connect the phone to the PC with the USB wire my system (Gentoo Linux) shows me that I can mount both the partitions (FAT and ext2) so I guess the second partition on the ext2 get unmounted as well and therefore applications on the SD (ext2) are stopped.

Is this the correct behaviour?

Thanks in advance.

Maurizio

P.S.

I read all the zillion of post on this thread... I am really confused... maybe a FAQ would help, really.
[Android Apps and Games] androidboss7:
I am using this app
[Android Apps and Games] Kierrok:
Just guessing: most of the init.d support implementations are based on busybox. The run-parts applet is used to execute all the files in the /system/etc/init.d directory. There are some busybox versions with many applets broken and one of them is run-parts. Try updating busybox. I use this updater.

Also, check if the init.d directory exists and have the right owner (0:2000) and permissions (755). And the same thing with the files inside (0:0 777).
[Android Apps and Games] fatchick1o9:
thx for the tip man. I decided to use ext3 instead of Fat32 for my Link2SD setup. when I originally set it up a few months ago I went with Fat32 since it was the quickest to setup. After reading your post it reminded me to switch over to the faster & more CPU efficient ext2/3/4 FS for my Link2SD.

:D
[Android Apps and Games] szakacsze:
Move apps without second partition in Eclair

I think so need a new function, move applications to sd card without a second partition, under android 2.1

(Sorry for bad english. I'm use google translator)
[Android Apps and Games] fatchick1o9:
It already does that. APP2SD function is built into Link2SD as of several revisions ago.
[Android Apps and Games] Kierrok:
Yes, but does it work with Android 2.1? I think it only uses the native A2SD support which appeared in Android 2.2...
[Android Apps and Games] bundys:
Backup Gone Wrong Now No Linked Apps Available

OK, here's the situation - using Link2SD

I rebooted into recovery wanting to do a clean backup, so I cleared the cache partition and the dalvik cache. Then I performed the backup...all is good so far.

Reboot....wait about 10 minutes for the device to finish booting only to find that my launcher has reverted to stock and that pretty much all of the apps I launch FC immediately. Also, the low storage space icon is visible in the info bar.

So basically, I can't run Link2SD to see what is happening as it's icon has completely disappeared, I can't run Market to try to get Link2SD installed because Market crashes immediately, and this is where I'm stuck.

My phone is pretty much unusable right now, so if someone has run into this issue before, or has some useful suggestions, they would be greatly appreciated.

Running CM7.1 on Nexus One
[Android Apps and Games] Kierrok:
Looks like the regenerated dalvik-cache filled the entire internal memory.

Solutions? Try uninstall some apps until you have enough free space to get Link2SD again and start linking the dalvik-cache.
[Android Apps and Games] bundys:
I was thinking along the same lines, but figured a quicker way might be to restore the backup I just created, which booted me into the correct launcher (Launcher Pro), the Link2SD app icon is available and runs, but it shows that there are no user installed apps that were lined2SD. Doh!
[Android Apps and Games] Invik:
Can't get Link2SD to Work, tried everything...

Hello you all! Thanks @bakpinar for developing this awesome solution for easily managing apps that are on our SD Card, I've been using it since my first android phone: Motorola Quench, and used it again when got a Moto Backflip but now I'm struggling to get it working on my new Moto Milestone which I just got some days ago (Used, but unlocked, so it win :P).. So I just registered to get this solved because I'm getting a little tired of this problem and have been trying to set it up for hours without avail :\

Here's the problem:

I've partitioned the MicroSD card (I'm using a Class 2 SanDisk 8GB one) with 2 partitions as I've done before with my other phones using Minitool Home Edition (All of them worked flawlessly and continue to work as today without hiccups), I've used EXT4 for my second partition and FAT32 for the main one..

Then I proceeded to install FuFu's version of OR (MiniMod 0.6), do the 3 correspondent wipes and installing the latest version of iceandfire's rom (Ultimate Milestone 1.0 - Beta 1) found on this very same forum. I choosed it because I've seen on it's original thread that's got some great stability..

The custom rom booted flawlessly (As I've updated it to 2.2.1 with the SBF provided on the Milestone section) and proceeded to install Link2SD 1.9.8 (latest version on market as of today) and Titanium Backup for restoring my apps from the backup on the SD.

But when first opening Link2SD, It just wouldn't ask for the second partition's format, just ask for root and do nothing else.. So I tried to mount the EXT partition using the "Recreate Mount" option, but It cannot find the Second Partition... The error is as follows:

-Second Partition not Found- /dev/block/mmcblk0p2: device not found

I've tried Reflashing the ROM again (doing the 3 wipes of course) and reformatting the second partition as EXT2, EXT3, FAT32, wiping it, recreating the whole SD card partition structure and configuring both partitions as "Primary" with the first one being fat32 and the second one being EXT2, EXT3, EXT4, FAT32 (always using Minitool), but It just keeps throwing the same error described above.

Please help me! My phone is 80% unusable right now and I've had to relegate myself to use an old Nokia 6101 as main phone for now (and it sucks hard, don't ask)... :'(

Thanks in advance for your help!
[Android Apps and Games] Kierrok:
Invik, use a terminal emulator or adb shell and post the outputs of the following commands:

mount

cat /proc/partitions

Don't forget to issue the su command first.
[Android Apps and Games] fatchick1o9:
OH sry man. I missed that you were on 2.1. I only have a 2.2.+ to work with so I can't test it out for you.

good luck