yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] bakpinar:
Can you try "Market Fix" with latest version. (1.2.1)
[Android Apps and Games] bakpinar:
Thanks for your suggestions, I will consider these for future releases.
[Android Apps and Games] f_mulder:
@mierda1, which device and ROM do you use?

As to partition tools, I personally used gparted in my Kubuntu.

You can try downloading Ubuntu LiveCD, it should have gparted...
[Android Apps and Games] Ztrindberg:
Samsung galaxy ace with 2.3.3
[Android Apps and Games] f_mulder:
Is that stock ROM or something custom with a2sd/data++/a2whatever support?
[Android Apps and Games] mierda1:
X10 mini pro with 2.1.1.A.0.6, the official release from SE.

Ok, I wil try with ubuntu gparted, maybe this can be the problem!
[Android Apps and Games] Ztrindberg:
It is stock rom.

Nothing special installed
[Android Apps and Games] EPiKHiGH:
hey i got problem with this when it ask for second partition i choose ext2 and then in reboot after it reboot i open it and it ask for the same question to choose between ext2 ext3 ext4 and fat32....i do it almost 50 times.....why it becomes like this??

Sent from my GT-S5570
[Android Apps and Games] skyblue2779:
After i partitioned my sd card of 8Gb to FAT32 for both partition, i install link2sd & run it.

First, it prompt me to select the type of second partition, den i select FAT32.

Then, the error appear as below:

Mount script error
mount script cannot be created.

: cannot create /system/etc/install-recover.sh: not enough memory

any solution to solve..???
[Android Apps and Games] f_mulder:
Is that some HTC device?

If so, you have to S-OFF it...
[Android Apps and Games] uncron:
Hey Great App!!!!

One question is there any way to restore the aps that are linked on the second partition after a factory reset? I noticed the data was still on the Second partition on SD card but i could not get the phone to access it.

Thanks
[Android Apps and Games] eoghan2t7:
Iv already asked the dev for a relink type thing but got no reply lol he must be really busy.
[Android Apps and Games] mierda1:
I've just format with ubuntu gparted with ext4 (I can with linux :P), ext 3, ext2 and fat32:

- ext4 and ext3: cannot mount and create the script, ext3/4 not supported for X10 mini pro?

- ext2: apparently link2sd works fine but once it links an application (no matter only app, only dalvik cache or both) the linked app when opened does a FC.

- fat32: dalvik-cache linked ok but the app do a FC. The app cannot moved because a "write: I/O error".... after this error I did a "mount" command and /data/sdext2 was mounted with rw permisions.

The dalvik-cache is linked in /data/dalvik-cache... is this ok? The correct path should be /data/sdext2/dalvik-cache/, right? In install-recovery.sh the mount point is /data/sdext/.

Is there any way to debug how link2sd do the linking and why when opening a linked app it does a FC?
[Android Apps and Games] skyblue2779:
yup, htc desire...

is that bootloader unlocked will same func wit S-OFF. if yes, den should i wait for the official unlocked bootloader.

or i wait for the "Revolutionary" from TheUnlocked and Alpha..???
[Android Apps and Games] KenifJambo:
Hey guys, does anyone have any ideas for this?

I have a LG GT540 with stock 2.1 rooted.

I can barely install anything due to "insufficient storage" and pretty much everything is on the sd
[Android Apps and Games] mierda1:
Anyone with a X10 mini pro with a 8gb sdcard and, more or less, first partition 6,66GB and 2nd 750MB, both fat32?

Now I've just done one test mount manually the 2nd partition to /data/sdext2 with rw rights and when I try to open the directory the root explorer app closes! This is why link2sd says write: I/O error! Somehow the phone can't acces correctly to the 2nd partition.

I think the next test will be to put the first partition with 3GB and the 2nd one with less than 1GB... maybe there is a limit of 4GB?
[Android Apps and Games] erickwill:
Hey fellas,

Anyone facing issues using link2sd to gingerbread 2.3.3?

I just can't use it with the new 2.3.3 for X10.

Please guys, tell me your thoughts.

Regards,

Erick
[Android Apps and Games] Kierrok:
The only common problem with Link2SD and GB 2.3.3 is the lib unlinking when rebooting. The other problems seems to be device specific. i.e. the new Samsung 2.3.3 ROMs bring some sort of NAND security lock.

What is your problem?
[Android Apps and Games] jgrinst1:
Bakpinar - I hope you read this. Link2SD is my #1 "must have" app for those of us with limited internal storage. MUCH better than the Froyo Move to SD attempt.

I, too, would love the ability to rebuild the symlinks from the apps on the SD card after wiping /data in recovery. Of course, all the relevant pieces of the app must be on the SD card, including the dex and library files, if that originally was present.

TIA! I might be forced to donate again! :)
[Android Apps and Games] jgrinst1:
Market uses /cache as a temporary holding area when downloading and installing apps from the market. Try clearing /cache using recovery or a cache cleaner before downloading and see if that helps.
[Android Apps and Games] Phoenix84118:
I know this is a little late, but I hope it's helpful to someone.

Now I have the Nexus One, but I added the following to my /system/etc/vold.fstab file:

dev_mount sdext2 /data/sdext2 auto /devices/platform/goldfish_mmc.1 /devices/platform/msm_sdcc.2/mmc_host/mmc1

It's mounted at bootup perfectly every time. I don't even need in the init script (however I had to leave it because the app freaks out if I remove it sometimes). I don't have to do a "quick restart" after bootup either.

The original line in there was:

dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1

As you can see, I just changed the partition number. There might be some similar indicator for your device.
[Android Apps and Games] KenifJambo:
I removed a load of apps and then did as you said.

Still recieving the same message.

I used Link2SD to clear lib files and davlik files..etc

I made sure everything from all my linked files is on the SD.

I checked Storage Info

Internal: 69% free

SD card 96% free

SD card 2nd Partition 89% free.

And still I cant install a simple app like wireless tether despite having 94mb, 13gb and 0.9 gb respectively.

Very frustrating :(
[Android Apps and Games] erickwill:
I was using Link2SD in my previous rom 2.1 (Eclair) and was working flawlessly. Since the latest SonyEricsson update to 2.3 I cannot get to use Link2SD.

No matter I recreate the partitions EXT2 and FAT32 the 2.3 rom is not able to recognize EXT2 partition and I got a message saying that is not possible to mount.

I don't know if is related to some permission given or not into the custom rom, anyway, I am building with the same permission parameters that my 2.1 rom, theoretically, it should work.

Please guys, tell me your thoughts.. if needed I can post here my update-script or other file as needed.

Regards,

Erick
[Android Apps and Games] Kierrok:
Did you tried to make the 2nd partition FAT32 too? Maybe they dropped EXT2 support...
[Android Apps and Games] azcv:
Can anyone give some tutorial for changing the microsd with new one?I am planing to buy a bigger one?
[Android Apps and Games] N3CAT1:
Hello guys,

I am using Samsung Galaxy Gio s5660. Android Gingerbread 2.3.4 has been installed. I rooted my phone. I have given permission to link2sd application (with superuser app). I have two partitions on SD card (both of Fat32 and both of primary). When I started link2sd application, I choose Fat32. And getting this screen:

The phone is suddenly restarting when I am getting this screen. What is the problem?

Thanks.
[Android Apps and Games] lavero.burgos:
Hi im about to get the same phone can u please give me the link for root update to 2.3.4 and all that stuff maybe a forum. I would be apreciated .thanks
[Android Apps and Games] N3CAT1:
Yes of course :)

Galaxy Gio 2.3.4 Root update: View attachment upd_1_gingerbread.2.3.4.zip
[Android Apps and Games] enotar:
Change SD card

Hi,

One question:

I had Link2SD working very well with my kingston 4gb but I wanted to use a faster sandisk 4gb one so I format exactly the same as the kingston and copy all data in each partition (2 partition fat32).

Prior to this I had to factory reset my Samsung Fit for another issue.

When I fire up Link2SD it detect the fat32 2nd partition on the new sandisk card ask me to reboot the phone and the /data/sdext2 partition is created with all data inside as previously but links doesnt appear in drawer......

Do I have to reinstall all or is there a way to recreate links automaticaly?

Thank you very much
[Android Apps and Games] Kierrok:
This was posted on the previous page!
[Android Apps and Games] beeryourself:
what's the solution for the NAND security lock???
[Android Apps and Games] N3CAT1:
Ok, what is the solution? Do you know it?
[Android Apps and Games] Kierrok:
I don't know. I do not own an Samsung device to worry about that... :D

But that new "feature" is causing problems with a lot of apps, for sure. Google for it.
[Android Apps and Games] f_mulder:
Did the author of the app abandon that thread?

I didn't see his post for a long time now...
[Android Apps and Games] SrMoure:
How can i set up link2sd to work with external sd card in my samsung tab?

Sent from my Motorola StarTAC
[Android Apps and Games] f_mulder:
Doesn't the tutorial from the first page work for you?
[Android Apps and Games] miljanvekic:
Great app!!! Very useful and far better that APP2SD for me!
[Android Apps and Games] erickwill:
Thanks for your promptly answer. Yes, I agree, maybe SE just dropped EXT2 support, however, I believe that it can be enable again.

I wondering if is necessary to handle the kernel to do that or if there is another way to do that through some specific script.

Anyone knows about that?

Regards,

Erick
[Android Apps and Games] JanObra:
I have a htc desire with an ext3 partition and i always get: Mount script cannot be created. mount: mounting /dev/block/vold/179:2 on /data/sdext2 failed. Device or resource busy.

Someone help me PLEASE =)
[Android Apps and Games] Kierrok:
You can check for EXT2 support with this command:

cat /proc/filesystems

If no ext2/3/4 is listed then your kernel doesn't have built-in support for it.

NOTE: I can be wrong in the next paragraphs. This subject is a bit above my league and I've never compiled a kernel.

The "easiest" way to have EXT2 support is with a module. You have to get the kernel sources from SE and compile the modules. Then just put ext2.ko in /system/lib/modules/ and insmod it.

The previous way assumes kernel module support. If it's not the case, you'll have to compile the whole kernel.
[Android Apps and Games] diimaan:
it does show ext2 as supported! so don't know what could be the reason! :(
[Android Apps and Games] f_mulder:
I guess you use some cooked ROM with some kind of a2sd built in.

That means, that a2sd script mounts the second partition on SD, and

that causes the "Device or resource busy." notice.

There is a partial workaround for such situation.

I have Desire myself, and hence, suffer from similar problem.

The real solution is to find ROM that doesn't have a2sd built in.

If you find one - PM me please, as I would probably also like to check it.
[Android Apps and Games] JanObra:
thanks you know any rom without a2sd build in?
[Android Apps and Games] Kierrok:
Please provide outputs of the following commands:

ls -l /dev/block/vold

mount
[Android Apps and Games] diimaan:
this is what I get! you want the other screens as well or is this okay?
[Android Apps and Games] kchiman:
a common question but seems cannot find a solution

i upgraded my rom to 2.3.5 (CM Port)

I thing the app is in my sd card and will not affect

but now my internal memory drop to 4 kb and

some apps are missing

i think the app is still in my sd card

but how can i get them back?

thanks
[Android Apps and Games] f_mulder:
Please see my previous post :

:)
[Android Apps and Games] JanObra:
aah ok sorry ;)
[Android Apps and Games] Kierrok:
That's enough for now. The problem is that android can't see the 2nd partition. Try partitioning again and remember both partitions must be primary.

I don't have a card reader in my PC, so I always use the custom recovery to make the partitions and it's flawless. Try that. And don't forget to backup your SD first.
[Android Apps and Games] f_mulder:
I think, that in recovery, you can use your device as a card reader, and partition

the SD from the PC over USB. You just have to make sure that SD is not mounted,

which is default AFAIK.
[Android Apps and Games] Kierrok:
I think I've already tried that. If I remember correctly Windows can't even see the SD card if it isn't mounted.
[Android Apps and Games] Kierrok:
Did you linked Link2SD? Isn't that like keeping the vault combination inside the vault? :rolleyes:

Try a manual mount with:

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

Uninstall some apps first to get some free space maneuver.
[Android Apps and Games] kchiman:
i tried reflash and install the apps again.

however, an annoying problem came out again...

after i have reflash and use my phone about 8hrs

i found than the sd ext is mount and the apps are usable,

but when i going to install or upgrade the apps, Link2SD show failure to create link:

... read-only file system

this is the fourth time i face this problem and everytime i need to reflash and install the apps again and hope for i can use for longer (i remember that it occur after i hv upgraded to 1.7, do anyone have the previous version for me to see whether it is the problem of 1.7 or do anyone know what happened and have a solution) (i have tried to reformat the sdext to fat32, ext2, ext3 but cannot mount the script)

thanks
[Android Apps and Games] Kierrok:
Please provide the output of the following command:

mount
[Android Apps and Games] kooorpen:
Is it possible to use link2sd on Iconia A500. When I use MiniTool it won´t show up as a drive. A hint how to make it visible would be appreciated.

(To get the sdcard out of the A500 without disassemble the tablet seems impossible as far I can understand)
[Android Apps and Games] f_mulder:
@kooorpen : Does your device have recovery mode?
[Android Apps and Games] kooorpen:
Yes it has.

Used ClockworkMod recovery, advanced, partition SDcard, but, the message was that function was disabled cause many obviously had bricked their tablet using that feature. And I also tried - mount sdcard with no luck.
[Android Apps and Games] f_mulder:
@kooorpen : Do you have "Mounts and Storage" in your recovery?

If so, enter that menu, and check which partitions/devices are currently mounted.

If your SD is mounted - unmount it and reconnect the tablet to the PC.

BTW: Don't you have an option to insert external SD?
[Android Apps and Games] Kierrok:
Why do you even need Link2SD? Even if you own the 16GB version, you have like what, 2GB of user data storage? Isn't it more than enough?

This app is intended for low storage devices, like mine, with only 200MB of storage.
[Android Apps and Games] kooorpen:
f_mulder:

Only cache is mounted and yes, I have external SD. What about mount as USB storage?

Kierrok:

I must say it´s for fun and a way to learn more about the whole system and features. What about "beat the tablet (acer)" :)
[Android Apps and Games] f_mulder:
@kooorpen : Link2sd is about to link things from /data to external SD.

Don't think that's what you are looking for...
[Android Apps and Games] Kierrok:
In that case: you can't format the internal memory. But you can try Link2SD with the external SD card. You might need to adjust the mounting script.
[Android Apps and Games] kooorpen:
Hi,

I must take these things under consideration but thank you both anyhow;)
[Android Apps and Games] enotar:
So ...No 2.3.4 support?

I was using Link2SD with my Samsung Galaxy FIT and froyo without any issues but since I update to 2.3.4 cannot mount partition as many here.

Is there a solution or not?

Thank you guys
[Android Apps and Games] benslgdroid:
One question I have is on reboot some lib files get moved back to phone and have to be relinked. This has happened on stock and harmonia and others have reported the same issue. Sorry if this was already addressed if it was I was unable to locate it.
[Android Apps and Games] Kierrok:
The device reboots when Link2SD tries to create the mount script? This happens with Samsung's GB ROMs. Bakpinar said it could be some sort of new NAND security lock.

Do you want to try to manually execute the script creation steps so we can have an idea where it fails?

GingerBread ROMs, right? It's a GB PackageManager "feature". It scans all installed apps and re-extract all lib files. It's a already known issue.
[Android Apps and Games] benslgdroid:
Its froyo roms
[Android Apps and Games] Kierrok:
I remember reading here some reports of that. In my 2.2.2 I had to relink them twice and then no more problems. Don't remember if there was a fix for that or if it was a Link2SD problem with some versions. You'll have to search.
[Android Apps and Games] Almighty1:
Not in my case, 2.2.2 no matter how many times you relink, it will still unlink on reboot. Sometimes if the phone reboots on it's own, you might get lucky and it will stay linked but most of the time, it's unlinked.
[Android Apps and Games] emphyriox:
[Cyanogenmod 7.0.3] Mount script cannot be created

I'm getting this error after selecting my partition type:

Mount script error

Mount script cannot be created.

mount: mounting /dev/block/vold/179:2 on /data/sdext2 failed: Device or resource busy

It seems there are more people with this issue, e.g. here and here.

Since I'm a total noob with no adb installed, my question is: could this be fixed in Link2SD itself?

HTC Desire GSM / Cyanogenmod 7.0.3 / Link2SD 1.7.0
[Android Apps and Games] f_mulder:
@emphyriox :

I think your case was already referenced here .

Regards.
[Android Apps and Games] Kierrok:
Both of you could try replacing the mount command in /system/etc/install-recovery.sh for:

mount -o bind /sd-ext/link2sd /data/sdext2

First you'll have to create the "link2sd" directory (without the quotes) in your sd-ext partition.

This way I think Link2SD will work using the A2SD partition instead of its own.
[Android Apps and Games] subham964:
Hi Mr. bakpinar...

I have a humble request to you regarding the app

i am a newbie and i respect my senior developers

