Newb question on the basics of Andriod memory management - myTouch 3G, Magic General

Hi guys,
Just switched from WinMo to Rogers 32A. I've flashed MyHero and so far I like it.
The part that still confuses me is how Android works internally as far as memory management is concerned.
I have the regular 32A (288MB version) with 8GB MicroSD. When I install applications using "adb install", what happens? Does it install to the 288MB area? Or is there another area it gets installed to? I don't think it installs on the SD.
So if it is limited to built-in memory, what do you guys use SD for? Is it just for pure storage purpose such as movies, music and documents accessed by applications?
If there are any helpful links that could clarify this, please let me know as well.

When you install it will put em on the internal ram (288mb) but with root you can modify it so it will install and run the applications on/from the sdcard.
Havent tryed myself but saw it around and maybe this link can guide you:
http://forum.xda-developers.com/showthread.php?t=462882
Didn't try myself cause i haven't run out of ram yet and also sdcards have a lifespan so guess it will die faster if you use it for applications.
I use my flash for nandroid recovery, music and so on!

Actually it is installed to the ROM (512MB)

I believe most applications are small so it will fit ok in the 512MB area but what about GPS apps? If CoPilot is similar to TomTom, it will probably exceed 1GB including maps. Does this mean I am forced to use Apps2SD?

My bad, ofcourse its in the rom
Guess when tomtom comes out for android the main application will be installed into the rom while the maps will be placed on the sdcard.

Related

Problem with Device Memory (Lack Of) on HD2

I have a very puzzling problem. When I first got the HD2 I installed a few cabs directly to the device. Due to this the device memory very rapidly became used up, which resulted in me having to delete some stuff and re-install to the 2GB SD card. Following this, I think I had about 25mb of free Device Storage on the phone. I now only install cabs etc direct to SD card, today I have roughly 1.4GB of free space on the card.
Imagine my dismay, therefore, when today, having installed 4 or 5 cabs, one being somewhere in the region of 44mb, I'm now completely out of device memory, even though I've installed directly to SD card. My device memory is now showing 0.00mb and I'm constantly getting the annoying 'low storage space' messages.
Any help would be much appreciated.
edit: The 44 mb cab I mentioned has not been installed to phone as apparently it won't let me due to lack of device memory, even tho I'm trying to install to SD card???
Also, when I go into Remove Program setting, all the cabs etc which I've installed from day 1 are listed there, no mystery there! Thing I don't understand is that they are all listed as being installed to phone internal memory. Even though when installed I specifically selected Storage Card and NOT device memory.
What's going on??
Anyone got any info on this please?
Does the SD Card have a program files directory, and are your apps there?
I'd very much like to point the OP to the EDIT button at the bottom of your posts... use that instead of spamming your own thread
Anyway, keep in mind some things:
- some devices come with a lot of useless stuff preinstalled, that steals precious internal memory free space
- some cabs may decide to copy their files over to internal memory even if you choose to install to SD card, depending on how they have been set during creation
- you can have a larger free space by flashing a "clean" custom rom, with base WM, manila, and nothing else, and easily add only the apps you really need (the rom I use in signature is one of those, unless you are on a 1024LEO in which case it would brick your phone)
- unless you install heavy apps (44mb is usually for bigdictionaries, encyclopedias, or images collections, in which case SD is the way to go) most apps SHOULD be installed in internal memory for various reasons
Bravoexo said:
Does the SD Card have a program files directory, and are your apps there?
Click to expand...
Click to collapse
Thx for reply.
Yes, and the files which I installed today, and now deleted, were in the program files on the SD Card, but it still impacted on device memory. I've now deleted the files I put on today but device memory is only indicating just over 3mb available. Prior to today I'm sure I had about 25mb free. Don't understand it??
ephestione said:
I'd very much like to point the OP to the EDIT button at the bottom of your posts... use that instead of spamming your own thread
Anyway, keep in mind some things:
- some devices come with a lot of useless stuff preinstalled, that steals precious internal memory free space
- some cabs may decide to copy their files over to internal memory even if you choose to install to SD card, depending on how they have been set during creation
- you can have a larger free space by flashing a "clean" custom rom, with base WM, manila, and nothing else, and easily add only the apps you really need (the rom I use in signature is one of those, unless you are on a 1024LEO in which case it would brick your phone)
- unless you install heavy apps (44mb is usually for bigdictionaries, encyclopedias, or images collections, in which case SD is the way to go) most apps SHOULD be installed in internal memory for various reasons
Click to expand...
Click to collapse
Thx for the above tip re: edit button. I didn't know you could use it to add to your own thread. I do now so won't be making that mistake again.
I take on board what you say and thx for your various points.
I just think that if you have an SD card, why not use it instead of cramming up the precious internal memory? Prior to today I had approx. 25mb free internal space. This went to zero internal space after I installed a few apps. I inadvertently installed one of the apps on to internal memory instead of SD card, so this would have obviously had an impact. The 44mb cab was the Ferrari GT game I came across today. In any case I've now deleted everything I installed today. But I now only have just above 3mb of free internal space even tho I've soft resetted a few times as well. This is what I don't understand?
RoN_HD2 said:
Thx for the above tip re: edit button. I didn't know you could use it to add to your own thread. I do now so won't be making that mistake again.
I take on board what you say and thx for your various points.
I just think that if you have an SD card, why not use it instead of cramming up the precious internal memory? Prior to today I had approx. 25mb free internal space. This went to zero internal space after I installed a few apps. I inadvertently installed one of the apps on to internal memory instead of SD card, so this would have obviously had an impact. The 44mb cab was the Ferrari GT game I came across today. In any case I've now deleted everything I installed today. But I now only have just above 3mb of free internal space even tho I've soft resetted a few times as well. This is what I don't understand?
Click to expand...
Click to collapse
My current rom leaves 250+MB free after flash, just to give you an idea.
Internal memory is way faster than the microsd, that's why you want to install apps there unless they are huge. Anyway, since games are not usually ment to stay on the device forever, but more like until you finish them to uninstall, you could give them a go in the internal memory as well.
If you still have space taken after uninstalling, download and install totalcommander (to internal memory obviously ) and check under \Program Files\ to see if there are folders of old uninstalled programs still in memory. If there are any, delete them.
If your stock rom is a bloated one from your carrier, take into consideration the idea of flashing a clean custom rom, if you have the means to reflash the original rom back on in case you ever need warranty servicing
ephestione said:
My current rom leaves 250+MB free after flash, just to give you an idea.
Internal memory is way faster than the microsd, that's why you want to install apps there unless they are huge. Anyway, since games are not usually ment to stay on the device forever, but more like until you finish them to uninstall, you could give them a go in the internal memory as well.
If you still have space taken after uninstalling, download and install totalcommander (to internal memory obviously ) and check under \Program Files\ to see if there are folders of old uninstalled programs still in memory. If there are any, delete them.
If your stock rom is a bloated one from your carrier, take into consideration the idea of flashing a clean custom rom, if you have the means to reflash the original rom back on in case you ever need warranty servicing
Click to expand...
Click to collapse
I'm on the stock UK o2 ROM 1.43 which is garbage. Still waiting for o2 to release an update My phone prior to this was the Samsung i900 Omnia which, once upon a time, I attempted to flash with the help and advice of some MoDaCo forum users. Basically I screwed up and had to send the phone to a Samsung Repair Centre. My point is I'm not totally clued up re: flashing/updating ROMs etc. However, I do realise at some point I'm gonna need to get my head screwed on and give it another try. If only to keep the phone up to date etc.

Spare Parts - updated for FroYo - Can move 80% of apps to SD

Found this baby in DeFrost 0.9 base rom.
Can move about 80% of apps to sd
Think its installable to any rom.
Not taking the credit, just passing around the joy.
Enjoy
So I understand, all it does is set the install location for you... nothing special, just saves you typing the pm setInstallLocation command!
Has anyone had any success with this? After configuring this to install to external memory and then installing google earth roughly the same amount of space is used on internal memory as compared to if it was installed fully in internal memory.
I realise some data will always be installed into internal memory but should it be close to 100% of the application size?
I've found the same issue with ScummVM too..
make sure that google earth did in fact get installed to sd-card. go under settings > Applications > Manager Applications > and the SD-Card tab and see if Google Earth is there. if its not, find it in the installed application tab and 'Move to SD Card'.
I've noticed that sometimes the app is still installed on the internal memory and needs to be moved to SD-card manually.
Does this only work if you are rooted? I tried it on my Desire and it didn't do anything? Stock 2.2, no root
Look here for not rooted devices
http://forum.xda-developers.com/showthread.php?t=742379
JustBored said:
Look here for not rooted devices
Click to expand...
Click to collapse
Cheers. I actually got to this thread from a post in that thread but it didn't state you needed root for this to work.
I will do the other way but it is fiddly as I don't want it to install all apps to SD so if this worked it would be easier to change the setting.
Ah well
I tried that and even moved between SD and internal memory a few times to see if it makes any difference. From what I can tell, if I install to SD ~16mb is used on internal memory for Google Earth and another ~4mb goes to the SD card. So there is a difference but its only small and a lot smaller than I would have expected.
How much memory is taken on your internal memory when you installed Google Earth?
Super thx !!
does this work on galaxy s rooted android 2.1 ?????????
Aqrab said:
does this work on galaxy s rooted android 2.1 ?????????
Click to expand...
Click to collapse
No. FroYo a2sd only. This was for when we didn't have old a2sd on our FroYo roms, no point with an ext.
Sent from my HTC Desire
thegrantonstarcause said:
I tried that and even moved between SD and internal memory a few times to see if it makes any difference. From what I can tell, if I install to SD ~16mb is used on internal memory for Google Earth and another ~4mb goes to the SD card. So there is a difference but its only small and a lot smaller than I would have expected.
How much memory is taken on your internal memory when you installed Google Earth?
Click to expand...
Click to collapse
Usually 25mb or something like that, w/ FroYo a2sd it was 16mb.
Sent from my HTC Desire
My 2c
This installed succesfully to Froyo Huawei Ideos u8150 (Also known as a T-mobile Comet)

