yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] bakpinar:
UPDATE:

1.9.4

- added ability to freeze and unfreeze the user and system applications

- added "Frozen" filter option

- added ability to search applications by name, activated from the menu or search button

- some minor fixes and tweaks

- translations will be added

Do you want to help getting Link2SD in your language? Please send me an email.
[Android Apps and Games] fatchick1o9:
I love the addition of the ability to Freeze Apps. this app just gets better and better. And it makes me happy that I took the time to get a 32GB class 10 microSD. thx bakinpar
[Android Apps and Games] boardlord:
For me, only one thing is missing... Link data files along with apk, dex and lib. I don't want to use s2e or dt b/c I want to choose which app to move to ext. For now I move data with Titanium Backup, but it'd be cool if it was all in one app :) Any chance for this feature? :)
[Android Apps and Games] lousou76:
Thank you for your work.

I have a problem and I want to know if it is related.

My phone boots up normally and I have all the user apps linked to SD.

My 8GB SD is splited in 3 partitions (ext3, swap, fat).

My Rom has a2sd support but I disabled it even before I install link2sd by running a2sd remove from terminal emulator.

I used Move2sdenabler to set SDcard as default install location.

Although everything seemed to work at first I noticed after a few reboots that my SDcard is not auto mounting (the fat part) after reboot and I have to go mount it manually through Settings->SDcard and space-> Install sdcard.

Also when I connect to pc as Mass storage I can see an extra letter as Removable drive but I can't see contents (it says insert removable media, like the mass storage is not enabled).

Could it be a link2sd related problem? / move2sdenabler ?

Do you have any idea what could be causing it?

If I reset to hardware/factory defaults and start installing everything from scratch usb works again. I lost the point to when the card stoped auto mounting.

All apps linked to the ext partition work fine.
[Android Apps and Games] ozonbg:
Tnx for the awsome update!

But how it works, I can't get it, because seems to me the freezing don't work. Just freezed some system and user apps and then filtered them and it says 0 freezed applications?
[Android Apps and Games] bakpinar:
Frozen apps are not displayed in the app list on some devices.

I will fix it asap.
[Android Apps and Games] ChungHung.Chen:
Dear bakpinar,

I can help to translate for zh_TW, please contact me if you start to translate.

BR,

Chung-Hung
[Android Apps and Games] lerkin:
I can translate to Russian.
[Android Apps and Games] thyl_:
Solved ! Got S-OFF and now there is no problem at all, maybe the app should say "you are not s-off" instead of "not enough memory" to have a clue about that...

Btw, frozen apps show well in wildfire

Thx for the app !!!
[Android Apps and Games] usmaak:
Hi,

Just a quick question. I want to use this app instead of a2sd, because it allows me to decide which apps to put on the SD, and which to keep on the phone. But the ROM that I'm currently using already has a2sd baked into it. When I flashed it, it activated and moved all of my apps to the SD card. I ran a2sd remove, and a2sd cachesd to move the dalvik cache to the SD card.

Am I still able to use link2sd? I gave it a try, but I had some forced closes, and the phone (Evo 4G) is now being a bit laggy.

Thanks
[Android Apps and Games] dimcho:
Optimus One with GingerBread

Is your app compatible with Gingerbread running phones?:confused:
[Android Apps and Games] ChungHung.Chen:
Perhaps you can search your /etc/init.d to find if any startup script for a2sd.

It must mount SD card to replace /data driectory.

If your can disable this mount action, a2sd should be disabled.

And dalvik cache can be re-recreat by system, I think should not be a problem.

Please correct me if I'm wrong. Thanks.

Chung-Hung
[Android Apps and Games] bakpinar:
Can you see the apps you freezed in the list (with or without -Frozen- label), or they are completely disappeared?
[Android Apps and Games] usmaak:
I will check it out. One question. If I used a2sd to move dalvik to the cache partition, should I move it back to internally before attempting this?
[Android Apps and Games] ChungHung.Chen:
dalvik-cache file will be re-create if missing. I think it's fine if you didn't move dalvik-cache back.

