yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] zigeddy:
I did use es file manager. No sign of that script. I didn't locate even the init folder.. I checked thoroughly inside the etc folder.
[Android Apps and Games] Holmes.Sherlock:
I mis-typted. The correct location is /etc/init.d/11link2sd.
[Android Apps and Games] zigeddy:
All the same. No such folder on my phone. Not even the script. Searched it. Is that script created upon creating first link for some app, or when u start the link2sd for first time?
[Android Apps and Games] egingell:
It should offer to write it. You can try "recreate mount script" if you haven't already.

There's also /system/bin/debuggerd (if /system/bin/debuggerd.bin is there, then /system/bin/debuggerd should be pain text. Note: If you delete /system/bin/debuggerd , replace (by renaming) it with /system/bin/debuggerd.bin.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Android Apps and Games] Holmes.Sherlock:
In my case, /system/bin/debuggerd is being used by Paragon Mounter app.
[Android Apps and Games] zigeddy:
I am a bit confused . Tbh i don't know why i am even checking to see if i have these scripts. Can you maybe explain me why should i/or shouldn't have them. The only thing that interested me from begining was can i actualy use link2sd free version witout worries that my phone will start to misbehave...
[Android Apps and Games] Holmes.Sherlock:
Which handset are you having? If the phone runs in Boot-Loop, then there is Init.d Toggler solution I posted above.

Whether that solution is universally applicable, I can't comment on that. Because I am yet to understand the root cause of Boot-Loop problem that Link2SD causes.
[Android Apps and Games] zigeddy:
I have samsung galaxy s3 mini, rooted ofc. The thing is, and i was trying to explain it to you. I have had no boot loops for now. I just wanted to know if the free version affects phones just like the plus one does. So for now i don't have any boot loops, no missing apps etc.. but i didn't link any app, because i wanted to know beforehand what would be the possible problems. For now only thing i did was entering link2sd and the app mounted the second partition on sd card and asked for reboot. After that i read the forums and noticed some people have had problems, so o wanted to wait with linking the apps. Do you understand now my problem?
[Android Apps and Games] Holmes.Sherlock:
I understand. Already pointed you to read official FAQ searching for the word "missing". Did you care to do that?
[Android Apps and Games] zigeddy:
I did read it. My prevoius post sounded a bit harsh, but i assure you i appreciate all the people here that are helping.

For now i don't have any missing apps, but i would be more concerned with the thing that phone can go i boot loops, or even worse. For the moment i don't even have any backup made, i wouldn't want to build my phone from scratch.

I am not even sure do i want to use it or just delete it and save myself the troubles.
[Android Apps and Games] Holmes.Sherlock:
If Link2SD could already mount SD partitions without the phone going into boot-loop (if I haven't understood correctly from your original post), surely there won't be any such trouble at a later step, e.g. linking apps. Feel free and use it.
[Android Apps and Games] zigeddy:
Yep, no such troubles, it warned me when i entered the app for the first time that it will mount the partitions on sd card, it rebooted back in the phone with no problems.

I was only wondering what could cause the boot-loops, linking of aps or mounting the partitions. I also rebooted today just to see if anything will happen, all is good. I will do first some kind of backup, just in case, and then will proceed and try to link some apps.
[Android Apps and Games] Holmes.Sherlock:
Only point I wonder about is the non-existence of either /etc/init.d/11link2sd or /etc/install_recovery.sh.
[Android Apps and Games] zigeddy:
I double checked for the both files, using es file explorer (root explorer is turned on), didn't find them, used also search in explorer, still nothing. Were they supposed to be created when the link2sd asked for the permission to mount the partitions on sd card, or when u link the first apps?

If latter, maybe it will be craeted when i link first app?

P.s. What backup would be best to use, should i do a nandroid backup, or use some apps to do a backup?
[Android Apps and Games] Holmes.Sherlock:
First one, when Link2SD asks for permission to mount the partitions. These are the start-up scripts responsible to mount partitions at boot.

Don't know much about backups, but you can give a try to Titanium Backup. Users of TB are mostly satisfied.
[Android Apps and Games] egingell:
I love Titanium Backup.

And one of the three files mentioned must be present/modified. There's no other way.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Android Apps and Games] de vetnek:
apps missing

Hi all,

I encountered a problem that should have been solved in the last release.

I'm on 4.4.2. with a chinese Leagoo lead 1.

I created an ext4 partition (as ext2 wasn't working on my phone)

I created the links to apps that were on the internal mem. like facebook and whatsapp and also play store. but now they're "gone" and sofar I have not found them back, :/

Also when I rebuild the mount script they're not showing up. and in the linked apps section they're not showing up.. hmm. bit weird but anyone who has bright ideas of the whereabouts of whatsapp, facebook and play?
[Android Apps and Games] Holmes.Sherlock:
Read official FAQ searching for the word "missing"
[Android Apps and Games] de vetnek:
I've been reading that. and there is nothing that really makes sense.

If some apps are still missing from "My apps" afterwards, just install any app from the market and they will show up. uhmm yeah. but my market aka play store is missing too

Q. I switch off my phone to remove the SD card, then switch on while SD card is removed. After I insert SD card again all apps that are linked to SD card get force close and failed to open.

On Android 1.6 and 2.1, missing app permissions may cause these force closes.

On Android 2.2+ this is not the case, you can remove, reboot and re-insert the SD card without any problem.

On Android 1.6 and 2.1, the only way to recover from this is re-installing the app. You can re-install the app within Link2SD, it will re-install the application from the existing apk file, does not download anything.

The issue is that, if an app can not be found by the package manager at boot time its permissions become missing on Android 1.6 and 2.1.

Even if it is avaliable for subsequent boots the permission problem continues and only re-installing can repair it.

My SD is very much inserted.

Secondly when I take a look at the ext4 partition. there is a folder Lost+found.... but that one is empty.

I've chosen recreating mount scripts, did full reboots, hot reboots. But the apps simply wont come back....
[Android Apps and Games] Holmes.Sherlock:
Did you convert those apps to user apps?
[Android Apps and Games] de vetnek:
No I did not
[Android Apps and Games] Holmes.Sherlock:
Does that go in-line with what developer says?
[Android Apps and Games] doctor-who:
This app is great and in same time pain in the a..!@when I get into trouble from screenshots below
[Android Apps and Games] Holmes.Sherlock:
For some reason, the second partition of your SD card is being mounted read-only.

Your /system/etc/init.d/11link2sd should look like

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

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

mount >> $LOG
echo "$(date) mount finished" >> $LOG
[Android Apps and Games] doctor-who:
I don't know how looks at that time because I did hard reset and restore... now looks like this

#!/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

I remember used second partition for half year without such problem and now this one I using 2 days then became read only. Im feel really low when I know that read/only can happen in every time without warning without cause
[Android Apps and Games] egingell:
SD card gone bad.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Android Apps and Games] doctor-who:
That happened with 3 sd card before this one. This one is class 10 not old much, never used swap never forced it
[Android Apps and Games] Holmes.Sherlock:
Can you delete the partitions, repartition it and run a SD card write test?
[Android Apps and Games] doctor-who:
This morning did it.. created ext4 with aparted. Which app for test to use?
[Android Apps and Games] Holmes.Sherlock:
SD Card Tester
[Android Apps and Games] doctor-who:
I used this https://play.google.com/store/apps/details?id=ales.veluscek.sdtools
[Android Apps and Games] Holmes.Sherlock:
Hmm, the result looks good. I doubt whether Link2SD plays something else behind the scene apart from apparently placing the link2sd script.

If you have patience, read back a long post I made day before yesterday where I elaborated how I faced a boot-loop problem (due to some failure in mounting) and how miserably I failed to convince myself in explaining the reason.
[Android Apps and Games] doctor-who:
Ok dude I will read but just to tell you I don't blame link2sd for read/only issue. That just happens with ext4 and once happened with ext3 file system. Didn't tried with ext2 but how "lucky" im....

P.S. tell me how to unmount second partition?

That will save my time next time when file system became read/only
[Android Apps and Games] pckarma112:
http://xdaforums.com/showthread.php?p=3578 Huh. The other day it was a user linking system apps. Today its the second partition becoming read only.
[Android Apps and Games] Publiuss:
Hi

Try to fsck your second parition with e2fsck.

If you (like me) cant't check when in use, try in recovery (with aroma file manager's terminal) or mounting it in a linux box.
[Android Apps and Games] egingell:
That link goes nowhere.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Android Apps and Games] doctor-who:
I did e2fsck from aroma file manager in cwm and appears many errors which offers me to fix. I confirmed every one with yes and says fixed and after reboot partition is again read/write but when I first time link app from internal to sd-ext the partition again became read/only :D

Guys it's ok for me somehow but that is big problem with sd-ext partition and we all should find solution for that! Agree?
[Android Apps and Games] hello_world.c:
Data (SDcard) moving

I am on CM11/Android 4.4.4. Many games store their data in /data/media/0/Android/data/... which Link2SD can't move. I've tried to move such directories manually to my second SDcard partition and replacing the directory in /data/media/0/Android/data/ with a symlink. Some applications work that way but the games mostly crash or don't recognize the symlink directory and want to download data again (and then hang or crash). Is that why Link2SD doesn't offer this option? Can anything be done to move this data?

Sorry if this has been asked before.
[Android Apps and Games] iPusak Gaoq™:
That because the games detect its data on internal memory first then your SD card...it will not going to detect for its data on you 2nd partition...that is why move games data won't work...you have to modified the games so it can detect its data on your 2nd partition to make it work...

Also if moving external data to 2nd partition do happen then user might have to make larger 2nd partition than their SD...this might waste a lot of storage for installing and etc...
[Android Apps and Games] hello_world.c:
That's what the symlink should take care of, so that applications don't have to "know" about the actual location of the data directory. In Linux, I can't imagine this *not* working, but I guess Android is different, either the system or the applications disregard symlinks.
[Android Apps and Games] huzefaonline:
Hi, Guys i need help creating ext2 partition on my sd card. downloaded some apps from playstore but cant do that. am using htc sensation with CM11.
[Android Apps and Games] Holmes.Sherlock:
Do it from PC. Use MiniTool Partition Manager.
[Android Apps and Games] huzefaonline:
my device is being shown as a portable player due to which MiniTool Partition Manager is not recognizing the device as a harddrive. i've enable usb debugging but to no avail.
[Android Apps and Games] Holmes.Sherlock:
You have put the SD card in a card reader and attach it to PC. Keeping it inside your phone, no matter USB Debugging ON or OFF, it doesn't work.
[Android Apps and Games] doctor-who:
Aparted from playstore
[Android Apps and Games] Holmes.Sherlock:
That app, IMHO, is not yet matured. Interface is confusing sometimes. It's easy to make a mistake.
[Android Apps and Games] huzefaonline:
I just did that and guess what, the minitool partition software failed and now my sd card is corrupt :@
[Android Apps and Games] hello_world.c:
Do you have any Linux computer? If not you can also use any Linux live (boot from USB) distribution such as Knoppix, Linux Mint, Ubuntu etc. In there, open a terminal with your USB reader attached and enter

sudo su

fdisk -l

If you see your card listed there all is not lost. It should be listed as /dev/sda, /dev/sdb or similar. Then enter (if your device is /dev/sda)

fdisk /dev/sda

and you get the fdisk command prompt where you can rebuild your partition table. There are instructions all over the Internet.

You can also use gparted if you prefer a graphical partition editor.
[Android Apps and Games] huzefaonline:
i just formatted my sd card using another phone and it worked. used the tool to create another partition and now all is well :)

just one more thing, using the link2sd app, when i create link, does it mean that my app are moved to the partition i created on sd card? if it does then why does the app still show in internal storage?
[Android Apps and Games] spaboleo:
Hello,

I just purchased Link2SD plus and managed to set it up with my device, an Android 4.0.4 powered ebook reader (Onyx Boox Lynx T-68), which I was able to root and the kernel execute init.d scripts.

I took my prepared microSD card (2 partitions each 8GB, 1st FAT, 2nd ext2) out and checked the ext2-partition. The linked data and lib-files were correctly moved to said partition, so I guess Link2SD is doing it's job flawless. :good::)

