Skip to content

Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.

docs: the G05 reboot answer is per build, not per model

xbshengb8cc50e2e0bc
diff --git a/docs/devices/tcl-55c728-g05-4k-gb.md b/docs/devices/tcl-55c728-g05-4k-gb.md
new file mode 100644
index 000000000..1d117c99f
--- /dev/null
+++ b/docs/devices/tcl-55c728-g05-4k-gb.md
@@ -0,0 +1,155 @@
+# TCL 55C728 (`G05_4K_GB`): setupwraith stayed off across a reboot
+
+Report from [#734](https://github.com/Gathin23/cleanyourtv/issues/734): one owner, one same-day
+session, done with his own ADB scripts and a small custom Java launcher instead of
+`launcher/build-and-install.sh`. He applied the packages below and rebooted, but has not lived with
+them for days and did not exercise an undo. [CONTRIBUTING](../../CONTRIBUTING.md) asks for a few days
+of use before a list goes into `examples/`, so this is a note, not a list: read it next to
+[`examples/tcl-g05-google-tv/`](../../examples/tcl-g05-google-tv/debloat.txt), which is the same board
+on different firmware.
+
+## Identify the firmware, not the retail name
+
+| Field | Reported value |
+|---|---|
+| Retail name | TCL 55C728 ("Smart TV Pro"), owner-supplied |
+| `ro.product.name` | `G05_4K_GB` |
+| `ro.product.device` | `G05` |
+| Android | Google TV on Android 11, SDK 30 |
+| Build fingerprint | `TCL/G05_4K_GB/G05:11/AR2101/AR28` |
+| RAM | 2.7 GB |
+| SoC | MediaTek (`ro.hardware` not recorded, model not named in the report) |
+
+The US list in `examples/tcl-g05-google-tv/` is the same `G05` board sold as `G05_4K_US`, on the same
+`AR2101` build ID with incremental `AR68`. Matching on "55C728" or on "G05" alone therefore says
+nothing about the two questions below; match `ro.build.fingerprint` first.
+
+## The reboot question: this build keeps setupwraith disabled
+
+The US list reported the only G05 unit so far where disabling
+`com.google.android.tungsten.setupwraith` did not stick: that `AR68` set had it back in charge after a
+reboot. Two `G05_4K_GB` reports say otherwise:
+
+| Set | Product | Build | setupwraith disable across a reboot |
+|---|---|---|---|
+| [`tcl-65c735/`](../../examples/tcl-65c735/debloat.txt) (France) | `G05_4K_GB` | `AR2101` | stayed off |
+| this 55C728 (GB) | `G05_4K_GB` | `AR2101` / `AR28` | stayed off |
+| [`tcl-g05-google-tv/`](../../examples/tcl-g05-google-tv/debloat.txt) (US) | `G05_4K_US` | `AR2101` / `AR68` | came back |
+
+So the `AR68` unit is the exception among the three G05 reports, not the rule, and it is the build
+ID (`AR2101`) that is shared by all of them - the incremental (`AR28`/`AR68`) is what actually
+differs. Nobody here can say which change in `AR68` brings the recovery activity back, so check the
+fingerprint on your own set and test one reboot before promising the handover to anyone.
+
+What does carry over from the US report to this one: with only `launcherx` disabled, HOME went to
+`com.google.android.tungsten.setupwraith/.RecoveryActivity` (priority 1) instead of the launcher.
+Disabling the package, not just the component, is what moved Home; the shell still cannot change the
+component's state on its own.
+
+## Check the Wi-Fi creator before disabling setupwraith
+
+On the Wi-Fi units of this family the network saved during first setup belongs to setupwraith, and
+disabling it deletes the network (`tcl-g03-google-tv` and `tcl-55p8ls` both had to forget and
+re-join first). This set is on Ethernet, and both checks came back empty:
+
+```sh
+dumpsys wifi | grep -o 'cname=[^ ]*' # no output
+cmd wifi list-networks # "No networks"
+```
+
+so disabling setupwraith cost nothing here. That is an answer for an Ethernet set only - the owner
+did not test Wi-Fi at all, and Ethernet surviving does not prove the Wi-Fi credentials were never
+setupwraith's.
+
+## Home handover as it was done
+
+HOME candidates before the handover, from `cmd package query-activities`:
+
+- `com.google.android.apps.tv.launcherx/.home.HomeActivity`, priority 2
+- `com.google.android.tungsten.setupwraith/.RecoveryActivity`, priority 1
+- `com.android.tv.settings/.system.FallbackHome`, the last resort
+
+After `pm disable-user --user 0 com.google.android.tungsten.setupwraith`,
+`cmd package set-home-activity` to the owner's own launcher, and a reboot,
+`dumpsys activity activities | grep mFocusedApp` still named that launcher and
+`pm list packages -d` still listed every package he had disabled. Nothing was re-enabled at boot.
+
+This was **not** the reference launcher: `launcher/build-and-install.sh` was never run, so its
+preflight, its rollback and the b64push path are all still unverified on this firmware, exactly as
+the US list's header says. Only the firmware behaviour carries over.
+
+## Remote keys: what a launcherx-free set loses
+
+Key events as they reached an accessibility key filter on this unit:
+
+| Button | Keycode | Scancode |
+|---|---|---|
+| Netflix | 4062 | 566 |
+| Prime Video | 4099 | 752 |
+| Input | 178 (`KEYCODE_TV_INPUT`) | 471 |
+| gear / settings | 4077 | 561 |
+
+These match the `tcl-55c725` notes. With `launcherx` gone, all four did nothing until they were
+remapped: TCL's window manager turns the Netflix and Prime Video keys into broadcasts that only the
+stock launcher receives (the `tcl-65c735` header describes the same mechanism), so an accessibility
+service has to catch the keycode and start the app itself. The Input key is the one worth keeping
+mapped, because `com.android.tv.action.VIEW_INPUTS` opens `com.tcl.suspension`'s source overlay - it
+is why this owner kept `com.tcl.suspension` enabled, the opposite of the US list, which disables it
+and uses the launcher's own Inputs menu instead.
+
+## Inputs and HDMI
+
+Sources reported by the TV input framework:
+
+- tuner: `com.tcl.tvinput/.TDTVInputService/HW1413742848`
+- HDMI 1-4: `com.tcl.tvinput/.passthroughinput.TvPassThroughService/HW1413744128`, `.../HW1413744384`,
+ `.../HW1413744640`, `.../HW1413745664`
+- AV: `com.tcl.tvinput/.passthroughinput.TvPassThroughService/HW1413743104`
+
+`ACTION_VIEW` on the HDMI passthrough URI resolves to `com.tcl.tv/.TVActivity` and switched to HDMI 1
+on screen, with `com.tcl.tv` and `com.tcl.tvinput` both enabled. Screenshots of an HDMI input still
+came back 0 bytes, which is the known capture limit rather than a fault of this set.
+
+## The packages he disabled, same day
+
+`pm disable-user --user 0`, in this order, with `partnercustomizer` only after `launcherx` had been
+replaced:
+
+| Group | Packages |
+|---|---|
+| telemetry | `com.tcl.ttvs`, `com.tcl.usercenter`, `com.google.android.feedback` |
+| content and ads | `com.tcl.waterfall.overseas`, `com.tcl.browser`, `com.tcl.channelplus`, `com.tcl.messagebox`, `com.tcl.tv.tclhome_passive`, `com.tcl.esticker`, `com.tcl.partnercustomizer`, `android.autoinstalls.config.google.gtvpai` |
+| background and preloads | `com.tcl.guard`, `com.android.printspooler`, `com.google.android.play.games`, `com.tcl.ocean.instructions` |
+| owner's choice | `com.amazon.amazonvideo.livingroom`, `com.google.android.youtube.tv`, `com.google.android.youtube.tvmusic`, `com.google.android.videos`, `com.tcl.UpdatePeripheral`, `com.tcl.gallery` |
+| launcher takeover | `com.google.android.apps.tv.launcherx`, `com.google.android.tungsten.setupwraith` |
+
+That is 23 packages, and it is not the US list with a different header: this owner kept
+`com.tcl.dashboard` (the TCL Home panel), `com.tcl.suspension` (Input key and source overlay) and
+`com.tcl.ui_mediaCenter`, all three of which the US list disables. He disabled
+`com.tcl.UpdatePeripheral`, which handles remote-control firmware updates - a deliberate choice on a
+set whose remote still worked, not a recommendation.
+
+Kept on purpose: `com.tcl.tv` (Live TV and HDMI playback), `com.tcl.tvinput` (tuner and input
+services), `com.tcl.settings`, `com.tcl.system.server`, `com.tcl.keyhelp`, `com.tcl.autopair`,
+`com.tcl.tcl_bt_rcu_service`, `com.tcl.providers.config`, `com.tcl.initsetup`, plus voice, Chromecast,
+Miracast, T-Cast and `dreamx`.
+
+Already disabled by the factory on this unit: `com.mediatek.AirplayAPK`, `com.tcl.airplay2`,
+`com.tcl.smartalexa`, `com.tcl.gamebar`, `com.tcl.logkit`, `com.tcl.notereminder`.
+
+## What was not tested
+
+- `launcher/build-and-install.sh`, its rollback and the b64push transfer: the launcher installed here
+ was the owner's own, so nothing about the reference APK is confirmed on `AR28`.
+- Undo. No `pm default-state` / `pm enable` run was recorded, so the original enablement states of
+ these 23 packages are unknown; record them before you copy this, because most were `default` on the
+ comparable sets, not `enabled`.
+- Days of use. Everything here is same-day, and the report does not cover standby/wake, casting,
+ Bluetooth pairing, firmware updates, or what the TV does after a second reboot.
+- Wi-Fi, since the set was on Ethernet throughout.
+
+## Before you apply anything here
+
+Verify the fingerprint (`tools/tv.py --probe`), re-run the two Home queries rather than trusting the
+setter's `Success`, and record the original package states. Network ADB is temporary maintenance
+access: turn debugging back off when you are done and check that port 5555 is closed.
diff --git a/examples/README.md b/examples/README.md
index 82d19b3bd..b889da853 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -139,7 +139,7 @@ on that firmware, grouped and commented. These are starting points: comment out
| `tcl-qm6k-google-tv/` | TCL QM6K Pro, 2025 (G08, MediaTek tcl9618) | Google TV 14 | Samba TV ACR (ttvs), TCL TV+, TCL Live, store/hotel demo; setupwraith must go for a custom launcher (also AU14, #23); a QM7 (2024) owner ran this list with seven extra packages — [deltas and a hung Cast receiver](../docs/devices/tcl-75qm751g-qm7.md) |
| `tcl-g07-google-tv/` | TCL Smart TV (G07, G07_4K_GB_NF, Realtek RTD2851A, 2 GB) | Google TV 11 | TCL BI analytics (ttvs, also the firmware updater), TGuard, waterfall, TCL Live, TCL Home dashboard, messages, hotel/demo, partner auto-installs; voice, Miracast, MagiConnect, T-Solo, firmware updates and unused preloads off by choice, Chromecast kept; launcherx, setupwraith and dreamx off (Wi-Fi belonged to android.uid.system), reboot-checked; Input key works without InputKeyService, gear is scancode 561 (`settings_key_scancodes`), Netflix and YouTube buttons need an accessibility helper |
| `tcl-g03-google-tv/` | TCL Smart TV Pro (G03, G03_4K_GB, BeyondTV4, Realtek R51MT05, V8-R51MT05-LF1V620), Middle East firmware | Google TV 11 | Same platform as tcl-43c645: TCL BI analytics and logkit, promo rows (TCL Channel, BrowseHere), dashboard, messages, partner auto-installs; streaming apps, voice, Chromecast, Miracast/T-Cast, USB player, game bar, TCL Live off by choice, firmware updates kept; launcherx, setupwraith and dreamx off (setupwraith owned the Wi-Fi: forget and re-join first), reboot-checked; Input key works without InputKeyService, gear is keycode 4077 (`settings_key_keycodes`), config.json sets Live TV to com.tcl.tv |
-| `tcl-g05-google-tv/` | TCL Smart TV Pro (G05, G05_4K_US, MediaTek MT5889) | Google TV 11 | TCL Channel, waterfall, ttvs BI, TGuard; Quick Panel off by choice; setupwraith returned after a reboot, launcher half unverified |
+| `tcl-g05-google-tv/` | TCL Smart TV Pro (G05, G05_4K_US, MediaTek MT5889) | Google TV 11 | TCL Channel, waterfall, ttvs BI, TGuard; Quick Panel off by choice; setupwraith returned after a reboot on this AR68 build, launcher half unverified (the G05_4K_GB units kept it off, see the [55C728 note](../docs/devices/tcl-55c728-g05-4k-gb.md)) |
| `tcl-g09-google-tv/` | TCL Smart TV Pro (G09, G09_4K_GB, Amlogic T5M, 2 GB), UK firmware, Brazil | Google TV 12 | TCL BI analytics, log upload, TIAS, TGuard, waterfall, TCL Live FAST channels, home-screen pushes, messages, store demo, hotel mode, partner auto-installs; Chromecast and USB media player off by choice; firmware updates come through Play Services, so ttvs can go; launcherx, setupwraith and dreamx off, reboot-checked; Input key works without InputKeyService; config.json has the dock |
| `tcl-uniontv-latin-america/` | TCL UnionTV, Latin America (TCL-built like Thomson 32HE5800, Realtek RT2841) | Android TV 9 | TCL BI analytics, promo rows/partner customizer, app store, cleaner, user center; Ambient Mode, TTS, TalkBack and voice off; Chromecast and firmware updater kept; standby (STR) takes Ethernet down, no network wake |
| `telesystem-ont2hd/` | Tele System TS ON T2/HD (ONT2HD, SDMC, Amlogic), Italy | Android TV 11 | SDMC factory test/hardware info, partner configuration, Google recommendation rows and Play apps; Live TV `com.sdmc.tv` kept, updater and remote services kept; port 5555 open |
@@ -191,6 +191,7 @@ Notes for models that have no tested list yet live in [`docs/devices/`](../docs/
- [FPD CG50-C3](../docs/devices/fpd-cg50-c3.md), KTC-built `EcoTV Pro A` / `FPD_4KHA0`, MediaTek, Google TV 11 `RTM9.241015.016`, Canada: a one-day list, kept as a note for that reason; setupwraith owned a saved network that was not the one in use, so `FORCE_SETUPWRAITH=1` was safe; the RC-36 remote's gear and notifications buttons arrive as scancodes 240/362 with `KEY_UNKNOWN`/`KEY_PROGRAM`, so they need `settings_key_scancodes` rather than a keycode.
- [Durabrand DB Android TV 4K `DURAT32ISDB`](../docs/devices/durabrand-durat32isdb.md) (`dupont`, m7332 Haier/CVTE board, Android TV 11 `RTM6.230109.232`): one-day owner report, ten packages, the two the firmware turns back on at every boot, the Input panel belonging to the MediaTek TV app instead of `tvlauncher`, and the hidden production menu that leaves Play services and Chromecast disabled until it is exited by hand.
- [TCL `75c63b`](../docs/devices/tcl-75c63b.md), owner-reported retail model, `Smart TV Pro` / `BeyondTV4`, Android 11, `V8-R51MT05-LF1V652`: launcher-only installation, HOME priorities and component restrictions, correct Live TV player package, restoration and explicit test limits.
+- [TCL `55C728`](../docs/devices/tcl-55c728-g05-4k-gb.md), `Smart TV Pro` / `G05` / `G05_4K_GB`, Google TV 11 `TCL/G05_4K_GB/G05:11/AR2101/AR28`: a same-day 23-package set kept as a note, the G05 reboot answer by build (`AR68` puts setupwraith back, the `G05_4K_GB` units do not), the remote keycodes and vendor input URIs, and why this owner kept `com.tcl.suspension` where the US list disables it.
- [Xiaomi MiTV-MFTR0 "freeguy"](../docs/devices/xiaomi-mitv-mftr0-freeguy.txt), China, Android 14: inputs, Xiaomi settings intents, app discovery.
- [Philips 65PUG7406/78](../docs/devices/philips-65pug7406-78.md), Brazil, Android TV 11, `TPM215L_R.105.000.097.000`: HOME handover notes and owner-selected Live TV/Assistant disables; no several-day debloat list.
- [TCL `75QM751G`](../docs/devices/tcl-75qm751g-qm7.md) (QM7, 2024, `G08`, Android 14 `UTT2.250416.001 AU14`): the QM6K list applies with seven extra packages, setupwraith owns the saved Wi-Fi even on an Ethernet set, and the Cast receiver can be up while it has stopped advertising.
diff --git a/examples/tcl-g05-google-tv/debloat.txt b/examples/tcl-g05-google-tv/debloat.txt
index 84cd53797..76743152a 100644
--- a/examples/tcl-g05-google-tv/debloat.txt
+++ b/examples/tcl-g05-google-tv/debloat.txt
@@ -11,15 +11,20 @@
# com.tcl.keyhelp, com.tcl.autopair, com.tcl.tcl_bt_rcu_service (remote) and com.tcl.providers.config.
# Unlike the G10, com.tcl.ttvs ships enabled here; it carries TCL's BI analytics service.
#
-# Known quirk, read before replacing the launcher (the one report so far where disabling setupwraith
-# did NOT stick):
+# Known quirk, read before replacing the launcher (this US build is the exception: disabling
+# setupwraith does not stick here, while the two G05_4K_GB reports say that it does):
# - With launcherx disabled, com.google.android.tungsten.setupwraith/.RecoveryActivity claims HOME at
# priority 1 and Home lands on a black, looping recovery screen. Shell cannot disable that component.
# Disabling the whole setupwraith package worked until a reboot, after which this TV had it back in
# charge, unlike the MOOR2, QM6K and Chromecast reports where the disable survives.
+# All three reports share the AR2101 build ID; this unit is the one on incremental AR68. The
+# G05_4K_GB units (tcl-65c735, and docs/devices/tcl-55c728-g05-4k-gb.md on AR28) kept it off
+# across a reboot, so compare ro.build.version.incremental before promising either outcome.
# Recover with: pm enable com.google.android.apps.tv.launcherx; pm enable com.google.android.tungsten.setupwraith
-# - The launcher half is therefore unverified on the G05: launcher/build-and-install.sh will refuse and
-# roll back while Home resolves to setupwraith (README, Troubleshooting). This list is the debloat half.
+# - The launcher half is therefore unverified on this build: launcher/build-and-install.sh will refuse
+# and roll back while Home resolves to setupwraith (README, Troubleshooting). This list is the
+# debloat half. The 55C728 report installed its own launcher and saw it stay Home across a reboot,
+# but never ran build-and-install.sh, so the installer is still unverified on G05 firmware.
# Contributed by damonearl (PR #73).
# TCL content, ads and promos
diff --git a/tests/test_tcl_55c728_g05_note.py b/tests/test_tcl_55c728_g05_note.py
new file mode 100644
index 000000000..01175eebc
--- /dev/null
+++ b/tests/test_tcl_55c728_g05_note.py
@@ -0,0 +1,149 @@
+"""Pins the 55C728 G05_4K_GB note and the G05 header correction it exists for.
+
+The note is one owner's same-day report (#734), not a list: it has to keep saying so, keep the three
+G05 setups apart by build, and keep the packages, keycodes and input URIs that owner actually
+reported. The US list header used to call itself "the one report so far" where disabling setupwraith
+did not stick, which two G05_4K_GB reports contradict, so that sentence is pinned out.
+Whitespace is flattened before matching because every file here wraps its prose.
+"""
+import re
+from pathlib import Path
+import unittest
+
+
+ROOT = Path(__file__).resolve().parents[1]
+PAGE = ROOT / "docs" / "devices" / "tcl-55c728-g05-4k-gb.md"
+US_LIST = ROOT / "examples" / "tcl-g05-google-tv" / "debloat.txt"
+C735 = ROOT / "examples" / "tcl-65c735" / "debloat.txt"
+EXAMPLES = ROOT / "examples" / "README.md"
+NOTE_LINK = "../docs/devices/tcl-55c728-g05-4k-gb.md"
+
+DISABLED = (
+ "com.tcl.ttvs",
+ "com.tcl.usercenter",
+ "com.google.android.feedback",
+ "com.tcl.waterfall.overseas",
+ "com.tcl.browser",
+ "com.tcl.channelplus",
+ "com.tcl.messagebox",
+ "com.tcl.tv.tclhome_passive",
+ "com.tcl.esticker",
+ "com.tcl.partnercustomizer",
+ "android.autoinstalls.config.google.gtvpai",
+ "com.tcl.guard",
+ "com.android.printspooler",
+ "com.google.android.play.games",
+ "com.tcl.ocean.instructions",
+ "com.amazon.amazonvideo.livingroom",
+ "com.google.android.youtube.tv",
+ "com.google.android.youtube.tvmusic",
+ "com.google.android.videos",
+ "com.tcl.UpdatePeripheral",
+ "com.tcl.gallery",
+ "com.google.android.apps.tv.launcherx",
+ "com.google.android.tungsten.setupwraith",
+)
+
+FACTORY_OFF = (
+ "com.mediatek.AirplayAPK",
+ "com.tcl.airplay2",
+ "com.tcl.smartalexa",
+ "com.tcl.gamebar",
+ "com.tcl.logkit",
+ "com.tcl.notereminder",
+)
+
+
+def flat(text):
+ return re.sub(r"\s+", " ", text)
+
+
+def links(text, base=None):
+ targets = re.findall(r"\]\(([^)\s]+)\)", text)
+ if base is None:
+ return targets
+ return [str((base / target).resolve()) for target in targets if not target.startswith("http")]
+
+
+class Tcl55c728G05NoteTest(unittest.TestCase):
+ def setUp(self):
+ self.page = PAGE.read_text(encoding="utf-8")
+ self.flat = flat(self.page)
+ self.us = US_LIST.read_text(encoding="utf-8")
+ self.us_flat = flat(self.us)
+ self.examples = EXAMPLES.read_text(encoding="utf-8")
+
+ def test_identifies_the_firmware_not_the_retail_name(self):
+ self.assertIn("55C728", self.flat)
+ self.assertIn("`G05_4K_GB`", self.flat)
+ self.assertIn("TCL/G05_4K_GB/G05:11/AR2101/AR28", self.flat)
+ self.assertIn("`com.tcl.tvinput`", self.flat)
+ self.assertIn("AR68", self.flat, "the US incremental is what separates the two answers")
+
+ def test_stays_honest_about_how_little_was_tested(self):
+ self.assertIn("this is a note, not a list", self.flat)
+ self.assertIn("same-day", self.flat)
+ self.assertIn("has not lived with", self.flat)
+ self.assertIn("did not exercise an undo", self.flat)
+ self.assertIn("launcher/build-and-install.sh", self.flat)
+ self.assertIn("`launcher/build-and-install.sh`, its rollback and the b64push transfer", self.flat)
+
+ def test_keeps_the_three_g05_setups_apart(self):
+ for needle in ("stayed off", "came back", "`AR2101`", "`AR68`"):
+ self.assertIn(needle, self.flat)
+ self.assertIn("the exception among the three G05 reports, not the rule", self.flat)
+ self.assertIn("RecoveryActivity", self.flat)
+
+ def test_records_the_packages_the_owner_disabled(self):
+ self.assertIn("That is 23 packages", self.flat)
+ for package in DISABLED:
+ with self.subTest(package=package):
+ self.assertIn(f"`{package}`", self.page)
+ for package in FACTORY_OFF:
+ with self.subTest(factory_off=package):
+ self.assertIn(f"`{package}`", self.page)
+
+ def test_names_what_this_owner_kept_instead(self):
+ for package in ("com.tcl.dashboard", "com.tcl.suspension", "com.tcl.ui_mediaCenter",
+ "com.tcl.UpdatePeripheral"):
+ self.assertIn(f"`{package}`", self.page)
+ self.assertIn("all three of which the US list disables", self.flat)
+
+ def test_records_the_remote_keycodes_and_scancodes(self):
+ for code in ("4062", "4099", "178", "4077", "566", "752", "471", "561"):
+ self.assertIn(code, self.flat)
+ self.assertIn("com.android.tv.action.VIEW_INPUTS", self.flat)
+
+ def test_records_the_vendor_input_uris(self):
+ for uri in ("HW1413742848", "HW1413744128", "HW1413744384", "HW1413744640",
+ "HW1413745664", "HW1413743104"):
+ self.assertIn(uri, self.page)
+ self.assertIn("com.tcl.tv/.TVActivity", self.flat)
+
+ def test_sends_the_reader_to_the_list_of_the_same_board(self):
+ us = US_LIST.resolve()
+ self.assertIn(str(us), links(self.page, PAGE.parent))
+ self.assertIn(str(C735.resolve()), links(self.page, PAGE.parent))
+ self.assertTrue(us.is_file() and C735.is_file())
+
+ def test_every_relative_link_resolves(self):
+ for target in links(self.page, PAGE.parent):
+ with self.subTest(target=target):
+ self.assertTrue(Path(target).exists(), "dead link from the note")
+
+ def test_us_header_no_longer_claims_to_be_the_only_one(self):
+ self.assertNotIn("the one report so far", self.us_flat)
+ self.assertIn("this US build is the exception", self.us_flat)
+ self.assertIn("tcl-55c728-g05-4k-gb.md", self.us_flat)
+ self.assertIn("AR28", self.us_flat)
+ self.assertIn("ro.build.version.incremental", self.us_flat)
+
+ def test_examples_readme_indexes_the_note_and_the_row(self):
+ self.assertIn(f"[55C728 note]({NOTE_LINK})", self.examples)
+ bullet = "[TCL `55C728`](../docs/devices/tcl-55c728-g05-4k-gb.md)"
+ self.assertIn(bullet, self.examples)
+ self.assertIn("the G05_4K_GB units kept it off", flat(self.examples))
+
+
+if __name__ == "__main__":
+ unittest.main()