yashsingh1/xdaforums huggingface dataset:
[Fire TV Original Android Development] LocoMexican:
My daughter's device took an update three days ago. I needed to install an new apk, and when I went to check that "developers options" was correctly checked so I could install apk from unknown sources, I couldn't find "Developers Options" anywhere on the device? I think the new update removed that option from the settings menu. Any ideas on what happened to developers options? Your thoughts are appreciated.
[Fire TV Original Android Development] Finnzz:
It's still there, it's just hidden now like regular android devices

A short guide to unhide it:

How to find/show/unhide/reveal Developer Options on an Amazon Fire TV Stick, Fire TV Cube, or Fire TV Smart TV

In recent updates to the Fire TV, Fire TV Stick, Fire TV Stick Lite, Fire TV Stick 4K, Fire TV Stick 4K Max, Fire TV Cube, and Fire TV Smart TV, Amazon has hidden/removed the Developer Options menu where you can enable ADB debudding and enable installing apps from unknown sources, such as...

www.aftvnews.com
[Fire TV Original Android Development] LocoMexican:
Tried this out. Works fine. Thanks for the info.
[Fire TV Original Android Development] Holyec:
Hi guys, first of all thanks for all the hard work done here , second i was so happy with my aftv until i decided to upgrade from my 5.05 rooted

So i did the steps in the guide and was able to unlock it and install stock rom and magisk but not from twrp , i did it from the aftv downloader, next i did updated to 5.8.8 but was unable to install kodi after that , so i did install stock 5.6.4 and this time installed magisk from twrp , and the last thing i did was update magisk from the app and istalled xposed framework from magisk , so i did restarted and got stuck in this amazon logo forever , now i tried the hardware short , and bootloader or fastboot but nothing i got waiting for preloader, also got nothing in lsusb seems my device is not being recognized , my a to a usb is new and im using ubuntu anyone have some idea what happened and how to fix it
[Fire TV Original Android Development] Sus_i:
Wow, what a mess ;)

You may take twrp backups in between if you do stuff like this... and never ever install a magisk update from the app.

Anyways, colorful logo means that the box is still fine.

Short the box carefully, do the unlock again, then wipe data and install a clean fireOS.

Instead of the short/unlock you can try the boot-recovery.sh script too, if you like...
[Fire TV Original Android Development] Holyec:
Thanks buddy, the boot-recovery.sh script should work without the short right?, my problem now is my pc is not recognizing the firetv with or without short , i dont know if its because i dont have usb debugging enabled because i cant access to config, also i was reading about problems with the samsung emmc , my fire tv have a samsung chip its that a problem?
[Fire TV Original Android Development] Sus_i:
Yes, it may work, maybe not, depends if the exploit is still in place.

The bootrom-script works all the time, if the shorting is proper...

Try the fireISO as OS for your PC (bootable live system), from here

[UNLOCK][ROOT][TWRP][UNBRICK] Fire TV Stick 4K (mantis)

NOTE: There have been multiple reports of devices with serial numbers containing VM190 or higher being shipped with DL-Mode disabled in BROM. These devices cannot be unlocked using kamakiri. These devices do not show up at all on USB when...

xdaforums.com

Since you can see the colorful logo, brom / preloader and even the kernel should show up in lsusb.

The scripts from OP are working nevertheless...

Thats right but in case of a faulty eMMC, TWRP boots still fine (errors if you try to flash something) and the OS boots not. I guess that isn't your problem, because the bootrom-script should work nevertheless.
[Fire TV Original Android Development] fleisch80:
the best and probably only option is to use the unbrick packages that the senior

developer members have posted on these forums.

the hard part about using the tools is that many users will first have to learn

advanced linux settings and theory.

the slightest thing off on your linux settings would stop the proper execution of the

flashing .

word of advice ,

i would say that after the last few years , the fire devices took an update to not allow

your device to go all the way back to the early 5.00 firmwares .

at least not original 5.00

i think its the firmware from the last 6 years that works ,

visit the developers page for the unbrick and flashing for more info.

i m sorry im not more help at the moment ,

ive been dealing with medical issues and dizziness . you can imagine this stuff

