Finding out the amount of RAM installed in the phone? - myTouch 3G, Magic Android Development

As a 101% of you guys already know the HTC Magic/Sapphire is available in (at least) two versions with different amounts of RAM (192 MB and 288 MB, respectivly). I have a Vodafone-branded Magic, supposedly equipped with the lesser amount of RAM.
How do I verify this using just the phone? I have installed a term-application allowing me to get a shell prompt. Using this, I've copied the /proc/meminfo file to my memorycard and retrieved it to my computer using FTP. These are the first two rows from the file:
MemTotal: 98920 kB
MemFree: 3300 kB
The first figure seems unreliable, though - I have a hard time imagining that there's just 98920 / 1024 = 96.6 MB RAM installed in my phone.
Can someone please tell me how to really check how much RAM is installed in an un-rooted Android-phone?

If you read the wiki, as well as every second thread around here.. the answer is:
32a - 288Mb
32b - 192Mb
.. it's as simple as that.

Focusyn said:
As a 101% of you guys already know the HTC Magic/Sapphire is available in (at least) two versions with different amounts of RAM (192 MB and 288 MB, respectivly). I have a Vodafone-branded Magic, supposedly equipped with the lesser amount of RAM.
How do I verify this using just the phone? I have installed a term-application allowing me to get a shell prompt. Using this, I've copied the /proc/meminfo file to my memorycard and retrieved it to my computer using FTP. These are the first two rows from the file:
MemTotal: 98920 kB
MemFree: 3300 kB
The first figure seems unreliable, though - I have a hard time imagining that there's just 98920 / 1024 = 96.6 MB RAM installed in my phone.
Can someone please tell me how to really check how much RAM is installed in an un-rooted Android-phone?
Click to expand...
Click to collapse
You checked it right, almost all the missing memory (from the 192 mb) is occupied by:
The kernel itself
The shared memory (gpu, camera, mdp, adsp)
The radio firmware
Maybe some things more.
What you see in /proc/memory is the free memory for the userspace after the kernel has loaded and the init has freed some ram.

Why is android such a memory hog... People can run linux derivatives on routers that are equipped with WAY less ROM and RAM.... WRT54G => DD-WRT project.. There has to be a way to optimize the memory usage.

Easyest method is to go in the FastbootMode (1. PowerOff Device, 2. press CallEnd and Back Button together, then u are changin in the FastBoot Mode),
U can read than in the first strings xxxx-xx PVT 32A or PVT 32B...
32A is 288MB Ram (original HTC, Three Austria, etc.) black Magic´s
32B is 192MB Ram (Vodafone, Vodacom, etc.) ---> white Magic´s
But only the colour is not enough to decide, there are also white 31A out there
Hope this helps..
Regards, Andi
PS: Now i will jump into my pool , without my magic... for sure

zambezy said:
Why is android such a memory hog... People can run linux derivatives on routers that are equipped with WAY less ROM and RAM.... WRT54G => DD-WRT project.. There has to be a way to optimize the memory usage.
Click to expand...
Click to collapse
I think the real question is, why does HTC continue to make a 192mb version of the phone, when the Android OS isn't exactly tiny to begin with?
I'm not happy that T-Mobile-US (cheap weenies) went with the 32b version for the myTouch. And now rumors are afoot that the Donut & Eclair releases will be even fatter and are struggling to fit reasonably in 256mb ROM's. Just means the running footprint will likely be bigger too.

Related

RAM question......

Hi guys just wondering, we have 128MB RAM on our Kaisers. But even on the most lightest ROMs we can only free up about 70MB. Which means 128MB - 70MB = 58MB is used by OS and other stuff. But I remember that on my old Hermes which had 64MB RAM there used to be about 30MB free. Thats 64MB - 30MB = 34MB used by ths OS and other stuff. But how come the Kaiser uses 58MB(Kaiser used by OS RAM) - 34MB (Hermes used by OS RAM) = 24MB more ?
Is anyone kind enought to explain ? Maybe some ROM Cook could explain this ?
Thanks in advance !
Edit : 64 views and nobody has the answer ?
mem
This is kinda the byte and the bit thing. Htc says that the flash is 128 mb, but in real MB its 101.63 ( u can see it in settings - about). It's like when u buy a harddisk of 500gb, but when formated it has real 460 or so. Thus, if u do the maths, the os uses quite the same memory as wm5, or even less. Hope this clears it up for u!
but thats for harddrives not RAM. Oh well thats another fine mess.
it's used as ram but as a hardware it is flash memory. flash drives are like harddrives for what i know. so when they say 128 thwy really just want to squeeze every penny they can from buyers. its called advertising, the average form of manipulation. oh and by the way, also what tgey say is true, as in 128mb not MB, but thats only a tiny detail. ps the 64mb ram phones were the same...hardly did u see one above 48 real MB. Cheers
You're confusing RAM with ROM now. The Kaiser has 256Mb of ROM, which is technically implemented as flash memory, the harddrive if you like. This is where windows, your programs and your files are installed.
Then there's the RAM, 128Mb. this is volatile working memory for the CPU to run it's programs in. It has to be way faster than flash for your phone to be usable at al, and is probably implemented as SDRAM.

192MB RAM HTC Jade or 123 ?!?

Im totally suprised because I though that the HTC Jade (touch 3G) has 192MB of RAM but the system does only use 123mb of it :S Is this normal and if, why?
I made some screenshots of my system one showing from the settings and the other from mobile taskmanager...
Thanks for the answers!
If you didn't bring this up, I would have never known about that. lol
I'm assuming the rest of the RAM is for the video, but someone please confirm. Thanks!
On all devices(depending on the ROM you use) your actual available program RAM at startup is decreased from the actual hardwares amount.
For instance, the fuze/touch pro has 288 MB RAM, but when you start the device up you get about 200MB free RAM. With the custom ROM i'm using i actually only get 189.00 MB free Program RAM.
As to what occupies the seemingly unused space, i'm unaware of. All i know is it seems to be taken up by the ROM image.
Hope this helps.
so.. ist there any possibility to hack those unused space of ram with an custom rom or something? I mean 60MB makes about 50% of the ram which is currently used :S
Am I the only one? Is there anyone else noting less RAM then 192mb with his Touch3G?
You can't "hack" it. some ROMs use less RAM and you get a nicer bigger amount of it since your OS takes less space.. you can find a ROM for your device with more RAM space... that's the best you can do.

Memory Problem

Hi guys
I'm new to all this, just got a Touch Pro the other day dirt cheap which was so slow it was almost unusable. I've flashed hard spl and a rom with Mobile 6.5 rather than the stock 6.1 but sinse doing this the total memory available has changed from 288 to 200 and the % usage has risen to 26%ish before to 42% now on bootup.
Could someone please explain this, do I need to make changes to the pagefile or something?
Also I'm looking for a mobile "msconfig" to change startup programs that are loaded to free up more memory could anyone help me with this?
Thanks
Unless you're actually getting memory errors or the phone is locking up, I would say you don't have a problem. Just ignore the different values (are you sure you had 288 M of ram; I don't think so). 200 M of ram is plenty, and you should be glad you're using more. If you don't use it, it's kind of pointless. More ram usage usually means things run faster. Trust your chef.
SK Tools allows you to tweak your startup (among many other things). But unless you actually have a real (and not perceived) problem, I wouldn't worry about it. People get way too caught up in the % ram. I don't even use the quick menu any more, and it's kind of a relief to not see it all the time.
You can decrease the page pool with a page pool changer or hex editor. It sounds like you have a 14 M page-pool, which seems pretty reasonable. If you drop the pagepool to 6 M, you have another 8 M of available ram, but your ram% will go up. I'd just forget about it if I were you. Trust your chef.
matt09 said:
Hi guys
I'm new to all this, just got a Touch Pro the other day dirt cheap which was so slow it was almost unusable. I've flashed hard spl and a rom with Mobile 6.5 rather than the stock 6.1 but sinse doing this the total memory available has changed from 288 to 200 and the % usage has risen to 26%ish before to 42% now on bootup.
Could someone please explain this, do I need to make changes to the pagefile or something?
Also I'm looking for a mobile "msconfig" to change startup programs that are loaded to free up more memory could anyone help me with this?
Thanks
Click to expand...
Click to collapse
Like Ted said, the numbers you are reporting are not an issue at all. Be careful tweaking your page pool too much. I use Memaid to tweak my settings and find that the devices default settings, which are the ones cooked in from the kitchen, provide the best performance.
Thanks for the replies but the reason I asked is because the Touch Pro has 288mb of ram total which was displayed in Win 6.1 while 200 is reported as the total in Windows 6.5, and the fact the % went up so much reflects the error in the amount of memory detected for use. I know the % don't mean much but it looks like i have 88mb less available to use?
Thanks I'll look into SK Tools.
Cheers
I think you're getting the 288 MB ram from the specs (it's the size of the chip, I guess, but not the amount of free program memory); that's not the available ram, though, in use. I have no idea how much free ram I had on the stock fuze rom, but it wasn't anywhere near 288. I currently have 197 M free ram with a 16 M page pool on a 6.5 rom. Your ram is perfectly normal, it's what everyone has. Flash back to the stock rom and see how much ram you have then-it won't be 288. (Now that I think of it, I think I had ~200 M free on the stock rom.)
There's no error in the % ram at startup, either. That is entirely by design. If you want to see a lower number, use advanced config to either lower or disable the caches. Then enjoy the low program memory usage and the sucky experience. More ram usage = better performance. You still have 110 M of free ram at startup. That's more than most devices have in total. Use it. Enjoy it. Don't waste it by not using it. That is my advice to you.
If you don't believe me, just take look at NATF's 6.1 rom vs. his 6.5 rom. He's got 193 M free ram in the 6.5 rom (with a 20 M page pool), and 200 M free ram in the 6.1 rom. Not sure what the PP is in the latter, but I suspect it's 16 M. You can also look up stock or stock-like roms in the rom forum. They're all going to be in the same ball park, depending on the paging.
Ok thanks, I was raising the issue as well because I have a Sony Experia running a similar rom with less memory on the board but it still reports 200mb and it feels quite alot smoother than the htc, and not just with touch 3D, is this the general concencus that experias for whatever reason are faster?
Thanks
Not too many people have xperias, so I couldn't tell you. Does it have a faster processor? I couldn't tell you why it feels faster. Try some different roms until you get one you like.
The processor is the same and I am using one of the most popular cooked speed roms on here.

