yashsingh1/xdaforums huggingface dataset:
[Fire TV Android Development] maaaatteo:
hi guys, i have a 4k fire tv with os 6.2.8.1 and basically i would like to be able to remote control the device with anydesk or similar.

what's your idea? i think that actually there isn't "no-root" method to give accessibility to this type of software, correct?

If so, unlocking and rooting the device would solve my problem?

thanks for support :)
[Fire TV Android Development] blaacksheep:
Well, there's Flakie's ADB GUI v2. That gives you sort of a remote desktop over ADB. Link
[Fire TV Android Development] murtzsch:
might not be appropriate but https://github.com/Genymobile/scrcpy is very useful
[Fire TV Android Development] blaacksheep:
Flakie's is just a GUI for ADB that also includes SCRCPY. :-)
[Fire TV Android Development] murtzsch:
oh i see, sorry I haven't looked at "gui for adb" before posting
[Fire TV Android Development] maaaatteo:
Thanks! Meanwhile I found a way that's perfect for me, rootless, as follows :

- using any desk in watch-mode only

- at the same time (with multiwindow on my smartphone) using firetv app for remote control

Hope this will be useful for others!
[Fire TV Android Development] Skel40:
I can confirm that updating only the tz image will blow an efuse without flashing the stock rom. The brom exploit won't even work on my already unlocked 4K anymore. I still have one more that works do be careful when flashing any type of image files and roms above 6.2.7.7.
[Fire TV Android Development] Sus_i:
If the OS is already stock, then yes ;)

The check-efuse script and the ewriter needs to be removed from the system, just with the TZ update or infront of it... Then, as you said, after the TZ update, it's neccessary to avoid any stock rom flash of 6.2.7.7 and later.

Thats why rbox provide the safe prerooted stock rom in the OP, easiest way to update/downgrade.

The stick should remain unlocked, even with a broken efuse, as long as the microloader is in place. Only BR access gets lost (i.e. unbricking via BR).
[Fire TV Android Development] SweenWolf:
Updating TZ will not patch your stick, I have one stick (only one) and that has the latest TZ, running on 6.2.8.1

If you somehow flashed stock ROM which blew the fuse earlier on.

You can still unlock your stick if your efuse isn't blown and TZ doesn't do that.

I flashed 6.2.8.1 right from 6.2.7.1 (or 6.2.7.3)

Even that setup was patched, efuse related stuff was removed and i patched boot also (which is responsible for blowing efuse on startup, not saying its the only one, but it runs that)

So i never had a efuse writer stuff on my system.

[EDIT] I also want to add

As mentioned in the OP if you have updated the TZ and then flash any stock rom with efuse in it, it will definitely blow the efuse on boot up.
[Fire TV Android Development] Skel40:
That's what I exactly did while unlocked since I bought two total and one to mess up and test
[Fire TV Android Development] XDAUsernewbigone:
Hello, how can i update from 6.2.7.7 to 6.2.8.1_r2 without lost all settings (Wolf Launcher, Apps, Screensaver, Debloat, Root, Magisk...). Because Amazon Prime Video show Error 8056.

Greets and big Thanks
[Fire TV Android Development] Skel40:
It'll overwrite debloating. I posted the prime video update so you don't have to upgrade versions.

Prime Video APK: https://xdaforums.com/t/prime-video-fire-tv-apk.4315163/
[Fire TV Android Development] XDAUsernewbigone:
Great, thanks man. I will try the Prime Video Update. But If i want to Update Firmware, how can i do this without lost all settings? Greets
[Fire TV Android Development] Skel40:
Use TWRP and backup system image, vendor image, data and boot to a safe location
[Fire TV Android Development] XDAUsernewbigone:
OK, and after i backup this Files with TWRP, i flash the full July 17, 2021 - 6.2.8.1_r2 Firmware and restore the Backup Files? I have to remove some efuse Files first? With your Prime Video App Update the App works again. Greets and again big Thanks for Help.
[Fire TV Android Development] rukamesmo:
Can someone tell me how to flash gapps on this cause I try many ways and I can't I have root and on 6.2.7.7 I did it now I'm stuck
[Fire TV Android Development] blaacksheep:
Are you sure you want Gapps on your Firestick? I mean we're talking about an SBC with less than 6GB of available storage space on it. It already has enough Amazon crap on it to keep it busy and you want it to maintain Google's infrastructure too? Plugging into a USB hub and adding an SD card for storage is adding a very slow drive. It's only a USB2 port. I would rethink this.
[Fire TV Android Development] rukamesmo:
Can someone tell me how to flash gapps on this cause I try many ways and I can't I have root and on 6.2.7.7 I did it now I'm stuc

For apps produce in Iceland only on Google store
[Fire TV Android Development] 0815hoffi:
Gapps

View opengapps.sh file for install guide
[Fire TV Android Development] blaacksheep:
I'm sorry, I'm just a minimalist. I try to sideload any apps I put on mine and not add more services and stuff.
[Fire TV Android Development] rukamesmo:
Thanks it's perfect I was just hoping I could.
[Fire TV Android Development] rukamesmo:
I'm noob but I will try thanks
[Fire TV Android Development] 0815hoffi:
Download this files:

gapps-config.txt

open_gapps-arm-7.1-tvmini-20210406.zip

update_katniss-2.2.zip

update_katniss-4.5.zip

# adb shell mkdir /sdcard/opengapps

# adb push gapps-config.txt /sdcard/opengapps/

# adb push open_gapps-arm-7.1-tvmini-20210406.zip /sdcard/opengapps/

# adb push update_katniss-2.2.zip /sdcard/opengapps/

# adb push update_katniss-4.5.zip /sdcard/opengapps/

# adb shell reboot recovery

# adb shell twrp install open_gapps-arm-7.1-tvmini-20210406.zip

# adb shell twrp install update_katniss-2.2.zip

# adb shell twrp install update_katniss-4.5.zip

# adb shell reboot
[Fire TV Android Development] rukamesmo:
Thanks a lot
[Fire TV Android Development] bird333:
Version 6.2.8.1_r2 has the new interface correct?
[Fire TV Android Development] 0815hoffi:
Yes
[Fire TV Android Development] Lei_Wulong:
A question for the sake of better understanding: is the pre-rooted image simply the stock image + magisk or is something else done with the actual image?
[Fire TV Android Development] mrsweet1991:
An odd request but how can I get back to completely stock? I did a factory reset but TWRP kicks in automatically on restart and does something to prevent it (recovery) being overwritten. It's developed some random issues so I'm sending it back to amazon so it would be nice to get it back to completely stock but I can't seem to find any stock firmware images.
[Fire TV Android Development] SweenWolf:
It also removes some files from your system so that your efuse doesn't blow up, which is responsible for disabling the exploit and you can no longer unlock your stick after that.

You can make it stock, but the thing is you will not be able to Root you stick again becuase all the new stick comes patched from the factory.

If your system isn't running properly try wiping everything and reflash rbox prerooted rom (r2)
[Fire TV Android Development] mrsweet1991:
Interestingly it solved all my issues with the random freezing, it even states on the latest version that something was updated to stop the freezing from license issues or something which must have been what was wrong with mine as I literally flashed the stick the first week it was rooted and have never touched it since
[Fire TV Android Development] monktweet:
first thanks for all the hard work!

is it possible to re-upload 6.2.7.1_r1? i want to play around with the audio passthrough wich has been restricted ever since (possbile to unlock this again in a future release?).

grtz.
[Fire TV Android Development] 0815hoffi:
firestick-loader/roms/stick-4k/6.2.7.1 at master · esc0rtd3w/firestick-loader

Scripting To Root, Downgrade, Load Apps & More For The FireStick (montoya), FireStick2 (tank), and Firestick 4K (mantis) - esc0rtd3w/firestick-loader

github.com
[Fire TV Android Development] monktweet:
thank you, that place i didn't look ;-)

any possibility that passtrough will be possible in future releases?
[Fire TV Android Development] Giuseppe 1971:
Hello monktweet, have you installed the 6.2.7.1_r1 downloaded from this page: https://github.com/esc0rtd3w/firestick-loader/tree/master/roms/stick-4k/6.2.7.1 ?

Is Prime Video working or it asks an update?

I'm presently using the fw 6.2.7.6 with root (for avoiding the passthrough problems) but I cannot open Prime Video.

