4

I bought a new tablet, but Android (2.3.1) shows that it has only 150MB free of 256MB, and it should have 512MB.

I checked the file /proc/meminfo, MemTotal information. It only shows 256MB. Is there a possibility that the Android "hid" 256MB of RAM from the user?

3

3 Answers 3

3

This is not uncommon in the embedded world. A prominent example is the Samsung Galaxy S, which is advertised with 512MB RAM. But only 300 something are actually available for the OS. I believe the other part is used for the (powerful) GPU.

This leads to effects where a similar device is faster. For example the HTC Desire/Nexus One both have 512MB (576MB for the Desire) and overall play in the same league as the Galaxy S, but IMHO they are in many situations faster then the Galaxy S. But I am not sure if it's because of the "crappy" stock ROM of the SGS or because of the RAM difference.

2
  • Just curious, where can I read more about this in a device agnostic way?
    – Zuul
    Commented Aug 24, 2012 at 18:36
  • @Flow, there is some uncertainty as to whether the hidden RAM is used by the GPU or the Android kernel. How do we know for sure?
    – Asclepius
    Commented Dec 15, 2013 at 4:58
2

Android is not hiding some amount of RAM from the user.

shows that it has only 150MB free of 256MB, and it should have 512MB.

That is quite a common thing among cheap Chinese devices, two scenarios spring to mind:

  1. The kernel is built with a memory model that is split up into two, half of it is occupied by the kernel, the other half is occupied by Android, otherwise known as a 2G VMSPLIT, 2Gb addressing space for kernel, 2Gb addressing space for Android and user apps.
  2. The chip-set controller for accessing the RAM is "locked down". There are ways of "unlocking" the chip-set controller but sadly, that information is very difficult to obtain. There is a tool available which, I must add, very difficult to use and is not exactly friendly either, PSAS IIRC or one of the variants of it.

I can cite one handset that has this problem - Zte Blade, there's two variants of it, Chinese variant (which has 512Mb with only 256Mb available, the rest locked out), and the European variant which indeed has 512Mb - albeit limited and depending on the region within Europe.

Unfortunately, for some obscure reason, those chip-sets used on the circuit board could be either refurbished with the remainder of the RAM "locked down" or is a cheap clone of the real thing.

There was various reports on Modaco about this in trying "to unlock" the remainder of the RAM in the Chinese (and some European) variants of the Zte Blade, but IIRC, it was not successful.

The only thing that can be done to compensate, is either, roll your own kernel using VMSPLIT 3G, and flash it or, do some searching on the internet to find out if anyone has it unlocked and what steps are necessary, IIRC the tool used was PSAS which actually can talk to the chip-set - have heard some hard-core hackers using it to modify and alter the handset in that fashion.

1
  • Is there a reason for manufacturer to lock down half of the RAM? Commented Jan 26, 2017 at 21:05
0

You can use GameGuardian for this. Need root.

Memory editor tab - menu - memory dump - select range and folder - press ok - wait for toast "Dump end".

Here some video examples how to do this:

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .