[Q] Leedroid Gingerbread A2SD+ complaining about insufficient storage - Desire Q&A, Help & Troubleshooting

I recently upgraded my A2SD+ Leedroid 2.2f to 3.0.8.2 (Gingerbread). To do this, I first wiped all data from ClockworkMod and then installed Leedroid's zip. Now, after a few weeks of use and having installed a small fraction of the apps I used to have on 2.2f the device is constantly complaining from insufficient storage. Sometimes it's so bad, it won't even sync!
Quick System Info Pro says I have:
SD storage: 7.09GB (1.33GB free)
A2SD storage: 494MB (259MB free)
Internal storage: 148MB (14.74MB free)
System storage: 250MB (19.70MB free)
System cache: 40.00MB (38.31MB free)
Memory: 405MB (83.35MB free)
I'm almost certain that the problem is related to the low free internal storage. When I uninstall apps, the free internal storage seems to increase. Do apps still store their data in the internal storage? I don't get this. I've never had such problems with Leedroid Froyo, and used to have much more apps installed.

It will be the dalvik cache. You can move the dalvik cache to ext and it will be fine. But you would of been better off with 1GB ext.

Thanks for the quick reply!
1) Any idea where I can find instructions how to do that?
2) Would this require a faster SD card? Mine currently is class 4.
3) Would it require reflashing?

1) Open terminal emulator and type
Code:
a2sd cachesd
Reboot phone and type
Code:
a2sd reinstall
Swyped from Oxygen with Transparent XDA App

Installed "Terminal Emulator" from the market, ran it but it says:
a2sd: not found
I'm running Leedroid 3.0.8.2 with A2SD+ (don't have S-OFF).

(bump)
Any ideas, fellas? It's really annoying having to constantly worry about space and not being able to install new apps

I really hate to spam the thread like this, but please, any suggestions?
Thanks!

connect the device to ur computer using the USB cable.
make sure you're on Charge Only.
also, make sure u have all the drivers that using adb requires.
open the cmd and type
Code:
cd C:\android-sdk-windows\tools
now type:
Code:
adb
Code:
adb shell
now wait for the # to show up.
after it showed up, type:
Code:
df -h | grep data
this will show you how much space of the internal space is taken.
type:
Code:
du -sk /data/data/* | sort -rn | head
and it'll show u your top ten internal-space-taking apps by order.
create a new folder that the dalvik cache of those apps will be moved to by typing:
Code:
mkdir /system/sd/.data
(the name of the folder will be .data)
now move some of those apps and link them to their original place by typing:
Code:
mv /data/data/com.navngo.igo.javaclient /system/sd/.data/com.navngo.igo.javaclient
and then
Code:
ln -s /system/sd/.data/com.navngo.igo.javaclient /data/data/com.navngo.igo.javaclient
.
of course that instead of 'com.navngo.igo.javaclient', you will type the name of the app you're moving.

Thanks, b1gdrag0n! And what about moving the whole /data/data to the sd? Or will this slow down things a lot?

Related

[Q] Low internal storage, using OpenDesire and Apps2SD

My phone is rooted and I'm using OpenDesire (4.0.36) with Apps2SD. My phone has recently started telling me it can't receive text messages due to having low space. I opened Quick System Info and it's reporting this for the storage:
SD card storage: Total 3.21GB, Free: 1.61GB
A2SD storage: Total: 457MB, Free: 180MB
Internal storage: Total: 148MB, Free: 5.12MB
System storage: Total: 250MB, Free: 155MB
System cache: Total: 40.00MB, Free: 12.16MB
I presumed it was the internal storage that was the issue so I uninstalled a few apps which brought it up to 19.63MB free and things seem fine now. I'm confused though as I'm using Apps2SD so nothing should be being installed in the internal storage, should it?
I've got plenty of Apps2SD space left but I can't install any more apps if they're going to start using up my internal storage.
Can I find out what's using up my internal storage space?
Read up on how A2SD+ works. Either use search or start here. (feels like I'm repeating myself)
/data/data is probably using most of your space.
I did search and I had read that before but I knew it anyway. That's why I was posting because I knew that using A2SD shouldn't be using this much internal memory.
However, I noticed in the comments that someone was having the same issue as me and did a cachesdreset to sort it out. I've just opened up a shell on my phone using adb but the a2sd executable doesn't seem to exist. I looked in /system/bin and even did "find / -name a2sd" but it didn't find it.
I presume this means I have to install Darktremor Apps2SD? Presumably OpenDesire doesn't come with it.
For the a2sd script look in /system/etc/init.d
Sent from my HTC Desire using XDA App
TheGhost1233 said:
For the a2sd script look in /system/etc/init.d
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Nope, not in there either. But I wouldn't really expect it to be as an executable shouldn't exist in the init scripts directory.
I'm sure it's not on my phone otherwise it would have been found when I did "find / -name a2sd".
I think you're right about it being my /data/data directory. I just changed to that directory and did "du -h" and it's coming out at 120MB which seems really big.
What is this directory exactly? Can I get away with deleting these files?
Doing "ln -al" in /data shows that the symlinks are set up for the app and dalvik-cache directories so I know that's all ok.
/data/data is mostly used for lib's that come with the apps you installed and cache, I presume cache can be safely deleted, but the lib's can't be deleted.
Have you ever tried do delete the cache, especially the browser cache. I don't know if on 2.2 it's the same but on 2.3 there is a option to clear cache if you go to settings-applications-manage applications, otherwise try a cache cleaner from the market.
Cool, thanks. I'll have a look.
Actually, I seem to remember that Quick System Info has a button for clearing cache from all the applications.
Is this safe to do? I presume I won't lose anything important?
Never done it so I don't know for sure, but I would be surprised if it would delete important files. If you want to be sure wait for a answer from someone how has done it before or make a nandroid.

[Q] problem with Ext on sd

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.

[Q] Insufficient Storage Space with A2SD+

Hi Im having a problem with installing apps, I keep getting this message: "Insufficient Storage Space"
but a according to Titanium Backup I should have more than enough.
System Rom: 262MB (29.2MB free)
Internal: 154MB (124MB free)
SD Card: 6.87GB (2.97GB free)
SD Card (a2sd) 1.30GB (503MB free)
Any help on this would be much appreciated.
Ive tried searching for this but cant find any solution that works.
Hey
I'm having exactly the same issue -- have you had any luck?
Cheers
Check the size/free space of your cache partition - apps get stored to there when downloaded from market before installer runs.
this helped me...
Hi!
I had the same problem; with miui-xj i solved the problem this way:
with terminal emulator:
- Type su
- Type a2sd zipalign
- Type a2sd cachesd (there may be a reboot here...)
- Type a2sd reinstall (and another here)
try!
Bye
I Have the same issue.
If I type a2sd zipalign in the terminal emulator I had "a2sd not found" answer.
For sure I'm doing something wrong. What?
Those commands are for Darktremor's script. You probably have cyanogenmod, hence it doesn't work.
I have aurax tsense 8.4

[Q] Question about SD card memory

Hi guys, Im a total noob in this stuff.
But my question is, me SD card has a 1GB EXT3 partition and the rest is FAT32.
I recently flashed LeeDrOiD GB Sens rom and I was wondering when I go to the Menu and I look at the memory available it says I have 119MB available space on the internal storage, shouldn't it be 1GB since the EXT3 partition should also be the internal storage...?
Or am i totally lost in this stuff?
You are totally lost. The ext partition does not extend the internal storage. If you installed a2sd correctly, a symlink to /sd-ext will be created. This forces all apps to install in /sd-ext/data instead of internal memory (/data).
To check if a2sd is working, open terminal emulator and enter these commands:
Code:
su
ls -l /data
In the output you should see this:
Code:
/app -> /sd-ext/app
/app-private-> /sd-ext/app-private
If your rom supports a2sd+, you should also find this:
Code:
/dalvik-cache -> /sd-ext/dalvik-cache
The "->" means "is moved to".
Hmm, okay. Its not working.
This is what I get,
app
app-private
backup
dalvik-cache
...
...
And so on... There is no -> symbol.
Well I just made an EXT3 partition and flashed the new LeeDrOiD HD V3.3.3 - Port - R5 A2SD++. I thought A2SD would install automatically with this ROM.
Is there anything else I need todo so the apps go to the EXT3?
Thank for your reply!
Take a look on the leedroid thread. The dev posted a guide how to get a2sd working.
sorry but i can't write this code,is it a capital i or 1 and does it have spaces between them?
sorry but need the step by step instructions,thnx
Code:
ls -l
ls for list and -l for l(ong). Hope that helps.

[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.

Categories

Resources