yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] suriblackpearl:
LINK2SD error

mount script cannot be created [4]:cat::No space left on device

pls. help me on this.

recently i changed my rom to cm-11-20140316

kernel version:3.0.101-Cyanogenmod
[Android Apps and Games] kotey:
try df and see if your space really is 0. happened to me last month when my samsung suddenly decides to reinstall afrinolly.apk and VideoHub.apk, causing 0 bytes free in /system. delete all copies of the offending apk from /system/app, /system/csc/common/system/app and optionally from /preload/symlink/(some dirs) if exist. since i got bootloop i had to do it using adb on boot recovery using a pc.

do this:

1. uninstall link2sd. install latest LP.

2. run LP and do nothing. it should delete the old odex automatically.

3. uninstall LP. dont use it on link2sd, it will refuse to run anyway.

4. reinstall link2sd from playstore.

if still fail, uninstal link2sd, use a root browser, go to /data/app and delete com.buak.link2sd-1(or 2).odex if exist, then reinstall link2sd.

and please dont use LP on good apps from good devs.

I noticed the same thing, Link2SD notifies when it has nothing to do with the uninstalled app. In my case, the app was installed to internal memory.

Is this a bug?

And I have another suggestion regarding 'delete external cache' which is a continuation from my earlier posts:

- Now Link2SD has the option not to delete external cache (big thanks for that!)

- But it still shows correctly the total amount of the cache 'it won't delete' :P

Can this 'cosmetic glitch' be corrected?

I mean if user selected to clean external cache, then include the total amount (show total internal+external).

If not, exclude the ignored amount from total, just like older versions (show internal, don't show external).

Not critical, but it will be nice if it can be made nicer...
[Android Apps and Games] minimog123:
how can i install it for my cook rom? i use it and have Force Close...
[Android Apps and Games] Immortalsudar:
linking

I have a rooted htc wildfire s marvel i have made a second partition in my sd card whenever i install a app I link it to sd card eventhough my internal storage is getting filled up quickly i can hardly install 6 apps only and once i downloaded a wallpaper app from playstore of 3 mb after linking it i went to storage and saw that even after linking the same 3 mb was filled in my internal storage what should i do for installing more apps cause people here are saying they have installed 40+ apps in their wildfire s
[Android Apps and Games] fuehrer:
I don't want to use the link2sd, is there a way to move the apk files from /data/app to data/sdext

using terminal?
[Android Apps and Games] egingell:
Yes. That's what this app does.

busybox mv -f OLD NEW

ln -s NEW OLD

rm OUTDATED

... and also the dalvik-cache file (/data/dalvik-cache/folder@folder@filename@classes.dex) and the libs (/data/data/package/lib each file if any or just move&link the folder).

Very important!:

* Your second partition must be mounted when the /data partition is mounted (before the boot animation is shown).

* Do not move&link the whole app folder. If the second partition fails to mount, you will have no apps.

* It might be safe to move&link the dalvik-cache folder. At worst, it'll get rebuilt at boot.

* When an app is updated, you have to relink everything for that app, and you'll want to delete the old APK and the old dalvik-cache file.

* It's so much easier and safer to just have this app do it for you.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Android Apps and Games] shikhar623:
Hello Egingell

recently I stumbled upon Int2Ext. It is a flashable zip that mounts a partition of memory card, and shows it as an internal memory thereby making the internal memory equal to the ext.partition. this seems a better option as everything is moved into ext partition. (In contrast to Link2sd where Data is not linked, making the phone run out of memory after significant number of apps).

What are your views regarding Int2ext?

Thanks
[Android Apps and Games] egingell:
My views? I don't think apps like this or scripts like that should be required. People should be allowed to make their own decisions regarding their devices' storage.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Android Apps and Games] shikhar623:
I mean is there any potential risk of using this script? I am considering that option bcoz it solves the internal mem problem completely. I am skeptical bcoz it were any better then why would ppl still use link2sd.
[Android Apps and Games] egingell:
There's risk in everything you do to change the behavior of your phone.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Android Apps and Games] UchihaTech:
Hey Friends,

I AM A NOOB.. PLZ HELP ME

I rooted my phone one month back and yesterday purchased Transcend 16 GB Class 10 Memory Card and I even partitioned it using MiniTool Partition Wizard windows program. I read many tutorials of different sites including one of XDA. But when I installed link2sd it would show SD CARD SECOND PARTITION NOT MOUNTED. I tried every tutorials on my card but still the problem remains. Few moments ago I created a 11.76 GB FAT32 primary partition and another 2.99 GB FAT32 partition(second partition).. but problem still remains the same...

HELP ME OUT FRIENDS... THANX.. GOD BLESS
[Android Apps and Games] iPusak Gaoq™:
Hmmm....both partition need to be set as primary if you want to make it work....also change your second partition from FAT32 to EXT4...it will run a bit faster than FAT32...

Brought To You By Xperia Mini Pro™ Using Tapatalk Pro
[Android Apps and Games] Whosat:
Try formatting your second (link2sd) partition as a PRIMARY EXT4 partition instead.

Is it a bug that the emulated storage on Samsung phones appear as the SD Card instead of the real first partition of the external SD card?
[Android Apps and Games] fuehrer:
i'm confused with this code

should what should be the value of outdated?
[Android Apps and Games] egingell:
The old APK following an update.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Android Apps and Games] PamelaGirl:
Hello Good People,

I have Link2SD setup to copy all files to the SD card.

I have notices a slight performance decrease in my device.

Question- are there any apps that I shouldn't be putting on my SD card?

Like Holo Launcher etc?

T.I.A.
[Android Apps and Games] egingell:
The external SD card is nowhere near as fast as the internal storage, so you will definitely get some lag. As far as what apps you can and cannot put on there is a matter of preference. Basically, don't move apps that you don't want to be laggy.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Android Apps and Games] dreccon:
Even a class 10 sdhc or an sdxc card?

Sent from the 3rd dimension!
[Android Apps and Games] egingell:
Well, maybe not the card itself, but the bus or bridge. It's like the difference between accessing your computer's internal hard drive and one over USB. Even if they're the same speed hard drives, the internal will be faster.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Android Apps and Games] Siyad@AM:
I was using this App for years . But this is first I see the Awesome Dev :D
[Android Apps and Games] mitch121:
Moving Encrypted Apps to Phone

Looks like there may be a bug (or feature!) with the multi-select handling of encrypted apps.

If I Long-Press an encrypted app and select "Move to phone" (and select OK) after a few seconds the application is moved to phone, i.e. encryption removed as expected!

If I Multi-select an encrypted app and select "Move to phone" (and select OK) I immediately get a message stating "The operation completed successfully", but the application is still encrypted.

Having the capability of selecting multiple encrypted apps and moving to phone at the same time would be great.

My phones are: Samsung Galaxy S2 and Galaxy S4.
[Android Apps and Games] Dovidhalevi:
Contacted directly, posting here for any user ideas around:

Kitkat problems, Omnirom, Cm-11 (on LG P500, others?)

1. After flash or rom update (not "clean" install but wiped dalvik), link2sd fails to recreate mount script "device busy...." If I place my own copy of the script, then link2sd can recreate the script. Problem minor because I always keep a copy around. Major if I do not have the copy :)

2. These ROMs, on upgrade flash, seem to always redo all the symlinked dexes (dereferencing them). If they do not all fit on internal storage with room to spare, boom! Link2sd's Achilles Heel.

No matter what I do, using link2sd to relink all the linkage or doing so with a bash script. to regain internal storage, next reboot, it happens all over again. If this be partial dereferencing, recreating the mount script and rebooting would sometimes cure it. If it is total, seems no way out. I simply cannot upgrade the ROMs.

The dereferencing happens, of course, before there is any dalvik running and before any link2sd is up. Question is what link2sd can do to prevent this, I suppose. Wish the ROM devs would also come in on this!
[Android Apps and Games] Dovidhalevi:
MORE ...

Theory 1: Selinux permissions.

The P500 4.4.2 Omni has a file_context file on the installation zip's root. Not used in flashing. Has folder marked for Dalvic cache for /cache, /data and /sd-ext. No mention of our mount point /data/sdext2. Short of adding (for apps as well!) and rebuilding the ROM, could adding symlink or mount -rbind to mount script overcome this if this be the problem?

Theory 2: Rendundant entries in /data/app-lib, etc.

Mukulsoni's cm-11 for P500 thread: http://xdaforums.com/showthread.php?t=2589303&page=137

Can be manually corrected but looks like something that should be checked/corrected by link2sd.

Link2sd's Achille's heel presently requires manual workaround which can be quite a bother and guesswork. Link2sd has all the information inside to accomplish this automatically should the user so-choose, such as:

Option: Prepare for dalvik cache wipe

Actions: Backup and remove enough larger-dexed symlinked apps to leave enough space for successful reboot after all remaining symlinked dexes get rebuilt on /data/dalvik-cache.

Do wipe?

Reboot, option to recovery.

Option: Rebuild symlinked dalvik cache

Actions: Relink all current apps shown as symlinked in program's data.

Reinstall, relink apps backed up.

Remove backed up references.

Recreated mount script and reboot.

User on thread reported that doing all this cured 2nd problem I reported.
[Android Apps and Games] PamelaGirl:
Thanks!

What you said makes sense. I will return some Alps back to the phone's memory to increase performance.

Again, congrats on a wonderful app!
[Android Apps and Games] egingell:
It's not my app, but... you're welcome. :p

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Android Apps and Games] PamelaGirl:
Another reason why I should sleep after being up for 26hrs!

LOL
[Android Apps and Games] bakpinar:
Hello, there is a new beta version with long-awaited "linking internal data directory (/data/data/<package>)" feature.

It is a feature of the Plus version and you need a non-FAT (ext2, ext3, ext4 or f2fs) second partition for it.

Because the FAT file system (FAT16, FAT32 or exFAT) does not support traditional Unix (POSIX-compliant) file ownership or permissions and will cause a security breakdown of app's private files.

This beta is for your testing so please test and let me know how it goes.

Thanks
[Android Apps and Games] rahul9871:
Can I move system apps on SD card?
[Android Apps and Games] egingell:
Yes, but it's not recommended.

If you convert them to user apps first; however, by doing so, most *will* lose the special privileges Android grants them and cease to function.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Android Apps and Games] happyBOY78:
I tested new beta, all is working fine.

I move /data of 3 biggest apps, which i have in my phone..launch it and no problem. I have slow-speed SD card and operations are without problems too..

Thank you for new feature :good:
[Android Apps and Games] Dovidhalevi:
Nobel prize for this one. Finally a non-kludged solution for limited internal space.

BTW, on some devices, /cache is mostly empty. Might put some stuff there. Folks are moving the dalvik-cache back to there which to me is playing on the edge. Some of that app data might be better there and it is faster storage!
[Android Apps and Games] shikhar623:
Bug:

I hv set the list of User apps as visible. But everytime I start the link2sd it shows All apps.

I have to toggle it to some other option and then back to User to see the User apps list.
[Android Apps and Games] bakpinar:
I can't reproduce the problem using 3.4.beta1. Do you use this version?

Does anybody else have the same problem?
[Android Apps and Games] shikhar623:
Yes I am talking about 3.4.beta1.

I am including the screenshots. Pls hava look at them.

The 1st SS is as I launch the app. In 2nd and 3rd SSs the app behave as expected.
[Android Apps and Games] bakpinar:
Filtering has not changed in the beta.

Did you test the same in latest production version (3.3.1)?
[Android Apps and Games] shikhar623:
It was okay in 3.3.1. Anyways its not a big issue. Hope it gets resolved in final release.
[Android Apps and Games] Whosat:
The official update is now available on the Play Store!
[Android Apps and Games] johnny_cage:
[MENTION=3258861]bakpinar[/MENTION] thank you for the last release!!!! :laugh: :good:
[Android Apps and Games] tobbbie:
Is there a way to move an existing sdext2 formatted with FAT32 to one that has these access rights - without loosing its content? Will later (once files reside on the new filesystem - done externally on the SD card) the links to the new partition work again - without re-linking?

So effectively: How can I migrate without having (too many) apps moved/recreated on /data?
[Android Apps and Games] ivanchin99:
Updated to the newest version on playstore. Got this (refer screenshot).

Recreated mount and reboot. Apps linked just fine but storage remains the same :confused::confused:
[Android Apps and Games] Dovidhalevi:
Newest playstore version. Beta was OK:

I had up to 120 meg free with some internal data symlinking.

Rebooted a couple of times for unrelated reasons. Apps that upgraded earlier upgraded again each time (play services data symlinked, play store not, but this should be based on-line). Also lost internal data space, down to 80 meg.

Maybe will get it back after a time, as sometimes occurs, but so far not. Trying re-creating mount script and reboot. Will see. Please look into this. Thanks.

EDIT: After reboot had 100meg. 20meg still "missing." Anyway ...
[Android Apps and Games] tomaasz:
v d c q VCD to

Wysłane z mojego GT-I8190 przy użyciu Tapatalka
[Android Apps and Games] 17viper17:
I'm both happy and sad about the latest version that finally we can link app data to sdcard card. I want to try it because internal space is really limited on my phone. However, I've already killed 2 sd cards using ext3 partition (link2sd would only accept ext3 for my phone) could be coincidence on both occasions but I really don't want to risk killing a third one. I'm on a fat32 partition right now but I really would love to have this feature. Does ext3 really shortens the life of an sdcard?
[Android Apps and Games] baudy2:
Link2SD Pro usage

Hello,

I have HTC One M8 and have a limited internal SD size (16GB out of which 10GB can be used).

Recently installed a new 64GB MicroSD and Link2SD Pro version.

Have two partitions which are visible by Link2SD as 45GB of Fat32 and 20GB of Ext4. Both are primary as recommended.

Now trying to move the game files from /Android/data and /Android/obb to the external microSD card without success.

I am , probably doing something wrong. Is there any Howto for this ? I've tried to "Create a link" or "Move to SD card" but the files are still located in original installed main SD card in /Android/data and /Android/obb/

Anyone can help ?
[Android Apps and Games] tillward:
You need to make sure app is installed on internal, as opposed to SDCard, then just create link and tick all the boxes. The data will still appear to be in it's original location. That's the idea. It will actually now be on the SDcard. :D
[Android Apps and Games] nie11kun:
can link data to second partition now?
[Android Apps and Games] Z3R000:
Beta

So how can I get a hold of the beta?
[Android Apps and Games] egingell:
Just update it.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Android Apps and Games] johnny_cage:
data-link: great feature!!!!

I'm unable to clear cache

HTC Legend CM10 4.1.2
[Android Apps and Games] baudy2:
This does not work either. All the apps are getting installed to Internal storage (which is the same as SDcard). But when i do "Create Link" with all boxes checked, the original data stays in /Android/data and /Android/obb in the internal storage, but Link2SD says that the Operation completed successfully.

Need more explanation.
[Android Apps and Games] Z3R000:
Oh, so there isn't a Google plus group to join or anything?
[Android Apps and Games] Selenophile:
Save me from the horrors of having a legacy device!

Thank you Dev! This awesome app save me so much space! 109mb of free space in system apps with apps from playstore installed! Man, the plus version and the new linking of internal data is a beast! Keep up the good work! :)
[Android Apps and Games] Dovidhalevi:
Link2sd helps us with older phones symlink stuff to the sd-ext partition so there is room on our phones for apps. On a more modern phone with multi-gigabytes of what they call internal storage, why would I need to use it? Also, on these newer phones, there is an internal sd and an external one. May even be used differently on different devices. So check what you have. (i.e., I have no /Android/obb anywhere, no /Android anything.)
[Android Apps and Games] egingell:
Not this time.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Android Apps and Games] Selenophile:
Just a question. Does auto clear external cache causes any bugs or problems of sort on my phone? I mean, does it break apps? And what do you recommend on the time it auto clear? I've set it everyday. So any opinion guys? :)
[Android Apps and Games] Selenophile:
Only in the plus version. Though I recommend you to upgrade to plus since the new feature is great. It saved me a lot of space in internal in fact, I still have 120mb of free space (quite big for a legacy phone like mine) even though I have more than 15 apps installed in which some are very big in file size :)
[Android Apps and Games] egingell:
Maybe it's time for an upgrade? You need more that 15 apps to be happy... at least 20... everybody's doing it. :p

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Android Apps and Games] Selenophile:
Okay okay :) But I really don't know what app is good for my Ace :( XD
[Android Apps and Games] shikhar623:
These two apps have large Lib files and negligible Data files. Presently they are on SD card. Will it be of any good to Link --> them??
[Android Apps and Games] tillward:
Have you checked free space before and after? The files should appear to be in the same place, but there should also appear to be a mirror of the same files on your SDCard.

