[General Topics] zenforic:
Got the "insufficient storage" bug for the Google Play Store? Then you're in the right place!

First of all, a couple disclaimers:

This is not a magic cure-all! If you have less than 1 MB, nothing is going to help you. Sorry, it's not us and we can't do anything about it. The Android OS requires a small reserve for data and updates.

We are not responsible for any damages, loss of data, etc. incurred from misuse, failure, or any other unexpected cause.

Automatic Methods

App

Google Play

Dropbox --CURRENTLY BROKEN, WILL UPDATE SOON

More mirrors coming soon...

Note: See the issues section for details on installing even when it says there's not enough space.

Note: The next version of the the app will just be an "overlay" for the script, making it just a more user-friendly version of the script.

Using the app is pretty self-explanatory. You open it and choose a fix.

Script

Pre-requisites:

Terminal Emulator (The one by Jack Palevich or ConnectBot's Local Terminal works great. Optionally you can use adb from your computer by running 'adb shell' in a command prompt)

Some terminal knowledge

Dropbox --CURRENTLY BROKEN, WILL UPDATE SOON

More mirrors coming soon...

You can get a list of fixes and their descriptions by running 'bash fms.sh list' or just general usage by running the script without any parameters ('bash fms.sh').

Manual Methods

Pre-requisites:

Terminal Emulator (The one by Jack Palevich or ConnectBot's Local Terminal works great. Optionally you can use adb from your computer by running 'adb shell' in a command prompt)

Some terminal knowledge

Before running any of the fixes, run 'su' in the terminal.

Fix 1

Step 1: Get a list of subdirectories in the /data/app-lib

du /data/app-lib|cut -f 2

Step 2: Fix the ownership of the subdirectories

chown system:system {dir}
chown system:system {dir}/*

Repeat this step, replacing '{dir}' with each directory.

Fix 1 (Old)

cd /data/app-lib
chown system:system *
chown system:system */*

Note: This is the old version of Fix 1. It may be easier, but it's less thorough. It will most likely be enough though.

Fix 2

chmod -R 755 /data/app-lib
chmod 771 /data/app-lib

Issues

1. App failed to install!

Solution (Currently broken due to no longer functional dropbox mirror, fix coming soon, if you happen to know an unofficial mirror, you may replace the URL in the wget section):

In a terminal, run

su
wget [STRIKE]http://dropbox.com/s/wcgrk0qxvg7hhcx/FixMeStorage.apk -O /data/app/com.TWP.Project.Fixes.FS.IS-1.apk[/STRIKE]

Then reboot your device.

2. None of them worked!

We'll try to help you fix it, but we need you to contact us.

3. It said I don't have root!

Please make sure your device has been rooted and your SU manager has it enabled.

Please make sure you granted the app root access.

If everything is good there, then contact us and we will try to help you.

Contact Us

Send an email.

Send a PM to zenforic or wolfgentleman here on XDA.

Post a reply on this thread. (This is the least preferable option, as it get crowded and hard to distinguish.)

Credits

zenforic

Primary coder and project manager

Timberwolf (wolfgentleman on XDA)

Designer and bash scripter

Jonathan Mergy

The original fix discoverer