yashsingh1/xdaforums huggingface dataset:
[Fire HD 8 and HD 10 Original Android Development] byfgjk:
Thank you, I used the steps in the link until installing the SuperSU apk since I checked with su and already had root.

Then I used the steps here, and bootrom step minimal.sh is saying "Remove the short and press enter"

What does that mean, what "short" are they talking about? Does it mean remove the usb cable? What a weird wording to use. I never opened up my tablet or physically modified anything. Does this method actualy require opening up the tablet? I was under the impression I didn't have to physically open it up as that's a dealbreaker.

Here is the output (I pressed enter)

sss@sss:~/Downloads/amonet$ sudo ./bootrom-step-minimal.sh
[2020-03-21 13:31:02.257118] Waiting for bootrom
[2020-03-21 13:33:57.764615] Found port = /dev/ttyACM0
[2020-03-21 13:33:57.765397] Handshake
[2020-03-21 13:33:57.766409] Disable watchdog

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

[2020-03-21 13:38:49.300849] Init crypto engine
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 523, 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 "main.py", line 192, in <module>
main()
File "main.py", line 85, in main
load_payload(dev, "../brom-payload/build/payload.bin")
File "/home/sss/Downloads/amonet/modules/load_payload.py", line 112, in load_payload
init(dev)
File "/home/sss/Downloads/amonet/modules/load_payload.py", line 9, in init
dev.write32(CRYPTO_BASE + 0x0C0C, 0)
File "/home/sss/Downloads/amonet/modules/common.py", line 154, in write32
self.dev.write(b'\xd4')
File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 554, in write
raise SerialException('write failed: {}'.format(v))
serial.serialutil.SerialException: write failed: [Errno 5] Input/output error

---------- Post added at 05:54 PM ---------- Previous post was at 05:37 PM ----------

I'm leaving my post up in case someone else has the same issues, the error was "waiting too long before pressing enter" because I was asking it here, ha.

I did the steps again and it worked, I'm at the TWRP menu now.
[Fire HD 8 and HD 10 Original Android Development] gRooster:
Yeah, that step confused me as well, as I was not expecting any prompts (from reading descriptions/walk-throughs from other people in this thread), and in my case it was worse. For me it hung after the first 4 lines, then after a few more tries I discovered that if I hit enter there it would continue to the "remove the short" line, which again confused me (as it did you). However hitting enter there did not help me , it continued on with some errors and not matter how many times I tried I could not get past it and the tablet would not power-on at all. As I mentioned previously, I did have to take the tablet apart and short a point on the circuit board to ground to get past that part. It is exactly the same as in the unbrick post except I did not have to copy any new files over or run any other scripts, I just had to run the same script (bootrom-step-minimal.sh) again, connect the points on the circuit board (short), connect the usb cable, and remove the short when prompted, and then it completed without problems. Other 5.3.7.0 users did not mention any issues, so I figured I just got unlucky there, but in the end it all worked out for me.
[Fire HD 8 and HD 10 Original Android Development] byfgjk:
Ok I am trying to learn how any of this stuff works, just have lots of experience in PC and Linux, none in mobile stuff.

Here is what I did and where I am stuck:

I got root, installed TWRP

Then I followed the instructions on LOS 14 install where it says first reset to stock

I did all that, it booted into regular FireOS but superSU was installed

SuperSU said it needed updating and I said yes so it rebooted into TWRP and updated, but then I am now stuck at the fire logo at boot (not the amazon logo, I get past that)

Then I asked around how to boot to TWP by holding the power and the right volume key (volume up/down is hard to tell with the fire)

I booted into TWRP, installed the LOS14 zip, did not see any error messages, but I am now still stuck at the fire logo.

I tried booting into TWRP and do a format data, but that still didn't get me past the fire logo.

I can always boot into TWRP, so how do I actually go around fixing this?

