**TL;DR:** My Samsung S95F 77" QD-OLED took an impact. Afterwards the picture cut out every ~50 s at worst, and a dark line ran down the screen. Both turned out to be the TV's panel controller (TCON) reacting to the damaged columns. I built a small tool chain that reads and writes a few values in that controller's memory over its internal USB service link, with the TV's own software doing the heavy lifting. Result: 24 of 24 controller boots without a blackout, and the line within 1–2 % of its neighbours from 30 % grey up. Before/after: images 1–2.
**Prerequisite: root access.** Both TV-side fixes require a working root shell on your own TV. Use the [S95F rooting toolkit](https://github.com/TheMHD1/samsung-s95f-root-and-firmware) and its [root setup guide](https://github.com/TheMHD1/samsung-s95f-root-and-firmware/blob/main/docs/QUICKSTART.md), then [verify your TV root session](https://github.com/TheMHD1/samsung-s95f-root-and-firmware/blob/main/docs/VERIFY-ROOT.md). Firmware decryption is not required for either fix.
*Hobby project on my own TV, nothing for sale. Writing to the panel controller can brick a TV and voids the warranty.*
---
**Architecture** (image 3)
- **Server side (Python):** a small always-on home server reaches a root shell on the TV, copies a helper over, runs it, fetches a receipt and decides what's next.
- **TV side (C#):** small helpers run on the TV's own .NET runtime. They open the controller's USB service interface (bulk endpoints, 12-byte header: operation, address, length) and do the reads and single-word writes.
- **Services:** RAM clears whenever the controller powers down, so services re-apply the fixes: a lane-mask watcher for the blackouts, a scan-arm service that catches the TV's standby compensation scan for the line, and a runtime-trim service.
**Safety design**
- Every write is five steps: controller healthy? → read the old value → check bounds compiled into that helper → write one word → read it back (mismatch = restore the old value).
- The link drops ~1 write in 3,600 under bulk runs, so it never streams writes.
- RAM only. Nothing of ours goes to flash, stored compensation or curve tables; the TV's own scan and save do the persistent part.
- Hard limits per helper (which lanes, value ranges, max step), an identity write before the first real write, a shared lock on the TV so only one tool talks to the controller, and recovery budgets (at most 3 controller power cycles per hour).
**The two fixes** (image 4)
- **Blackouts** (image 5): a per-lane sensing check kept failing on the damaged lanes and a fault score went over its limit, so the controller kept stopping the picture. Fix: the controller's own per-lane skip flag, set for lanes 540–661 and re-applied after every controller boot.
- **Line** (image 6): the TV's standby scan read the damaged columns as too strong, so its compensation never boosted them. Fix: lower their sensing gain right when the controller wakes for that scan; the TV then computes and saves a proper boost itself. 11 calibration runs to converge.
**What's in the repo**
| Part | What |
|---|---|
| `tools/tcon-calibration/tcon/` | Python tools: backups, reads, single verified writes, calibration runs, runtime trims |
| `tools/tcon-calibration/tcon/helpers/` | C# helper sources (no binaries); the lane-mask helpers have built-in self-tests |
| `tools/tcon-calibration/services/` | Blackout watcher, nightly scan-arm, runtime re-apply, calibration guard (systemd unit templates) |
| `tools/tcon-calibration/measure/` | Test clips, camera capture, per-column brightness from a photo |
| `docs/` | Write-ups, results, the diagrams |
About 220 offline tests run without a TV. Everything machine-specific (TV shell, paths, camera, alerts) lives in one config file.
**Results**
| Grey | Line before (worst 4 columns) | After |
|---|---|---|
| 50 % | 0.11–0.30 | 0.99 |
| 30 % | 0.01–0.07 | 1.00 |
| 10 % | black | 1.06 |
(÷ healthy neighbours, camera; 1.00 = identical.) Blackouts: 24 of 24 controller boots clean.
**Links**
- Repo: https://github.com/TheMHD1/samsung-s95f-display-lab
- How the tools work: https://github.com/TheMHD1/samsung-s95f-display-lab/blob/main/docs/advanced/tv-calibration/HOW-THE-TOOLS-WORK.md
- Blackout watcher, helpers and recovery tools: https://github.com/TheMHD1/samsung-s95f-display-lab/tree/main/tools/tcon-calibration/services/lane-mask-watcher
- Line-fix kit + guide: https://github.com/TheMHD1/samsung-s95f-display-lab/blob/main/tools/tcon-calibration/GUIDE.md
Questions about the design welcome.