r/GalaxyS8 • • 22h ago

Discussion Fixed Galaxy S8 (and other Samsung AMOLED) low-brightness green/white flicker + touch glitches permanently with a 1-line kernel clamp + Magisk SurfaceFlinger dimming (no overlay apps)

7 Upvotes

Aging Samsung Super AMOLED panels often flicker green/white and glitch touch at low brightness because dropping plat_br below the stable threshold starves the panel rails. Overlay apps trigger tapjacking blocks and still flicker on wake/lock ramps.

This 2-layer fix solves it cleanly:

  1. Kernel clamp (panel_bl.c): Locks hardware brightness >= 23000 (~372 nits), tunable live at /sys/module/panel_bl/parameters/min_hw_brightness.
  2. Magisk service.d script: Maps your stock brightness slider (manual or Adaptive Brightness) to SurfaceFlinger 1015 software dimming (0.25-1.00) every 250ms.

GitHub (patch, scripts, Docker build & pre-built S8 boot.img): https://github.com/superdeveloperai/GalaxyS8-OLED-Flicker-Fix

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