Hey guys, i have this problem
i just flashed to GingerVillain 2.4...full wipe installation...nothing wrong with the phone..but i found out something wrong with the dalvik cache..originally is on internal memory before i install 2.4...after finishing installing 2.4...i open the a2sdgui...it shows that the dalvik cache is on sd-ext and when i tried to move it back to internal memory..it say error..not enough space left...
any experts can help to share some opinions??? i am a bit lost...
here my partitions:
/system: 145 MiB (6 MiB free)
/data: 255 MiB (170 MiB free)
/cache: 40 MiB (31 MiB free)
1G for sd-ext (ext4)
balance is fat32
no swap partition
after finishing installation, the 1st reboot..i opened a2sdgui..the information shows are as follows:
1. apps are on SD - ON
2.Zipalign on boot - ON
3. Swap is deactivated
4. Dalvik Cache on SD-EXT (not able to move - it say 'no enough space left', but can rebuild)
5. Dalvik JIT - ON
6. Heapsize is 32
7. Internal memory - 171mb (252mb)
8. SD-EXT - 978mb (1026mb)
9. Cache - 32mb (40mb)
Click to expand...
Click to collapse
Uninstall Apps2SD. The problem here is all your apps, including ones that are installed with your ROM are now on the SD card, and other things are stored where you would usually have your apps. So there literally isn't enough room for them anymore.
Plus, this is how you need your phone set up if you want to use A2SD+.
Hi Guys,
I'm having the same problem...
I installed AceSMod007 rom which moved the Dalvik cache to SD-EXT on first boot, now, I want to move it back to internal memory but I get an error 'Not enough space left!'
I have uninstalled all apps possible but still it will not let me.
Note I have a 732mb ext4 partition for Apps2SD.
Apps2SDGUI under the general information tab states that I have
Internal memory free(total): 129MB(147MB)
SD-EXT free(total): 517MB(731MB)
/cache/ free(total): 39MB(40MB)
Any help on this is much appreciated.
Use the search. This problem was discussed here already.
Thanks for reply MatDrOiD, tried the search but could not find anything.
Manually went through the first 12 pages and couldnt find anything either.
Think Im gona try increase the ext4 partition, reflash and try again.
Resizing ext4 partition and trying to move the cache after first boot didnt make any difference.
Cant seem to move the Dalvik cache at all
Related
Hi all!
I have space problem. I've installed AceSmod007 whit 512 MB Ext3 partition.
In data information i read:
9.71 MB available in data
7.20 MB available on system
412 available on Ext partition
Infact phone warns little free space. What should I do?
Thanks!
try moving apps to sdcard (settings>applications)
I tried. But it fills the fat partition. So now I have less in fat and much in ext.
The problem is that i can't install other apps because it fells that there isn't enaugh free space
how big is your sd card ?.
Im sure they recommend 1GB ext with this rom
After you flashed ROM all apps should be installed on ext, automatically. Try full wipe, wipe cache and flash ROM again
Finally I put cm7-r2 hboot and install the cm7 version of the rom with 1 GB Ext4.
It runs well
ferencz1 said:
try moving apps to sdcard (settings>applications)
Click to expand...
Click to collapse
Ignore this.... If your using apps2sd its auto
Look up data2sd if you ever need even more room
Check if a2sd/a2sd+ is working:
Get connectbot from market, open it and enter:
Code:
su
ls -l /data
When you can see this:
Code:
app -> /sd-ext/app
app-private -> /sd-ext/app-private
a2sd is working. When you can also see this:
Code:
dalvik-cache -> /sd-ext/dalvik-cache
a2sd+ is working.
When you can see only the first output, it's unsurprisingly, your /data partition gets filled. This is done by dalvik cache.
Edit: Question now: I tried stock a2sd with Y, Y, Y and after installing a load of apps it says "Insufficient storage available" for each new app (apart from a few small apps dotted around the middle of the sea of Insufficient storage available errors). Titanium Backup says that every partition has loads of free space.
In recovery it says the "Cache" partition is nearly full. How can I move this to the sd-ext partition (not the dalvik cache)?
Also, does stock a2sd with Y, Y, Y, do the same thing as data2sd and do I need to do a2sd install each time I install a new app?
-----
I used a2sdx in ICS for Desire in aroma and after successfully installing some apps from the Google Play store, everything I try and install after downloading says "Package is invalid"! It happens no matter how many times I try and install the apps.
After fixing permissions and scanning for errors in 4EXT (said sd ext (1GB ext 4) had errors and then fixed them) nothing is different.
When I cleared both caches, it allowed me to install about 3 more before the errors appeared again, but clearing the caches again makes no difference!
Can anyone help please?
EDIT: To save people reading through all the pages, I've added important info from them below.
EDIT 2: I've removed irrelevant information and added more info.
When installing apps, aLogcat says:
D/dalvikvm( 2421) Zip inflate: partial write (will retry): (28632 of 32768)
E/dalvikvm( 2421): Zip inflate: write failed: No space left on device
W/dalvikvm( 2421): Dex0ptZ: extraction of classes.dex from /data/app/appname.apk failed
W/installd( 131): DexInv: --- END '/data/app/appname.apk' --- status-0xff00, process failed
E/installd( 131): dexopt failed on '/data/dalvik-cache/[email protected]@[email protected]' res - 65280
W/PackageManager( 200): Package couldn't be installed in /data/app/appname.apk
I/ActivityManager( 200): Force stopping package appname uid-10109
Looking at the page for amarullz a2sdx (called amarullz ad2sdx there) it says that 3rd Party App Data, System App Apk and 3rd Party Apk is on the SD-ext partition, which the system reads at the internal memory. The System App Data and Dalvik Cache is on the actual internal memory. Is it that with 100 or so apps that I have installed that the Desire's internal memory is too small to cope with it? Because whenever I clear the Dalvik Cache, I can install a few more apps because it clears what the system thinks is "a2sd" (sd maid).
According to SDMaid (after using it and clearing the Dalvik cache, as the "App2SD" is usually full):
Partition: (used/total)
Android OS: 213MB/250MB
Internal Data: 430MB/1.97GB
Sdcard: 402MB/13.05GB
App2SD 138MB/148MB
http://www.thespicygadgematics.com/2011/12/fix-android-package-file-is-invalid.html
Tried that already and didn't work.
All methods?
I had the same problem and the link posted by MatDrOiD didn't work either. (Following all methods)
I only seemed to get the issue after using Titanium Backup to restore my apps (I was using with data). On a clean install of Sandvold ISC 0.7 it worked fine until I started restoring apps.
I was able to fix it by doing the following. I'm not sure if this will work but it worked for me.
1.Clear the cache for play store and uninstall updates
2. Settings | Backup & reset
Unchecked automatic restore
3. In Titanium Backup
More | Clean up the Dalvik cache
MatDrOiD said:
All methods?
Click to expand...
Click to collapse
Yep. Reinstalling the rom on top only allows about 4 more downloads before it says every one is corrupt. I never had this problem before I switched to a2sdx.
yaythan said:
I had the same problem and the link posted by MatDrOiD didn't work either. (Following all methods)
I only seemed to get the issue after using Titanium Backup to restore my apps (I was using with data). On a clean install of Sandvold ISC 0.7 it worked fine until I started restoring apps.
I was able to fix it by doing the following. I'm not sure if this will work but it worked for me.
1.Clear the cache for play store and uninstall updates
2. Settings | Backup & reset
Unchecked automatic restore
3. In Titanium Backup
More | Clean up the Dalvik cache
Click to expand...
Click to collapse
I didn't get a chance to install TB.
Started a complete fresh with Beta 0.8, and after filling 0.5GB out of now 2GB of the sd-ext with loads of apps, it's saying "Invalid Package" with everything.
Free space:
system: 45.3 MiB
data 142.8 MiB
cache 38.9 MiB
sdcard 97.9 MiB
sd-ext 1.5 GiB
I HATE that error message so much - I'm wasting a lot of time on this. I've tried everything in that stupid article. Any ideas?
Repartition SD card with max 1,5GB EXT-partition.
Then run full wipe 2x and flash Rom with a2dsdx.
If this does not help, full wipe and use stock a2sd.
Sent from my HTC Desire using XDA
Just used aLogcat and it says:
D/dalvikvm( 2421) Zip inflate: partial write (will retry): (28632 of 32768)
E/dalvikvm( 2421): Zip inflate: write failed: No space left on device
W/dalvikvm( 2421): Dex0ptZ: extraction of classes.dex from /data/app/appname.apk failed
W/installd( 131): DexInv: --- END '/data/app/appname.apk' --- status-0xff00, process failed
E/installd( 131): dexopt failed on '/data/dalvik-cache/[email protected]@[email protected]' res - 65280
W/PackageManager( 200): Package couldn't be installed in /data/app/appname.apk
I/ActivityManager( 200): Force stopping package appname uid-10109
How can the space there be full after just clearing both caches? :S
MatDrOiD said:
Repartition SD card with max 1,5GB EXT-partition.
Then run full wipe 2x and flash Rom with a2dsdx.
If this does not help, full wipe and use stock a2sd.
Sent from my HTC Desire using XDA
Click to expand...
Click to collapse
I had only a 1GB partition before and I wiped 3 times before installing fresh - I did this 2 times. Is there any way to fix from the above log information?
Which software did you use to partition SD card?
4EXT Recovery Touch v1.0.0.5 RC 3.
Is dalvikvm where it's trying to extract the file?
Any ideas?
Last time I had that issue I had a corrupt sd-ext partition. In recovery go to tools->file system check or something like that. It repaired my sd-ext and the problem was fixed
Sent from my HTC Desire using xda premium
00Scott00 said:
Last time I had that issue I had a corrupt sd-ext partition. In recovery go to tools->file system check or something like that. It repaired my sd-ext and the problem was fixed
Sent from my HTC Desire using xda premium
Click to expand...
Click to collapse
Like I said in my first post, I already tried that. However, just to be sure I rebooted into recovery, and it did say the sd-ext "filesystem contains errors!" After fixing and rebooting it made no difference. Every time I reboot into recovery, it says the file system contains errors so it doesn't appear to be fixing them even though it says it has. After it says it's fixed, checking it again without rebooting says the file system is fine.
Anything else I can use to fix it?
Ok, sounds like your SD card is on the way out...
Does nobody really know how to solve this issue?
00Scott00 said:
Ok, sounds like your SD card is on the way out...
Click to expand...
Click to collapse
I highly doubt that. It works just fine with the FAT32 partition and Apps would install fine before I used a2sdx. Plus it's brand new.
It sounds like your sd-ext is buggered beyond what 4EXT can fix
Have you tried deleting your sd-ext partition then recreating a new one? You will lose its contents but its worth a try.
In the past when I have had sd-ext problems I just backed up the contents of the SD then in gparted removed all partitions, recreated the partitions and formatted to the FAT32 for the main partition then EXT3/4 for the 2nd partition. Then restored the data on the FAT32 partition
yaythan said:
It sounds like your sd-ext is buggered beyond what 4EXT can fix
Have you tried deleting your sd-ext partition then recreating a new one? You will lose its contents but its worth a try.
In the past when I have had sd-ext problems I just backed up the contents of the SD then in gparted removed all partitions, recreated the partitions and formatted to the FAT32 for the main partition then EXT3/4 for the 2nd partition. Then restored the data on the FAT32 partition
Click to expand...
Click to collapse
I tried doing that before but the same problem occurs again.
I've just used SDMaid to clear everything it could, and now I can install a few apps.
In Titanium Backup and SDMaid, the free space conflicts with what 4Ext said before (after updating 4ext, it now says the same as below. The names for internal and sd-ext are swapped round because I'm using a2sdx):
System Rom: 262 MB (47.5 MB free)
Internal: 2.11 GB (1.61 GB free)
SD Card: 264 MB free)
SD card (a2sd): 154 MB (3.51 MB free) Before I used SDMaid this was full. It did say the same in aLogcat - "No free space!" when installing apps.
Obviously with a2sdx it swaps round the internal with sd-ext, but it looks as if it's not using the 2.11 GB partition very much but filling the 154 MB one.
I don't understand why it's not filling what it thinks is the internal partition. Is there any way to move the apps and stop others from installing there?
EDIT: Just wiped everything including partitions, redid the partitions, started complete fresh with 0.10.1 and it happens again. This is really starting to annoy me a lot.
Right, looking at the page for amarullz a2sdx (called amarullz ad2sdx there) it says that 3rd Party App Data, System App Apk and 3rd Party Apk is on the SD-ext partition, which the system reads at the internal memory. The System App Data and Dalvik Cache is on the actual internal memory. Is it that with 100 or so apps that I have installed that the Desire's internal memory is too small to cope with it? Because whenever I clear the Dalvik Cache, I can install a few more apps because it clears what the system thinks is "a2sd" (sd maid).
According to SDMaid (after using it and clearing the Dalvik cache, as the "App2SD" is usually full):
Partition: (used/total)
Android OS: 213MB/250MB
Internal Data: 430MB/1.97GB
Sdcard: 402MB/13.05GB
App2SD 138MB/148MB
Dear XDA forum,
since a few roms i always get a "low on storage" warning, even after factory reset and flashing a new rom.
So i'd want to ask for a small summery of what storage there is inside the desire and on the sdcard and how to solve this problem
My sdcard is 16GB class 10. I didnt partition it manually (i think).
according to my desire it has effective 14.2gb.about 2gb are used and 4gb are free? that doesnt sound right.
so i guess its 2 partitions?
could anyone please tell me which mountpoint is which?
and how do i solve the low storage problem? do i need some a2sd script or do i have to more the internal storage to the sdcard?
which mountpoints do the scripts actarlly move?
i have no problem with repartitioning my sdcard. i was given to understand that u usually need a fat32 partition (for apps i guess) and an ext2/3 partition afterwards. some scripts even allow a swap partition at the end of the sdcard to be used as swap space. is that a good idea?
i know its a lot of questions :/ but i hope for some good answers :>
thanks & greetings,
soomon
my advice would be to backup your sd card and (re)partition using gparted, start from scratch because I don't know what your current configuration is, step 5 here
choose ext3/ext4 partition (max ~1.5GB) depending on rom requirements, most support ext4 and should be slightly faster. most roms don't need swap partition.
in simple terms, your space will get taken up by apps (apks), dalvik cache, app cache and app data. most custom roms will automatically move apks to your sd-ext partition. there are various different scripts which move the other bits around. generally it is better to keep app data on internal (/data partition)
regardless of which rom you choose, use an app like 'diskusage' to browse all your partitions, so you can work out where and how all your space is being use.
to maximise space you also need to be s-off and correct hboot for the rom (again should be stated within each rom thread, or search within it)
ok so the first partition on the sdcard will become my sd-ext which will replace the /data partition on the internal storage.
I guess is hould try data2sd then?
with a class 10 it should not get that slow and i get loads of space on that partition.
thanks for your help.
also use links2d,very usefull.....
hi again,
as i see in a terminal emulator by typing "df -h"
my data is 150mb and has 15mb left, so i guess i better moe the whole partition to the sdcard as i'd have to move all the apps to the sdcard anyway sooner or later.
my /system has only 5mb of 250mb left. is that a problem?
soomon said:
hi again,
as i see in a terminal emulator by typing "df -h"
my data is 150mb and has 15mb left, so i guess i better moe the whole partition to the sdcard as i'd have to move all the apps to the sdcard anyway sooner or later.
my /system has only 5mb of 250mb left. is that a problem?
Click to expand...
Click to collapse
depends entirely what rom you're running if any, and what scripts it uses. basically you should be able to find some way to install many apps without running out of space (one of the main reasons for rooting in the first place ).
with your current setup, you could try something like link2sd to just move apps and dalvik to sd, see if you have enough space that way. you shouldnt have to manually 'move to sd', keeping them on 'internal' tricks them to sd-ext. (you can use something like 'diskusage' to check they're actually on the sd-ext)
the system partition is meant to be mostly full. free space on /system is wasted space.
you're still on stock hboot, which is why your data partition is so small.
if you install another rom, many of them have a smaller system size, so if you're s-off you can flash a different hboot to repartition your internal memory layout: your system size will reduce to roughly match your rom, and the saved space is converted into extra data space, see alpharev.nl for hboots.
e.g. if your rom system is 140MB, will fit nicely into cm7r2 hboot with 145MB system, and you get 287MB of data instead of 150MB. 287MB can be enough to store app data and dalvik cache if you don't have too many apps.
i refer you to these sets of guides for further reading, should explain a lot more, and better than i have...
thanks eddie,
i'm still s-on and stock hboot, but i use a custom rom: http://forum.xda-developers.com/showthread.php?t=1766550
i guess the problem is that LBE gues 4 and lookout together need over 22mb of space :/
i'll try link2sd then.
thanks!
hm.. when i try to install link2sd i get "insufficient storage available". that program is not even 1MB in size and i have 15mb of free space on the internal storage.. what can i do?
edit: i'll try to install it at home with an adb tool. maybe i have more luck with that.
follow instructions for a2sd with that rom (scroll down). this will move apps and dalvik to sd-ext automatically. or follow/search the thread for other methods, it's regularly discussed...
[not used link2sd, it should in theory do the same thing, but my advice would be to stick with the instructions as that's the recommended way if you really need/want to install link2sd...uninstall something else to make more space ]
ofc removing apps might help (althrough i only installed 2 or 3). but 15mb should be enough to install a 800kb software
gonna try to install some apps later after running a2sd.
thanks a lot man didnt see that information.
I wanted to install p. vs z 2 but it has 168 MB. And our Desire 151MB system partitionn :crying:
Of cause i have an ext partition. There are 754 free Mb of 1,41 GB. (quick system info)
But my intern memory just have 33,44MB of 151 free.
So on the ext i could install it 4 times but the store first download to intern. Is there a way to install? Maybe if someone uploads the apk and i flash it in the recovery directly to ext4?
An other question. When i startet my phone there where just 5,6MB free. When moves the a2sd script things to the partition and when moves it it back?
HandyBesitzer said:
I wanted to install p. vs z 2 but it has 168 MB. And our Desire 151MB system partitionn :crying:
Of cause i have an ext partition. There are 754 free Mb of 1,41 GB. (quick system info)
But my intern memory just have 33,44MB of 151 free.
Click to expand...
Click to collapse
Your /data partition is 151MB, not your /system partition. Your /system partition is 250MB as you are on stock hboot.
So on the ext i could install it 4 times but the store first download to intern. Is there a way to install? Maybe if someone uploads the apk and i flash it in the recovery directly to ext4?
Click to expand...
Click to collapse
When installing apps, as far as I know it doesn't actually install it to internal (/data), and then move it to ext4. It should install it directly to ext4.
However, depending on the ROM, it needs to see the available space on the internal. The apk is then tricked to your ext4 partition.
One way to install it which might work (not tried it)
- Find and download the apk
- Copy and paste it to your /sd-ext partition using a file browser
- Change file permissions to match your other apps
- Reboot
An other question. When i startet my phone there where just 5,6MB free. When moves the a2sd script things to the partition and when moves it it back?
Click to expand...
Click to collapse
What ROM are you using, and are you using the built in A2SD script or something else? Any A2SD script should move apps (and maybe dalvik cache) automatically to your ext4 partition. I does not move it to internal and back to ext4.
It looks like your memory usage is not very efficient. You may benefit from changing hboot if your ROM /system size is a lot smaller than 250MB. Your dalvik cache might also be on internal, when you could move it to sd-ext where there is plenty of free space.
eddiehk6 said:
Your /data partition is 151MB, not your /system partition. Your /system partition is 250MB as you are on stock hboot.
When installing apps, as far as I know it doesn't actually install it to internal (/data), and then move it to ext4. It should install it directly to ext4.
However, depending on the ROM, it needs to see the available space on the internal. The apk is then tricked to your ext4 partition.
One way to install it which might work (not tried it)
- Find and download the apk
- Copy and paste it to your /sd-ext partition using a file browser
- Change file permissions to match your other apps
- Reboot
What ROM are you using, and are you using the built in A2SD script or something else? Any A2SD script should move apps (and maybe dalvik cache) automatically to your ext4 partition. I does not move it to internal and back to ext4.
It looks like your memory usage is not very efficient. You may benefit from changing hboot if your ROM /system size is a lot smaller than 250MB. Your dalvik cache might also be on internal, when you could move it to sd-ext where there is plenty of free space.
Click to expand...
Click to collapse
i'm using RSK Sattelite ROM.
but if the apps are installed to ext how comes that the data sometimes has about 10MB free and after i installed an update there are 15MB free??
HandyBesitzer said:
i'm using RSK Sattelite ROM.
but if the apps are installed to ext how comes that the data sometimes has about 10MB free and after i installed an update there are 15MB free??
Click to expand...
Click to collapse
It depends a bit on how your script works. Reading the ROM OP it has some sort of "a2sdx" built it, I'm not familiar with exactly how it works. You need to understand this script first before wondering about anything internal memory related.
Think about it logically though...the script is meant to move things to the ext. That's its purpose. Generally they move at least the whole app apk to ext.
So
- If you have an app installed, it should already be on the ext.
- When you update the app, it will overwrite the existing apk on ext.
- There are other things along with an app such as app libs, app data and dalvik cache, which may be on internal or ext depending on the script. These can change on app updates as well.
Have a look at an app like 'DiskUsage', use it to browse your /data partition. See what's using the space. Often you may have some stray /system apps on /data, and you need to move them back to /system.
hello guys
im using CyanoMod007 (CM10.1.2 | JB 4.2.2 | A2Ext+) [STOCK | CM7] [v31 | 07/08/13] rom and i have a problem.
i though my apps would go in the 1gb sd ext partition i created, intead i have my internal memory with 148mb almost full. what have i done wrong?
How did you partition your sdcard? Should be done with 4EXT recovery or gparted only, not minitool or clockworkmod recovery
Your internal memory will read 148mb because you're still on stock hboot.
You can increase it slightly by changing to cm7 hboot (requires s-off) and installing the cm7 version if the ROM.
However your internal memory still won't read 'internal + sd-ext'. You may need to activate a2sd using terminal commands, should be in the ROM op or search the thread.
Move apps and dalvik to sd-ext, most of the time you need to keep apps on internal to trick them to sd-ext (do not 'move to sd')
Finally check all your partitions by installing DiskUsage app and see how your /sd-ext and /data (internal memory) is filling up, understand HOW your memory is being used
eddiehk6 said:
How did you partition your sdcard? Should be done with 4EXT recovery or gparted only, not minitool or clockworkmod recovery
Your internal memory will read 148mb because you're still on stock hboot.
You can increase it slightly by changing to cm7 hboot (requires s-off) and installing the cm7 version if the ROM.
However your internal memory still won't read 'internal + sd-ext'. You may need to activate a2sd using terminal commands, should be in the ROM op or search the thread.
Move apps and dalvik to sd-ext, most of the time you need to keep apps on internal to trick them to sd-ext (do not 'move to sd')
Finally check all your partitions by installing DiskUsage app and see how your /sd-ext and /data (internal memory) is filling up, understand HOW your memory is being used
Click to expand...
Click to collapse
tnks for your reply mate...
im still new to all this, what i can tell you is that i used 4ext to partition the card and then recovered a backup i had. its s-off.
shaca said:
tnks for your reply mate...
im still new to all this, what i can tell you is that i used 4ext to partition the card and then recovered a backup i had. its s-off.
Click to expand...
Click to collapse
Before you do anything, install DiskUsage as advised.
- Browse to your /sd-ext partition, you may need to enable root permissions. If it's not filling up with your apps then you haven't activated A2SD.
- Browse to your /system partition, you'll find that you have a lot of free space here as you are still on stock hboot. This is effectively wasted space. If you change hboot you'll have a smaller /system and therefore larger /data (internal memory) :good:
So like I said, if you want app space, change to CM7r2 hboot using fastboot commands (search for a guide), full wipe and install the ROM again.
Follow the instructions as written in the first post to activate A2SD. Recommend you choose to move dalvik cache only to sd-ext.