Not enough free space when installing applications from play store on ICS with a2sd

Bazzawill

New member
Mar 27, 2005
4
3
0
I have just discovered how to fix a problem of insufficient space when you have a device with low internal storage running ICS and a2sd or similar and I thought I would share it with you as I could not find the answer online.

So the old way of creating a symlink from /cache/download would not work and anyway I have my cache on a2sd so it looks like the play store moved it's download location so I poked around to find that the play store now stores downloads at /data/data/com.android.providers.downloads/cache (I don't have my /data/data on sd as I find it unstable).

So all we need to do is link somewhere ie /cache/download to /data/data/com.android.providers.downloads/cache. In your favorite terminal emulator / ssh / other method
Code:
 rm -r /data/data/com.android.providers.downloads/cache
mkdir /cache/download
ln -s /cache/download /data/data/com.android.providers.downloads/cache
hope that helps somebody
 

IrishMyth

Member
Aug 9, 2011
25
0
0
I was forever having problems with low storage on my old wildfire but now have a sensation. Will try this on the missus phone though.

Thanks

Sent from my HTC using xda app-developers app
 
Aug 31, 2010
9
2
0
Seattle
Insufficient Storage

Thanks for your post, this is the closest thing I've found to a solution, but I'm not a developer and I'm having this issue with my newly rooted Samsung S3 (AT&T). I used this file: TeamEpic-Root-from-Recovery-v5 with Odin V 3.04.

Is there any way you could either help me fix this or point me in the right direction?? Please?



I have just discovered how to fix a problem of insufficient space when you have a device with low internal storage running ICS and a2sd or similar and I thought I would share it with you as I could not find the answer online.

So the old way of creating a symlink from /cache/download would not work and anyway I have my cache on a2sd so it looks like the play store moved it's download location so I poked around to find that the play store now stores downloads at /data/data/com.android.providers.downloads/cache (I don't have my /data/data on sd as I find it unstable).

So all we need to do is link somewhere ie /cache/download to /data/data/com.android.providers.downloads/cache. In your favorite terminal emulator / ssh / other method
Code:
 rm -r /data/data/com.android.providers.downloads/cache
mkdir /cache/download
ln -s /cache/download /data/data/com.android.providers.downloads/cache
hope that helps somebody
 

Fly-n-High

Senior Member
Jun 28, 2012
104
31
0
Michigan
ROM?

Thanks for your post, this is the closest thing I've found to a solution, but I'm not a developer and I'm having this issue with my newly rooted Samsung S3 (AT&T). I used this file: TeamEpic-Root-from-Recovery-v5 with Odin V 3.04.

Is there any way you could either help me fix this or point me in the right direction?? Please?
Ssounds like you have rooted properly, but your ROM along with any Kernel mods or tweaks is the key. Clear caches and data from GP also.
Search the forums because a lot of people have had this issue, me included.
One application is "Marketfix", works for some people....
 
Last edited:
  • Like
Reactions: DreamingWillow
Aug 31, 2010
9
2
0
Seattle
Ssounds like you have rooted properly, but your ROM along with any Kernel mods or tweaks is the key. Clear caches and data from GP also.
Search the forums because a lot of people have had this issue, me included.
One application is "Marketfix", works for some people....
Yeah, it rooted just fine, that was easy! (Did it before on my Captivate). Thanks for the suggestion on the Market!! Hopefully, I can get that going today....it's a challenge because I can't download the app from the market because I get the error of "insufficient storage available".....I'm going to try a few things...I've already cleared cache and uninstalled several apps with the same result. The last thing I can think of to do is wipe it clean and try to install that app first. If that doesn't work....well I'm not sure what to do. I'll keep you posted. Thanks again for your help.
 
Aug 31, 2010
9
2
0
Seattle
got it!

Hi,

Thank you so much for your help and to everyone who makes these things easy for those who have no idea what the hell they are doing (like me!)

The "marketfix" app worked great!

:D
 

ozeta

Senior Member
Nov 13, 2010
90
2
0
sandvold ics 0.15, htc desire, data++, a2sd

i tried the script. it doesn't solve the problem. the rom continues to delete the dir /cache/download and after a reboot i had a system.media continous crash. needed to restore a nandroid to solve the problem

so, because on the htc desire with data++ table, cache partion is only 5MB, i changed the script:

rm -r /data/data/com.android.providers.downloads/cache
mkdir /sd-ext/download
ln -s /sd-ext/download /data/data/com.android.providers.downloads/cache

it seems to work, but i need some more testing.
 
Last edited:

freakymonkey

Member
Oct 21, 2012
15
0
0
I have HTC Desire with JB 4.1.2 from vijendrahs, stock hboot, a2sd (y,n,y).
This are my FSs:

Code:
[email protected]:/ # df
df
Filesystem           1K-blocks      Used Available Use% Mounted on
tmpfs                   207072        48    207024   0% /dev
tmpfs                   207072         0    207072   0% /mnt/asec
tmpfs                   207072         0    207072   0% /mnt/obb
/dev/block/mtdblock3    256000    232636     23364  91% /system
/dev/block/mtdblock5    151168    129920     21248  86% /data
/dev/block/mtdblock4     40960      1304     39656   3% /cache
/dev/block/mmcblk0p2   1548096    540404   1007692  35% /sd-ext
/dev/block/mmcblk0p2   1548096    540404   1007692  35% /data/app
/dev/block/mmcblk0p2   1548096    540404   1007692  35% /data/app-private
/dev/block/mmcblk0p2   1548096    540404   1007692  35% /data/app-asec
/dev/block/mmcblk0p2   1548096    540404   1007692  35% /data/dalvik-cache
/dev/block/dm-0          13316     11096      2220  83% /mnt/asec/com.touchtype.swiftkey-2
/dev/block/vold/179:1  6252544   1440464   4812080  23% /storage/sdcard0
/dev/block/vold/179:1  6252544   1440464   4812080  23% /mnt/secure/asec
/dev/block/dm-1          18428     17064      1364  93% /mnt/asec/se.maginteractive.rumble.free-2
/dev/block/dm-2           8196      6216      1980  76% /mnt/asec/com.google.android.apps.currents-2
/dev/block/dm-3          14340     12656      1684  88% /mnt/asec/com.djinnworks.linerunnerfree-2
/dev/block/dm-4           5128      3248      1880  63% /mnt/asec/com.quoord.tapatalkxda.activity-1
I did the link of cache directory: ln -s /sd-ext/download /data/data/com.android.providers.downloads/cache

The problem of upgrade for Whatsapp and Facebook still remain for insufficient space. Anyone can help me? :confused:

Edit: just update Google Play Book, 5,95MB, without problems
 
Last edited:
Sep 17, 2013
14
2
0
I FOUND A FIX I FOUND A FIX !!!!
for those of you who are using a nexus or something or any other phone on which clearing dalvik cache etc doesnt work try this..
go to this location /data and find app-lib
this folder has a total storage of 6.62 GB (on my phone)


find any unwated folders and your done

i had installed MC4 and when i uninstalled it com.gameloft ..whatever was still in this folder and it was consuming a lot of staorage so when i cleared it up all updates and installs were working
 
  • Like
Reactions: dunhill_rd

madsthines

Member
Feb 4, 2011
7
1
0
Copenhagen
madsthines.dk
I'm an idiot

Damn...
I had this issue and didn't even have enough space to download the marketfix thing, but then i hit me, that I had just changed the Apps2SD through ROM Toolbox to sd card and that was causing the problem cause i haven't formatted my SD card yet.

That fixed the issue for me. :)
 

darkguset

Senior Member
Apr 21, 2014
77
20
0
Have you guys tried Link2SD? It is able to link everything to a 2nd partition on your SD card. Has saved me tons of frustration and memory!