yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] khankll:
Out of space , free up some space to install when i have enough space

hi

i seem to have a lot of problem since the last update which was probably one month ago..

after that most of my apps gave force close and i wasnt able to instal any app.. it would say no space.. anyhow it happend once i dont remmber how i solved it.. but now i again have this issue..

i have 4gb sd card.. partitione to fat32 (total 2.7 GB and free 51 MB) and ext2.(1.02 gb total, free 590 MB) .. i cant install any app .. i always get error that Out of space , free up some space to install when i have enough space .. my stats are

/data total 167mb used 110mb free 56.6mb

/system total 170mb used 127mb free 43.34 mb

/cache is 92 mb free 90 mb..

so far i have tried recreate the mount script.. delet cache using link2sd's options.. relink lib files... tried restarting severeal times .. still no solution...

last time i got this problem after link2sd was updated... but i solved the issue .. though i got a lot of apps to be reinstalled.. now it happened again.. i am using the latest version.. i dont know how it happens...

the software that i m instaling is hardly 3mb

EDIT:

the app in question was giving foece close and was uninstalled and i m getting this out of space issue after reinstalling it. it seems that if i install an app that was not installed earlier i have no problem..

but installing app that was installed and uninstalled previously gets me this error..

it seems that even after uninstalling that app it has left some sh1t .. where it is ? i searched a lot but couldnt find anything...

EDIT 2

ok i solved the issue by following

by deleting the odex file that has the same name as the app in the /data/app/ directory .. only root explorer can find/see this file .. all other file explorers were un successful in seeing this ..

thanks

please help me ...
[Android Apps and Games] gu5t3r:
Hello,

I optimized the sd card speed before partitioning by changing

/sys/devices/virtual/bdi/179:0/read_ahead_kb

to 2048, do I need to do it separately for second partition?

Thanks
[Android Apps and Games] Kierrok:
No, 179:0 is the whole card.
[Android Apps and Games] hgmichna:
Does anybody know whether 2048 is not overdone? Mine was set to 128 KB. I set it to 2048 now, hoping that that is not a cargo cult.

By the way, I could do that very easily in ES File Explorer. It has a text file editor built in. Recommended. And free.
[Android Apps and Games] dynamite33:
After creating partition my phone still shows internal memory 200 mob! And can't instal any app when internal memory is full even though all apps are linked!!?! Ewe
[Android Apps and Games] azturbomini:
I followed your directions and am using a 32GBP SD card. I know I created the 2nd partition a bit large and plan to make it smaller. I just think I am doing something wrong because I can't see all of the SD card. Any thoughts?

Thank you
[Android Apps and Games] hgmichna:
The first question still stands, but now there is a second, much heavier question: How can I make the value stick?

When I opened the file today, its content had reverted to 128 on its own. This means that the proposal to edit this file seems like bad advice. It also means that, if you followed that advice, you'd better check again now.
[Android Apps and Games] gu5t3r:
read_ahead_kb file resets itself after reboot

You can use many programs that sets it to your value on boot like Adjust SD Speed

Or, you can create script in init.d folder on custom roms with line

echo 2048 > /sys/devices/virtual/bdi/179:0/read_ahead_kb

Or, if you have stock rom like me you can add above line to the end of /system/etc/hw_config.sh file
[Android Apps and Games] hgmichna:
Thanks! Has anybody tested for the best value? Any idea why it is reset upon reboot? Any idea why it is set to 128 in the first place?

This all sounds pretty crazy to me. But I'm not surprised.
[Android Apps and Games] gu5t3r:
Probably to save ram...

You can download SD Tools from market and test speed for each value 512, 1024, 2048...

My read speed boosted 30%...
[Android Apps and Games] hgmichna:
I used SD-Booster to set the buffer size on every boot. Excellent program! Does the job perfectly.

Raising the read-ahead buffer from 128 KB to 1024 KB boosted reading speed on a 32 GB Class 10 SD card in a Google Nexus One phone from 20 MB/s to 30 MB/s, a 50% speed increase. Larger buffers, like 2048, yielded no significant increase. Going from 768 to 1024 yielded only a 3% improvement. Measured with SD Tools.
[Android Apps and Games] vespper:
After few weeks i can't link more apps, and my internal storage decreased a lot, i get message like:

Fail:

create_link.com.twitter: cannot create /data/sdext2/dalvik-cache I/O:ERROR
[Android Apps and Games] hgmichna:
Read-ahead buffer tuning questionable

While I stand by my statement that SD-Booster does exactly what it says it does, and does it well, I have second thoughts about the purpose and now recommend to leave the read-ahead setting at its default. I will try to explain my reasons.

It is unclear what SD Tools measures. It certainly does not measure the sequential reading speed of the SD card.

Other SD card speed testers, like SD Card Tester, yield no such result. In fact, SD Card Tester shows the same speed, slightly above 10 MB/s, regardless of the read-ahead setting, which is much more in line with expectations of a Class 10 card.

Not even a Class 10 SD card yields 30 MB/s, as "measured" by SD Tools.

A larger read-ahead buffer in theory does not and cannot be expected to boost sequential reading speed.

The assumption that a faster SD card justifies a larger read-ahead buffer lacks any theoretical foundation. If anything, one might expect just the opposite.

A larger read-ahead buffer is expected to lower the reading speed when small blocks are read from various locations on the card (random access).
[Android Apps and Games] RhavoX:
That has nothing to do with the Link2SD actually. It is android's standard behaviour. For some reason it keeps old libraries while adding new ones. Even without links you would have those libraries in yourr data folders. Link2SD does not look inside apps to see what libraries they use, but it could do that though. This would slow down the process of relinking as every updated app had to be examined.
[Android Apps and Games] gbl08ma:
Is there any way to customize which partition is considered the "second" partition?

I have one of those cheap Chinese Android tablets with Froyo, where the native app2sd functionality is broken. On my tablet, the /mnt/sdcard is actually the internal userspace (and then there's a 512MB partition for /data which is not enough for all the apps I want to install). There's no safe way to create a second partition on the internal card, but I have two alternative options that I'd like to use with Link2SD:

1) Use a "hidden" 256MB partition on the internal SD card, at /dev/block/mmcblk2p6 (I think that's the recovery partition but it is not used). It is formatted as FAT and if I mount it as root, I can write to it (I also hope I can format it as ext without much damage to the system). This space isn't much but would already help free some space in /data.

2) Format a second partition on the external SD card. This would be the ideal choice, the problem is that there's no option in Link2SD to choose a custom partition. The external SD card gets mounted in /mnt/sdcard/sdcard1 (yes, it gets mounted as a node inside the sdcard node. Same with the two USB host ports)

Basically what I'm asking is for a setting that allows to choose the correct device for the second partition, from /dev, instead of having "second partition of sd card" hardcoded into Link2SD.

Here's a screenshot of a list of the mounts on my tablet: http://img.d3vm.net/images/2012724135.jpg

I think a second partition on the external SD card would appear as /dev/block/vold/179:???

Anticipated thanks! :)
[Android Apps and Games] Kierrok:
Link2SD doesn't need to check the package, just delete all the links in the lib dir, all the "old" linked files in the SD 2nd partition and link the "new" ones.

---------- Post added at 02:05 PM ---------- Previous post was at 02:01 PM ----------

The 2nd partition isn't hardcoded, it's discovered at install. Or at least Link2SD tries to discover it. It fails sometimes with devices with scenarios like yours (internal "SD" and external SD). You have to try it. And you can edit the mount scripts if it fails.
[Android Apps and Games] decmk:
Its bug.

Updating non linked apps never left old unused libs in lib folder.
[Android Apps and Games] gbl08ma:
Thanks for the reply, I didn't realize it actually tries to search for an adequate partition. I doubt it can find it exactly because, like you said, the mounting schema of this system is really complex (and don't put "SD" within quotes, because what's inside is actually a microSD card :) ). I'll have a try at editing the mount scripts when I can find them.
[Android Apps and Games] RhavoX:
Ok, but how will you know which one is the new one? You can look on its date but what happens when a developer reverts to an older library with a new name? The problem is android stores all the libraries with different names in the data folder and you have no way of knowing what library is used at a glance. So if Link2SD would utilize functionality to clean unused libs up it would have to look into app packages and check which libraries are being used.
[Android Apps and Games] Kierrok:
If you delete all the links what you will get in /data/data/<app name>/lib are the current version lib files and only those.