Can you add a feature of directly installing an app to sdcard without first installing it to phone memory and the linking it to the sd...Please sir.
[Android Apps and Games] f_mulder:
Didn't try that for link2sd yet, but the concept itself works!

I wasn't aware of that mount option... Thanks!
[Android Apps and Games] jnightz:
Hi, link2sd is awsome but I think it misses one thing, if possible.

The ability to move to sd card /data/data/app-name/* instead of only /data/data/app-name/lib/*

I have some apps that have lots of files in /data/data/app-name

some of them with 10MB.

Is that possible? Thanks.
[Android Apps and Games] earth_toph0601:
just partition my SD card.

But my X8 cant read my sd card.

Partition 1 - Fat32

Partition 2 - Ext.

Hope some one help me..

Want to use Link2SD App.
[Android Apps and Games] RockMan81:
Very useful app!

But i have a question: how does the "library detection" work?

On some applications it seems to fail, for instance Copilot or Skype.

If source code is available i can give some help too.

Thanks

Marco.
[Android Apps and Games] Kierrok:
It looks for the lib files inside the appname/lib directory where all well behaved apps should place their lib files.
[Android Apps and Games] maniacscorpio:
Please help me i formatted my sd card

6GB - FAT32- Primary

800MB- ExT2- Primary

But when i mount sd in my mobile its shows me error that - SD card damaged. You may have to reformat it.

I tried many times but no sucess.. Even i restarted my mobile many time but i am getting same error... Please help me
[Android Apps and Games] Kierrok:
Try using your recovery to create the partitions.
[Android Apps and Games] maniacscorpio:
I am trying it on Samsung galaxy pro...

I already root this phone.

but i did not find its recovery image. even rom manager wont have its recovery image.

Please help me
[Android Apps and Games] f_mulder:
Which files do you have in "/system/lib/modules" directory?
[Android Apps and Games] maniacscorpio:
there are so many files, i am not getting you . please elaborate
[Android Apps and Games] Kierrok:
I thought you were using the Desire in your sig. Can't you use it to create the partitions?
[Android Apps and Games] RockMan81:
You're right, but as you may guess, not all applications are "well behaved" :P

Both skype and copilot use files instead of lib :(

It could be possible to use extension matching, or maybe even mimetype detection, anyway.

Mimetype would be much more reliable, i guess.

i just found that it's possible using urlConnection.getContentType() using an URL opened to a local file. It's explained to be very slow, so it may be considered just an advanced option.

But it would be really a great improvement, since libcopilot.so is really huge (9.5 MB), skypekit (with no extension) 3.1 MB.
[Android Apps and Games] Kierrok:
I had the same problem with my GPS app. It had the (huge) lib in the app root directory. I manually created the link and problem solved.
[Android Apps and Games] maniacscorpio:
guys i am not getting anything my question is i want to use link2sd... i already made partitions but my phone is not detecting it...
[Android Apps and Games] f_mulder:
Do you have adb and know how to use it?
[Android Apps and Games] Kierrok:
If your phone doesn't detect it or says it's damaged it's because it isn't correctly created (at least that was the problem in mine). That's why I told you to use the recovery to create it.

Don't forget: It must be the 2nd partition and it must be primary.
[Android Apps and Games] f_mulder:
Is there a chance his ROM doesn't support EXT2?
[Android Apps and Games] Kierrok:
Yes, but then the error would be different. He says the phone complains about a damaged partition.
[Android Apps and Games] bakpinar:
This is not possible, Link2SD links application files after they are installed into the internal storage.

However, there is an option in the settings which makes the Link2SD automatically links newly installed apps.
[Android Apps and Games] bakpinar:
The Android API offers a native SDK called the NDK (Native Development Kit). It allows to write part of the application in C/C++ as native library. (In fact this is not something unique to Android, it is the standard JNI interfaces found in Java). And native library functions are called from the Java code when needed.

NDK provides a mechanism to ship native library as part of the Application Package (APK) file. Basically, when an APK that contains a native library is installed, the system creates a directory named /data/data/package_name/lib/ and installs libraries there. This is the standard location for library (.so) files.
[Android Apps and Games] bakpinar:
Yes possible, In fact I tried linking data directory, it is finished and ready to release.

But I decided not to link data directory to SD card for security reasons.

See the post #945

But I have been receiving a lot of mails asking this feature and I am

reconsidering to add it with a warning message and with user's own

risk.