yashsingh1/xdaforums huggingface dataset:
[Fire TV Original Android Development] Pretoriano80:
I meant that i don't think it's caused by Magisk at all. I tested with my own built 6.2.6.8 boot.img and it was still failing. After checking the last_kmsg log i saw that there were lots of "permission denied" errors and other selinux related issues.

Yesterday i saw there were some changes in the new ramdisk and some of them regard init ane multi_init binary, so maybe the issue it's related to that, idk.

However, i flashed the stock 6.2.6.8 boot.img and the FireOS booted just fine. After that, i flashed my own 6.2.6.8 boot.img and it still booted just fine.

Last test was flashing Magisk 20.0 again and this time FireOS booted and Magisk it's working again, so no need to downgrade for me.

Here are is the last_kmsg log if anyone is interested --> last_kmsg
[Fire TV Original Android Development] tsynik:
There is general issue with downgrade: after factory reset, even on "rooted" fw, user can't pass registration screen without update to current fw, as there is forced ota update after initial wi-fi setup. If you'll remove that package (com.amazon.tv.forcedotaupdater.v2) you can't go furhter Wi-Fi setup. How do you pass/complete registration without forced update to current fw?
[Fire TV Original Android Development] LuCkyCn:
Funny that you asked that. Mine is actually hardwired so as soon I was able to registered, I unplugged the Ethernet cable and I was able to block all the update using adb
[Fire TV Original Android Development] tsynik:
HOW can you register, if forced update executed before registration on OOBE screen?

That how it was for me when I tried to stay with 6.2.6.5 with actual 6.2.6.6:

1) flashed stock 6.2.6.5 via twrp

2) do faactory reset

3) flashed Magisk

4) boot. It ask to connect Wi-Fi. after connection there is forced OTA check, it found 6.2.6.6 and download / install it (only on 2nd pass) without asking me anything.

- here still no registration.

...

p.s. that's how it was on 6.2.6.5 firmware. didn't tested 6.2.6.6 initial boot (as it was current and there was no updates on OOBE setup).
[Fire TV Original Android Development] LuCkyCn:
I'm not sure. That's what I did and it worked for me. I am even using the modules you made and Magisk and Xposed is sticking without the recovery bootloop
[Fire TV Original Android Development] tsynik:
That's because you didn't do factory reset. Your /data was probably still in the place after flashing fw, and you don't need new reg etc.
[Fire TV Original Android Development] wph45678@gmail.com:
Live-ISO

Hello

fireiso-1.0.0.iso

does not load .. until the end

blinks

I can’t stop reading

