Post Reply

[HOWTO] Fixing “Insufficient storage available” errors on Android 4.2 and above

OP baha76_s

13th September 2013, 05:02 PM   |  #1  
baha76_s's Avatar
OP Senior Member
Flag Lausanne
Thanks Meter: 474
 
341 posts
Join Date:Joined: Feb 2008
Donate to Me
More
Hi,
this is a problem i encountered many times after (a while) i updated my phone to 4.2.2 (cannot install/update any app.apk file outside the playstore and there is this famous "Insufficient storage available" error which cant solved by wiping cache and dalvik cache).

And after some investigation i noticed that since android 4.2, google create a new lib folder for the apps in "/data called /data/app-lib/" and there is a symlink from "/data/data/APP-PATH/lib" to this folder which is the most culpable of this error.

So to avoid this kind of error:

1. go to "/data/app-lib/APP-PATH(that has this error)/lib" and delete.
2. install/update the apk app.
3. if not work go to "/data/app-lib/APP-PATH(that has this error)" and delete all the folder (but you must begin by their sub-folder then the folder itself, because you cant delete the folder of this APP-PATH directly without deleting their sub-folder first.


i hope, i helped some of you guys that you have this erroneous and overstressed error.
thanks
The Following 101 Users Say Thank You to baha76_s For This Useful Post: [ View ]
14th September 2013, 08:04 PM   |  #2  
kingofnice's Avatar
Senior Member
Thanks Meter: 696
 
1,142 posts
Join Date:Joined: Jun 2012
Donate to Me
More
Sometimes you can't install because of an odex of that app.

Sent from my HTC One X+ using Tapatalk 4
The Following 2 Users Say Thank You to kingofnice For This Useful Post: [ View ]
17th November 2013, 10:15 AM   |  #3  
Elancore's Avatar
Junior Member
Thanks Meter: 1
 
24 posts
Join Date:Joined: Oct 2012
Worked for me, perfect, thanks a lot.
21st November 2013, 08:41 PM   |  #4  
Junior Member
Sofia
Thanks Meter: 0
 
13 posts
Join Date:Joined: Nov 2009
More
Thumbs up It worked
It worked! Thaks a lot
2nd December 2013, 11:02 PM   |  #5  
Junior Member
Thanks Meter: 11
 
6 posts
Join Date:Joined: Jan 2009
I've been banging my head against the wall for a few days trying to figure out why Clean Master wouldn't update. I kept getting the message you were talking about. I tried several other fixes without any luck. I have plenty of space on my internal and external storage. I tried uninstalling the app and couldn't re-install either. I used your fix and the app finally installed. Thanks a bunch!
The Following User Says Thank You to quicky2g For This Useful Post: [ View ]
3rd December 2013, 11:24 AM   |  #6  
baha76_s's Avatar
OP Senior Member
Flag Lausanne
Thanks Meter: 474
 
341 posts
Join Date:Joined: Feb 2008
Donate to Me
More
Quote:
Originally Posted by quicky2g

I've been banging my head against the wall for a few days trying to figure out why Clean Master wouldn't update. I kept getting the message you were talking about. I tried several other fixes without any luck. I have plenty of space on my internal and external storage. I tried uninstalling the app and couldn't re-install either. I used your fix and the app finally installed. Thanks a bunch!

Me too untill i found this fu...ing app-lib syslink.
You are not alone bro not aloone.:thumbup:
Thanks

Sent from my HTC One X+ using XDA Premium 4 mobile app
Last edited by baha76_s; 3rd December 2013 at 11:27 AM.
5th December 2013, 11:45 PM   |  #7  
Junior Member
Thanks Meter: 4
 
1 posts
Join Date:Joined: Dec 2013
Info 2 Another Insufficient Storage fix
Hi all,
I personally found that this method didn't fix it for me... apparently on my Galaxy Note GT-N7000 running SlimBean 4.3, there really WAS a complete lack of storage after only a week or two of running. This is an issue that affects non-custom ROMs also, otherwise I'd be posting on the developer forum, it doesnt seem to be an issue with the custom.

If you are suffering from a distinct lack of internal storage, try the following;
  1. Get a decent Root Explorer (FX root is now free and very good)
  2. Navigate to /data/log
  3. Check for oversize log files ~260k titled 'dumpstate'
These dumpstate log files were steadily consuming my storage, they were up to 750 items in a week and steadily increasing. They are written when the phone loses mobile coverage, so if you're in a blackspot they will start eating storage.

Some file explorers will allow you to 'Select All' and you can happily empty the entire folder without risk to your system that I know of. If yours doesn't, you can actually delete the entire log folder and re-make it with no ill effects. Solved my problem!

Take it easy
The Following 4 Users Say Thank You to Aurazor For This Useful Post: [ View ]
6th December 2013, 09:09 AM   |  #8  
Member
Flag Down South
Thanks Meter: 1
 
75 posts
Join Date:Joined: Nov 2005
More
Am also having this problem. Amusingly, I can't install FX root or similar due to 'insufficient storage'...

[EDIT - finally fixed this by uninstalling Real Racing 3]

Sent from my HTC One using xda app-developers app
Last edited by pricefix23; 22nd December 2013 at 09:30 AM.
8th December 2013, 10:14 PM   |  #9  
72Monkeys's Avatar
Member
Flag Mt Pleasant, District of Columbia
Thanks Meter: 1
 
34 posts
Join Date:Joined: Jan 2012
awesome. the path listed did not work for me, however I was able to search "app-lib" in ES File explorer!

thank you!
11th December 2013, 06:34 AM   |  #10  
Member
Thanks Meter: 4
 
47 posts
Join Date:Joined: May 2011
Ten times thank was not enough. So helpful!

---------- Post added at 01:33 PM ---------- Previous post was at 01:29 PM ----------

The only thing I can do when I can not install or update an important app was wipe everything, re-install my rom and install/update it until reading your post. ^^!

---------- Post added at 01:34 PM ---------- Previous post was at 01:33 PM ----------

The only thing I can do when I can not install or update an important app was wipe everything, re-install my rom and install/update it until reading your post. ^^!

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes