yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] mattiadj:
Hello guys,

I want to say thank you for this wonderful app and after I have to describe my issue.

First of all the scenario: desire HD s-off rotted and with sense 3.5 based rom. 32GB SD class 10 with 2gb second ext4 as second partition. All other is fat32. 270 apps, automatic install location and I used to link all my apps during the restore with titanium. Of course latest version of link2sd. I have active the option of rebuilt archives at start.

OK now the problem: when I switch on my phone and it was completely off or I reboot it I have a problem with my apps which are loaded but (not always always but very often) the system doesn't load the apps which are directly on sd with froyo app2sd! I have something like 70 apps which are in android_secure folder and often they are not loaded. No problem for all apps linked which are fully loaded.

To load these apps i have to reboot the phone and cross my fingers but 1 time on 5 are loaded and sometimes while loading I have quick reboot loop and I have to pull out the battery!

So my question is:how can I fix this problem of mounting of the android secure folder? I think is a problem of mount since another solution that I have found is to unmount and remount sd and sometimes it works, sometimes not and sometimes I have quick reboot loop!

Any idea?

Thanks!

Inviato dal mio Desire HD usando Tapatalk
[Android Apps and Games] azcv:
Dont use .android_secure folder. It is not secure as its name is. Link all the apps.I have 250+ apps and all are linked(~750 MB) and everything is forking fine.
[Android Apps and Games] mattiadj:
How can I prevent to use this folder and automatically link all files to ext and not to this secure folder?

Inviato dal mio Desire HD usando Tapatalk
[Android Apps and Games] azcv:
Set default install location to internal.And even then some apps still installs to fat partition(android_secure).just check for such apps before restart/power off and move them first to internal memory and then link them. Note that after you update such an app it will installs again to secure folder and you have to repeat the manual procedure. I have only 2-3 of this kind of apps and the manual moving and linking is not problem for me.
[Android Apps and Games] piens:
mount problem

I have a system where sdcard is the internal memory and the external sdcard is sdcard1. Link2sd works with the internal memory, where the second partition is only 185mb. How can I change the mount script to point to the second partition (that is 1Gb) of my external sd card. Thx in advance.
[Android Apps and Games] gAracUh:
guys can anyone help me? im using xperia x10 DiKeJ Dxperia4 2.3.4 i partition my sd card and seems ok but when i open file manager only the 2nd partition its shown not the many files i put.:(
[Android Apps and Games] Kierrok:
Bakpinar usually ask for the output of the following commands:

mount

cat /proc/partitions

cat /sys/block/mmcblk0/device/type

cat /sys/block/mmcblk1/device/type

cat /sys/block/mmcblk2/device/type

ls -l /dev/block/

ls -l /dev/block/vold

Use a terminal emulator or adb shell.

---------- Post added at 12:10 PM ---------- Previous post was at 12:07 PM ----------

That's weird! Android mounts the 1st SD partition. Are you sure you created the partitions right? The first one FAT for Android and the 2nd one for Link2SD, both primary?
[Android Apps and Games] Kierrok:
You have to make those changes in /system/etc/install-recovery.sh or /system/etc/init.d/11link2sd.

Don't forget to enable RW permissions to /system.
[Android Apps and Games] piens:
Just discovered the script in /etc/init.d/11link2sd. After changing that Link2SD points to the correct sd-card :D

Now quickly make a backup of this script so I can restore things after an update if needed. Thanks for all help. mr B, maybe you can find a trick to discover this kind of setup automatically, kudos to you :)

Kierrok, thanks, just found out the solution myself, but you were dead right! :cool:
[Android Apps and Games] Shæl:
Thanks for that. Samsung Galaxy Y GT-S5360 need that workaround. I tried it on two GT-S5360 and both are failing to mount the 2nd partition on boot.

The initial (very first) hard restart works fine. But after 'linking' files, all hard reboots failed to mount the 2nd partition. (So it's kinda weird too that the first reboot doesn't fail to mount it - unless it was a soft restart / logon-logoff restart and I failed to notice it.)

Partitions tried on SGY GT-S5360: [1] ext4 = won't work, SGY doesn't have it natively; [2] ext3 = works; and well [3] FAT32 works obviously.

I haven't tried ext2 but it should work.

Overall, satisfied with Link2SD. Best app I have tried in this category.

PS

Btw, I used Gparted for partitioning my 4GiB and 2GiB SD cards.
[Android Apps and Games] hadramos:
hi,

I have the Sony Ericsson ARC.

I have create one first partition primary FAT32.

I have create the second partition primary EXT3.

I have launch the application link2sd for create the mount partition with the script and i have reboot the phone.

Why the partition mount is located in /data/sdext2 and not /sd-ext ?
[Android Apps and Games] eyjay1991:
Guyz i have some minor problem here. Im using Samsung Galaxy S5360 or Young. Link2SD is working perfectly in my 16gb(14.9gb) SD, but got some minor problem. So i partition my card to 12gb+ External and 2gb FAT32 Partition. Its ok, link is ok, phone memory is low. But when i check the storage. Link2 SD Partition is still 100%.

As you can see, with just ANGRY BIRD. It's not supposed to be 100% right? and it 2gb not 1gb. What do you think is the problem?
[Android Apps and Games] azcv:
I have the same problem.I think it is not a big bug.My ext partition is 1.36gb,but link2sd shows:

total 1gb

used 762mb

free 595mb

595+762+1357mb
[Android Apps and Games] Kierrok:
eyjay1991 and azcv, please post the output of this command:

df /data/sdext2
[Android Apps and Games] inzikmafia:
Sir bakpinar may i ask...

i have finished partitioning my SD card 8GB into

FAT32 1st 6.50GB & FAT32 2nd 0.89GB... or is it better if i set the 2nd into (Ext4)?

i also placed my mmc into my (Samsung Galaxy Mini) and it asked me what type (FAT32)

then i set the Install Location into automatic (External) so everything i install automatically goes to the MMC (VERY COOL) :)

Question:

1. if i already set it in "Install Location into External" does all 3 file

(application file, dalvik-cache file & library file) automatically go into the external sd? or does it install something in the internal mem?

2. if it is already in the sd card do i still have to "Create Link" the application into the 2nd partition?

3. what is the purpose of the 2nd partition? is it really ment to transfer all application into it? so should i transfer all my application into it using "Create Link"?? or does it have another purpose?

4. does the ram of the android unit (Samsung Galaxy Mini) extend using the 2nd partition?

Thank you so much sir...

PS. This application is the BEST OF THE BEST... :) everything i need to manage my application is in your super cool program ^_^
[Android Apps and Games] eyjay1991:
Ha? Where to input that?

I think the reason is Link2SD in my case, doesnt read values outside the .00 MB.

Your doing it wrong sir. You should set the default installation to INTERNAL MEMORY. Link2SD is not App2SD, Link2SD is an extention of your INTERNAL MEMORY. So you should move your apps to phone then create a link.
[Android Apps and Games] azcv:
$ export PATH=/data/local/bin:$PATH

$ df /data/sdext2

Filesystem Size Used Free Blksize

/data/sdext2 1G 763M 594M 4096

$

The results from this command are rounded.My first partition is 3.8gb free,but it gives me this:

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

$ df /data/sdext2

Filesystem Size Used Free Blksize

/data/sdext2 1G 763M 594M 4096

$ df /data

Filesystem Size Used Free Blksize

/data 199M 69M 129M 4096

$ df /system

Filesystem Size Used Free Blksize

/system 190M 182M 7M 4096

df /sdcard

Filesystem Size Used Free Blksize

/sdcard 6G 2G 3G 4096

$
[Android Apps and Games] eyjay1991:
Sir also, why is my internal phone memory still increasing? I had all link2sd then i only have 10mb of internal memory, then after some hours, i check and i got 50mb of internal memory. What files are the culprit of this? Do i need to link again?
[Android Apps and Games] *se-nsei.:
I also have the problem of internal memory still decreasing.. why's this? :S
[Android Apps and Games] baaabovka:
same problem here:

http://xdaforums.com/showpost.php?p=21166802&postcount=60

:(
[Android Apps and Games] Nightshadow931:
Khmz.

Something is wrong here. :P

So I had ~63mb free on my internal memory, then I installed talking tom, I created link & moved it to sdcard(under Talking Tom 2 in Link2SD there is Linked -> SD Card ).

But, now my internal memory is ~47mb.
[Android Apps and Games] Amali Supafly:
q1) hi, is there anything we should do after a sony ericsson update?

*apps that were linked are gone

*link2sd could not mount sd card

*therefore re-rooted phone

*sd card mounted

*restarted and apps appeared again. (solved)

*some apps force closed when tried to use. (unsolved)

*checked market, apps installed not reflected there

*link2sd market fix said, no apps needs to be repaired(unsolved)

anything else?

q2) what do we have to do if we decided to change to a bigger sd card?

*i think i read before that its a matter re-partitioning and just copy paste?

*however, i have no idea where to access the ex2 partition?

q3) im also having the problem of decreasing int memory space even after linking, i read that we have to delete some files?
[Android Apps and Games] hellios1:
Thx bakpinar. You made really great app. Works perfectly for me. Thank you :)
[Android Apps and Games] ElDanny77:
I'm having problem, pls help.

I created 800 Mb ext2 partition on my sd card, but when I use Drive Watch app to see size of my ext2 partition, it shows 0 Mb / 0 Mb, but in Mini Tool Partition Wizzard I can see the ext2 partition with 800 Mb of free space.

Do I have to use any commands to mount ext2?

Thx for response.
[Android Apps and Games] bakpinar:
It's avaliable on Android Market. Search the market for "Link2SD" or scan the QR from first post.

If you could, please install from Market and add comments/ratings on Market. It is free (and will stay free).

Thanks
[Android Apps and Games] MegaBubbletea:
Cool. Ok.

Sent from my GT540 by MBt
[Android Apps and Games] Mozgokrut:
This only works for LG and Motorola? Can I do this on Desire? :confused:
[Android Apps and Games] d3cryp7:
On cyanogenmod 7, I got a Automount script error message - "Automount script can not be created. mount: mounting /dev/block//vold/197:2 on /data/sdext2 failed: Device or resource busy"
[Android Apps and Games] bakpinar:
That means mount point (/data/sdext2) is already mounted and in use.

Can you try again after restart the phone?
[Android Apps and Games] d3cryp7:
I restarted and got the same message.
[Android Apps and Games] bakpinar:
Can you provide output of the following command?

mount
[Android Apps and Games] aletango:
Thanks for the answer. Is this how much I have found, I am not experienced, if you can help me?

I/ActivityManager( 1187): Start proc com.buak.Link2SD for activity com.buak.Link2SD/.Link2SD: pid=5122 uid=10092 gids={1015}

I/ActivityManager( 1187): Displayed activity com.buak.Link2SD/.Link2SD: 722 ms (total 722 ms)

W/PackageManager( 5122):	at com.buak.Link2SD.ad.a(Unknown Source)

W/PackageManager( 5122):	at com.buak.Link2SD.ad.call(Unknown Source)

W/PackageManager( 5122):	at com.buak.Link2SD.ad.a(Unknown Source)

W/PackageManager( 5122):	at com.buak.Link2SD.ad.call(Unknown Source)

W/PackageManager( 5122):	at com.buak.Link2SD.ad.a(Unknown Source)

W/PackageManager( 5122):	at com.buak.Link2SD.ad.call(Unknown Source)

W/PackageManager( 5122):	at com.buak.Link2SD.ad.a(Unknown Source)

W/PackageManager( 5122):	at com.buak.Link2SD.ad.call(Unknown Source)

E/AndroidRuntime( 5122):	at com.buak.Link2SD.r.a(Unknown Source)

E/AndroidRuntime( 5122):	at com.buak.Link2SD.Link2SD.f(Unknown Source)

E/AndroidRuntime( 5122):	at com.buak.Link2SD.z.handleMessage(Unknown Source)

I/WindowManager( 1187): WIN DEATH: Window{45addce8 com.buak.Link2SD/com.buak.Link2SD.Link2SD paused=false}

I/ActivityManager( 1187): Process com.buak.Link2SD (pid 5122) has died.

I/UsageStats( 1187): Unexpected resume of org.jtb.alogcat while already resumed in com.buak.Link2SD

Thanks
[Android Apps and Games] aletango:
Xperia mini pro

U20i

2.1-update1

2.6.29

2.0.A.0.504

thanks
[Android Apps and Games] bakpinar:
Thank you, it helped. I'll fix in next release.
[Android Apps and Games] bakpinar:
This should be second partition of your SD card and it is mounted as /sd-ext (type ext3)

Seems that you have app2sd (or app2ext) installed on your rom, therefore Link2SD can not mount partition.
[Android Apps and Games] goodoane:
Still not work normally on my Tablet Huawei S7

Android 2.1 update1

Rooted

The last su.

Busybox 1.18 git

I still use your application on manual mode.Created manually script to mount the ext2 and manually create folder.

Keep working on this project @bakpinar great job.
[Android Apps and Games] jek20:
Thanks!!!!!!!!
[Android Apps and Games] CaptainZap:
This is getting together really nicelly, Thanks bakpinar for this great app. Works perfectly on my X8.
[Android Apps and Games] mohanlink:
I will try it, thanks
[Android Apps and Games] vincenttan89:
Automount script error

sony ericsson xperia x10 mini pro, upgraded to Android 2.1, rooted

Installed Link2SD from market.

error message: Automount script cannot be created.

cannot create link.

what should i do?

/data/sdext2 folder exist

# 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/mtdblock0 /system yaffs2 ro 0 0

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

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

DxDrmServerIpc /data/DxDrm/fuse fuse.DxDrmServerIpc rw,nosuid,nodev,user_id=0,group_id=0,allow_other 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
[Android Apps and Games] Kierrok:
Use a terminal emulator or adb shell.

Seems like Android df is dumb. At least with values > 1023MB. If you have busybox installed (like we all should have) and run the command busybox df /sdext2 the output is correct.

I don't know how bakpinar reads the free/used space but if he uses df then this explain the wrong values.

For those complaining about the internal memory free space I will repeat myself once again: it will not increase immediately when you link something! It takes some (a lot of) time! If you want to see it increase fast just reboot.

Also, apps data is not linked and it can take a big portion of your internal memory. Usually just a few kbytes.
[Android Apps and Games] eyjay1991:
I thought Application Data is being linked?.. So is there a way to avoid the increase of phone memory?
[Android Apps and Games] Kierrok:
Not with Link2SD. At least for now.
[Android Apps and Games] cipjanin:
hello guys.. i have some problem with link2sd u could help me, the problem is that when i run link2sd app i am getting some msg to chose my file system second partition from : ext 2 ext 3 ext4 fat32/12 and if i click on any i get mount script error mount script cannot be created, mount : invalid argument.. anybody maybe knows what the reason is? also my phone is rooted properly + i did the partitions correctly too the first partition is fat32 and the second is ext 3.

OK i made it just formated the ext 3 into ext4 and that error just gone
[Android Apps and Games] fatchick1o9:
Link2SD works perfectly on Honeycomb 3.2.1 on Asus Transformer TF-101 with Prime v2.1.1 ROM using ext2 FS for 2nd primary partition.

Thx you so much bakpinar! I can use my 32GB Class 10 microSD to it's full potential for all my APPS to make my tablet even more snappy/fast.

Glad I bought the paid version. :D
[Android Apps and Games] giosaxda:
bakpinar

Could you please, check the problem with microSD storage info problem. I've 8 GB card with about 7 GB to 1st FAT32 partition and around 600 MB on second EXT3 partition.

Link2SD storage info shows 1.4 GB on my 1st partition, where it has much more around 7 GB, though it shows correct info for 2nd partition. Please look at this problem and correct on next update. Thanks.
[Android Apps and Games] lerkin:
OK. People who have problems with read-only file system, forget all the bull**** I said recently. You don't need all with stupid steps.

Just partition your SD cards with super sane partitioning tool "Paragon Partition Manager 11". I made a nandroid backup, backed up my sd card, partitioned it (primary fat32 and primary ext2) than I restored everything (sd card than nand backup).

By the way CMW recovery for some reason for my device (Lg p500) converts sdext2 (any file system) to ext4 always while restoring sdext2 backup. So I use AmonRA, but I think ext4 will work great too.

Now I don't have any problems with link2sd for one week (my personal record, and I think it will be stable forever).

Good luck.
[Android Apps and Games] pingram3541:
This was a breeze. I couldn't use the built in W7 disk mgmt tool so I downloaded the free disk partition tool you mentioned in the first post and was able to make the second partition fairly easily. Once installed it asked what type of format the 2nd partition was (I used Fat32) and asked for a reboot. Upon reboot I was able to move (link) apps without issue. Thank you so much for this app!!!

-Acer Iconia A500 Honeycomb 3.2.1 Gen 1
[Android Apps and Games] ChungHung.Chen:
Dear bakpinar,

I've found something strange, about Apps2SD and Link2SD.

Environment is CM7 2.3.7, using "3D bowling" for example.

"3D Bowling" default install location has been set to SD Card ( /mnt/asec ) by default.

I need to "Move to Phone" manually then link all parts to sdext2.

Here is the scenario :

1. Install "3D bowling" and "move to phone" manually.

2. Link apk/dex/lib to sdext2 by using Link2SD

3. Upgrade "3D bowling" from Market

4. Launch Link2SD, you will find that "3D bowling" is "On SD Card" now.

5. Do "Move to Phone" manually by Link2SD or app manager.

6. Now Link2SD will auto link "3D bowling" to sdext2, but link "Lib" part ONLY.

7. I've to link apk/dex parts by myself.

This scenario can be re-produce if App is installed to SD Card by default.

Could Link2SD auto detect if default install in SD Card using native apps2sd?

And do "Move to Phone" and "Auto-Link" from previous link?

Chung-Hung Chen
[Android Apps and Games] chrisradulescu:
Hi there,

I use a HTC Desire and have Link2SD ver 1.9.10. I have a question for whoever knows:

- why do I find apps whose apk or dex is no longer linked to SD Card, although app is tagged by Link2SD as "Linked->SD Card"? I mention that those apps were at some point linked correctly!

In addition, a feedback on this version:

- I'm trying to use multi select option and I select all apps. If I try to use "create link" option on the selected files, I get the message "no selection".

- having the problem mentioned at the beginning, it would be useful for the filter to have an option to show those apps that have any of the apk/dex/lib on internal memory

Thanks!

---------- Post added at 09:34 AM ---------- Previous post was at 09:30 AM ----------

By the way, what does the option "freeze" actually do if selected on an app?

Thanks!
[Android Apps and Games] kulen:
Hi,

I'm a little confused about this and I can't find explanation although I've been searching through this thread last night and this morning.

I installed link2SD a few days ago, and yesterday I formatted my SD card to FAT/ext3/swap. all primary

when I inserted card into phone and opened Link2SD, it asked me what is my 2nd partition. I chose ext3, and it said some massage that it will reboot, mentionitn some script I think, and rebooted.

after that I noticed that my internal storage is almost free, and that I have cca. 30% of ext3 partition used.

none of the apps in link2SD isn't linked (doesn't have ->)

what I concluded is that the whole app folder is moved and linked to ext3 partition.

and that wouldn't be a problem if I didn't install link2SD because I wanted to chose which apps should be on SD and which on internal memory.

this way I can't make widgets to work after reboot, because I can't leave them on internal, and I have to recreate them each time if I want them to work while on SD ext3 partition.

the other problem is that after reboot sometimes apps from linked app folder don't show up, so I need to reboot again. It's probably that startup script not being created in time, that I read about here.

Could that be because link2SD is also in app folder that is on SD card?

so, how can I move all apps back to internal memory and link only apps I want to sd ext3 partition.

thank you very much for any help

edit:

P.S. I have SE X8 with GingerDX v020 and kernel alfs v05
[Android Apps and Games] Kierrok:
Just checked your ROM features and one of them is app2sd and that might be the cause of your problem. Disable it and it might restore the app directory back to internal memory. Then you can use Link2SD.
[Android Apps and Games] kulen:
thanks but if you mean under:

settings->cyanogenMod settings->application->allow application moving

it is not checked.

so I guess it is not on.

install location under that is set to automatic, but guess it doesn't matter cause app moving is not allowed.

and I never played with those settings, so it can't be something that has been done earlier.

I do have a few applications moved to sd with build in android mechanism (the one that moves it to .android_secure on FAT partition.

when I click on one like that "move to phone" it ends up in ext partition also because whole app folder is on one.

I installed link2SD because kernel developer suggested using it instead built in app2SD. I kind of did a homework before I did anything, but I guess not good enough since I ended up with problem.

Thank you for answer, but I guess it's something else, so any other ideas?
[Android Apps and Games] Kierrok:
I don't know how to enable/disable it but make sure that setting isn't related to native app2sd.

I don't believe Link2SD made the move, but we can find out if you post the result of the following commands using a terminal emulator or adb shell:

su

mount

ls -d -l /data/app
[Android Apps and Games] cnber:
Noob question :)

what is the difference of the button "create link" and the button "move to sd" little confuse here :confused::confused:
[Android Apps and Games] jhonnyx1000:
Create link makes a symbolic link to an the secondary partition therefore, 'storing' the application in secondary partition. Move to SD uses Android's default way of moving apps so it's stored in the the SD card's primary FAT partition.