[Q] Low internal storage, using OpenDesire and Apps2SD - Desire Q&A, Help & Troubleshooting

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.

Related

APP2SD half-working.

Hello everyone, I've got a problem with APP2SD on my Leedroid ROM.
The problem is that some application, now, are installed in the SD card while some others in the Internal Memory Storage. (Maybe because I installed some apps while connected to the PC???).
Quick System Info says:
- A2SD: 116Mb of 457Mb Free
- Internal Mem: 8Mb of 148Mb Free.
In adb I see that:
- /system/app contains only the default stock apps.
- Most of the apps are in /data/app and the same apps are in /system/sd/app (symbolic Link?)..
But I cannot find where are the other 140Mb of Apps in the Internal Memory as shown in QuickSystemInfo.
Can you help me to figure it out?
Thanks in advance!
Hurizen said:
Hello everyone, I've got a problem with APP2SD on my Leedroid ROM.
The problem is that some application now are installed on SD card, and some on Internal Memory Storage. (Maybe because I installed some apps while connected to the PC???).
Quick System Info says:
A2SD: 116Mb of 457Mb Free
Internal Mem: 8Mb of 148Mb Free.
In adb I see that:
- /system/app contains only the default stock apps.
- Most of the apps are in /data/app and the same apps are in /system/sd/app (symbolic Link?)..
But I cannot find where are the other apps 140Mb of Apps in the Internal Memory as shown in QuickSystemInfo.
Can you help me to figure it out?
Thanks in advance!
Click to expand...
Click to collapse
I'm having the same problem and the low memory notification pisses me off every time but i deleted some app's data and its gone, although i only have around 16mb free space in the internal storage
Hurizen said:
Hello everyone, I've got a problem with APP2SD on my Leedroid ROM.
The problem is that some application now are installed on SD card, and some on Internal Memory Storage. (Maybe because I installed some apps while connected to the PC???).
Quick System Info says:
A2SD: 116Mb of 457Mb Free
Internal Mem: 8Mb of 148Mb Free.
In adb I see that:
- /system/app contains only the default stock apps.
- Most of the apps are in /data/app and the same apps are in /system/sd/app (symbolic Link?)..
But I cannot find where are the other apps 140Mb of Apps in the Internal Memory as shown in QuickSystemInfo.
Can you help me to figure it out?
Thanks in advance!
Click to expand...
Click to collapse
ok for starters /data/app/ and /system/sd/app/ are the same folder, the apps2sd script has created a symlink between the 2 folders. fyi /system/sd/app/, /system/sd/app-private/ and /system/sd/dalvik-cache, is your ext partition, now there is nothing wrong with the apps2sd on your rom, you are seeing your internal storage decrease because although apps2sd moves /data/app/ to your sd ext, /data/data/ remains on the nand (internal storage) this directory holds all your settings and app data, some apps use up more space in /data/data/ than others, thats why with some apps, your internal storage will stay the same, but others will takes space off it,
It's normal certainly.
YOur 140 Mb probably used for data (application settings and data, application cache)because not all developpers save it on your sd card but in your internal storage too.
Use the app "Quick System Info" (available on the market) and sort your app by application data size.You could see where is your 140 missing data.
Do not forget = > app2sd if for the apk storageONLY and not the application settings or cache (symlink only on /data/app and not on /data/data, did you see the difference ?).
Good luck for your stuff
elfabio said:
It's normal certainly.
Your 140 Mb probably used for data
Click to expand...
Click to collapse
You got it!!! Thanks!... But.. Now?
It's there a way to move this data somewhere else?
Thanks everyone!
Hurizen said:
You got it!!! Thanks!... But.. Now?
It's there a way to move this data somewhere else?
Thanks everyone!
Click to expand...
Click to collapse
Sure there is a solution
try this thread http://forum.xda-developers.com/showthread.php?t=852219
sibere said:
Sure there is a solution
Click to expand...
Click to collapse
Thanks Man!
i also flashed Lee's rom, I have check by using sys info. apps2d has 45Xmb, and 35X mb available, while some apps cannot move the sd card, is my apps2sd functioning properly? how to check? thx~~~~