[Q] HOW TO INSTALL ANDROID APPS TO MicroSD CARD, INSTEAD TO PHONE MEMORY?

OK..I've done everything, installed DFT Android ROM for HTC LEO etc...everything seems to be working fine, BUT..((
Most of the apps from Market or any other cannot be moved from Phone memory to SD card, thus consuming all phone memory very fast, and disabling me to install any more apps...and we all know that Android rules just because there are so many apps for it...
So, my question is: is there any possible way of making Android install apps to SD card, rather then phone memory? 'Cause this way, my 16Gig card isn't much of use on Android )
Please help, because there is no point in having Android on this device, if I can install only so many apps on phone memory...
Very thankful in advance....
Greeting from remote Bosnia ))
Which Rom are you using?
I am using Hyperdroid and it allows me to move apps to SD.
And they are working fine.
I'm using Desire ROM...from DFT 2.2 Froyo..
And this one also allows moving apps, but just some, not all.....
Could anyone be as kind as to point me to a ROM with Sense that allows moving all apps to SD card?
ddcww said:
I'm using Desire ROM...from DFT 2.2 Froyo..
And this one also allows moving apps, but just some, not all.....
Could anyone be as kind as to point me to a ROM with Sense that allows moving all apps to SD card?
Click to expand...
Click to collapse
The best method would be to create an ext partition for your phone. ALL the apps that would normally installed on the phone will be moved onto this partition on your SDcard, saving you space. However, the trade off is speed. It will be slightly slower, but I don't think you'll even notice the speed difference day-to-day.
You can follow my guide here on how to make an ext partition without losing your data on your SDcard. It should only take like 5min to do. [HOW-TO] Make Ext4 from Recovery Without Losing FAT32 Data
well, there are some apps on the market that allows u to move all the installed apps in the internal memory to the storage card.
Try App 2SD Enabler. When you run the app, be sure to read the instructions.
If that doesnt work, Titanium Backup has a function in it that allows you to move any installed app u want from internal to storage memory (when u open the app, press Menu and then Batch. There should be an option somewhere there)
edit: keep in mind that some apps such as widgets, have to be on the internal memory to work properly. The Ext4 method is good if u want to increase the internal memory (by sacrifasing some storage memory), but you won't be able to connect your phone to the pc via Mass Storage. Plus, if it's the method with the 3 partitions(tbh i don't know if it's just for the 3partition method or any partition number), some of the storage card will be used from the OS as well, making the removal of the SD card impossible.
I would recommend App 2 SD. I use it to move all the apps it can to the SD card and it really does free up a lot of space.
Does Titanium Backup allow all apps to be moved too SD card? Just curious because Apps2SD doesnt move all apps to the SD card just some of them from my experience..
Sent from my HTC HD2 using XDA App
The original DFT Desire ROM wasnt rooted correctly so use Z4Root from market then try using apps like Titanium and App2SD etc etc.
As an alternative, if you like sense but without all the bloat and lag try the rom in my signature, its a stripped down version oh DesireHD it flies like **** of stick and has all the best bits of sense
Try a different ROM
The DFT rom was also my first, but the internal memory filled up in no time and made it unusable for me.
In my experience, if you move an app to the SD card, some residual data goes onto the internal memory so you will find that you still use it up. As mentioned above, you will need to put certain apps and all widgets on the internal memory anyway.
I would go for a 'clean' rom that gives you plenty of free memory. You should then have no problem with it filling up. Titanium backup (free from market) is a good app, although Apps2SD (also free) is good as it lets you know how much space you have left.
I settled on the prj rom in my signature as it gives 180Mb free space from install and everything works as it is based on the DFT rom with minimal tweaks. There are plenty of clean roms out there, so try some out.
The best solution really for EU HD2's (512MB) is to use a rom that supports Data2SD as that actually extends your internal memory to the partition on SD card so you have say 1GB of internal memory, this is much better then any other current methods as its much more compatible with apps.
Also, dont mess about with Gpartid or other partition apps, You can use CWR to do it, just partition 1GB and then choose 0 for swap. (unless told otherwise by dev).
Thanks everyone, really...
I did this: http://forum.xda-developers.com/showthread.php?t=931126
Partitioned the card during setup and now I have 1Gig, which is OK..also the ROM is really stable and fast.... Try this, I'm quite happy, it works great and it is an upgraded version of DFT Desire ROM... Cheers!!!

