yashsingh1/xdaforums huggingface dataset:
[Fire TV Q&A, Help & Troubleshooting] stefss:
I do this to root my firestick: https://xdaforums.com/t/unlock-root-twrp-unbrick-fire-tv-stick-4k-mantis.3978459/

I succeeded, but i also wanted to disable OTA and install Magisk. So i watch this tutorial: https://miguelmota.com/blog/rooting-a-fire-tv-stick-4k/

But, i stuck in page when i need to: # adb devices and # adb shell.

Advices??

I also have a question, can i check if bootloader if unlocked?

Also, what i want now is to have custom launcher or custom rom and to enable ntfs and exfat support. Do i need root for this?

View attachment 5146395

How to check is twrp installed?

Also, can i now assemble firestick?
[Fire TV Q&A, Help & Troubleshooting] Bertonumber1:
@stefss Hello my friend, Everything is looking good this is normal, you are in twrp within shell (root only becomes available once you install your rom)

TWRP is waiting commands

So.... what we do next is tell him..

Type : exit

adb push /path/to/pre-rooted mantisrom /sdcard

adb push /path/to/Magisk-v21. 1.zip /sdcard

Then you do

Type :

adb shell

You'll see the # sign appear again

Then type:

twrp wipe data

twrp wipe /system

twrp wipe dalvik

twrp wipe cache

Then you're ready to install your rom & Magisk

Type:

twrp install (copy/paste name of Rom.zip)

twrp install Magisk-v21.1.zip

Your stick will then install whatever rom and then flash/update magisk.

Next you goto main Twrp screen and select Reboot system

Then sort magisk permissions and enable adb when you have completed registration process.

go back to terminal/command prompt and

Type :

adb shell

su (accept permission, you may have to go into magisk and select the toggle for shell if you cannot navigate to "grant" on the popup)

Then we want to

Type :

pm disable com.amazon.tv.forcedotaupdater.v2

pm disable com.amazon.device.software.ota.override

pm disable com.amazon.device.software.ota

This disables ota updates

Regards
[Fire TV Q&A, Help & Troubleshooting] stefss:
Thank you, i turn off everything, i will turn on again.

But i am confused, where to start right now?

So i will just start to type in command?

adb push /path/to/pre-rooted mantisrom /sdcard

adb push /path/to/Magisk-v21. 1.zip /sdcard

Or something else? Sorry my english is not perfect so i want to be sure.

Can i assemble firestick now?
[Fire TV Q&A, Help & Troubleshooting] Bertonumber1:
Turn on and type adb devices

If stick shows up (it probably won't) type adb reboot recovery

If normal amazon loads up activate adb in developer options then type above.

Failing that if rom doesn't boot you will need OTG cable to access recovery, just plug otg into stick and use a mouse to cancel boot and reboot to recovery

Then follow my instructions as per above (last post)
[Fire TV Q&A, Help & Troubleshooting] stefss:
I do this, and i install magisk, but i dont see there is twrp?
[Fire TV Q&A, Help & Troubleshooting] Bertonumber1:
Did your device boot to fireos normal Rom, once you've enabled adb and accepted pc permission you should be able to type, adb reboot recovery and device should goto twrp recovery. You have to boot into TWRP using commands it won't appear on your fireos rom anywhere

When you get to twrp don't switch the device off as this causes (in most cases) the device to brick.

So where are you at now? What is on

your screen

Also note you don't have to use the fireiso kamikiri anymore now that exploit is done, a simple shell or terminal will suffice from your normal windows/linux with adb installed ofc
[Fire TV Q&A, Help & Troubleshooting] stefss:
My device boot to fire os normal. But i see magisk app.View attachment 5147291
[Fire TV Q&A, Help & Troubleshooting] Bertonumber1:
This is perfect, you can up date the magisk app if you have Internet connected. NEVER UPDATE THE ONE WITH THE TICK VIA THE APP. OK (You have to download the newest zip 21.1 and flash via twrp or you will brick device if you try to update from the app) so update magisk app (you may need to goto manage installed applications and give magisk "allow" permission) then you want to goto adb in settings developer options, enable adb and apps from unknown sources, reboot and enter adb on your pc again (terminal/command prompt) and let stick boot up then type adb reboot recovery.

After you do this

You can then follow the instructions to push a pre-rooted rom and Magisk 21.1.zip to the stick /sdcard remember? adb push nameofyourrom.zip /sdcard

And adb push Magisk-v21.1.zip /sdcard

Then when your in twrp

adb shell

twrp wipe cache

twrp wipe data

twrp wipe /system

twrp wipe dalvik

Then

adb shell

twrp install nameofyourrom.zip

twrp install Magisk-v21. 1.zip

twrp wipe cache

twrp wipe dalvik

reboot
[Fire TV Q&A, Help & Troubleshooting] stefss:
But how to flash via twrp if i cant see twrp?

And how to flash apps with twrp?

I download zip on firestick, but what to do next?

What i exactly need to write in adb?

adb devices and the adb reboot recovery?

I want to install this, but i am not sure how exaclty to do this:

https://xdaforums.com/t/magisk-module-amazon-firetv4k-ntfs-f2fs-ext4-exfat-otg-support.3991981/

Again, sorry but my english is not perfect so i want to ask about everything a couple of times to be sure that i will not make a mistake.
[Fire TV Q&A, Help & Troubleshooting] Bertonumber1:
Yes you can do the addons later but first you have to get the basics done.

Once you have granted magisk the permission in installed apps and enabled developer options/unknown sources. All you need to do is connect to your stick by plugging the USB end into pc and type adb devices. Then a screen will popup, accept the request, (you may need to open magisk and allow shell root permission on the little shield at bottom of magisk app)

When you have done this and flashed your new pre-rooted rom or whatever.

Then we can worry about atv addons magisk modules.

So once you've done the above you want to open up a command prompt and type adb reboot recovery. You have to do this to get into the twrp GUI. Then you can install whatever you want but please note you will only see TWRP when you do what I've said

1. From fireos goto settings>my firetv >developer options> enable adb/unknown sources

2.open your terminal/command prompt on pc and make sure your firestick is plugged into a USB on pc

3. Type : adb reboot recovery

4.your device should now reboot to twrp, first wipe the stick data dalvik cache system from advanced wipe.

5. In twrp if you have downloaded the rom/magisk to stick then goto install>downloads>nameofyourrom

6. Repeat the same process if you've downloaded magisk 21.1.zip there too

7.if you have pushed step 5/6 to /sdcard then they should be there as soon as you select install in twrp.

8. Install the zip files.

9. Wipe cache dalvik if you want

Everything you need to do is in my posts mate, read over them and you shall succeed;)
[Fire TV Q&A, Help & Troubleshooting] stefss:
I messed up with something, i almost finished, and go to twrp wipe dalvik, and then to adb shell, and i get

error: adb not found. I try a couple of times, and i still get same message, so i wanted to reboot and start again, but now i am stuck in fire tv logo, help?

For now i just want to update magisk, next tim, when i do this, i will try to do other things.

Help?

View attachment 5147335
[Fire TV Q&A, Help & Troubleshooting] Bertonumber1:
Did you reboot twrp after you wipe? You have to install pre-rooted rom first mate that's why I didn't write "reboot" until the end of instructions. If you reboot the stick without an installed rom the device will brick.

What exactly did you do tell me step by step?

My instructions must not be clear enough or there is language misunderstanding I do apologise for this.

But we will fix it is easy to fix

Try typing : adb reboot recovery once more

You have to understand TWRP isn't an app as such you can access on the rom via menus.

Twrp is a recovery that the unlock process flashes to the stick to enable you to install roms etc.

In order to access TWRP you have to follow those instructions in the post #8 above this one to the letter.

If adb reboot recovery doesn't work for you

Try an OTG cable and mouse to enable recovery menu and select cancel to goto twrp.

If these steps fail then you'll have to do the short method again (which probably would've been quicker).

Once you do the short again via FireISO and get to twrp DO NOT REBOOT TWRP UNTIL YOU HAVE PUSHED ROM AND LATEST MAGISK TO SDCARD AND HAVE INSTALLED AS PER POST#2 (I'm not shouting I'm simply stressing how important this is) I cannot stress thatEnough I have bricked devices many times myself. But you will get this sorted mate once you get the hang of the commands :)
[Fire TV Q&A, Help & Troubleshooting] stefss:
You dont need to apologize, its my bad.

The problem is adb just dont recongnize my firestick, so i get mouse i try to wipe.

View attachment 5147359

But still problem its the same. Its still stuck in fire tv logo.

I want to clarify what i want. Because i dont find any custom rom that i want, i want to install custom kernel, this:

https://xdaforums.com/t/kernel-firetv-stick-4k-custom-kernel-for-aftv-4k-6-2-7-6.4005087/

And later this: https://xdaforums.com/t/magisk-module-amazon-firetv4k-ntfs-f2fs-ext4-exfat-otg-support.3991981/

And later when finish this to add custom launcher, and basically thats all.
[Fire TV Q&A, Help & Troubleshooting] Bertonumber1:
@stefss Yes you are in twrp, you have selected all the correct boxes now slide the slider to wipe,

once you have done that goto twrp main screen (don't reboot, just use home icon or back icon) and then select install

If you have the rom and magisk zip files on the stick /sdcard already select and install by sliding the slider again.

Then wipe cache and dalvik

You wil see twrp screen saying installing

system img

Installing vendor image

(this takes about 90 seconds and then magisk will flash straight after it flashes amazon prerooted rom)

Then when you are sure it's installed

Reboot

Ps I would not mess with kernels etc until you have learned some more about terminal/ adb processes we all have to start somewhere buddy. If you note the developer has basically slapped a warning on this Addon as it can/may cause your device damage. This kernel adjustment is only if you choose to use a particular addon and can cause serious problems to your device if you don't know what you're doing. I'd stick with prerooted rom just now until you learn the mechanics of the root/adb/terminal integration and how the fireos/bootloader etc works. That's just IMO though it's your device
[Fire TV Q&A, Help & Troubleshooting] stefss:
But i dont want any rom to install. I install magisk 21.1 from TWRP and now just want to back to normal and then install kernel and launcher.

The problem is i cant install anything because i cant connect with adb, so i cant add new things to firestick now. Maybe i can put usb drive and than install from it? Just add kernel to usb drive and then install from twrp?

Will this fix things?
[Fire TV Q&A, Help & Troubleshooting] Bertonumber1:
No

No, you are missing what I am saying. TWRP is what installs everything here, adb is only used to convey the files to TWRP. So forget about everything and focus on using TWRP to install your Prerooted mantis rom(you have to do this first)

Twrp is Used to install roms, zips such as magisk and we need to use this to install rom and magisk OK?

You have just wiped your stick so you must push a prerooted mantis rom to your stick along with latest magisk and install those if you want to do anything

A failure to do so will result in a possible brick (again) :)

to do that if you have a USB hub to plug into otg cable so you can maybe put your mantis rom and magisk onto that and select external storage and just install that way to skip adb pushing?
[Fire TV Q&A, Help & Troubleshooting] stefss:
So i must find a prerroted rom to install?

Do u have suggestions? Do u know any with custom launcher?
[Fire TV Q&A, Help & Troubleshooting] Bertonumber1:
Download this https://www.mediafire.com/file/8pe6v9n3wvqipbx/mantis-6.2.7.1-rooted_r1.zip/file

This is the latest

Install this and magisk latest then we'll install launcher OK?

Let me know when you've rebooted and completed the registration process, and have enabled adb debugging/apps from unknown sources in settings.
[Fire TV Q&A, Help & Troubleshooting] stefss:
I was thinking to instal 6.2.7.3 this?

Because its removed all apps i dont use.

https://xdaforums.com/t/fire-tv-stick-4k-mantis-debloated-rom-6-2-7-1-93-6-2-7-3.4084947/
[Fire TV Q&A, Help & Troubleshooting] Bertonumber1:
Yeah sure go for it, it's your stick mate, I'm only advising what to do to get you up and running.

Just be sure to follow skel40 instructions for the Debloated 6.2.7.3 Twrp install ie wipe cache, system, dalvik etc etc
[Fire TV Q&A, Help & Troubleshooting] stefss:
I just lose nerve, i dont know what to do.

I put rom u told me to usb drive and put to stick and try to find with file manager to install. But i cant find location of my usb drive.

I just go to factory reset and hope this will fix it, but no, still the same, everything is the same!

How to see my usb drive in twrp?

I will probably must do all again, right now i hope i will just revive fire stick.
[Fire TV Q&A, Help & Troubleshooting] Bertonumber1:
No you have to goto mount storage first and select USB otg and install from there. You yourself stated you wanted 6.2.7.3 and decided to go for 6.2.7.3 not the rom i told you to go with which is proper stock rom albeit rooted but untouched otherwise

I'm only advising what to do, its your decision at the end of the day mate.

So basically everything required is on all these posts I've been writing, if you don't want to follow them and try to cut corners to install stuff that's apparently way over your head. Don't spit the dummy tit out, keep focused and try again you will get it.

I struggled with this a couple of months ago, now I've probably done around 80-100 Sloane, mantis, tank devices.

You need to follow carefully, one slip or missed instruction and it's brick city.

You have two choices you can goto Twrp either by using otg mouse or adb reboot recovery from a terminal.

Once you have roms (either on the stick or on USB stick on hub, you have to mount whatever storage you wish to use in "mount") Just install by either using the mouse or the twrp commands I have listed above.

I can't fathom how the rom is not installing.

From Twrp

Goto where you have the rooted rom and magisk either sdcard or USB otg. If otg "mount" otg

Got install and select the rom>add more zips > Magisk-v21.1.zip

Swipe the slider to install

You'll see them install

Wipe cache, dalvik if you wish

Reboot system
[Fire TV Q&A, Help & Troubleshooting] stefss:
i mount usb drive but twrp dont find it.
[Fire TV Q&A, Help & Troubleshooting] Bertonumber1:
Is it formatted fat32 it has to be formatted to that then place files onto it. You can do this with minitool partition wizard or some other disk formatter.

Do that (leave twrp where it is)

And then reattach USB and remount.

We're getting there slowly just jeep it together. Nearly there :)
[Fire TV Q&A, Help & Troubleshooting] stefss:
I want to say you, thank you for you help all day long!!!!!

USB drive is formatted at fat 32, this is the reason why its strange for me. I dont know why, i try again, but twrp dont recognize my usb drive.
[Fire TV Q&A, Help & Troubleshooting] Bertonumber1:
No problem, wel we just have to push the files with adb

So you're going to have to disconnect otg and just push the pre-rooted rom and magisk (haven't you got these already downloaded on stick (they should still be in downloads/sdcard)

If you can navigate to sdcard folder> downloads and check for the files before you disconnect the otg cable and reboot to twrp????

We can then do :

twrp install mantis-6.2.7.1rooted-r1.zip (or name of zip)

twrp install Magisk-v21. 1.zip

Have you tried this
[Fire TV Q&A, Help & Troubleshooting] stefss:
I go to sd card but its empty, download page dont exist, its only twrp folder.

ADB from pc dont work.

I type: adb devices, and pc dont find firestick.
[Fire TV Q&A, Help & Troubleshooting] Bertonumber1:
That's really strange do you still have otg cable plugged in? Stick won't find pc if otg is plugged in

Please don't tell me you've had otg plugged in the whole way??
[Fire TV Q&A, Help & Troubleshooting] stefss:
i will take of utg cable now and i will told u in minute.

I have rom and magisk in usb drive, i will them in pc, what i need to type to put them to firestick and then to install?
[Fire TV Q&A, Help & Troubleshooting] Bertonumber1:
If the otg cable was plugged in the whole time that's why the commands weren't going through.

All you need to do is let stick boot and type adb reboot recovery then with the files on your pc adb push them to stick (otg wil prevent this)

So just make sure you adb push nameofrom to /sdcard + adb push magisk to sdcard

If you have files (example) c:\downloads\mantis rom then

Type adb push c:\downloads\mantis rom (you can also just drag the file into command window after adb push (leave a space) and it will enter the path, that's easier way) don't forget to leave space after mantis romxxzip and type /sdcard

Do the same with magisk

You should be good to go then m8
[Fire TV Q&A, Help & Troubleshooting] stefss:
I take off otg cable, and turn on direct to pc, and type: adb devices.

Pc dont find nothing. I try a couple of times and somethimes i get window: Mount Failed.
[Fire TV Q&A, Help & Troubleshooting] stefss:
I now try try type adb reboot recovery and get: no devices found

But i see when i plug fire tv to tv that icon appear.
[Fire TV Q&A, Help & Troubleshooting] Bertonumber1:
You are in kamikiri fireos so type pacman - Sy fastboot

Then pacman - Sy adb

This will update adb and fastboot

Try adb pushing again and if no luck

ReBoot your pc back to normal os (it should not stop power to stick if you only restart) and run adb from command prompt/terminal and push the files.

This has got to work if it doesn't then I don't know what else it could be @Sus_i any ideas here mate?
[Fire TV Q&A, Help & Troubleshooting] stefss:
On pc i get: adb is not recognized as an internal or external command.
[Fire TV Q&A, Help & Troubleshooting] Bertonumber1:
OK forget FireISO and booting from USB and go back to your normal installation on your pc, do you have adb installed on your normal pc installation, like when you open a command prompt and type adb devices does it show the stick on windows or whatever your normal os is? ?
[Fire TV Q&A, Help & Troubleshooting] stefss:
No, i just type: adb devices on windows 10

Nothing found.
[Fire TV Q&A, Help & Troubleshooting] Bertonumber1:
It would be good to download and install adb platform tools here :

SDK Platform Tools release notes | Android Studio | Android Developers

Android SDK Platform-Tools is a component for the Android SDK.

developer.android.com

And install on Windows. Then you can run adb instead of from a USB , because booting live from USB FireISO isn't a permanent install it is prone to problems like we're facing.

So we do this way and it should work.

Extract the zip to your desktop or somewhere easy to reach and place your rom and magisk in the platform tools folder along with the adb and fastboot files.

Once installed you run :

adb reboot recovery

If you still cannot get files to send then I would be looking at replacing the cable/trying another USB drive formatted to fat32, you must be missing something here as you were in twrp. If you had downloaded the files to install they should have been there displaying as zips ready to be flashed...

So we've trouble shooted every software aspect.

It's got to be hardware related
[Fire TV Q&A, Help & Troubleshooting] stefss:
I install this, but pc dont find firestick.
[Fire TV Q&A, Help & Troubleshooting] Bertonumber1:
Try just typing

adb reboot recovery

What is the tv screen saying where stick is plugged into, are you stuck on boot logo?
[Fire TV Q&A, Help & Troubleshooting] stefss:
i stuck in fire tv logo.

adb reboot recovery dont work.
[Fire TV Q&A, Help & Troubleshooting] Bertonumber1:
OK try typing

adb reboot recovery

Really need @Sus_i advice now mate I'm running low on ideas
[Fire TV Q&A, Help & Troubleshooting] stefss:
No work, say

error: no devices/emulators found
[Fire TV Q&A, Help & Troubleshooting] stefss:
I change usb drive but still the same, twrp dont recognize.
[Fire TV Q&A, Help & Troubleshooting] Bertonumber1:
@stefss Plug otg cable back in and go back to recovery that way.

Then try reformatting your USB drive as fat32 (again) make sure you put both rom and magisk back on the USB

Plug it into your hub and then mount otg again in twrp

When you get the screen up mount everything /system /vendor cache dalvik OTG and select storage as otg then your files should absolutely be there, fck knows why they ain't if the drive is formatted it's got to be there, did you try flash ATV ntfs/fat32/hfs addons without the rom being present by any chance???
[Fire TV Q&A, Help & Troubleshooting] Bertonumber1:
Plug otg cable into get to twrp again can you get to it, and format USB drive to fat32 again.

Then try and mount itt again after you place the rom and magisk back onto it.

What we need to do next is a mount everything if you get to twrp screen and see if the files show, if not I'm stumped mate
[Fire TV Q&A, Help & Troubleshooting] 0815hoffi:
!! ADB not working with otg cable and otg not works with enabled adb debugging !!

Use Amazon usb cable.

Enable ADB

How to enable ADB debugging on an Amazon Fire TV, Fire TV Stick, or Fire TV Cube

There are many reasons to turn on ADB debugging on an Amazon Fire TV, Fire TV Stick, Fire TV Cube, or Fire TV Smart TV. Doing so allows you to perform actions, such as running shell commands, to make changes to your Fire TV.

www.aftvnews.com

# adb devices

# adb shell reboot recovery

Wait for TWRP

# adb push FW.zip /sdcard/firmware.zip

# adb push Magisk-v20.4.zip /sdcard/Magisk-v20.4.zip

# adb shell twrp install /sdcard/firmware.zip

# adb shell twrp install /sdcard/Magisk-v20.4.zip
[Fire TV Q&A, Help & Troubleshooting] Bertonumber1:
I don't think the rom is on there hoffi he wiped then done the short unlock again. And rebooted.

His stick isn't showing up on adb. Been here all day with it and no joy at all mate
[Fire TV Q&A, Help & Troubleshooting] 0815hoffi:
@stefss never update magisk over MagiskManager ( Bootloop )

Ok i never user otg cable.

Then he should do the rooting again.

Wait for TWRP

# adb shell twrp wipe cache

# adb shell twrp wipe data

# adb shell twrp wipe dalvik

# adb shell twrp wipe /system

# adb push ftvs4kdebloated_6.2.7.3_V1.zip /sdcard/firmware.zip

# adb push Magisk-v20.4.zip /sdcard/Magisk-v20.4.zip

# adb shell twrp install /sdcard/firmware.zip

# adb shell twrp install /sdcard/Magisk-v20.4.zip

# adb shell reboot
[Fire TV Q&A, Help & Troubleshooting] Bertonumber1:
Yeah I don't like otg either but he is having difficulty sending (adb pushing) the rom and magisk to the device. So I tried having him format32 a USB put rom magisk on that and try, he still can't get the device to receive the files.

There must be problem with cable or hardware
[Fire TV Q&A, Help & Troubleshooting] stefss:
I format again at Fat32 and try, dont find.

I take out otg cable and try adb devices, dont work.

I dont know what to do more :(.

Maybe i should try with alu foil again from beggining?
[Fire TV Q&A, Help & Troubleshooting] 0815hoffi:
Yes try with alu foil again from beggining?
[Fire TV Q&A, Help & Troubleshooting] stefss:
i TRY AND I SUCCEDED TO PUT ROM TO FIRESTICK, BUT EVEY TIME I GET MESSAGE THAT ZIP FILE IS CORRUPT.

ADVICE?

I TRY WITH TWO ROMS. MAGIS 21.1 IS INSTALLED GREAT, BUT ROMS DONT.
[Fire TV Q&A, Help & Troubleshooting] 0815hoffi:
Over otg with keyboard?

If yes try it with adb.

adb shell twrp install /sdcard/firmware.zip
[Fire TV Q&A, Help & Troubleshooting] stefss:
I try with adb and with twrp menu, its the same message.

Zip file is corrupted.

Maybe is problem that i put this to firestick from usb drive, not from fireISO because fireISO have only 200mb space so i cant put rom to FIREISO, i must put from usb directly to firestick.