yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] newtonetienne:
Using link2sd ive linked dalvik-cache files.

However after every reboot, the links are removed (and thus I need to relink the dalvik-cache files).

This started to occur after ive updated to Gingerbread (i.e. 2.3)

This did not occur when i was running under Froyo (2.2)

Has anyone else noticed this behavior? Any solutions/fixes? Please advise.

p.s. it seems the same is true for library files. after each reboot, i have to relink the library files as well.
[Android Apps and Games] denzel09:
Link2sd needs some fixes for gingerbread... for now it doesn't work.
[Android Apps and Games] nikctsh:
Hi bakpinar ,

just wondering what is your next plan for link2sd ? I hope soon link2sd can support linking system app and move data file as well to sd . This is because some applications data files really feed up a large memory (eg : photospeak which use up 8++mb) . I don't know what will happen to those app after moving data files (dissapear from market?) , but for certain application , i don't wish to get any more update from market . Maybe u can add in the feature and let the users to move them in their own risk ? Thanks and cheers
[Android Apps and Games] newtonetienne:
Agreed. Any input or acknowledgment from developer?

Would like to hear back from developer.
[Android Apps and Games] andromeiden:
really love this apps ;) but need fix in GB and add some trick to using ext3/ext4 so even the HH doesn't have the system file to read such format

verr sorry for the bad english hope u understand peace :D
[Android Apps and Games] bolaman42:
Wowowowow, I'm so pissed. Sorry about the long delay, sister's getting married in Costa Rica so things are a bit crazy. Anyhow, I'm pissed because I finally got around to partitioning a different card and trying it, and what would you know, it worked! So it looks like my brand new 32 gig MicroSD card that i bought off ebay is already broken! Can't believe it. Guess I should have listened to all the reports on line that said don't buy cheap cards on ebay, they'll break. Hopefully I can get a replacement that works for more than 4 hours, and finally be able to set up my phone the way I like it. Thank you so much for all of your help. Sorry that the solution was actually so simple. Let me know if there's anything I can help with. Can't wait to really use this app to its full potential.
[Android Apps and Games] lichan:
Google h2testw. It is free software to test flash memory.It will tell you the size and speed and let you know if you got a fake. The cheap ones on eBay and even Amazon Marketplace are most likely fakes but you should be able to get your money back. Good luck.
[Android Apps and Games] silent_shen:
Great work!

But it not working on 2.3.3...everything in sd/ext will be dispeared after reboot.

If this issue could be fixed in future?
[Android Apps and Games] keijames:
Bakpinar,

Can you please further enhance Link2sd for gingerbread 2.3.4, as I am using this link2sd apps for 2.2.1 for Samsung Galaxy ACE and viewpad7, recently, I upgraded my G ACE to 2.3.4, link2sd stop working.

thanks

James
[Android Apps and Games] Jaani:
Hi..i have O1 & running latest CM7 on it but i have the stock sd card ie,2gb sandisk dont know which class..class 2 i guess bcoz no 4 or 6 written on that so can i use link2sd on it??suppose i create a partition of 256mb for apps & rest for media..if not then which sd card class should i prefer to make app run like internal storage(speed)???
[Android Apps and Games] Kierrok:
Well, benchmarking my O1 internal NAND with J Disk Benchmark gave the awful results of:

Write: 0.28 MB/s

Read: 2.07 MB/s

If these results are accurate you can beat them with any class 2 SD Card...
[Android Apps and Games] nibras_reeza:
Even I got similar results with j disk. Wonder if it's a mistake since internal is supposed to be faster.
[Android Apps and Games] DikkieDick:
Well after having a Huawei S7-tablet for 2 days and struggling around with Link2SD here my first impressions:

The tablet runs on Android 2.1-update1.

Yesterday I gave it a try: found link2sd and installed it (just 15 minutes ago noticing it was an ancient version 1.2). Partitioned my internal 'sd-card' (the device has an internal FAT32-partition of 8GB) to a FAT32-partition of 7GB and 1 ext2 of 1 GB. It couldn't recognize it. Then tried apps2sd and that couldn't find the ext2 as well. This morning I found out that I had created the ext2-partition not as primary. So did that and moved some apps via link2sd. Only thing that bothered me was rebooting every time (well moved a bunch of apps in a row and then did a reboot). Some apps did very well (like Angry Birds), but others crashed and I unlinked them, but then they kept on crashing so I had to remove the apps and reinstall them to solve the problem.

After a bit more googling around I stumbled on this thread and downloaded the latest link2sd 1.6.2. Seems to be more flexible and I don't have to reboot every time. This version is a major improvement of the old one. I don't think there is a need to upgrade the ROM to a newer Android-version.

I'll check further which apps can be successfully moved or not.

Keep up the good work.
[Android Apps and Games] Kierrok:
It isn't accurate! I've manually tested /data partition with:

dd if=/dev/zero of=/data/10MB.file bs=4096 count=2560
rm /data/10MB.file

And the results are consistent around 2MB/s. This is equivalent to a Class 2 SD Card.

This is a write speed test. I'm trying, with no success until now, to do a read speed test.
[Android Apps and Games] nibras_reeza:
Even at 2MB/s, it's slower than most SDs. But, your results could be effective speed which has no corrections for disk cache.
[Android Apps and Games] Kierrok:
Using busybox dd I could use an option to physically write data out before finishing to exclude disk cache from stats:

busybox dd if=/dev/zero of=/data/10MB.file bs=4096 count=2560 conv=fsync

This gave me 1-1.2MB/s write speeds.

I also found a way to measure the read speed but I had to reboot because the file was cached in mem and gave 130-150MB/s read speeds :D

dd if=/data/10MB.file of=/dev/null bs=4096

This gave me 5-5.5MB/s read speeds.

I was expecting these kind of values. Internal memory and SD Cards use the same technology and in a cheap phone like mine of course they don't use expensive memory.

EDIT: Don't forget to delete the test file with rm /data/10MB.file
[Android Apps and Games] lichan:
Bakpinar, thanks for the great app. Are there plans in a future release to move and link an application's data files? Thanks again.
[Android Apps and Games] nibras_reeza:
They both use flash memory but internal is supposed to be way faster. If more people confirm, I might buy a class 10.
[Android Apps and Games] nixie2121:
So I installed link2sd. I made the partitition on the sdcard. Any apps I had installed to sd, I moved back to phone. I then let link2sd do its thing...

Internal starage is the same, I did not gain space (Am I wrong to think I should have) Did I miss a step?

I did:

1 - partition sdcard

2 - move apps back to phone

3 - install link2sd

4 - run link2sd on all user apps

Did I miss something to gain internal space?

I did however notice a huge speed difference in how fast the apps were available at boot time.

THANKS so much!!!!!
[Android Apps and Games] Kierrok:
In my phone the free space doesn't increase immediately after moving the apps. Only some time after, or after a reboot.

Also, are you seeing the right internal memory? /system free space will be the same, only /data increases.
[Android Apps and Games] nixie2121:
I am looking at settings->sd card and phone storage-> internal memory

I rebooted a few times.

I guess the question I have is ...

Should link2sd save more internal space than just moving all apps to sd using move to sd enabler?

If no, then I am fine

If yes, then it did not do that for me.

Thanks so much for the help!
[Android Apps and Games] Kierrok:
And are you sure you've created the links? An easy way to check is looking at the apps list in Link2SD and see if there are "->"s in the Apk/Dex/Lib line. i.e.:

This is an app with no link:

Apk:x.xxMB Dex:y.yyMB Lib:z.zzMB

This is an app with apk, dex and lib files linked:

Apk->:x.xxMB Dex->:y.yyMB Lib->:z.zzMB
[Android Apps and Games] nixie2121:
I did not have the lib linked, could that be it??? I will link the lib on all the apps now!!
[Android Apps and Games] nibras_reeza:
Is there's a possibility of moving odex of odexed apps? Am I allowed to modify the linking scripts to link odex as well?
[Android Apps and Games] xachiel:
thanks for the guide!

and for knowing this great app MiniTool Partition Wizard pro 6
[Android Apps and Games] Almighty1:
I just realize something, it seems like on my Motorola Droid 1 running Android 2.2 FRG83G stock rooted ROM, the lib goes back to internal after a reboot and is no longer linked.
[Android Apps and Games] Kierrok:
I'm seeing that too. But just in some apps. At first I thought it were the updated apps, but I've just updated 2 apps and the libs remain linked. Can't figure the logic...

EDIT: Looks like the new/updated apps linked libs don't resist to the first reboot, but after relink them they survive to subsequent reboots.
[Android Apps and Games] drakon78:
what version is installed on your phone? try link2sd 1.6.0, it works for me.

I have the same problem like you if i use newer versions, but 1.6.0 works fine
[Android Apps and Games] hgurbuz78:
excellent application
[Android Apps and Games] NikoPL:
This application is great, but on 1.6.2 i've got sometimes FC, 1.6.0 was the best. :)

I'm using stock 2.1.
[Android Apps and Games] Almighty1:
On mines, it's doing the same thing even in subsequent reboots as my Adobe Flashplayer libflashplayer.so is replaced with the original, basically, all libs that was linked from /data/data is unlinked.
[Android Apps and Games] Almighty1:
1.6.2. I'll give 1.6.0 a try later, now where do I get the apk for 1.6.0? Thanks for the pointer!

I just looked at the change log for 1.6.1 and there is the comment of:

Known issue:

* library files get unlinked after reboot on Android 2.3 and sometimes on 2.1 and 2.2. (PackageManager unpacks all native libraries from the apk files at boot)
[Android Apps and Games] lichan:
Sorry to re-post but this went off screen before it got noticed and replied to.
[Android Apps and Games] Vindicated777:
OK so ive made the ext2 partition...all files were saved to pc before...now with that being said how do i put all those files about 4GB back on hone then start restoring apps if theres no room? Please help thanks!
[Android Apps and Games] Dimak451:
you can get 1.6.0 here: mediafire.com/?foifcbrsm7f6deb

-----------

hey bakpinar, when will the next version be ready with all the new goodies you're cooking? :P

please tell us you're alive at least
[Android Apps and Games] hojuruku:
I just upgraded my korean tab to gingerbread. The vold mount config got erased and even after erasing link2sd config it won't reinstall and cant detect second partition unless I mount it manually. Can anyone provide the config to mount partition in official samsung gingerbread. Cheers luke.

Sent from my SHW-M180L
[Android Apps and Games] _Psyborg:
Mount problem after ClockworkMod backup

Hi,

I am using an x10 mini with a stock 2.1 ROM.

Now I have a problem after installing and using ClockworkMod for backing up all data including the ext3 partition, which is used for the Link2SD files. After reinstalling the backup on my device including the ext3 partition I am not able to use Link2SD again. :eek:

I get this error:

Mount script error.

Mount script cannot be created.

mount: no such device.

ClockworkMod showed no errors during the process. The ext3 partition is still there, but no chance to mount it via Link2SD... :confused:

Any idea or solution???
[Android Apps and Games] cas0404:
Linking Data app and cache would be amazing
[Android Apps and Games] davelinders:
Must first partition be also fat32? or must it be fat?

Second partition I will use fat32.
[Android Apps and Games] bakpinar:
Did you try to select ext4 when link2sd asks fs type of the 2nd partition?

ClockworkMod may change the fs type while restoring.
[Android Apps and Games] chokod9:
Great App, this give more life to my gt540 :D Thank's man
[Android Apps and Games] bakpinar:
I'm alive :)

Release of the next version will take some time, I can not work on link2sd for a whlle.
[Android Apps and Games] ask4mie:
:D haha..

just take your time and I will be waiting for it :p
[Android Apps and Games] _Psyborg:
Thank you very much for your answer, bakpinar!

I've tried all mount options and none of them did work for me. This time I was looking particularly for the different error messages. For ext2 + FAT32/FAT16 appears "invalid argument" and for ext3 + ext4 appears "no such device".

Do you have any other idea or possibility to mount it?

P.S.: I was able to look at and backup the files of the ext3 partition manually through adb, so the ext-backup of ClockworkMod was/is indeed all right.
[Android Apps and Games] fvt2:
Hello,

I have two Android Phones (both 2.1 original), Samsung Galaxy 3 and HTC Hero. The Samsung is rooted with Z4root and the second partition is FAT32 formated. Everything worked fine with Link2SD. I tried the same with the HTC Hero, Z4root no problem, installing Link2SD no problem, it got SU rights. But when I start Link2SD i get the warning "Mount script error, Mount script cannot be created. write: No space left on device". I tried all partition types as Ext2, Ext3 and FAT32, no chance. What can I had to do with the Hero to fix this problem? Thank You for help.

Regards Frank
[Android Apps and Games] Kierrok:
Read this.
[Android Apps and Games] _Psyborg:
Another try

Ok, I repartitioned the microsd card completely and tried it first with the same configuration like it was before, when all was working right (first partition fat32 and second ext3). No luck. The same as before... no mounting.

Then I partitioned the second one as fat32 too and copied the backup of the former ext3 partition to it. Link2SD was able to mount the partition now and is recognizing all of its linked files. :rolleyes: My problem now is that everytime when I try (or Android tries) to start a linked app I get a FC. :(

Any idea again? Thanks...
[Android Apps and Games] AfroLoots:
Try the reinstall feature from within Link2SD app.

Sent from my X10a running EW Jet SPBex tweak v9.3
[Android Apps and Games] ForMartha:
I'm having a problem with creating two partitions.

once creating 2 partitions and insterting the SD card to my phone, every thing stucks.

the phone works for a couple of minutes, then the screen becomes black and nothing happens.

i'm using motorola milestone from Cellcom and cant figure out what went worng :/

BTW, once iv'e created only one full partition every thign works fine..
[Android Apps and Games] _Psyborg:
Hi AfroLoots! Thank you. Before I was only looking for a global option like this in Link2SD... Your tip helped and now it works again. :)
[Android Apps and Games] mulky:
hi bakpinar,

first of all, great app ! i'm looking forward to implement it on my device

but i wonder if you could accept special request ? i'm using Archos 5 Internet Tablet (Gen 7, one of the first android tablet in the market) which still only use 1.6 Donut *sigh . currently we managed to get it rooted with the limitation full access to /system/bin only (A5IT using cramfs as /system, which is made it as read-only). your app is installed fine to the device, but it can't pass through initialization step as the app need to write a command shell to /system/etc, which we only got read access.

so, can you make some mod to fit it with our device limitation, perhaps make it linked to other directory other than /system/etc ? any help would be appreciated

thank you very much
[Android Apps and Games] 47R3YU:
i've been trying desperately to get Link2SD working

i use a rooted galaxy ace and a 8GB sd card

i deleted my card completly and created 2 new partitions, 7GB FAT32 and 500MB ext2 (with EASEUS)

all i get are errors. i tried all possible combinations. partitionsize from 400-1500MB,

FAT32, ext2, ext3 .. also went through all the options in Link2SD and reformatted the card with the panasonic sd formatter which was recommended in this thread.

the errors are always the same

ext3 & ext4 : no such device

ext2 & fat32: write: no space left on device

im still using APP2SD and Move2SD Enabler ... i disabled Move2SD but it didnt help

already read 2 googlepages full of results to Link2SD problems, but no relevant input for me

any advise?
[Android Apps and Games] mastrone:
If your ACE runs 2.3.x firmware then it's a known issue. Hope @bakpinar will work to get it sorted....In the meantime you'd better flash code.Rom which has a2SD embedded. Just have a look at this thread
[Android Apps and Games] r1pz:
i have some problem with Link2SD.

i have to install Link2SD(1.6.2) to my phone(1.6 donut) but i can't to use it with out manually excute "/system/etc/install-recovery.sh". however after reboot all link is gone and not auto mount /ext2 partition automatic. if i'm manaully excute that file mount again it's work but first time link isn't.

i have to try this script

#!/system/bin/sh

MYLOG=/data/install-recovery.log

echo "$(date) Starting install-recovery.sh" > $MYLOG

echo "$(date) Waiting SD to become ready..." >> $MYLOG

sleep 10

mount -t ext2 /dev/block/mmcblk0p2 /data/sdext2 1>>$MYLOG 2>>$MYLOG

mount -o bind /system/sd/app /data/app 1>>$MYLOG 2>>$MYLOG

mount >> $MYLOG

result is

Tue Jun 28 15:46:12 ICT 2011 Starting install-recovery.sh

Tue Jun 28 15:46:12 ICT 2011 Waiting SD to become ready...

mount: No such file or directory

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/mtdblock4 /system yaffs2 rw 0 0

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

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

/dev/block/mtdblock6 /marvell yaffs2 rw 0 0

/dev/block//vold/179:1 /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,errors=remount-ro 0 0

/dev/block/mmcblk0p2 /data/sdext2 ext2 rw,errors=continue 0 0

somebody to help me fix it.

thanks
[Android Apps and Games] lerkin:
I have another problem, everything was fine for several months but today I got a error "read only file system" then I tried to link newly installed app
[Android Apps and Games] king_jabez:
works excellent for my x10mini pro... thanks
[Android Apps and Games] thetechguy:
Feels like I almost got it.

I have been learning a lot about linux and this sybolic link seems like a no brainer solution to putting apps on the SD card. To bad it is not working for me.

I get the mount error - invalid argument

Mount Script error

Mount script cannot be created.

mount: Invalid argument

it took me a few tries but I did manage to partition my sd card with 2 fat32 partitions. One is 4 gigs and the other is 2gigs. Guess I am planing on a lot of apps:) I had to take my sd card out of my phone and use a card reader. For some reason it would not work while in the phone..

I am rooted with Z4root and I installed Link2SD then immediately rebooted the phone. Link2SD does see my second partition and asks which file system it is and then I get the error.

I know how to use Android SDK if I have to. I am thinking I may need to add the link manually. I have a rom with 2.1 that I do not want to mess with too much as this is the garminfone and I like having my garmin maps.

any help would be appreciated. My phone is constantly running out of space and runs slow. I know that this would work to get the apps on the sd card..

thank you

Jon
[Android Apps and Games] Artest113:
Wow, there's so much problems in the past few pages in this thread, i've been wondering whether should I try link2sd in my Xperia X10, before I start, i'll tell u guys what I know about the procedure:

1: Mount your memory card ( Mine is 8gb ) to your computer

2: Resize your main ( and only, using Minitool Partition Wizard ) partition there to less 1gb ( depends on you ) for the second partition.

3. Create a partition with the available space and make it FAT32, ext2,ext3 or ext4 and also as primary

4. Unmount your phone memory card from pc, then unplug

5. Reboot your phone

6. Turn on your phone, start linking the apps to sd

Is it correct according to the methods above? But why some people do delete the whole partition and reorganize them again into 2 partitions?
[Android Apps and Games] Kierrok:
You forgot, between 4 and 5, the following:

- Put back the SD card in the phone

- Install Link2SD

:D

There are many reports of success with x10. Just use ext2 I think.
[Android Apps and Games] Artest113:
oh really? then i should try it out by today, but in case anything bad happen, how do i revert back to the original state of the sd card? just remove the 2nd partition? that's it?
[Android Apps and Games] Artest113:
link2sd is working, so far so good,

xperia x10

ewjet rom
[Android Apps and Games] Kierrok:
Remove the 2nd partition and resize the 1st. But looks like everything went well.
[Android Apps and Games] Lolthy:
Hi,

my HTC Hero has the same problems.

How can I do S-OFF?

Thanks

Lolthy
[Android Apps and Games] Redkevin25:
I have a gt-5800 and every time i get a mount error i have a rooted phone and 2.1
[Android Apps and Games] Kierrok:
http://lmgtfy.com/?q=htc+hero+s-off
[Android Apps and Games] Kierrok:
Read this post and the following ones. But this problem only happened when only ext2 was supported by Link2SD. With a FAT partition you shouldn't have any problem.
[Android Apps and Games] onlavu:
OMG, thank you. This app is absolutely amazing. Incredible work, respect.
[Android Apps and Games] djphatic:
I can't get this to work. Fresh install of Cyanogen 7.1.0-RC1.

Tried a ext2 and ext3 partition and kept receiving the error message that the device was busy.

Formatted to FAT32 and receive the please reboot message but once I reboot it comes up again.

I am using a Nexus One.
[Android Apps and Games] Kierrok:
Doesn't CM use some kind of A2SD? If this is the case, maybe it mounts the partition. Issue the mount command to check.
[Android Apps and Games] Bling_Diggity:
I am having similar issues with CM 7.1. And no, CM doesn't use app2sd by default. That I know of.

Tried EVERY partition type available, still get the following mount-script-creating errors:

I get Device/resource busy with ext2 and ext4.

I get I/O error with FAT32.

Can't remember what I got with ext3 but it was the first partition I tried and no joy, similar to the others in nature.

Whenever I go into Root Explorer and look inside the dev/block/vold folder, there is nothing there at all. Is there supposed to be?

EDIT: Found 179:1 and 179:2 by using File Manager. Odd that it won't show up in Root Explorer. Still not having any luck...tried to mount/remount 179:2 to /data/sdext2 in terminal but for some reason I got an "invalid argument" error.
[Android Apps and Games] Bling_Diggity:
Issue Kind of Resolved: