yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Usman Aly:
some apps not working properly

After linking some apps and games are not working properly.

When i open app or game it just blinks and then turns off.

Kindly fix this as soon as possible.
[Android Apps and Games] egingell:
"Fix it, it's broke" is not good enough. Once you figure out how to formulate a proper bug report, maybe your problem will get fixed. Assuming the problem is not entirely on your end, which I would bet is.
[Android Apps and Games] fahad_hasin:
Hi bro,

Could you please add another option to move the whole app data of tha application to sd card in next update? For this, I shall be highly obliged.

Regards,

Fahad Hasin
[Android Apps and Games] Jindrar2:
I have linked my games to sdext2, but my phone tells me that my memory is full (folder data 117 mb free).

When I had my games on SD cart not linked, folder data had 176 mb free. What's the purpose?

Now I can't install applications.

Thanks for replying
[Android Apps and Games] Usman Aly:
Re

Can you tell me how can i fix it :S

1: Reinstall link2sd

2: or is there any other way around?

---------- Post added at 12:49 PM ---------- Previous post was at 12:45 PM ----------

Dude i got the same problem as you. but you mentioned it in more detail as compare to me. Next fix for this.

Two more thing i like to have in link2sd

1: Its gud if it dont relink the app library files on each restart because it create a problem for me. when i do restart my phone unlinked library files eats up whole memory of my phone and then i have to uninstall some apps and then restart and then reinstall those apps. thats why i dont restart my phone :P

2: If there is a way to link data files to the sd card then add this feature too. I am sure it will clean more memory and get more popular in those sets who have way to low internal memory like mine htc explorer :/
[Android Apps and Games] nikwen:
In the advanced settings there should be something like relink libs.
[Android Apps and Games] Usman Aly:
already done that.

Well already tried that but didnt solved my problem i dont what to do...

I hope developer fix this issue :)
[Android Apps and Games] nikwen:
I think that it will not work if you move Link2SD to the SD card (even the standard Android way) because it will not receive the boot intent.

However, it could also be that it is done using scripts. Then this would not apply.
[Android Apps and Games] Usman Aly:
1. link2sd is on internal memory even if i try moving it to sd card it gives the error ( i dont remember the error but it doesn't move it to sd card).

2. i found out that it is only causing problem with those apps and games which are heavier or bigger in size more than 20 or 30 MB. (dont know exact figure 20 or 30 will try to figure it out then will share it here)

For example:

kabam's Kingdom of hobbit

Airattack etc etc
[Android Apps and Games] Hawkwing:
Hi.

I wonder if anyone have tested this on sony xperia v and if it's working.

Thanks in advance.
[Android Apps and Games] egingell:
Is it a rooted Android phone with an external SD card or partitionable internal SD card? Then, yes, it will work.
[Android Apps and Games] Hawkwing:
Hi.

I can confirm that this doesn't work.

It ends up in a boot-loop. Only thing is to remove the sd-card and then the phone boots up ok.

Time to fix the sd-card again.... About to leave this app that sounded so promising.
[Android Apps and Games] Kitschki:
Mine took quite a long time to boot, maybe you should wait a bit more
[Android Apps and Games] Hawkwing:
the thing is that it doesnt get past the sony logo. it reboots and ends up in a loop.
[Android Apps and Games] templeka:
App became useless to me after I have used it for so long. Latest update broke it. Every app that I link now disappears after reboot. So I don't know if it was fixed for some devices (as it's written in the changelog) but it definitely broke for me. Could anyone post the link to the previous version (2.4.2) since on market I can only get the latest one?
[Android Apps and Games] Jindrar2:
I have the same problem, but I find out that I had Link2sd install on my sd cart. When I moved app to internal storage all it's okay. After reboot library files stay linked.
[Android Apps and Games] cellabonez:
We xperia users have the same issue . all actually . confirmed by four of my friends with neo v too
[Android Apps and Games] zzztidurvirus:
This new link2sd update is awesome! Now I finally know where are my game saves and data and obb are hidden. If link2sd includes options to automatically move them to sd, then we can say goodbye to folder mount. 2nd part: ext4 2gb on 16gb class 6.

Paradox ST21i
[Android Apps and Games] Usman Aly:
Mine is already on internal storage. Never moved it to sd card. N still i m getting this issue dont know why.
[Android Apps and Games] Ajstylemore:
link 2 sd not showing partition

