• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Not enough storage space? I don't habeeb it.

I'm running CM7 with adw launcher. I'm trying to download a dictionary app (reading a book just above my vocab level and don't want skip the words I don't know). The app's only 19.9mb. I've got 12gb free on my microsd card, and 179mb internal free, or so my phone tells me.

Why, then, does Google play insist that I don't have enough storage to install this app? I've changed the default DL location from internal to external to automatic and tried each time, but still the same error message.

Can anyone tell me what the frack is going on?
 
open up a terminal emulator and type in this:
su
cd /cache
mv download download.old
mkdir -p /sdcard/cache/download
ln -s /sdcard/cache/download download
exit

Hit the enter key after each line.

Reboot when done.
 
I have been having that same problem for a few months. Plenty of disc space and internal space.

Everytime I attempt to update anything, the message is "Package Invalid" There is insufficient space on your device . . . ya da ya da . . .

I tried the above method, but when I type line 5, it tells me: There is no "In"
I typed "in" and it still told me the same thing.
I eliminated the "in" and just typed -s and it told me the same thing.

Here are my memory details:
SD Card
Total space: 14.74GB
Available space: 4.10GB

INTERNAL STORAGE
Total Space: 179MB
Available Space: 110MB

Android Version 2.3.7
Kernel Version 2.6.32-9-v3.3 mirage@aurora))
Mem info (available/total)
249 MB / 425 MB

Mod version: CyanogenMod-7.2.0-BACKside-IHO-KANG
Build Number: Harmonia 2GRj90 (11222011/VM670)


Thanks for your help. You guys are always awesome!
 
What is happening is that BACKside included a scripts that moved your dalvik cache to the same partition that the OS downloads updates and new apps.

There are two ways to fix it; One is the script that AndyOpie posted. The second will lessen the available free space on your internal because it moves the dalvik back there.

For the second method:
Open your file view and navigate to /etc/init.d/ and locate the file 01mvdalvik ensure that your file explorer has root rights and then move or delete (I suggest moving the file to /mnt/sdcard/) 01mvdalvik. Clear cache and data for the market (or play, which ever you have). Reboot into recovery and clear your cache and dalvik. Then reboot normally and you should be able to download apps again.

With the second method you will really need to watch your internal space though as the mobile rebuilds all the dalviks.
 
The code is case sensitive. You even have to make sure you have a space where a space should be. I usually have to wear a pair of reading glasses so Ican make sure there is no mistakes in each line before I hit the return key. If your still having problems I'll put a red line where the spaces go. Okie Dokie.
 
If you got permission denied and a $ after you typed in su then you are not rooted. If you got permission denied and a # after you are rooted you just need to go into Superuser app and allow permission of the terminal emulator.
 
I got the code to work and it doesn't say I have insufficient space anymore, and I can download SOME apps, but most won't update or download. Now it tells me the package file is invalid.
 
I'm having the invalid package now too. It seems to be a problem with updates over 3mb.

Going to try clearing market data and cache again along with cache and dalvik. If that doesn't work I'll move 01mvdalvik update then put it back in place again.
 
He means the actual file I suppose.

Code:
#!/system/bin/sh
#
# Move dalvik-cache to /cache
#
# Remove Debugger Mem Dumps
if [ ! -d /cache/dalvik-cache ]
then
 busybox rm -rf /cache/dalvik-cache /data/dalvik-cache
 mkdir /cache/dalvik-cache /data/dalvik-cache
fi
busybox chown 1000:1000 /cache/dalvik-cache
busybox chmod 0771 /cache/dalvik-cache
# bind mount dalvik-cache so we can still boot without the sdcard
busybox mount -o bind /cache/dalvik-cache /data/dalvik-cache
busybox chown 1000:1000 /data/dalvik-cache
busybox chmod 0771 /data/dalvik-cache
# remove debugger memory dumps
busybox rm -rf /data/tombstones/*

Copy the code and paste it into new text file, save it as 01mvdalvik. Push it to /system/etc/init.d/ on the phone, change its permissions to 750, wipe cache and dalvik-cache in recovery. That's it.
 
Just FYI- that will only help for a while. There is a new IHO build using mapgie, that appears to solve the issue, but it does require an ext partition. I'm watching it's development, and may add it to BACKside soon.

The 01mvdalvik script moves the dalvik cache to the same place market downloads first go to. If the market doesn't think there's enough space there, you get one of three different error messages. This causes you to appear to have space, but not be able to use it. Not moving the dalvik cache gives you less visible space, but you can use it. ;)
 
Is is possible to modify the 01mvdalvik script to move the dalvik to another location? Say the SD card? or a 2nd partition on the SD card?
 
I did that, moddified it to move dalvik to /sd-ext, but didn't work for the market. Even tried moving downloads to sd-ext and same thing.
But moving downloads to /sdcard works.
Never tried moving dalvik to /sdcard b/c /sdcard is accessible too late in the boot process, waaaay too late after full boot so I don't think it'll work.
 
Ok, my file manager doesn't have super user permissions, so I can't move the dalvik, and if I'm perfectly honest, I'm basically lost as to what you guys are talking about. I've been living without updates or new apps for weeks now, and it's starting to get...irritating...
 
Back
Top Bottom