Edit: problem solved thanks to the help of the user Sus_i, I needed to install an updated version of Prime Video found here: https://xdaforums.com/t/prime-video-fire-tv-apk.4315163/
[Fire TV Android Development] fourlans:
I installed mantis-6.2.8.1-rooted_r2.zip using twrp and now I'm unable to boot into recovery. It displays 'no command'. Can anyone tell me what I need to do so that I reboot into recovery/TWRP ?
[Fire TV Android Development] SweenWolf:
Seems like you no longer have TWRP, if your screen shows no command with a green android then thats stock recovery.

I don't know how it happened but if thats the case you might have to unlock the stick again.
[Fire TV Android Development] fourlans:
Thank you for your prompt response and advice.

I've attached a photograph of the screen after I attempt an 'adb reboot recover'. No green Android!

No response to any of the buttons on the Controller except the on/off button which causes a normal reboot of the stick.
[Fire TV Android Development] SweenWolf:
That is the stock amazon recovery, you have lost your TWRP, and i think your efuse is blown too.

You WILL have to unlock the stick again by shorting it. (If you are lucky and have your efuse intact)
[Fire TV Android Development] fourlans:
I'll try the unlock again and report back.
[Fire TV Android Development] nomobytes:
Another system update is on the way - (NS6281/4054)

update-mantis-diff-NS6281_3385_0005604456836-to-NS6281_user_4054_0005940172420.bin

Fire TV Device and Accessory Software Updates - Amazon Customer Service

Fire TV devices and paired accessories automatically download software updates when connected to the Internet.

www.amazon.com
[Fire TV Android Development] Skel40:
I wouldn't get too excited for this system update. Once you update to that version before the full ota image is released, you blow an efuse
[Fire TV Android Development] nomobytes:
Full image -

https://d1s31zyz7dcc2d.cloudfront.net/d532a03ab695aa8e202ac929ae48517f/update-kindle-mantis-NS6281_user_4054_0005940172420.bin
[Fire TV Android Development] Skel40:
That was quick. Thanks again
[Fire TV Android Development] nomobytes:
Warning: Don't flash this stock image! It's just for reference for @rbox and other stakeholders. See the op for the full warning.
[Fire TV Android Development] dennis148:
works fine for me!

is there any way to debloat and still use prime video and replace launcher with leanback launcher?
[Fire TV Android Development] Skel40:
Here's the new pre-rooted image for 6.2.8.1_4054 with patches to completely remove ota updates and the accessibility mods are working! This is safe to flash in TWRP:
[Fire TV Android Development] rpmuploads:
Could someone provide the mantis pre-rooted for OS version 6.2.7.1?

It is no longer available at the link indicated the first post.
[Fire TV Android Development] nomobytes:
@rbox , Despite the warning, I installed this stock image as is from TWRP, then mounted /system, removed efuse.sh and ewriter from /system/bin, reinstalled Magisk, then rebooted. Is this procedure safe from blowing the efuse? Is there an easy way to test using ewriter? I was coming from the @rbox -prepared most current prerooted image. @Skel40, @Sus_i @SweenWolf, @Pretoriano80 @k4y0z what do you think?
[Fire TV Android Development] SweenWolf:
If you removed ewiter then you should be good to go. That is the file responsible for blowing efuses. But you should know amazon can add some other files to do the same thing. So keep an eye on these folders and check for any added files also.
[Fire TV Android Development] nomobytes:
Thanx for your response.
[Fire TV Android Development] SweenWolf:
Did you notice any changes on the stick? Like some function or apps.

If not then i will just wait for 6.2.8.2 and patch the files once again.
[Fire TV Android Development] nomobytes:
I haven't noticed any functional changes, but a fair number of apps have been updated since the intial 6.2.8.1 rollout.
[Fire TV Android Development] puppinoo:
Can anyone provide the mantis pre-rooted for OS version 6.2.7.6? I got a new OLED tv and I heard Amazon broke audio codecs since the 6.2.7.7 (which is the one I got on my stick) and since then the audio is transcoded and not correctly passthrough.

