yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] bakpinar:
Yes possible, and it is in my todo list.

I will add native Froyo/GB app2sd function to Link2SD with some plus features.

- it will be able to move all user apps to SD even if the app does not support moving to the SD card.

- will have batch moving

- will have "automatically move" option
[Android Apps and Games] mimmori:
Also for the application's lib and dex?

Inviato dal mio HTC Desire usando Tapatalk
[Android Apps and Games] Kierrok:
That's an HTC, right? You have to S-Off.

What you have done was some kind of A2SD done wrong. Turn mass storage on to find out why these apps need a 2nd partition.

That's what I was talking about!
[Android Apps and Games] Rebel_X:
I hope that helps.
[Android Apps and Games] bakpinar:
In the /proc/partitions the 2nd partition device size is 2GB.

But disk utility (df) shows, it has capacity of 1	GB.

df really shows the size of your filesystem, which is the size of the device usually. But not true in your case.

That means that the filesystem does not extend over the whole of the partition. May be you resized the partition but you did not resize the file system, I don't know.

You can try "resize2fs /dev/block/mmcblk0p2" command.

This command tries to increase your filesystem to cover the entire partition. But if you try this make sure you have a backup.
[Android Apps and Games] vintr:
mount script cannot be created cannot create /system/etc/install-recovery.sh not enough memory

Getting this error now (running 2.3 cyanogen rooted S-ON mytouch 3g slide) and it doesn't seem to be even picking up the 2nd partition anymore.
[Android Apps and Games] Kierrok:
Read my previous post!
[Android Apps and Games] Rebel_X:
Thanks a lot, It's easy fix now, but I thought that was a bug with link2SD.

Didn't think anything would be wrong with the partition itself. Thanks again.
[Android Apps and Games] lerkin:
Guys help me please. Everything was fine, but now I have:

When I try to remove a link in Link2SD I will have the message

Remove link failure

rm failed for /data/sdext2..... Read-only file system

Then I check data/sdext2 with root explorer I can't make it rw.
[Android Apps and Games] bakpinar:
No, Link2SD does nothing related to partitioning or creating file systems.

It only looks partitions on the system and executes some commands like df, mount etc.
[Android Apps and Games] PtBmR:
I'm using EleganceSwift 5.0 and I have a 4gb sdcard with a secund partition fat32 with 250mb to use with link2sd but when i open the app and i select the option FAT32/FAT16 it shows a message like:

"Mount script cannot be created

mount: Invalid argument"

Can someone help me?
[Android Apps and Games] lerkin:
try to set ext4
[Android Apps and Games] calhotel:
Great job! Now the storage usage persist during the reboot. :)

Tried to use "Relink library files" option, freed up more space. Great!

But looks like this operation could take a long time, the link2sd app become unresponsive after applying this. Had to end the app manually. Not sure if this will cause any problem?
[Android Apps and Games] Kierrok:
That can happen when the system detects errors in the filesystem. It's remounted as read-only. What type of file system you have?
[Android Apps and Games] lerkin:
i have ext4, I use cyanogen 7, after several restarts everything went fine, I understand nothing.

and i had that problem several time before.

may be it's better to use fat32?
[Android Apps and Games] jenih_a:
Hello, i have a problem with my wildfire(buzz) with 2.1 version.I have two fat32 partition on my sd card and i start link2sd i chose fat16/fat32 appears this massage:Cannot create / system / etc / install-recovery.sh: not enough memory can anyone help me?
[Android Apps and Games] lerkin:
Try set ext4
[Android Apps and Games] Kierrok:
No, only use FAT when you can't use EXT. But, IMHO, ext4 is not the best choice for this kind of task. It's slower, use more memory and cpu and on top of that the delayed allocation can cause data loss. I think ext2 is enough. Besides the linking process all the operations are read only so we don't really need journaling.

You have to S-Off your device.
[Android Apps and Games] jenih_a:
Can i fix this problem?
[Android Apps and Games] jenih_a:
Can`t switch to s-off.
[Android Apps and Games] Kierrok:
You will have to google for instructions for your device. S-off, at least temporary, is a requirement to install Link2SD.
[Android Apps and Games] MrAndroid12:
Titanium backup doesn't work afterwards

Titanium Backups cannot be done after using Link2SD
[Android Apps and Games] Dimak451:
is there a way that I can upgrade from android 2.2 to 2.3 and keep my link2sd apps, or do I have to install link2sd again along with all my apps??? can it be done with something like titanium backup?
[Android Apps and Games] Kierrok:
Never had any problem with Titanium Backup and Link2SD.

If the upgrade process doesn't wipe /data/ you only have to run Link2SD and let it recreate the mount script. Just remember to unlink Link2SD app if it's linked. Linking Link2SD is a very bad idea.
[Android Apps and Games] Dimak451:
I'm thinking of ugrading to 2.3 via LGPCsuite, so how can I prevent wiping /data/ ?

and how about flashing in recovery, how to prevent?

and when I have the new rom flashed, I can just intall link2sd and the app will take it from there or do I have to force it to get the data that's in the ext2?
[Android Apps and Games] bourne-nolonger:
Hey,

I've been using Link2SD for sometime now and has been working great.

I restarted my phone tonight and was surprised when none of my widget's loaded (from applications I had moved using link2sd).

I start up link2sd to see if there was something wrong. I was greeted by the start up tutorial about selecting my partition :confused: I thought this was weird because I know it only asks this on the first start up of the application.

Long story short, it looks like my ext partition on my SD card died or something.

I mounted the my USB card on my computer and minitools can't identify the partition. To confirm that it is in fact the partition that is dead, should I remove the SD card from my phone and put it on a computer and see if I can see the partition there?

When I run through the start up script again, I selected ext2 and then I get this error message "Mount script cannot be created. mount: Invalid argument"

Can anyone suggest a fix?

Thank you.

====================================== FIXED IT!

I managed to fix this.

I mounted the SD card into a linux machine and ran a fsck on it.

I turned out that the file system had some corruption. The fsck cleared up the issues.

As soon as I did that link2sd was working again!
[Android Apps and Games] Kierrok:
If the official update wants to wipe the data you can't prevent that. Cooked ROMs normally don't wipe data. If data is wiped you will lose everything: contacts, apps, etc... You will need to reinstall all the stuff.

Which LG device do you own? I know for sure that O1 (aka P500) stock GB ROMs don't wipe data.
[Android Apps and Games] Dimak451:
I own the same device as you (LG-P500) and I'm unsure wether to install 2.3 through LGPCsuite or a cooked rom (wich one do you have and wich one's do you think that are best?)

If I install through recovery, should I wipe everything but the /data/ ? I don't remember if there is that option because it's been a while since I flashed a ROM.

I can't have a ROM that isn't compatible with link2sd, my ext2 is filled with about 700MB in apps and I need them all! :P

Cumps
[Android Apps and Games] Kierrok:
LGs GB ROMs have a new baseband so you can't just flash a cooked ROM. You have to flash the baseband first "the russian way". It's easier to use the LG tools. It won't wipe your data, so you just need to root and run Link2SD to recreate the mount script. Then reboot and every app will be there.
[Android Apps and Games] bataya:
Having weard problem, from time to time me phone boot in recovery. I use 512MB ext3 partition, and i link only .apk files. Any idea?

I use swift 2.3.5 rc4 on lg gt540.

Sent using Tt.
[Android Apps and Games] Dimak451:
I installed android 2.3.3 with the LG tools. then, after rooting, I ran link2sd and it gave me an unsufficient space message. Now I'm linking and rebooting, linking and rebooting...and everytime the apps keep appearing... but takes forever. this sucks...
[Android Apps and Games] Kierrok:
It's the dalvik-cache being regenerated because of the new rom...
[Android Apps and Games] Dimak451:
is there a way to make this quicker? I've rebooted like 15 times and it's still not done :(
[Android Apps and Games] Kierrok:
I'm afraid not... It's the 700MB of apps fault. :p
[Android Apps and Games] Dimak451:
what does "clean up the 2nd partition" option does? does it erase everything I have in my ext2?
[Android Apps and Games] angemon10:
I updated last night Angry Birds and Fruited. I had 45 MB free. After update it went down to 25 MB. Link2SD worked on linking files.

I restarted phone, and free space went down to 16 MB :mad:!

I restarted again, and now free space is 0,5 MB :mad:!!!

What is going on?! This c*ap never happaned before.

EDIT

I just checked, Angry Birds are missing from phone :confused:!
[Android Apps and Games] decmk:
Did you linking lib files?

If yes then need to relink. You have option in menu.

I personally dont link lib files.

Gingerbread 2.3.3 RUU Rooted S-Off with Link2SD partition 512MB
[Android Apps and Games] exProphecy:
I have a question about Link2SD. Let's say I use Link2SD on a specific app let's use Angry Birds as an example. If I have already linked it to my SD and THEN I use "Move to SD" in "Manage Applications", what does that do? Does doing that give me any advantage or is it just a waste of time? and also, let's say I move it BACK to my phone storage under "Manage Applications". Does it negate or cause complications with my Link2SD on the Angry Birds app at all?
[Android Apps and Games] angemon10:
No, I don't link lib files as they come back after restart.

I installed new ROM as phone became unuseable...
[Android Apps and Games] physicholy:
nd assistance.....

looks lik i gonna giveup n ask all the pro here.been tried alot times format and create......still get ext2 nt mounted.......holy **

been used 3hrs on this yet..........xxx

can anybody tell me where did i wrong??juz jump over from wm6 to android few days aso.....looks lik i cant apply the WM knwledge over here......

i have created FAT32 then format FAT32 then create ext2 then format ext2-->fail

i create FAT32 then ext2 then format FAT32 n ext2 respectively-->fail

do follow to create n format-->fail.......zz

please HELP!! T_T

i currently usin x10i eclair2.1. do i nd any coding??
[Android Apps and Games] bnwg:
Thxk. I like it very much. I think I will keep using it even running on 2.2+

But I just wonder if it is possible or not to add "multi-select" mode for both create and remove link option in next update. I think it would be a big plus having these option handy.

It is really nice app. Thxk again.
[Android Apps and Games] goodoane:
This is something good for 2.1 users.

I have a huawei S7 tablet with stock android 2.1 update 1

with 8GB internal storage named as sdcard and with external card named as sdcard2.The mounting is allways tricky.

The only way to make this working was to manualy make scripts for mounting the ext2 partition and to manualy create sdext2 folder in /data/sdext2.

1st script install-recovery.sh

2nd script init-sd.sh

any help to make this auomatically will be great.

Thank you.:rolleyes:
[Android Apps and Games] bakpinar:
This is what Link2SD does. It creates /data/sdext2 directory and creates following install-recovery.sh script

#!/system/bin/sh

sleep 2

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

which is basicly same with your script.

Did you get an error message?
[Android Apps and Games] minuteman_x:
xperia mini, updated, 8gb, rooted

Finally your great work works fine at my phone too.

Problems were homemade.There was an invisible little partion at the sd card.

Prevented the mounting. After replacement, the problem was fixed

Now everything works fine and stable.
[Android Apps and Games] goodoane:
I realize that is the way that your aplication it should work but it dosn't work onmy tablet.

It dos not see my ext2 partition and dosn't create any script and folders.

And it see only my internal storage not the external storage.

This are the mounting points for my tablet with my sd card inserted:

mtblock0-boot

mtdblock1-system

mtdblock2-recovery

mtdblock3-splash

mtdblock4-cache

mtdblock5-data

mtdblock6-logo

mmcblk0p1-external sdcard (mounted as sdcard2)

mmcblk0p2-ext2

mmcblk0p17-internal storage (mounted as sdcard)

mmcblk0p18-could be ext2 if i create a ext2 partition

the triky part is if i remove my external card my internal partition is mounted as mmcblk0p1
[Android Apps and Games] bakpinar:
Can you provide output of the following commands?

mount

ls -l /dev/block/vold
[Android Apps and Games] goodoane:
$ export PATH=/data/local/bin:$PATH

$su

#mount

rootfs / rootfs ro 0 0

tmpfs /dev tmpfs rw,mode=755 0 0

devpts /dev/pts devpts rw,mode=600 0 0

proc /proc proc rw 0 0

sysfs /sys sysfs rw 0 0

tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0

/dev/block/mtdblock1 /system yaffs2 rw 0 0

/dev/block/mtdblock5 /data yaffs2 rw,nosuid,nodev 0 0

/dev/block/mtdblock4 /cache yaffs2 rw,nosuid,nodev 0 0

/dev/block//vold/179:1 /sdcard2 vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,flush 0 0

/dev/block//vold/179:17 /sdcard vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,flush 0 0

/dev/block/vold/179:2 /data/sdext2 ext2 rw,errors=continue 0 0

#

$ export PATH=/data/local/bin:$PATH

$su

#ls -l /dev/block/vold

brw-rw---- root root 179, 17 2011-01-31 18:49 179:17

brw-rw---- root root 179, 16 2011-01-31 18:49 179:16

brw-rw---- root root 179, 2 2011-01-31 18:49 179:2

brw-rw---- root root 179, 1 2011-01-31 18:49 179:1

brw-rw---- root root 179, 0 2011-01-31 18:49 179:0

#
[Android Apps and Games] bakpinar:
Link2SD expects "/dev/block//vold/179:18" as ext2 device, but not exists on your configuration. That's the problem, last thing for posibble fix.

cat /proc/partitions
[Android Apps and Games] goodoane:
$ export PATH=/data/local/bin:$PATH

$su

#cat /proc/partitions

major minor #blocks name

31 0 5120 mtdblock0

31 1 163840 mtdblock1

31 2 5120 mtdblock2

31 3 384 mtdblock3

31 4 98304 mtdblock4

31 5 179200 mtdblock5

31 6 5120 mtdblock6

179 0 1969152 mmcblk0

179 1 1437786 mmcblk0p1

179 2 530145 mmcblk0p2

179 16 7905280 mmcblk1

179 17 7903948 mmcblk1p1

#

That because the mount of the mmc is made to be dinamic.With no sd card inserted mmcblk1 become mmcblk0 i don't know if i make my self clear?And vold179:18 dosn't exist becouse i dont have a ext2 partition on my internal memory.

Thank you.
[Android Apps and Games] jimrin:
OMG! You are a God! Thank you, thank you, thank you!
[Android Apps and Games] ChungHung.Chen:
Dear bakpinar,

A small suggestion, since Link2sd can fix market issue.

Could add a feature that detect which app exists BOTH in SD & internal??

Because when using market to upgrade app, linked app will not unlink first.

So it will install apk to internal again, but old apk is in SD.

If link2sd can detect which app exists BOTH in SD & internal, means user may need to move & link again without user check by them self.

Sorry for my poor english and thanks for your great work.
[Android Apps and Games] romualdrichard:
Hi,

I finally have it working on my HTD Desire HD.

I have few questions.

Is ext2 partition mandatory or can we use ext3 or ext4?

What is the difference with AD2SD+?
[Android Apps and Games] SrMoure:
I installed link2sd and it's working great. However after a couple of days i have noticed that my internal memory is back down to 16mb. I have cleared the caches with cachemate, but i still have the low memory message.

I have everything linked into the ext2. Any idea how to find out what is using the memory to remove it.

I've tried aplication manager and sor by size, but it includes the portion of data installed in the ext2.

Thanks,

SrMoure.
[Android Apps and Games] xCookie:
WTF?

Same here, but... That's happen to my phone without app2sd or link2sd on 2.1 after some application instalation (my guess Skype or some app with aprox. same amount of memory for installation)...

Still that was happen to me also on Cyanogen 6.1.2/Froyo 2.2.1 with native app2sd (and also after Skype?!?!?!?). Even if you reboot phone and check again, memory going down, reboot - still going down (you do the math)

From time to time I check info on internal memory and then I create recovery image (pain I know - but helped most of the time)

And I don't know the cause of that yet! :confused:
[Android Apps and Games] ozonbg:
Another small suggestion for future releases.

Instead to add batch unlink option add batch uninstall to directly uninstall linked apk's from both rom and ext2 partition. This will be the greatest option ever!
[Android Apps and Games] bakpinar:
Thank you, I saw the problem and will fix in the new release.
[Android Apps and Games] goodoane:
I thank you.

You are the one with good ideas and hard work.
[Android Apps and Games] andan:
it didn't create anything on my gt540. maybe because of r/o access. i create it manualy: /data/sdext2 directory and /system/etc/install-recovery.sh

now it found ext2 partition, and seems like it works. :)
[Android Apps and Games] x10mp_owner:
Great piece of work!

I tried this on my X10 mini pro and it works like a charm. Now I do not need 2.2 anymore just for moving apps to SD :-)

Gained a lot of free phone memory, phone seems to be faster now.

Thank you very much!:D
[Android Apps and Games] decmk:
Only complications

Gingerbread 2.3.3 RUU Rooted S-Off with Link2SD partition 512MB
[Android Apps and Games] liamwli:
I have been using this for ages, and I love it!
[Android Apps and Games] liamwli:
Actually I was wrong.

When I updated my rom yesterday (mur4iks cyan 7), most of my apps vanished after I had set it up again.

I also had no internal memory left.
[Android Apps and Games] decmk:
@bakpinar

I recently installed a Lookout, and now when updating some app wich is linked, link2sd and lookout are started at the same time and phone is not responding until both operation is finished.

Is posible to avoid this.

Gingerbread 2.3.3 RUU Rooted S-Off with Link2SD partition 512MB
[Android Apps and Games] Kierrok:
No, it just clean the junk. You can try. It will ask if you really want to clean and shows a list of the files it will clean.
[Android Apps and Games] ricky_lam:
it is so great!
[Android Apps and Games] Dimak451:
I was thinking about using root explorer to remove some of my system apps when I noticed that link2sd's last version says: added ability to uninstall system applications. I wonder if it is safe, or should I just delete the apk with root explorer? or is it the exact same thing?
[Android Apps and Games] medhat mohsen:
I managed it all BUT!

thank you so much for this great explanation and nice experience which i looked for a lot.

I have Samsung galaxy fit.

I could divide my SD card.

I installed Link2SD very well

But

When I opened Link2SD, it gave me a screen to choose from ext2,3,4 and FAt 32-16

When i choose Fat 32 or any choice of them, it says "Link2SD could not gain root access. if you have root access make sure you respond 'allow' to Superuser prompt.

What is the solution then?

Thank you :)
[Android Apps and Games] bakpinar:
Yes, same thing. Plus, Link2SD deletes the dex file and data directory of the app along with the apk (complete uninstall).
[Android Apps and Games] Kierrok:
Exactly what it says! You need to root your phone or if you have done that already you need to authorize Link2SD in superuser app (it's installed when you root).
[Android Apps and Games] rignfool:
Watchdog Task Manager might help...
[Android Apps and Games] Dimak451:
I have a custom 2.3.3 v20c rom and every time I reboot I get "low space" message, because the apps unlink. how can I fix this?

edit: all my lib files are unlinked after reboot. is it because link2sd has problems with Gingerbread? this never happened when I was on stock 2.2.2
[Android Apps and Games] Naser Maldini:
hi to everyone!

thanks bakpinar for this excellent application. this is the best android application for me!

eline saglik kardeshim.
[Android Apps and Games] hugosapinto:
I've a Samsung Galaxy Ace (S-5830) and I'm using a non official ROM (Samfirm 2.3.4). With my other Android mobiles, I can use Link2SD (v.1.8) very well. With this one, I cannot do nothing, because it is always rebooting my phone when I choose eery one of the 2, 3, 4 and FAT partitions.

How can I solve this?

If it is a noob question, sorry for that... :o
[Android Apps and Games] Kierrok:
It's an already answered question! Read this. It's not the ideal solution but it works until a better workaround can be found.
[Android Apps and Games] hugosapinto:
Kierrok,

Sorry for my lazy searching ability...

I'll try those steps, hoping it works this time.

I'll post feedback later.

Thanks!
[Android Apps and Games] Kierrok:
Samsung devices owners using custom GB ROMs should ask the developers to re-enable install-recovery.sh and/or init.d scripts support.
[Android Apps and Games] mburwen:
No space left on device

I have a 16GB SD Card on my tablet. I partitioned it 8GB FAT32 and 8GB EXT2. (I know 8GB is way more than needed for apps, but that is what I did). I selected all my linkable apps and hit "Create Link". About half of them linked and then I get the message "Failure. Write: No space left on device." I have a Windows program called Linux Reader, and when I use it to look at the contents of the card, it shows that very little space in the EXT2 partition is being used. What could be wrong? If I can get this resolved, I'd be pleased to donate.
[Android Apps and Games] bakpinar:
Can you post the outputs of the following commands?

df

cat /proc/partitions

mount