yashsingh1/xdaforums huggingface dataset:
[Fire TV Original Android Development] Lei_Wulong:
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://xdaforums.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.
[Fire TV Original Android Development] tsynik:
Yes, it's not mentioned but preinstalled with MM and can be found here
[Fire TV Original Android Development] ChronoWerX:
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
[Fire TV Original Android Development] tsynik:
There are no problems. If you'll do what it says, it will work.
[Fire TV Original Android Development] tsynik:
You need factory reset from recovery. And never ever try to repeat to disable all that mentioned stuff again.
[Fire TV Original Android Development] ChronoWerX:
What?

It doesn't worked with the HiJack version I installed because of the accessibility service message.

With your version before the xposed modul, it worked.
[Fire TV Original Android Development] brick00444:
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?
[Fire TV Original Android Development] bnevets27:
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.
[Fire TV Original Android Development] ChronoWerX:
[MENTION=3320499]tsynik[/MENTION] 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.
[Fire TV Original Android Development] tsynik:
True. Xposed Module disables Amazon metrics and bundled Prime Video. You can use Android TV version of Prime Video from Aptoide TV instead.
[Fire TV Original Android Development] ChronoWerX:
Working thanks :good:
[Fire TV Original Android Development] shaggypimpin:
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.
[MENTION=3320499]tsynik[/MENTION]
[Fire TV Original Android Development] TitanUranus:
Try xposed with minminguard to kill ads. Works great with apps & no overhead. Keep adaway or use something like "energized" module for magisk to kill browser ads.
[Fire TV Original Android Development] shaggypimpin:
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 [MENTION=4930591]TitanUranus[/MENTION]. 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.
[Fire TV Original Android Development] shaggypimpin:
I realized my issue with some downloads. The MKV files size was too large for the file system. It would fail the download when the file size hit the max.
[Fire TV Original Android Development] Yom:
Hi [MENTION=3320499]tsynik[/MENTION]!

Thank you very much for your awesome modules!

I must have messed something up, big time... when I flash AFTV-GAPPS-MM-1.1.zip the Amazon stock launcher cannot start anymore. It just loops endlessly. I already enabled com.amazon.avod, which worked until I rebooted.

Can someone please help me in stabilizing the stock launcher so I can configure my receiver?

Thanks!
[Fire TV Original Android Development] Baschdard:
Is there a way to use the Amazon app store after installing the module? Do I have to reenable some packages to do so?
[Fire TV Original Android Development] LAX_2_TLV:
Dead link

Thanks for all the work, [MENTION=3320499]tsynik[/MENTION]! :good:

Link for v2.0 is dead. Please advise.
[Fire TV Original Android Development] bnevets27:
I'm sure he'll fix it but here: https://drive.google.com/open?id=1c7roWnZTeupn6GN5xLNo1QmbU_HOuWjf

All the files are located in his Gdrive (Link is in the OP): https://drive.google.com/open?id=13pY1fPc9UxE5FpeDp19bRmdYKYUFeVOb

Would like to know what changed for v2.0.

A little paying and I notice voice search works for me now. It didn't before, but not sure if a change was made
[Fire TV Original Android Development] tsynik:
It's expected behaviour with GAPPs (or any packages) placed to /system/priv-app. To fix Settings / Launcher I used some metrics hacks in AFTV-XM (Xposed Module). After flash of GApps package, you need to wait untill install script will install Xposed Installer and reboots to recovery and install Xposed framework. On next boot with AFTV-XM enabled Settings will work again. It AFTV-XM module not enabled in Modules section for some reason, you need to enable it by hand (launching Xposed Installer from adb shell and check module in Modules section there). After reboot there will be no Settings crashes. Maybe I'll check another method later: instead of placing GApps files to /system/priv-app we can place them to /system/app or /vendor/app, but we need some system permissions hacks to package manager in that case to grant all needed GApps packages permissions ;)

p.s. You can't install GApps package with AFTV-MM, they'll conflict if installed and enabled both. So use only AFTV-MM of AFTV-GApps ;)
[Fire TV Original Android Development] tsynik:
2.0 have bundled ATV Settings application to manage system in Android TV way: you can change language, screen saver options, freeze packages etc. Also, I disabled (unnneded) metrics hacks hoping it'll have future OS updates compatibility.

With current module release, it's suggested to reenable ota packages and install all current amazon apps updates (equipment control, alexa, etc). You can redisable updates after all current will be insatlled.
[Fire TV Original Android Development] chinkster:
Should I update magisk and magisk manager through the magisk manager app? I thought I read something that told me never to update these within fireTV or something?
[Fire TV Original Android Development] tsynik:
Never ever try to update Magisk via Magisk Manager. You can update Magisk Manager itself from there, but in case Magisk, you need only download install ZIP from Manager and flash it through TWRP recovery after (update zip will be in /sdcard/Download folder)
[Fire TV Original Android Development] Yom:
Dear sir, thank you very much for the highly detailed explanation. Please know I am enjoying your work immensely. THANK YOU!!!!!