Thanks.
[Fire TV Android Development] Skel40:
That means you now blew the efuse if you flashed the stock image with the stock script. I checked the script from 6.2.8.1 and saw efuse scripts that end up blowing an efuse regardless if you removed ewriter and efuse files. My 4K's efuse is blown because of this so I highly recommend only flashing pre-rooted roms containing no efuse scripts and files. Try unlocking again and tell me if that works.
[Fire TV Android Development] nomobytes:
Why would I need to unlock when I am already unlocked, rooted with Magisk, and have access to TWRP? I think you are mistaken about my efuse status. When and how do you believe that my efuse is blown, and why should I care since I am already unlocked? When would ewriter have blown the efuse if I removed it in TWRP recovery, immediately after flashing /system, before ewriter could execute? I'm not sure we are all in agreement with you on this. But that's why I asked. Also, ewriter has a read efuse function to test for blown efuses, presumably, as we can see from the efuse.sh script. Does this make any sense @Skel40 ?
[Fire TV Android Development] Skel40:
I'm not taking this as a criticism as I forgot to mention this from my post. It burns after rebooting. You don't need to unlock if you don't want to. I'm not telling you that you need to unlock again which is my fault on my part. And yes it does make sense what you're saying.
[Fire TV Android Development] Sus_i:
Here is the stock one, flash magisk behind it and it is prerooted. ;)

There isn't any efuse-burner-stuff in the ota-file (only 6277 and up).

https://d1s31zyz7dcc2d.cloudfront.net/fafaa562a37ab6b8dad1d31cd297185e/update-kindle-mantis-NS6276_user_2933_0004396381572.bin
[Fire TV Android Development] puppinoo:
Thanks,

I should mention I already tried that link but it doesnt work for me. Actually I can't reach any https://d1s31zyz7dcc2d.cloudfront.net/ link anymore since a few weeks.

Pino.
[Fire TV Android Development] Sus_i:
The link works fine from here... Maybe there are some URLs blocked in your router?
[Fire TV Android Development] puppinoo:
I feel so stupid. I blocked the Amazon update urls in my dnsmasq config and completely forgot.

Thanks a lot.
[Fire TV Android Development] nomobytes:
Currently, ewriter 0 0 1 returns with

mantis:/data/local/tmp # ./ewriter 0 0 1
efuse hex:
00
status code = 0, which means "eFuse is ok."

So I assume that I could invoke the exploit (mtk_phone mode) if I had to. Also I continue to block updates most of the time, unless I'm checking for system components/os updates.
[Fire TV Android Development] Skel40:
What is the adb command to check the efuse?
[Fire TV Android Development] nomobytes:
First ewriter needs to be copied to an executable directory, with appropriate permissions, then execute as I showed above- ewriter 0 0 1. You need root so shell into terminal, su to root, or run it from twrp recovery with both /system and /vendor mounted.
[Fire TV Android Development] Skel40:
I have 6.2.7.1 with OTA patches:

https://xdaforums.com/attachments/6-2-7-1-2493-zip.5439805/
[Fire TV Android Development] Kramar111:
@rbox

can you add new prerooted image for https://xdaforums.com/t/fire-tv-sti...stock-images-6-2-8-1_r2.3983091/post-85725921 ?

P.S. Last post from rbox was Jul 18, 2021 :( Last seen Sep 27, 2021

Is something happened?
[Fire TV Android Development] rbox:
I updated the OP with 6.2.8.1_r3
[Fire TV Android Development] Skel40:
Does anybody have 6.2.3.2 NS6232/1268 launch day .bin?
[Fire TV Android Development] Sus_i:
Nope, I guess. Without root back then, there was no way to force the stick to pull a full update.

So the earliest full aviable is probably this:

https://d1s31zyz7dcc2d.cloudfront.net/2285ffcf6b3703aa80986115f713329a/update-kindle-mantis-NS6264_user_1995_0002449984388.bin
[Fire TV Android Development] ilavu:
Hello Friends,

It's been a long time to XDA. I have one fire stick 4k with debloted rom (ftvs4kdebloated_6.2.7.3_V1.zip) installed and working good but not the prime video. Is this rom can be installed via TWRP to update? Any special step need before or after? I dont want to brick.

Thanks
[Fire TV Android Development] dennis148:
i disabled all amazon services that dont break any essential functions. now i have some blank rows in my homescreen where usually would be some ads. any recommendation for a nice permanent launcher replacement? google tv would be awesome ;)
[Fire TV Android Development] dennis148:
next step: uninstall these services to free up some space and maybe install gapps
[Fire TV Android Development] Skel40:
Here's my downgraded roms with OTA patches to completely remove software updates from updating if you want to update which is found here:

