FORUMS

[Magisk][Module] FireTV 4K Stick Add-Ons

190 posts
Thanks Meter: 158
 
By tsynik, Senior Member on 7th October 2019, 06:05 AM
Post Reply Email Thread
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 (2.2 or 3.13) with working Voice Input,
  • LeanbackOnFire (rockon999) Launcher - support Google Search and Android TV Recommendations,
  • Screen Rotation - allow set proper orientation for mobile Apps,
  • Buttons Remapper - allow choose Keyboard, reassign Home, switch between Apps and many more,
  • FireTVjack - allow reassign Home, set Language, and freeze stock KFTV Launcher,
  • LeanKey Keyboard Pro (it have multilingual support).
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) v2.2 (Fire OS 6.2.7.1 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 and Magisk 20.0/1/2/3/4. 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!
Attached Thumbnails
Click image for larger version

Name:	GSearch.jpg
Views:	9410
Size:	146.8 KB
ID:	4845607   Click image for larger version

Name:	LeanbackOnFire.jpg
Views:	8536
Size:	164.1 KB
ID:	4869073   Click image for larger version

Name:	LeanbackOnFire-Settings.jpg
Views:	8488
Size:	67.5 KB
ID:	4869075  
The Following 23 Users Say Thank You to tsynik For This Useful Post: [ View ] Gift tsynik Ad-Free
7th October 2019, 09:27 AM |#2  
Senior Member
Flag Sunderland
Thanks Meter: 160
 
More
Quote:
Originally Posted by tsynik

As we have unlocked bootloader on FiteTV 4K stick now, I made Magick module, which disables OTA updates and Metrics, and also includes some Google stuff: Google Search for TV (3.7), LeanbackOnFire (rockon999) Launcher, Launcher Hijack, Screen Rotation, Buttons Remapper and LeanKeyKeyboardPro (it have multilingual support).
AFTV Add-Ons (Magisk Module)
Tested on FireOS 6.2.6.5 and Magisk 19.3. Still under development.
Have fun!

Thanks very much, I'm wondering if you could help me, I've rooted my 4k stick but the stick won't go past setup screen as I think it's been blocked by Amazon, is there any chance you could upload a TWRP backup for me to restore in TWRP so I can get into my home screen ? Or you wouldn't know any commands I can use in TWRP terminal ?
I'd love to get this up and running along with this lot what you have done.
Thanks.
7th October 2019, 03:55 PM |#3  
Member
Thanks Meter: 3
 
More
Awesome project! Thanks for the hard work, will defo be installing this once i get time to root
7th October 2019, 09:00 PM |#4  
Member
Thanks Meter: 7
 
More
Be careful with this .... I had UI restart issues .... had to uninstall
12th October 2019, 06:55 AM |#5  
Member
Thanks Meter: 17
 
More
Doesn't work properly for me. Seems to install fine, but nothing happens.
15th October 2019, 11:05 PM |#6  
tsynik's Avatar
OP Senior Member
Thanks Meter: 158
 
More
Quote:
Originally Posted by Tepifan

Doesn't work properly for me. Seems to install fine, but nothing happens.

I've updated module and instructions how to setup. Read 1st post.
The Following 3 Users Say Thank You to tsynik For This Useful Post: [ View ] Gift tsynik Ad-Free
16th October 2019, 12:38 AM |#7  
Senior Member
Thanks Meter: 37
 
More
Thanks. Will try this tomorrow.
16th October 2019, 02:53 AM |#8  
Member
Thanks Meter: 17
 
More
Thanks, installed and working without any discernable issues as of yet. I'll update if I see anything.
The Following User Says Thank You to Tepifan For This Useful Post: [ View ] Gift Tepifan Ad-Free
16th October 2019, 10:15 AM |#9  
tsynik's Avatar
OP Senior Member
Thanks Meter: 158
 
More
For anyone interested in debug options: you can enable KFTV Launcher Debug menu (accessible via HUD).
To enable:
- Install MagiskHide Props Config module from repo
- Install busybox module from repo
- Reboot and override those options with props command via shell:
ro.debuggable=0 to ro.debuggable=1
ro.build.type=user to ro.build.type=userdebug

Have fun!
The Following 2 Users Say Thank You to tsynik For This Useful Post: [ View ] Gift tsynik Ad-Free
16th October 2019, 09:55 PM |#10  
Junior Member
Thanks Meter: 3
 
More
how to uninstall those alexa update in /data
The Following User Says Thank You to Masterofchicken For This Useful Post: [ View ] Gift Masterofchicken Ad-Free
17th October 2019, 03:48 AM |#11  
Member
Thanks Meter: 41
 
More
Quote:
Originally Posted by Masterofchicken

how to uninstall those alexa update in /data

I too would like to know this, please elaborate for us both.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes