setprop persist.sys.diag.fail_count 0 setprop persist.sys.display.hash "clean" For "Screen flicker detected" false errors:
> gds-tf --fix --screen-diag [INFO] Detected SM-G998B (OneUI 5.1) [INFO] Diagnostic state: FAIL (touch error) [INFO] Attempting fixer... [OK] Reset diag fail count [OK] Rewrote touch cal block (I2C addr 0x48) [OK] Restarted sec_diag_daemon [RESULT] Re-run diag: ALL PASS (Available upon request or in accompanying repository.) This paper is released for educational and repair community use. Use at your own risk; always back up EFS partition before running diagnostic fixers. galaxy diagnostics screen tool fixer
def fix_mipi_errors(): with open("/d/dsi/dsi_status", "w") as f: f.write("clear_errors") subprocess.run(["echo", "1", ">", "/sys/kernel/debug/dsi/panel_reset"]) Using a patched sec_touchinfo driver interface: setprop persist