[Q] Does ro.config.low_ram=true have an effect on <4.4 ROMs?

Search This thread
As most of you following the KitKat developing scene for lower end devices probably know, Android 4.4 introduced the low_ram property. On 4.4 ROM's, transparent statusbar is disabled for example for devices with this property set to true.

Now, the situation is:

I'm running CM10 (4.1), because it's one of the most stable custom ROM's for my device. A few days ago I put the following line to build.prop:

Code:
ro.config.low_ram=true

hoping to notice better optimized RAM management. It's hard to claim an effect knowing that it could very well be placebo, so I was hoping someone understanding this better could explain the effects to me.

Added a new ActivityManager.isLowRamDevice() to allow applications to detect when running on low memory devices and choose to disable large-RAM features.
(...)
We are introducing a new API called ActivityManager.isLowRamDevice() for applications to determine if they should turn off specific memory-intensive features that work poorly on low-memory devices.
For 512MB devices, this API is expected to return: "true" It can be enabled by the following system property in the device makefile. PRODUCT_PROPERTY_OVERRIDES += ro.config.low_ram=true
http://source.android.com/devices/low-ram.html

I too noted that it says API, so that means that it's dependent on the OS version. Is there any way it can have an effect on memory mangement if not runnign 4.4?

Same goes for disabling JIT(see a bit lower on the source page), which needs to be set in the 'product makefile'
 
  • Like
Reactions: ivancorpiz
I asked it in a Reddit thread too and someone said it won't work, but I don't think that guy has more knowledge about it than you or me. However, since they say it's an API, and API's are bound to the Android version I don't have much hope for this to work...

For the time I've tried it, I didn't notice any difference anyway, if there is, tweaks like zRam will benefit you much more anyway.
 

pryerlee

Senior Member
Nov 18, 2008
523
134
Bristol
so we may as well just add it to the build.prop anyway, if it works then its a bonus if not no harm done.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    As most of you following the KitKat developing scene for lower end devices probably know, Android 4.4 introduced the low_ram property. On 4.4 ROM's, transparent statusbar is disabled for example for devices with this property set to true.

    Now, the situation is:

    I'm running CM10 (4.1), because it's one of the most stable custom ROM's for my device. A few days ago I put the following line to build.prop:

    Code:
    ro.config.low_ram=true

    hoping to notice better optimized RAM management. It's hard to claim an effect knowing that it could very well be placebo, so I was hoping someone understanding this better could explain the effects to me.

    Added a new ActivityManager.isLowRamDevice() to allow applications to detect when running on low memory devices and choose to disable large-RAM features.
    (...)
    We are introducing a new API called ActivityManager.isLowRamDevice() for applications to determine if they should turn off specific memory-intensive features that work poorly on low-memory devices.
    For 512MB devices, this API is expected to return: "true" It can be enabled by the following system property in the device makefile. PRODUCT_PROPERTY_OVERRIDES += ro.config.low_ram=true
    http://source.android.com/devices/low-ram.html

    I too noted that it says API, so that means that it's dependent on the OS version. Is there any way it can have an effect on memory mangement if not runnign 4.4?

    Same goes for disabling JIT(see a bit lower on the source page), which needs to be set in the 'product makefile'