BR,

Chung-Hung
[Android Apps and Games] usmaak:
I see a couple of files in the etc/init.d directory that have a2sd in them. But I'm really not sure what to do with them. Perhaps I'll check with the ROM developer and see if he can offer any ideas on how I can remove it from the zip
[Android Apps and Games] kslice917:
I seem to be having a problem that has been mentioned several times and there seems to be several solutions. I've also tried them all (short of re-packing a boot image) and none of them have worked.

I am running Cyanogenmod 7.1 on an OG Droid and have 2 partitions:

The initial FAT32 partition

A new EXT2 partition

With this, Link2SD works perfectly! However, I wanted to install a kernel so I can over-clock (or under-clock to save power more-rather). I installed ChevyNo1's 1.0Ghz-Low Voltage kernel. Now Link2SD is not working! Now I understand that a Kernel has to support the EXT2 file system and all...but read this:

When I open up a terminal window and enter the following 2 commands, Link2SD works perfect with ChevyNo1's kernel:

modprobe ext2
mount /dev/block/vold/179:2 /data/sdext2

What this tells me is that the kernel can handle ext2 perfectly fine, I'm just not sure why I can't mount the partition with the kernel installed. I've even tried editing the /system/etc/init.d/11link2sd file so that it runs the modprobe ext2 command before it tries to mount; which didn't work. I then tried modifying the /system/etc/init.d/04modules file to include the module ext2, which also didn't work.

I'm pretty sure the reason has to do with needing something else to start up before I run the modprobe ext2 command, but I'm not sure what. If I could find it, then I'm sure I could solve the problem. Anybody have any ideas or any alternatives to mount the EXT2 partition without having to enter it manually in a terminal window every time?

Also: I've always had the problem with Link2SD that all of my linked apps "disappear" after I reboot my phone, but then "reappear" after I do a quick reboot with Link2SD. Is there a way to automate this process or have it do so at startup?
[Android Apps and Games] bsoplinger:
I've been having nothing but trouble trying to get this to work. Where exactly does the "magic" happen that mounts the 2nd SDHC partition? I can mount it manually in the terminal so I want to compare whatever magic is trying to mount to see the difference.
[Android Apps and Games] ChungHung.Chen:
If you were need to insmod ext2 module at boot process, you need to use FULL path.

Usually ext2.ko is in /system/lib/modules/ext2.ko.

So please try to write "insmod /system/lib/modules/ext2.ko" in /etc/init.d/11link2sd and see if it works.

2nd question. Linked apps disappear because of /data/sdext2 were mounted AFTER system boot process finished. Perhaps you did it manually?

The app list is generated BEFORE system can find linked app's apk file.

Quick Reboot in Link2SD is used to restart "User Interface" and will generate app list AGAIN, so linked apps can be accessed this time.

It may be solved after your 1st problem.

BR,

Chung-Hung
[Android Apps and Games] kslice917:
insmod /system/lib/modules/ext2.ko is already in the 11link2sd file and doesn't work for some reason. It seems as though the ext2 module won't load until later in the boot process, which is odd...but I think that may be related to the kernel somehow? I just find it odd that it loads fine without the kernel, and fails to load with it; that is, when the system is booting up. After it's booted up, I can manually do it all later and it works fine. Which again, if the only solution is to do it all after the phone is done booting, then I just need a way to initialize a quick reboot since I've found a way to automate the module loading and mounting.

Another thing to point out is that after the phone boots with the ext2.ko module added to the 11link2sd file, I still can't mount the 2nd partition manually until I've loaded the ext2.ko module manually. It seems that the main (and only) problem is with that ext2.ko module not loading. It almost seems to me like it would be loading, and then the kernel unloads the module at boot undoing the whole process. My only problem with this reasoning is that I've read plenty of other posts where other users are using the exact same kernel with the ext2 filesystem on their OG Droid and having no problems.
[Android Apps and Games] ChungHung.Chen:
Dear kslice917,

Could you do a test by manually execute /etc/init.d/11link2sd and see what happen?

And do a "ls -l /etc/init.d/11link2sd" in adb shell?

BR,

Chung-Hung
[Android Apps and Games] kslice917:
Result from manually running /etc/init.d/11link2sd:

sh /system/etc/init.d/11link2sd

insmod: init_module '/system/lib/modules/ext2.ko' failed (No such file or directory)

mount: mounting /dev/block/vold/179:2 on /data/sdext2 failed: No such device

mount: mounting /dev/block/mmcblk0p2 on /data/sdext2 failed: No such device

Result from ls:

ls -l /etc/init.d/11link2sd

-rw-rw-rw- 1 root root 189 Oct 24 03:13 /etc/init.d/11link2sd

Also to note: I tried using P3Droid's kernel with no avail. It yielded the exact same results.
[Android Apps and Games] ChungHung.Chen:
Dear kslice917,

1. Could you find where your ext2.ko FULL path and modify 11link2sd?

Or try using "modprobe ext2" instead of "insmod ext2.ko" in 11link2sd.

2. Scripts in /etc/init.d needs "execute" permission. Use "chmod 755 11link2sd" in adb shell.

BR,

Chung-Hung
[Android Apps and Games] androidboss7:
IS this app like apps2sd???
[Android Apps and Games] vleutmans:
a bit like app2sd, but better/faster, when it works on your phone.

It doesn't move the system files + .dex to your sd-card, only the user apps + .dex which is the strength of link2sd.

I find that app2sd or hybrid data2sd is much slower due to the fact that they move "all" dalvik-cache directory to sd-card.
[Android Apps and Games] Babis_ECE:
Hi everyone, I need your help with my Milestone and Link2SD.

First of all congrats to the developer, excellent application, I've been using it for 2-3 months now and it changed my milestone, I was able to install 60+ applications on a 1.5GB Partition.

And now the problem I'm facing: Until today I was using MIUI Rom and had Link2SD Setup. Everything was working great.

Today I flashed CM7 again, installed Link2SD, moved an app and at first everything seemed to work just fine.

After the first reboot though Link2SD can't seem to load the apps, although it shows to have the 2nd Partition mounted..

I attached a Screenshot.

What could be going wrong?

Thank you for your time.

Read the Original Post of the Thread. The developer explains what the app does.

In general, yes it is like App2SD but better (in my opinion) because it does something extra. Read the first post and you will get it. :cool:
[Android Apps and Games] androidboss7:
Okay thanks!! ;);)
[Android Apps and Games] Cannon_Foddr:
I've just stumbled across this recently & it seems like what I want....except (I apologize as I'm a newbie) I'm a little confused & can't be bothered to go through 101 pages to check

OK - I've got 'Android Revolution 5.2.3' on my rooted DHD phone & I know that Android 2.3.x can move/run apps from the SD card

- but SOME apps (mainly a few games I have) don't offer the 'move to SD' function, which I believe is down to the developer to include.

Will this 'Force Move' them onto the SD card freeing up my Phones internal memory, even if there's just the 1 partition on the SD card, & still work ??

(I've read there's a way to 'force move' apps to SD - but that required install Android SDK & using a bunch of commands - something I don't really want to do)

I also see there's talk that a second partition has to be made - but is that just for 'linking' ??? (what ever that means.. I guess it's like a shortcut put on the phone to redirect Android to look on the SD card instead)

Many thanks in advance
[Android Apps and Games] androidboss7:
If you have cyanogenmod Rom then you could put it to your

sd card by force, but not as much will move to the sd card as a normal one

would. (This is for GT540) don't know about others but mostly likely the same!! )
[Android Apps and Games] bakpinar:
"force move" has been available in Link2SD since version 1.9.0, just click on "move to SD" button, no need any other app or using command line.
[Android Apps and Games] Babis_ECE:
From what I can tell there must be a conflict with CM7 and its App2SD feature.

Is there any way to get passed that?

I would really like to be able to use Link2SD again.
[Android Apps and Games] Cannon_Foddr:
Many thanks to you both for the help.

Since I've got ARHD installed I can't cyanogen feature, but still handy to know if I change.

I'll give it a shot and see which apps DON'T work (although there's not that many that I need to move)
[Android Apps and Games] bakpinar:
UPDATE:

1.9.5

- fixed freeze/unfreeze bug on some devices

- added Chinese Traditional, German, Hungarian, Italian, Polish, Portuguese, Portuguese Brazilian, Russian, Slovak, Spanish, Thai, Ukrainian translation

- added an option to use English language instead of system language

Many thanks to all who contributed to the localization of the Link2SD.

If you want to help getting Link2SD in other languages please send me an email.
[Android Apps and Games] ChungHung.Chen:
Dear Bulent,

I've found after submit translation from the web, web need some times to sync internal database and re-create download files.

My double confirm is download file and compare with web.

By the way, thanks for your great work!

BR,

Chung-Hung
[Android Apps and Games] kslice917:
1. My ext2.ko FULL path is indeed in '/system/lib/modules/'. I've tried the "modprobe ext2" instead of "insmod ext.ko" in 11link2sd and it never worked.

2. I used the chmod command (and then confirmed that it worked with a ls command afterwards) and I still get the same results.
[Android Apps and Games] ChungHung.Chen:
Dear kslice917,

Your ext2.ko is in /system/lib/modules but insmod got a "no such file" error??

Could you do a "ls -l /system/lib/modules" in adb shell and paste output here?

BR,

Chung-Hung
[Android Apps and Games] louieched:
Factory Reset

hello

if i do factory reset will my apps which are linked to the SD card will be deleted too?
[Android Apps and Games] kslice917:
Yes, I assure you that ext2.ko is in /system/lib/modules. But as proof, here's the ls -l on /system/lib/modules:

-rw-r--r-- 1 root root 5732 Aug 1 2008 act_mirred.ko

-rw-r--r-- 1 root root 6928 Aug 1 2008 act_police.ko

-rw-r--r-- 1 root root 41504 Aug 1 2008 auth_rpcgss.ko

-rw-r--r-- 1 root root 271678 Aug 1 2008 cifs.ko

-rw-r--r-- 1 root root 8944 Aug 1 2008 cls_u32.ko

-rw-r--r-- 1 root root 2708 Aug 1 2008 crc-itu-t.ko

-rw-r--r-- 1 root root 2840 Aug 1 2008 em_u32.ko

-rw-rw-rw- 1 root root 68423 Aug 1 2008 ext2.ko

-rw-rw-rw- 1 root root 132336 Aug 1 2008 ext3.ko

-rw-rw-rw- 1 root root 253895 Aug 1 2008 ext4.ko

-rw-r--r-- 1 root root 6172 Aug 1 2008 ifb.ko

-rw-rw-rw- 1 root root 58833 Aug 1 2008 jbd.ko

-rw-rw-rw- 1 root root 67995 Aug 1 2008 jbd2.ko

-rw-r--r-- 1 root root 85720 Aug 1 2008 lockd.ko

-rw-r--r-- 1 root root 7698 Aug 1 2008 logger.ko

-rw-rw-rw- 1 root root 10847 Aug 1 2008 mbcache.ko

-rw-r--r-- 1 root root 345623 Aug 1 2008 nfs.ko

-rw-r--r-- 1 root root 4556 Aug 1 2008 nfs_acl.ko

-rw-r--r-- 1 root root 244002 Aug 1 2008 ntfs.ko

-rw-r--r-- 1 root root 4316 Aug 1 2008 output.ko

-rw-r--r-- 1 root root 22276 Aug 1 2008 ramzswap.ko

-rw-r--r-- 1 root root 18020 Aug 1 2008 sch_htb.ko

-rw-r--r-- 1 root root 3824 Aug 1 2008 sch_ingress.ko

-rw-r--r-- 1 root root 26232 Aug 1 2008 squashfs.ko

-rw-r--r-- 1 root root 221266 Aug 1 2008 sunrpc.ko

-rw-r--r-- 1 root root 803748 Aug 1 2008 tiwlan_drv.ko

-rw-r--r-- 1 root root 17789 Aug 1 2008 tun.ko

-rw-r--r-- 1 root root 4344 Aug 1 2008 wl127x_test.ko

-rw-r--r-- 1 root root 17340 Aug 1 2008 zram.ko

Also note: I changed the permission for ext2.ko to execute (chmod 755) and tried it all again; still the same results. Checked to make sure the chmod worked with "ls -l /system/lib/modules/ext2.ko" and the output was:

-rwxr-xr-x 1 root root 68423 Aug 1 2008 /system/lib/modules/ext2.ko

Btw, I really appreciate your help with this Chung-Hung. I certainly hope you can find a way to fix this issue...it's so annoying.
[Android Apps and Games] ChungHung.Chen:
Dear kslice917,

Please do some more test.

1. cd /system/lib/modules

2. try "insmod ./ext2.ko" if error than try ext3.ko / ext4.ko

If any ext?.ko work. Please modify 11link2sd from ext2 to ext?

And reboot for a try.

BR,

Chung-Hung
[Android Apps and Games] kslice917:
As requested:

# cd /system/lib/modules
cd /system/lib/modules

# insmod ./ext2.ko
insmod ./ext2.ko

insmod: init_module './ext2.ko' failed (No such file or directory)

# insmod ./ext3.ko
insmod ./ext3.ko

insmod: init_module './ext3.ko' failed (No such file or directory)

# insmod ./ext4.ko
insmod ./ext4.ko

insmod: init_module './ext4.ko' failed (No such file or directory)

# ls
ls

act_mirred.ko em_u32.ko jbd2.ko ntfs.ko sunrpc.ko

act_police.ko ext2.ko lockd.ko output.ko tiwlan_drv.ko

auth_rpcgss.ko ext3.ko logger.ko ramzswap.ko tun.ko

cifs.ko ext4.ko mbcache.ko sch_htb.ko wl127x_test.ko

cls_u32.ko ifb.ko nfs.ko sch_ingress.ko zram.ko

crc-itu-t.ko jbd.ko nfs_acl.ko squashfs.ko

It's just so odd...it's as if the system is unable to read the file. Almost as if it doesn't exist. But yet, it does. I've tried this both with /system mounted as rw and mounted as ro; both have the same results. But something I found interesting...after using 'modprobe ext2' and manually mounting the 2nd partition, I get slightly different results:

# insmod ./ext2.ko
insmod ./ext2.ko

insmod: init_module './ext2.ko' failed (File exists)

# insmod ./ext3.ko
insmod ./ext3.ko

insmod: init_module './ext3.ko' failed (No such file or directory)

After using modprobe, it's able to see the module (and most likely fails since it's already loaded). The odd thing is that it doesn't see it before I use modprobe. It's also weird that I can't use modprobe instead of insmod in 11link2sd.

EDIT: After some messing around, I changed the 'insmod /system/lib/modules/ext2.ko' line in 11link2sd to 'modprobe ext2' and then did a chmod 755 on it along with the ext2.ko module and found that it does mount the 2nd partition automatically. HOWEVER, once my phone boots, none of the linked apps are there. I have to do a quick reboot for them to show up. I mean, it's progress to say the least...but I was hoping to find a way to eliminate the need to do a quick reboot as soon as my phone boots.
[Android Apps and Games] ChungHung.Chen:
Dear kslice917,

Could you copy ext2.ko to somewhere else, like /etc/init.d/ ??

If you can copy it, try "insmod /etc/init.d/ext2.ko".

Looks like something error on filesystem?

BR,

Chung-Hung
[Android Apps and Games] Kierrok:
kslice917, the "No such file or directory" errors are caused by dependencies. It means that some other(s) module(s) have to be loaded before ext2.ko.

You can get some clues with dmesg, like this:

insmod /system/lib/modules/ext2.ko
dmesg | tail -n 15

You will see some lines with "ext2: Unknown symbol..." and that's the clues you need. I bet what it needs is mbcache.ko, so try:

insmod /system/lib/modules/mbcache.ko
insmod /system/lib/modules/ext2.ko

If this doesn't work, paste here the dmesg command result.
[Android Apps and Games] clxer:
where is 1.9.5?
[Android Apps and Games] mortisia:
Thank you for sharing this information with us, I had the same problem and after trying several things, I did what you said and it worked flawlessly!
[Android Apps and Games] ozonbg:
Now freezing work fine, tnx!
[Android Apps and Games] piens:
This looks like a second partition which is empty! only 25Mb used is not enough for 60+ programs. So if you finally managed to mount your 2nd partition it will not have many linked programs on that partition!
[Android Apps and Games] kslice917:
I still got the exact same results.

It seems like this actually did the trick, but only when I did it manually. When I added it to the 11link2sd file, it wouldn't do it automatically. It doesn't even load the modules. It's almost as if this entire script file isn't running at boot.
[Android Apps and Games] ChungHung.Chen:
Is 11link2sd has execute permission ( chmod 755 ) ??

Another check point, did you have /etc/install-recovery.sh and what's in the file?

If /etc/install-recovery.sh exist, append there lines to the file for a try.

insmod /system/lib/modules/mbcache.ko
insmod /system/lib/modules/ext2.ko
sleep 2
mount /dev/block/vold/179:2 /data/sdext2
mount /dev/block/mmcblk0p2 /data/sdext2

BR,

Chung-Hung
[Android Apps and Games] kslice917:
11link2sd does have execute permission. /etc/install-recovery.sh does exist, it currently contains the following:

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

I modified it to look like so:

#!/system/bin/sh
#added by link2sd
insmod /system/lib/modules/mbcache.ko
insmod /system/lib/modules/ext2.ko
sleep 2
mount -t ext2 -o rw /dev/block/vold/179:2 /data/sdext2
mount -t ext2 -o rw /dev/block/mmcblk0p2 /data/sdext2

And it actually worked...well, somewhat. The 2nd partition is being mounted automatically at boot (or shortly after?). The problem is that I still have to do a quick reboot before I can see any of my linked apps. This leads me to believe that install-recovery.sh is running AFTER the phone boots.
[Android Apps and Games] ChungHung.Chen:
OK, first problem solved. Which launcher do you use?

I've used Launcher Pro / ADW / Go Launcher and all will load linked app after boot, just need some time.

BR,

Chung-Hung
[Android Apps and Games] kslice917:
Using ADW, built in to CM7.
[Android Apps and Games] ChungHung.Chen:
Dear kslice917,

I've used CM7 before, it should be ok with Link2SD.

What if you do a ADW restart instead of Quick Reboot of Link2SD ?

BR,

Chung-Hung
[Android Apps and Games] smithinsundar:
Someone plz help me... after I tried to do partition of my SD card n made a FAT 32 partion. At first it was shown as error 12 n could not do partition... by after rebooting I formatted the card n Cud do the partition.by nw my phone is fully not detected on PC.... both partition cannot b seen... bt on phone the storage memory is shown as 7.4 gb... some one plaza help
[Android Apps and Games] kslice917:
It still doesn't work. I can tell it's not a problem with ADW because the linked apps won't show up properly in my installed apps either (not the app drawer, but the actual app manager).
[Android Apps and Games] ChungHung.Chen:
Dear kslice917,

What ROM do you use? CM7?

I'm not using CM7 now so I can't help you to do some test.

Perhaps someone who using CM7 can help.

I think that main key should be init script sequence in CM7.

BTW, I'll try to find some information if you ROM is one of I know.

BR,

Chung-Hung
[Android Apps and Games] commando0:
desire saver for me ...........
[Android Apps and Games] tolu_en:
Teşekkürler....