can make you sit there and get even more dizzy dealing with all the details and code.
[Fire TV Original Android Development] preston47s:
I have a Fire TV Box 2nd Gen Sloane Box, and I was wondering if I could unbrick this even though I don't have TWRP installed in it? Or is it pretty much done for? I am stuck in the "Optimizing system storage and applications" screen, it says "This will take approximately 10 minutes to complete" but it just sits there even after 10 minutes. I would appreciate any answers I can get whether good or bad. I'm just wondering if there's any hope to this box or if I should proceed to disposing of it. Thanks! I hope to get answers from the experts here soon.
[Fire TV Original Android Development] fleisch80:
Almost 99 percent of the time the box is recoverable .

Now for the uncomfortable part .

Usually you need to use the unbrick and flash method , and in the process this also installs

Twrp . I honestly will say that before the flash to the box works ,

There's about 40 other things you must do , and or learn before everything comes together

and successfully works .

Not to say anything is that hard , or that you can't do it but it will take a while to get the process down and the timing just right .

It really is all about timing when you apply the short to the circuit and flash the fire TV 2.

You can do everything right but still have problems.

I recommend to start at the beginning of the fire TV thread and look for the unbricking

section .

along the way I have commented in the threads on what I've noticed to have worked for me

when I was flashing my boxes .

If you just want another working box without hastle you could always eBay one for

usually 15.00 working .

This ends up becoming an obsessive hobby , even myself have been frustrated with the

Hardware aspects of this box from time to time .

Im sorry I can't be of more help .

I suffer from severe dizziness , and haven't really been able to work on flashing the boxes

for a while.

Like I said , the unbrick thread will be the key .

if you have a question that I can remember the answer to , I'll try to help also.

All respect and credit goes out to the devs and creator of the unbrick method , and forums.

I'm just a low level member who happened to have some success trying out the

technique and who enjoys the forums .

Chris.
[Fire TV Original Android Development] Sus_i:
There is always hope, but you need to follow the OP carefully.

If you are a windows user, you need to setup an usb storage stick in order to boot ubuntu (or even better) the fireISO (see the unlock thread for mantis), because the procedere from the first post will only work on linux. You also need to open up your fireTV box and you would need to short a special point on the mainboard, without to damage anything of the small smd parts. It's best if there is third hand arround if you do the shorting... ;)

There are a few videos on youtube, at least for fire sticks, procedere is almost similar.

About your error, I guess a format data will fix it.
[Fire TV Original Android Development] preston47s:
Hey thanks for the knowledge! I will look into the unbricking section of the forums for sure thanks for leading me to the right direction. This must be a great community as people like you are actually willing to help!
[Fire TV Original Android Development] preston47s:
Hey thanks for the response! I like this community already. I was reading the tutorial but didn't knew that TWRP is being installed in the process, I thought there was no hope without TWRP preinstalled, but I just learned right now that TWRP is being flashed in the process. So looks like I need to figure out a way to install ubuntu in a usb storage as I do have windows as my OS, thanks for the knowledge! I will do some more reading and check out the unbricking section as well, will ask some questions if I get stuck. I appreciate the help and knowledge guys!
[Fire TV Original Android Development] SK4G:
5.2.9.0 Firmware

https://d1s31zyz7dcc2d.cloudfront.n...indle-full_sloane-36.6.8.0_user_680761420.bin
[Fire TV Original Android Development] LocoMexican:
Thanks for the update. Installed and it works perfectly.
[Fire TV Original Android Development] preston47s:
Were you referring to this thread or is there another unbricking thread?

I searched in youtube but I only saw 1 video regarding to this and its in Korean. Do you by any chance have a link to this video?
[Fire TV Original Android Development] Daimonion777:
Hello everyone,

unfortunately I have a problem with the installation on my Fire TV 2. First I deleted the data, the system, the Dalvik and the cache. I then installed the Lineage Rom and the Gapps and after restarting the Fire TV there is a bootloop.

The box restarts permanently.

I can't get into TWRP either.

Can someone help me?

Best regards,

Thomas
[Fire TV Original Android Development] Sus_i:
You can try the boot-recovery script from the amonet folder to boot twrp. You can also follow the OPs whole unlock/unbrick procedere (with shorting) until you reach TWRP, then wipe system, format data, wipe cache, flash a clean stock rom.

The lineage rom for sloane isn't up-to-date and it's supposed to work with a locked bootloader because back then the unlock wasn't aviable...
[Fire TV Original Android Development] Daimonion777:
Thanks for your answer.

Can you please send me a link to this?

For example I already tried this (amonet-sloane-v1.1 ) but couldn't start the script.

