[Q to devs and everyone]what is the max RAM amount we can get from galaxy s? - Galaxy S I9000 Android Development

i have started my own and read every topic about why we could not see all the ram as user available (329 instead of 512) .. first i compared galaxy s with tab but it turned out tab has 640 Mb of real memory in total.. but i also have seen it was possible to add more memory about 40 Mb to the user available ram .. and i also learned there is also a part which is not used and called "blackhole" approximitely another 40 Mb..
so i believe it is possible to make some adjustments to improve the weakest (according to me) part of our galaxy s.. would some devs please mind trying this for us and share it?

We don't need the RAM (yet)
There are a lot of developers who try to get more out of our SGS's. For instance Juwe/ GingerReal increases the RAM to around 340MB.
Appearently Google thinks we don't need the full potential RAM and that's why they made it with a default of 300-330MB. Still still most developers agree on XDA that we should be able to acces the other 160MB because it doesn't do anything.
Until then we'll just have to wait.

even 340 Mb instead of 329 makes a difference .. i cant think what would happen with 380 or 400 or maybe even more..
because as far as i understood from what i have read; 128 memory is reserved for some drivers and capturing video is taking most of it.. i am taking a video maybe once in 2 monts.. but i am using my widgets, apps, playing my games everyday.. so if was asked to choose i would love to have that memory reserved for video taking..
edit:typo

First of all, the amount of RAM is NOT related to the ROM....
The kernel makes the difference...
In general the max amount of RAM in Gingerbread is 340MB, cuz if we go over the phone will become unstable and we'll break some functions like 720p recording....
In Froyo we used to reach max of 350MB without issues

just curiosity;
galaxy s2 and galaxy s has the same rams with different amounts.. what would happen if we soldered the 1gb ram to galaxy s? would it recognize it without any software tuning? or would we just kill the phone completely? or would still see 329 ?

simone201 said:
First of all, the amount of RAM is NOT related to the ROM....
The kernel makes the difference...
In general the max amount of RAM in Gingerbread is 340MB, cuz if we go over the phone will become unstable and we'll break some functions like 720p recording....
In Froyo we used to reach max of 350MB without issues
Click to expand...
Click to collapse
so is it possible to disable video recording completely and having lots of more Mb?

_delice_doluca_ said:
just curiosity;
galaxy s2 and galaxy s has the same rams with different amounts.. what would happen if we soldered the 1gb ram to galaxy s? would it recognize it without any software tuning? or would we just kill the phone completely? or would still see 329 ?
Click to expand...
Click to collapse
Do you want to instert 1GB ram into our SGS? I dunno sincerely what will happen.....
_delice_doluca_ said:
so is it possible to disable video recording completely and having lots of more Mb?
Click to expand...
Click to collapse
Probably yes, i am not a kernel expert, i am only a rom cooker/recognised developer, so my knowledge on kernels is very basic....
Maybe you'd better directly ask to a kernel dev like hardcore, nikademus, chainfire....

simone201 said:
Do you want to instert 1GB ram into our SGS? I dunno sincerely what will happen.....
Click to expand...
Click to collapse
i would really want that but i am sure its not as easy as soldering the gps antenna.. i have read about a HTC device getting a memory upgrade to 128Mb from 64 in xda forum.. so technically there is no impossible but i wonder what else need to be done after soldering the ram? software adjustments (kernel maybe?), or any more hardware changes ?
simone201 said:
Probably yes, i am not a kernel expert, i am only a rom cooker/recognised developer, so my knowledge on kernels is very basic....
Maybe you'd better directly ask to a kernel dev like hardcore, nikademus, chainfire....
Click to expand...
Click to collapse
thanks for tip, i will ask them..

i am really feeling bad about this ram issue.. every web page is showing nexus, galaxy s, galaxy tab have 512 Mb of ram.. but the memory dedicated for users is far less than the other 2 phones in galaxy s ... so it bothers me.. is there anyone who returns their phones to samsung and gets the money back?
first i believed somehow it was possible to use most of the ram with some software adjustement but then i realised even quadrant shows the total amount of ram memory is only 384 mb (and there is a part which is not used at all) ..

Related

Freeing more ram on Galaxy S

Hypothesis:
The memory for this device is contiguous with memory holes. This holes are for DMA for front/back camera, video decoding/encoding, etc. In 99.99% of time this is wasted memory.
Proposal:
Why not allocating all ram and dynamically allocating memory for DMA only when needed?
For example this could be like this:
1.The phone boots and the mm allocates all memory but lies the driver for camera that he could use a portion of ram for DMA
2.The system use normally all memory (maybe allocating last the reserved memory)
3.The user starts the camera
4.A hook in camera's driver instruct the mm that he needs the reserved memory
5.The MM frees a portion of ram(other than the one needed by the camera and equal with that) and moves everything from the reserved memory in that
6.The MM updates it's maps(virtual memory ↔ real memory)
7.The camera uses normally in DMA the reserved memory
8.The user closes the camera, the camera driver notifies the MM that he doesn't need memory anymore
9.The MM allocates normally the reserved memory
Pros: You'll have like 50% more ram in user space
Cons: Some lag when starting camera
I'm ready to start implementing this but I don't have lots of experience with the linux's mm and I don't really know if this is possible so I'm asking:
How crazy this idea is and it could be implemented? And if yes, how hard?
WOW! Your the first to suggest it. After everybody else here on forum, that is.
dupel said:
WOW! Your the first to suggest it. After everybody else here on forum, that is.
Click to expand...
Click to collapse
Yes, I know, the idea is not revolutionary or smth ) but I'm ready to try to implement it...
So please respond only if you can provide some useful information.
Not sure anyone really knows how easy it is to do for sure, but it has been mentioned a few times (but sounds like you have done it in further detail).
Personally, I've always believed that it's something which Samsung is working on, but maybe not. Could be awesome if you managed to make it work reliably.
Check out Hardcore's Speedmod kernel here in the development section.
His kernel gives you 341 RAM instead of the default 304. Might give you some ideas.
I know this isn't a bounty thread, but I would be willing to donate $20 if you could get this working. I wouldn't mind a slightly delay when launcher camera. I'd much rather have more free RAM.
andars05 said:
I know this isn't a bounty thread, but I would be willing to donate $20 if you could get this working. I wouldn't mind a slightly delay when launcher camera. I'd much rather have more free RAM.
Click to expand...
Click to collapse
I seriously think Samsung messed up a very good phone by allotting ONLY 512 MB ram. With 16/8 GB at their disposal, they could have easily allotted at least 1 gb
ragin said:
I seriously think Samsung messed up a very good phone by allotting ONLY 512 MB ram. With 16/8 GB at their disposal, they could have easily allotted at least 1 gb
Click to expand...
Click to collapse
+1 here!
I have the 16GB version so I wish Sammy gave this version at least 2GB RAM and 1 GB ROM
android.francis said:
+1 here!
I have the 16GB version so I wish Sammy gave this version at least 2GB RAM and 1 GB ROM
Click to expand...
Click to collapse
Can any developer DO THIS?
Seems simple. I think you need hack the pit file.
hi . . .
I dont want to be rude, but seeing these comments I couldn't stop myself -
Dudes, if you dont know what you are talking about STFU!!!
Seriously?? Allocate more to RAM from 16/8 GB??????? And edit the PIT file for this???? I am assuming that you all would've used computers, are you allocating more to RAM from the free space in your Hard Disk?? What you are suggesting is the same!!!
Please think for a moment before you post stuff.
And to the original query regarding how hard this would be - it would be pretty hard. You will have to touch upon everything that uses and reserves RAM. And this would also include modifying firmware of individual components on the phone. And if there are parts in this for which Samsung has not released source code, it would be very difficult. Not to say that - you could end up damaging the phone.
Good thoughts - but it would need a lot of work to get going.
Cheerios!!
Actually, using a swap partition on flash isn't that bad an idea, they are low latency. It would be pretty slow compared to physical ram though
Sent from my GT-I9000 using XDA App
coooolboyz said:
hi . . .
I dont want to be rude, but seeing these comments I couldn't stop myself -
Dudes, if you dont know what you are talking about STFU!!!
Seriously?? Allocate more to RAM from 16/8 GB??????? And edit the PIT file for this???? I am assuming that you all would've used computers, are you allocating more to RAM from the free space in your Hard Disk?? What you are suggesting is the same!!!
Please think for a moment before you post stuff.
And to the original query regarding how hard this would be - it would be pretty hard. You will have to touch upon everything that uses and reserves RAM. And this would also include modifying firmware of individual components on the phone. And if there are parts in this for which Samsung has not released source code, it would be very difficult. Not to say that - you could end up damaging the phone.
Good thoughts - but it would need a lot of work to get going.
Cheerios!!
Click to expand...
Click to collapse
My response: VIRTUAL RAM. And yes, I think before I post. My response was more of wishful thinking. So as an added response: ANALYZE and comprehend BEFORE you react. And I orginally was not suppose to reply but similar to you, I JUST COULDN'T STOP MYSELF
Now as for the topic of more RAM, I said before to check out Hardcore's SPEEDMOD KERNEL. It is fully functional and your RAM goes from 304MB to 341MB. Yes, it is hard but Hardcore already did it.

