[Fire TV Original Android Development] tsynik:
As we have unlocked bootloader on FiteTV 4K stick now, I made Magisk module, which disables OTA updates, and also includes some Google stuff:

Google Search for TV (v2.2) with working Voice Input,

LeanbackOnFire (rockon999) Launcher - support Google Search and Android TV Recommendations,

Screen Rotation - allow set proper orientation for mobile Apps,

LeanKey Keyboard Pro (it have multilingual support).

Google Play Store and Services for TV

Module also adds Russian language instead Portuguese (and Ukrainian instead Japanese) to FireTV Settings menu and have Russian Settings translation over android resources overlays (must be compatible with future OTA updates).

AFTV Add-Ons (Magisk Module) v20230914 (Fire OS 6.2.6.8 - 6.2.8.0 compatible)

Previous:

=======

GDrive (All files)

Tested on Fire TV 4K with FireOS 6.2.6.5 / 6.2.6.6 / 6.2.6.8 / 6.2.7.1 / 6.2.7.3 / 6.2.7.6 and Magisk 20.4-26.1 Still under development.

How to install:

===========

- Unlock FireTV bootloader.

- Install Magisk (stable) via TWRP!

* don't ever do install / update Magisk over Magisk Manager on Fire TV 4K!

- Boot to Fire OS and pass Amazon Registration screen

- Check and install all current OS / Apps update in My Fire TV Settings section

- Reboot to TWRP Recovery and install / update module (AFTV-MM-2.0.zip)

* "adb shell reboot recovery" over adb or connect OTG cable with mouse and select Cancel on Power ON

How to update:

===========

Just add new module version in Modules section of Magisk Manager (+) and press Reboot button after.

You need to wait till autorestart on first boot after module update (implemented from v1.8 +).

To freeze stock Amazon launcher:

==========================

adb connect FireTV IP (allow connection on TV)

adb shell

su

settings put global frozenMode enabled

reboot

* KFTV Launcher will be auto-frozen if you'll enable AFTV-XM Xposed Module in Xposed Installer (Modules tab) and have any user launcher installed.

To choose LeanbackOnFire as default Home:

============================

- Install Xposed Framework from Magisk Manager

- Open Xposed Installer - Modules tab and activate AFTV-XM Module

- Reboot

To enable Android TV Recommendations:

================================

- Go to LeanbackOnFire Launcher Settings / Edit Apps Rows / Edit Rows and enable Recommendations Row there

* in case there is toast about needed permissions, do over adb:

adb connect FireTV IP (allow connection on TV)

adb shell

su (grant root access on TV)

pm grant com.amazon.tv.leanbacklauncher android.permission.WRITE_SECURE_SETTINGS

pm disable com.amazon.device.sale.service

reboot

Optional packages to disable:

=============================

pm disable com.amazon.ags.app

pm disable com.amazon.alexashopping

pm disable com.amazon.bueller.music

pm disable com.amazon.bueller.photos # (used for screensaver)

pm disable com.amazon.device.metrics

pm disable com.amazon.device.sale.service # (must be disabled in case LeanbackOnFire recommendations are ON)

pm disable com.amazon.device.software.ota

pm disable com.amazon.device.software.ota.override

pm disable com.amazon.firebat

pm disable com.amazon.hedwig

pm disable com.amazon.tahoe

pm disable com.amazon.tv.alexanotifications

pm disable com.amazon.tv.fw.metrics

pm disable com.amazon.wirelessmetrics.service

pm disable com.android.documentsui

...

GSearch

=======

You can use Voice Input in ATV apps (press on-screen mic and long-press mic on remote and speak)

You can assign ASSIST (keycode 219) in Xposed Edge Pro or other remapper apps to Voice remote button

===

P.S. In case something went wrong You can always do factory reset, remove Module or uninstall / reinstall Magisk and your system will back to full stock - no files in /system partition changed by module.

Have Fun!