Related
Hello guys!
I am using this ROM with app2sd and Recovery Amon RA 1.5.2
My question is- when I install some apps from the Market, not from files, do they go to SD card or I have to install there manually?
Thanks a lot!
miragebg said:
Hello guys!
I am using this ROM with app2sd and Recovery Amon RA 1.5.2
My question is- when I install some apps from the Market, not from files, do they go to SD card or I have to install there manually?
Thanks a lot!
Click to expand...
Click to collapse
If you have formatted your sd properly in ext3 partition... then you shouldnt do anything.just installing from market would put it on the card.
one question..
when a app is installed in the ext3 partion, why does the menu with the internal memory lose space? or is this normal?
With a2sd, your /data/app and /data/app-private directories are actually mounted to a filesystem on your sd card. The OS still installs the apps in those directories, which just happen to be on the sd card. It's all transparent to the OS.
The dalvik cache, where virtual machines are created to run your apps, still resides in internal memory, so when you run your new app for the first time, a VM gets created, and the amount of available internal memory goes down. That's normal.
Word of caution: Never remove the SD card while the system is running. Always turn it off first.
marinierb said:
With a2sd, your /data/app and /data/app-private directories are actually mounted to a filesystem on your sd card.
Click to expand...
Click to collapse
technically it is the other way around, the sdcard is mounted to the directories. but other than that you are spot on
so what happend when i'm over the internal memory?
i mean when the internal memory shows 80mb and i am installing a lot off apps, over the 80 mb what happend?^^
does the internal memory goes in the negative?
no just u cant install more apps. the problem is the dalvik cache. i moved the dalvik chache to the sd card too to save more space.
zerofigther said:
so what happend when i'm over the internal memory?
i mean when the internal memory shows 80mb and i am installing a lot off apps, over the 80 mb what happend?^^
does the internal memory goes in the negative?
Click to expand...
Click to collapse
lol yes the memory goes into negative, and the data starts to leak out of your phone!
scnr, i can imagine two scenarios: android tells you that there is no more space left and you can not install more apps, or it will just start to freeze, give force closes, reset itself, stuff like that. i'd guess the first one, it is forseeable that one fills the rather small phone memory, so there should be routines that stop the phone from failing catastrophically. anyone up for a test?
Shortly after getting my Desire I rooted it using the Unrevoked 3 method and replaced the stock UK T-Mobile stock ROM with Open Desire 1.0c. (Froyo with HTC Sense). I also had the phone unlocked to use my Vodafone sim (for my sins!!).
I am using a 16gb memory card partitioned to 14gb FAT32 and 2gb ext3.
Wherever possible I install apps to the memory card using SetInstallLocation or manually moving apps across to the memory card via Settings/Applications/Manage Applications.
I have a lot (and I mean A LOT) of apps installed. Now my phone is reporting that it is running low on memory again.
Is there any way I can either a) increase the amount of available memory for apps OR b) move more apps to the memory card?
I'm relatively new to Android (and the Linux ethos) so I may have missed something when setting up my phone or the memory card.
Any help in resolving my storage issue would be appreciated.
Thanks
Dalvik Cache
Sounds like a cache issue or memory leak. try deleting your Dalvik Cache.
wickedpenguin said:
Sounds like a cache issue or memory leak. try deleting your Dalvik Cache.
Click to expand...
Click to collapse
Thanks for the advice. I've deleted the Dalvik Cache and that has given me back 3 or 4 mb, but I'm still low on memory.
I did see a post a long while ago, where someone described how to trick the phone into thinking it had about 2 or 3gb of free memory (with screenshots to prove it...though they could have been photoshopped I suppose) but I haven't been able to find that post again.
Anybody else got any idea where that post is or any other ideas about how reclaim more phone memory without having to delete apps?
Thanks in advance people
babblerx said:
I am using a 16gb memory card partitioned to 14gb FAT32 and 2gb ext3.
Wherever possible I install apps to the memory card using SetInstallLocation or manually moving apps across to the memory card via Settings/Applications/Manage Applications.
Click to expand...
Click to collapse
First of all, if you are using legacy A2SD or A2SD+ with an EXT partition, there is zero point using setInstallLocation because all you are doing is moving the application from the EXT partition on the SD card, to the FAT32 partition on the SD card!
If you are using legacy A2SD (not A2SD+), you can also moving the dalvik cache to the EXT partition using A2SD+.
Alternatively, if you are using Froyo A2SD, you can try using fusecompress to compress your dalvik cache, by following the advice in this thread. I've been trying this out for a few days now, and it works like a charm and returned about 22MB of space.
Regards,
Dave
So, you are thinking 'not again the *** apps2sd n00b question', but here I am
I did some research on XDA and the rest of the internet though, but nobody seems to have this problem.
I have a rooted Desire with DeFrost 6.0. With it, it is very easy to install your apps on the SD-card. I have only 8 apps on the ROM itself, but those are widgets and apps with notifications like Facebook (notifications don't work if they are installed on de sd-card is my experience).
The rest of my applications are installed on the sd-card (around 80 apps). But the problem is that all apps also have a piece of dalvikCache on the ROM as well. You all know that of course. For instance, I installed Documents To Go (5MB) on the sd-card. It also has 5MB dalvikCache on the ROM, so thats double the price .
Now if people ask here 'is it safe to move the cache to the sd-card', most of you say 'unless you want to show off how much empty space you have on your phone, I would just keep it on the phone'. But I do not have any free space.
With DiskUsage I can see that I have around 150 MB of data: 26MB system data, 15MB free space (and he is already nagging the telephone is running out of space), and more than 100MB of applications, with most of it is dalvikCache.
So is this normal? Is 80 apps really the max you can have?
My biggets app is by the way Documents To Go (5MB), and I had to delete it. So I don't have very big apps.
Just want to know how much apps you guys have
Thanks.
How have you forced the Dalvik Cache to stay on the phone memory and why/how have you copied your widgets on your phone memory?
PS: Do you use an EXT3 Partition or the Froyo legacy A2SD?
It's not unusual to move dalvik cache as well as the app. You will need root though, and then just partition your sd-card and install a rom with a2sd+. The only /data/data will take up space on the phone.
UpSpin said:
How have you forced the Dalvik Cache to stay on the phone memory and why/how have you copied your widgets on your phone memory?
PS: Do you use an EXT3 Partition or the Froyo legacy A2SD?
Click to expand...
Click to collapse
I didn't do anything to force the cache to stay on de phone. But it's normal the dalvikCache is on the phone memory right?
I use defrost 6.0 and in it you can go to settings > applications > manage applicatons, an you can move all your apps to the sd-card. I'm not sure what kind of A2SD that is.
I move any applications with widgets to my phone memory, because otherwise widgets don't work anymore if you reboot your phone.
@mortenmhp: But also a lot of people do not recommend to move the dalvikcache. Is it safe to do?
you're confusing a few things:
APPS2SD:
There are two methods used at the moment.
The Froyo method, made by Google, which you use at the moment. It installs the app on the phone memory and is able to outsource a small amount of data to the FAT32 partition on your SD-card. It does create failures with apps that use widgets or run in the background.
The A2SD+ method, integrated in DeFroST and almost every other custom ROM. You have to create an EXT3 partition on your SD card (use ROM manager for this) and then reflash the rom. After that it gets activated automatically. All apps and also the dalvik cache gets moved on the EXT3 partition on your SD card. You don't have to and you shouldn't move any apps around afterwards with the Froyo A2SD described above. Only some small data gets stored by the apps itself on the internal phone memory.
Moving the dalvik cache is safe. Maybe you confuse it with SWAP? Which isn't necessary on the HTC Desire.
ok, this is a little confusing
I'm running defrost
let's suppose that I installed the firefox app.
the diskusage tool tells me that it takes 13,4 MB in internal memory.
in applications settings, I have the option to move the app to sd card.
When I do this, my available memory does not change (102 mb)
Does that mean that firefox was already on the sd card ?
In that case how do I know what eats up my data storage ?
Thanks for precisions ?
Do you use A2SD+ together with an EXT3 partition.
If so, every app you install will get installed on the EXT3 partition on your SD-card together with the Dalvik cache, instead of your internal phone memory. If you move this app with the Froyo A2SD tool to the SD card then you'll move the app from the EXT3 partition to your FAT32 partition, stupid.
However, every app, while running, creates some temporary data files. Those files remain on the internal phone memory. And maybe Firefox mobile creates some huge data files, but the main app is installed on the EXT3 partition, now, because you moved it with Froyo A2SD, a small part is installed on the EXT3 partition and some part, the moved on the FAT32 partition. The created data remains untouched.
I had 106 MB free internal memory. Then I installed Firefox and still had 106MB free. I started Firefox, 103 MB free.
Diskusage tells me Firefox needs 2.81MB internal memory. 2.81MB of this is data.
In the Android app settings android tells me Firefox occupies 16.19 MB, 13.38 MB for the app, 2.81 MB data.
So those 13.38 MB are located on the EXT3 partition. If I move Firefox now, parts of the 13.38 MB get moved from the SD card to the SD card.
Ah, I get it now. Thank you very much. I did everything you said, so it should be ok now. So there is no need anymore to move apps, with widgets for instance, to the memory of the phone?
Thanks!
If you use app2sd with the ext partition now, then no, you don't have to move any app or widget around, and you shouldn't.
With Quick System Info you can check how much free space is left on your ext partition.
Sent from my HTC Desire using XDA App
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.
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.)