I'll keep an eye out for updates!
[Fire TV Original Android Development] chinkster:
Is there a way to get the firestick to actually power off? When I click power off option it just reboots
[Fire TV Original Android Development] chinkster:
Google Assistant doesn't work but I am able to still use the microphone when searching YouTube, etc...
[Fire TV Original Android Development] mrsweet1991:
Just installed this, any idea why recommendations doesn't show? In Launcher I've hidden Emby and shown Netflix but nothing shows at the moment.
[Fire TV Original Android Development] tsynik:
You need to enable Recommendations row in launcher settings.
[Fire TV Original Android Development] selbyog:
I've just updated to the 2.0 version of the plugin - the new settings menu is quite handy.

I've noticed though I have two power options - one called Power the other one Power Menu in the lowest row; is that on purpose? Any idea how I can have only one?

[IMG="power menu"]https://i.imgur.com/Mr9DMxC.png[/IMG]
[Fire TV Original Android Development] eckengucker:
I removed one of the apps from the system
[Fire TV Original Android Development] selbyog:
It worked - thanks for the tip. The app it's called Power Menu.
[Fire TV Original Android Development] tsynik:
Just uninstall Power Menu app from ATV Settings / Apps

P.S. You also need to grand Location permissions there to ATV Settings app for scanning networks ability from ATV Settings itself
[Fire TV Original Android Development] chinkster:
where can i find the 2.0 version of the plugin? thanks
[Fire TV Original Android Development] tsynik:
Links in the 1st post.
[Fire TV Original Android Development] chinkster:
For some reason there was an update for magisk manager and after I updated it, I can't even see where the cursor or selection point is. Is there a way to revert to old version or something
[Fire TV Original Android Development] chinkster:
Do I need the tv bro app? I uninstalled it
[Fire TV Original Android Development] legendos:
TWRP -> Flash Failed.

Please delete this, sorry!
[Fire TV Original Android Development] gggirlgeek:
I love this module (really a set of modules in one.)

I want to use it with Alexa instead of Google search.

I am using the basic AFTV-MM-2.0.

Can you provide a version without Google search or gapps? If you don't feel like it, can you tell me how to remove Google search from my installation and restore Alexa voice search?

Your module is easier than installing all the tweaks myself or I would just install everything one-by-one without Google search.

Thanks a lot.
[Fire TV Original Android Development] tokoam:
Man I appreciate all the work here I really do.But I feel like once you flash AFTV-MM-2.0 and its working correctly its best to just leave it as it is.To much meddling will cause Black screen of death or other issues depending on conflicts with out modules and stuff. So I just left it as is,Also Magisk keeps saying there's an update do I update just the manager ? I know its recommend to do updates through ADB or Recovery but last time I updated the Manager it changed the interface to blue and white is this new ? is it okay to do so ?
[Fire TV Original Android Development] Yom:
Hey buddy!

Don't try to update anything magisk-related from within Android itself. Download the latest Magisk installer and flash it from recovery. That will update both manager and kernel. And no bricking your stick.

Hope this helps!
[Fire TV Original Android Development] tokoam:
Okay , I did do this and it worked thanks for that but magisk oddly still says there is an update 20.3 I belive is the most current :confused:.Also Hypothetical speaking if we do a reset I notice data is still kept which is great But.Root/magisk is gone would we just require reflashing magisk.zip from scratch or do we have to reinstall the whole mantis-6.2.6.8-rooted_r1.zip again ?Did you guys disable the optional modules in that Optional packages section as well ?
[Fire TV Original Android Development] tsynik:
Alexa is still there in AFTV-MM 2.0. Just freeze Google plackage (com.google.android.katniss) and you'll stay with Alexa alone ;)
[Fire TV Original Android Development] tsynik:
You don't need to reflash 6.2.6.8. Just install Magisk Manager as apk after reset, and reapply AFTV-MM module there. Or flash Magisk zip from TWRP, reboot and install AFTV-MM from Magisk Manager or via TWRP.
[Fire TV Original Android Development] Baschdard:
Will there be a way to use AFTV-MM and AFTV-GAPPS at the same time or a package with both bundled? That would be amazing!
[Fire TV Original Android Development] tsynik:
You can install both, but only one must be enabled at the same time.
[Fire TV Original Android Development] Baschdard:
Yes of course, but it would be great to have the full experience. Anyway, thank you very much for your great work to debloat the fire tv stick!
[Fire TV Original Android Development] razvangrig:
Rooted and installed magisk, AFTV Add-Ons 2.0, adaway, adblocker reborn, MinMin guard, blokada. Nothing works for blocking ads in Silk browser or Firefox browser. Xposed is installed and checked, systemless hosts in magisk is checked. Any idea? Thanks!
[Fire TV Original Android Development] Skel40:
Try installing Energized Protection in the Magisk Download section of the app and install Terminal Emulator. After you reboot, type in su, energized and select Spark which is for low end devices (type in 1), then reboot again. You now shouldn't have any advertisements on your device. It requires busybox and systemless hosts so you're good to go there. Private message me if you need any help!

For more information about Energized Protection and what it does:

https://xdaforums.com/apps/magisk/module-energized-protection-one-t3806865/amp/
[Fire TV Original Android Development] Animux:
Voice input is not working for me. Just pressing the mic icon on the screen does not detect any sound, pressing the mic button on the remote just starts alexa.
[Fire TV Original Android Development] tinybilbo:
I couldn't find Energized Protection in Magisk. Have you installed it on your FS4k? thx
[Fire TV Original Android Development] Skel40:
That's odd. Try manually downloading it from this and let me know if this fixes your issue. Yes! I have it installed already directly from Magisk itself.

Energized Protection (Flash in TWRP Recovery):

https://drive.google.com/open?id=1-53xJQt669H-7dAWK29UUw6YkLJt40xk
[Fire TV Original Android Development] tinybilbo:
Yeah very weird! (a quirk of my device maybe?) Thanks for the link, all setup now, looks great!
[Fire TV Original Android Development] eckengucker:
Any changelog?
[Fire TV Original Android Development] freak69ize:
Anyone had any luck installing systemless xposed? Thanks
[Fire TV Original Android Development] Donphillipe:
I was just about to ask that same question. It seems unclear if EVERYTHING is prohibited installing outside of TWRP or if the Magisk list of apps that are listed and searchable there can be installed via Magisk and don't have to be installed from TWRP. I looked for a stand alone version of Xposed systemless but it was just a list of versions and I didn't know which to pick.
[Fire TV Original Android Development] Pretoriano80:
I used Xposed Framework v90-beta3 and it was working fine. At least it was with version 1.8 of this mod.

Most modules are installing just fine directly from Magisk Manager, only those that recommend a TWRP install must be installed that way. For example this mod recommends TWRP on first install, but the updates can be installed with Magisk Manager.

Magisk updates instead MUST be installed ONLY WITH TWRP.
[Fire TV Original Android Development] tsynik:
This module auto-install Xposed Framework systemless on first reboot after module install. It also have stripped zip archive of Xposed Framework for Magisk (xposed-framework-magisk.zip) in system/vendor/preinstall
[Fire TV Original Android Development] freak69ize:
Ok I'll give it a try.. thanks bro
[Fire TV Original Android Development] Donphillipe:
I signed out of my amazon account, thinking it was not needed with this mod, now when I power up it says sign in with your amazon account and it shows a keyboard but there is no input area where the letters you select from the visual keypad are entered in any field anywhere.. You can select letters on the keyboard and it doesn't show up anywhere.. If there are adb commands that I need to enter to fix this, please give the instruction in elementary terms as to how i do that and where I enter it. I don't know how to enter adb commands except attaching the stick to my PC like I did during the initial unlock. Thanks!
[Fire TV Original Android Development] tsynik:
You can switch keyboards with long Menu press. Also, there is new LeanKey Keyboard Pro bundled with AFTV-MM v2.1 which prints what u type on top suggestions line on Amazon Account enter.
[Fire TV Original Android Development] tune345:
if i flash this ON TOP OF the backed up fireOS from different firestick. Will alll the apps carry over or no ?
[Fire TV Original Android Development] SERGE4NT:
AFTV Add-Ons Magisk Module v2.1 works with Official Stock v6.2.7.1?

https://xdaforums.com/fire-tv/general/official-stock-image-fire-tv-stick-4k-6-t4059777
[Fire TV Original Android Development] tsynik:
Probably yes, but Google Search - doesn't. 6.2.7.1 which I tried before doesn't have system omx amr-wb audio codec, which is required for Google voice recognition.
[Fire TV Original Android Development] Donphillipe:
I long-pressed the LearnKey icon and it rebooted my system. I am now in a boot loop. I have my OTG installed with memory sticks attached. What I see in this order TWRP option, b/w Fire Stick logo, Orange/Wht Fire Stick logo, 3 dots pulsing and back to blue screen and boot loop.