:(
[Fire TV Original Android Development] Sus_i:
You may try to make an bootable fireISO usb stick with that program
[Fire TV Original Android Development] wph45678@gmail.com:
lenux no go

thank

the problem is not there

problem when loading Linux on the PС
[Fire TV Original Android Development] Sus_i:
I've seen your video, don't know what causes that.

Did you reflashed the ISO with the program I've linked in my last post?

The usb stick with the iso could be corrupt. You may try it with another stick and if possible with another PC/Laptop.
[Fire TV Original Android Development] wph45678@gmail.com:
yes specified program

I tried 2 different USB flash drives

The result is the same ((
[Fire TV Original Android Development] Sus_i:
Have you tried to redownload the ISO?

If yes, I would try another pc/laptop.
[Fire TV Original Android Development] ryanknut:
I keep getting 'zero length descriptor references' error in cdc_acm. Using the iso.

dmesg is finding the MT65xx Preloader, but cdc_acm gives error -22

edit: was shorting the wrong pin :rolleyes:
[Fire TV Original Android Development] megladon:
License_error

Is anyone getting License_error on prime video?

Is there a fix?
[Fire TV Original Android Development] radrnatn:
right here tried all the solutions on the web did not help. Also tried wiping the stick
[Fire TV Original Android Development] Sus_i:
You may flash 6.2.6.6 from here, it updates TZ in order to prevent prime license errors. After that flash 6.2.6.8 if you want update to the latest fireOS.
[Fire TV Original Android Development] megladon:
Thanks!!
[Fire TV Original Android Development] diegol76:
would this work on OS 6.2.6.8?
[Fire TV Original Android Development] Rortiz2:
Yes. This exploit works and will work in all software versions since it can be only patched at hardware level;)
[Fire TV Original Android Development] diegol76:
Awesome , Thank you!
[Fire TV Original Android Development] Animizio:
Hey, Sadly I can't get it done.

I m getting errors and it does not say I have to put the short away.

Anyone can help me?
[Fire TV Original Android Development] Sus_i:
There are several hints with pictures in this thread on how to do the shorting procedere...

If you need 9 minutes to short the stick, you may do something wrong.
[Fire TV Original Android Development] Animizio:
Yeah I use clk and GND to do the short. And I m getting this error messages at the picture after booting through USB connection.

Please give me some help, I just want to understand the problem.
[Fire TV Original Android Development] Sus_i:
Take a look at my post here and try it again. You have to short it steady & propperly until the script tells you to remove the short.
[Fire TV Original Android Development] Gerald We:
Just keep trying

The aluminium foil method works well. I just kept pushing it into the gap. Suddenly the script started.
[Fire TV Original Android Development] Animizio:
Okay thanks... So how is the setup for this? Do I need a screen through hdmi connected? And what's first.. Connecting with USB and AFTED do the shorting? Or short it and AFTER connect through usb? Because u say u just push it and it's directly starting for you... So u seem to have the stick already connected when pushing the aluminium foil??

Edit: maybe it's possible, they fixed the hardware on new 4k sticks and it's not possible for them?

Edit2: Can you tell me please, how long does the script needs, to show anything happen?
[Fire TV Original Android Development] tithitoy:
Im newbie, anyone has step by step video? Thanks!
[Fire TV Original Android Development] DerSammler:
Hi, I have the software version 6.2.6.8 on the Fire 4K Stick. Can't I root now?
[Fire TV Original Android Development] Pretoriano80:
Yes!
[Fire TV Original Android Development] DerSammler:
[MENTION=2642882]Pretoriano80[/MENTION]

What do you mean by Yes, Yes I can Rooten or Yes I cannot Rooten?
[Fire TV Original Android Development] Sus_i:
Depends on you :D
[Fire TV Original Android Development] daver:
can i apply this root method to brand new firestick out of box?

or do i have to power up and register with amazon 1st.

thanks
[Fire TV Original Android Development] Pretoriano80:
Sorry, misread your question! Yes, you can! xD
[Fire TV Original Android Development] DerSammler:
Thank you very much for the answer. Then tomorrow I will be the 4K Stick Rooten.
[Fire TV Original Android Development] steelgtr:
Would this allow the 4K stick to passthrough HD audio like the Shield or is that a HW limitation?

thx
[Fire TV Original Android Development] MarcSN311:
is it possible to disable alexa with root? Does netflix work on the firetv stick?
[Fire TV Original Android Development] DerSammler:
TWRP I could flash, but Magisk doesn't work with flashing.
[Fire TV Original Android Development] discomatratze:
is it possible to remove TWRP and install the stock recovery?
[Fire TV Original Android Development] DerSammler:
I did it with mantis-6.2.6.8-rooted_r1. The first start took a long time, but now I have Magisk and TWRP. The root is not that difficult. If you know how to do it and you have all things.

Many thanks to everyone who helped to make root possible on the 4K stick.
[Fire TV Original Android Development] tsynik:
yes / yes
[Fire TV Original Android Development] pspTP:
I had a new stick in box from 2 months ago which I opened and ran the process on. I got the boot script to run in the first go with the short. Everything went smoothly. I installed mantis rooted rom 6.2.6.8 and Magisk 20.1..

I went through the registration process and unfortunately forgot to stop the wifi. The Fire stick applied some OTA update and started. I could get through registration though. Now when I do a adb devices it shows the device serial and "Unauthorized" in front. I am trying the rooting process by opening the stick up again but its not working now. I cannot get the short to work. What am I doing wrong? What do I need to do from here?

Thanks in advance!

Update: I looked under my apps and I see Magisk manager so I guess I am still rooted. I am mainly trying to disable amazon updates so wanted to get to adb. How can I do that now?
[Fire TV Original Android Development] daver:
also trying to disable ota updates after root and install magisk manager

using commands

adb shell

su

pm disable com.amazon.tv.forcedotaupdater.v2

pm disable com.amazon.device.software.ota

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

getting error

127|mantis:/ $ su

pm disable com.amazon.tv.forcedotaupdater.v2

pm disable com.amazon.device.software.ota

pm disable com.amazon.device.software.ota.overridePermission denied

13|mantis:/ $ pm disable com.amazon.tv.forcedotaupdater.v2

Error: java.lang.SecurityException: Shell cannot change component state for com.amazon.tv.forcedotaupdater.v2/null to 2

1|mantis:/ $ pm disable com.amazon.device.software.ota

Error: java.lang.SecurityException: Shell cannot change component state for com.amazon.device.software.ota/null to 2

1|mantis:/ $ pm disable com.amazon.device.software.ota.override

any help
[Fire TV Original Android Development] Sus_i:
Yes, if you flash a stock boot.img with hacked fastboot, the stock recovery gets installed at next boot

If it was an update that installs without a reboot, all should be fine. If it was an update with a reboot, you may redo the exploit.

You have to sideload the manager before running that commands.
[Fire TV Original Android Development] pspTP:
Actually it was an update that installed after the stick booted up the next time. I figured the solution to my issue myself and want to share it with folks here.

When I tried to invoke su (SuperUser) through the command line, I was getting a permission denied error. I realized that I have to pair up adb access between the fire ISO laptop and the stick. To do that I connected the stick to my TV. Then I connected the usb port on the stick to my fire iso laptop. This time there was a prompt on the TV to allow the laptop for adb access which I clicked Yes using the firetv stick remote.

Now when I typed "su" there was another prompt on the TV to allow the shell for SuperUser access which I granted using the remote. Only then I could run the commands to disable the amazon updates. Hope this helps others as well.
[Fire TV Original Android Development] daver:
help

Just done my 2nd 4k firestick..everything went well and exploit completed fine..but when i boot up it gets stuck at the black screen with firestick logo.

How do i fix this.

thankyou
[Fire TV Original Android Development] Sus_i:
Yeah, but that isn't an issue at all, it's a common security measure and has nothing to do with the unintentional update you mentioned. ;) :p
[Fire TV Original Android Development] daver:
flash stock rom with hacked bootloader

help

Just done my 2nd 4k firestick..everything went well and exploit completed fine..but when i boot up it gets stuck at the black screen with firestick logo.

How do i fix this.

can i put back stick to original and retry exploit?

what files and commands to do this from hacked BL.I only have an otg mouse attached..I can connect direct to pc in Hacked fast boot but how to flash stock image to fix

thanks
[Fire TV Original Android Development] Sus_i:
Don't know what you've done, as you provide not much information... Common problem for a stuck at white fire logo is updating magisk from fireOS, i.e. manager app.

What does the bootmenu? Can you boot into TWRP? If not, you may redo the exploit from scratch. You don't need to mess with fastboot, you can't flash system images with it and it isn't needed at this point. Goal is to get the bootmenu/twrp working. If the system is somehow messed up, you can flash later a prerooted rom and magisk.zip.
[Fire TV Original Android Development] daver:
Yes i can get into twrp from boot and have otg mouse

how do i flash pre-rooted rom.. i cannot attach a usb stick to firestick to provide file

so yes can boot into twrp..but when reboot system it gets stuck on firestick logo screen
[Fire TV Original Android Development] Sus_i:
You can attach an usb hub to the otg cable, connect mouse and a storage stick... easiest way I think. As an other option, you can connect/power up the stick with your laptop and boot to recovery with fastboot. Then you can push the zips to the internal sdcard with adb, flash them with adb shell / twrp commandline commands.

I would flash the kamakiri 1.2 zip as a first step, then magisk.zip. See if that helps.
[Fire TV Original Android Development] FeelslikeanArbysNight:
Win10 questions

I'm going to attempt to root my new Fire Stick 4K and have done alot of reading, but still have several questions. I was able to short/root my Kindle Fire 7 tablet and I'm hoping this process isn't much more difficult. Thanks for any guidance.

1. My laptop runs Win10. Can this be done using a Linux Mint Live USB? or Mint running in a VM? If not, I was considering wiping Win10 and installing Mint, but would like to delay that if possible.

2. How to patch linux-kernel using the FireISO? Is this necessary on Mint? Amonet worked to root my Fire 7, but I'm assuming Kamakiri requires the patch.

3. I do not plan on running Amazon Prime video, so I was going to create a dummy account for registration purposes and then update to the latest (6.2.6.8 ?) firmware before rooting. Others have reported updating first and then rooting so I'm assuming it's the safest route.

4. Can I push Magisk zip file to the 4K stick sdcard via ADB before rooting? Any benefit to doing this? I do not have an OTG cable (yet) and was going to attempt everything via ADB, but don't mind waiting a bit if I :confused:order the OTG cable.

5. What should I backup once TWRP is installed? How to transfer to laptop?

6. Do I need to do anything with the pre-rooted ROMs or is that only a means of updating the firmware once rooted?

7. I plan on disabling the OTA updates via ADB. Can these be uninstalled or should they only be disabled? I've also seen lists of other things that can be disabled. My only concern is unsyncing the remote from my tv. I also want to replace the stock launcher with something different (LeanLauncher?).
[Fire TV Original Android Development] Sus_i:
Forget about linux mint and other stuff like VM. You have to do it with the patched fireiso live system, provided in the OP, burned on DVD or flashed onto an usb stick.

Thats fine.

Yes

You can do a full TWRP Backup if you like and pull it with ADB to your laptop.

You can update the firmware also with stock update bin's renamed to zip

Disabling is the safer way and you can enable it anytime if you like or if you get errors...
[Fire TV Original Android Development] FeelslikeanArbysNight:
Thank you very much for the helpful info. I'll setup a USB for that. I plan on using the 4K stick primarily for Kodi, PlutoTV, and other streaming apps that don't require a monthly fee. Once I have root I should be able to remove Netflix, etc. from the device. Have you setup an alternate launcher on yours?
[Fire TV Original Android Development] Sus_i:
Be careful, don't damage parts in the stick :good:

Thats a bit offtopic, but if you want to use an alternate launcher, your best bet is this thread.

Next thread to watch is probably this one, in order to hook up an external harddrive for kodi ;)
[Fire TV Original Android Development] larastafarian:
Hi can anybody help me . I successfully unlocked the bootloader & flashed mantis pre rooted rob via TWRP, I believe power died before completing. Whenever I reboot it only goes to black screen fire tv & option to boot to twrp is gone? How do I fix this?
[Fire TV Original Android Development] tsynik:
If twrp still there (probably it is, because it not touched during flash) - just completely remove power and reattach - there will be 5 sec dialogue with button to Cancel boot and load TWRP (you need OTG cable and mouse attached for that option). Then just reflash prerooted image again or (better) stock full OTA (update-kindle-mantis-NS6268_user_2315_0003255372676.zip) and Magisk 20.1 after. If there is no such options - just repeat unlock steps from beginning.
[Fire TV Original Android Development] Almazick:
I successfully ran the script. I installed Root Explorer and wanted to check root folder but it said the device is not rooted. What should I do next? Should I install supersu?
[Fire TV Original Android Development] Velcro31:
I had issues flashing a 4K straight out of the box. After i did the initial setup and trying it again it worked flawlessly. I soldered a wire directly to DAT0 so there's no difference in shorting between my first and second try. Thanks for the unlock!
[Fire TV Original Android Development] tsynik:
No, you need to install last Magisk
[Fire TV Original Android Development] Almazick:
Probably a stupid question but can you point me to the right magisk version file and directions? Should I install it from TWRP? Also, I'm currently on Fire OS 6.2.6.5. Is it safe to install an update from FireOS to 6.2.6.8 and preserve the unlock script?
[Fire TV Original Android Development] cob2141:
No success