I installed link2sd and created links of all apps..it was working fine.after that I installed cm10 ROM on my lg optmus one and the installed link 2sd after opening it asked me to select partition when I selected ext 3 it is showing mount script error ..Mount script can not be createf /mount invalid argument/ext may not be supported on tour device try fat32.I have done steps of recreating link but again its showing select partition and again all stuff like mount script can not be created. what to do I am sick of that backup and restore process please suggest me
[Android Apps and Games] zzztidurvirus:
I think the system dont like ext3. Reformat partition into something else.

Paradox ST21i
[Android Apps and Games] aka399:
Hello, I got an issue with link2sd.

Using aokp rom on my lg p500, create 2° partition etx2 and script is done.

When I try to create a link, always the same error: e.g. with ClockSync:

create_link.ru.org.amip.ClockSync[1]: can't create /data/sdext2/dalvik-cache/ data@app@ru.org.amip.ClockSync-1.apk@classes.dex: no such file or directory

what can I do?
[Android Apps and Games] happy_5:
After update = useless app UNLESS...

Loved this app, and took some time to get it working before, but I got it working - before.

Since the last update, it is completely broken... it simply does not mount the second partition of the SD card, and before saying so, yes, I have reformatted the card, created partition via PC, via Mac, via CWM recovery, browsed to every thread and tried every script here, with NO USE.

Specifically, when mounting Ext2, Ext3, Ext4, the generic message "cannot mount script" is displayed. Trying Fat16/32 yields a similar message. Currently using a Samsung Epic 4G (SDH-700) and lost MANY days of productivity.

The only way I got this app working today was installing the FolderMount app from the Android store. The free version works just fine, but you will still receive error messages about partition not being mounted if you do not set it to run on boot. To avoid going crazy with error messages, just disable the notifications of this program by unchecking the "show notifications" tab (available through "settings/apps" then selecting the specific service).

Link2SD is great and a must-have once it is up and running. However it is a lot better to offer a paid app with full functionality and support rather than an application that can break easily and leaves users scrambling around.
[Android Apps and Games] tobbbie:
It seems that the link-scripts from link2sd cannot be created/changed. You have to be root and your system partition must have a few bytes left for the scripts.

There is no generic way of supporting each and every device, especially since Samsung (and others) started to emulate the regular sdcard with internal storage. This has some advantages if enough (say 2-4GB) internal memory is available - but it limits real (extSDCard) sdcard use to just media, which fits for many (but not all) users.

For your problem: playing with various filesyetems will not change anything. If the system can mount the regular sdcard partition with a filesystem, then it can do it with the second as well. If this does not work, then the mount scripts are not set up properly.

In this thread are several places where the cleanup actions are mentioned - possibly first clean up and then do a fresh start and let link2SD create the scripts.

---------- Post added at 09:55 PM ---------- Previous post was at 09:42 PM ----------

This is a key element! Mind that during boot process the sdcard may be mounted late and so the OS first recovers what it believes to be out of order (e.g. the "missing" .dex files). Link2SD prevents itself to be "link2sd-ed" but if you force it in some way with apps2sd method to sdcard 1.st partition, it cannot hook in the early phases and prepare a clean startup environment for Android.

---------- Post added at 09:57 PM ---------- Previous post was at 09:55 PM ----------

No problem with my Xperia Ray on ICS - using ctcaer v2.8 kernel though.
[Android Apps and Games] molitar:
I had that same problem when I used EXT 4 as the partition type. It appears as the internal SD Card on the phone is EXT 4 it gets confused. When I changed it to EXT 3 all my link2SD problems went away and it worked perfectly for me on my SG3 phone.
[Android Apps and Games] egingell:
I want to know why data@exposed@XposedBridge.jar@classes.dex keeps getting put in /data/sdext2/dalvik-cache with no corresponding symlink in /data/dalvik-cache, but I doubt it's a Link2SD issue. Even if I delete it, it gets recreated.

Edit: I take it back, it's in /data/dalvik-cache with no app associated with it, so Link2SD's "clean up dalvik-cache" function considers it for deletion. It looks like Xposed takes it upon itself to make an extra DEX file.

Edit: Ok, I may have figured out why the DEX file is made (the JAR file is in /data/exposed). Seems kinds weird to me.

Anyway, disregard this post as it has nothing to do with Link2SD. :)

Sent from my E4GT.
[Android Apps and Games] happy_5:
I think I made it abundantly clear I have tried many options, such as scripts found on XDA, including a couple from user "egingell". Based on the users reporting problems with Link2SD, lack of trying is not the problem - the app needs some cleaning up.

Today I was able to borrow a friend's Windows's computer to "Odin" my device back to usability. A little experiment took place afterwards. I partitioned my SD card, and besides my pictures, music, and SMSs, I replaced everything from scratch (Google Play only, not Titanium Backup), partitioned. I installed Link2SD only to find myself rebooting the device for 30 minutes.

I then installed FolderMount and 2 reboots later, Link2SD mounted the partition and my Samsung Epic 4G became a speedster. The days of me writing scripts in Jota while using Root Folder are over :)

Again, developing apps is not easy, and we very much admire and donate $$$ (and if you have not, send something now!) to the devs that make it possible. But make good apps than can keep up with the curve. If that is not possible because of personal/professional reasons, just state to your customers the app will no longer be supported, and will not be responsible for whatever happens.
[Android Apps and Games] carlonchete:
this would be great.
[Android Apps and Games] fahad_hasin:
Yess... Thanks a lot for supporting my suggestion..

Presently I have to do it manually by root explorer... If this feature will be added in Link2sd, it would be really great... :o

Regards,

Fahad Hasin
[Android Apps and Games] cellabonez:
That's good for you . but the issue it keeps mounting fat32 or even when I change it to ext 2/3/4 as read only. Any ROM and any kernel

Sent from Xperia Neo V running Slim Bean 4.2.2 powered by Naa 3.4 kernel
[Android Apps and Games] tobbbie:
When issuing "recreate mount scripts" from the link2SD menu you have to select the filesystem of your 2.nd partition - if you do not put the matching one, then mount will fail later. Link2SD should then re-write the relevant 3 scripts:

\etc\init.d\11link2sd with log in \data\link2sd-11link2sd.log

(changes to) \etc\install-recovery.sh with log in \data\link2sd-install-recovery.log

(changes to) \system\bin\debuggerd with log in \data\link2sd-debuggerd.log

Additionally I noticed another log \data\link2sd-boot-receiver.log which may be linked to link2SD acting directly once received boot-completed. This is quite old on my filesystem, so this method may have been dropped in the meantime.

So overall link2SD is extremely sticky to make sure it REALLY mounts the second partition with the right filesystem (the one that YOU specify) at the place it needs it - which is only \data\sdext2.

So please all, before whining about "I have tried all..." check the scripts and relevant logs (including time stamps).

Regarding linking also \data\data\<dirs> or <items> - we have been bugging bakpinar since a long time for that, still no success. I will gladly pay for version that supports this!
[Android Apps and Games] cellabonez:
Its not a matter of whining :cool: just stating a bug that I didn't know was there after 2.1

Sent from Xperia Neo V running Slim Bean 4.2.2 powered by Naa 3.4 kernel
[Android Apps and Games] tobbbie:
You may need to help get the issues solved with YOUR kernel (possibly also ROM). Actions that link2SD is doing are on kernel level, so if yours does anything special, help to debug it - surely bakpinar will not buy an Xperia Neo V and put your SW on it.

Its give and take as I said - so start giving something.
[Android Apps and Games] zzztidurvirus:
Weird, most rooted stock roms will work right away, provided you have a 2nd partition (pick one type) except some weird samsung stock. Ive been using this for lots of phones, the latest one is this ninetology i9430. The only phone that dont work with link2sd is galaxy y s5360 when its heavily modded with lots of scripts, apps2sd included. But if its stock s5360, it works flawlessly, no sudden app disappearance, no manual relink everything, so I think if we stay stock, it should work. But we are complaining its not working with this or that custom rom. Isnt that a custom rom / kernel issue? Instead of blaming link2sd's fault, maybe try it on pure stock just to be sure if it really work?

Sent from My Awesome Paradox ST21i
[Android Apps and Games] Dedokrus:
Nice soft, thank you
[Android Apps and Games] cellabonez:
I figured it out . it had to do with sd card read speed tweak . not a combo with link2sd
[Android Apps and Games] weirdsciencex:
Sorry if this has been asked before but with certain apps I get an error (see screenshot). I'm suspecting this only happens with encrypted apps.

Is there any solution that anyone is aware of?
[Android Apps and Games] tobbbie:
This looks as if the lib cannot be deleted at the original position before replacing it with the link to the copy on \data\sdext2\<app>\lib. If here it complains about a RO filesystem it has not got root privileges to delete the file (which is saved in the filesystem under the UID of the application).

Check your system if link2SD gets root when needed.

OR: You have the app still active (it could not be terminated by link2SD) and so the libs are in use still. Terminate your application (check with a task manager) and repeat linking. Worst case reboot (make sure app is not started) and then re-link.
[Android Apps and Games] weirdsciencex:
Ok, thanks for the info. Will check root permissions.