I created a TWRP backup right after installing TWRP, should I start with restoring that or is there some other thing I should do first?
[Fire TV Original Android Development] tsynik:
I don't know your boot loop reason. I mentioned before long pressing Menu button on the remote. Best option to restore Fire TV functionality is factory reset from Fire TV settings or (the same thing) Wipe /data partition from TWRP. You need to reapply Magisk zip and other stuff after from TWRP.
[Fire TV Original Android Development] Donphillipe:
Can I replace the screen saver?

I don't want to upload my personal photos to Amazon. I want to display photos from my file server on the screen as a screen saver without being tied to Amazon or having my own family photo albums in their domain. Can it be done? Thanks
[Fire TV Original Android Development] random45:
I accidently updated Magisk Manager, and now its the White/Blue interface. Are you saying i should install the latest Magisk Manager (20.4) from https://github.com/topjohnwu/Magisk/releases ?
[Fire TV Original Android Development] Donphillipe:
I only know enough to get myself in trouble here but in general if something goofs up I've found you have to start all over. That involves one of two paths.

1) if TWRP shows up on the boot sequence, then you have to boot to TWRP and load the restore image (zip) via TWRP Install mentioned previously

Then once you reboot the stock image you see on the next boot that TWRP menu is gone and here it's a good idea to check out the stock image you loaded to make sure everything is working. Now you are back to stock.

Once your system is back up to stock, you'll need to re-apply shorting the pin with foil, then you get TWRP again and are ready to start fresh with a load of Magisk 20.3 via TWRP install (don't fool with 20.4 until someone here says you need to). And when someone tells you here to upgrade to a certain version, then do it only via TWRP menu. (No need to upgrade things here just because a new version comes out unless one of the fixes applies to fixing something you've been hampered by.)

2) Now if you've got a blue screen or you can't boot to TWRP or anything, you can try doing the pin short out with Linux USB iso and see if you can re-apply the exploit. If it turns out you are successful and you get TWRP again, now go back up to the top of this post and start at step one above and do everything all over again, meaning that once you get the system restored from the initial (1st time) pin shorting, once you get the stock option loaded you'll have to short the pin once again to once again (2nd time) apply the exploit and get TWRP up to the point where you follow the procedure from item 1 above.

Good luck!

P.S. I use the OTG I own to attach a hub to the AFT for use during the time TWRP is displayed and I am loading things via TWRP menu. In my OTG USB Hub I keep not only my mouse/keyboard attached to the device via the hub, but I also have a USB memory stick with all the zip images I wish to load via TWRP "Install" (including AFTV add-ons) and also later through the standard interface and normal usage of the firestick, I call on the USB memory stick again by accessing it via a file explorer and to add apk files I have downloaded on my PC to the stick prior to inserting it in the OTG firestick attached hub. I created a special folder on my USB memory stick in prepping for using it to load apk files to the AFTV. I use FX from the AFT main background to load generic apk apps rather than ES File Explorer, which is full of nothing but nags to buy the full version. With FX explorer you just open your USB stick inco to access the memory stick that's plugged in the USB Hub on your OTA attachment to the AFS, then you double click any apk (e.g. Kodixxxxxxx.apk) and click install and it works.

Of course you could just use the download manager but it's much easier using a PC just to quickly download all the apk files you want and pop the USB stick in your hub powering the firestick and load them using FX rather than fooling around with a keyboard or mouse and thumb-typing a bunch of URLs into the Downloader app.
[Fire TV Original Android Development] dcarvil:
Once you get everything working, do a TWRP backup to your USB stick. When you need to restore, use the backup instead of the stock image. That way you don't need to redo the entire process.
[Fire TV Original Android Development] Donphillipe:
Which storage buttons are recommended for doing the backup? e.g. /system ?? /vendor a list would be nice because I found the backup I made which ticked every storage box does not work properly.

Thanks!
[Fire TV Original Android Development] dcarvil:
I backup all of them. I haven't had to restore the firestick, so don't know if I will have the same problem. You can try restoring one partition at a time to see if you can find the troublesome partition. Maybe someone who has done a TWRP restore can answer.
[Fire TV Original Android Development] Donphillipe:
BUMP

If possible I'd like to remove all the Amazon advertising as my primary goal and the second goal would be to have a directory (or actually use one off my Samba server) to use to show my personal selected photos on the screen as a screensaver (sort of like I can set up in Kodi). Again, I don't want to upload my family photos to any online service including Amazon. Not that there's anything wrong with my family photos, I just like to keep them in the hands of family and don't want to perhaps see my Mom's head pasted on some porn-star downloadable as a torrent in the future.