Hi there,

I'm having great difficulty getting this to work.

I have tried 2 brand new 4k sticks.

I have tried all 3 test points and they are not working.

Also i have tested continuity between points dat0 clk and cmd and no joy there.

Also the points marked clk and cmd are ground on my board

The board is showing up on the terminal in non boot mode as

Bus 001 Device 032: ID 1949:03a1 Lab126, Inc. AFTMM

Do I need to use a usb-otg cable to externally power the stick or should my laptop usb port be enough?
[Fire TV Original Android Development] Gerald We:
The exploit is picky about the USB your using. I would try different USB 3 and USB 2 ports. If that does not help try another computer.
[Fire TV Original Android Development] Sus_i:
You can grab the stable version from here

Yes :D You have to use the other side of the mlcc, i.e. not the marked one...

Laptop port is enough. :good:
[Fire TV Original Android Development] tsynik:
If you update from 6.2.6.5 to 6.2.6.8 - you need updated lk/tz partitions too. Flash kamakiri-mantis-v1.2.zip from TWRP Recovery for that. It's safe to update from Fire OS (with full OTA), but you need to reapply Magisk from TWRP after to restore root.
[Fire TV Original Android Development] daver:
Backup rooted 4k firestick to apply to new out of box sticks when exploit applied.

Whats the best way to do this..

I tried to restore (TWRP) on a new exploited stick with backup from my master rooted stick but had problems..

Can i clone my original rooted 4k to other out of box sticks once i have applied exploit on them? to keep all my apps and settings..
[Fire TV Original Android Development] daver:
restore stick

hi

I took your advice and purchased a usb hub.Can now access files with twrp with mouse etc..

How can i restore my firestick to its original state.

remove exploit and back as new.

required files and process

thanks in advance
[Fire TV Original Android Development] Sus_i:
Maybe it's better if you do the setup on all sticks and after that restore only data partition from your master backup, idk.

Some guys asked the same, you may search this thread for details.

Can't remember, but I think you have to flash that update with twrp, wipe data + cache + dalvik, then go to hacked BL and flash the boot.img (from inside the update zip) with hacked fastboot.
[Fire TV Original Android Development] daver:
restore to stock

hi

thanks tried above" ...but I think you have to flash that update with twrp, wipe data + cache + dalvik, then go to hacked BL and flash the boot.img (from inside the update zip) with hacked fastboot.[/QUOTE]"

But did not work..when it boots it goes to an amazon authorisation page.no matter how many times enter my account credentials ..still wont accept..

Will be sending it back to amazon..Hope someone can provide a working method to allow a full restore to stock..

thanks anyway
[Fire TV Original Android Development] Sus_i:
Search in this thread, k4y0z explained the way to unroot in detail...

But if you get this weird logon page, I think you didn't wipe all of your data. :D

In order to get rid of that page, it isn't needed to unroot... ;)
[Fire TV Original Android Development] daver:
ok

I re-did exploit..all ok

from twrp advanced wipe..wiped all data

flashed update-kindle-mantis-NS6268_user_2315_0003255372676.zip

booted up ok

connected to wifi ok but gets stuck @ update..says "unable to update your fire tv stick"

what am i doing wrong?

thanks
[Fire TV Original Android Development] Sus_i:
Something is messed up.

Have you tried to wipe system and vendor, just before the rom install? After that wipe data, cache and dalvik.
[Fire TV Original Android Development] daver:
have gone into twrp..advanced wipe..ticked all the boxes..says wipe complete failed..

"formatting storage using mkfs..fat

mkfs.fat process ended with error1

unable to wipe storage

unable to wipe /auto0

...done

this is the stage im @ now before flashing the rom
[Fire TV Original Android Development] Sus_i:
system, vendor, data, cache, dalvik

Thats all. Then flash the new system.
[Fire TV Original Android Development] daver:
No vendor listed

just

dalvik/art cache

system

data

internal storage

cache

storage

storage

which boxes to tick before flashing rom
[Fire TV Original Android Development] Sus_i:
system, data, cache, dalvik
[Fire TV Original Android Development] fire1951:
Does anyone know where I can get the image for 6.2.5.8 for the 4k Mantis? Thanks.
[Fire TV Original Android Development] Droid Workstation:
Got it working. Amongst other things video

https://youtu.be/FmGMkol6bGk
[Fire TV Original Android Development] wolf45801:
Is there a way I can install the updated rooted rom without a otg cable and mouse I just did the exploit yesterday and got twrp installed yesterday but I can't get past the first screen on twrp to allow modification
[Fire TV Original Android Development] wolf45801:
Now I'm getting there is an Intetnal problem with your device contact your manufacturer for details it happened after I rooted with twrp ADB commands
[Fire TV Original Android Development] Sus_i:
I bet you flashed the prerooted rom? If yes, you may flash this update and magisk again to get rid of that message...
[Fire TV Original Android Development] deluxemongo:
Hi, I am a german user and tried to install the prerooted 6.2.6.8 after rooting. Now the sticks comes up and shows a black screen after the colured/orange amazon logo. I then insatlled the stuck firmware 6.2.6.6 from a link somewhere here. Flashed boot with boot.img from that file via fastboot. TWRP is gone, but the black screen is still there.

Do I need a german version of the stuck firmware?

Thank you
[Fire TV Original Android Development] sogoku_vn:
thanks so much. I will unlock :good:
[Fire TV Original Android Development] Sus_i:
Nope. To get your stick alive, you may re-do the unlock, flash that update and magisk.zip.
[Fire TV Original Android Development] deluxemongo:
Okay, thank you for that info. I will try that tomorrow.

Just for making it right, step by step:

Do the unlock again, install magisk.zip,try to boot the os - this will fail with the black screen, reboot into twrp recovery, wipe anything?, install the linked update, do a second wipe?, install magisk again, reboot, the os should boot now correctly.

If there are mistakes please correct me.

And if this does not work at all, the stick is „dead“ or are there other os I can install? Or other luncher?

Thank you in advance