Realme X2 64MP/32MP RAW Enabler

This module enables full RAW capabilities on the Realme X2 front (32MP) and rear (64MP) cameras. By Wyroczen.


Version 5.4:


  • EIS v2 can be enabled now.

Additional info:

  • Logging from libs is forced, you may get a lot of camera related info in logs.
  • This module will break the stock camera normal mode for both main and front camera (portrait and video will work tho).
  • 32MP should work in other GCam as well, for 16.1MP and 64MP you can use my new GCam.


  • Flash in Magisk like any other module.


  • I’ve tested it on latest Android 10 RUI, I’ve heard that it works on custom ROMs too.


If you want to support Wyroczen’s work, his PayPal is:

A telegram group is available for the Realme X2: @RealmeX2Gcam

Thanks to Wyroczen for this module and everyone involved in testing.

Old versions:

v5.1 »


  • 15.9 mpx mode replaced with 16.1 mpx (for binned mode)
v4.0 »


  • Better framerate in 64mp mode
  • Exposure times up to 75s in main sensor (you can check them out in open camera for example)
v3.0 »


  • longer exposure times (it’s a test, apps will show 46s but 32s should work (before it was only 16.1s outside stock camera app))
  • full 9280×6944 resolution

🗣 Discussion: