Home > OnePlus

RAM Expansion greyed out on OnePlus: How to Fix

In this guide, we will show you the steps to fix the issue of RAM Expansion being greyed out on your OnePlus device. A relatively new feature to make its way over to the flagships, RAM Expansion uses your device’s storage space to expand the RAM. On paper, you could get up to 3GB additional RAM, but it’s still virtual RAM, and its benefits are still debatable. Moroever, nowadays most devices already comes with 6,8, or even 12GB RAM, so that in itself should be sufficient.

ram expansion oneplus

But if you still want to enable it, then it might give you a tough time, especially if you own a OnePlus device. In this regard, numerous users have reported that RAM Expansion is greyed out on their OnePlus device and hence they cannot enable it, either from About Device > RAM section or from the Developer Options page. If you are also in the same boat, then this guide will make you aware of the reason and more importantly the fix for this issue. Follow along.

Fix RAM Expansion greyed out on OnePlus

ram expansion oneplus

The reason why the RAM expansion is greyed out on your OnePlus device is due to your device is rooted. So you could either unroot your device [which might not be the most viable approach for many] or try out the command. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.

  1. Download and install Termux from Play Store.
  2. Then launch it and type in the below command:
    su
  3. You will get a Magisk prompt, tap Grant/Allow.
  4. Now execute the following two commands:
    resetprop persist.sys.oplus.nandswap.condition true
    echo 1>/sys/block/zram0/hybridswap_dev_life

    ram expansion oneplus

  5. Finally, restart your device for the changes to take effect.

That’s it. RAM Expansion will no longer be greyed out on your OnePlus and you could now expand it up to the desired value. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.


Share: