Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.
Python adbadblockandroid-tvandroid-tv-launcherapple-tvbloatware-removalclaude-codedebloatfire-tvgoogle-tvlauncherprivacysmart-tvsony-braviatclvibe-codingxiaomi
Merge PR #339: Prefer a digital tuner and keep Live TV's own activity
Gathin23e77271bece9b
diff --cc launcher/app/src/main/java/com/gathin/tvhome/MainActivity.javaindex 1e5ef141b,a1d8051b6..966a1b597--- a/launcher/app/src/main/java/com/gathin/tvhome/MainActivity.java+++ b/launcher/app/src/main/java/com/gathin/tvhome/MainActivity.java@@@ -1746,14 -885,23 +1747,24 @@@ public class MainActivity extends Activ&& (info.getServiceInfo().applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) {// Prefer a hardware tuner: the framework names those ".../HW<n>". System apps such as// AirPlay also register software inputs of type TUNER and may sort first (seen on TCL G05).+ // Among tuners of the same kind, skip an analog input when another is present.+ // MediaTek names them AnalogInputService and TunerInputService; alphabetical order+ // would pick the analog one, and Live TV then opens a dead ATV source.boolean hw = info.getId().matches(".*/HW\\d+$");- if (tunerId == null || (hw && !tunerIsHw) || (hw == tunerIsHw && info.getId().compareTo(tunerId) < 0)) {+ boolean analog = info.getId().toLowerCase(Locale.ROOT).contains("analog");+ boolean better = tunerId == null+ || (hw && !tunerIsHw)+ || (hw == tunerIsHw && tunerIsAnalog && !analog)+ || (hw == tunerIsHw && analog == tunerIsAnalog+ && info.getId().compareTo(tunerId) < 0);+ if (better) {tunerId = info.getId();tunerIsHw = hw;+ tunerIsAnalog = analog;}}- if (!info.isPassthroughInput()) continue;+ // Inputs hidden in the TV's Settings > Inputs stay out of the menu too.+ if (!info.isPassthroughInput() || info.isHidden(this)) continue;CharSequence l = info.loadLabel(this);String label = l == null ? info.getId() : l.toString();boolean hdmi = info.getType() == TvInputInfo.TYPE_HDMI;