If you're linking the lib files of an updated app for the 1st time you could get some old and unused ones, but the next time the app is updated, and the process I mentioned in my last post is used, all the old ones will get wiped.
[Android Apps and Games] RhavoX:
Nt(U) blerink

Christ, you are right. I should get some more sleep. After 4hours my brain is not fully on yet ;p
[Android Apps and Games] idpro:
hello my friend

I'm new here, I have Xperia mini running ics - I installed your great program and every thing working fine except media scanner not showing any updates to my SDCard.

any ideas ?

thanks in advance
[Android Apps and Games] hgmichna:
Hello my friend,

I have put on your great new shoes. Now my feet hurt.

Any ideas?

Seriously, unlink the offending program and see what happens.
[Android Apps and Games] bootwala:
Flash gapps!

Flash the gapps from cynogenmod with recovery and you are all set!
[Android Apps and Games] idpro:
I got some progress when I deleted

com.android.providers.media

from \data\data

also I found 3 corrupted ogg media files - I think these files was the main reason for media scanner to stop

waiting for the final solution
[Android Apps and Games] AIndoria:
I have an HTC Explorer, which I rooted recently (Factory reset BEFORE rooting, so that everything is clean). Installed Link2SD on it with an external FAT32 second partition of 512 MB. Then I proceeded to install all my backed-up apps.

Now, the problem I am having, is that Link2SD would create links to all the existing apps(As well as Auto-Link is turned on) but The apps are still taking up space in Internal memory.

For example, say, I have 50 MB of free space and I install Titanium Backup, which is 5 MB, and then Link2SD will link it automatically, but I will still have 45 MB of space left in the internal memory :-/ Looks like Link2SD is linking all the files but not removing them from Internal memory.

Help please? I am using Stock HTC Explorer ROM.

Thank you. Any help is appreciated.
[Android Apps and Games] rmittal:
The memory freed takes some time to show or you can reboot to get fresh free space reading.
[Android Apps and Games] AIndoria:
Did that, no go.
[Android Apps and Games] hgmichna:
Titanium Backup looks more like 7 MB here.

Are you sure you have tapped "Move to phone"? Otherwise you would have two competing methods to move it out of the internal memory. In fact, I think you should use "Move to phone" on all apps after using Link2SD.

Note also that your apps' data remains in the internal memory.

That said, the numbers still do not quite add up. How much does Manage applications, Titanium Backup show for total, app, and data?

I do not entirely understand all the details. Perhaps others can chime in with better ideas about what is happening here.
[Android Apps and Games] kevinaz94:
I have got an Arc and i linked some 50 apps to the SD using your excellent tool, but unfortunately now i have to change my sd card and i want to make a backup of my linked apps cause i dont want to reinstall everything again... I cant move them back to the phone because i havent got enough free memory, so how can i do?

And after changing sd, i should make again the partition, and only THEN restore the backup, right?
[Android Apps and Games] dynamite33:
Can't download apps its saying in sufficient space!! Please reply fast have linked all apps still data of phone memory full!!
[Android Apps and Games] SifJar:
Use this: http://www.partition-tool.com/personal.htm to backup the entire second partition on your SD card (i.e. the one with the apps), then when you get your new card, create a second partition on it, the same way as you did with your current card, and then use the tool I linked to restore the backup to that new partition. Should work fine.
[Android Apps and Games] kevinaz94:
Ok, plus i backup via Titanium the part of application which is into phone memory yet? I mean i enter Titanium, select all the apps, also those on the SD, and backup them?
[Android Apps and Games] aknappster:
Love the app but a couple of enhancement requests:-

The size of the available space on the internal memory doesn't get updated when an app is linked. I know this can be remedied by waiting or rebooting. The only other quick way to resolve this I have found is to go into the standard "Manage applications" app and move a small app from internal to SD or the other way. So there must be a way to tell the android system to re-check and update the available internal memory.

Please can you add another option on the filter to show apps which are only partially linked (i.e. where the application, davlik-cache or library file isn't linked)

Thanks
[Android Apps and Games] SifJar:
Nope, you don't need to do that. Just do what I said.
[Android Apps and Games] kevinaz94:
Ok i thought some files were kept on the phone, ill try your method :)

Inviato dal mio LT18i con Tapatalk 2
[Android Apps and Games] SifJar:
Files kept on the phone will still be on the phone, seeing as what you are replacing is the SD card.
[Android Apps and Games] kevinaz94:
But i will also change my rom... so i will backup all phone apps as well as the ext partition :)

Inviato dal mio LT18i con Tapatalk 2
[Android Apps and Games] SifJar:
Well you never said that in the first place, so I didn't know you wanted to do that too. All I knew you wanted to do was change SD cards.
[Android Apps and Games] kevinaz94:
Yeah sorry i did not say that... anyway thanks for your help :)

Inviato dal mio LT18i con Tapatalk 2
[Android Apps and Games] AzNTypeR:
Sorry if this has already been posted but I moved some apps that were on the internal memory (Like BBC iPlayer etc) but then I rebooted and they disappeared?
[Android Apps and Games] hgmichna:
Titanium Backup always backs up the entire app, no matter where it is stored. I believe the actual location is transparent to Titanium Backup.

There may have been a problem with that recently, but I suppose, if you use the latest version of TB, it should have been fixed by now. Does anybody know more about this?
[Android Apps and Games] :
use

you can use

Efficient Backup (root)

it has option to silent install apk's
[Android Apps and Games] kevinaz94:
Thank u guys, indeed titanium backups all the app no matter were it is stored, but to be sure i also made a backup of 2nd partition... anyway everything went fine, now i got my new rom and my new sd fully working, thank you all :)
[Android Apps and Games] Masayef:
failure rm: not found

very much thanks for this great app. it almost saved me from buying a new phone!

i just have an issue right now in the form of a message that keeps me from linking apps to the sd card anymore.

The message says (failure rm: not found)

thanks in advance and hope that you can help me
[Android Apps and Games] SifJar:
Try opening either Terminal Emulator on the device or else open an ADB shell from a computer connected to the phone via USB and type "rm" and see what happens. It should say "rm [-rR] <target>". If not, the problem is that the rm command is not working. You should have a file called "rm" in /system/bin. If the "rm" command doesn't work, you don't. You need to try and find that file and put it there.
[Android Apps and Games] hgmichna:
Most Android Linux kernels don't have these commands. If you are lucky, you have busybox on your phone, which emulates the most important Linux commands, including rm. Titanium Backup contains busybox.
[Android Apps and Games] RudzLong:
Bro....why that link2sd say can't mount for automatically. ....so,any solution to mount that data/ext2?
[Android Apps and Games] RudzLong:
How to mount for manually? Or any solution?
[Android Apps and Games] gu5t3r:
Try adding this to the end of hw_config.sh file...
[Android Apps and Games] RudzLong:
:(

Same result

Please help me
[Android Apps and Games] azturbomini:
Doing a "quick reboot" worked for me...
[Android Apps and Games] RudzLong:
No worked for me.....
[Android Apps and Games] f_tasos:
Hallo guys and congratulations for the excelent job you are doing here!!!

I have question to make about link2sd...

Recently i have install in my hd2 android 2.3 cyanogen rom and link2sd. I have a second partition FAT32 and everything seems to be alright.

At the begining i had 160mb internal storage and after 90 apps installed i have about 100mb left. I have all my apps connected with link2sd and i am wondering where the 60mb gone....

All the files are conected properly (apk.lib.etc...).

I 'll be greatfull for your answers... :)
[Android Apps and Games] BmoreBadBoy:
Instead of installing this app, can't you just use Titanium Backup to move apps back and forth between internal and the SD card once you've created a partition on your SD card and activated it using terminal install apps2sd command? What's the difference between that and using link2sd?
[Android Apps and Games] rmittal:
An apps data as well as cache still resides in the internal memory of your phone.
[Android Apps and Games] f_tasos:
Is any way to free my memory from this cache without harming my phone or the apps i have?
[Android Apps and Games] hgmichna:
There may be ways, but as long as you still have lots of free internal memory, as you wrote, why would you want to? If you have internal memory, you might as well use it for something.
[Android Apps and Games] rmittal:
Cache can be cleaned without problem and lots of app are there to do that.
[Android Apps and Games] -Light-:
Is it normal for davlik cache to get relinked to internal everytime i reboot my phone??

I am facing such problem in CM10 of maclaws

I am lacking space due to space occupiied by davlik cache!! Any help??
[Android Apps and Games] molitar:
Can not use the app with MeanROM ICS v2.6. It breaks all links. What do I need to look at when I am trying other ROMS for compatibility? Link2SD is way damn more important than a ROM..

Currently going back to the stock ROOT ICS for my EVO 3D on Sprint so I can try to reattach my 2GB of apps that is now lost on the 4ext.
[Android Apps and Games] Abhilesh7:
Did not work for me. Still giving the same error.

One more thing, i was using link2sd on stock ics 4.0.4 for xperia neo v, night-elf v4 kernel earlier with ext4 as the second partition. Was working fine. I recently shifted to an AOSP ROM, and so had to repartition the sd card because this kernel did not support ext4. I have a 32GB Class 10 MicroSD, and the second partition was 2 gb. I did wipe the SD card, deleted all partitions, but when the Sd card is mounted on the laptop the first partition shows only 27 GB instead of 29 GB. I suspect this to be because of the 2 GB ext4 partition. Any way of getting the 2 GB back?
[Android Apps and Games] Great Offender:
trying to use this on my dinc with a ported jellybean rom. Mount script is created and root explorer says that sdext2 is mounted however link2sd says that it's not?
[Android Apps and Games] molitar:
Question: Do I need the .android_secure folder now that I am using Link2SD? I do not have any apps using native app2sd anymore it's all Link2SD.. Took me a while had to move so many to phone.. than link.. than move more to the phone until it was done.. now I have over 560MB free on my phone :)
[Android Apps and Games] rmittal:
.android_secure folder is created by system for app2sd and will be created automatically even if you delete it.
[Android Apps and Games] molitar:
Ok the Samsung Galaxy S3 sucks.. every single time I reboot phone the android is upgrading happens to optimize the apps with Link2SD. Also no damn USB Mass Storage it's crap MTP. This phone is UTTER garbage!!!

I'm going to trade it in for a real phone the EVO 4G LTE that does not have the problems with SDCARDS and UMS.
[Android Apps and Games] sberla54:
Hi everybody.

I've got this weird problem...i think someone else could have experienced the same..

This is what i've done:

1) Clean installed a ROM

2) I've installed Link2SD (not as first app...) and performed all the steps indicated in this guide

3) Started installing applications and i get the message "[App Name] link to sd card" and all. (I was restoring from Titanium Backup...non from Google Play).

4) After installing few application my phone started showing "internal space memory low". I had set Link2SD to install in "internal".

I'm using a Samsung Galaxy Ace that only has 150 Mb of internal storage, with 8 Gb of SDCard. I've created an sd-ext Ext4 partition of 1 Gb and it is just 30% utilized.

Internal memory (/data/ partition) is almost full and i can't install anything...

It seems like Link2SD is leaving the /data/ part of an application on internal memory, moving only the rest.

Could it be a problem of settings? Maybe a conflict with Titanium or something else? Or is it the standard behaviour?

Thank you!
[Android Apps and Games] hgmichna:
Yes, this is standard behavior. Link2SD cannot lift all limits.

[Just answering quickly, just in case the experts don't come in soon.]
[Android Apps and Games] thx84:
Just saw the update. Can someone on jelly bean report on the dalvik issue? Apps would keep on Fc'ing and I had to go back to ics
[Android Apps and Games] andreadec:
Hello, I have a question. Currently I have all the apps on my phone linked to SD card with this app. I want to test a new ROM.

Does nandroid backup/restore with Clockworkmod work or I risk to loose the apps on the SD card?

I'd like to do this: Nandroid backup -> Wipe cache/system/data/boot -> Install new ROM -> test it -> Nandroid restore.

Will I have my phone exactly as it was before included a working Link2SD with all the apps?

Thank you very much! ;)