NS4G's ram sized 512mb? or 345mb?

well... i just came from Evo4G and im very new with samsung with android..
i didn't bother to check when i first got the phone but right after my rooting process and installation of Miui 1.9.2, i installed perfect system monitor app and put the widget on my main screen and it showed 345mb of ram and only had 49mb free ram..
i was like WTF!! but is this normal? i thought NS4G came with 512mb?
is there a fix?
i do believe the Nexus comes with 512 ram. sounds like theres some setting displaying wrongly
It does have 512 RAM
I've read about this very issue on other forums before.
Some people speculated that it limited the RAM on purpose because the OS doesn't need it all and later versions of the OS would need it.
But ultimately I saw someone post that said that the GPU requires a certain amount of RAM, and so it is almost like partitioned and is unavailable for the rest of the system.
Development? Nope. Thread closed.
And for the record, Irrowley is correct. It is allocated to the SGX 540.
lrrowley said:
I've read about this very issue on other forums before.
Some people speculated that it limited the RAM on purpose because the OS doesn't need it all and later versions of the OS would need it.
But ultimately I saw someone post that said that the GPU requires a certain amount of RAM, and so it is almost like partitioned and is unavailable for the rest of the system.
Click to expand...
Click to collapse

How to make more RAM available to the user?

Hello @ all,
as you might know we have only 343MB of RAM available to the user on our Arcs, but we have a total of 512MB RAM.
I did some research and found out that the most phones with 512MB RAM have 370-400MB or even more RAM out of the 512MB available to the user.
I know that there is something reserved for the system, but normally it's less.
But sometimes I'd really like to have a few MB more RAM available when I do multitasking or a lot of stuff is running.
So the question is if we can unlock more RAM for us and an even better user experience? And if yes, how to do it.
Regards,
Flo
May be a mix from a swap partition and the supercharger script is the right for you
The supercharge script optimize the memory management of android
Already have SuperCharger V6 installed.
Does a really great job and fixed the problem with LauncherPro Plus redrawing often.
But still I'd like to have more RAM available...
For example the X10 with 384MB has ~280MB available, so we should have ~410MB available on the Arc. And not just 60MB more...
Sent from my LT15i using XDA Premium App
Flo95 said:
Hello @ all,
as you might know we have only 343MB of RAM available to the user on our Arcs, but we have a total of 512MB RAM.
I did some research and found out that the most phones with 512MB RAM have 370-400MB or even more RAM out of the 512MB available to the user.
I know that there is something reserved for the system, but normally it's less.
But sometimes I'd really like to have a few MB more RAM available when I do multitasking or a lot of stuff is running.
So the question is if we can unlock more RAM for us and an even better user experience? And if yes, how to do it.
Regards,
Flo
Click to expand...
Click to collapse
No you can not unlock the RAM or ROM for further use, you however can optimize it by using external scripts and the reason for 343 megs being available is because around 150-170(approx) megs of RAM is being used by the graphics (GPU).... u did not account for that now did u... . Now maybe just maybe u can use a custom made kernel to squeeze some more juice out of the RAM...but no major RAM increase
Ah, okay.
But somehow it's possible.
Today I saw a review of a custom ROM on youtube for an Evo 3D...
And other phones with the same GPU have less memory reserved.
E.g. Desire HD, Desire Z
Strange that SE reserves that much
Flo95 said:
Ah, okay.
But somehow it's possible.
Today I saw a review of a custom ROM on youtube for an Evo 3D...
And other phones with the same GPU have less memory reserved.
E.g. Desire HD, Desire Z
Strange that SE reserves that much
Click to expand...
Click to collapse
Your phone reserves memory for hardware, camera for example. It works the same way as reserved memory for integrated graphics on computers. We have HD recording in the arc now that has to come from somewhere, and just where would that place be?........the RAM. SE has tried very hard to squeeze in some very good features into the arc and that's why I guess they made a trade off with the RAM, and all these features require RAM and its not a luxury that SE has to reserve all that RAM but a necessity so we users can enjoy some great HD recording and amazing resolution.
One more thing even though the Desire HD and Xperia Arc do share the same processor (MSM8255 SnapDragon) the HTC Desire HD has 768 MB RAM and 1.5 GB of internal flash memory data storage and the Desire Z on the other hand uses a MSM7230 SnapDragon even though the GPU is the same the processors differ the MSM8255 is 1GHz and the MSM7230 is 800MHZ and in the overall equation of memory reserving other than the GPU the CPU has its part to play too and a very imp one...hope ur getting the idea and the GPU in the MSM8255 is a marked improvement over the GPU the 'Z' has. Now even though HD does have lesser memory reserved its not that big a difference. However on the arc, the camera is way much better than on the HD (camera-->RAM) so SE has used some more memory for better features.
I think everybody want to have more ram and more ram
but only thing that we can do is tweaking our system again and again.
I´am for example using the supercharger v6 option 4 and a swap partition and its great to see some improfment
I am looking for tweaks all the days but i am not so good in android so it need time
Ok, then.
If it has to be like that...
Just want to get the optimum out of my Arc.
Maybe a dev will come with a kernel that unlocks just a little bit more with keeping all the features
Sent from my LT15i using XDA Premium App

[Q] HTC Desire RAM Question

How come GSM Arena tells that the Desire has 576 mb ram, but, on any rom, it shows only 404 mb?
Is there any way to fix this?
I have seen some post with the hypothesis that a large piece of ram is allocated to the Android system, but I don't think that's true, because I can only achieve max 300 mb free ram, and the rest has to be busy with something...
don't know why it shows reduced either, but it doesnt really need 'fixing'.
assume that software developers generally know more than most of us here...
this might be an interesting read.
my recommendation is not to worry...check how your rom actually feels in day to day use. not how much free or total RAM you have or think you need, or what a benchmark score says...
eddiehk6 said:
don't know why it shows reduced either, but it doesnt really need 'fixing'.
assume that software developers generally know more than most of us here...
this might be an interesting read.
my recommendation is not to worry...check how your rom actually feels in day to day use. not how much free or total RAM you have or think you need, or what a benchmark score says...
Click to expand...
Click to collapse
My rom works like a charm (Mildwild Oxygen), buy I was just asking out of curiosity. I know all the ram theory, and how i shouldn't care, but did HTC sell us lies?
DigginGraves said:
My rom works like a charm (Mildwild Oxygen), buy I was just asking out of curiosity. I know all the ram theory, and how i shouldn't care, but did HTC sell us lies?
Click to expand...
Click to collapse
They didn't lie.
Actual ram size is less when in use. A bit like how a micro SD is less when formatted.
Plus part is dedicated to the GPU (graphics)
So yeah probably about right
Sent from my HTC Desire using xda app-developers app
Graphics make sense... thanks!

How much free RAM do you guys have?

Is that normal? How much free RAM do you guys have?
doesn't look like it, but mine is the same. I believe it is the lollipop memory leak issue...so as usual we just have to wait it out
Sucks that just as we are finally seeing 3 Gig of RAM we end up in the same situation as when we had 2Gig ?
I have not upgraded to to 2015 Flagship Standard yet but ...
I was hoping to START at the beginning of Boot Up with about
1.7 -2 GIGs of free RAM for Tasking etc.
I think " upgrading" to Lollipop on many Devices could create more problems than it solves - right ?
And the supposed Wifi Calling and VoLTE are not going to work
because they are Carrier Specific Software which must come directly from your Service Provider.
Free RAM is UNUSED/WASTED RAM! Understand? The more software/applications that are pushed into RAM the better because it is available to do whatever it needs to do without having to go and search for it and place into RAM! If and when you need more RAM for something new, say like opening another application...then Android will move out of RAM whatever is not being used and replace it with the new software. If your phone had 10GB of RAM it would still look nearly full. This is a GOOD thing. It's all still available for use when needed. Remember that RAM is always the fastest part of your phone. Of course the more RAM you have the more applications you can have open at any one time without any lag/stutter. But for now 3GB of RAM is quite good for a cell phone on Android.
XxKINGxX2580 said:
Is that normal? How much free RAM do you guys have?
Click to expand...
Click to collapse
Is that a built-in app showing you that?
DanRyb said:
Is that a built-in app showing you that?
Click to expand...
Click to collapse
Yes. it's called Smart Manager.
XxKINGxX2580 said:
Yes. it's called Smart Manager.
Click to expand...
Click to collapse
I just found it a few hours ago but thanks for replying LOL. This is my first Samsung that I'm using TouchWiz in years haha.
jaseman said:
Free RAM is UNUSED/WASTED RAM! Understand? The more software/applications that are pushed into RAM the better because it is available to do whatever it needs to do without having to go and search for it and place into RAM! If and when you need more RAM for something new, say like opening another application...then Android will move out of RAM whatever is not being used and replace it with the new software. If your phone had 10GB of RAM it would still look nearly full. This is a GOOD thing. It's all still available for use when needed. Remember that RAM is always the fastest part of your phone. Of course the more RAM you have the more applications you can have open at any one time without any lag/stutter. But for now 3GB of RAM is quite good for a cell phone on Android.
Click to expand...
Click to collapse
This right here, folks.
jaseman said:
Free RAM is UNUSED/WASTED RAM! Understand? The more software/applications that are pushed into RAM the better because it is available to do whatever it needs to do without having to go and search for it and place into RAM! If and when you need more RAM for something new, say like opening another application...then Android will move out of RAM whatever is not being used and replace it with the new software. If your phone had 10GB of RAM it would still look nearly full. This is a GOOD thing. It's all still available for use when needed. Remember that RAM is always the fastest part of your phone. Of course the more RAM you have the more applications you can have open at any one time without any lag/stutter. But for now 3GB of RAM is quite good for a cell phone on Android.
Click to expand...
Click to collapse
Come on... I have Galaxy S4 now (going for S6 today). The S4 comes with 1.8GB usable memory but when it reaches arount 1.5 GB it starts lagging, and by lagging I mean a lot! The fact is that when the device has less RAM it gets laggy and it works better when it has more free memory.
Anyway the higher memory usage is probably of how Lollipop works - it preloads the entire app in the RAM instead of loading it from the flash. It is meant to speed up loading but it takes more memory and I can argue for the effect.
once there are some custom roms, this "issue" will be addressed.
until then, you just have to deal with it

Categories

Resources