Enable alternative dimming mode (likely DC-like) on low brightness for some OLED displays by using software brightness gain.
Requires Android 12+ and Xposed-compatible framework.
By limiting the minimum brightness and scaling down the output signal through a degamma-gain-regamma transform, the actual display brightness matches the expected brightness while maintaining a higher PWM frequency and duty cycle.
Use the high-speed shutter mode of the camera to amplify the stroboscopic effect, or use professional instruments to measure the PWM frequency and duty cycle. Choose an acceptable brightness value as the minimum hardware brightness.
Inspired from ztc1997/FakeDCBacklight. This project additionally implements immediate application as well as stabilizing the brightness before and after enabling.