cache2cache

Can the Desire benefit from using cache2cache? The Hero and Eris both use this in some of the sense roms, not sure if the Desire devs have taken any notice?
-------------------------------
http://forum.xda-developers.com/showthread.php?t=726467
Cache Location (Cache2cache):
By default, the dalvik-cache has been relocated from the internal /data/dalvik-cache/ directory to the internal /cache/dalvik-cache directory. The Eris comes with an internal /cache/ file block of 130mb that is not used! After reviewing a number of xda member file system usage reports (thanks xtrROM and xtrSENSE users!) the MOST reported use of this space was 5%... So by moving the dalvik-cache to this free area you now have over 150mb on internal /data/ for apps and over 75mb in internal /cache/ for dalvik-cache. This means that you can probably install close to 100 apps WITHOUT having to partition and move anything to the SD Card ext!
Well as we have s-off we can just resize the partitions instead It's quite easy to do. BTW I don't remember the std partition layout so can't say if this is really a problem

A2SD HELP!

I have been having nothing but problems with A2SD I decided to partition my EXT3 to 2GB and at first installed leedroid and have since moved to OxygeN both obviously show only around 120mb when I start phone I understand this. It doesn't show A2SD so I install quick system info that says I have 1.99GB A2SD storage. OK move to the future and I have around 14 apps installed and have ran out of space on my phone. internal storage 16.05mb A2SD free 1.85GB the phone is not installing apps to the SD card. It was the same for leedroid and for OxygeN. I have nearly all my A2SD space available. I have no apps moved to SD using Froyo-A2SD. I'm pulling my hair out as my phone refuses to let me download a 700k app from market now..
I tried wiping cache too it upped my free space to 17mb.
Vhero said:
I have been having nothing but problems with A2SD I decided to partition my EXT3 to 2GB and at first installed leedroid and have since moved to OxygeN both obviously show only around 120mb when I start phone I understand this. It doesn't show A2SD so I install quick system info that says I have 1.99GB A2SD storage. OK move to the future and I have around 14 apps installed and have ran out of space on my phone. internal storage 16.05mb A2SD free 1.85GB the phone is not installing apps to the SD card. It was the same for leedroid and for OxygeN. I have nearly all my A2SD space available. I have no apps moved to SD using Froyo-A2SD. I'm pulling my hair out as my phone refuses to let me download a 700k app from market now..
I tried wiping cache too it upped my free space to 17mb.
Click to expand...
Click to collapse
Have you moved dalvik from internal memory to sd ?
gippy2 said:
Have you moved dalvik from internal memory to sd ?
Click to expand...
Click to collapse
No I read thats a bad idea as it can cause problems?
EDIT - Tried it and now I have 97mb free.. AWESOME so far no probs will update if I have any more. Also noticed though when I backed up before adding the mod it had some games/apps in the devlik cache i no longer have installed? Any way I can remove them? Like Skype etc..
A2SD was the reason for me to root...tryed arround diff ROMs...had the same prob like u...then i find my perfect ROM: Acemod007
super fast, stable, super support, and the best: a2sd works perfectly! i have an 2 gb ext4 partition and round 150 apps installed and 200 mb internal free (running CM7r2)!
Check this out!
greez
Va2.0 said:
A2SD was the reason for me to root...tryed arround diff ROMs...had the same prob like u...then i find my perfect ROM: Acemod007
super fast, stable, super support, and the best: a2sd works perfectly! i have an 2 gb ext4 partition and round 150 apps installed and 200 mb internal free (running CM7r2)!
Check this out!
greez
Click to expand...
Click to collapse
yep thats why i rooted It's an annoying problem.
To find out, if a2sd+ is working, open terminal emulator and type
Code:
su
ls -l /data
In the ouput you should find this
Code:
/app -> /sd-ext/app
/app-private -> /sd-ext/app-private
/dalvik-cache -> /sd-ext/dalvik-cache
If you cannot find this, partition your sd card with gparted again (save important data before this):
1.) Create fat32 partition (primary)
2.) Create ext partition (primary)
3.) Flash e.g. oxygen rom
At last, make sure you followed the instructions in leedroid thread step by step in the correct order.
is the code i should write 1 or i ?
Neither nor. It's an "L" in lower case character.
SwiftKeyed from Oxygen with Transparent XDA App