Thanks in advance.
[Fire HD 8 and HD 10 Original Android Development] gRooster:
Hmm, I am new to this too so I am not sure how much I can help, but after installing LOS, i do not see the Fire logo at all. Instead I see the LOS logo., so it sounds like it is not installing correctly. I wonder if maybe the boot exploit got disabled somehow? Sounds like upgrading SuperSU may have broke something (I put my tablet into airplane mode right after the factory reset and did not update anything, then (IIRC) I installed Magisk using TWRP, then went on to install LOS. Did not run into any problems like this. I wonder if re-doing the exploit would help? I see in TWRP that there is an option to reboot into the hacked bootloader, maybe try that, and if that works I would think you could go straight to the "sudo ./fastboot-step.sh" and then "sudo ./step-2.sh" to redo the exploit. If all that works, try flashing LOS again. I think that is what I would try to do, but again I am new to this too, so you may just want to wait for one of the pros to respond.
[Fire HD 8 and HD 10 Original Android Development] byfgjk:
What options do you choose in TWRP to install LOS? Do you unzip the .zip file first?
[Fire HD 8 and HD 10 Original Android Development] gRooster:
No, you do not unzip it. Choose "Install" and navigate to the directory where the zip file is and select the zip file. From there either choose to "Add more Zips" (if you want to install GApps, etc too), or just "Swipe to Confirm Flash" and let it do it's thing.

Edit: BTW: You should prob also do the Wipe/Format data/Factory reset thing again first (as in the LOS install instructions)
[Fire HD 8 and HD 10 Original Android Development] DragonFire1024:
Nothing not a general curiosity. I was just more surprised that it even worked at all. Was just curious to see how far along it might have been able to get and what it does. It has always been a curiosity of mine. Was just hoping that somebody else would have had a little bit more of an answer as to its exact purpose. Looks like I will have a little bit more work to do if I'm to find out.
[Fire HD 8 and HD 10 Original Android Development] Michajin:
Did you figure this out? To install you just need to wipe (no format) cache/data/system/davik. Then flash zip (and gapps if you want), then reboot. Should goto the fire screen then the lineage screen (it may take 5-10 minutes to boot the first time).
[Fire HD 8 and HD 10 Original Android Development] KayGt3:
Device remains in Preloader mode

I follow this guide to unbrick my Fire HD 10 2017: https://xdaforums.com/hd8-hd10/development/2017-fire-hd-10-unbricking-anti-rollback-t3896616

but it keeps remaining in preloader mode, if i do

lsusb

this is the result:

Bus 002 Device 014: ID 0e8d:2000 MediaTek Inc. MT65xx Preloader

Anyone can help me? There's a log to look in?

Thanks!

Kay
[Fire HD 8 and HD 10 Original Android Development] Michajin:
I would say the short isnt working right. (run the bootrom, seeing "waiting for bootrom") It may take a few times of plugging it in while shorting do not remove short until prompted. I have seen that some versions of linux do not see it in time. Typically what i see is bootrom (for about 2-5 seconds) then goes into preloader. the script should lock you into bootrom if short is detected.
[Fire HD 8 and HD 10 Original Android Development] KayGt3:
I read all the thread and a user tried with USB 2.0 instead of USB 3.0, i done the same but is still not working.

Now i'm soldering the short , so i will sure that is connected. :D
[Fire HD 8 and HD 10 Original Android Development] Michajin:
Are you sure these are disbled?

sudo systemctl stop ModemManager

sudo systemctl disable ModemManager

It is helps, i had trouble in Ubuntu getting it to see the bootrom, i have used the livedisk from here and raspberry pi with success (although i had to switch back for the fastboot step). Here is a live disk link that should work for at least the bootrom...

https://github.com/amonet-kamakiri/fireiso/releases
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
NEVER SOLDER THE SHORT.

You should do it normal, just keep trying... If you solder the short the EMMC will be not able to initialize and amonet will fail while writing/reading the GPT.

Regards.
[Fire HD 8 and HD 10 Original Android Development] ALANCHONG:
Why do I keep getting roadblocked at the "Inject payload" point no matter which script I run?
[Fire HD 8 and HD 10 Original Android Development] krustybaguette:
Step One and beyond

With 110 pages of replies I can't imagine taking the time to sift through every comment to find what I need

My fire is currently running Fire OS 5.3.7.0 since January 2020 (no need to downgrade??)

I just found my first mistake. Fire OS 5.3.7.0 is newer than 5.6.4.x How is that logical? but I found it before proceding:confused::)

I'm running Linux Mint 19.3 and plugged my Fire 10 7th gen into and immediately "Fire" showed up on my desktop, and I can see contents of internal memory as well as storage device. Does that mean I can start by installing?

If I fire up my terminal to install those five items is it possible I can do harm to my system?

Is it possible or likely that they are already installed? The fact that I can read the contents of my FIRE already suggests to me that adb is already installed and enabled.

Does this look correct? ~ $ sudo apt-get install python3, PySerial, adb, fastboot, and dos2unix.....NOT all at once, one at a time! :p:) Allow installation of apps that are not from Appstore is enabled according to my Security and Privacy setting.[/QUOTE]

Is this where I get to choose the brick option? After the factory reset

Now comes the fun part:

the zip file is sitting on my desktop waiting for me...[/QUOTE]

Where would I get mtk-su? I've discovered the download and will place the unpacked binary in amonet/bin folder

Is this time to plug the device back in? Is this when I will run step-1.sh to get my device unbricked?

Since my Fire is running 5.3.7.0 I cannot skip step-1.sh and step-2.sh I then move on to Step 4.

Oops, now I found the download page for mtk-su I learned that my FireHD is newer than the 5.6.4.x so I have to backtrack to brick and unbrick my FireHD. To Step 1.

This was written before I made other "discoveries"

And I'm guessing that Magisk is a basic ROM

When I reboot into TWRP will I find the familiar menu that I navigate to find Magisk online?

If I chose to do so, could I find other ROMs (other than Magisk) via TWRP and install them at this point?

When I purchased my Fire HD10 I used a non-root procedure to install Google Play Store and other Google apps.

What will happen to my current installation and current Amazon stuff?

Whatever ROM I end up with on my Fire, will I have to reinstall or will it be left behind somehow?

I'm thoroughly confused at this point. I hope someone can point out any mistakes in my attempted reconstruction of the "step by step"
[Fire HD 8 and HD 10 Original Android Development] Zymozis2:
Hi, after this command "sudo ./bootrom-step-minimal.sh" you connected your tablet, was it turned on or off?

Thank you?
[Fire HD 8 and HD 10 Original Android Development] DB126:
Search function is your friend. You're the one with the device and will need to do the heavy lifting. As a general rule you will find members (readers of this thread) more receptive to one or two well researched queries than a laundry list of curiosities. Most common questions have been answered multiple times. Good luck, mate.
[Fire HD 8 and HD 10 Original Android Development] byfgjk:
I was able to get on Lineage 14.1 successfully, thanks for the help, one of the zips were failing in TWRP so it was never progressing through.

Video acceleration works ok for me too. I can write an easier to understand manual if there's demand for it. Especially for people staring from the newest FireOS version...contrary to most people's experiences, unbrick stuff was easy enough for me.
[Fire HD 8 and HD 10 Original Android Development] Michajin:
Really??? what are you basic questions here.. I will try and simplify.

TRWP is recovery

Magisk is a root manager and a add on for system apps and modifications

you can run stock or install lineage, from a compatible install...

You will need to do the hardware unlock (root and unlock are different)

If you unlock you will factory reset

If you would like someone to help you through it, PM me. There are far too many questions here for me to go through step by step... If you would like help though, I'm available being on lock-down...
[Fire HD 8 and HD 10 Original Android Development] krustybaguette:
I sort of realized that my OP was out of bounds. So I'm going to take it one step at a time now.

I started by following the instructions to install five items via apt. Then moved on to step 1.

Not being rooted I extracted amonet-suez-v1.1.2.zip producing two folders on my desktop, amonet and META-INF

The instruction in orange text says "if you are already rooted, continue with the next step, otherwise get mtk-su..." but do not say what to do next, that is other than placing the unpacked binary mtk-su into the amonet/bin folder. So I placed the mtk-su binary into amonet/bin

At this point I feel I'm left to guess what to do next. Do I open a terminal in the amonet folder? What will happen if I follow step 2. enable adb in "Developer Settings" and then start the script mentioned in step 3. "sudo ./step-1.sh" ?

There is nothing in my FireHD 10 settings called "Developer Options" The closest thing I see is under Security and Privacy, Apps from Unknown Sources: Allow installation of applications that are not from Appstore That option is checked.

My hesitancy is because I've done other rooting, or attempted rooting, that ends badly if you do things in the wrong sequence. The instructions here are unclear.

I don't want to be critical of the developers that work so hard to do what would be beyond my ability, to figure out how to defeat Amazon's programmers who want you to buy their version of Apple's walled garden. In fact I will be happy to put the effort into making a clearly stated, step by step instruction on how to root/unlock the Fire HD10 once I have successfully done so myself!

kb
[Fire HD 8 and HD 10 Original Android Development] Michajin:
Click on build (about 6 times) in settings/about to get dev options. But since you can not use MTK-SU to get root, then you need to do the hardware route or try the offline. If you can get root then you might have another option.

Get root first and prepare to open the device if needed....

https://xdaforums.com/hd8-hd10/general/hd-10-2017-offline-rooting-t3734860

From what i read this root is still working on your version... once you have root continue...
[Fire HD 8 and HD 10 Original Android Development] krustybaguette:
Will I get root soon?

Why do you say "since you can not use MTK-SU ti get root" The NOTE in the instructions says:

but does not say what to do after placing the unpacked binary into amonet/bin. I'm hesitant to go ahead with the next steps but will do so if doing it will get me root.

Since I am on a newer firmware (5.3.7.0) If I run step 3. will my device reboot into recovery and perform a factory reset will that be where I get the brick option?

I worry that being on a newer firmware might cause a permanent brick. If it simply disables my Fire until after I move on to step 4.

Just curious but, if one does not choose the brick option, what then? I'm all for avoiding opening up my Fire if at all possible. OTOH, at least I'd learn how to replace the battery should the original one die. :rolleyes::eek:

That's all I can deal with for tonight. Thanks for bearing with me, Michajin.
[Fire HD 8 and HD 10 Original Android Development] Michajin:
mtk-su only works "up to Fire OS 5.6.4.0 build 636558520 only" you have stated you have a newer version. Follow the instructions to get root access here, i am not sure what other root options are available to you.

There is no point to in the putting mtk-su for your device (this is root, but not an option for you). Once you have root, you can run the script.

Enable adb and run step 1 (this is where a factory reset will occur). Read the instructions, you will be prompted with the script too.

You have to do the brick option because you are a newer version. The opening the device is a last action, you shouldn't need to open it, but need to know this may have to happen to complete this.

option for rooting here:

https://xdaforums.com/hd8-hd10/general/hd-10-2017-offline-rooting-t3734860
[Fire HD 8 and HD 10 Original Android Development] kevin71246:
Fire HD 10 7th Generation 2017 Guide FW:5.3.7.0

I'm thinking this maybe go in a new thread, but I'll post here for now...

This is for folks like me that have the latest Amazon update from 4/2020. From what I understand there is no software way for us to do this; we need to do the hardware "short" method which requires removing the case.

Shorting Guide https://xdaforums.com/hd8-hd10/development/2017-fire-hd-10-unbricking-anti-rollback-t3896616

Picture on what to short is in that thread's OP also.

Pwr off device & disconnect usb

Take back cover off (use a few credit cards you dont care about along with a flat metal object to pry after you started to break free the screen from the case. Do the usb side last. Then remove main board by removing ~11 black & chrome colored screws & carefully flip the board over, toward the battery. The SHORT is easiest if you have an alligator clip jumper wire you connect 1 end to something metal like the sd card metal chrome case & the other end of the alligator clip jumper to a staple (staple you use to staple a bundle of papers). Hold this staple to the point on the board in the pictures and follow the remaining steps.

Setup:

mkdir unlocktablet

cd unlocktablet

wget -O amonet-suez-v1.1.2.zip "https://xdaforums.com/attachment.php?attachmentid=4731548&stc=1&d=1553629603"

7z x amonet-suez-v1.1.2.zip

cd amonet

Run Script

sudo ./bootrom-step.sh

Do short and connect USB cable to pwr up tablet. Press enter and let script do its thing.

Unplug usb. Connect batt (if was unconnected before). Hold pwr btn 5sec. Screen should say hacked fastboot.

sudo ./fastboot-step.sh	->Boots to TWRP!

---------- Post added at 04:02 PM ---------- Previous post was at 03:16 PM ----------

Doesnt anyone know if Lineage OS will work on this? If so, is there a guide anyone can please point me to? (If not, why?) I couldnt find one in the MAIN https://xdaforums.com/amazon-fire or DEV https://xdaforums.com/amazon-fire/development or DEV-ORIGINAL https://xdaforums.com/amazon-fire/orig-development sections (BTW whats the difference between Dev & Original Dev?

If no Lineago OS, any recommendations? Thanks!!

UPDATED:

(I fixed the links above and elaborated a bit on the hardware part.)

LinegeOS:

(I think I was in the wrong Amazon section before and didn't see any of these when I initially asked the question, but here are the answers.)

LineageOS 12.1: https://xdaforums.com/hd8-hd10/orig-development/rom-lineage-12-1-t3953677 I installed this and its very solid and very fast.

LineageOS 14.1: https://xdaforums.com/hd8-hd10/orig-development/rom-lineage-14-1-t3973703 (Look at the 1st post "Known Issues" - currently the camera is not working which was a show-stopper for me)
[Fire HD 8 and HD 10 Original Android Development] Michajin:
The links don't seem to work.

All set, then? congrats... Lineage 14.1 is decent but has a few bugs (at min, flash the OMX fix).
[Fire HD 8 and HD 10 Original Android Development] kevin71246:
Thank you! BTW I fixed the links. Whats the difference between Dev & Original Dev in the main Forum page? https://xdaforums.com/amazon-fire
[Fire HD 8 and HD 10 Original Android Development] jpinzon408:
Hi Kevin, I have a Tablet Amazon Fire HD 10 with Fire OS 5.3.7.0 (650601220), but I want to change it from the operating system, but I am new to this, and I have not been able to "unbricked" or "hack bootloader" to install TWRP. What do you recommend to do it most naturally? I have everything to do it, but I don't know where to start and the errors that appear to me. Is it necessary to open the tablet and do you write? And there is no possibility to do it by software?

Pd, Your links don't work.
[Fire HD 8 and HD 10 Original Android Development] kevin71246:
I fixed my links already, use my OP... Not what someone else quoted.

I recommend you follow my steps in the post above to save you a ton of time. Yes it'll add time taking the cover of & some screws but much quicker than screwing around doing something that might not work but that's up to you. I spent 2 days on this but had I only did my steps it would've taken 2 hours. (I get it though, taking the cover off can be intimidating but isn't a big deal if you ever did a tablet or phone repair; I found it very easy) The software only way to do this only works on some tablets (NOT ones with new FW & other criteria). It gets even more confusing because Amazon FW versioning didn't follow traditional incrementing if version numbers indicating "newness"; a litter# can actually be better than a higher#! Anyway, It would not work for me. If you want, Follow the steps in this thread OP. If that doesn't work then follow my steps for the hardware approach. Good luck
[Fire HD 8 and HD 10 Original Android Development] epeace:
I searched the thread and didnt find this (which worries me), but after having to use the brick option on the preloader, I'm getting an error when running sudo ./bootrom-step-minimal.sh. It says:

Traceback (most recent call last):
File "main.py", line 5, in <module>
from common import Device
File "/Users/epeace/Desktop/Fire HD10/TWRP/amonet/modules/common.py", line 6, in <module>
import serial
ModuleNotFoundError: No module named 'serial'

I checked that pyserial is installed and I get a deprecated message, but also that:

Requirement already satisfied: pyserial in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (3.4)

I am unable to go any further and my tablet is completely bricked. What should I do?
[Fire HD 8 and HD 10 Original Android Development] kevin71246:
I can't say for certain, but I believe this is an issue with your python. Google search that module name. Perhaps you're using the wrong python version when you issue the commands. There's a way to force a python version. But if that's not it you may need to install that missing module - if it's truly called pyserial, and not serial (u should double check that), maybe it's not working in the default python version. Your wife is pointing at python ver 2.7 - try installing python 3? And then make sure that module is working with ver3? Google it, I'm sure there's a way to check. Got luck!
[Fire HD 8 and HD 10 Original Android Development] Michajin:
I am thinking your python serial is not installed or not installed correct...

sudo apt install python3-serial

I am not that versed in linux, but it implies that serial isn't installed? And you might have the wrong version maybe?

From:

sudo apt update

sudo add-apt-repository universe

sudo apt install python3 python3-serial adb fastboot dos2unix
[Fire HD 8 and HD 10 Original Android Development] DaSnipe:
Solid guide but you can do it software only without shorting on 5.3.7.0 (latest Amazon update). Use Kingroot or Kingoroot on Windows to root your device, then follow guide in OP. Your guide is great if you can't get it to work but I was too lazy to short mine and was getting stuck on root. Luckily I was able to root with another method so that I could install TWRP that way