yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] vincenttan89:
LOL, fix it after set ext2 partition into 'primary' and restart the phone. and it works! Thanks!
[Android Apps and Games] d3cryp7:
I did some digging and found that there is a script /etc/init.d/05mountsd which checks and mounts the ext partition under sd-ext. Is it possible Link2sd checks whether the ext is mounted and use it instead of creating a script to mount it?
[Android Apps and Games] raidtariq:
Hi,

I did every thing and I had FAT32 and ext2 on my SD card.

When I launch the link2sd this message appear:

automatically create the script, restart your phone, if this message appears again thats mean the script doesn't work on your phone!!!!! and every time I lunch the link2sd after reboot my phone this message appears.

I am using huawei ascend (android 2.1 update 1 OS)

any help?!

Thanks in adcance
[Android Apps and Games] ammarcool12:
Thanks a lot :D
[Android Apps and Games] wyeko:
Hey, great looking app, but i don't know how it works...yet.

When i open an app, i get this message:

I CAN open app, but i CAN'T create link.

help please.
[Android Apps and Games] vandhaal:
Oh man, you deserve a statue! Your app is working flawlessly on my LG GT540! Thanks a million !!

grtZ

Vandhaal
[Android Apps and Games] jek20:
Guys,app it shows automount script error.What to do??
[Android Apps and Games] xminipro:
With last version, when i try to unistall apps, it remains on "unistalling" for all the time. I must end the app... Please fix...
[Android Apps and Games] necrohades:
works great for Sony Ericsson X10 Mini Pro!
[Android Apps and Games] mhyke13ph:
Q>I have installed this and Linked all my Apps, what will happen if i got my phone full flashed for an update?

do i need to unlink all linked apps? or not?
[Android Apps and Games] necrohades:
first of all, make a backup.

now, i haven't tried leaving the apps linked to sd, and did a re-flash. my experience with app2sd was when i flashed the phone, and of course, apps are left in the sd, they where back in my launcher as soon i installed back app2sd. not yet tried with Link2sd, but since i think there links created in /data/app and since this folder gets wiped during flash, i suppose you will not see your app even when you install back link2sd. i might be wrong though, so you should better make a backup of your apps before you try anything :)
[Android Apps and Games] jek20:
Guys,app it shows automount script error.What to do??

Edit: ok ,I fixed
[Android Apps and Games] hansip87:
This is Must have Apps on Eclair!

bakpinar, Thank you for this apps which is among the best for Android :cool:

Just a quick Tips and trick:

Store all the games and any non-monitoring software into SD. Any monitoring and task-manager-like apps will try to access your SD regularly, so it will eat your battery faster, so better to put it on internal storage :D
[Android Apps and Games] mohanlink:
good work man
[Android Apps and Games] Lilim:
Thank you for this wonderful app.

Yet, there's a problem. I'm using Link2SD on Motorola Milestone (stock Android 2.1) and linked only few games (so no apps that require keeping sd card alive all the time). The problem is that the battery goes down very fast, even when the phone is not being used.

Few other users mentioned this problem on one of Polish Android boards, but I don't see anyone writing about it here.
[Android Apps and Games] bakpinar:
UPDATE:

1.3.1

- added support in detecting and mounting ext2 partition for some roms

- some minor bugfixes
[Android Apps and Games] aletango:
Thanks so many. With the new version it works to wonder. Beautiful job you have made a good app. Thanks
[Android Apps and Games] bakpinar:
Can you try with latest 1.3.1 version?
[Android Apps and Games] goodoane:
@bakpinar

Hi ,

Now your application work well with the internal memory(sdcard) on Huawei Ideos S7 tablet can you add the sdcard2 option on your mounting(detecting) configuration because our tablet is set to see the external card as sdcard2.

Thank you.
[Android Apps and Games] d3cryp7:
Seems that CM 7 automatically mounts extra partition. Is it possible for link2sd to use it?
[Android Apps and Games] lousou76:
move to sd moves the app to the fat32 part of the sd card.

link2sd moves it to the ext3 part pf the sdcard.

as known many programs do not work wel when moved to the fat part like widgets launchers etc.
[Android Apps and Games] Mikee.H:
doing this on my galaxy Ace on cm7.2 for starters as i was refered to this thread.

Okay now im up to the part where ive Linked all the Games and Apps Using Link2SD. Ive rebooted again, and now when i go to Settings > Applications all my Apps and Games are back on my Phone. so i used Link2SD to MOVE the selected apps and games back to SD. Still hasnt made a difference?

what do i do now? Move them back to SD ? delete them ? lmao im confused :confused:
[Android Apps and Games] Kierrok:
When you link the files the phone THINKS the apps are in the internal memory but they really aren't. Linking is the right way to do it, Move to SD is just the native way, don't do it. To check your apps use the Link2SD app, not the native app management.
[Android Apps and Games] Mikee.H:
Okay, so to fix what ive done.. All i have to do. Is through Link2SD move the Games and Apps BACK to phone? and then the phone will think they are on internal memory?
[Android Apps and Games] Kierrok:
Move them back to internal memory and then check if they are linked. Link2SD should remember you linked them before and relink them but check anyway.

EDIT: Just noticed you use a CM ROM. It already has a different way to move things to SD, DT A2SD. You have to check if it's active because you can't use DT A2SD and Link2SD at the same time.
[Android Apps and Games] Mikee.H:
lmao :) okay now im lost :) how do i check what is running and what isnt?

and which in your opinion am i best off using?

I backed up my rom before i started with this Link2SD thing :) so maybe im best off doing a restore. then you teach me what this DT A2SD is :p

OH... then again, i have already Partitioned my SD card, as it said i have a 8Gb sd. i partitioned 800Mb of it for Games + Apps and others.. so i would have to un partition? if thats possible
[Android Apps and Games] Kierrok:
DT A2SD links the whole /data/app and /data/dalvik-cache folders to the 2nd partition. When using a CM ROM, AFAIK, when you boot with the 2nd partition created it moves the contents of those folders to SD and you don't need to worry about anything. If you want to have everything in the SD you should use this.

Link2SD just moves what we want. I want to have some apps functioning even if I remove the SD or it dies. This is not possible with the above method, so I use Link2SD.

EDIT: You don't need to repartitioning, but when you restore your backup and boot the DT A2SD script will kick in and do what I described above.
[Android Apps and Games] Mikee.H:
Okay, so ill Restore my phone.. just need to work out how to make sure the A2SD script is up and running.. how do i do this? :) btw thanks again for your help. im only just starting to learn ;)
[Android Apps and Games] Kierrok:
The easy way: Do you remember the internal memory free space before you made the 2nd partition? You have a lot more now? If yes the DT A2SD script is running.

The not so easy way: With a terminal emulator or adb shell run these commands:

su

ls -a -l /data | grep sd-ext

If the last command returns 2 or 3 lines then the DT A2SD script is running.
[Android Apps and Games] Mikee.H:
i cant seem to get the terminal emulator to work with the codes you gave me.. i wrote them exactly how you did, then tried to do no spaces, then do them seperate, still cant... and i cant honestly remember how much i had left :(
[Android Apps and Games] Kierrok:
What's the error it returns?

-l is the lower case L

| is the pipe sign
[Android Apps and Games] Mikee.H:
okay, so i went into Terminal Emulator. i Did exactly as followed.

first i type : su I then pressed the space bar wrote - ls -a -l /data

I got a whole heap of things starting with drwxrxr ... so on. they are system and lod and root stuff..

okay.

Now, i did the same with this next one.

su then | grep sd-ext

Syntax Error "|" unexpected.

so i try su grep sd-ext - Nothing at all comes up.
[Android Apps and Games] Kierrok:
No, you have to do:

su <enter>

ls -a -l /data | grep sd-ext <enter>
[Android Apps and Games] Mikee.H:
i did that.. nothing comes up, im not sure whats going on.. lol
[Android Apps and Games] Kierrok:
Run these then and post the result:

su

mount
[Android Apps and Games] Mikee.H:
okay.. the first line starts with

rootfs on / type rootfs ( ro.reltime)

The last line is

/dev/block/dm-10 on /mnt/asec/com.ui.LapseItPro-1 type vfat ( ro.dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8857-1,shortname=mixed,utf8,errors=remount-ro)

Theres alot of the second ones.. but they are for all my Apps
[Android Apps and Games] Kierrok:
If there isn't any line with sd-ext in it and you still have the 2nd partition in the SD then A2SD isn't running.

Try Link2SD again. Before that check the internal memory free space. Move the apps in the SD (native) back to internal and link them. When finished reboot and then check the free space again.
[Android Apps and Games] Mikee.H:
Okay, so i couldnt find any lines with sd-ext in it.

so ive done the link2sd route.

This is the Outcome

*BEFORE*

<Under Storage>

Total - 178 MB

Avail - 70.49 MB

<Under Applications>

free - 79 MB

*AFTER*

<under storage>

Total - 178 MB

Avail - 78.09 MB

<under applications>

free - 78 MB

So you can see theres a tiny change, i linked approc 20 apps. some are about 20 MB each.. so has it worked like it should?
[Android Apps and Games] Kierrok:
Did you reboot before checking the free space? Did you link apk and dex at least of each app?
[Android Apps and Games] scankurban:
I'm not the linux expert :).Is it possible backup and restore link2sd linked shortcuts and install information.

Because when i try to new rom,don't want to install programs over and over again.

Thanks.
[Android Apps and Games] draiyan:
i have a similar problem, but in my case, i partitioned 500mb only for my ext2, now i want to increase it to 800 but the problem is i cant, the only way i know is to delete it and recreate the partition, which will delete the apk, dex, and lib files that were linked. so how are we gonna back-up it?? please help with this one.
[Android Apps and Games] Mikee.H:
i linked the application file

i linked the dalvik-cache files

also linked the library files.
[Android Apps and Games] WetWilly:
Something odd happening with Link2SD ...

Link2SD (one of the best Android apps ever, BTW) has been working great for months on an LG Optimus S using a 1.2GB FAT32 second partition. All of the linked apps work perfectly except for 2 games: Lame Castle (size ~10MB) and TrialX2 Winter (size ~43MB) both of which, coincidentally or not, were Amazon FAOTDs. Both apps installed natively as app2SD and after checking them out I moved them to the second partition via Link2SD. The next time I went to run them after linking, both apps would flash their splash screens for a second then immediately exit. Uninstall/reinstall worked fine, but as soon as they were moved via Link2SD they stopped working. If I use Link2SD to move the apk to internal memory or as app2SD, both apps will work fine. It makes no difference whether the dexs and/or libs are in internal memory or linked via Link2SD - only the location of the apk.

I checked that:

1) Both apks are in /data/sdext2

2) The apks in /data/sdext2 are executable, i.e. I can reinstall the app from them

3) The proper links for both apps are in the /data/app directory

4) When I check the properties of the links in /data/app, they point to the apks in /data/sdext2.

5) Card doesn't have errors.

I also did a fresh install of both apps on a different phone (same make) with a different microSD card and the same thing happens.

Any thoughts?
[Android Apps and Games] cookies!:
Finally got it to work by trying again and again!

Settings show I have total sd space of 870MB and Available space of 825MB

Internal phone space is of 82MB

but now I have a problem with updating apps. Previously they didn't update or couldn't download new apps as phone memory was too low. Now it just jeeps coming up as 'download unsuccesful'. Looked in other forums and searched the net and tried everything, still not working, was wondering is this something to do with link2sd?

TIA
[Android Apps and Games] Kierrok:
That's not a good idea. Most ROMs force you to do a full wipe. Use an app that can backup the apps and then restore them.

Check if your custom recovery nandroid backup can backup the 2nd partition and do it with just that option checked.

You should have more free space. Even if you linked just the apps that were in the SD you should gain free space. Keep trying with apps that are in internal memory. Just reboot before checking the free space. And remember that lib files don't stay linked after a reboot, you need to use the option Relink library files.

Try to delete the files (not the folders) in /cache with root explorer or something similar.
[Android Apps and Games] scankurban:
What kind of rom need to wipe sd-ext partition.Which they never use this partition because i'm sure its not default part of the custom roms.They just want clean dalvik cache and cache partititon not the sd-ext part.Backup and restore option still good idea,just change the rom and use same programs easily.Thanks.
[Android Apps and Games] Kierrok:
Not the SD partition, but /data where all the info is stored.
[Android Apps and Games] bakpinar:
When I launch the game I see following error messages in logcat.

E/mono ( 7083): The assembly mscorlib.dll was not found or could not be loaded.

E/mono ( 7083): It should have been installed in the `/data/app/com.berad.LameCastle-1.apk/assets/bin/Data/Managed/mono/2.0/mscorlib.dll' directory.

It seems that this game is developed with mono sdk. (Mono is a SDK that allows you to use the C# language to develop apps for Android)

And when apk file is linked it can not find the some assets that are required for mono, it appears to be related in some way to Mono for Android.

I noticed couple of the games are dying with the same error if you link their apk files, all of them are developed with mono.

I think this issue needs further investigation.
[Android Apps and Games] WetWilly:
Thanks for the quick reply, I'll follow this thread for any further developments.

BTW, once again many "Thanks" for developing this app. Having 228 additional apps installed and linked on a phone with a 128MB internal data partition is simply amazing and totally transforms what my phone can do.
[Android Apps and Games] rmittal:
I have an HTC Wildfire and I recently installed and started using Link2SD on it.

So far I am not having any problem.

However my question is that the app does not provide any way to completely uninstall itself.

Uninstalling the app would only remove the Link2SD apk but the changes it made to my system partition would still be there. (Creating the mount scripts etc)

It would be nice to have an option to completely remove Link2SD from my phone if I ever desire. (Which would remove all changes made by Link2SD on my phone partitions)
[Android Apps and Games] noobdroid_90:
this OSM.

i kept switching between a2sd and link2sd and decided on this one.

i have one question though, what happens to the linked apps if u uninstall link2sd without removing the links? will the apps remain linked?
[Android Apps and Games] miazza:
It is exactly what I'm looking for. Thanks.

I have only 1 questions :

is it working on any Android Build ?I'm using a Froyo 2.2.1 ported on HTC Polaris on NAND.

Thanks

miazza
[Android Apps and Games] SnoopHTC:
Info

Hello all, Many thanks too for this app!! and +1 for me, a 2nd partition >1Gb is reported as 1Gb in storage info. What about it please? (Link2SD v1.9.12 on my phone)

Thanks in advance for the answer. @++
[Android Apps and Games] n756gkj:
From earlier in this thread --> http://xdaforums.com/showthread.php?p=22328637#post22328637
[Android Apps and Games] wallabyman:
Restoring Rom Manager/Recovery Console Backup and Link2SD

Hi,

I am using Link2SD to move apps to an ext4 partition. This works great in normal use and also with ROM upgrades, after reinstalling the boot script.

But I am wondering, what happens when I make a backup of the ROM from the recovery console via ROM manager and restore it later. Does the Recovery system see the links and back up all the apps stored on the external partition? Or does it only backup the links as links?

In other words, I am trying to figure out, what happens if the data stored in an external partition is bigger than the actual devices memory and how it plays together with the ROM Manager/Recovery console backup and restore procedure.
[Android Apps and Games] bakpinar:
UPDATE:

1.9.13

- added an option to change language in application settings

- fixed bug in "Storage info" that displays incorrect values if the partition is >1GB on some devices
[Android Apps and Games] bakpinar:
fixed in new version (1.9.13)
[Android Apps and Games] SnoopHTC:
Little report :)

Hi Bakpinar, Many thanks for the update, very cool now ;)

I test your app on ICT v0.7a and with chainfire 3D linked, when i install the driver, on the next reboot, link2SD can't mount 2nd partition, all ok if not linked. For JuiceDefender Ultimate (linked too), Only standard mode work, all ok if not linked. ReThanks for all, great work !!

@++
[Android Apps and Games] happyownage:
problem with booting

I've currently installed Link2SD, but the ext2 partition does not work on startup. Because of this, Link2SD gives a notification saying that the phone requires another (fast) reboot to solve the problem and let me use my linked apps on the SD. This also affects my widgets, since they won't work when are linked with the SD card.

Is there any way to work around this, so i can just boot it once? And if so, is there a way to use widgets properly while being installed on the external partition?

Thanks in advance :)

edit: I read something about changing ext2 to ext3, so it will work on startup. Is this true?
[Android Apps and Games] miazza:
As stated in the first page, you can fix this by using a FAT32 partition also in the second partition. This is recognised by any boot.

miazza
[Android Apps and Games] happyownage:
Is it possible to do this without having to wipe the current rom/sd card?
[Android Apps and Games] miazza:
In principle yes but it highly recommended to back-up your data before.

use Gparted live and simply convert Ext2 in FAT32. After that restore in the FAT32 your data.

miazza
[Android Apps and Games] happyownage:
So i will have to make a bootable disc? http://gparted.sourceforge.net/livecd.php

Is there any tutorial for this? I'm not really into partitioning and that sort of things :p
[Android Apps and Games] miazza:
Yes make a bootable disk by simply burning the IMAGE on a CD ou on a bootable USB.

there is not any tutorial but it's quite intuitive and user frendly.

Give it a try;)

miazza
[Android Apps and Games] Kierrok:
That isn't what is stated in the 1st post. What is stated is that if your phone can't handle any ext partition it can handle a fat one.

happyownage phone can handle ext! The problem is it can't mount it at boot time.

@happyownage: Is your phone a Samsung? Did you tried to recreate the mount script? Since v1.9.12 bakpinar solved the mount problems with Samsung phones.
[Android Apps and Games] happyownage:
First of all, thanks for your time :)

No i do not have a samsung phone. I use a HTC Desire, with the gingervillain rom. I made a second partition using Clockwork recovery 5.0.2.0, and use Launcher pro as my current UI. The problem is however, that if I make a symbolic link from the SD with Launcher pro, it does not start on bootup, which is kind of annoying.

Recreate the mount script? Whats that about? never heard of it :)

Thx
[Android Apps and Games] Kierrok:
Run Link2SD, press Menu button, press More and there's Recreate mount scripts option.

Is your HTC S-Off? That's usually the problem with HTC devices. But try to recreate the mount scripts and pay attention if it returns any error.

EDIT: Are you actually linking the apps or just using Move to SD?
[Android Apps and Games] happyownage:
When i press "Recreate mount scripts option" it says that the memory of the phone is insufficient, and all the apps begin to crash. This resulted in me rebooting the phone, and now I am in a bootloop... Stupid phone! :confused:

Edit: fixed the bootloop by removing the battery. Btw what sso you mean by HTC S-off?

And yes, I am a 100% sure that the phone is linking the apps, not apps to SD :]
[Android Apps and Games] Kierrok:
Now I'm pretty sure the problem is that your phone is S-ON. You need to S-OFF. Read this.

EDIT: And this.
[Android Apps and Games] miazza:
I'm playing with an HTC polaris flashed with 2.6.25 kernel + casacristo's RLS18 ROM.

I'm using a 8Gb uSD and I have done a partion of about 7Gb FAT 32 and a second one 1 Gb FAT 32. They are both primary. I have created them with Gparted Live CD.

the point is that when I insert it in the mobile, I can only see the 1Gb partion...

...if I format from the mobile I loose the two partitions and the SD comes back to a single 8Gb partition.

What's wrong ? it the ROM not compatible with this ?

It is the first device where I have this difficulty.

Thanks for the assistance.

miazza
[Android Apps and Games] happyownage:
Thanks, I will follow the tutorials later today. Will let you know the results! :)
[Android Apps and Games] Izzy Stinson:
quick question, what happen to my linked apps if I uninstall link2sd then I install it back? will it be gone or it will stay there after I install link2sd back?
[Android Apps and Games] ChungHung.Chen:
Dear miazza,

Partition which you used for Link2SD MUST be 2nd Partition.

The 1st partition is for normal data ( /mnt/sdcard ).

And you can not format SD Card by phone, it will be erase WHOLE SD Card!!

BTW, I recommend using "MiniTool Partition Wizard Home Edition" to config your SD Card.

Chung-Hung Chen
[Android Apps and Games] crispaul:
awsome

this app is awsome! thanks, well done..
[Android Apps and Games] bakpinar:
Nothing happens. All linked apps remain intact and can be run even if you uninstall the Link2SD.

And if you install Link2SD back, you can see that they are there as linked.
[Android Apps and Games] miazza:
Thank you. Yes this is clear to me. I understood where it was my mistake... ..the Phone shall be rebooted with the two partitions in the SD otherwise it does not see them.

Now I'm happy and the application works great also on my HTC Polaris NAND Flashed with "Not so Super Froyo" Android 2.2.1 kernel 2.6.25 :)

Thanks

miazza
[Android Apps and Games] raylgo:
Help! Link2sd has been working great for me for a very long time now (almost a year now) and today it suddenly stopped working...

I was cleaning up the 2nd partition and dalvik-cache and relinking files and restarted the phone. When it booted up, it showed that it unmounted the 2nd partition and would only show me this error when I try to remount (Mount script error. Mount script cannot be created. [1] Illegal instruction chmod 770/data...) Can't see the rest of the error message.

The only change I could remember was that I updated link2sd today from the market and I was installing files while low on internal memory. It would usually turn out ok before after a restart. I tried it today and now it wouldn't remount...
[Android Apps and Games] tazzz811:
Wish for Link2SD

Overall performance is great.. Just one thing i wish in case it's possible... @bakpinar -> could you bind the SD Card 2nd Partition with /Data partition so the application will totally increase the internal storage to the max...
[Android Apps and Games] Kierrok:
That's called Data2SD. Uninstall Link2SD and use it!