/internal (Files in here originally, still appear in here once linked, but are actually symlinked ie moved to sd-ext)

/system

/cache

/sd-ext partition (Copy of files in here after linking. The actual file location)

/sd card

Try checking internal memory, linking a file, then checking internal memory again. Reboot if needed.
[Android Apps and Games] tillward:
Yes. Move them to internal, then link them if you want to gain some extra, internal space.
[Android Apps and Games] shikhar623:
Is that bcoz the Lib files are still in internal while the app is in SD card?
[Android Apps and Games] iPusak Gaoq™:
Hmmmm....you cannot link/move games data to ext partition...games data that located in android/data and android/obb is un-linkable...you games will not going to start or will redownload its data if you move/link its data cause most of the games is design to detect its data on internal sd (first choice) and then external sd (second choice)...
[Android Apps and Games] Dovidhalevi:
App data linking works just fine. No problems so far.

Another "plus" option, however, is problematic -- expected it to be: Linking system app dexes. Only tried a few that are not needed to start Android, contacts, messaging, phone=dialer, dsp, and omni's documents interface, etc.

After messaging, contact, and phone FCed, rebooted to see what happens. Four of the five+ I tried rebuilt the dexes and now work fine. Ones that remain are like apps that could be made user apps to begin with (as I have done with Apollo, Cameras, Galleries, Calendar--installed from Play, CM's file manager and others).

Ones that remain linked are: Phone (surprisingly!!), DSP Manager, Omni documents.

Would seem to me: /system/priv-apps entries should be excluded. Some sort of (internal) test may be in order to see if this be safe to do or doable at all. Sometimes, it does not really succeed (as indicated in unlink dialog) but "lost" the dex (the four that were redone on reboot?). This feature is still beta, I think.

UI:

"already not linked" maybe greyed, "not linked"

Grey out or some other indicator for undoables. All items will be "system app..."
[Android Apps and Games] tobbbie:
I have not such problems, but it seems that an upgrade of a system app which had linked classes.dex may not be treated properly. At least it did not work straight away and I had to re-link the system-app after I had integrated the updated app back into system.

As I have to replace my beloved Xperia Ray now due to the "black-screen after Wakeup" fault (which has no SW cure) - I will not invest much more here (next is Galaxy S4 mini) for now.
[Android Apps and Games] prajul1123:
hey, its taking too much time to move the files to extsdcard. any other method to move file?
[Android Apps and Games] aj.guyver:
can I use this to link to ext partition if my stock rom doesn't support ext partition? thanks.
[Android Apps and Games] egingell:
File explore. Command line. Magic?

If the ROM doesn't support it, it won't mount, so no. Sorry.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Android Apps and Games] baudy2:
Those are very sad news, indeed, as i was hoping that PLUS version does this and purchased it....
[Android Apps and Games] spannernick:
You can use FolderMount https://play.google.com/store/apps/details?id=com.devasque.fmount&hl=en_GB press List of pairs then go down to Apps analyzer and press on the game or app you want say WD S1 (Walking Dead The Game Season 1) press obb then it will say "do want me create the destination for you" or some thing like that,if you want it in a different folder on your SD card you can do it yourself.

Then press the tick at the top right when your done.

It will ask "Do you want it to move the obb files to the new destination",press ok to move them or cancel to move them yourself.

If its moving them you will see in the notification bar at the top.

Wait for it to do it might take a while.Once done go to List of pairs and press the pin to mount the new destination where the obb files are now,so now when you look in the Android/obb/game folder the files will still be there because they are linked.

Hope this helps works fine on my S3.
[Android Apps and Games] Arvind Jain:
E'lo All ..

Am unable to install Link2SD Plus on my mobile. The normal version of Link2SD is working fine though and am using it from past several years with no problem.

But when I try to install Link2SD Plus over Link2SD, am getting a note "Application not installed".

Can someone pls help me out.

Thanks in advance.

My Android version: 2.2.2 :(
[Android Apps and Games] bakpinar:
Currently internal data of the apps (located on /data/data) can be moved. Ability to move external data and obb files will be added in a future version.
[Android Apps and Games] SirGazereth:
It's ok i figured it out...yes...i'm stupid lol
[Android Apps and Games] viper001:
I tried this but some apps like roadsyc I've got to pay :( and facebook and youtube are unavailable :( :(