r/androidroot • • 14h ago • Bravo 1

News / Method Don't replace your aging OLED screen yet — permanent root fix for ANY Android OLED panel with low-brightness green/white flicker & touch glitches (Kernel Clamp + SurfaceFlinger/Extra Dim)

If your Android OLED/AMOLED phone (Samsung, OnePlus, Pixel, Xiaomi, etc.) is completely fine at 70%+ brightness but flickers green/white or glitches touch at low brightness, the panel isn't dead—its low-voltage PWM/ELVDD rail is just unstable below a threshold.

Play Store dimmer overlay apps trigger Android tapjacking/permission blocks and still flicker on wake/lock ramps because the kernel drops hardware brightness to minimum.

Here is a permanent 2-layer root fix (no overlay apps):

  1. Kernel Hardware Floor: Clamp your kernel's backlight setter (e.g., panel_bl.c on Exynos, dsi_panel.c on Snapdragon) above your panel's stable voltage floor, exposed via a live-tunable sysfs parameter (/sys/module/panel_bl/parameters/min_hw_brightness).
  2. Software Dimming (Slider + Adaptive Brightness both work):

    - Android 8-11: Lightweight Magisk service.d script maps screen_brightness (0-255) to SurfaceFlinger 1015 color-matrix dimming (0.25-1.00) every 250ms.

    - Android 12+: Pair the kernel clamp with native Extra Dim (reduce_bright_colors).

Full Open-Source Repo (1-file .patch, Magisk scripts, Docker build & pre-built S8 hadesKernel boot.img):

https://github.com/superdeveloperai/GalaxyS8-OLED-Flicker-Fix

Step-by-Step XDA Guide:

https://xdaforums.com/t/fix-root-kernel-magisk-galaxy-s8-samsung-amoled-low-brightness-green-white-flicker-touch-glitch-fix-no-overlay-apps.4810383/

127 Upvotes

19 comments sorted by

8

u/SilverRiven 14h ago

Crazy work, well done

4

u/Adventurous-Trip-664 13h ago

Thanks! Took a lot of trial and error with SurfaceFlinger and kernel logs to realize the panel was dropping to ~25 nits on wake ramps before userspace could react, so clamping it right in panel_bl.c finally made it rock solid.

5

u/SilverRiven 13h ago

I like your funny words magic man

1

u/Unr34L_Dr34d 8h ago

Hello:

Thanks for sharing!!My question is whether a special kernel is required, or if any custom kernel will work. I was looking at the XDA post, and it mentions a "Pre-built Boot Image"...

Does this affect custom kernels? And is it necessary to obtain the "Pre-built Boot Image" for each specific model you want to repair?Thanks in advance for taking the time to respond.

Regards.

1

u/Adventurous-Trip-664 8h ago edited 7h ago

You don't need a custom kernel—you just need to adjust the voltage values sent to the display to stabilize it just modify the existing kernel.

3

u/Pizzaiolu 12h ago

Pena que não dá pra fazer isso com root temporário Minha tela está com esse sintoma de quando eu escureço o brilho ela fica verde nas partes pretas Meu celular é um s23u

1

u/frutti_tutti_frutti 13h ago

I'm currently using a lot of Shizuku tools and onw of them is Better Night Light. It has made my screen more pleasant to look at in the evenings. I wonder how your work compares to that?

I probably can't test your tool since I dread the play integrity cat and mouse game when rooted.

2

u/Adventurous-Trip-664 13h ago

Better Night Light is just a color-temperature overlay. It cannot modify the hardware voltage rails (ELVDD/ELVSS) powering your OLED panel.

The actual issue happens at the kernel level. During transitions like screen dimming, locking, waking, or exiting AOD, Android's DisplayPowerController and the kernel display driver can push brightness into an unstable low-brightness range (~25 nits / plat_br: 6400).

Apps like Extra Dim, Shizuku and Better Night Light operate in userspace. They cannot control the actual voltage reaching the OLED panel. That's why green/white flickering and touch glitches can persist regardless of which dimmer you install.

The proposed fix clamps the minimum brightness directly in the kernel driver (a small C-level patch), preventing brightness from dropping below the panel's stable threshold. Your dimmer apps can then work normally on top.

Regarding Play Integrity: fair concern, but if your display is already flickering, a kernel fix may be worth considering over a $100–150 screen replacement. If you're not experiencing symptoms, don't root just for this. 🤷

2

u/frutti_tutti_frutti 13h ago

Yeah, thanks for the explanation. My display is good, but I think this might be useful for my wife's Samsung.

2

u/thunderstrucktwice87 13h ago

Damn, my old rooted S10+ may have this very issue. Gonna try it later then

2

u/Any_Candy_9243 12h ago • Regret

My bad 💔 i just change my samsung m31 cool amoled display t cheap lcd it's soo bad even the colours aren't changing and the screen brightness is so cooked

2

u/EthanIver SM-T285, LOS14.1 | SM-A035F, PixelOS 14 12h ago

My Galaxy J7 Pro used to have this problem. A year ago the screen just vomited green and gave up completely.

0

u/AjengAlot 14h ago

no shit, I just bought my new OLED screen for 70$ plus shipping.

1

u/Adventurous-Trip-664 13h ago

Oof, sorry about the timing! At least a fresh panel won't have the aging ELVDD wear, and if you ever keep the old display as a spare/test screen (or if another phone starts doing it down the road), this 1-line kernel clamp + software dimming will save you from buying another one.

1

u/ZEV-3NZ 9h ago

Impressive! Can it also fix black crush in AMOLED? I have a Galaxy A176B that has black crush issue and looking for kernel modification once I unlock the bootloader.

1

u/SufficientJob3773 9h ago

Damn, so green line issue surges happened around 2023 after software updates were really software issues?

1

u/Gain_Entire 7h ago

It looks interesting, but right now I'm afraid to test it on my phone because of the soft root, haha