yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] f_mulder:
Hi!

Good to know you are still reading that thread :-).

I think that linking the whole data directory to SD,misses the point of Link2SD...

The whole idea was to let user to decide which files will go to SD and which will remain on nand.

If you link whole data directory to SD, then link2SD turns to a2sd... I don't like that...

There should be an option to move whole app's directory to SD,that is what I would like to have,

but not linking the whole data to SD...

IMHO...

Another issue I want to rise...

Most latest ROM for my Desire already include a2sd-like solution built in. I don't like that solution, and

try to disable it, where ever that is possible. But in some cases, disabling that script, causes the device to stuck on boot...

I have solved that issue by soft linking the /data/sdext2 to the SD's ext partition's mount point.

That causes link2sd to "see" all old applications, but when I launch it (link2sd), it checks whether SD's ext partition is mounted on /data/sdext2, which is not true...

So... is there an option to omit that test upon link2SD start?
[Android Apps and Games] Kierrok:
I think this is what Bakpinar was talking about, not the whole data dir. ;)
[Android Apps and Games] maniacscorpio:
finally its working for me

i created two partitions

1- 6GB- FAT32

2-800MB- FAT32

both primary. EXT-2 OR 3 wont works for me.

now my application starts working.

before doing all i formatted my phone.

After this i installed link2sd then configure it.

At that time my internal memory was 160 MB. i install facebook & whats app from market. in the background its clearly shows link2sd was working but when i checked my internal memory its shows me 148MB.

So i dont think its a great app for me.
[Android Apps and Games] f_mulder:
Launch link2sd and check whether all possible files are moved to SD.

In the list of applications, find facebook and what's app, and check what link2sd writes about them...
[Android Apps and Games] maniacscorpio:
Facebook-

linked- Sd card

same for whats app...
[Android Apps and Games] Ztrindberg:
any news about that samsung problem?

It would be great if it could be fixed so all samsung users can use this app.

All it takes is to edit a file I think, but it keeps getting reset at boot...
[Android Apps and Games] maniacscorpio:
its useless app...............:eek:

no improvement
[Android Apps and Games] maniacscorpio:
my second partition is 800mb . link2sd shows 800mb but Quick system pro app shows only 37.52mb..

Anyone is here who found this app brilliant...?? for me its useless still my space is decreasing as link before
[Android Apps and Games] Kierrok:
Don't like it? Uninstall! But, please, stop whining!
[Android Apps and Games] piens:
Yes, it's brilliant for me, HTC desire, have 45mb internal memory free and before link2sd only 10mb. And now I have many more apps installed than before! If you can't get it to work, don't say it's a useless app, but try to investigate why it doesn't work for you. Your tone will not get you any usefull help from this forum by the way
[Android Apps and Games] maniacscorpio:
Sorry but why its not working for me... app is working fine... but my internal space is increasing like hell...

Internal- total-181mb, USED- 36.89mb, Free- 144mb

SD Card 2nd part - total-799MB used- 15.25mb, FREE- 783mb

Note- i installed only 4 apps... consumption is same as before.

I am using it on Samsung galaxy pro
[Android Apps and Games] Kierrok:
Unlink everything you have linked and compare.

Still thinking it's the same?
[Android Apps and Games] DannyDroid:
Would you disagree if I included your app in my ROM? A lot of users (including myself) find Link2SD a lot more easier to work with.
[Android Apps and Games] maniacscorpio:
now its working very fine for me. trick is if any app install on sd card(automatically) then internal memory increases tremendously(i do not know why and how) but if app install on internal memory then link2sd works & it save lot of internal memory.

So what i did i installed Move2sd enabler from market

https://market.android.com/details?id=com.leinardi.setinstalllocation&hl=en

and force every new app to install on internal memory. it saves lot of memory.

NOTE- if any app install on internal memory only then link2sd works. so its better if we force our apps to install on internal memory.

previously my thinking was if app installed on sd only then i can save lot of internal memory but here things are opposite if we force all apps to install on internal memory then link2sd start working save too internal memory.

here is an example-

i installed whats app on sd card my internal memory decreases by 4mb but when i moved this app to internal memory or you can say i forced this app to internal memory & create link using link2sd my internal memory increased by 9mb...

Outcome-

its better if we use move2sd enabler or similar type of apps to force new app always install on internal memory instead of sd card. try it guys you will find the difference....

thanks for this beautiful app...........
[Android Apps and Games] lichan:
I would definitely support going with the warning and let the user decide to accept the risk.
[Android Apps and Games] Godslayer333:
Samsung Galaxy Prevail

Apparently nothing works for the Samsung Galaxy Prevail, I tried everything from clockworkmod to Link2SD all i want to do is free up some space by moving some apps to the SD card, and they are verified as being movable. I've reformatted my SD card like 50 times trying every possible angle to get link2SD to work. i always just get "Mount script error Mount script cannot be created. mount: no such device or address" I've painstakingly went over your directions time and time again, making sure i was doing it correctly. Nothing seems to work. I don't even know if you guys can help, i'm pretty sure it's just the Prevail.:(

oh great i just realized i posted in the wrong section, how the heck did i even get here?
[Android Apps and Games] maniacscorpio:
it was working fine yesterday but today my phone restarted many times......

sometimes it switched off automatically

please help whats wrong
[Android Apps and Games] decmk:
Im using Link2sd about 2 days after rooting and s-off stock gingerbread for desire and installed 70 apps so far, but a made second partition to be 256 mb.

Can i resize partition without losing apps linked to sd with easeus partition manager for windows?

I have suggestion

1 link2sd no need to be listed in user apps

2 make more sort options like dex size, data size,

3 apk+dex+lib+data to be total size

4 filter option user app on phone only and user app on sdcard
[Android Apps and Games] f_mulder:
If you want to be on a safe side, backup whole sd-card (each partition separately, of course ) and then resize it. The FAT part is easy to backup, the second partition

can be backed-up using "adb pull" and then restored with "adb push".
[Android Apps and Games] Ztrindberg:
Due too no support for Samsung 2.3.3 I have now uninstalled this once great app.

Its a bit sad to have to give it up but since its impossible to get it working....

I hope you the dev in the future again will support Samsung phones. I will happily pay for the app then.
[Android Apps and Games] bang3lang:
I use Motorola XT800W

Format the memory card Software: EASEUS Partition Master 9.0.0 Home Edition

- I partition my memory more second partition.

- I format the second partition as FAT32 as guides, especially my work very carefully every detail.

- Link2SD When I installed, I run the software there is a popup message like this:

- I have tried many times to try again but the result is always the case, you can guide me more than it?

- Thanks very much!

I'm from Vietnam, their English is not very good, your sympathy :)
[Android Apps and Games] decmk:
Did you make second partition to be primary?
[Android Apps and Games] Kierrok:
The app isn't the problem, it's the Samsung GB ROMs!

Many Samsung devices owners complain about it, but none explains what really happens. I follow this thread and I didn't understand yet what the problem is.

Remember, Bakpinar doesn't own every device, so when reporting a bug/error provide the most information you can.
[Android Apps and Games] bakpinar:
I changed the method for determining the external storage (SDCard).

I hope next release will work on your samsung tab and on other devices that have more than one external storage devices (mostly tablets).
[Android Apps and Games] jgzzrico:
Hi...I found this in HTCMania that's works with Android 2.3.3 and 2.3.4 and with my Galaxy Ace.

If Link2sd already worked in froyo, you need to do this "once":

1. Install “Script Manager” from Android Market

2. Open the Link2sd and when ask for the partitions and others will tell you that you reboot, after restarting do not open Link2sd

3. Open Script Manager

4. Go to: menu > more > advanced options > config > select “browse as root”

5. Give Superuser permits.

6. Click in the file /system/etc/install-recovery.sh

7. Select "run as root", "run at boot"

8. Save and restart your phone

9. After the restart you can use Link2sd

After all this, you can use Link2sd without doing anything extra

There is an important thing. When you reboot your phone (turn off and on) you will realize that all the applications that make link has disappeared from your home screens, app drawer, list of installed apps, etc. as if they were not installed, but do not worry. Open Link2sd and press the menu > more > quickreboot and all the missing applications will be available.

I hope that works for everyone, and excuse for my bad English
[Android Apps and Games] ff7fan4eva:
Anyone know off a way to install to SD instead of memory, having trouble with Plants vs Zombies install
[Android Apps and Games] decmk:
What is diferent between using rom with a2sd and link2sd? or data2sd and link2sd?
[Android Apps and Games] Kierrok:
Read the 1st post!
[Android Apps and Games] azcv:
When will be available the new version?
[Android Apps and Games] decmk:
A just read and got a conclusion that link2sd is better then rom with app2sd, simply you can select witch app to move to sd, and is diferent from data2sd because data is still on phone memory.
[Android Apps and Games] keijames:
unfortunely it does not works for most of gingerbread ROM.

means by next when most of phone upgraded to 2.3

Link2SD will end of life.
[Android Apps and Games] jgzzrico:
Oh no...read the post No. 1700 with a way to make Link2sd works in android 2.3.3 and 2.3.4, and it works!!!
[Android Apps and Games] bakpinar:
Most likely I will release it in next week, it will be 1.8.0.
[Android Apps and Games] bakpinar:
No, the problem is not that wide spread, Link2SD works on gingerbread.

The problem on the new Samsungs GB roms is that install-recovery.sh is commented out in init.rc file and therefore 2nd partition can not be mounted on boot.

But there are some custom ROMs avaliable which support 2nd partition and Link2SD (a2sd) for these Samsung phones, search the forum.
[Android Apps and Games] Ztrindberg:
hello sir

I think the permanent solution is this written by "ketut.kumajaya "

"My English not good enough to explain. init.rc stored in initramfs (boot.img). initramfs mounted into memory at boot time, all changes to the initramfs only occur in memory rather than in boot.img. Only one way to change init.rc: unpack boot.img, change init.rc, then back repack boot.img. Learn how dsixda kitchen works to understand all this stuff"

But myself I dont know how to do that.

Maybe you know? Maybe you can make so its possible to enable install-recovery.sh in init.rc??
[Android Apps and Games] enotar:
You are the man......

That works perfect on galaxy fit ........

Thank you so much
[Android Apps and Games] masterulukai:
Hello,

I am using link2sd on se xperia arc 2.3.3 and it works really great except for one problem. After any reboot it seems like the "lib" data of all linked apps has been moved to internal storage again, and since lib data is the biggest one, my phone-storage is almost full again. I have to mnual unlink and relink all apps again to free some internal space. Is there any workaround or solution for this problem? Any help deeply appreciated!

Best regards!
[Android Apps and Games] bakpinar:
In the new version I've added "Relink library files" menu which relinks all the lib files that get unlinked after reboot.
[Android Apps and Games] jugal:
Plz help!!!

Since 3 days my SD card gets removed automatically and gets detected back but the apps stops working with "force close" errors untill i restart my phone.

Plz help... It never happened to my b4 Link2sd was installed.

Also Few more clarifications I would like to have..

1. u said that the 2nd partition is never been unmounted when phone is connected to PC, but its gets unmounted from Mobile in my Linux PC.

2. What will happen if I remove the SD-Card from Mobile(when Mobile is on) and re-insert it in Mobile(when Mobile is on) ??

This is what I have noticed in both the above scenarios.

-> all the linked apps won't get open and the mobile gets reboot continuously when I try to open any linked app...

We need to do a bit more development to make it more stable...
[Android Apps and Games] masterulukai:
Thank you, I havent notice this before. It works good. I wish, lib files would stay linked after reboot though.. ;)
[Android Apps and Games] enotar:
I think it is not out yet.....?

BTW:

Here is the solution for GB in case Link2Sd doesnt work:

1. Install “Script Manager” from Android Market

2. Open the Link2sd and when ask for the partitions and others will tell you that you reboot, after restarting do not open Link2sd

3. Open Script Manager

4. Go to: menu > more > advanced options > config > select “browse as root”

5. Give Superuser permits.

6. Click in the file /system/etc/install-recovery.sh

7. Select "run as root", "run at boot"

8. Save and restart your phone

9. After the restart you can use Link2sd
[Android Apps and Games] mimmori:
Thanks for link2sd, I can now install what i want on my desire!

I Use cm7 and i saw that every time i update the rom link2sd doesn't recognize the dex and lib file previously linked, so i Gaetano the internal memory full message.

Inviato dal mio HTC Desire usando Tapatalk
[Android Apps and Games] kretos:
What new features will be in version 1.8.0?

I have noticed that some ROMs mount secondary partition and Link2SD fails in that situation. This happen with latest Mur4ik ROM for GT540 (http://xdaforums.com/showthread.php?t=927379), strange thing is that previous versions worked fine and the latest one (RC4) failed. The solution was to modify Link2SD script. I can provide the script that is mounting partitions and the modification if you want in the evening.
[Android Apps and Games] Buffalo Soldier:
Can someone else please confirm that this app is not working properly on SwiftDroid_v2.0_RC4? Thanks...
[Android Apps and Games] 1manshow:
Yes. Please provide the script. It would be great help.

Confirmed, Link2SD doesn't mount second partition on TripNMIUI-Iris-103 build. It throws this error -

Mount Script Error - Mount script cannot be created. I tried recreating second partition with ext 2, Fat 32 etc. but to no avail :o
[Android Apps and Games] kretos:
It's working but it requires manual change of Link2SD script. The reason is that SwiftDroid mounts the second partition by it's own by invoking

/system/etc/init.d/05mountsd

containing:

#!/system/bin/sh
#
# mount ext partition from sd card

BB="logwrapper busybox";

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

# find SD Card
for MMC_NUM in `seq 0 9`;
do
MMC_TYPE=`cat /sys/block/mmcblk$MMC_NUM/device/type`
if [ "$MMC_TYPE" = "SD" ];
then
# 2nd partition of sdcard should be the sd-ext if exist
SD_EXT_PART=/dev/block/mmcblk${MMC_NUM}p2
break
fi
done

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

# fsck the sdcard filesystem first
if [ -x `which e2fsck` ];
then
e2fsck -y $SD_EXT_PART
e2fsk_exitcode=$?
else
echo "executable e2fsck not found, assuming no filesystem errors"
e2fsk_exitcode=0
fi

# set property with exit code in case an error occurs
setprop cm.e2fsck.errors $e2fsk_exitcode;
if [ "$e2fsk_exitcode" -lt 2 ];
then
# mount and set perms
$BB mount -o noatime,nodiratime,barrier=1 -t ext3 $SD_EXT_PART $SD_EXT_DIRECTORY;
if [ "$?" = 0 ];
then
$BB chown 1000:1000 $SD_EXT_DIRECTORY;
$BB 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
log -p e -t mountsd "Unable to repair filesystem, disabling apps2sd";
fi
fi

The solution is to modify

/system/etc/init.d/11link2sd

comment mount commands and add mount bind command:

#!/system/bin/sh
#added by link2sd
sleep 2
# mount -t ext2 -o rw /dev/block/vold/179:2 /data/sdext2

# mount -t ext2 -o rw /dev/block/mmcblk0p2 / data/sdext2

mount -t ext2 -o bind /sd-ext/ /data/sdext2/

Without modification Link2SD throws error "device/resource is busy" because mmcblk0p2 is already mounted by script above as sd-ext.
[Android Apps and Games] jahmon:
I like to update frequently to the latest CM7 nightly.

What's the impact of link2sd on this?

Should I do something special before installing a new nightly over my current one?

Thank you for this great app, it saved my Nexus One ;-)
[Android Apps and Games] 1manshow:
Any help on this? I'm using the above mentioned custom ROM on SE Xperia X10i. Thanks in advance for any tips.
[Android Apps and Games] Kierrok:
That error means that Link2SD was unable to create the mount script for some reason. Did you gave root permission to Link2SD?
[Android Apps and Games] bakpinar:
UPDATE:

1.8.0

- changed the method for determining external storage to support devices that have more than one external storage (MMC and SD)

- added ability to uninstall system applications

- added batch (multi-select) reinstalling

- added batch (multi-select) uninstalling

- added "Relink library files" menu which relinks all the lib files that get unlinked after reboot

- removed "Market Fix" menu

- added "fast scroll thumb" option to quickly scroll through the app list

- added "Data size" to sort options

- some bugfixes

Hope you enjoy!
[Android Apps and Games] bakpinar:
This version (1.8.0) does not present a workaround for mounting issue that exists on some new GB roms which "/system/etc/install-recovery.sh" and "/system/etc/init.d" scripts are not operational.

I plan to implement following workaround in the next version.

check "/data/sdext" mount on "RECEIVE_BOOT_COMPLETED" receiver. This is the same receiver as Script Manager uses. It is broadcast after the system finishes booting. (But too late for mounting, see the post #1359)

if "/data/sdext2" is mounted, no problem, no need to do anything.

if "/data/sdext2" is not mounted, mount the second the partition and display a status bar notification message stated that ;

"Since the 2nd partition is not mounted during boot time it has been mounted after the system finishes booting.

Therefore your linked apps are not visible to the system. To make them avaliable again, please try 'Quick Reboot' within Link2SD."

Any other ideas?
[Android Apps and Games] mimmori:
Any idea?

Inviato dal mio HTC Desire usando Tapatalk
[Android Apps and Games] Kierrok:
Every time the ROM changes the dalvik-cache (aka dex files) is regenerated. On top of that GB has a "feature" that restores all lib files on boot. AFAIK, ATM, there isn't a way to prevent that.
[Android Apps and Games] azcv:
There is no option for linking the app data in this changelog.Is it realy not implemented in this version?

http://xdaforums.com/showpost.php?p=16681076&postcount=1675
[Android Apps and Games] vintr:
Hey I found out about this about I went through all the trouble of app2ext and didn't want to bother switching but just today something went really wrong, still don't know what though but probably something with my sd card. Apps started moving all back to my internal memory (apps on SD didn't work) and I pretty much uninstalled EVERY app I had. Now I'm switching over to link2sd but I'm getting an error.

TLDR

I'm getting this error and reboots about a minute later

"Mount script cannot be created line 4 system/etc/install-recovery.sh: cannot allocate memory"

I'm running a rooted froyo (S-On) mytouch 3g slide. Just wondering what I can do :/
[Android Apps and Games] 1manshow:
Yes. I double checked and it was provided SU permissions already. I'll now try the latest update to Link2SD version.

Will report back if it works or not with this version.:rolleyes:

Edit: Still not working with 1.8. Even tried fixing permissions. Help please.
[Android Apps and Games] kalgecin:
manually linking

Hey guys i've tried link2sd without any sucsess on my galaxy mini. It seems the app cannot create the proper init scripts. I was thinking. Is it possible to say have only one partition, create /sdcard/app/ and edit /init.rc to bind /sdcard/app/ to /data/app. I have busybox and su installed. But i'm not sure of the proper procedure. Has anyone done this? I'm backing up all my phone to try and do this through trial and error.

ok i've done this so far

# busybox cp -R /data/app /sdcard/app/

# busybox mount -o bind /sdcard/app /data/app

as root. Some apps force closed when i first launched them but they work fine now.
[Android Apps and Games] Rebel_X:
Thanks for the update, will try now, hopefully 2nd partition size will be reported correctly.
[Android Apps and Games] piens:
Can 1.8.0 be installed over 1.7.0 or must I uninstall the older version first:confused:
[Android Apps and Games] azcv:
1.8.0 Is working fine,but there is realy no option for linking app data.I am waiting for the next version.

One sugestion for next version:

add option for automatic relinking of lib files on boot complete.Can be turned on/off from settings.

And realy,will it be available linking of private data as you menion at post n 1675?http://xdaforums.com/showpost.php?p=16681076&postcount=1675?

I want to try this functionality,because now i have to manualy link some lib files with terminal emulator app.This files are not installed in lib folder and can't be moved by link2sd.
[Android Apps and Games] Rebel_X:
Hmm, tried, but still reporting the wrong size for my 2nd partition, I have 2nd Partition

2GB type ext4, Link2SD reports it is 1GB with 100% free, 260MB used :/

My phone is Samsung Galaxy S 4G, if that helps.
[Android Apps and Games] bakpinar:
Can you post the output of "df" command?
[Android Apps and Games] Rebel_X:
thanmz for you work.
[Android Apps and Games] bakpinar:
It is 1GB.

Can you post "mount" output to see which device is mounted as /data/sdext2"
[Android Apps and Games] Rebel_X:
I used mini tool to create a 2GB 2048mb exactly, may be Linda conversion to the partition missed it up

Thanks Again man for your work.
[Android Apps and Games] bakpinar:
forgotten this command; can you run it.

cat /proc/partitions
[Android Apps and Games] kretos:
I moved some applications with big lib files with built in solution and without lib files with Link2SD. The reason for that is:

1. in GB lib files are unpacked every restart so linking by Link2SD is not good solution. Question is how system behaves if all apps are moved by Link2SD and after restart and unpacking libs do not fit in memory? What relink library files will do in such situation when proper lib files are already on SD and partially in phone memory?

2. for other applications Link2SD offers better solution because it keeps smaller amount of data

One suggestion for future versions - currently Link2SD shows application moved to SD by Froyo/GB mechanism, but application management in Froyo/GB does not know (nor show) what applications were moved to SD by Link2SD. So user have to remember that if using mixed solution.

Would it be possible to add to Link2SD possibility to use native Froyo/GB App2SD? In that way all aplication managment could be done using Link2SD in that manner which is better for user.