yashsingh1/xdaforums huggingface dataset:
[Fire TV Android Development] RonRamon:
Greetings, first of all thanks to Skel40 for his time in the new advances.

I also take the opportunity to resume a mantis saved for being on the blacklist. I tried to install the new rom and it doesn't go past the logo with a black screen, I don't know what I'm doing wrong, I have a lot of experience installing custom roms on android devices. I did install, clean, dirty, but nothing that boots. If you can guide me with the details that I may be overlooking, details... a guide for dummies please
[Fire TV Android Development] hasobist:
Hello!

If your device is blacklisted

Install the AndroidTV rom 6.2.7.6

You need a mouse and keyboard to pair your remote.

Even if you disable OOBE on the device, the settings wont work and you can't even login.

Check the unlock thread,where a member had the same problem

Hope it helps.....

Cheers!
[Fire TV Android Development] RonRamon:
Hello hasobist.

I managed to get here. control does not work, I can not enter developer options. Disconnect from Wi-Fi to avoid any updates from Amazon. Skip OOBE mounting system in TWRP directing me to the path /system/app-priv/ there look for the OOBE apk and rename it with the .OLD extension and it finally opened the launcher (I had already done it two months ago and I could never go back to achieve it until today) what really interests me now is that control works and that I can install APKs on my own, without gapps
[Fire TV Android Development] hasobist:
Hello great congratulations!

Try this workaround as the settings will not work.

Try settings by 081hoffi needs root,you can enable adb and other settings

Wolf manager

Launcher manager ultimate customized to wolf launcher

Let me know if it works

If you need the settings app will upload the same.

Cheers!
[Fire TV Android Development] RonRamon:
Hello great congratulations!

Try renaming OOBE to factory version and reboot.

R: I have restarted several times without problem, I land in the home of the launcher. What would I gain with that?

Updates are patched?

R: Install a burcbuluklu twrp backup in this post . I renamed the OOBE apk to change the extension and it opened in the home of the launcher

You can try wolf launcher with launcher manager ultimate.

R: I already downloaded it from here, as far as I can I'll try to install it and comment

Can you access Android TV settings and what happens when you click any?

R: Some options work, others do not, I would have to detail each option

Does the wifi get connected?

R: Yes wifi connected good

Before restore did you wipe data?

R: no, I didn't delete anything after restoring the TWRP backup of burcbuluklu

Is your remote getting paired?

R: No, the controller is not recognized, I also couldn't pair to the controller app on my android phone yet

Did you flash magisk and have root?

R: Yes, the TWRP backup has root magisk

Is xposed installed?

R: Yes

Need more information.

R: whatever you need, just ask me

Your doing good......

R: thanks for the support

Cheers!
[Fire TV Android Development] hasobist:
Thank you for the detailed info!

All looks good!

As mentioned in the OP of Android TV rom a factory reset in TWRP, nevertheless you can debug.

Try install the settings and let me know if it works.

Pairing also can be tried using Launcher manager settings,give it a try with fresh batteries or reset if need be.

Cheers!
[Fire TV Android Development] hasobist:
Hello!

From the unlock thread the same situation faced by one of the members

Post in thread '[UNLOCK][ROOT][TWRP][UNBRICK] Fire TV Stick 4K (mantis)' https://xdaforums.com/t/unlock-root-twrp-unbrick-fire-tv-stick-4k-mantis.3978459/post-88831445

Post in thread '[UNLOCK][ROOT][TWRP][UNBRICK] Fire TV Stick 4K (mantis)' https://xdaforums.com/t/unlock-root-twrp-unbrick-fire-tv-stick-4k-mantis.3978459/post-83825011

Hope it helps......

Cheers!
[Fire TV Android Development] RonRamon:
So far so good, I have shut down and rebooted several times and stable.

install HBO plus, Netflix, disney +, spotify, magisk tv, cx explorer, LM 1.1.8 and delete amazon apps that appeared in the home with link2sd. I was able to link control fire with the android app.

The physical control does not recognize it at all, I don't know if it has to do with the UI version, or the OOBE and that this control is one of the new ones with the buttons for netflix, disney etc...

Any suggestions to make the physical control functional?
[Fire TV Android Development] hasobist:
Wow congratulations!

com.amazon.tv.csapp is responsible for remote pairing and also other apps where Firetv remote app update(com.amazon.turnstile) is specified.

Since you disabled amazon stuff check whether the above is disabled and try re-enable the services,and give it a try with fresh batteries.

If not,this worked for me when searching for remote to be paired try press the back+menu+left navigation buttons together for 20 second and release gets auto paired,never tried it on the customized dedicated app buttons remote though.

Or,try reset the remote by pressing the above mentioned three buttons together 30 second, release wait 10 second remove the battery,power off the Firetv then power on wait for the pairing to appear on screen, in your case you need to initiate and then insert fresh batteries and press home button for 40 second until paired.

If all options fail ,try the latest released patched UI by Skel40 as the TZ too gets updated,you need to disable the OOBE though.

Personally always use the debloat script by TDUK,as it lists the safe to disable apps,inorder to avoid a stick that's stuck on boot.

Hope it helps........

Cheers!
[Fire TV Android Development] oldboy88:
First of all, many thanks for the help here (Post in thread '[UNLOCK][ROOT][TWRP][UNBRICK] Fire TV Stick 4K (mantis)' https://xdaforums.com/t/unlock-root-twrp-unbrick-fire-tv-stick-4k-mantis.3978459/post-88855269) and for the work that is also being done here in this thread and in relation to the ROM images.

So I have now installed FIREOS 6.2.9.7 Debloated from this Thread via TWRP.

My goal was to find a slim ROM as possible, which prevents automatic updates - I hope this hope was fulfilled with the installation or do i have to do something else by myself?

I am always afraid that updates will intrude through some backdoor, could this still happeb?

What I'm missing now (I hope I'm asking the question in the right place here!):

I would love to have the LauncherManager + Wolflauncher on my Mantis so that the home button hook also runs smoothly - but it works for now unfortunately not yet, I have to press the home button twice in a row to get to the wolf launcher, and otherwise it would be perfect if the wolf launcher could actually become something like the always first entry point - do I / can I do something so that I can functionally achieve this goal?

Installed LauncherManager is LM (FOS) - 1.1.8.apk, and WolfLauncher WLFireTV_0.1.7.apk

Thanks in advance!
[Fire TV Android Development] Skel40:
All OTA updates from the first bootup and after signing in will no longer receive updates ever again. I put the TZ image into the .zip for streaming fixes without manually flashing it and this rom can be flashed as many times as you want so no more updating via system. Blocking OTA isnt required anymore so updates you're safe from. The reasoning behind Launcher Manager is because of a file located in /data/system which you'd have to be root user and input these commands to get ADB home and others to work properly. which can be found here: https://xdaforums.com/t/getting-all...e-os-version-root-only.4579645/#post-88778495

Make sure to install this version of the rom (fix): https://xdaforums.com/attachments/ns6297-4655-debloat-old-ui-fix-zip.5975351/

I do have a 1.2 on the OP as well, still a wip.
[Fire TV Android Development] hasobist:
Hello!

You can customize Wolf launcher in launcher manager settings by selecting wolf launcher as custom and enabling the same in settings.

This way when the system boots you have wolf launcher appearing after a little delay.

The delay can be negated,whereby

You can also freeze Amazon launcher and firehome starter also Device software ota(to be safe) and Fire recess proxy(as is removed by Skel40 in the debloated version)or just rename .apk to apkk by doing this the wolf launcher appears without any time lapse after boot.

The latest version of Wolf launcher is 0.1.9,You'll find it in the LM thread if not let me know.

Happy to help........

Cheers!
[Fire TV Android Development] oldboy88:
Thanks again, installed WL 0.1.9 now, starting up and pressing homebutton still takes a moment till wl comes up, i allready typed the given adb comands via adb remote shell statet here: https://xdaforums.com/t/getting-all...e-os-version-root-only.4579645/#post-88778495 - anything in can do to make homebutton & startup starting wolflauncher instant?
[Fire TV Android Development] hasobist:
Hello!

As mentioned rename the

com.amazon.tv.lancher.apk to ........apkk

Also rename the firehome starter too ,should work the delay is due to the kftv launcher.......

Cheers!
[Fire TV Android Development] oldboy88:
Thanks again, could you please tell me were, and how i can do this? Thanks in advance!
[Fire TV Android Development] hasobist:
Hello!

1.Using TWRP

In recovery click on mount then tick system then click on back then click on Advanced then filemanager then scroll with mouse by longpressing on blue bar and dragging down to system click on it then priv-app and then search for the desired folder and click on it and then longpress on apk you'll see options popup click on rename and rename from .apk to .apkk and swipe to confirm similarly click on Advance up for repeating the process by selecting the other app to be renamed.

2.Presuming you have root.

You can use any root file explorer,

Personally use the Romtool box lite.

If using above app click on root browser classic

