[Fire TV Android Development] Skel40:
Fire OS 6.7.0.0 Cleaner OS (Android 7.1.2) Pre-Rooted Magisk 20.0 with TZ for the streaming fix and efuse script

Release: 11/30/2023

As referenced with the stock 6.7.0.0, Magisk is necessary for proper patching and is fully optional with removing the app and root via app launch, scrolling to uninstall.

Note: Before flashing 6.2.7.7-lower, always flash the stock bin of the rom before flashing the pre-rooted version. I had 6.7.0.0 installed pre-rooted, wiped all partitions in TWRP, flashed the pre-rooted 6.2.7.7/3033 and it bricked. The only way out of the brick was flashing the stock 6.2.7.7/3033 and flashing the pre-rooted rom immediately after. NEVER flash 6.2.8.0-latest stock rom. This blows the efuse and patches the unlocking shorting method.
Changes:

DeviceSoftwareOTA

com.amazon.tv.forcedotaupdater.v2

PackageInstaller

AdepFOS

build.prop tweaks: https://xdaforums.com/t/fire-tv-sti...s-works-with-latest-fireos-need-root.4064269/

# USB Charge only function

ro.sys.usb.charging.only=no (instead of yes)

ro.build.version.number=0000000000000
Description: Cleaner OS (Android logo instead of Fire TV), meaning faster loading times with the build.prop tweaks and easy adb connectivity. If adb debugging isn't popping up, adb kill-server, adb connect via ip or adb usb (however preference) and allow. Apps from unknown sources is disabled, Developer options is enabled. A bunch of apps from the priv-app are removed for max performance and this includes, Amazon's preloaded applications relating to Photos, Music, FreeTime, and more. Screencasting won't work, wireless remote connectivity, sync services, ssdpservices, FireTV media player for wireless casting is also removed, letting the user to maintain an os with just the apps you want to have on it without having any memory being taken up by the system apps.
Development:

fosservices,jar/odex/services.jar/odex patching, com.amazon.tv.oobe (for blacklisted users)

Estimated Time: N/A

Listed removed apps and the clean rom is available below. Feel free to add the lightning services/tutorial, ssdpservice, etc to its proper Android file system folders or to make it easier (only for the same os version) 6.7.0.0, flash this over the Cleaner OS to restore the apps removed from the rom here: https://xdaforums.com/t/fire-tv-stick-4k-1st-gen-mantis-6-7-0-0-rom.4298357/

Fire OS 6.2.7.7 Cleaner OS (Android 7.1.2) No Magisk Rom with TZ (Rev needed for services/fosservices)
Changes:

DeviceSoftwareOTA

com.amazon.tv.forcedotaupdater.v2

boot.img (Magisk patched for CLH)

Removed:

com.amazon.ags.app

com.amazon.alexashopping

com.amazon.bueller.music

com.amazon.bueller.photos

com.amazon.firebat

com.amazon.hedwig

com.amazon.tahoe

com.amazon.tv.alexaalerts

com.amazon.tv.alexanotifications

Working:

Launcher Manager System Shortcuts

CLH launcher selection for custom launchers

Not Working:

CLH features, need patched services.jar
Description: Light debloat, sync functionality, with casting, and screen mirroring will work, OTA is patched, CLH is added to gain custom launcher privileges, no build.prop tweaks and no Magisk. Use the updater-script to add or remove system files to your liking. This build is light and ready. CLH will not work on this OS.