But there is one issue regarding that particular device.

It only has 4GB of internal flash storage, which is devided like this:

/cache 248MB

/system 364MB

/data 496MB

/mnt/sdcard 2.27GB

The /mnt/sdcard is the problem, as all the installed apps that store a lot of data (such as offline archives or media files) would make use of it (for example Pocket, Evernote, Umano etc.). They usually place their content files on the sdcard under /Android/data/com.developer.app/.

The developers of the Onyx ebook reader renamed that mountpoint to "/flash" in their latest firmware update, as not even the Android native "move to SD" option worked with the previous version and the small /data partition was filled with data in the blink of an eye.

However "mnt/sdcard" still exists and is obviously used by said apps, instead of using the additional partitions on my real external SD card:

/mnt/extsd 7.46GB (FAT32 for data)

/mnt/sdext2 7.46GB (ext2 for Link2SD)

Is there a way that I can link the /mnt/sdcard/Android/data to /mnt/extsd/Android/data ?

Could I just create another init.d script (for example with the tool Universal Init.d) and place it chronologically after the "11link2sd" script with the content:

ln -s /mnt/sdcard/Android/data /mnt/extsd/Android/data

Or won't symlinks work in that case? :confused:

Or is there a way to do this from within Link2SD?

Thanks in advance :)
[Android Apps and Games] huzefaonline:
I need to free up internal storage but even after linking apps to sd card ext2 partition, they are still shown in internal storage with all the space consumed. Shouldnt they be shown in sd card?
[Android Apps and Games] egingell:
Use Directory Bind or Folder Mount for linking extsd folders to intsd folders.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Android Apps and Games] Holmes.Sherlock:
You can you give a try to FolderMount
[Android Apps and Games] doctor-who:
If data/data is still in internal then those apps will be shown in internal memory too
[Android Apps and Games] Holmes.Sherlock:
Please read the FAQ, specifically the question: "I've linked an app, but when I go to "Settings -> Applications -> Manage applications" I see that the app is still on my Phone, "Move to SD card" button is active".

If you check the storage requirement of an individual app, it'll show the same. Compare the storage availability before and after linking the app.
[Android Apps and Games] huzefaonline:
ok. there was a difference in the storage capacity before and after moving the app but i was just curious to ask about it :)
[Android Apps and Games] egingell:
At one point, it looked like my SGS2 had more data than space for said data.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Android Apps and Games] nds850:
I'm having trouble installing Link2SD Plus. I get an error message saying thtat I have insufficient storage space. I have reinstalled Link2SD but i doesn't help. I have lot's of free space and the file is really small :confused:

Changed the install location to automatic and was able to install it!
[Android Apps and Games] hello_world.c:
Sideloaded apps disappear, can't reinstall

It seems that Link2SD is dangerous to unusable under KK 4.4.4 (CM11). It works at first, but apps randomly disappear from the app drawer (AND from Link2SD!). Regular apps I can then reinstall from Play Store and they keep their data so I can continue where it broke.

It gets nasty with sideloaded apps, though. Those can't be reinstalled from Play Store obviously but they can't be reinstalled from the .apk either. In my case I have XBMC and one other app affected. Regular install attempts say "insufficient space" even though there is plenty of space. Titanium Backup hangs when trying to restore it, any method available. I tried:

manually removing all links to anything xbmc-related in the system (with root explorer) before trying to install again

unlinking all applications in Link2SD (copying back to regular storage)

wiping second SDcard partition

uninstalling Link2SD

recreate mount scripts, reboots, etc.

NOTHING helps. Does anybody have any idea what to try, short of wiping my tablet and starting over?
[Android Apps and Games] spocko:
Linking data files

Anyone here have experience with the newly added "Plus" feature which allows data files to be linked to SD? I've been using FolderMount, but am considering switching over. I'd like to hear any other experiences, positive or negative. Thanks.
[Android Apps and Games] pckarma112:
Try this

You might try the clean up dalvik cache in settings in tb. If I remember correctly. I think that worked one time. But, later. I had to rely on a nandroid backup. It was that or full wipe. Sucks.
[Android Apps and Games] marniel647:
Anyone experiencing this kind of bug. when i link an application to SD card. all my apps in the list will become duplicate. Restart is my current workaround but i hope it can be fix in the next update. Thanks
[Android Apps and Games] doctor-who:
Hehehe same here.. that is not issue, just exit link2sd and open again :thumbup:
[Android Apps and Games] marniel647:
Yup i think i did not encounter this issue now. Thanks

Does link2sd can backup the link files is i'm upgrading my sdcard or i need to re-install the apps again.? Thanks
[Android Apps and Games] iPusak Gaoq™:
The only thing that i hate about this apps since plus version appears it the ability to linked apps/dalvik-cache/lib that have already been install/move in your sdcard (native move2sd)....back then (before plus) you can directly linked it without any problem but now you can't...you have to move those apps back to phone memory first then only then you linked it to your ext partition...quite annoying since back then one step is needed to linked it but now two steep is needed...it will be even more annoying for those who have small internal memory cause their devices might lacked of space for moving those apps/games to internal memory first before linked it...
[Android Apps and Games] nikctsh:
Just download an application name universal androot , then install it . Open it , if u really scare to root your phone for the first time , then check the box "soft root" , and then just click the root botton (i did this as well because at the first time i am really scared to root my phone , but everythings work fine on my xt720 android 2.1 update-1) . It should takes you about a few second . After "soft root" your phone ,test using it , if your phone works fine without any crash , then just uncheck the box soft root and simply click on the root button again . I restart my phone after i root it without "soft root" . However , i'm not sure whether it will works on your phone or not so i don't take any responsibility if you crash your phone (the percentage is really low). Just give it a try ! It should be ok .
[Android Apps and Games] bakpinar:
Try reinstall the one of the applications you linked with the "Reinstall" button in Link2SD.

This will reinstall the app from existing apk file without downloading anything and fix broken permissions. Then reboot.

If it is fixed after reboot reinstall all other broken apps in same way.
[Android Apps and Games] nikctsh:
well , i have just read this thread and have understood what actually going on with my app that force close . I have reinstall it and i really works . Maybe this happen when after i boot my phone and my phone unable to detect my sd card.

When i reboot it , those linked app will began to force close when i open it right ? But this problem happen to my phone frequently !!!!! Then i'll need to install so many app every time ? Is it possible for you to help me fix this problem ? I'll really getting crazy if the problem continues and i'll have to reinstall it...
[Android Apps and Games] bakpinar:
UPDATE:

1.5.0

- added ext3, ext4 and FAT32 support for the second partition of SD card

- added refresh menu

- added "Not Linked" filter option

- changed App2sd checking

- added support in linking protected (/data/app-private) apps

- added support in detecting and mounting the second partition for some roms

- some bugfixes

The biggest change in this release is to support ext3, ext4 and FAT for the second partition of SD card.

Some phones lack the ext2, ext3 or ext4 file system support and you may get mount errors like "no such device", "invalid argument". These phones need a matching ext2.ko or ext3.ko modules and even some additional modules to be able to mount.

Using FAT32 on the second partition will eleminate such problems, because FAT32 is supported on all phones.

Hope you enjoy!
[Android Apps and Games] Zulda:
Unfortunatelly same prob as in post #436. On every run Link2SD asks for type of 2nd partition, then ask for restarting phone (Mount script created, plese restart...).

In root of my Spica I can see /sdcard, where is 1st partition mounted, and also /sd-ext. Is it 2nd partition? There are no permissions to read or write on this folder....
[Android Apps and Games] lopiumy:
I have Samsung Galaxy 5, and I facing problem on mounting ext2 also, I've try link2sd 1.5 that allow fat32 and problem still persist.
[Android Apps and Games] bakpinar:
Have you reformated your second partition as FAT32?
[Android Apps and Games] ChungHung.Chen:
Dear Bakpinar,

Thanks for great-again work, but one small question.

In FAT32 mode, does two FAT32 partitions both need to be "Primary" ??

And second partition will be used to store APK & Devlik-cache, right?

Thanks again!!