Apps2sd

my ROM is a apps2sd ROM. Ext sd is reporting use, i.e. I set 1g of ext and storage says 658mb of ext is free. But in applications my apps give me the choice to Move to SD! ?
I used TB pro to batch move apps to SD but altho my apps now report they are on SD. Ext usage actually went down after the move. Am I confusing Apps on Sd / ext ? So on roms with default apps2sd you ignore in applications that they appear to be on internal mem?
Sent from my HTC Desire using XDA App
Yes ignore it. You've just moved your apps from ext to fat. Read the root memory faq in my signature
Sent from my HTC Desire using XDA App
I've some A2SD questions as well. I'm on CM7 with several apps already installed. My 4GB SD card has already been partitioned to 3GB FAT32 and 1GB ext4.
I was getting low memory warnings so I applied the darktremors script (stable, not nightly) expecting it to automatically move my apps to the sd card like your a2sd guide said it would. However, I still got low memory warning, so I manually moved the app to sd card using manage applications. This however moved the apps to the FAT32 partition, and several of my apps suh as my clock widget and swype no longer work.
How to I get my existing apps to move to the SD card's ext4 partition?
They need to all be moved to phone.
The apps should automatically move to ext download quick system info to check a2sd is working.
If its not try "a2sd reinstall" from terminal emulator.
Dalvik-cache is not moved by default and takes up a whole load of space so don't forget "a2sd cachesd" too
Sent from my HTC Desire using XDA App
OK, I thought the a2sd would move existing apps as well, didn't know I needed to "a2sd reinstall". Can I do the reinstall through an adb shell or do I need to download a terminal emulator?
I don't have a Class 4 card, it's a generic card and I don't know what class it is, so should I move the dalvik-cache to the cache partition using "a2sd cachepart" rather than "a2sd cachesd"?
Do I need to wipe cache and dalvik-cache before running any a2sd commands such as reinstall and cachesd/cachepart?
Lastly, do I need to reboot the phone after running these commands?
Thanks.
goister said:
OK, I thought the a2sd would move existing apps as well, didn't know I needed to "a2sd reinstall". Can I do the reinstall through an adb shell or do I need to download a terminal emulator?
I don't have a Class 4 card, it's a generic card and I don't know what class it is, so should I move the dalvik-cache to the cache partition using "a2sd cachepart" rather than "a2sd cachesd"?
Do I need to wipe cache and dalvik-cache before running any a2sd commands such as reinstall and cachesd/cachepart?
Lastly, do I need to reboot the phone after running these commands?
Thanks.
Click to expand...
Click to collapse
Ive never seen any performance issues even on class 2 cards. Keeping dalvik on NAND may give a miniscule performance increase, but I think its so negligible, you wont notice. But put it where you want. I recommend card though as you need the cache partition for downloads and as it fills with dalvik, it will limit the size of apps you can download from the market.
a2sd reinstall is for if it doesn't work properly. Its always the first thing to try. Then move dalvik. The way dalvik move works is that it wipes dalvik, moves the location then reboots the phone (rebuilding dalvik so expect delays when booting up the first time). For this reason its best to use "terminal emulator" from the market.
Hope this helps.
Alright, thanks! Will try reinstall and moving dalvik cache to the sdcard. Might get a new faster card since 4GB is getting tight anyway.
Tried the reinstall and it seemed to work. I had to move my apps back to the internal memory in 2 batches since I was running out of internal memory. So here's what I did
1. Move batch 1 of apps from sdcard back to internal memory
2. Run a2sd check in adb shell
3. Run a2sd reinstall in adb shell
4. After phone rebooted, checked my storage to find about 50MB of internal space left (woohoo!)
5. Move batch 2 of apps from sdcard back to internal memory
6. checked my storage to find still about 50MB of internal space left. I guess this means a2sd automatically moved them to the sd-ext partition?
When I ran a2sd check in step 2, the output showed that my ext partition type was ext2 rather than ext4 which I formatted the sd-ext partition to. Is this a mistake?
Will try moving dalvik-cache perhaps this weekend.
Are there any benchmarks I can run on the sdcard to make sure it's fast enough for dalvik-cache? Perhaps HDTach/CrystalDiskBench/ATTO/AS-SSD Bench/etc? There aren't any markings on the sdcard that indicates its class. It's a generic HP 4GB sdcard. Will a "dd if=largefile of=/dev/null" for read and a "dd if=largefile1 of=largefile2" for write work?
I've never known a card too slow for dalvik. Just move it. You can move it back again
Sent from my HTC Desire using XDA App
I believe the ext2 is due to some error with a2sd check. I encountered it too when i used the command and i was using an ext4 partition.
As for dalvik, try moving it. If it too slow then move it back.
itachi1706 said:
I believe the ext2 is due to some error with a2sd check. I encountered it too when i used the command and i was using an ext4 partition.
As for dalvik, try moving it. If it too slow then move it back.
Click to expand...
Click to collapse
Sorry, yes its a bug, fixed apparently in the latest BETA.
Don't think I'll be playing with the phone for a while - it's my wife's phone, and it took almost a week for me to figure things out and start from stock to CM7 with A2SD...now it's relatively stable with quite a bit of internal memory available, so I think I'll keep it that way for a while.
Thanks for all the help!
Hello rootsu,
i installed a Data++ rom and now some applications that i install, not from market, disappear after a reboot. From the market it is fine but if i put a .apk in the card and install it, disappear after reboot. Not all of them. Only some of them.
I have a aura sygic gps and this is one of them that disappear after install. The only way that doesn't is to move to the card. And another one, that doesn´te have the option to move to the card, disappear after reboot.
I already wipe dalvik cache, wipe everytnhig, rom install again, etc...
What's the problem? Do you now? I've searched a lot but i cant find anything.
That's a new one on me.
Install, take titanium backup, boot recovery, factory reset, format /data, titanium restore?
Sent from my HTC Desire using XDA App
Thanks, rootsu.
And when i go to install again, say that this will replace another application.
I already made a backup, when i have stock, and restore it and happens the same.
What to do?
Edit: I do a backup, only the application, with titanium, and when restore it and say error and dont restore the application.
Hello rootsu,
i modify de hboot to sense and all problems gone. Its good now. I think thats a problem with a Hboot Data++.
Thanks.
Ah maybe yes. Good work
Sent from my HTC Desire using XDA App
Hello rootsu,
i install hboot sense and Leedroid 3.3.3 and works fine, but i have a question about cache file system. Why my cache system space is 202mb? In the AlphaRev 1.8 page the hboot sense as 40 mb. I dont understand.
The cache system space is from sdcard memory or memory phone?
Thanks
Although I am not rootSU, I feel free to answer:
I am pretty sure it uses space of SD Card. Using internal memory would be a little strange, especially we are talking about 160 MB here.
SwiftKeyed from CyanogenMod with Transparent XDA App
MatDrOiD said:
Although I am not rootSU, I feel free to answer:
I am pretty sure it uses space of SD Card. Using internal memory would be a little strange, especially we are talking about 160 MB here.
SwiftKeyed from CyanogenMod with Transparent XDA App
Click to expand...
Click to collapse
Thanks MatDrOiD.

App2sd not working properly?

Ok, here's my situation:
Wildfire s A510e
S-ON
Android 2.3.3
This thing enabled
According to app2sd, i've got no more moveable apps, on my internal memory there are just 7 apps installed (Google Maps, Facebook, Vocal Search, Youtube, Gmail, Clock Widget, 3g Watchdog), but i've got just 6mb free (out of 150mb).
The thing is, browsing my internal memory (using for example Disk Usage, which i think is very user friendly), i found out that all the apps i've installed on the sd have a lot of data on the internal storage anyway.
For example, i've got Barcode Scanner installed on my SD, But it uses 545kb on my internal memory 600kb on the SD.
And another thing: when i browse to settings- applications - manage apps, i can see Barcode Scanner installed on the SD, but it says it uses 545kb (which is the amount of data in the internal memory).
So, is all this normal? 'cause otherwise i don't see the point in installing apps on the sd if they fill up the internal memory anyways.
Any idea? Any suggestion?
Thanks in advance!
I have soff, a rooted rom. Many apps installed ans 120mb or so free memory. I think ans soff device is more flexible to tweak.
Sent from my HTC Wildfire S using xda premium
Ok, found out that the data not bein moved is mainly davlik cache and .apk files.
Now, although I already know the answer... Is it impossible to move those files, without root privileges, right?
Damn, I want S-OFF.
That's right, you need root access in order to move any system file on the device to another location, such as a different partition or external card.
Sent from my HTC Wildfire S A510e using XDA App
Update:
I've unlocked and rooted my phone.
I've created a 1024mb ext4 partition and installed Link2SD.
Moving all the apps to the partition.
Still, i found .apk files and davlik cache in the primary partition.
Any help? I though with root all my space problems would be over easyly :S
I did a 1024mb partition and used data2sd, I don't have to move app myself, the internal memory show my 1,150 GB...
Maybe you should use data2sd :/
Sent from my HTC Wildfire S using XDA App
update to rom 2.3.5 will actually free up more memory even you don't have the unlock your phone. For stock app e.g. facebook, gmail; if you happened to update it, they are unable to be moved to the SD card and occupy much of the internal memory. You can always use app2sd to move the other application to the SD card to free your internal memory once you've updated from 2.3.3 to 2.3.5, I think the HTC people have made some improvement in their latest update with regards to the internal memory issue.
After the updating, I haven't yet unlock my phone (as there was no suitable RUU for my carrier), yet I have free memory of 40 Mb on a 2.3.5 rom Vs that of 15Mb on a 2.3.3 rom.
SavageButcher said:
Update:
I've unlocked and rooted my phone.
I've created a 1024mb ext4 partition and installed Link2SD.
Moving all the apps to the partition.
Still, i found .apk files and davlik cache in the primary partition.
Any help? I though with root all my space problems would be over easyly :S
Click to expand...
Click to collapse
Did you do MOVE to SD or Link?
Move to SD is just using the built in Apps2SD support which still leaves parts of the APK, all the Dalvik Cache and Library files still on your internal Data partition.
Link is what you want... There are a few apps like Link2SD that, for obvious reasons, won't link.
You are not looking to use the Apps2SD function. Link.
Also you will see ALL the apps and Dalvik cache files listed on the Data partition still but if you look carefully they are sizeless as they are simply "links" or shortcuts if you like, to the real files on your secondard SD partition.
You will also still see the System APKS Dalvik cache files unless you integrate them into the system partition using something like Titanium Backup Pro. This is as it should be. System Dalvik will not move to an external partition.
If you're rooted and have a recovery, just install DT a2sd. Once your find the file, flash it, go to terminal emulator in the phone and type
Code:
su
A2sd reinstall
your phone will do a hot reboot. Then go back in and type
Code:
su
a2sd cachesd
There will bet another hot reboot and you're done. You'll still lose some internal memory as time goes by, but that's because the phone will store the apps cache on you're internal memory still.
Sent from my HTC_A510c using Tapatalk
d33ps1x said:
Did you do MOVE to SD or Link?
Move to SD is just using the built in Apps2SD support which still leaves parts of the APK, all the Dalvik Cache and Library files still on your internal Data partition.
Link is what you want... There are a few apps like Link2SD that, for obvious reasons, won't link.
You are not looking to use the Apps2SD function. Link.
Also you will see ALL the apps and Dalvik cache files listed on the Data partition still but if you look carefully they are sizeless as they are simply "links" or shortcuts if you like, to the real files on your secondard SD partition.
You will also still see the System APKS Dalvik cache files unless you integrate them into the system partition using something like Titanium Backup Pro. This is as it should be. System Dalvik will not move to an external partition.
Click to expand...
Click to collapse
Thanks deepsix! That actually worked. (btw i realized that by myself just 30 secs after i wrote my previous post, i feel so noob for writing that, lol.)

Categories

Resources