SD Apps

Hi,
I did a quick search and couldn't find anything on the topic.
I was wondering for a while now, some applications (usually the bigger ones like Angry Birds) must be installed on NAND for it to work - given the HD2's limited onboard phone memory, I can't install very many of these at the same time - requiring me to move it to SD when I don't use it very often to save on space.
A bit of a pain really. I was just wondering if there's a fix for this issue? I'm using one of the older CyanogenMod7 builds if I recall correctly.
Cheers.
use a rom that uses app2sd+ (a2sd+ whatever, ) or data2sd, , one that uses an EXT partition on the sd card. the system will treat the EXT as internal memory and apps such as angry will work. If the EXT is already there when you install such a rom, you dont have to do anything, it will detect the EXT partition and use it, no interaction on your part needed.
Most roms are set up to use an EXT, go read your roms first post.
Right, that makes a whole lot of sense. Cheers!

[Q] Flash ROM On MicroSD Instead Of Internal Memory!

As The Title Suggests, Is There Any Way To Install A ROM Onto A 16GB MicrSDHC (class 10) Instead Of The Phones Internal Memory?
I 'Googled" It For Several Hours, Unfortunately Did Not Find An Answer.
Let Me Explain Further As To What I'm Really Trying To Accomplish. I Want To Flash A(ny) ROM Onto The MicroSD Card So I Will Have The Entire Internal Memory Free On My G1. And Then (if at all possible) Somehow Use The Internal Storage As Extended RAM.
Even If This Seems "Close To Impossible", Could Someone With Enough Knowledge (a dev?) Explain How Something Like This "Could" Be Accomplished??
Thanks For Your Time! Can't Wait To Read What People Have To Say About This..
Ideas & Possible Solutions Are Better Than Just Saying 'It Can't Be Done..etc'
As for installing a rom onto sdcard (even on ext2 partition as it is being done on the HTC Fuze/Diamond/Topaz/etc windows series phones), it is completely possible, but it is very slow.. i don't see why you would want to do that even compared to NAND install if you have lots of ram
I used to be a developer for the HTC Fuze (Touch Pro) and made a 2.2 aosp SD-ext rom, it still isn't as fast as the G1 even though it has slightly higher specs: 288 ram, msm7201a (same cpu as htc dream)..
You can't extend the RAM, but you can make it swapspace. It would kill the internal memory very quickly because it is only yaffs and has a limited number of read and writes...
SH31KH said:
As The Title Suggests, Is There Any Way To Install A ROM Onto A 16GB MicrSDHC (class 10) Instead Of The Phones Internal Memory?
I 'Googled" It For Several Hours, Unfortunately Did Not Find An Answer.
Let Me Explain Further As To What I'm Really Trying To Accomplish. I Want To Flash A(ny) ROM Onto The MicroSD Card So I Will Have The Entire Internal Memory Free On My G1. And Then (if at all possible) Somehow Use The Internal Storage As Extended RAM.
Even If This Seems "Close To Impossible", Could Someone With Enough Knowledge (a dev?) Explain How Something Like This "Could" Be Accomplished??
Thanks For Your Time! Can't Wait To Read What People Have To Say About This..
Ideas & Possible Solutions Are Better Than Just Saying 'It Can't Be Done..etc'
Click to expand...
Click to collapse
Google Android rom's or Operating systems have rules and limits, I do know androids 2.2 did not allow system files to run outside /system folder, now it's allowing more as you see lot's of rom's using /ext (linux partitions) I do not know all the limits, but do believe there has to be a part of the rom in internel memory to be able to boot sd-card

Categories

Resources