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

Lei_Wulong

Member
Dec 21, 2019
5
0
0
You can mount NTFS drives with bundled StickMount (it will be accessible under /sdcard/USB/XXX) or check other XDA FireTV sections - there is module with native NTFS/ExFAT/E2FS support via vold
Thanks for the quick answer.
When you say "bundled" do you mean bundled with the add-on package from the first post? It is not mentioned there, so I guess you mean something else...

Regarding the native module, I suppose you mean this one:
https://forum.xda-developers.com/fire-tv/development/magisk-amazon-firetv4k-ntfs-f2fs-ext4-t3991981
I was not sure whether this is applicable for the fire stick 4k. Somehow I thought this is about the Fire TV Cube because "stick" was missing from the topic. My bad.
 

ChronoWerX

Senior Member
Oct 13, 2007
507
57
58
(As I remember) there was apk which behave as Launcher to OS and do only one thing - it starts Kodi. So if you'll install such app, module will switch to it as Launcher (any user-installed launcher have priority) and it will start Kodi on every Home press.

With Hijack I can take Kodi as launcher. The problem is the accessibility service message. With you build in version from Hijack the app was working without the accessibility service message
 

Armen181

New member
Dec 25, 2019
1
0
0
Hi and thanks for great work, I wanted to disable amazon Packages for having lightweight Kodi OS, but after restarting cannot boot. Still I have access via ADB as root but Package Manager not work and return this error "Error: Could not access the Package Manager. Is the system running?". Please help to find out situation and somehow turn on packages.


[ [email protected]] init: Starting service 'zygote'...
[ [email protected]] init: Starting service 'audioserver'...
[ [email protected]] init: Starting service 'cameraserver'...
[ [email protected]] init: couldn't write 9012 to /dev/cpuset/camera-daemon/tasks: No such file or directory
[ [email protected]] init: Starting service 'media'...
[ [email protected]] init: Starting service 'netd'...
[ [email protected]] mtk-afe-pcm 11220000.audio-controller: mt8695_afe_dais_startup
[ [email protected]] mtk-afe-pcm 11220000.audio-controller: mt8695_afe_hdmi_shutdown
[ [email protected]] mtk-afe-pcm 11220000.audio-controller: mt8695_afe_spdif_startup IEC
[ [email protected]] mtk-afe-pcm 11220000.audio-controller: mt8695_afe_dais_startup
[ [email protected]] mtk-afe-pcm 11220000.audio-controller: mt8695_afe_spdif_shutdown IEC
[ [email protected]] mtk-afe-pcm 11220000.audio-controller: mt8695_afe_dais_startup
[ [email protected]] mtk-afe-pcm 11220000.audio-controller: mt8695_afe_dais_startup
[ [email protected]] mtk-afe-pcm 11220000.audio-controller: mt8695_afe_dais_startup
[ [email protected]] mtk-afe-pcm 11220000.audio-controller: mt8695_afe_dais_startup
[ [email protected]] mtk-afe-pcm 11220000.audio-controller: mt8695_afe_dais_startup
[ [email protected]] mt_xgpt_mmap physical address: 10008000 - 10008fff
[ [email protected]] init: Service 'zygote' (pid 9010) killed by signal 9
[ [email protected]] init: Service 'zygote' (pid 9010) killing any children in process group
[ [email protected]] init: write_file: Unable to open '/sys/android_power/request_state': No such file or directory
[ [email protected]] init: write_file: Unable to write to '/sys/power/state': Invalid argument
[ [email protected]] init: Service 'audioserver' is being killed...
[ [email protected]] init: Service 'cameraserver' is being killed...
[ [email protected]] init: Service 'media' is being killed...
[ [email protected]] init: Service 'netd' is being killed...
[ [email protected]] init: Service 'cameraserver' (pid 9012) killed by signal 9
[ [email protected]] init: Service 'cameraserver' (pid 9012) killing any children in process group
[ [email protected]] init: Service 'media' (pid 9013) killed by signal 9
[ [email protected]] init: Service 'media' (pid 9013) killing any children in process group
[ [email protected]] init: Service 'netd' (pid 9014) killed by signal 9
[ [email protected]] init: Service 'netd' (pid 9014) killing any children in process group
[ [email protected]] init: Service 'audioserver' (pid 9011) killed by signal 9
[ [email protected]] init: Service 'audioserver' (pid 9011) killing any children in process group


pm disable com.amazon.net.smartconnect
pm disable com.amazon.tv.resolutioncycler
pm disable com.amazon.recess
pm disable com.amazon.platform.fdrw
pm disable com.amazon.ssmsys
pm disable com.amazon.tv.ime
pm disable com.amazon.whisperplay.contracts
pm disable com.amazon.device.rdmapplication
pm disable com.amazon.venezia
pm disable com.amazon.dcp.contracts.library
pm disable com.amazon.metrics.api
pm disable com.amazon.vizzini
pm disable com.amazon.tv.devicecontrolsettings
pm disable com.amazon.bueller.notification
pm disable com.amazon.bueller.photos
pm disable com.amazon.device.sync
pm disable amazon.fireos
pm disable com.amazon.device.logmanager
pm disable com.amazon.ceviche
pm disable com.amazon.alta.h2clientservice
pm disable com.amazon.advertisingidsettings
pm disable com.amazon.tv.parentalcontrols
pm disable com.amazon.whisperjoin.provisioner.middleware.controller
pm disable com.amazon.ftv.glorialist
pm disable com.amazon.dp.logger
pm disable com.amazon.ods.kindleconnect
pm disable com.amazon.tv.intentsupport
pm disable com.amazon.sharingservice.android.client.proxy
pm disable com.amazon.webview
pm disable com.amazon.android.marketplace
pm disable com.amazon.device.backup.sdk.internal.library
pm disable com.amazon.tifobserver
pm disable com.amazon.dialservice
pm disable com.amazon.client.metrics.api
pm disable com.amazon.aca
pm disable com.amazon.cpl
pm disable com.amazon.dcp
pm disable com.amazon.imp
pm disable com.amazon.ssm
pm disable com.amazon.sync.service
pm disable com.amazon.fireinputdevices
pm disable com.amazon.whisperjoin.provisioner.middleware.firetv
pm disable com.amazon.tv.csapp
pm disable com.amazon.logan
pm disable com.amazon.tahoe
pm disable com.amazon.tcomm
pm disable com.amazon.naatyam
pm disable com.amazon.storm.lightning.tutorial
pm disable com.amazon.identity.auth.device.authorization
pm disable com.amazon.kindle.cms
pm disable com.amazon.kindleautomatictimezone
pm disable com.amazon.uxcontrollerservice
pm disable com.amazon.tv.fw.metrics
pm disable com.amazon.device.backup
pm disable com.amazon.firehomestarter
pm disable com.amazon.securitysyncclient
pm disable com.amazon.unifiedshare.actionchooser
pm disable com.amazon.firerestapiframework
pm disable com.amazon.tv.routing
pm disable com.amazon.device.messaging
pm disable com.amazon.device.bluetoothkeymaplib
pm disable com.amazon.device.metrics
pm disable com.amazon.device.messaging.sdk.internal.library
pm disable com.amazon.providers
pm disable com.amazon.tv.devicecontrol
pm disable com.amazon.tv.ottssocompanionapp
pm disable com.amazon.device.sale.service
pm disable com.amazon.cardinal
pm disable com.amazon.tcomm.client
pm disable com.amazon.tv.forcedotaupdater.v2
pm disable com.amazon.client.metrics
pm disable com.amazon.device.settings.sdk.internal.library
pm disable com.amazon.autopairservice
pm disable amazon.jackson19
pm disable com.amazon.tmm.tutorial
pm disable com.amazon.device.software.ota
pm disable com.amazon.wifilocker
pm disable com.amazon.dcp.contracts.framework.library
pm disable com.amazon.device.bluetoothdfu
pm disable com.amazon.storm.lightning.services
pm disable com.amazon.whisperlink.core.android
pm disable com.amazon.device.messaging.sdk.library
pm disable com.amazon.tv.notificationcenter
pm disable com.amazon.tv.support
pm disable com.amazon.ags.app
pm disable com.amazon.tv.nimh
pm disable com.amazon.tv.oobe
pm disable com.amazon.sync.provider.ipc
pm disable com.amazon.tv.legal.notices
pm disable com.amazon.firebat
pm disable android.amazon.perm
pm disable com.amazon.tv.keypolicymanager
pm disable com.amazon.android.service.networkmonitor
pm disable com.amazon.kso.blackbird
pm disable com.amazon.providers.contentsupport
pm disable com.amazon.avl.ftv
pm disable com.amazon.awvflingreceiver
pm disable com.amazon.device.crashmanager
pm disable com.amazon.application.compatibility.enforcer
pm disable com.amazon.whisperplay.service.install
pm disable com.amazon.uxnotification
pm disable com.amazon.shoptv.client
pm disable com.amazon.device.software.ota.override
pm disable com.amazon.alexashopping
pm disable com.amazon.franktvinput
pm disable com.amazon.aria
pm disable com.amazon.avod
pm disable com.amazon.communication.discovery
pm disable com.amazon.alexa.externalmediaplayer.fireos
pm disable com.amazon.tv.releasenotes
pm disable com.amazon.ssdpservice
pm disable com.amazon.device.settings
pm disable com.amazon.tv.livetv
pm disable com.amazon.device.sync.sdk.internal
pm disable com.amazon.connectivitydiag
pm disable com.amazon.device.lowstoragemanager
pm disable com.amazon.providers.tv
pm disable com.amazon.webview.chromium
pm disable com.amazon.bueller.music
pm disable com.amazon.hedwig
pm disable com.amazon.kindle.devicecontrols
pm disable com.amazon.application.compatibility.enforcer.sdk.library
 

tsynik

Senior Member
Dec 14, 2010
201
165
73
With Hijack I can take Kodi as launcher. The problem is the accessibility service message. With you build in version from Hijack the app was working without the accessibility service message
There are no problems. If you'll do what it says, it will work.
 

brick00444

Senior Member
Nov 24, 2018
177
35
28
@tsynik, thank you for sharing such wonderful work.

Your plugin really cleans up the UI and the interface looks much nicer.
Is there a way to autostart apps both at boot time and when resuming from sleep?
As Kodi is the main app, I'd like to save some clicks and not have to go through the home launchers but instead resume the previous app directly.

Thanks!

P.S. How did you get the weather forecast on the home screen in your screenshot?
P.P.S. For new users, I think it would be quite useful if the unneeded packages (part of the readme `pm disable ..` are executed automatically at install or startup. For example disabling OTA is strongly recommended so why not do that out of the box.
The only way I could get google to work was go to App Drawer and click on the Google app then use the mic. Not sure if there is another way or not. Just a thought. is there a way to disable Alexa and enable Google to the mic?
 

bnevets27

Senior Member
Oct 19, 2010
309
54
0
Firstly this is awesome! Thank you so much.

Now this is no fault of this module but I managed to loose the setting shortcut.

I ran the debloat script from here And yes I know this also isn't designed to be run on the 4k firestick. But If I can figure out what package needs to be re-enabled/commented out then it might be a decent script to use to debloat. I included it in my guide but would like to fix this issue.

Edit: I'll answer my own question. Disabling "com.amazon.tv.launcher" breaks the settings.
 
Last edited:

ChronoWerX

Senior Member
Oct 13, 2007
507
57
58
@tsynik Have a problem with your addons.

When your module in xposed is active, Amazon Prime Video won't load. If I deactivate it, Amazon Prime Video work again. I reactivated your module, it won't load. One of your disabled services will block Prime Video.
 

tsynik

Senior Member
Dec 14, 2010
201
165
73
@tsynik Have a problem with your addons.

When your module in xposed is active, Amazon Prime Video won't load. If I deactivate it, Amazon Prime Video work again. I reactivated your module, it won't load. One of your disabled services will block Prime Video.
True. Xposed Module disables Amazon metrics and bundled Prime Video. You can use Android TV version of Prime Video from Aptoide TV instead.
 
  • Like
Reactions: ChronoWerX

shaggypimpin

New member
Jul 5, 2009
4
0
0
Boot loader unlock method with TWRP, Magisk 20.2 , AFTV Add-Ons (Magisk Module) v1.9. Working on AFTV Stick 4k.
Soft Ver. Fire OS 6.2.6.8 (NS6268/2315) Firetv home version 6200198.1
Wanted adaware for AD blocking. Helps some what ES PRO still getting adds in.
I was getting some random power offs. so I added a second power input. Seems to have helped.
Can not download straight to usb storage. Trying to add it now as internal now. Option was not available before this. Other method did not work
So far this added a USB spot in the internal folder. One app downloaded to it so it look like its working now.
Other wise i will try moving apps to usb and using the fire stick for download space.
@tsynik
 
Last edited:

shaggypimpin

New member
Jul 5, 2009
4
0
0
Well, stick was locking up pretty good during downloads. Installed L speed, and a app freezer for the amazon pics, video, gamecircle, news, and google. Got ride of the screen savers. Lspeed on performance opened up something, the response on the apps i use and over all function is much faster and smoother. Lspeed module did not install the apk though. I had to download that separate from the source.
Thanks for the Suggestion @TitanUranus. I will be checking that out.
I noticed debrid links were slow in cinema. Open with es downloader, same thing. Go into es download manager. Stop the link, and restart it, jumps my speeds up into the Mbps instead of Kbps. Probably becuase it then uses multi-thread, like its selected to.
curious if amazon app store need to be on for start up? I rather strip amazon away so it can quit using up memory in the background.