https://xdaforums.com/t/fire-tv-sti...2-7-7-3033-6-2-7-6-2933-6-2-7-1-2493.4350635/

Here's the Prime Video APK if yours is having issues:

https://xdaforums.com/attachments/pvftv-27-1617-l-apk.5384909/
[Fire TV Android Development] nomobytes:
@rbox here's the latest from Amazon -

https://d1s31zyz7dcc2d.cloudfront.net/e7a9021b6760946b3ac75ff3a312c89b/update-kindle-mantis-NS6281_user_4061_0005940174212.bin

Guys, can we limit this thread to @rbox prerooted firmware/issues for the mantis 4K. Thanks in advance.
[Fire TV Android Development] Sus_i:
1. Magisk = systemless root & interface. Take a look here

2. Nope
[Fire TV Android Development] c3po_droid:
Thanks [MENTION=5213625]Sus_i[/MENTION]

So that means it is indeed a not rooted "pre-rooted" rom haha... Weird though.
[Fire TV Android Development] Sus_i:
You see, Magisk installs root not in system, i.e. systemless.

Thats the reason you have to install Magisk after the prerooted Rom (which just flashs only a new system & Magisk isn't in there).

But if you decide to do prerooted updates later, the prerooted Rom keeps your Magisk install during every update.
[Fire TV Android Development] vanzan:
Hang on did I mess up? I installed rbox's rom but the first thing the stick did on boot was download an update! Not sure what the difference this is between what I had. I had the previous rom rooted.
[Fire TV Android Development] hyperblu:
Sus_i, I received my new 4k stick a little bit ago and wondered if you could clarify on some things before I proceed. On both the 4k stick and my rooted ftv2 both went into bootloop and hard bricked them after installing magisk from twrp. On the 4k stick, I ran the exploit, installed magisk via twrp, on bootup it wanted to update magisk and mistakenly allowed it while within fireos. Attempting to reflash the exploit, I broke the board.

Switch to my ftv2 and attempted to update to the latest prerooted rom, which went fine, installed magisk via twrp and cleared dalvik and hard bricked it also.

So now I have a brand new 4k stick I got for $7.

What sequence should I be doing everything as far as after I run the exploit, what should I wipe afterwards, and what cache should I be clearing so this doesn't happen again?

---------- Post added at 12:50 AM ---------- Previous post was at 12:48 AM ----------

This is because I believe rboxs prerooted rom was the last full update, not a partial update. You ran the prerooted rom and it immediately started downloading the partial update from Amazon. Disable updates.
[Fire TV Android Development] vanzan:
So was there any way I could have prevented that initial partial update?
[Fire TV Android Development] extrem0:
Sorry but I don't get it. This is the first time I'm dealing with an amazon device. I've already unlocked my fire tv stick 4k bootloader but I didn't do anything else. What's the purpose of this ROM? Is it to fix any issue in case of soft bricking? The country I live doesn't support prime when using a fire tv stick 4k, but it does if I use the 2nd gen fire stick. Flashing this ROM would make it work?
[Fire TV Android Development] hyperblu:
Disable the update service via adb after installing root or block the host via your router.
[Fire TV Android Development] vanzan:
Have you done this? Because I can't get to enable debugging without going through the update. Also if I block the host won't that also prevent me from logging into my Amazon account?
[Fire TV Android Development] hyperblu:
In your case you would block the update service, find and delete the update.bin file before it has a chance to install on the next reboot or sleep session. It's been a while since I've had to do it, so sorry I couldn't be of more help. As far as blocking the update host via DNS blocking, it will only affect updates, not logging into Amazon or account info. Updates come strictly from a specific host.

---------- Post added at 02:20 AM ---------- Previous post was at 02:17 AM ----------

If I'm not mistaken you would adb the update block while USB debugging. You should not need adb debugging enabled with a physical USB connection.
[Fire TV Android Development] vanzan:
Complete disaster. No matter what I did I couldn't get past the initial software update. I couldn't use adb (must be because debugging isn't enabled like I said). I blocked the update urls but I kept getting an "update error" whereupon I hit the back button and it would result in the same error message again.

I kept messing about and eventually it was back in TWRP appyling the partial update. Foolishly I cut the power. No the stick won't boot....the black background with white text of Fire TV appears and keeps looping. Going to bed now as it's 4am.