Edit: just checked superuser logs and it appears ok.
[Android Apps and Games] tobbbie:
You are too fast - I have added another option in my previous post:

OR: You have the app still active (it could not be terminated by link2SD) and so the libs are in use still. Terminate your application (check with a task manager) and repeat linking. Worst case reboot (make sure app is not started) and then re-link.
[Android Apps and Games] weirdsciencex:
Thanks for the extra info. Will try that now.
[Android Apps and Games] viperdriver2000:
Hi,

i use a Samsung Galaxy S II GT-I9100 with cm-10.1-20130XXX-NIGHTLY.

always when i update cm my linked apps are broken.

i have read in the FAQ

but it do not work.

i can only fix it when i move the app back to the internal space and then i make a new link.

any ideas?
[Android Apps and Games] SShadowXX:
Can anyone please help me on how can I see the total/free space on the second partition of my memory card?... what adb command should I use, or is there any app that can I use?...

I tried Freespace Plus but it doen't show me the total/free space of sd-ext partition... :(

EDIT: Nevermind, I just did by going menu->storage info..
[Android Apps and Games] sith.warrior:
Hello to everyone ;)

I'm in trouble using Link2SD on my device.

I have a Sony Ericsson Xperia X10 Mini running MiniCM7-2.2.1 ( ---> http://xdaforums.com/showthread.php?t=1068553 ), based on Gingerbread 2.3.7 and 2.6.29.6-nAa-14 kernel ( ---> http://xdaforums.com/showthread.php?t=1256739 ).

I've got a class 10 16 GB SD Card, with 3 partions:

first one for my data (like music, photo ect), FAT32 12,90 GB

second one for Link2SD, ext4 1,5 GB

last one for swap file, 512 MB

Because my phone lacks a lot of internal memory, i use Link2SD, but every reboot some apps disappears! I mean, they are still in my phone but I can't use them.

I always relinked all my apps, relink arch dalvik-cache, relink arch file etc...but still my apps disappear.

Is there something wrong with activation script? Or maybe with my partition? Or with Gingerbread?

I hope you can help me.

Thanks in advance (and sorry, my english sucks a lot)

Greetings from Italy
[Android Apps and Games] tobbbie:
Check the logs (and their timestamp) as listed in my earlier post: http://xdaforums.com/showpost.php?p=41891377&postcount=3822
[Android Apps and Games] sith.warrior:
Thanks for your reply, but i didn't understand what exactly i have to do. :confused:

I checked all logs as you suggested...what now? Do I post them here? Have I to modify them? To substitute? (you have to know that i am a little bit noob )

For now, i unistalled a couple of apps and it seems to be ok: all my apps are linked correctly
[Android Apps and Games] tobbbie:
The log content should be similar, especially the end of them mentioning the successful mount. Check which logs you have and when they are run last time (file timestamp).

Before the mount happens, the OS has no clue about the situation and so it would "recover" what it thinks to be faulty (no .dex usable, .libs not usable and so on). For late mount it could happen that early automatically executing apps would fail, while such which are just sitting there to be called manually would not see a difference.

Mind that many apps are listening to broadcast intents on various system events (like boot completed, network state changed and alike). So after boot, a lot of apps are activated by the OS due them registered as "listeners", do their initial job and then disappear because tight memory kicks them out again.

To tame such behavior limit the network connectivity (no radio data use by default and WIFI off at boot) and/or use the Greenify App and have them hibernated until YOU decide them to work :)

Greenify is as important to low (RAM) memory devices as link2SD is for low (storage) memory. A real must-have!
[Android Apps and Games] sith.warrior:
Thanks for your explanation :good:

I will check my log files when my phone will fully charged :D (battery ended half an hour ago)

Stay tuned

Greetings from Italy
[Android Apps and Games] sith.warrior:
Here I Am

These are my log files:

\etc\init.d\11link2sd

#!/system/bin/sh
#added by link2sd
LOG=/data/link2sd-11link2sd.log
echo "$(date) mounting..." > $LOG
mount -t ext4 -o rw /dev/block/vold/179:2 /data/sdext2 1>>$LOG 2>>$LOG

mount -t ext4 -o rw /dev/block/mmcblk0p2 /data/sdext2 1>>$LOG 2>>$LOG

mount >> $LOG
echo "$(date) mount finished" >> $LOG

\data\link2sd-11link2sd.log

