[Fire TV Android Development] SweenWolf:
CUSTOM LAUNCHER HANDLER

(FIRESTICK 4K) - 6.7.0.2

​

This is a method to enable certain features disabled/blocked by Amazon, and this method does require TWRP to be installed on the device.

This does not require any root access so you don't need to have Magisk Installed on your device.

This does require you to have a patched system boot image (boot.img) installed on the device, there are two ways of doing that.

Install Magisk, magisk will patch the boot.img

Flash the patched boot.img (attached below) to boot partition of your device using TWRP (DO NOT USE HACKED BL/FASTBOOT). Magisk can be flashed after it if you want root access. (INCLUDED IN 6.7.0.1 - 6.7.0.2 PATCH FILE)

As always backup your device before modifying it, in case anything goes wrong just flash the rom again without wiping anything, it will revert all the changes made to your device.

Features:

Unblocks 3rd Party Accessibility Service Access

Enables AppWidget support

Disables OOBE forced updates

Disable System OTA Updates

Gives option to remove Package Protection from individual Amazon Apps

Allows you to set any app as Custom Launcher

Root / Magisk is not required

Displays and gives option to stop Recent Apps and Background Apps

No Boot delay on using a custom launcher

Full voice search support with any third party launcher

Supports rebooting to recovery (Without root / adb)

Patch Local ADB

Requirements:

Unlocked Bootloader

TWRP Access

Patched Boot Image (Either Flash the attached boot.img or just install Magisk)

Compatible FireOS Version (Flash FireOS if needed)

Instructions:

Flash Patched boot.img

Open TWRP, Click Install > Select the Patch File > Swipe to Flash.

Clean Cache/Dalvik Cache and Reboot (First boot will take some time)

Mantis Stock Firmware and Apps:

Amazon Fire TV Stick 4K Firmware and apps. Official Cloud Front direct links only

Amazon Fire TV Stick 4K Firmware and apps. Official Cloud Front direct links only - firetv_firmware.md

gist.github.com

​

Upgrading FireOS using TWRP:

download latest bin file. (e.g. mantis.bin)

download some archive tool (e.g. 7-zip)

rename the bin extension to zip (e.g. mantis.zip)

open "mantis.zip" using "7-zip" and delete all folders from zip file

now open "Scripts.zip" and extract it (download from attachment)

put the extracted folder "META-INF" into "mantis.zip"

put patched boot.img into "mantis.zip"

flash the "mantis.zip" using TWRP

Tutorial: https://youtu.be/GOOLxsSUQJo

Demo:

INFO:

Double Tap [Home] button twice to open CLH shortcut menu (hud) (only works when CLH is enabled)

Long press [Back] button to open CLH settings (only works when CLH is enabled)

You can tweak CLH settings by long pressing [Menu] button in the main activity.

To disable protected apps using adb shell or by Debloat Toolbox, first you will need to uncheck those apps from "Protected Packages" from CLH shortcut menu.

OTA are disabled but if you still encounter issues just clear run this in adb shell "pm uninstall com.amazon.device.software.ota" to clear any updates to the app itself and then clear settings app using "pm clear com.amazon.tv.settings.v2" to clear its database.

If you don't have root and are not able to use ADB (and has removed TWRP bootmenu), you can use CLH's "Reboot to Recovery" option to reboot to TWRP. It doesn't use ADB or Root.

UPDATE (6702):

Updated CLH and D-OTA

It will bypass OOBE on OS <=6.7.0.2.

It will block OS and App Updates on OS < 6.7.0.2.

It will block OS Updates on 6.7.0.2 but will allow app updates on OS = 6.7.0.2 (But first you'll have to enable that in CLH HUD menu > FTV OTA App > APP UPDATES: ALLOWED). If you encounter issues Press "CLEAR APP DATA" inside the app, Else you'll have to use ADB to clear OTA app data after removing it from list of Protected apps. The "CLEAR APP DATA" will work regardless.

Option to change UI Mode of the system (maybe used for apps like SkyGo)

Adds a custom "Stock Settings" page (will turn on when KFTV launcher is missing or there are some problems, or can be turned on from settings)

Contains modified ADB Deamon to bypass Local ADB block by Amazon

SCREENSHOTS:

View attachment 5644905View attachment 5644907View attachment 5644909View attachment 5644911View attachment 5644913View attachment 5644915