yashsingh1/xdaforums huggingface dataset:
[Fire HD 8 and HD 10 Original Android Development] smithbill:
Comrade Chairman, your advice has been spot-on. Thank you for your assistance.

I have restored Fire OS 5.6.7.0 to my HD10 with root access (Magisk) and TWRP recovery. I had do it twice, because after following the debloating lists given in another XDA thread, I ended up breaking Alexa (not sure exactly what package killed it) and couldn't get it re-enabled, so just started over. I now have a functioning Alexa and used the Toolbox you mentioned to just 'hide' the Amazon bloat rather than disable assorted packages and risk breaking Alexa again.

Thank you again Comrade Chairman.
[Fire HD 8 and HD 10 Original Android Development] mohammedrhuss:
Bricked Tablet after downgrade

[MENTION=5488402]DB126[/MENTION]Can you help me out? I was downgrading the OS and my tablet is now stuck on the Black Screen. Would I need to open my Tablet? Would you able to point me to the specific steps I would need to take?

I ran the following and it is stuck on the handshake line.

sudo ./bootrom-step.sh

[2020-09-30 13:37:44.738180] Waiting for bootrom

[2020-09-30 13:37:51.762296] Found port = /dev/ttyACM0

[2020-09-30 13:37:51.762671] Handshake

^CTraceback (most recent call last):

File "main.py", line 192, in <module>

main()

File "main.py", line 82, in main

handshake(dev)

File "/home/mohammed/Downloads/amonet/modules/handshake.py", line 9, in handshake

dev.handshake()

File "/home/mohammed/Downloads/amonet/modules/common.py", line 103, in handshake

c = self._writeb(b'\xa0')

File "/home/mohammed/Downloads/amonet/modules/common.py", line 98, in _writeb

return self.dev.read()

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

ready, _, _ = select.select([self.fd, self.pipe_abort_read_r], [], [], timeout.time_left())

KeyboardInterrupt
[Fire HD 8 and HD 10 Original Android Development] wise wombat:
Does this work on the douglas versions? or is there a guide for those?
[Fire HD 8 and HD 10 Original Android Development] Sus_i:
https://xdaforums.com/hd8-hd10/orig-development/unlock-fire-hd-8-2017-douglas-t3962846
[Fire HD 8 and HD 10 Original Android Development] megazone23:
So, 5.3.7.x is the latest and it can't be unlocked without opening the device?

Might be the first page should be updated with this information as "If you are on firmware 5.6.4.0 or newer, a downgrade is necessary..." is very confusing now.
[Fire HD 8 and HD 10 Original Android Development] squallkae3:
Okay.. To be fair: Some information is confusing.

I've bricked the Fire HD 10 of my mother with Kingoroot (Aborts after 90%, boot loop after restart).

Now I could flash the stock image with ADB. But since FireOS is confusing my mother, I want to install LineageOS with gapps. I'm not interested in root etc. I just want TWRP running on it.

Do I have to reflash the stock image or can I just avoid this step? Also the downgrade step is confusing in the second post. I have to brick the device and then I have to flash a older image? This means I need to have a working FireOS but downgrading might perma-brick it.

I'm a noob at FireOS devices since they're a little "special". Is there a step-by-step guide if I only want to get TWRP in order to get rid of FireOS? I also apoligize but I can't read over 130 pages.

Thank you.
[Fire HD 8 and HD 10 Original Android Development] smithbill:
Jump back to post#1296 and the help that [MENTION=9411296]chairmanmiaow[/MENTION] gave me. Essentially it boils down to:

1. use the 'matrix' exploit to obtain temporary root with TWRP

2. then return back to the instructions in this thread with permanent root with flashing Magisk & the LineageOS ROM
[Fire HD 8 and HD 10 Original Android Development] Jaymzzen:
I'm fairly new to this and I cannot for the life of me get my Fire HD10 to be recognized as a device in adb. I'm using Ubuntu 20.04 from the Windows 10 store with WSL2.

The device is recognized by adb in Windows Powershell, but not in Ubuntu. Additionally, Ubuntu gives me this:

$ lsusb
unable to initialize libusb: -99
$ adb start-server
* daemon not running; starting now at tcp:5037
* daemon started successfully
$ adb devices
List of devices attached

I've installed all the necessary adb packages (as far as I know), and have also tried installing libusb in Ubuntu, which seemed to have installed but has done nothing. As I said earlier I'm quite new to this so any help would be appreciated, I just want to get this ugly FireOS off my tablet.
[Fire HD 8 and HD 10 Original Android Development] mohammedrhuss:
Input/Output Error

I have followed the guide and used bootrom-step.sh as my Fire HD 10 does not power on. The script keeps failing with the following error. I am following this guide to solve the anti-rollback issue https://xdaforums.com/hd8-hd10/development/2017-fire-hd-10-unbricking-anti-rollback-t3896616/page7

[2020-10-13 20:58:06.874761] Init crypto engine

Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 537, 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/mohammed/Downloads/amonet/amonet/modules/load_payload.py", line 112, in load_payload

init(dev)

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

dev.write32(CRYPTO_BASE + 0x0C0C, 0)

File "/home/mohammed/Downloads/amonet/amonet/modules/common.py", line 154, in write32

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

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

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

serial.serialutil.SerialException: write failed: [Errno 5] Input/output error
[Fire HD 8 and HD 10 Original Android Development] megazone23:
From the review of the Ubuntu on Windows Store (not Ubuntu 20), people said USB devices or hardware access do not work. It's probably the same for Ubuntu 20

I'm using Virtual Box + Ubuntu and it worked for me to root both HD 8 and HD10 2017.

Virtual Box has a top menu option that you need to select which hardware devices to pass to the virtual machine

Make sure adb server on Windows, if any , is shutdown

(Not exactly if it's required, when working on HD 10 I had add an USB entry and change the serial no. The old entry has serial no. of HD 8)
[Fire HD 8 and HD 10 Original Android Development] Jaymzzen:
I actually found that out earlier today. I ended up installing Ubuntu alongside Windows 10 and I finally got my tablet flashed. I'm now happily running LOS 14.1 on my Fire HD 10. Running like butter and is much better than FireOS.
[Fire HD 8 and HD 10 Original Android Development] Nrym:
This is what I want! using win8.1 and I'm no expert at all, just got a Firehd10 2017 and want to install LOS 14.1 but OEM is locked
[Fire HD 8 and HD 10 Original Android Development] drdtyc:
I did nothing of the sort you mentioned.

All done within TWRP without manually changing any script.

First, Advanced Swipe

Second, Install the image.zip file.

That is all.
[Fire HD 8 and HD 10 Original Android Development] XploitOcelot:
Can I follow this guide being in Fire OS 5.6.7.0 with my Fire HD 10 2017? Or is there anything I need to know before?

EDIT: Like this? https://xdaforums.com/showpost.php?p=83562549&postcount=1296
[Fire HD 8 and HD 10 Original Android Development] ajvasudhar:
Move to Lineage-14.1 from Fire OS 5.6.7.0

These are the posts I followed, thanks to folks here. Rooting and flashing a rom after a very long time.

I have a Mac, so had to setup the environment accordingly.

To ROOT

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

While following the steps here, for noobs like me "-- Type adb shell in an your terminal or command prompt. You should enter the tablet as a user."

Follow the instructions, it's long but definitely works.

To get into Fastbook and load a TWRP

https://xdaforums.com/showpost.php?p=83397613&postcount=1282&nocache=1

Start from #3A

Goto OP to download [Current version: amonet-suez-v1.1.2.zip]

To flash Lineage 14

https://xdaforums.com/hd8-hd10/orig-development/rom-lineage-14-1-t3973703
[Fire HD 8 and HD 10 Original Android Development] an0ym0us:
Will any of these methods work on a 2019 version with the latest update?
[Fire HD 8 and HD 10 Original Android Development] neatojones:
My Fire HD 10 touch stopped working right. It would work for a couple minutes when it was turned on, but then stopped working until a reboot. I tried installing lineage but the problem persisted.

Update - Turns out it was a hardware issue similar to the old iphone 6 Touch Disease. I opened the tablet and used a hair blow dryer to heat the motherboard and the touch started working again (heat to the touch IC would have been best, but I wasn't sure which one it was). It still registers a long press at times when it shouldn't and occasionally has trouble with typing using the swipe. But, it pretty well works for everything else. I believe that my tablet has a weakly soldered area at the touch IC and this seems to have melted the solder into a new position that it works.
[Fire HD 8 and HD 10 Original Android Development] Jedi21:
Hi, forgive the newbie question..

Given the only available custom roms don't have a working camera, I won't install them..

Would I need root for anything else?
[Fire HD 8 and HD 10 Original Android Development] XploitOcelot:
Thanks for the info dude!! :good::good::good:
[Fire HD 8 and HD 10 Original Android Development] helgi_od:
Confirm this worked for me as well for FIreOS 5.6.8.0! Moved to Lineage 12.1 (need working camera).

Just a small tip. Don't waste your time with Windows Subsystem for Linux. Better use normal installation or live-system instead.
[Fire HD 8 and HD 10 Original Android Development] Droid4200:
I know this form is for 2017, but my question is hd 10 2019. No one has a root method for new firmware and we don't have an option to downgrade, a lot of us are stuck, can someone with UART/serial flashing knowledge help us out to downgrade by tapping into board and flashing older usable firmware? It would help a lot of people out.

Thank you.
[Fire HD 8 and HD 10 Original Android Development] pkgingo:
Can someone please post their GPT data?

I ran the script posted in the OP but it never saved out any gpt data and now twrp has loaded and I loaded a rom but I have no other partitions. I cant authorize adb in the rom to dump the partition table properly.

TIA!

Update: I managed to finally figure it out. It looks like the lineage 14 scripts do NOT have the mkfs commands that lineage 12 does, so you must first flash lineage 12 before you can use another distribution.
[Fire HD 8 and HD 10 Original Android Development] KingLeaf:
How? I can't retain root after reboot on 5.6.8.0.
[Fire HD 8 and HD 10 Original Android Development] NickStaceeJaxx:
Hi guys,

I need your help! I try to return back to stock, because I want to sell my Fire HD tablet.

I try to run the return script on a linux live system.

However I get two errors

./return-to-stock.sh: line 7: dos2unix: command not found

This is only for the "suez" (Amazon Fire HD10 (2017)), your device is a ""

The second line is kind of funny, because when I run adb shell getprop ro.product.name it shows me suez....

Ive installed the latest fire os update via TWRP, so there shouldnt be a problem.

Maybe you have an idea and can help me?

Thanks in advance for your help :)
[Fire HD 8 and HD 10 Original Android Development] rG-:
so i found my old fire hd 10 and decided to try this out! workes very well! GJ!

PS: i had to use the "bricked version" without step 2.sh!
[Fire HD 8 and HD 10 Original Android Development] smithbill:
I've been using my rooted Fire HD 10 on FireOS for months and it's been working well. However, I just got the notification that a new Magisk was available (I had been on Magisk 20.4). So I downloaded the new Magisk zip (v21.3) and went into TWRP and wiped Cache/dalvik, flashed Magisk zip, wiped Cache/dalvik again and rebooted.

It crept through the Fire "Optimising system storage and applications" screen and is stuck at the end. I tried power down & reboot, it was then just stuck on the Fire screen. I tried rebooting to TWRP and wiping caches again, but the same happens - it's now been sat on the "Optimising system storage and applications" screen for an hour.

So it would appear that Magisk 21.3 does not work with Fire HD 10 (2017) on FireOS 5.6.8.0.

Anyone got any ideas how to resolve this?
[Fire HD 8 and HD 10 Original Android Development] sga999:
I am also having problems with 21.3. (The difference is that I have a custom rom installed). I also tried 21.2 and that fails. But 21.1 does work (and 20.4).

I'm not that familiar with GitHub, but it looks like someone reported a similar problem #3636, 15 days ago on a Sony Z1C. It's about 9 down from your report on that site. Let's hope someone gets around to addressing this problem soon.

By the way, the newest Magisk Manager 8.06 seems to work fine with 20.4 or 21.1.
[Fire HD 8 and HD 10 Original Android Development] smithbill:
That's interesting, I tried Magisk 21.1 but it also left me unable to boot FireOS 5.6.8.0. But I could easily enough revert back to Magisk 20.4 and it booted back up with no problems. I didn't bother trying 21.0 as I assumed it would also fail.

The Magisk Manager update works fine, just Magisk itself doesn't.
[Fire HD 8 and HD 10 Original Android Development] Korin67:
I am new to suez. Sorry if his is a FAQ. I got suez recently, and the firmware is 5.6.8.0. OP says that I need to downgrade (brick). This means: set suez in fastboot mode (adb reboot bootloader) and run brick.sh?

When I did it, brick seems fail and FireOS reboot. Is there newer version of brick.sh?? I have experience with douglas and karnak, but new to suez.

Thank you for your advice.
[Fire HD 8 and HD 10 Original Android Development] Korin67:
Sorry guys, this is a response to myself. I should have to search more before posting this. I found that brick.sh is no more useful (for newer firmware). We have to use Kingo Root approach instead to brick the tablet.

Thank you for your time.
[Fire HD 8 and HD 10 Original Android Development] Korin67:
Succeeded but need your help. By following the @ajvasudhar method. I could successfully install TWRP from FireOS 5.6.8.0. I installed LOS14.1 and reboot. But boot animation repeats endlessly. What I noticed is in TWRP /data was not mounted. I can turn off the tablet by pressing PWR button nearly 30 secs. But I cannot enter TWRP. The key sequence is VolDown+PWR?? The tablet always go into LOS14.1 animation that does not boot now. Please help.

Edit:

After root the tablet. I did ./step-1.sh to brick. Then, ./bootrom-step-minimal.sh, lastly ./fastboot-step.sh all from amonet version 1.1.2

Edit2:

Okay, I can find how to enter twrp. It is VolUP(or Dn, the key closer to PWR)+PWR. I cannot mount /data with this version of TWRP (3.2.3-O). Is there newer version for suez? With this version I always see Keep System Read only? message. And I can mount System and Cache. I cannot not mount Data.

Edit3:

Solved. I had to do Format Data partition in TWRP. After this everything is okay. Thank you for all the informative articles in this thread.
[Fire HD 8 and HD 10 Original Android Development] fuzzynco:
I did the software install on a usb live xubuntu 20.4 (lte).

I setup adb on the tablet and got them connected ok.

I do now see 'serial-number device' reply to 'adb devices'.

Running step-1.sh says its using mtk-su and then pushes the 3 files okay.

error message:

Failed critical init step 4

This firmware cannot be supported

error just keeps repeating.

The tablet is Fire HD 10 2017

OS: 5.6.4.0 (636559820)

It's never connected to the internet.

I thought it was supposed to ask permission for the workaround for the 5.6.4.0 issue.

It didn't. I did download 'brick-suez' and 'return-to-stock' zips and unzipped them.

What should I do?

Fuzzy
[Fire HD 8 and HD 10 Original Android Development] Korin67:
I am new to suez, just finished my TWRP job. If incorrect, more knowledgeable people might correct.

I think in your case, you need to brick your tablet first. If the 'brick.sh' works, it is simple. Otherwise, you first need to root your tablet. Be sure in this case, 'su' command in adb shell environment guide to superuser. Under this environment you can use step-1.sh guides you to brick your tablet. Once your tablet be bricked, bootrom-step.minimal.sh will guide to fastboot mode.
[Fire HD 8 and HD 10 Original Android Development] KingNeox:
I need youre help please. i tried to root my fire hd 10 (2017) as it was described in the first post here. After the step

"sudo systemctl stop ModemManager

sudo systemctl disable ModemManager"

the Tablet didnt start again and now when it is connected to the computer there is only a connect and disconnect sound after 20 seconds in an endless loop. No reactions on the tablet, the screen stay black. Because it stay black i also cant acess to the recovery mode. Can i rescue my tablet with any steps?

Thanks for youre help.
[Fire HD 8 and HD 10 Original Android Development] RjGunner111:
how do i downgrade the operating system from fireos 5.6.7.0 to fireos 5.6.4.0 or earlier?
[Fire HD 8 and HD 10 Original Android Development] fuzzynco:
Should I run brick.sh, then bootrom-minimal.sh?

I'm a little lost as I thought if it tested for > 5.6.3 and failed it would ask for

permission to do the brick and then continue the script? Instead it continues without

asking and then fails with 'critical init step 4' error message.

It appears to have pushed the 3 three files to the tablet successfully, using mtk-su.

Fuz
[Fire HD 8 and HD 10 Original Android Development] Robi2003:
My Fire HD 10 (2017) is not showing anything.

So I have the black screen brick.

I just wanted to try the steps from @k4y0z

But after "Disable Watchdog" I get this (see screenshot)

View attachment 5224051
[Fire HD 8 and HD 10 Original Android Development] Korin67:
Unfortunately, brick.sh does not work. bootrom-minimal.sh only works if your tablet is bricked. That means you first have to brick your tablet. To brick your tablet without using brick.sh (now it is useless), you need to root your tablet first. Article #1321 (the original article it refers) gives you the clue.
[Fire HD 8 and HD 10 Original Android Development] Robi2003:
I cannot make this step, I get this error:

View attachment 5224705
[Fire HD 8 and HD 10 Original Android Development] fuzzynco:
The tablet is as it came from Amazon with Fire OS 5.6.4.0. mtk-su does still work.

Which version (fire os) was brick.sh written for?

Fuz
[Fire HD 8 and HD 10 Original Android Development] Korin67:
I have no idea. I also tried with OS 5.6.4.0. When I tried brick.sh, the tablet just rebooted to FireOS as if nothing applied. It could not bring the tablet into brick.
[Fire HD 8 and HD 10 Original Android Development] :
I've been experimenting with the LineageOS 14.1 and 16.0 builds for this device, before that I had LineaegeOS 12.1 working fine, but now I can't get it to boot, and it's not detected by adb either. I've tried almost everything including redoing the whole bootloader unlocking process after restoring back to stock so I don't see what could be causing this. Does anyone have any ideas of how I could get LineaegeOS 12.1 working again? Thanks for your help!

Edit: I attempted to clear the misc partition, which worked, but didn't solve the issue.

Edit 2: I fixed this by wiping the metadata partition.
[Fire HD 8 and HD 10 Original Android Development] RjGunner111:
can this be done on virtual machine linux? or does it have to be on a computer that already has linux installed?
[Fire HD 8 and HD 10 Original Android Development] sga999:
I got a notification about a new Magisk version 22.0 today. It is a combined app and zip file. I thought maybe this boot problem would be fixed on our Fire HD 10, but no luck. And yet it looks like this problem was closed out the day after we mentioned it. I wonder why. Has anyone else encountered this issue with the newest version?

As we did before, flashing the older version of the zip works, but it sure would be nice to have the latest version installed.
[Fire HD 8 and HD 10 Original Android Development] mhardyman:
I failed to boot with previous magisk update 21.4. Reverted to 18.1 and boots but can't access root. Installed v22 as an apk this morning and doesn't load. I think mine has got messed up. Is there a link to legacy magisk 20.4. Thanks.
[Fire HD 8 and HD 10 Original Android Development] sga999:
I'm not very familiar with gitHub, but it looks like all old releases are there. Newer ones are listed first, so you may have to advance to a subsequent page to get the one you want.

Releases · topjohnwu/Magisk

The Magic Mask for Android. Contribute to topjohnwu/Magisk development by creating an account on GitHub.

github.com
[Fire HD 8 and HD 10 Original Android Development] RjGunner111:
i need to know if i am able to or if it's recommended that i have a computer running realtime linux
[Fire HD 8 and HD 10 Original Android Development] :
It's highly recommended you just use a live usb; you don't actually have to install Linus just to run this.
[Fire HD 8 and HD 10 Original Android Development] RjGunner111:
so using windows is fine
[Fire HD 8 and HD 10 Original Android Development] :
You can boot from a live linux usb and keep windows installed, yes.
[Fire HD 8 and HD 10 Original Android Development] RjGunner111:
sounds good, thanks for the tip
[Fire HD 8 and HD 10 Original Android Development] otorijin:
Hi everyone, I was given a Fire HD 10 7th gen to play with. It is currently on 5.6.4.0 (636559820). There is a lot to read over but from what I gather so far, I CANNOT use the method in this guide? :cry:

I see there is the "offline method" and "kingoroot apk" as alternatives, but I've read somewhere that superSU and kingoroot are not safe?

-> If I still go with it, which one is better to use (more beginner friendly)?

-> Will installing TWRP/Magisk/Lineage OS afterwards get rid of any potential "bad stuff" from superSU/kingoroot?

Sorry for the noob questions, but I really am a noob to all this haha. So any response will be appreciated! TIA
[Fire HD 8 and HD 10 Original Android Development] ev1lchris:
Is it anticipated that all the hardware will eventually work with this custom ROM?
[Fire HD 8 and HD 10 Original Android Development] Michajin:
What custom rom?
[Fire HD 8 and HD 10 Original Android Development] Michajin:
Kingoroot ads adware usually. But unlocking would clear it, unlocking wipes data anyways. superSU is fine for SU management. Magisk is a root that can be hidden from apps that look for root. To install TWRP you will need to be unlocked. Magisk is a SU management. Lineage is a custom rom. What are you looking to do? This guide will help to unlock once you have root access. Unless you want to open the device.
[Fire HD 8 and HD 10 Original Android Development] Avishay.a:
Hi everyone,

I have Fire HD 10 7th gen with firmware version 5.6.8.0.

I would like to open the bootloader in order to install TWRP and install lineage OS.

I read countless threads and posts in many forums, but I'm quite lost.

I rooted devices and installed custom ROMs many times in the past on other Android devices (and did some times Jailbreaking on iOS), so I'm sure I got the skills and understanding.

Can someone point me to one simple step-by-step guide that actually works and fits my version 5.6.8.0, how to open the bootloader?

Thank you all in advance!
[Fire HD 8 and HD 10 Original Android Development] poulopoulosa:
I got a Fire 10 (Suez) from a friend he said the USB was not working. I opened it and fixed with a new usb port. But, I realised that I cannot root it since its the latest firmware.

I read somewhere that you need to short some specific parts on the board to kick a different do you have any links? I can open the device.

Thanks