[Q] Does anyone know some tips to save RAM ? - Bada Software and Hacking General

Hi.
As you know the first Waves phone as the Wave I or II haven't so much RAM and running a game can be hard because of this. I'm forced to close widgets every time I launch Asphalt 6 if I want it to run decently. That's really annoying...
So does anyone have some interesting things to save RAM on bada 2.0 ?

Just wait for the FULL and Final release of bada 2.0. these "early" version got some problems like RAM, lockscreen delay, Notification bar lag etc jst wait for the final release which in my opinion will be by MAY end (I know my opinion doesnt matter )
btw try installin the china firmware its fast

Just wait for the FULL and Final release of bada 2.0.
Click to expand...
Click to collapse
But you know that bada 2.0 is now OFFICIAL official public available via Kies.
Or you mean bada 3...
...every time I launch Asphalt 6...
Click to expand...
Click to collapse
With "texture Patch"...
As it could be, that Android textures are bigger...
Or normal unmodified Asphalt Game?
Best Regards

The firmware I'm using is the official Italian bada 2.0. For sure the next updates should increase RAM but I don't think that it will be so significant.
I'm using the texture pack given by the official game. But it is the same with other games like the Sims 3 or Tintin (all full official).
Thanks for your quick answers.

I am talking about Final Official Firmwares not Official BETAS he he :-D
btw i tried my best to play asphalt 6 (on LB1) without closing all widgets but failed :-[ try installing Chinese firmware its awesomely fast i used it the only problems because i dont use it are-
1.missing lockscreen to home screen transition though lockscreen is fast
2.mobile tracker dont even asks for a password
3.Filled with stupid apps lol :-D
4.missing menu transitions
Still is a fast firmware so you should try maybe it got better memory management... :-D your luck

adfree said:
But you know that bada 2.0 is now OFFICIAL official public available via Kies.
Click to expand...
Click to collapse
Yes these are official updates but i think official update should not be buggy as we see
so its a samsung's trick
you see wave 3 has non of these bugs (like battery problem, ram problem,...)
so thats the real official and FINAL

Ok, lordfarhan40, I will try the new Chinese firmware once but not now.
I don't have enough time for this.

you see wave 3 has non of these bugs (like battery problem, ram problem,...)
so thats the real official and FINAL
Click to expand...
Click to collapse
Are you really sure, S8600 has no bugs ... not the same...
Please remember.
S8600 have different Hardware... + more RAM
BUT bada 2 is same...
It is impossible to increase physically RAM of S8500 and S8530 to have same ""512 MB"" like S8600 (not sure if really true... single chip or again more then 1 kind of memory...)
We have only 256 MB + 128 MB...
Complete organization is unknown... as 2 different memory Chips... for 2 CPUs...
I don't thing Samsung are magicans and can shrink whole Firmware to 10 MB...
On Wave 1/2 we can maybe free few MB.... with some tuning...
But not expect magic things...
At the moment more rumour as confirmed solution...
- Shrink RC1 and CSC... remove Font(s)...
- no Widgets... no background apps... no 2 apps at same time (check Taskmanager)
- maybe Flash Themes are RAM Killer... so choose wisely your Theme...
If RAM "full" restart handset... on/off to have maiximum RAM for apps...
Best Regards

adfree said:
On Wave 1/2 we can maybe free few MB.... with some tuning...
Click to expand...
Click to collapse
Yes that's what I was thinking about. I know that flash wallpaper and live widgets take some RAM. I find interesting what you said about reducing CSC and removing fonts but I know it won't be enough but it can save some RAM. Maybe we can try to remove some useless push messages? I don't know if it takes a lot of resources but to my mind the research of weather updates all the times or e-mails or whatever should use a lot of RAM, don't they ?

Main problem is we have not found way to compare results...
Few Apps show some infos about """RAM"""... "better" about bada memory...
But I think for 3d party apps it is hard to see REAL difference...
For instance...
I have no idea if dynamically or static...
If only static with reserved RAM... it makes no sense to free more in "other partition".
Example.
You have 2 harddrives.
C is full
D is free
All Apps use drive C.
So it makes no sense to optimize D.
Maybe we should start again with internal infos... like in internal menu:
http://forum.xda-developers.com/showpost.php?p=10470164&postcount=1
Or log with WinComm... you see some memory infos...
Best Regards

As you said the RAM is partitioned. Maybe there is a way to optimize the two partitions ? Maybe the merging of the two partitions can be more efficient then actual way of management ? It can be a solution for some users, like me, that doesn't often use multitasking.
I think also as you said that we should find more internal informations to see where and how we can do some optimizations.
Thanks for your suggestions and explanations it's very helpful.

Soxix said:
As you said the RAM is partitioned.
Click to expand...
Click to collapse
No. It's not partitioned it's two different RAM "modules".

My English is very limited...
Memory Map is in Bootloader for instance...
But there are so many different "Values"...
Reserved for... shared... bla etc. reserved for JAVA Heap...
No idea if JAVA and bada can share same space...
No idea if Widgets...
No idea if priority... no idea.
Too much info. Too small brain.
Dolfin also can reserve memory... internal apps reserve memory...
temp/swap files...
See Screenshot...
How to interpret this?
From where came this?
From app?
From internal app?
Also Debug messages... or WinComm Logs...
How to interpret/translate Infos...
All we know is 128 MB ""Chip 1""
"Chip 2" is 256 MB but different type
2 Chips work together. But how...
Is apps_compressed.bin load into 128 MB or into 256 MB ?
I have more question then answers...
Best Regards

I will try to know more about the RAM management by doing some researches. I think it is the most evident to do for the moment. Then if we have more knowledge we certainly can do something.

I'd rather say that best to save some ram is by removing some embedded system apps that you don't see inside ShpApp file dump
Branded FWs that are able to operate TinTin doesn't have magic stuff
They don't have Route 66 installed ....But some Java alternatives
These FWs are not that special anymore
Best Regards

mylove90 said:
I'd rather say that best to save some ram is by removing some embedded system apps that you don't see inside ShpApp file dump
Click to expand...
Click to collapse
For sure I agree with you.

Related

Memory, Memory, Memory... WTF?

Hi All
I did bring this up before and on another thread, but thought it may be worth some collective advice for everyone.
For the TP2....
The specified RAM is 288mb - TOTAL
The specified ROM is 512mb - TOTAL
My TP2 shows only 188mb of RAM in 'total' (not 288) and 277mb of 'total' Storage which is well away from the specified 512mb.
With a working RAM total of just 188mb, with 100+mb in use (for the OS + TFlo - which is a bloody lot!) with no apps running at all, this leaves less than 100mb to actually 'run' apps and gives the user 'out of memory' issues if 2 large apps (like GPS and Photo Gallery are trying to run) - check yours by all means...
My TP2 often shows over 130mb in use (just for the OS and TF) - with no apps running at all - which leaves less that 60mb to run apps!! (There is a big problem with this device globally, or maybe just mine).
Unless i have the wrong end of the stick in my understanding completely (and i might!), this should be what we get - 512mb storage and 288mb RAM (each as totals).
I note that the RAM difference has been mentioned in another thread, and a fix from HTC is available only for the Hong Kong version to date. Someone suggested that it only relates to what is displayed, not what is actually in use, but with the above info, this seems not to be the case as the memory is very much affected.
Can someone shed some more experienced light on this whole memory thing...?
I think that the OS + TFlo using 100mb's or more of available RAM is waaay too high. My old Dopod 838 Pro, with WinMo 6.1 + SPB Mobile Shell 2.1.5 running uses less than 30mb of RAM.
So what the hell is going on here...?
Cheers
Jabberoo
jabberoo said:
Hi All
I did bring this up before and on another thread, but thought it may be worth some collective advice for everyone.
For the TP2....
The specified RAM is 288mb - TOTAL
The specified ROM is 512mb - TOTAL
My TP2 shows only 188mb of RAM in 'total' (not 288) and 277mb of 'total' Storage which is well away from the specified 512mb.
With a working RAM total of just 188mb, with 100+mb in use (for the OS + TFlo - which is a bloody lot!) with no apps running at all, this leaves less than 100mb to actually 'run' apps and gives the user 'out of memory' issues if 2 large apps (like GPS and Photo Gallery are trying to run) - check yours by all means...
My TP2 often shows over 130mb in use (just for the OS and TF) - with no apps running at all - which leaves less that 60mb to run apps!! (There is a big problem with this device globally, or maybe just mine).
Unless i have the wrong end of the stick in my understanding completely (and i might!), this should be what we get - 512mb storage and 288mb RAM (each as totals).
I note that the RAM difference has been mentioned in another thread, and a fix from HTC is available only for the Hong Kong version to date. Someone suggested that it only relates to what is displayed, not what is actually in use, but with the above info, this seems not to be the case as the memory is very much affected.
Can someone shed some more experienced light on this whole memory thing...?
I think that the OS + TFlo using 100mb's or more of available RAM is waaay too high. My old Dopod 838 Pro, with WinMo 6.1 + SPB Mobile Shell 2.1.5 running uses less than 30mb of RAM.
So what the hell is going on here...?
Cheers
Jabberoo
Click to expand...
Click to collapse
did you check your device information -> hardware ?
RAM should say 288 and ROM 512, if RAM is 256, upgrade your TP2 ROM
if you're looking the RAM and ROM size in the memory settings, you are looking at the wrong channel mate...
cheers!
Damn, mine says 256. But I have no idea how to upgrade.
I posted a separte thread on this but unfortunately haven't had responses. In Device Information, my ROM version shows as 1.14.161.5 (50207) WWE. I have a Vodafone TP2 which I got on a business contract about 10 days.
Everyone else on this forum that I have seen reports ROM version as 1.19.x.x
Do I have a real old version? Where should I be looking for a ROM update? There's only a couple of hotfixes listed on the HP site, no ROMs, and I can't find anything on the Vodafone site yet.
Any info much appreciated!
HTC put a new ROM on their site just 2 or 3 days ago, which specifically fixes the 288MB RAM size, but they also say you may have to wait until your provider makes this available. The HTC support site also has instructions on how to load the new ROM.
piet8stevens said:
HTC put a new ROM on their site just 2 or 3 days ago, which specifically fixes the 288MB RAM size, but they also say you may have to wait until your provider makes this available. The HTC support site also has instructions on how to load the new ROM.
Click to expand...
Click to collapse
HTC put a new ROM on their SEA site, it doesn't appear to be suitable for phones from other regions, let alone phones from the network operators :-(
Gordon
gunggu said:
did you check your device information -> hardware ?
RAM should say 288 and ROM 512, if RAM is 256, upgrade your TP2 ROM
if you're looking the RAM and ROM size in the memory settings, you are looking at the wrong channel mate...
cheers!
Click to expand...
Click to collapse
Sorry, what do you mean..?
My device info says RAM size 256mb/should be 288 - so i am down 32mb. In memory it says 188 total (not 256), with 120mb currently in use (no running apps) - this leaves just 60mb or sometimes less, for running any installed apps.
This can't surely be right, can it? - Where is all that RAM gone, what is being used and for what? Explanation please....
Flash size in device info says 512mb, in memory it says 277.72 total - where is the rest of the 512...?
Confused i am.
Why is Winmo + TFlo using over 120mb (no other running apps) on my TP2...?
Why did my old Dopod 838 Pro use way less memory to run WinMo 6.1 + SPB Mobile Shell 2.15 + a Theme over that...?
Can anyone noob it out for me, i just don't get it.
Cheers
Jabberoo
jabberoo said:
Confused i am.
Why is Winmo + TFlo using over 120mb (no other running apps) on my TP2...?
Why did my old Dopod 838 Pro use way less memory to run WinMo 6.1 + SPB Mobile Shell 2.15 + a Theme over that...?
Can anyone noob it out for me, i just don't get it.
Cheers
Jabberoo
Click to expand...
Click to collapse
With regard to winmo+tflo using a large amount of ram compared to older devices you need to look at resolution (for the most part). The Dopod is a QVGA device (like my Titan) and renders at 320X240 pixels. The TP2 is a WVGA device, so already needs 4 times the effective memory for rendering the screen (simplified, but generally the case).
I would say turn off TouchFlo and go back to mobile shell if the memory is really running that low. As soon as rom cooking gets in swing people will cut down a lot of the fat that runs under stock roms.
nimnox said:
With regard to winmo+tflo using a large amount of ram compared to older devices you need to look at resolution (for the most part). The Dopod is a QVGA device (like my Titan) and renders at 320X240 pixels. The TP2 is a WVGA device, so already needs 4 times the effective memory for rendering the screen (simplified, but generally the case).
I would say turn off TouchFlo and go back to mobile shell if the memory is really running that low. As soon as rom cooking gets in swing people will cut down a lot of the fat that runs under stock roms.
Click to expand...
Click to collapse
Thanx for the advice (screen res makes sense, but geez!)
Out of interest, i turned off TFlo, uses a stable 92mb of RAM for the OS, with TFlo on, after soft reset it starts at 73mb and then climbs to as high as 130mb in use (no running apps).
I ran this issue past HTC here in Oz and they had no answers for the RAM use, apart from saying that using 120 to 130mb (with no apps running) was certainly not correct.
A Mate has a TP2 as well and his does the same (both Singapore models).
Going to try the new SEA upgrade which suits my model, who knows, may be the fix cuz it seems TFlo is perhaps the culprit...??
I still don't get why memory says i have just 188mb of RAM total though and just 277mb of total storage?
Cheers
Jabberoo
jabberoo said:
Thanx for the advice (screen res makes sense, but geez!)
Out of interest, i turned off TFlo, uses a stable 92mb of RAM for the OS, with TFlo on, after soft reset it starts at 73mb and then climbs to as high as 130mb in use (no running apps).
I ran this issue past HTC here in Oz and they had no answers for the RAM use, apart from saying that using 120 to 130mb (with no apps running) was certainly not correct.
A Mate has a TP2 as well and his does the same (both Singapore models).
Going to try the new SEA upgrade which suits my model, who knows, may be the fix cuz it seems TFlo is perhaps the culprit...??
I still don't get why memory says i have just 188mb of RAM total though and just 277mb of total storage?
Cheers
Jabberoo
Click to expand...
Click to collapse
http://blogs.msdn.com/windowsmobile/archive/2005/11/17/494177.aspx should explain things pretty well, and if you want even more detail about how the system uses what you can see, check out http://blogs.msdn.com/windowsmobile/archive/2005/11/29/498154.aspx
jabberoo said:
I still don't get why memory says i have just 188mb of RAM total though and just 277mb of total storage?
Click to expand...
Click to collapse
Got the same issue, which I only just noticed when I saw this thread. Device info only shows 256MB ram and Memory says 188MB.
Not going to bother doing the ROM upgrade just for the RAM. Gonna wait for a decent ROM to come out to justify the effort of installing all the programs etc etc.
nimnox said:
http://blogs.msdn.com/windowsmobile/archive/2005/11/17/494177.aspx should explain things pretty well, and if you want even more detail about how the system uses what you can see, check out http://blogs.msdn.com/windowsmobile/archive/2005/11/29/498154.aspx
Click to expand...
Click to collapse
Thanks for the info nimnox...
I took a look and it did offer some explanation. I think that this HTC device, using around 190 odd megabytes to run is ludirous. The general public spec list for ROM at 512mb (when it really isn't) certainly gives the impression that it has this much available as usable storage is a bit of a fluffy area too.
Essentially, the device offers a little over half of the spec in actual usable storage and about one third in actual usable RAM.
I believe this is shamefully misleading (most folks are not overly tech savvy) as it represents an extreme lack of clarity and understanding.
I did a reflash with the SEA update ROM, the RAM spec increased to 288mb (from the displayed 256), but did little in the way of adding available RAM (still at 188mb). I am hoping it will clear up some of the other problems being reported with this device.
Thanks to all for the advice.
Cheers
Jabberoo
Personally I don't think it's that misleading.
People might not be that tech savvy, but these aren't your average phones.
When you buy a computer with a 250GB hard drive, you don't get upset because part of that is taken up by the OS or the backup/restore partition. Granted, in this case it's proportionately a lot more, but it's also understood that most of your memory needs will be covered by a microSD card. No one advertises just the available memory. It's like hard drives' GB, they measure them as 1000MB and not 1024 as it should be (which means the computer will always detect less). And as for the meomry reserved by the system, we see things like this with Windows Vista and other OS's.
well, just my two cents (I am not saying it's not irritating to have all that memory unavailable, just that it's common practice and therefore not that misleading as many people might be used to it).
jabberoo said:
I did a reflash with the SEA update ROM, the RAM spec increased to 288mb (from the displayed 256), but did little in the way of adding available RAM (still at 188mb).
Click to expand...
Click to collapse
Wait.. the hotfix worked for you? or are you talking about something else?
agree, its normal in a sort of ways.....the more capability your phone has, the more memory it would use, the more complex an application is, the more ram it will consume.
btw, the 256 false RAM info is just a false info, so even if you upgrade the ROM, it doesnt mean you will get an additional amount of RAM, it only fix the info from 256 to 288 MB.
the manufacturer already states the truth: physical RAM of 288 MB and ROM of 512 MB. thats why i said, you should look into the device info, not the memory settings. In the memory, it will only show total of RAM and ROM available to be used when the device is turned on.
I have the same confusion:
I like to put everything into the phone bringing with me everywhere, including all kind of software and all kind of materials, photo,music, e-book, home video etc.
if the ROM and RAM are not big enough, I will always be worried about them when install software or copy materials. Even it still does not run out off memory, but I do worry about it all the time.
although it can be expanded by TF card, however, many software can't run on TF card and the read/write speed of the TF card is slower than the main memory.
If the main memory is big enough, I can install all of the software into main memory and copy all of the materials into TF card. At that condition, I can easily change TF card to get anymore new contents.
My last device is O2 flame, I do feel comfortable with its big Flash ROM but its RAM still too small and also many other shortcoming.
I ever think of N97 for the built in 32G memory, however, I am used to WM system.
I ever think of samsung i908 for the built in 8G memory, however there is several week points in its specification.
I do not understand why HTC build in so small memory in such a highend model while its competitor,such as Apple,Nokia,Sumsung, are goint toward another way.
more details may refer to: http://forum.xda-developers.com/showthread.php?t=542322
Whoops, erroneous posting, please ignore!
net_walker said:
I have the same confusion:
I like to put everything into the phone bringing with me everywhere, including all kind of software and all kind of materials, photo,music, e-book, home video etc.
if the ROM and RAM are not big enough, I will always be worried about them when install software or copy materials. Even it still does not run out off memory, but I do worry about it all the time.
although it can be expanded by TF card, however, many software can't run on TF card and the read/write speed of the TF card is slower than the main memory.
If the main memory is big enough, I can install all of the software into main memory and copy all of the materials into TF card. At that condition, I can easily change TF card to get anymore new contents.
My last device is O2 flame, I do feel comfortable with its big Flash ROM but its RAM still too small and also many other shortcoming.
I ever think of N97 for the built in 32G memory, however, I am used to WM system.
I ever think of samsung i908 for the built in 8G memory, however there is several week points in its specification.
I do not understand why HTC build in so small memory in such a highend model while its competitor,such as Apple,Nokia,Sumsung, are goint toward another way.
more details may refer to: http://forum.xda-developers.com/showthread.php?t=542322
Click to expand...
Click to collapse
My friend, the advantage of having a device with a micro sd or mini sd expansion slot is that it enables you to have the amount of storage that you want and even with the possibility to change it on the fly, like for example carrying around two 32Gb memory cards and using them as you like (one for gps and one for music for example). Now tell me how do you do this when the mobile has a built in memory of 8Gb or 32Gb but no storage expansion? It's a matter of choice.
Regarding the execution memory, it's more than enough, apple allows you one application per time, so no example here, nokia you can have multiple application running like in windows mobile, the trick is to make it cleverly, otherwise your mobile will be slow (either nokia or any other mobile suffer from this).
My suggestion:
Get a couple of memory sticks, have your software installed in one of them, then copy it over to the other, this way you have your software everywhere. Then use on memory stick for gps and/or photos and another for music.
It's only a matter of wanting to do things and not waiting for them to happen ;-)
cheers
Hello everyone,
It's been a long time since I didn't come on the forum, and I am interested in buying a replacement for my Hermes, and the Rhodium is the perfect candidate!
As I got interest in it, I just saw that today was released a rom upgrade dealing with the memory issue for EU phones:
http://www.htc.com/fr/SupportViewNews.aspx?dl_id=629&news_id=219
They also say to wait for update from your provider. Hope this can help.
See you after I buy my new toy.
Toni
Lyian said:
Wait.. the hotfix worked for you? or are you talking about something else?
Click to expand...
Click to collapse
Hi
Yes, installed fine, but did nothing to aid the working RAM available, just makes the hardware info show 288 instead of 256mb. It is a full ROM replacement, not a hotfix per se.
It did not fix the Keyboard backlight not working properly and a bunch of other things, infact, i can't see that it fixed much at all.
My device right now is running 128.28mb of RAM (in use) with no apps running at all. This leaves a meagre 59.33mb available to actually run my apps (manin memory or sd installed).
This is just ridiculous.....
Often, I have tried in the past to run IGO 8 (Sat Nav) off my sd card and it won't start because of a lack of available RAM to run it.
Soft reset and it will load.
Did i say this is ridiculous..?
Essentially, of the available 288mb of RAM, 100mb disappears straight away doing 'something', a further 188mb is in use presumably with the OS and TFlo, leaving the user with less than a meagre 60mb.
As for it being misleading - i don't recall any advertising advice, anything printed on the box, anything at all alerting me to the fact that the bulk of the RAM will be taken up with 'processes'....
Consider your PC, adding 8gb of RAM and having the OS taking more than 2 thirds of it to just run. Then all your apps not running because of a lack of available RAM. It really doesn't make much sense, does it?
The hope is that Minmo 6.5 will use much less to run, we'll see.....
Cheers
Jabberoo
jabberoo said:
...
My device right now is running 128.28mb of RAM (in use) with no apps running at all. This leaves a meagre 59.33mb available to actually run my apps (manin memory or sd installed). ...
Click to expand...
Click to collapse
Huh? Only with 59.33mb available to run your apps? That is very strange. I have 84mb++ when nothing is running, i only get that amount when I have apps like S2U2, secondtoday, and other apps etc running. I even can launch Igo8 with that amount of mem with others apps were running.
I know when i have S2U2 running, it will slowly takes a lots of memory and sometime it even goes to 50mb++, but I used the cleanRAM to clear it up.
In your case... Very strange indeed.

[REF] reserved memory tests: ~356mb visible+test2: 258mb free 201010280000HKT

just performed some tests with different reserved mem sizes (stock kernel ZSJP8) for your ref
default settings:
CONFIG_ANDROID_PMEM_MEMSIZE_PMEM=16384
CONFIG_ANDROID_PMEM_MEMSIZE_PMEM_GPU1=10240
CONFIG_ANDROID_PMEM_MEMSIZE_PMEM_ADSP=1500
CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC0=14336
CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC1=1024
CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC2=12288
CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC0=36864
CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC1=36864
CONFIG_VIDEO_SAMSUNG_MEMSIZE_JPEG=5012
CONFIG_VIDEO_SAMSUNG_MEMSIZE_TEXSTREAM=10240
1/. minimum (almost) reserved mem with movie playback possible (no lag in youtube), 356mb memory, no special lags observed, opened 4 tabs in browser with lots of imgs and swfs
CONFIG_ANDROID_PMEM_MEMSIZE_PMEM=8192
CONFIG_ANDROID_PMEM_MEMSIZE_PMEM_GPU1=4096
CONFIG_ANDROID_PMEM_MEMSIZE_PMEM_ADSP=1024
CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC0=6144
CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC1=1024
CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC2=6144
CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC0=29696**##
CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC1=29696**##
CONFIG_VIDEO_SAMSUNG_MEMSIZE_JPEG=3072
CONFIG_VIDEO_SAMSUNG_MEMSIZE_TEXSTREAM=2048
** min value in order to play movies = 29mb, 28mb wont play
## can be set to a lower value without movie playback, setting these with too low values caused problems, below 20mb should be ok
2/. nearly double all default values, 219mb available, didnt feel faster
EDIT 201010271843HKT: tweaking memory test2
available memory - 257.68mb
EDIT 201010280000HKT:
as to min mem usage, u'll need to (in brief):
1/. remove unneccessary apps
2/. remove startup/network chg broadcast listeners from the app - a lot of apps/services are launched at startup up or network state chg, remove them so they wont start automatically, eg gtalk, sync/feed, vold service, installd, etc
3/. kill unneccessary services & processes - i didnt use any killer since i rooted my phone, i use script to kill them since killers consume more mem
4/. i have read the source and found that only -Xmx (max mem) is included but no -Xms (initial mem), perhaps we can do something here (not done yet)
reference for 2.1 http://forum.xda-developers.com/showpost.php?p=8507031&postcount=38
It 's very useful info! thanks your test!
Can I have a guide to make these changes to my existing kernel?
Nice, able to see 356MB instead of 304!
CONFIG_ANDROID_PMEM_MEMSIZE_PMEM=8192
CONFIG_ANDROID_PMEM_MEMSIZE_PMEM_GPU1=6144
CONFIG_ANDROID_PMEM_MEMSIZE_PMEM_ADSP=1500
CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC0=8192
CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC1=1024
CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC2=8192
CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC0=30720**##
CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC1=30720**##
CONFIG_VIDEO_SAMSUNG_MEMSIZE_JPEG=4096
CONFIG_VIDEO_SAMSUNG_MEMSIZE_TEXSTREAM=5012
can make one kernel for this setting? i want to test,but i don't know how to make a zimage.
These results exclude the 'blackholed' memory, right? Which means if we can find where it is used (if it is used at all) we can get even more?
Great work there. Could gain us a couple more MB of usable RAM.
The "48MB hole" is most likely used by the GSM Radio and we won't have access to it.
xos84292 said:
CONFIG_ANDROID_PMEM_MEMSIZE_PMEM=8192
CONFIG_ANDROID_PMEM_MEMSIZE_PMEM_GPU1=6144
CONFIG_ANDROID_PMEM_MEMSIZE_PMEM_ADSP=1500
CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC0=8192
CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC1=1024
CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC2=8192
CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC0=30720**##
CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC1=30720**##
CONFIG_VIDEO_SAMSUNG_MEMSIZE_JPEG=4096
CONFIG_VIDEO_SAMSUNG_MEMSIZE_TEXSTREAM=5012
can make one kernel for this setting? i want to test,but i don't know how to make a zimage.
Click to expand...
Click to collapse
i'm sorry, my kernel will restart once the usb cable is unplugged, still looking for a solution....
jam3sjam3s said:
These results exclude the 'blackholed' memory, right? Which means if we can find where it is used (if it is used at all) we can get even more?
Click to expand...
Click to collapse
what blackhole r u talking about?
This is awesome! I can't wait to see a kernel with the resolved usb issue and more ram.
Yay! Finally we have experts working on the RAM issues!
BTW, is there no way to allocate memory dynamically for all these things as and when it is needed instead of reserving a set amount? Especially for the video playback stuff, it's a lot of wasted memory when you're not playing a movie / doing something graphic intensive.
Can anyone explain how to do a safe changes of this paremeters.....?
Thanks
Try 720p video capturing, encoding is hardware accelerated as well. (but might not be affected by those settings, it just needs checking)
Yes, dynamic allocation would be awesome
Those settings are accessible in source code = before compilation, so no way to change them post-startup/post-compilation ATM.
How come u got only around 100MB memory used?
I got over 140 just after startup..
This is still not 512MB as samsung promissed us! I hate this phone! I'll buy a Desire Ultra HD as soon as it's annoucned!
(just to be the first troll in this topic )
nice work though!
sztupy said:
This is still not 512MB as samsung promissed us! I hate this phone! I'll buy a Desire Ultra HD as soon as it's annoucned!
(just to be the first troll in this topic )
nice work though!
Click to expand...
Click to collapse
I don't think that the argument ever was that Samsung promised 512MB of usable RAM. It was that the amount of RAM usable out of 512MB for applications was not comparable to other phones with 512MB.
I don't want this to turn into an argument. I'm just glad that the problem is coming to fruition.
andars05 said:
I don't think that the argument ever was that Samsung promised 512MB of usable RAM. It was that the amount of RAM usable out of 512MB for applications was not comparable to other phones with 512MB.
I don't want this to turn into an argument. I'm just glad that the problem is coming to fruition.
Click to expand...
Click to collapse
You clearly either have no sense of humor or cant read
I know it was sarcastic. He was making fun of the people who wanted more RAM. I was just stating that no one (with exception of a few maybe) expected 512MB of RAM to be fully usuable. I think he misunderstood the original issue
I believe the issue was largely ignored because of this misunderstanding. It didn't help that people who expressed dissatisfaction were told to "stfu." A good portion of people were unhappy with the amount of available RAM. It wasn't that they expected to have full access to all 512MB.
I'm happy to see progress on this issue.
How are we able to change theSe values???
Sent from my SGH-T959 using XDA App
SupaDuckie said:
How are we able to change theSe values???
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Any kind souls?
SupaDuckie said:
How are we able to change theSe values???
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
mengsuan said:
Any kind souls?
Click to expand...
Click to collapse
How about reading? Its just freakin 2 pages, not 50...

Desire Z/G2 Reserved RAM amount?

Hello,
as in this post, I'm trying to track the amount of reserved RAM in different devices. Could someone tell me with the app "Free Memory" what's the linux-usable amount of RAM?
poochie2 said:
Hello,
as in this post, I'm trying to track the amount of reserved RAM in different devices. Could someone tell me with the app "Free Memory" what's the linux-usable amount of RAM?
Click to expand...
Click to collapse
I couldn't find it in the market, care to provide a link or the author's name?
pub:CocoNuts
Otherwise you can type "free" in the terminal emulator.
Your free memory app returns 372MB
Thanks, I suppose the desire z with the stock rom reports the same amount, if someone can confirm it he already has my thanks
373.2 MB of RAM on my Desire Z with stock ROM (I didn't use Free Memory but Elixir).
Could someone explain to me why it doesn't display 512 MB?
Thanks
It's because part of the RAM is reserved for system use (gpu, radio, camera, ...). Some very similar phoned have the advantage of using less for the same tasks, but 373 is not bad, the nexus is great in that.
Thanks poochie
Just pure curisity: this is different from the way Windows Mobile is managed? I don't remember having ever heard of reserved RAM in WM but I may be wrong...
The few WinMo phones I saw far back in the past don't do this, but to be sure we should ask to someone with one of the newer phones. I would find very interesting to know the RAM stats of Htc's Hd2 with both android and winmo.
Sent from my HTC Vision using XDA App
missparker76 said:
Thanks poochie
Just pure curisity: this is different from the way Windows Mobile is managed? I don't remember having ever heard of reserved RAM in WM but I may be wrong...
Click to expand...
Click to collapse
Don't worry, Android is a lot better than managing its memory than WinMo 6.x. WinMo needs to keep a fair bit of free memory or it really starts to bog down. Android can cope with using a lot more of its RAM.
poochie2 said:
The few WinMo phones I saw far back in the past don't do this, but to be sure we should ask to someone with one of the newer phones. I would find very interesting to know the RAM stats of Htc's Hd2 with both android and winmo.
Click to expand...
Click to collapse
Android no longer boots on my HD2 so I have posted the question on a French forum. Here are the replies I got for total RAM (results given by Elixir):
- SD card with Android MDJ_FroYo_HD_v._4.6_MDJ_S78.0 (WM ROM: HD2 en ROM Artemis v50): 413.3 MB
- NAND : 410.9 MB
Knowing that the HD2 total RAM is 448 MB this means only about 35 to 38 MB is reserved RAM.
steviewevie said:
Don't worry, Android is a lot better than managing its memory than WinMo 6.x. WinMo needs to keep a fair bit of free memory or it really starts to bog down. Android can cope with using a lot more of its RAM.
Click to expand...
Click to collapse
Thanks Stevie. I have also noticed that Android does manage RAM much better than WM so I have no worry. It was just to ensure that I hadn't missed something with the way WM managed its RAM
Now that you guys mention this, I realized that my available memory ( which I believe is ram) barely makes it past 220 when I clear my tasks in my manager . Isn't that extremely low ? .
Sent from my T-Mobile G2 using XDA App
No thats what's expected.. Type free into Terminal emulator to see the nimbers these guys are getting

[Q] Ram doesn't add up? (Not the usual question)

Hello,
So I just recently got my Nexus, and I'm really really loving it. I had a question about the RAM. I'm on stock un-rooted and I noticed I had a little less that 700 MB ram. I know that's for system or gpu or whatever so I'm ok with that.
What I'm confused about is, I'm currently using 400 MB of it. If I combine the totals from the "Running Apps" section plus what is in the "Cached" section, it doesn't come close to the total 400MB being used.
So where is the extra Ram being used from? How can I free some of it up?
I've been reading that task managers are a no-no for ICS, so I'm more curious about which apps are killing my ram.
Thanks in advance
ellimistx99 said:
How can I free some of it up?
Click to expand...
Click to collapse
Why would you want to?
killing my ram.
Click to expand...
Click to collapse
Killing it how? Using it to make you phone react faster?
beren28 said:
Why would you want to?
Killing it how? Using it to make you phone react faster?
Click to expand...
Click to collapse
Well sure in theory make the phone run faster. I imagine having more free ram available to be used in the cached application section and not the "running application section" will help make apps load quicker too. My friend had a desire and the amount of ram she had did drastically effect her phone performance.
But also because I'm curious about where is that extra 200 or so MB of ram is being used from?
Linux shares ram within apps/processes in a very complex way where even the experts have difficulty explaining exact tallies on ram levels. This is why different apps report different free ram values like os monitor vs system panel vs stock settings etc. So i wouldnt wprry about how android OS shows your ram value in settings, its not gonna add up and its a tricky question to ask.
RogerPodacter said:
Linux shares ram within apps/processes in a very complex way where even the experts have difficulty explaining exact tallies on ram levels. This is why different apps report different free ram values like os monitor vs system panel vs stock settings etc. So i wouldnt wprry about how android OS shows your ram value in settings, its not gonna add up and its a tricky question to ask.
Click to expand...
Click to collapse
Hmm alright. So basically it's not something I should worry about? It's quite a large discrepancy. I guess I'll worry about it once I have errors that are "low ram" or something to that effect.
Thanks anyway
It's the discussion like there was in the galaxy s forum. The not displayed ram is used by the kernel it self and by the GPU. And besides it's a good thing to have a full ram in Android, because then many apps are pre loaded in the ram and can start faster this way.
Sent from my Galaxy Nexus using XDA
ellimistx99 said:
Hmm alright. So basically it's not something I should worry about? It's quite a large discrepancy. I guess I'll worry about it once I have errors that are "low ram" or something to that effect.
Thanks anyway
Click to expand...
Click to collapse
Its always been like this on my android phones, i wouldnt worry. For example if you kill all current apps, you wont see free ram increase at the exact level of the total of all closed apps. Too much overlap and ram page sharing i think.
Don't worry about it. Some ROMs e. the stock ROM, don't have a seperate RAMDisk.
So, basicly, the ROM dumps some cached processes on to the RAM directly "clogging" it. If you however, have a custom ROM, eg. CynagonMod, the system uses half of the RAM it would use as a stock ROM, because cm uses a RAMDisk, which uses a minimal amount of space, on the device's memory.
But, there's absolutley nothing to worry about
Enjoy the phone and leave the RAM, as it is
Can anyone here tell me how to partition my sd card to create 1 ext4 partition to increase internal memry, 1 simple fat partition for daily use, and most importantly gto create 1 swap partition to increase my RAM and how to use it as RAM in galaxy fit ... Plz provide me a tutorial
Sent from my GT-S5670 using XDA
abhinav2196 said:
Can anyone here tell me how to partition my sd card to create 1 ext4 partition to increase internal memry, 1 simple fat partition for daily use, and most importantly gto create 1 swap partition to increase my RAM and how to use it as RAM in galaxy fit ... Plz provide me a tutorial
Sent from my GT-S5670 using XDA
Click to expand...
Click to collapse
The Galaxy Nexus doesn't have an SDcard. You can't partition it up like that.
Also, think you're in the wrong forum.

[Q] Get bigger RAM ?

Is there anyway to make my one v Free RAM space gets bigger ? i always get lags whenever i play temple run after done some activities on my phone. I always need to delete all task with Task Manager so i wont get any lags when playing.
It says that it has 512mb, but in most of use i only have less than 100mb. So isnt it possible to make it bigger ?
handisetyadi said:
Is there anyway to make my one v Free RAM space gets bigger ? i always get lags whenever i play temple run after done some activities on my phone. I always need to delete all task with Task Manager so i wont get any lags when playing.
It says that it has 512mb, but in most of use i only have less than 100mb. So isnt it possible to make it bigger ?
Click to expand...
Click to collapse
Anything is possible after you've rooted your phone and installed custom rom!
If you don't have these, you will probably stress yourself with the amount of free ram. Remember that SENSE is using HUGE ram. Once you've installed a custom rom without sense(Just android 4) you can enjoy playing with your phone because then it will have something like 150mb free
We don't have stock Android 4 yet mate..
arkatis said:
We don't have stock Android 4 yet mate..
Click to expand...
Click to collapse
I was talking "in future" !
so that means no for my question at the moment ?
handisetyadi said:
so that means no for my question at the moment ?
Click to expand...
Click to collapse
Well, sort of...
(Post is deleted by me)
^
nahh, the only reason i bought htc device is bcs of htc sense
im just gonna wait until someone release a rom with a better RAM management than what htc does
you can try virtual RAM or compcache.

Categories

Resources