Increase RAM with internal memory

Hello all. Is it possible to increase the 8 GB of RAM with a part of the 256 GB of internal memory like other brand authorize?

Even if that might be possible, it would not be of great use. First of all, you hardly need more RAM. Secondly, you do not have the means to let Android make real use of it and lastly, it would be way to slow.

2 Likes

Interesting, I was not aware of such a feature on phones. Therefore I read about it quickly, and this is what I found:

So the main thing is compression of data that goes into the normal RAM and only if that is still not sufficient anymore it will start swapping into the phone memory. The latter btw. is a concept that was used in computers many years ago already on slooow harddisks and while with fast flash memory the situation for sure has become better, the actual RAM still outperforms the memory.
So if we wanted/needed that, Fairphone could make it possible, I guess. I’m not sure, though, if the kernel already has the required zRam module or if that would need to be added. However, I wouldn’t be too optimistic for such a feature request.

2 Likes

From my times working with lineage on fp3 zRam was already activated on most devices, and we got it into the FP3, too.

Having a look with termux on stock FP5 swap is enabled, so yes, they use it:

~ $ free

           total        used        free      shared  buff/cache   available

Mem:         7471888     5477264      256928       93840     1737696     1643344

Swap:        4194300      985956     3208344

~ $
5 Likes

What is the output for swapon on your termux ?

Unfortunately it’s empty, as /dev, /sys and so on are locked down.