Then system>priv-app and then search for the launcher folder click on it and long press on the apk and rename the extension .apk to .apkk and then confirm.

You can even use adb to do the same.

Also can use the TDUK(TechdoctorUK) fireos7 debloater app to achieve the same result

Hope ot helps.......

Cheers!
[Fire TV Android Development] oldboy88:
Thanks aton, now i understand in detail what this renaming process was about. Works like a charme now.

Now there is just one tiny thing I would like to know: Is there any way I can get the control via FireTV Remote to give the IR commands to my LG TV, e.g. for volume? The stick I had before could address the LG via IR, but as I saw here in the thread, this function in the debloated ROM at least deactivates the online troubleshooting search, correct? I wrote down the IR code from the old stick, but unfortunately it doesn't work when I enter it manually. Would just be a nice-to-have, if there was an option I'd appreciate feedback. Thanks again in all places for your help!
[Fire TV Android Development] Skel40:
Also if anyone would like to flash the 6297-4655 on my patched forum you can as many times as you want so if you flash a debloat version of this and want all apps, simply flash the 4655 version on that forum and all the apps will appear and the OTA patches are preserved. Happy flashing! Was testing 1.2 still and tried to replace the ArcusListener, responsible for the Launcher Manager with the 6.2.7.3 version and it bricked. Will keep trying to patch things up with the debloat to see what changes can be made. For those with rw issues on total commander press the menu button and go to configure, scroll down until you see root functions everywhere and grant superuser. RW should work now. See you soon
[Fire TV Android Development] hasobist:
Hello!

Personally do use the the Firetv remote volume controls to control the TV ,which is configured during setup if the remote is second generation with volume controls.You can also do so by going to settings >Equipment control and Manage TV or so or you can add.

Cheers!
[Fire TV Android Development] Skel40:
Added (1.2 NIGHTLY 8/14/2023):

IME and Alexa for other regions

build.prop tweaks fix for adb usb and adb network debugging, removed "ram" tweaks due to laggy OS

Package installer is fix, no longer a white screen

com.amazon.firehomestarter import from 6.2.7.3 to prevent the older interface from constantly having its tasks killed and refreshing, and new sounds are imported from (7.6.4.6) sheldon for /system/media/ui

Everything is very stable and very fast. I still want to edit fosservices.jar and services.jar to this with these 2-3 week or sooner (NIGHTLY) builds.

Needing Help (Issues)

Package installer doesn't launch to apps from unknown sources and stays on total commander.

Apps on the older interface doesnt show the app icons. com.amazon.venezia would be a solution but importing this will cause issues with redirecting app to app (i.e Appstore, other apps broken, imdb showing twice, etc)

fixed the script
[Fire TV Android Development] Skel40:
I have now compiled a mantis-rooted-build-your-rom with the README- folder to teach with the stripped oobe in the sdcard directory, with Launcher Manager and marcus launcher and settings.

mantis-rooted-build-your rom.zip (extract and read the README-)

mantis-rooted-build-your-rom

MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.