htc Magic 32A memory

my HTC Magic 32A have only 196 mb ram..... Why? i thing 32A: 288mb and 32B: 196mb
wrong section. post in general next time. How do you know that you only have 196MB of ram? A little more information next time would be more helpful. Power off your phone and press back and power at the same time when you try to turn it on. It will put you into fastboot. See if it says 32A or 32B. Are you sure that you were not referring to phone memory for your apps and such? The HTC Magic has 288MB of Ram. I do not know how you got this assumption that you have a 32B. If you post more information, more people would probably be more willing to help you out next time, as well as you posting in the right section of the forum, not development.
I used the system info and the swap itself showed that I have 196 mb ram. I have htc magic 32a but I do not know why it shows that I have so much ram
Everything is good. The 192 is how much is available to system, the rest is eaten by the baseband and other shared memory. 32B devices only show 98 free available to the system
Thanks my friend thank you very very match
i hope everyone with htc magic waits for a really good android phone to come out, sporting the new qualcom 1ghz processor and higher display resolution, but I'm not aware of any other phone with more ram than the 32A yet.

Amount of RAM

Everything I have seen on the internet (including HTC's own specs page) shows the EVO SHift having 512 MB of RAM. However, it seems as if my system only has 368 MB (as detected by V6 Supercharger and a couple hardware info apps I downloaded from the market). Does anybody know why this would be the case? My phone is newer (just got it a little over a month ago). Could HTC have lessened the amount of RAM in the new Shifts?
Also, I am running MikShifted-G v1.6 if that makes any difference.
Mine says I have 367,haha, i believe it might only show total available after all the system android stuff... I am probally wrong because I have AOSP which is so much smaller and less bloated that your sense and i have less.. Haha.. But idk... Just speculation
Sent from my Shifty Speedy using the XDA Premium App
#
mine shows,
internal 452/321 free
rom 410/91.9 free
This might help explain things better
]http://forum.xda-developers.com/showthread.php?t=904023[/URL]
Sent for my rooted Thrive
Thanks for the link, but I'm just talking about total RAM, not amount free. Everything indicates I have 368 MB of RAM (not internal storage or ROM or anything, but actual RAM). The Evo Shift supposedly has 512 MB, but I know the HTC Merge has 368 MB, so I was wondering if they lowered the RAM on the newer Shifts.
To check the RAM, download the app Android System Info. It is not Internal Memory, but RAM. Mine says Max 368 MB.
My mistake
trsix said:
Has anyone added more ram? Ive seen 1 gig sticks for$38. I might have to try if noone else has. Curious if it might speed the shift up.?
Click to expand...
Click to collapse
They're talking about internal memory on the phone. Are you talking about an sdcard?
Its possible the gpu has an amount dedicated to it that will not be shown. Sort of like checking the ram on a laptop will show less than the stated specs

Categories

Resources