[Q] M2SD SD Card Issue + Insufficient storage available - Desire Q&A, Help & Troubleshooting

I selected to move everything to sd-ext with the script Mounts2SD.
Problem 1: After installing about 100 apps, it says, "Insufficient storage available" when I try to install a new app (however, in the list it cycles through, only 1 or 2 small apps install successfully).
In Titanium Backup, it says:
Partition: Total: Free:
System ROM 262 MB 43.3 MB
Internal: 154 MB 150 MB
SD Card 14.0 GB 12.0 GB
SD Card (a2sd) 2.11 GB 1.68 GB
In 4ext Recovery it says:
Partition: Total: Free:
system 250.0MiB 41.3MiB
data 147.6MiB 143.3MiB
cache 40.0MiB 38.MiB
sdcard 13.1GiB 11.2GiB
sd-ext 2049MiB 1.6GiB
Setting the script to move the cache makes no difference and clearing both caches (dalvik cache and cache) also makes no difference.
Problem 2: After restoring apps with Titanium Backup, in android "Manage apps" showed some on the SD card and when I mounted my SD card to my PC, it warned about apps not working when I mount.
After running the script again, it didn't warn about it. However, in both cases, "Manage apps" shows some apps on the SD card and after unmounting my SD card, it takes AGES before I can see all apps (this is the same after booting) - only some apps (some 3rd party and all system) are there. Directly after unmounting and going to "Manage apps", the apps that it says are on the SD card say "com.amazon.kindle..." for example, then return to normal when they appear in the menu.
If I go to Titanium Backup straight after booting, it says that the external storage is not mounted and the backup directory is not available. Yet apps continue to try and install (and fail with insufficient space).
Also, it keeps saying "Process system is not responding." (said this after running the script).
Do I need to run the script every time I install a new app and after restoring apps with Titanium Backup?
Any ideas why this is happening?
Thanks.

I used alogcat when installing an app and after loads of lines that look fine, it says:
W/Finsky (2246): [1] FinskyApp.getDfeApi: Fall back to primary account.
Then loads more of lines that look fine, after which it says:
W/NetworkManegmentSocketTagger( 1056): untagSocket)53_ failed with errno -22
W/NetworkManegmentSocketTagger( 935): No content provider found for permission revoke: file///data/data/com.android.providers.downloads/cache/downloadfile-2.apk

Related

a2SD & titanium backup help.

Hey guys Im running LeeDroid rom.
I wanted to get a2sd to work, so I partitioned my SD via Rom manager with 512mb EXT3/0 swap
I titanium backuped all my apps/data. Transfered the folder to my deskop then did
the partition part via ROm Manager. When that was done I batch > restore apps and data.
My internal memory on the phone still says 30mb available ?
SD & phone storage is as follows:
SD:
Total space: 6.92 GB
Avail Space: 6.90GB
Internal Phone Storage: 34.25MB
Did I do something wrong ? How I know if my apps are on my SD card? Also if they are am I suppose to have more Internal Phone Storage?
Update: Under manage Apps > On SD card .... There is no apps what so ever there so must of done something wrong :S
Thanks !
how many apps do you have? with apps2sd it still uses some internal memory and some cache so internal memory will drop
According to titanium I have 22 user apps 148 data. But like I said under manage apps,on SD there is nothing. So prob did something wrong. How can I check if my SD is partitioned properly with a 512mb. Or even if a2sd is working.
Sent from my HTC Desire using XDA App
22 apps seems like internal memory is being used and not apps2sd
heres how to check if its working
http://forum.xda-developers.com/showthread.php?t=677073
it can be done using connectbot app from market
open connectbot and use local
then type
su
ls -l /data
this should list the top 2 items as:
lrwxrwxrwx root root 2010-04-28 22:54 app-private -> /system/sd/app-private
lrwxrwxrwx root root 2010-04-28 22:54 app -> /system/sd/app
ls -l /system/sd/app (will list apps on installed to your SD Card)
Awesome found my problem lol. I didn't have a2sd installed. I assumed it came with the Rom,just read and its optional and must be flashed.
Now is there a away to see if I partitioned correctly with a ext3?
Also do I back up apps and data or just apps.
Also how do I put my davlik cache on my SD or just put the apps.
Sorry first time doing all this LOL.
Thx for the help.
Sent from my HTC Desire using XDA App
So I installed a2sd.
Now my available internal phone memory is 125MB ... Is this right ?
Also under applications> manage apps> on SD nothing shows there is this normal ?
I thought that I would show all the apps.
Pretty sure its all installed properly. Because yesterday there was only 30mb of interal storage.
Just wanted to confirm if I should see apps under "on SD" in manage apps.
thanks
aCx85 said:
Hey guys Im running LeeDroid rom.
I wanted to get a2sd to work, so I partitioned my SD via Rom manager with 512mb EXT3/0 swap
I titanium backuped all my apps/data. Transfered the folder to my deskop then did
the partition part via ROm Manager. When that was done I batch > restore apps and data.
My internal memory on the phone still says 30mb available ?
SD & phone storage is as follows:
SD:
Total space: 6.92 GB
Avail Space: 6.90GB
Internal Phone Storage: 34.25MB
Did I do something wrong ? How I know if my apps are on my SD card? Also if they are am I suppose to have more Internal Phone Storage?
Update: Under manage Apps > On SD card .... There is no apps what so ever there so must of done something wrong :S
Thanks !
Click to expand...
Click to collapse
Your big mistake in my opinion was when you restored the Titanium backup. This not only restores apps (to their original location!) but also restores system data, some of which may not be compatible with Froyo and A2SD+
I recommend you do a factory reset/full-wipe including davlik cache, then check free memory at next reboot (before restoring anything).
With EXT3 and A2SD+, you should have 130MB+ free in phone memory.
If you get 130MB+ free, then don't restore the backup this time, but instead re-install all apps from the market manually.
Assume you have an 8GB SD card? The fact you have 6.92GB free on SD and not 7.5GB, suggests your 512MB ext3 partition is there, and probably working fine.
Sounds right as most people are getting 135mb after a fresh install with that rom.
Also try Quick System Info and in there it will give you a reading of the A2SD+ memory being used.
I think the way A2SD+ works is to trick the phone (with shortcuts to the programs on SD) into thinking its on the internal memory so maybe that's why they don't show up as installed on SD.

App Installation Problems

I'm currently having two problems installing apps on my phone:
1) When I try to install Go SMS, I get "package file is invalid".
2) When I try to install Facebook Messenger, I get "Insufficient Storage Available".
I feel like both of these are related. I am currently running Synergy RLS1 (no God-mode) w/ a2sd. According to Titanium Backup, I have the following amounts of space available:
System ROM: 367MB (15.1MB free)
Internal: 448MG (312MB free)
SD Card: 7.17GB (3.93GB free)
SD Card (a2sd): 719MB (495 free)
Plenty of other apps of various sizes install and uninstall without incidence, but for some reason, I can't get these two apps to install.
I tried to first wipe cache and dalvik-cache, and I've tried a full wipe and reinstall and I'm still having the same issue.
Any ideas?
FYI. I resolved this issue by reformatting my SD Card.
For some reason, there was a bad .apk stuck in /system/sd/app that when I tried to remove via adb shell, gave me some kind of input/output error.
Reformatting and repartitioning my SD Card finally resolved the issue.

[Q] Half used SD-EXT is full? - Invalid Packages

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

[Q] [ICS 0.7]insufficient storage error for particular apps

For certain apps play store is aborting the install displaying insufficient storage after downloading the app.
I was trying to install double twist player which around 7 MB. But play store was not allowing me to install even after several attempts.
I have installed ICS 0.7 (typical) with stock a2sd script with dalvik+app data in sd-ext.
i read somewhere wiping dalvik+cache will fix this, I did a wipe cache+dalvik from recovery but nothing changed.
With titanium backup when i checked the memory usage
System ROM : 262 MB (40.2 MB free)
Internal : 154 MB (150 MB free)
SD Card : 14.3 GB (3.64 GB free)
SD card(a2sd) : 1.58 GB (1.40 GB free)
I am not sure then why it is showing insufficient storage ?
Another amusing thing was i was able to install other apps of size 180 KB, 2 MB, 4 MB and even 7 MB. While some other apps of 3 MB and 4 MB i was not able to install.
Looks like the same issue as posted here
I am not entirely sure about that.
Coz in that post he says his titanium backup shows data is not moved to sd-ext
Hammerbak said:
I partitioned 2 GB of storage on my SD and it isn't using it all as you see on the titanium backup screenshot.
Click to expand...
Click to collapse
But in my case titanium backup shows app data has been moved to ext with usage info.
And for him with disk usage he could see cache is occupying large space
Hammerbak said:
I checked with the Diskusage app and found that approximately 600 MB was allocated for cache and data. Why isn't all of my 2 GB of sd-ext added to this "list"?
Click to expand...
Click to collapse
But for me with disk usage what i get is similar to titanium
/data (147.6 MB) - 143.5 MB free
/cache (40 MB) - 38.6 MB free
/data/dalvik cache (1511 MB) - 1344 MB free
/system (250 MB) - 38.3 MB free
iblueZ said:
I am not entirely sure about that.
Coz in that post he says his titanium backup shows data is not moved to sd-ext
But in my case titanium backup shows app data has been moved to ext with usage info.
And for him with disk usage he could see cache is occupying large space
But for me with disk usage what i get is similar to titanium
/data (147.6 MB) - 143.5 MB free
/cache (40 MB) - 38.6 MB free
/data/dalvik cache (1511 MB) - 1344 MB free
/system (250 MB) - 38.3 MB free
Click to expand...
Click to collapse
I run the same setup but with a2sd , dalvik and app to sd-ext , app data to internal.
My titanium:
System ROM 262 MB (43 MB free)
Internal 154 MB (129 MB free)
SD card 15.5 GB (14.2 GB free)
SD card (a2sd) 1.00 GB (789 MB free)
Bojan155 said:
My titanium:
System ROM 262 MB (43 MB free)
Internal 154 MB (129 MB free)
SD card 15.5 GB (14.2 GB free)
SD card (a2sd) 1.00 GB (789 MB free)
Click to expand...
Click to collapse
Hmmm looks similar.
One thing i forgot to mention yesterday i actually changed my microSD card (from 4 GB to 16 GB).
1) Used 4ext recovery to do (nand+ext) backup in 4 GB card
2) then copied fat32 contents from 4 GB card to 16GB card fat32 partition
3) restored the backup using 4ext in 16 GB
Not sure whether its due to that.
I am planning to try a full wipe and then restore apps using backup pro.
Lets c what happens after that.
In terminal
Code:
su
mkdir /mnt/sdcard/ICS/market-cache
cd /cache
mv download download.bak
ln -s /mnt/sdcard/ICS/market-cache download
ls -ahl
Yes the complete wipe did the trick, i think its some partition issue which was root cause of prob i guess.
In 4 GB card ext4 partition was 768 MB and in 16 GB ext4 i have given 1.5 GB. And i used 4ext recovery to restore nand+ext backup created, which might have caused some conflict related to storage space or a2sd working. (jst my guess)
I was getting lot of FCs and restarts doing so. I did recovery restore seeing this link
May be best option to transfer data/apps while swapping the card was to backup apps and data using my backup pro. And make a complete wipe and install ROM and then restore apps and data, at least in d case of ICS beta ROM .
bortak said:
In terminal
Code:
su
mkdir /mnt/sdcard/ICS/market-cache
cd /cache
mv download download.bak
ln -s /mnt/sdcard/ICS/market-cache download
ls -ahl
Click to expand...
Click to collapse
from my little understanding of linux commands you are asking to create a folder market-cache and then link the file downloaded to market-cache folder. Am i rt?
In that case it shud b 'cp' nt 'mv'
But i already did complete wipe n install. May be, i will try this next time . Thanks.
Another prob now....FCs poping up when i open dialer, maps, google talk, browser etc....i did try wipe dalvik+cache...even tried new installation after factor reset...the pop ups are coming after some time (may be few hours)...
These probs started coming after i started using sandisk mobile ultra 16 GB class 6 card.
i am attaching my logcat...pls help
Similar problem
Hi,
I have a similar problem,
I'm on HTC desire, Hboot stock bravo, partionned sd card with recovery (ext3)
I installed Beta_07.zip afert a full wipe (factory, cache, dalvick cache, battery stats, format sd card then create a partition, then install beta 07 from zip, selected default installation, then a2sd install in terminal, answer no for moving dalvik cache (because of bad performances), and yes for moving data, reboot ...
And now in the market i can't download anything at all
I wanted to install market fix (15 ko) ... market download it, and can't install "not enough space".
I'm soooo tired
I've tried
Code:
su
mkdir /mnt/sdcard/ICS/market-cache
cd /cache
mv download download.bak
ln -s /mnt/sdcard/ICS/market-cache download
ls -ahl
It doesn't work, he doesn't find market-cache directory :-/
Can you help me, please ?
can anyone please review the logcat and tell me whats going wrong?
adelie67 said:
Hi,
I have a similar problem,
I'm on HTC desire, Hboot stock bravo, partionned sd card with recovery (ext3)
I installed Beta_07.zip afert a full wipe (factory, cache, dalvick cache, battery stats, format sd card then create a partition, then install beta 07 from zip, selected default installation, then a2sd install in terminal, answer no for moving dalvik cache (because of bad performances), and yes for moving data, reboot ...
And now in the market i can't download anything at all
I wanted to install market fix (15 ko) ... market download it, and can't install "not enough space".
I'm soooo tired
I've tried
Code:
su
mkdir /mnt/sdcard/ICS/market-cache
cd /cache
mv download download.bak
ln -s /mnt/sdcard/ICS/market-cache download
ls -ahl
It doesn't work, he doesn't find market-cache directory :-/
Can you help me, please ?
Click to expand...
Click to collapse
Do a2sd install but dalvik cache YES to sd and NO to app-data.

[Link2SD][Xperia M] Apps Disappearing after Reboot

I Flashed cm12.1 in My Xperia
After this i want to move apps to sd due to low internal memory,so I partitioned my 16 Gb SD Card into 2 partitions (1st FAT32 and 2nd as EXT4, both are as primary) using Mini Tool Partition and following a tutorial guide in Some Site.
I changed the configuration of superSU to "enable SU during boot".
I Installed Link2SD & granting root access. ". Choose EXT4 for 2nd partition and after rebooting, it seems that worked. When I see the "storage information" it shows "SD card 2nd Part" in /data/sdext2.
I Moved some apps to SD Card and Created "Link to SD"(Linked Dalvic Cache to SD Card).
Those apps I created a link to sd card are simply disappeared after reboot. But APPs which i moved to sd card without linking dalvic cache are visible.
Anyone tell me whats the problem how can i fix. how can i get back those linked apps.

Categories

Resources