www.mediafire.com
[Fire TV Android Development] Skel40:
To make it easier, the whole directory on your system i.e Android, Linux, Windows, etc is required to make the rom by scratch, you need to take the pre-rooted-patch rom (preferably) my patched-undebloat-debloat NS6297/4655 extract its contents leaving only the boot.img, system.new.dat, system.patch.dat, system.transfer.list, vendor.new.dat, vendor.patch.dat, vendor.transfer.list, magisk folder, install folder, images folder (for TZ, fixes rebooting issues), and META-INF folder, com, google, android, update-binary, updater-script leaving us with 11 directories (boot, system (3 files, vendor 3 files), images, magisk,install, META-INF to get started
[Fire TV Android Development] Skel40:
NS6290-NIGHTLY now available and fully patched with no more OTA updates with more on the OP.

Clean flash this rom by wiping data, cache, dalvik, /system before flashing. Dirty flashing from a previous rom to another will cause several issues
[Fire TV Android Development] wkalamaras:
I went from flashing NS6297 to the NS6290; I assumed this was okay because its a custom script but after clearing data, cache, dalvik, and system before flashing, rebooting gives no video input. Stick appears to be bricked, any idea what might have happened here?
[Fire TV Android Development] hasobist:
Hello!

Are you on unlocked bootloader?

You mean did you upgrade to 6.2.9.7,is it?

Is the stick connected to a USB-OTG?

Can you provide more info of which rom did you flash stock or any else etc.

Thank you.......

Cheers!
[Fire TV Android Development] wkalamaras:
Thanks for the response here, I actually had "NS6297-4655-lightly-debloated-script-atv launcher-lm.zip" installed, and I was having some connectivity issues so I wiped it and went for "NS6290-NIGHTLY.zip" from two days ago. Cleared data system dalvik as instructed. Bootloader is unlocked and TWRP is installed. After the script completed I rebooted the system and there's no video anymore. I was using an OTG cable to install the rom from a USB drive, but plugging it up to the power brick with the official cable (tried a new one) makes no difference, black screen / no signal.
[Fire TV Android Development] hasobist:
Hello!

Oh ,that's ain't good.

It happens sometimes,faced the same.

Personally did the following:

Presuming you installed the rom followed by Magisk.

If you have a linux based system or a VM(virtual machine),just run the exploit kamakari-2.0.1 as you've done the unlock need to do it again,no need to open the device.

Run the sudo ./bootrom-step.sh

Connect the stick ain't need to open

Once done to fastboot,that's when the script says booting to fastboot

Run sudo ./fastboot-step.sh

Once boot in recovery

adb shell

~# twrp wipe cache

~#twrp wipe dalvik

DON'T WIPE DATA and /SYSTEM

That's it disconnect the stick and connect to TV as you normally do.

Let it boot will take sometime and go through the OOBE and your done.

You can boot to grecovery in future through the Magisk app.

Hope it helps.......

Cheers!
[Fire TV Android Development] wkalamaras:
Thank you for this,

I was able to recover this with a few changes here,

I did have to open the device and short it for it to get detected on the ./bootrom.step.sh, then the fastboot.step.sh kept throwing this error

./fastboot-step.sh: line 5: 2059 Aborted (core dumped) fastboot flash recovery bin/twrp.img

fastboot oem reboot-recovery command kicked it into recovery and then the ADB commands succeeded. Appreciate the help here!
[Fire TV Android Development] Skel40:
Perfect! I forgot to mention to always flash the rom immediately after wiping the partitions before rebooting. Enjoy the NS6290 rom! I had to put in the services.jar, fosservices and others to get CLH to work which the NS6297 doesnt have yet
[Fire TV Android Development] hasobist:
Hello!

Oh ,you had to open,me lucky was able to do so without opening the device.

If you use the latest exploit from Unlock OP and instructions for sheldon unlock,you ain't need to open the device.

Running all the commands by opening a terminal in the katnis folder to stop system modem manager and then the bootrom and fastboot commands your good to go.

Nonetheless you recovered the device.

It's a work in progress,the Rom is smooth.

Thank you........

Cheers!
[Fire TV Android Development] oldboy88:
Hi,

I would like to activate the premium functions of the "TiviMate" app. To do this, I have to log into the app and then enable it in the companion app on my smartphone. However, the login process is in vain. It works fine on my Android TV device, probably some intended blocking in the image? Can this be?
[Fire TV Android Development] hasobist:
Hello!

Are you on unlocked bootloader?

Which version of firmware are you on?

What's the error message you get when you try login in the app?

Cheers!
[Fire TV Android Development] oldboy88:
Hi

I think, Bootloader is not unkocked, i connected to the firetv with Remote ADB Shell from my phone via IP on Port 5555, typing "adb shell" gave me

mantis:/ $ adb shell
/system/bin/sh: adb: not found
127|mantis:/ $

Firmware: Fire OS 6.2.9.7 Debloated Version 1.2 (NS6297/4655)

After login in with Credentials, it says "Please wait" for x minutes and then stops with "Login not possible, try again later"
[Fire TV Android Development] hasobist:
Hello!

Try deleting the cache,data and forcestop the app ,reboot and give it a try.

Hope it helps........

Cheers!
[Fire TV Android Development] oldboy88:
Unfortunately that didn't work, so I turned to an alternative. What I also want to ask: Can you further increase the response delay for TWRP? With an OTG mouse connected, I normally have 5 seconds to get to the TWRP menu, these 5 seconds, can I increase them in any config file?
[Fire TV Android Development] hasobist:
Hello!

Oh ,try an old version of the app,works for me.

Wonder why you need the grace of more to be raised to boot into recovery .

Developers feel and indeed 5 seconds is enough to trigger recovery mode,only if need be.

Cheers!
[Fire TV Android Development] Skel40:
I updated the Cleaner OS version 6.7.0.0 with a new OP. Switching in between this rom and the pre-rooted stock one is easy to do, reboot into TWRP, flash the zip, and your apps are back that I removed
[Fire TV Android Development] slash_2000:
Hello @Skel40, pls download link of debloated rom 6277/3033 rev 1.2.

Or can anyone repost the link pls.

Thx & Greetz
[Fire TV Android Development] Skel40:
I don't have the rev 1.2 available yet. I do have the stock one with no OTA: https://xdaforums.com/attachments/mantis-6-2-7-7-3033-rooted-r2-zip.5438607/
[Fire TV Android Development] Skel40:
I will soon. Please keep note of this before flashing 6.2.7.7 or lower. I flashed the pre-rooted 6.7.0.0 latest, wiped all partitions in TWRP and flashed the pre-rooted 6.2.7.7 and it fully bricked. Flash any stock bin rom 6.2.7.7/older only. Never flash stock 6.2.8.0-latest. This blows the efuse
[Fire TV Android Development] slash_2000:
many thx for the warning info and for the good announce, yes I got hard brick once while going back but don´t worry healed again. No efuse was blown and I ´m now on "old and gold" 6277/3033_r2 from you.

The deblaoted one will be of course more better but, is it possible if "AmazonSystemWebView" could be updated and installed as system file while flashing ?

Because the stock one is too old and creepy.

Grateful for the work, looking forward...
[Fire TV Android Development] Skel40:
12/4/23 Amazon WebView: https://d1s31zyz7dcc2d.cloudfront.p...be4046b/signed_AmazonWebView-debug-signed.apk
[Fire TV Android Development] Skel40:
I tried flashing the newer version of the AmazonWebView and it doesn't patch correctly. Only install the apk in system
[Fire TV Android Development] slash_2000:
thank u for the update apk , it works. ;)(y)

BTW, tried to flash NS6290-old-ui-fix.zip on 6277/3033_r2 as upgrade, but TWRP always says Zip File is corrupted .

Redownloaded and tried many ways but with the same error, also with full wipe or only /system, /cache, /dalvik.

Do i have to flash 6281_r2 + r3 first than your 6290 or something ?
[Fire TV Android Development] Skel40:
You're welcome. Thats strange. Try the 6.2.8.1 r3 rom new ui and try this zip of 6.2.9.0 old ui rev.
[Fire TV Android Development] slash_2000:
@Skel40

BTW, is the debloated rom 6277/3033 still WIP ?

Any ETA ?
[Fire TV Android Development] as_usual150:
Hi all, I tried to read nearly all pages but did not come up with a clear answer. I have a fire stick 4k 1st gen with 6.2.9.3 version. Is it possible for me to unlock or flashing firmware? Thank you.
[Fire TV Android Development] hasobist:
Hello!

Only the Firetv4K sticks on firmware 6.2.8.1 or older can be unlocked.The newer ones come patched perhaps can't be unlocked.

Cheers!
[Fire TV Android Development] oldboy88:
I am still on Fire OS 6.2.9.7 Debloated Version 1.2 (NS6297/4655) and quite happy! Perfect for pure SmartTube, IPTV, and VLC activities. Customized dashboard via Wolflauncher just the way I want it, and everything runs smoothly!

I have two questions if that's allowed: At a certain point, I could install Netflix, Disney+, Crunchyroll, and Paramount+ as APKs from APKMirror, but couldn't log in anymore. Is there any way to use these streaming apps, or is it challenging?

Secondly, I would like to know: Can I execute commands or .sh scripts on the Fire TV via SSH from a Raspberry Pi?

To be specific, I want to place the following script on the Fire TV, hoping to address the Pixel Display via Bluetooth with it: https://github.com/derkalle4/python3-idotmatrix-client

(Unfortunately, I can't directly use the Raspberry Pi due to the long distance, hence the idea of going through Fire TV)

Thank you very much in advance for any advice.
[Fire TV Android Development] hasobist:
Hello!

Wonderful to know all works flawlessly for you.

First part of the query:

The streaming apps available from the Appstore of the apps under question work well,

If third party apps the TV version of the app works well .Can find few apps also from the Aptoide store.

Never faced a login problem though.

Try different version of app,helps.

Second part of the query:

To run the .sh scripts personally use the Script manager with the options run on boot as root works well,if rooted.

That saves you from the extra addon of having to use the Raspberry Pi.

Cheers!
[Fire TV Android Development] toscanelli:
What is needed to restore display mirroring (screencast) functionality?
[Fire TV Android Development] hasobist:
Hello!

On the fire tv stick remote, Long Press the Home key > You will find 4 options > select mirroring or As an alternative you can go to settings > Display & Sounds > Select Enable Display Mirroring

Hope it helps.......

Cheers!