With these (amonet-sloane-v1.3.zip) the script could be started but there was always an errno errno 5 or an errno 19.
[Fire TV Original Android Development] Sus_i:
There is the link to the latest amonet 1.1 for sloane (don't use the other older thread):

https://xdaforums.com/t/unlock-root-twrp-unbrick-firetv-2-sloane.4222331/

This is the unbrick guide:

https://xdaforums.com/t/unlock-root-twrp-unbrick-firetv-2-sloane.4222331/post-84343351
[Fire TV Original Android Development] LocoMexican:
Got it now by installing another system backup but TWRP is still at version 3.0.0-5.

As I understand it, Twrp is installed via amonet-sloan v. 1.1 in an area which is untouched by a new system update (Twrp is not part of the system partition). Thus, Twrp will remain at version 3.0.0-5 even if you update your system partition.

Also, the Fire TV interface says "Home is currently unavailable".

When I get the "Home is currently unavailable" message, it means the device is not connected to the internet.

The box still restarts permanently... I don't know what you mean by this statement. Are you describing a boot loop or another issue? If so, you might try "wiping" the system partition in Twrp's "advanced wipe" and then re-installing the system update of your choice. Good luck.
[Fire TV Original Android Development] Daimonion777:
Good news,

i got the Fire TV box working again by installing Sloane-5.2.6.7-rooted.zip 🙂🥳.

The box could be set up again without any problems and the device no longer crashes. Of course, the system updates were blocked again.

I want to thank you for your support.

hp It's a pity that LineageOS 12.1 doesn't run on the box, but the main thing is that the system works again.
[Fire TV Original Android Development] Rortiz2:
That version of LineageOS 12.1 is outdated and mostly broken. If I ever get the chance, I will resume Sloane development. Sloane is so far the "most special" device I have done development for. It has given me a lot of trouble in terms of development.​
[Fire TV Original Android Development] Daimonion777:
That would make me happy if you would continue developing LineageOS for Sloane. I also have LineageOS on my Fire TV Stick 2 Tank and am completely satisfied with it.

That would make me happy if you would continue developing LineageOS for Sloane. I also have LineageOS on my Fire TV Stick 2 Tank and am completely satisfied with it.
[Fire TV Original Android Development] LocoMexican:
My daughter's device took an ota update to 5.2.9.1. I don't know what's in it that's new, but it gave me hell trying to get it to work with her device modifications. Ended up having to start over from scratch, Re-installed 5.2.9.0 and then blocked upates. You might want to thank twice before installing 5.2.9.1. Good luck!
[Fire TV Original Android Development] PartisanEntity:
Hi there, I am having the following issue: https://xdaforums.com/t/is-this-fixable-fire-tv-2nd-gen-boots-to-recovery.4504785/

Is this guide here the right thing for me to follow?

And can someone please tell me where I can get the stock rom?
[Fire TV Original Android Development] Sus_i:
You can try the OP of this thread (open the box, with shorting method), but I bet the memory (eMMC) is broken.
[Fire TV Original Android Development] Bertonumber1:
Hello can anyone help I've done everything the way it's supposed to be done after doing many sloanes for friends and family.

In TWRP after flashing update.bin 5.2.7.6 I use adb reboot recovery and goto flash magisk 25.2.

The file is loaded but hangs on "checking for digest file".

The only way out is to pull the plug.

Any ideas!

Regards
[Fire TV Original Android Development] jaydee 77:
Do you have a .MD5 file beside the Magisk-v25.2.zip file? TWRP tries to access it for digest check, but hangs if its missing. You can disable digest checking in TWRP settings or get the missing .MD5 file.
[Fire TV Original Android Development] adislic:
Can someone give a comment please?

sudo ./bootrom-step.sh

Waiting for bootrom

Found port = /dev/ttyACM0

Handshake

Disable watchdog

Waiting for bootrom

Found port = /dev/ttyACM0

* * * Remove the short and press Enter * * *

Init crypto engine

Disable caches

Disable bootrom range checks

Load payload from ../brom-payload/build/payload.bin = 0x4760 bytes

Send payload

Let's rock

Wait for the payload to come online...

all good

Clear preloader header [8 / 8]

Check GPT Traceback (most recent call last): File "/home/ubuntu/Downloads/amonet-sloane-v1.1/amonet/modules/main.py", line 146, in main() File "/home/ubuntu/Downloads/amonet-sloane-v1.1/amonet/modules/main.py", line 56, in main gpt, gpt_header, part_list = parse_gpt(dev) File "/home/ubuntu/Downloads/amonet-sloane-v1.1/amonet/modules/functions.py", line 119, in parse_gpt data = dev.emmc_read(0x400 // 0x200) + dev.emmc_read(0x600 // 0x200) + dev.emmc_read(0x800 // 0x200) + dev.emmc_read(0xA00 // 0x200) + dev.emmc_read(0xC00 // 0x200) File "/home/ubuntu/Downloads/amonet-sloane-v1.1/amonet/modules/common.py", line 199, in emmc_read raise RuntimeError("read fail") RuntimeError: read fail

And it ends like this???

After lsusb it gets detected in preloader mode like this

Bus 001 Device 013: ID 0e8d:2000 MediaTek Inc. MT65xx Preloader

But after that its gone...not visible with lsusb anymore.

Is it a failed emmc, stuck in read mode or something else?
[Fire TV Original Android Development] Bertonumber1:
I'm gathering you've already searched the thread here:

Post in thread '[UNLOCK][ROOT][TWRP][UNBRICK] FireTV 2 (sloane)' https://xdaforums.com/t/unlock-root-twrp-unbrick-firetv-2-sloane.4222331/post-86366355

@Rortiz2 will be able to comment with his wisdom as he has a ro emmc.

Regards
[Fire TV Original Android Development] Jordan23Anderson:
I do have one question. I am stuck on step one because I am running latest fire OS 5.2.9.4 how do I brick it because it doesn't tell you how
[Fire TV Original Android Development] Bertonumber1:
Jordan,

It doesn't matter what firmware your sloane has.

When you unzip the exploit. Be sure to check the files bootrom-step.sh and fastboot-step.sh are able to run. You can do this by :

chmod a+x bootrom-step.sh

chmod a+x fastboot-step.sh

Sometimes the files get screwed up in the download or unzip.

The script bricks the device and this involves opening up the device and shorting dat0 while running the sudo ./bootrom-step.sh unless you are already rooted etc.

Perhaps give more detail what the screen says when you are getting errors etc

Regards
[Fire TV Original Android Development] Jordan23Anderson:
Oh ok I will do that.
[Fire TV Original Android Development] LocoMexican:
Can someone post a link to the latest sloan os 5.2.9.4? I'd like to try it on my practice device. Thanks in advance.
[Fire TV Original Android Development] Sus_i:
5.2.9.4 and 5.2.9.5 for sloane:

5.2.9.4
https://d1s31zyz7dcc2d.cloudfront.prod.ota-cloudfront.net/725b18adc2a05a85e45842e11ba158d1/update-kindle-full_sloane-36.6.8.5_user_685791120.bin

5.2.9.5
https://d1s31zyz7dcc2d.cloudfront.prod.ota-cloudfront.net/5d7a6e4bc1c76e60ba3cceb871ded639/update-kindle-full_sloane-36.6.8.6_user_686800020.bin
[Fire TV Original Android Development] LocoMexican:
Got them. Thanks Sus_i. Installed 5.2.9.5 and it is running fine. Thanks again.
[Fire TV Original Android Development] Nickstar005:
Hi,

I am having all sorts of problems, I used to be on a prerooted rom, but stuffed up this porceedure somehow. I have now tried to use linux for the first time, and run through the instructions to unlock.. but no luck.

Currently i am on Fire OS 5.2.7.2, I have tried the steps in Post #3, and can progress to the point of running the scrip: sudo ./step-1.sh, at which point it fails.

Maybe I am misunderstanding.. I have lost my root and am on stock rom, I thought this step would allow me to install twrp and unlock, without having to take the box apart and short it, as described in post #2.

I would appreciate any advice you can offer.
[Fire TV Original Android Development] Bertonumber1:
Hi,

OK from what I understand you were on prerooted rom. Now you are on stock rom.

So before anything you have to short the device if you can't get to twrp by using this command :

adb reboot recovery

When the device is connected with adb.

Then you can proceed with flashing the unlock zip.

So are you able to get TWRP recovery?

Regards
[Fire TV Original Android Development] Nickstar005:
thanks for such a quick response. So I tried the recovery command, and it did go to recovery.. but its a different screen, much be amazon system recovery? No twrp
[Fire TV Original Android Development] Bertonumber1:
OK at least we know TWRP is gone.

Don't worry.

So now you have to do the short method by opening the box and shorting dat0 as you run the bootrom-step.

This may seem drastic but if you use a piece of thin wire and a safety pin to GENTLY short the pad you'll be OK.

Just Follow step 2 in the OP

"Unbricking / Unlocking with non-rooted Firmware" to the letter and you'll be okay

I'll be around if you need help and be patient, it doesn't always run first time.

Regards
[Fire TV Original Android Development] Nickstar005:
oh no.. ok thanks for your help. I'll let you know how I get on.
[Fire TV Original Android Development] Nickstar005:
so just to confirm, I open the box, take the board off the heatsink and turn over to see that area in the attached photo?
[Fire TV Original Android Development] Bertonumber1:
Yes, the black plastic bottom is actually the hardest part of all this process. It clips off. Just be careful around the USB, ethernet port area, if prying open from the back... as the plastic is brittle there. Start at the front and work your way round.

Then unscrew the heat sink I think around 8-10 screws. And when you flip the board over you'll see the area of interest in photo.

Regards
[Fire TV Original Android Development] Nickstar005:
ok great, Im onto the 10 screws now.
[Fire TV Original Android Development] Nickstar005:
ok so now the idea of shorting dat0 is a bit over my head. Do I have to hold a thin wire and a safety pin on that point at the same time?

then connect power?

Do I need to hold the wire and pin in any particular way, is there a trick to this? Its just such a small area, I had to take a photo of it, to make sure I was in the correct area.
[Fire TV Original Android Development] Nickstar005:
Ok I think the shorting worked.. the fire tv will no longer boot :P, however I had some issues:

* * * Remove the short and press Enter * * *

[2023-04-15 02:34:10.161153] Init crypto engine

Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 621, in write

n = os.write(self.fd, d)

OSError: [Errno 5] Input/output error

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/home/ubuntu/Downloads/amonet/modules/main.py", line 146, in <module>

main()

File "/home/ubuntu/Downloads/amonet/modules/main.py", line 32, in main

dev = load_payload(dev, "../brom-payload/build/payload.bin", skipwait)

File "/home/ubuntu/Downloads/amonet/modules/load_payload.py", line 117, in load_payload

init(dev)

File "/home/ubuntu/Downloads/amonet/modules/load_payload.py", line 9, in init

dev.write32(CRYPTO_BASE + 0x0C0C, 0)

File "/home/ubuntu/Downloads/amonet/modules/common.py", line 157, in write32

self.dev.write(b'\xd4')

File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 655, in write

raise SerialException('write failed: {}'.format(e))

serial.serialutil.SerialException: write failed: [Errno 5] Input/output error

ubuntu@ubuntu:~/Downloads/amonet$
[Fire TV Original Android Development] Bertonumber1:
Yep you're doing it correctly

It just takes a while for the script to go through. But youre on it 😎 hopefully you get it soon
[Fire TV Original Android Development] Nickstar005:
haha yeah I tried it again, and success! Im in twrp, formatting data and then will install stock rom and magisk.

Thanks so much for your help! Lifesaver!

Any other advice with that idea of stock then magisk?
[Fire TV Original Android Development] Bertonumber1:
No worries man.. Glad you got things up and running.

Can't really think of anything. You have root so you can install root systemless adblockers etc. First thing I would do is install "Power menu little Vic apk" this let's you reboot, reboot to TWRP from home screen.

Just try and keep things to a minimum as storage is terrible on these devices. You can debloat some of the stuff from /system/priv-app folder if you wish. Just look around what apps can be disabled. I use lucky patcher to do this. Disabling is as good as uninstalling.

I use sdmaid mod app also to clear out the junk once every couple of days. Keeps your movie Tv apps running smoothly.

Also have ATV pro custom launcher.. set orientation, and mixplorer file manager.

If your brave you can edit build.prop with skel40s tweaks and also change the boot animation to a cool boot logo. There's a few things

Enjoy

Regards
[Fire TV Original Android Development] Nickstar005:
Ok, great that all makes sense and sounds like a few of those options would be perfect for me also.

One thing I used to have setup but now I cant recall how I did it, is I use a usb mouse/keyboard combo unit, but with usb debugging on, it wont work.. Im pretty sure I used to be able to get around that limitation.

I will definitely look for the power menu, some debloating and sdmaid I use on my phone.. custom launcher I have leanback for fire, but happy to try any other good ones.

Again, much appreciated mate!
[Fire TV Original Android Development] Bertonumber1:
The trick is to leave USB debugging off on the firetv to use your keyboard and use only WiFi Debugging ie android remote adb app or adb link over WiFi. This gives you a root shell but leaves USB port free for KB.

Regards