Mon Jun 3 17:51:39 CEST 2013 mounting...
mount: mounting /dev/block/mmcblk0p2 on /data/sdext2 failed: Device or resource busy
rootfs on / type rootfs (ro)
tmpfs on /dev type tmpfs (rw,mode=755)
devpts on /dev/pts type devpts (rw,mode=600)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /mnt/asec type tmpfs (rw,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,mode=755,gid=1000)
/dev/block/mtdblock0 on /system type yaffs2 (ro)
/dev/block/mtdblock2 on /data type yaffs2 (rw,nosuid,nodev)
/dev/block/mtdblock1 on /cache type yaffs2 (rw,nosuid,nodev)
/dev/block/mmcblk0p2 on /sd-ext type ext4 (rw,nosuid,nodev,noatime,nodiratime,errors=continue,commit=15,barrier=1,data=ordered)
/dev/block/mtdblock2 on /cache/download type yaffs2 (rw,nosuid,nodev)
/dev/block/vold/179:2 on /data/sdext2 type ext4 (rw,errors=continue,commit=15,barrier=1,data=ordered)
Mon Jun 3 17:51:39 CEST 2013 mount finished

\etc\install-recovery.sh

#!/system/bin/sh
#added by link2sd
LOG=/data/link2sd-install-recovery.log
echo "$(date) mounting..." > $LOG
mount -t ext4 -o rw /dev/block/vold/179:2 /data/sdext2 1>>$LOG 2>>$LOG

mount -t ext4 -o rw /dev/block/mmcblk0p2 /data/sdext2 1>>$LOG 2>>$LOG

mount >> $LOG
echo "$(date) mount finished" >> $LOG

\data\link2sd-install-recovery.log

Sorry, I can't find it

\system\bin\debuggerd

#!/system/bin/sh
#added by link2sd
LOG=/data/link2sd-debuggerd.log
echo "$(date) mounting..." > $LOG
mount -t ext4 -o rw /dev/block/vold/179:2 /data/sdext2 1>>$LOG 2>>$LOG

mount -t ext4 -o rw /dev/block/mmcblk0p2 /data/sdext2 1>>$LOG 2>>$LOG

mount >> $LOG
echo "$(date) mount finished" >> $LOG
echo debuggerd.bin launched >> $LOG
exec /system/bin/debuggerd.bin

\data\link2sd-debuggerd.log

Mon Jun 3 17:51:36 CEST 2013 mounting...
mount: mounting /dev/block/vold/179:2 on /data/sdext2 failed: No such file or directory
mount: mounting /dev/block/mmcblk0p2 on /data/sdext2 failed: Device or resource busy
rootfs on / type rootfs (ro)
tmpfs on /dev type tmpfs (rw,mode=755)
devpts on /dev/pts type devpts (rw,mode=600)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /mnt/asec type tmpfs (rw,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,mode=755,gid=1000)
/dev/block/mtdblock0 on /system type yaffs2 (ro)
/dev/block/mtdblock2 on /data type yaffs2 (rw,nosuid,nodev)
/dev/block/mtdblock1 on /cache type yaffs2 (rw,nosuid,nodev)
Mon Jun 3 17:51:36 CEST 2013 mount finished
debuggerd.bin launched

They are quite similar, isn't it? What does that mean?

Thanks for your help
[Android Apps and Games] Totche:
Link2sd & GS4 & app2sd

Hi, i have a i9505 and apparently app2sd doesn't work with him, so i have a message as i can change the folder for "moved apks".

Sorry, can't post picture due to low messages number.

Do you have a solution ?

Thanks.
[Android Apps and Games] egingell:
Just because you can't post pictures, doesn't mean you can't post the context of the "message". If you're going to post a vague bug report, you might as well not post it at all.

Sent from my E4GT.
[Android Apps and Games] Totche:
Thanks for response !

The message was displayed on "install location" => "App2sd is not supported by your device. Because your device has a primary external storage which is emulated from the internal storage.

You can link the app in order to move its files to your SD card."

Ok, if i unsderstand, i can move the apks, but not choose the folder ?

That's enough for you ?

Thanks.
[Android Apps and Games] egingell:
"Install location" doesn't really have anything to do with Link2SD's operation. That is only to change Android's built-in setting for whether an app gets installed "On SD Card" (external) or in /data/app (internal). You can't actually choose the folder that Link2SD uses to store the apps, libs, or dalvik-cache, you can only choose how big you want it to be (when you partition the SD card).
[Android Apps and Games] Totche:
Ok, i have followed a tuto on xda for foldermount and link2sd and create a partition of 10Go on extsdcard.

With your explanation, i understand that all the apks moved with link2sd will go in this partition, i'm right ?

Thanks.
[Android Apps and Games] egingell:
Should, yes.