[UNLOCK][ROOT][TWRP][UNBRICK] Fire HD 8 2017 (douglas)

Search This thread

opec

New member
Dec 26, 2007
4
7
I have never tried mtk-su. I have successfully unlock three douglas'es so far. Every time I used brick-9820.sh to brick douglas. Have you tired it?
Hi , funny think i experimented a bit , with the brick-9820.sh i manged to see the Hacked fastboot message already, but however when the tablet started it asked me for the pin (wich i dissabled earlier today before i started, and also did factory reset and wipe cache partitioin). After entering the pin it told me the pin is correct however my data is corrupted and the device needs to be reset , i only coudl choose reset, after the reset the hacked fastboot was gone again. So i retried but this time i wasnt luck with the brick-9820 anymore. SO i retried several tiems and then was lucky with the regular brick.sh.

I also noticed , that after the bootrom-step.sh it says it should reboot to Hacked Fastboot wich however it didnt do, i gues maybe the screen was still not wokring, so instead manually goign to fastboot i directly fired "fastboot-step.sh" after bootrom-step was finished.

After that the FireHD booted to TWRP. In the frist post it recommends flashign magisk through TWRP , is this needed ? I want to change to LIneage OS.

greetz

opec
 

Korin67

Senior Member
Feb 24, 2018
233
99
Hi , funny think i experimented a bit , with the brick-9820.sh i manged to see the Hacked fastboot message already, but however when the tablet started it asked me for the pin (wich i dissabled earlier today before i started, and also did factory reset and wipe cache partitioin). After entering the pin it told me the pin is correct however my data is corrupted and the device needs to be reset , i only coudl choose reset, after the reset the hacked fastboot was gone again. So i retried but this time i wasnt luck with the brick-9820 anymore. SO i retried several tiems and then was lucky with the regular brick.sh.

I also noticed , that after the bootrom-step.sh it says it should reboot to Hacked Fastboot wich however it didnt do, i gues maybe the screen was still not wokring, so instead manually goign to fastboot i directly fired "fastboot-step.sh" after bootrom-step was finished.

After that the FireHD booted to TWRP. In the frist post it recommends flashign magisk through TWRP , is this needed ? I want to change to LIneage OS.

greetz

opec

So you are now successfully installed TWRP, right? Then the game is over. You can now do anything you like. What I did first is backup FireHD in TWRP so that you can come back to FireHD anytime you want. Magisk is very optional. You can safely wipe FireHD because it should be already backupped. You might 1st install LOS12.1 (or LOS14.1), then reboot to system. You can check how LOS works. If you feel good impression go to TWRP and install gapps (I prefer to BitGapps now), and then if you want install Magisk. This is the usual sequence after you have TWRP. You need not rush to Magisk.

Have fun.
 

willgaj

New member
Dec 4, 2020
1
0
Hi, I'm trying to root my Kindle Fire HD 8, Gen 7, 5.6.8.0 and when I try to brick the device for downgrading, the program stalls at . . .

Brick preloader to continue via bootrom-exploit? (Type "YES" to continue)
YES
Bricking PL Header
Check instructions on device

<waiting for any device>

I have my device plugged in, with a cord capable of data transfer, and turned on. I recieve no message on the tablet. I'm currently running Ubuntu off of a USB if that makes a difference. Any suggestions? Thanks!
 

Korin67

Senior Member
Feb 24, 2018
233
99
Hi, I'm trying to root my Kindle Fire HD 8, Gen 7, 5.6.8.0 and when I try to brick the device for downgrading, the program stalls at . . .

Brick preloader to continue via bootrom-exploit? (Type "YES" to continue)
YES
Bricking PL Header
Check instructions on device

<waiting for any device>

I have my device plugged in, with a cord capable of data transfer, and turned on. I recieve no message on the tablet. I'm currently running Ubuntu off of a USB if that makes a difference. Any suggestions? Thanks!

Is your douglas in fastboot mode? I mean what PC says when you type sudo fastboot devices. Your device should be listed on PC screen. Which brick command do you use, brick.sh or brick-9820.sh ? Most likely it should be brick-9820.sh.
 

opec

New member
Dec 26, 2007
4
7
@willgaj did you enter bootloader mode on the Fire ? Powerdown and then Press VolUp + Power, wait until you see "Enter Recovery" , then select "Bootloader".

Heres how it worked out for me:

Files I used:

amonet-douglas-v1.2.zip from first Page of this Thread:
https://forum.xda-developers.com/attachments/amonet-douglas-v1-2-zip.4845269/
Unpack the Archive to a separate Folder.

brick-douglas.zip from first Page of this Thread:
https://forum.xda-developers.com/attachments/brick-douglas-zip.4825253/
Unpack the Archive to a separate Folder.


MTK-su (i used te 64 bit) from here:
https://forum.xda-developers.com/t/rapid-temporary-root-for-hd-8-hd-10.3904595/
Unpack and copy to the MTK-su from the 64 Bit folder to the “bin” folders of the previous unpacked folders.


Unlock steps:

  1. Reboot FireHD8 to Recovery (Power Off device, then hold VolUp + Power)

  2. Select Facotry Reset then Wipe Cache

  3. Reboot to Bootloader

  4. You will see the balck screen with “Fastboot” in the lower corner.

  5. Open Terminal from “brick-douglas” folder an enter “sudo ./brick.sh
  6. Check Display output for the “Disconnect USB and Powerdown” Message and do so when prompted
    (If theres an Error see below Step 12)

  7. Open Terminal from “amonet-douglas-v1.2” foder.

  8. Enter “sudo ./bootrom-step.sh"

  9. Reconnet USB

  10. Wait until the bootrom step is finished

  11. Enter “sudo ./fastboot-step.sh”

  12. You will end up in TWRP

If theres an error let the FireHD Reboot and do the “Apps and Data Optimization” at the Welcome Install Screen Powerdown the FireHD and enter Bootloader again.
  • Open Terminal from “brick-douglas” folder
  • Enter “sudo ./brick-8920.sh”
  • Check Display output for the “Disconnect usb and powerdown” message and do so when prompted.
  • Enter “sudo ./bootrom-step.sh
  • Reconnet USB
  • Wait until the bootrom step is finished.
  • Enter “sudo ./fastboot-step.sh"
  • You will end up in TWRP


Lineage OS installation:

Prepare a Micro SD Card with: Lineage OS (Search the forum for the douglas (FireHD 8 7.Gen) or suez (FireHD 10 7Gen) Version, Gapps (ARM64, 7.1, nano) and Magisk and insert in FireHD.

In TWRP Format Data and Wipe data, system, cache.

Install Rom, gapps and magisk

Reboot to Lineage OS



Hardware Method:

If you got stuck somewhere in the middle or the Exploit doesn’t work try the hardware method.

I somehow bricked my HD10 , I think I disconnected the USB because I was to unpatient.

For the Hardware method, you need to open the Tablet, use a prytool or a Creditcars / Knife to remove the backcover, just gently pry around the bezel until the screen pops out.

You need to unscrew the mainboard and gently flip it over , on the HD10 I didn’t had to remove any wire , just be carefull with the speakers and put a piece of cardboard or plastic on the back between the mainboard and battery so it will not shorten or puncture the battery.

Find the CLK pin (theres several pictures on the forum for your specific device) use a piece of wire or paperclip to shorten from a ground plane or the SD Card slot housing to the clock pin. This works best if you got someone that will help you.

  • Connect USB to the Tablet, but leave it unplugged on the Computer side.
  • Make sure the Tablet is powered down (Press and hold Power button for 30 seconds)
  • Open Terminal from “amonet-douglas-v1.2” foder.
  • Enter “sudo ./bootrom-step.sh”
  • Now shorten CLK to ground and hold it.
  • Ask a kind person to plug in the USB cable on the Computer now.
  • The Terminal will tell you to remove the wire when ready.
  • Press enter and wait for bootrom-step.sh to finish.
  • If an error during bootrom step occurs , just retry
  • After bootrom step is finished, enter “sudo ./fastboot-step.sh”
  • You will end up in TWRP

PS: I directly installed LOS 14.1 on the HD8 , on the HD10 i i used LOS 12.1 because LOS 14.1 is missing Camera Support on the HD10 in fact loosing the camera shouldnt trouble too much as the picture quality is horrible anyways. As for now I am happy to have a running Android on the tabs and don´t need to worry amazon giving me headaches every few weeks when updating CrapOS and redndering my configuration unuseable , i got 14 HD8/10 deloyed around the house as input devices for Homeautomation (running Habpannel).

One thing to mention when switching to LOS, is that you can´t use apps that need to be certified anymore, like Netflix, Banking etc.

Good luck!

PPS: Thanks a lot to k4y0z and his fellas for the great job!


opec
 

neniu nomo

New member
Dec 6, 2020
2
0
I'm looking forward for a video tutorial. It's would much easier to understand. Can anyone do it pls, thanks
 

VMGal

New member
Dec 7, 2020
1
0
@opec I was having the same issue as @willgaj with the same device and software, everything. The process you described was going smoothly until I tried to run ./bootrom-step.sh. At looked like it was going well, but it suddenly stopped at "Waiting for bootrom". I waited to see if anything would happen for over 5 minutes, but nothing changed. I tried both bootrom-step.sh and bootrom-step-minimal.sh, neither was any different from the other. Obviously it is bricked, so I cannot turn it on or do anything with the Kindle. How exactly can I fix this issue/is it even recoverable at this point?
 

Neo3D

Senior Member
Jan 2, 2008
2,522
737
Samsung Galaxy A32 5G
NOTE: If you are on a firmware newer than 5.6.4.0, a downgrade is necessary, this requires bricking the device temporarily. (The screen won't come on at all)
If you chose the brick option, you don't need to run step-2.sh below:



Make sure ModemManager is disabled or uninstalled:
Code:
sudo systemctl stop ModemManager
sudo systemctl disable ModemManager


WARNING: Do not use bootrom-step-minimal.sh if you bricked using brick(-9820).sh!
You will need to use bootrom-step.sh.


After you have confirmed the bricking by typing "YES", you will need disconnect the device and run
Code:
sudo ./bootrom-step-minimal.sh
Then plug the device back in.

I don't understand the typing "YES" part? there isn't a step that results in the script asking a question that requires a YES answer? Am I missing something or are the instructions missing something?


Thank you!
 

Neo3D

Senior Member
Jan 2, 2008
2,522
737
Samsung Galaxy A32 5G
@willgaj did you enter bootloader mode on the Fire ? Powerdown and then Press VolUp + Power, wait until you see "Enter Recovery" , then select "Bootloader".

Heres how it worked out for me:

Files I used:

amonet-douglas-v1.2.zip from first Page of this Thread:
https://forum.xda-developers.com/attachments/amonet-douglas-v1-2-zip.4845269/
Unpack the Archive to a separate Folder.

brick-douglas.zip from first Page of this Thread:
https://forum.xda-developers.com/attachments/brick-douglas-zip.4825253/
Unpack the Archive to a separate Folder.


MTK-su (i used te 64 bit) from here:
https://forum.xda-developers.com/t/rapid-temporary-root-for-hd-8-hd-10.3904595/
Unpack and copy to the MTK-su from the 64 Bit folder to the “bin” folders of the previous unpacked folders.


Unlock steps:

  1. Reboot FireHD8 to Recovery (Power Off device, then hold VolUp + Power)

  2. Select Facotry Reset then Wipe Cache

  3. Reboot to Bootloader

  4. You will see the balck screen with “Fastboot” in the lower corner.

  5. Open Terminal from “brick-douglas” folder an enter “sudo ./brick.sh
  6. Check Display output for the “Disconnect USB and Powerdown” Message and do so when prompted
    (If theres an Error see below Step 12)

  7. Open Terminal from “amonet-douglas-v1.2” foder.

  8. Enter “sudo ./bootrom-step.sh"

  9. Reconnet USB

  10. Wait until the bootrom step is finished

  11. Enter “sudo ./fastboot-step.sh”

  12. You will end up in TWRP

If theres an error let the FireHD Reboot and do the “Apps and Data Optimization” at the Welcome Install Screen Powerdown the FireHD and enter Bootloader again.
  • Open Terminal from “brick-douglas” folder
  • Enter “sudo ./brick-8920.sh”
  • Check Display output for the “Disconnect usb and powerdown” message and do so when prompted.
  • Enter “sudo ./bootrom-step.sh
  • Reconnet USB
  • Wait until the bootrom step is finished.
  • Enter “sudo ./fastboot-step.sh"
  • You will end up in TWRP


Lineage OS installation:

Prepare a Micro SD Card with: Lineage OS (Search the forum for the douglas (FireHD 8 7.Gen) or suez (FireHD 10 7Gen) Version, Gapps (ARM64, 7.1, nano) and Magisk and insert in FireHD.

In TWRP Format Data and Wipe data, system, cache.

Install Rom, gapps and magisk

Reboot to Lineage OS



Hardware Method:

If you got stuck somewhere in the middle or the Exploit doesn’t work try the hardware method.

I somehow bricked my HD10 , I think I disconnected the USB because I was to unpatient.

For the Hardware method, you need to open the Tablet, use a prytool or a Creditcars / Knife to remove the backcover, just gently pry around the bezel until the screen pops out.

You need to unscrew the mainboard and gently flip it over , on the HD10 I didn’t had to remove any wire , just be carefull with the speakers and put a piece of cardboard or plastic on the back between the mainboard and battery so it will not shorten or puncture the battery.

Find the CLK pin (theres several pictures on the forum for your specific device) use a piece of wire or paperclip to shorten from a ground plane or the SD Card slot housing to the clock pin. This works best if you got someone that will help you.

  • Connect USB to the Tablet, but leave it unplugged on the Computer side.
  • Make sure the Tablet is powered down (Press and hold Power button for 30 seconds)
  • Open Terminal from “amonet-douglas-v1.2” foder.
  • Enter “sudo ./bootrom-step.sh”
  • Now shorten CLK to ground and hold it.
  • Ask a kind person to plug in the USB cable on the Computer now.
  • The Terminal will tell you to remove the wire when ready.
  • Press enter and wait for bootrom-step.sh to finish.
  • If an error during bootrom step occurs , just retry
  • After bootrom step is finished, enter “sudo ./fastboot-step.sh”
  • You will end up in TWRP

PS: I directly installed LOS 14.1 on the HD8 , on the HD10 i i used LOS 12.1 because LOS 14.1 is missing Camera Support on the HD10 in fact loosing the camera shouldnt trouble too much as the picture quality is horrible anyways. As for now I am happy to have a running Android on the tabs and don´t need to worry amazon giving me headaches every few weeks when updating CrapOS and redndering my configuration unuseable , i got 14 HD8/10 deloyed around the house as input devices for Homeautomation (running Habpannel).

One thing to mention when switching to LOS, is that you can´t use apps that need to be certified anymore, like Netflix, Banking etc.

Good luck!

PPS: Thanks a lot to @k4y0z and his fellas for the great job!

Wow, these steps are so much more detailed, THANK YOU!!
 

Neuken6969

Senior Member
Sep 25, 2018
107
10
getting this error in my virtual linux im running .. any idea? or help fixing this would be great


root error linux Fire HD.PNG
 

Neuken6969

Senior Member
Sep 25, 2018
107
10
@willgaj did you enter bootloader mode on the Fire ? Powerdown and then Press VolUp + Power, wait until you see "Enter Recovery" , then select "Bootloader".

Heres how it worked out for me:

Files I used:

amonet-douglas-v1.2.zip from first Page of this Thread:
https://forum.xda-developers.com/attachments/amonet-douglas-v1-2-zip.4845269/
Unpack the Archive to a separate Folder.

brick-douglas.zip from first Page of this Thread:
https://forum.xda-developers.com/attachments/brick-douglas-zip.4825253/
Unpack the Archive to a separate Folder.


MTK-su (i used te 64 bit) from here:
https://forum.xda-developers.com/t/rapid-temporary-root-for-hd-8-hd-10.3904595/
Unpack and copy to the MTK-su from the 64 Bit folder to the “bin” folders of the previous unpacked folders.


Unlock steps:

  1. Reboot FireHD8 to Recovery (Power Off device, then hold VolUp + Power)

  2. Select Facotry Reset then Wipe Cache

  3. Reboot to Bootloader

  4. You will see the balck screen with “Fastboot” in the lower corner.

  5. Open Terminal from “brick-douglas” folder an enter “sudo ./brick.sh
  6. Check Display output for the “Disconnect USB and Powerdown” Message and do so when prompted
    (If theres an Error see below Step 12)

  7. Open Terminal from “amonet-douglas-v1.2” foder.

  8. Enter “sudo ./bootrom-step.sh"

  9. Reconnet USB

  10. Wait until the bootrom step is finished

  11. Enter “sudo ./fastboot-step.sh”

  12. You will end up in TWRP

If theres an error let the FireHD Reboot and do the “Apps and Data Optimization” at the Welcome Install Screen Powerdown the FireHD and enter Bootloader again.
  • Open Terminal from “brick-douglas” folder
  • Enter “sudo ./brick-8920.sh”
  • Check Display output for the “Disconnect usb and powerdown” message and do so when prompted.
  • Enter “sudo ./bootrom-step.sh
  • Reconnet USB
  • Wait until the bootrom step is finished.
  • Enter “sudo ./fastboot-step.sh"
  • You will end up in TWRP


Lineage OS installation:

Prepare a Micro SD Card with: Lineage OS (Search the forum for the douglas (FireHD 8 7.Gen) or suez (FireHD 10 7Gen) Version, Gapps (ARM64, 7.1, nano) and Magisk and insert in FireHD.

In TWRP Format Data and Wipe data, system, cache.

Install Rom, gapps and magisk

Reboot to Lineage OS



Hardware Method:

If you got stuck somewhere in the middle or the Exploit doesn’t work try the hardware method.

I somehow bricked my HD10 , I think I disconnected the USB because I was to unpatient.

For the Hardware method, you need to open the Tablet, use a prytool or a Creditcars / Knife to remove the backcover, just gently pry around the bezel until the screen pops out.

You need to unscrew the mainboard and gently flip it over , on the HD10 I didn’t had to remove any wire , just be carefull with the speakers and put a piece of cardboard or plastic on the back between the mainboard and battery so it will not shorten or puncture the battery.

Find the CLK pin (theres several pictures on the forum for your specific device) use a piece of wire or paperclip to shorten from a ground plane or the SD Card slot housing to the clock pin. This works best if you got someone that will help you.

  • Connect USB to the Tablet, but leave it unplugged on the Computer side.
  • Make sure the Tablet is powered down (Press and hold Power button for 30 seconds)
  • Open Terminal from “amonet-douglas-v1.2” foder.
  • Enter “sudo ./bootrom-step.sh”
  • Now shorten CLK to ground and hold it.
  • Ask a kind person to plug in the USB cable on the Computer now.
  • The Terminal will tell you to remove the wire when ready.
  • Press enter and wait for bootrom-step.sh to finish.
  • If an error during bootrom step occurs , just retry
  • After bootrom step is finished, enter “sudo ./fastboot-step.sh”
  • You will end up in TWRP

PS: I directly installed LOS 14.1 on the HD8 , on the HD10 i i used LOS 12.1 because LOS 14.1 is missing Camera Support on the HD10 in fact loosing the camera shouldnt trouble too much as the picture quality is horrible anyways. As for now I am happy to have a running Android on the tabs and don´t need to worry amazon giving me headaches every few weeks when updating CrapOS and redndering my configuration unuseable , i got 14 HD8/10 deloyed around the house as input devices for Homeautomation (running Habpannel).

One thing to mention when switching to LOS, is that you can´t use apps that need to be certified anymore, like Netflix, Banking etc.

Good luck!

PPS: Thanks a lot to k4y0z and his fellas for the great job!


opec

AMAZING this walkthrough is flawless and worked perfectly. Hopefully somebody is still following this, is there a kernel or something to speed this little thing up?
 

VinceVega1978

New member
Jul 9, 2019
3
3
I can't get the brick working on my Fire HD 8 with 5.4.0.0 (is this version already the problem?)
I have tried it with live systems of ubuntu and linux mint on two different PC's.
Also tried different USB cables and ports (USB 2 and 3).

I mostly tried the instructions from
@deverro https://forum.xda-developers.com/t/...-fire-hd-8-2017-douglas.3962846/post-82921395
and
@opec https://forum.xda-developers.com/t/...-fire-hd-8-2017-douglas.3962846/post-84047455

The tablet is in Fastboot Mode, this is recognized from the linux terminal.

If i enter the "sudo ./brick.sh" command and continue with "YES", the tablet changes from "fastboot mode" to "USB Transfering...".
After about a minute the tablet display gets dark and restarts to the normal fire os.

The terminal says:
"target reported max download size of 114294784 bytes
Sending 'brick' (112090 KB)...
FAILED (data write failure (Protocol error))
Finished. Total time 61.933s"



If i use the "sudo ./brick-9820.sh" command, it looks a bit different.
The tablet changes from "fastboot mode" to "USB Transfering...".
And a few seconds later "USB Transmission OK Time 5029ms Vel: 22727KB/s"
But then nothing happens after that and also about a minute later the tablet display gets dark and restarts to the normal fire os too.

The terminal says:
"target reported max download size of 114294784 bytes
Sending 'brick' (111616 KB)...
OKAY [ 5.056s]
Writing 'brick'...
FAILED (status read failed (No such device))
Finished. Total time 661.913s"



Any help would be really appreciated.
 

MontysEvilTwin

Senior Member
Nov 4, 2016
250
93
I can't get the brick working on my Fire HD 8 with 5.4.0.0 (is this version already the problem?)
I have tried it with live systems of ubuntu and linux mint on two different PC's.
Also tried different USB cables and ports (USB 2 and 3).

I mostly tried the instructions from
@deverro https://forum.xda-developers.com/t/...-fire-hd-8-2017-douglas.3962846/post-82921395
and
@opec https://forum.xda-developers.com/t/...-fire-hd-8-2017-douglas.3962846/post-84047455

The tablet is in Fastboot Mode, this is recognized from the linux terminal.

If i enter the "sudo ./brick.sh" command and continue with "YES", the tablet changes from "fastboot mode" to "USB Transfering...".
After about a minute the tablet display gets dark and restarts to the normal fire os.

The terminal says:
"target reported max download size of 114294784 bytes
Sending 'brick' (112090 KB)...
FAILED (data write failure (Protocol error))
Finished. Total time 61.933s"



If i use the "sudo ./brick-9820.sh" command, it looks a bit different.
The tablet changes from "fastboot mode" to "USB Transfering...".
And a few seconds later "USB Transmission OK Time 5029ms Vel: 22727KB/s"
But then nothing happens after that and also about a minute later the tablet display gets dark and restarts to the normal fire os too.

The terminal says:
"target reported max download size of 114294784 bytes
Sending 'brick' (111616 KB)...
OKAY [ 5.056s]
Writing 'brick'...
FAILED (status read failed (No such device))
Finished. Total time 661.913s"



Any help would be really appreciated.
An old version like 5.4.0.0 is vulnerable to MTK-SU. Don't use the brick scripts use the method that employs MTK-SU to get root privileges and then unlocks the tablet etc.
 
  • Like
Reactions: VinceVega1978

user5589

New member
Jan 17, 2021
1
0
I can't get the brick working on my Fire HD 8 with 5.4.0.0 (is this version already the problem?)
I have tried it with live systems of ubuntu and linux mint on two different PC's.
Also tried different USB cables and ports (USB 2 and 3).

I mostly tried the instructions from
@deverro https://forum.xda-developers.com/t/...-fire-hd-8-2017-douglas.3962846/post-82921395
and
@opec https://forum.xda-developers.com/t/...-fire-hd-8-2017-douglas.3962846/post-84047455

The tablet is in Fastboot Mode, this is recognized from the linux terminal.

If i enter the "sudo ./brick.sh" command and continue with "YES", the tablet changes from "fastboot mode" to "USB Transfering...".
After about a minute the tablet display gets dark and restarts to the normal fire os.

The terminal says:
"target reported max download size of 114294784 bytes
Sending 'brick' (112090 KB)...
FAILED (data write failure (Protocol error))
Finished. Total time 61.933s"



If i use the "sudo ./brick-9820.sh" command, it looks a bit different.
The tablet changes from "fastboot mode" to "USB Transfering...".
And a few seconds later "USB Transmission OK Time 5029ms Vel: 22727KB/s"
But then nothing happens after that and also about a minute later the tablet display gets dark and restarts to the normal fire os too.

The terminal says:
"target reported max download size of 114294784 bytes
Sending 'brick' (111616 KB)...
OKAY [ 5.056s]
Writing 'brick'...
FAILED (status read failed (No such device))
Finished. Total time 661.913s"



Any help would be really appreciated.

I ended up in exactly the same situation as you. Can you still boot the device or get into fastboot mode? In my case, the screen stays black and I can't do anything. I can neither run 'brick-9820.sh' again nor 'bootrom-step.sh'.

I accidentally removed the CLK contact from the board before, but everything was working find with that. The build is or was above 'Fire OS 5.6.4.0 build 636558520 '.

Any idea? Any help is appreciated :)
 

IsolatePlz

Member
Jan 25, 2021
14
0
Thanks, I got there in the end.

For anyone trying to follow on software 5.3.7:

You need the brick-douglas and amonet-douglas v1.2 files from the OP, download and extract these to your Linux system (I used a VM with Ubuntu)

Before starting stop/disable modem manager as per OP

Open the terminal in the brick-douglas folder and connect the device

Allow ADB debugging on the device and check this is found by doing ADB devices in the terminal

ADB reboot bootloader

The device will reboot to fastboot, check this has worked with fastboot devices

sudo ./brick-9820.sh

The script should run and will show on the device screen when bricked.

Unplug and run sudo ./bootrom-step.sh then plug back in

Let it run then run c

You should be finished and in TWRP :)

Biggest watch out for using a VM, all the different modes (ADB, fastboot, bootrom) show up as different USB devices which you need to add to your VM filters, I added a picture with all the USB devices I ended up adding to the VM.
It's not running the script im running ubuntu on a VM and whenever it loads into fastboot it loses the connection to USB sudo ./brick-9820.sh does nothing and it sits on <waiting for any device> can you help
 

dontpanic-xda

Member
Oct 13, 2019
40
10
It's not running the script im running ubuntu on a VM and whenever it loads into fastboot it loses the connection to USB sudo ./brick-9820.sh does nothing and it sits on <waiting for any device> can you help

The way the USB device is presented to the VM causes confusion in the scripts.

There are lots of people who have trouble getting these scripts to work in a VM.

Did you try adding USB devices to the VM as noted in the post you quoted?

One of usual recommendations I see for this problem is to run a live Ubuntu session off of an USB stick. This will often present the USB device as expected by the scripts.
 

IsolatePlz

Member
Jan 25, 2021
14
0
The way the USB device is presented to the VM causes confusion in the scripts.

There are lots of people who have trouble getting these scripts to work in a VM.

Did you try adding USB devices to the VM as noted in the post you quoted?

One of usual recommendations I see for this problem is to run a live Ubuntu session off of an USB stick. This will often present the USB device as expected by the scripts.
"Did you try adding USB devices to the VM as noted in the post you quoted?" I've done that the VM has connection before I go into Fastboot but when i enter it i lose it
 

Top Liked Posts

  • There are no posts matching your filters.
  • 58
    Read this whole guide before starting.

    This is for the 7th gen Fire HD8 (douglas).

    Current version: amonet-douglas-v1.2.zip


    NOTE: This process does not require you to open your device, but should something go horribly wrong, be prepared to do so.


    NOTE: This process will modify the partition-table (GPT) of your device.



    NOTE: Your device will be reset to factory defaults (including internal storage) during this process.


    What you need:
    • A Linux installation or live-system
    • A micro-USB cable

    Install python3, PySerial, adb, fastboot dos2unix. For Debian/Ubuntu something like this should work:
    Code:
    sudo apt update
    sudo add-apt-repository universe
    sudo apt install python3 python3-serial adb fastboot dos2unix

    1. Extract the attached zip-file "amonet-douglas-v1.1.zip" and open a terminal in that directory.


    NOTE: If you are already rooted, continue with the next step, otherwise get mtk-su by @diplomatic from here and place (the unpacked binary) into amonet/bin folder


    2. Enable ADB in Developer Settings

    3. Start the script:
    Code:
    sudo ./step-1.sh

    Your device will now reboot into recovery and perform a factory reset.

    NOTE: If you are on a firmware newer than 5.6.4.0, a downgrade is necessary, this requires bricking the device temporarily. (The screen won't come on at all)
    If you chose the brick option, you don't need to run step-2.sh below:



    Make sure ModemManager is disabled or uninstalled:
    Code:
    sudo systemctl stop ModemManager
    sudo systemctl disable ModemManager


    WARNING: Do not use bootrom-step-minimal.sh if you bricked using brick(-9820).sh!
    You will need to use bootrom-step.sh.


    After you have confirmed the bricking by typing "YES", you will need disconnect the device and run
    Code:
    sudo ./bootrom-step-minimal.sh
    Then plug the device back in.

    It will then boot into "hacked fastboot" mode.
    Then run
    Code:
    sudo ./fastboot-step.sh



    NOTE: When you are back at initial setup, you can skip registration by selecting a WiFi-Network, then pressing "Cancel" and then "Not Now"
    NOTE: Make sure you re-enable ADB after Factory Reset.



    4. Start the script:
    Code:
    sudo ./step-2.sh

    The exploit will now be flashed and your device will reboot into TWRP.

    You can now install Magisk from there.


    Going back to stock
    Extract the attached zip-file "amonet-douglas-return-to-stock.zip" into the same folder where you extracted "amonet-douglas-v1.0.zip" and open a terminal in that directory.
    You can go back to stock without restoring the original partition-table, so you can go back to unlocked without wiping data.
    Just use hacked fastboot to
    Code:
    sudo fastboot flash recovery bin/recovery.img

    If you want to go back completely (including restoring your GPT):
    Code:
    sudo ./return-to-stock.sh

    Your device should reboot into Amazon Recovery. Use adb sideload to install stock image from there. (Make sure to use FireOS 5.6.4.0 or newer, otherwise you may brick your device)

    Important information

    In the new partitioning scheme your boot/recovery-images will be in boot_x/recovery_x respectively, while boot/recovery will hold the exploit.
    TWRP takes care of remapping these for you, so installing zips/images from TWRP will work as expected.

    Don't flash boot/recovery images from FireOS (FlashFire, MagiskManager etc.) (If you do anyway, make sure you flash them to boot_x/recovery_x)

    Should you accidentally overwrite the wrong boot, but your TWRP is still working, rebooting into TWRP will fix that automatically.

    TWRP will prevent updates from overwriting LK/Preloader/TZ, so generally installing an update should work without issues (only full updates, incremental updates won't work).

    For ROM developers there is still an option to overwrite these, which should only be done after thorough testing and if needed (LK should never be updated).

    It is still advised to disable OTA.


    Very special thanks to @xyz` for making all this possible and putting up with the countless questions I have asked, helping me finish this.
    Special thanks also to @diplomatic for his wonderfull mtk-su, allowing you to unlock without opening the device.
    Thanks to @t0x1cSH and @breakfastofsecrets for testing.
    18
    Yesterday i managed to root updated FireOS and install Lineage 12.1, so, here's my story :D

    Version 5.6.6.0 build 654620620,
    on Linux KDE Neon.

    1. Installed python3, PySerial, adb, fastboot dos2unix as described in this and other posts.
      Code:
      sudo apt update
      sudo add-apt-repository universe
      sudo apt install python3 python3-serial adb fastboot dos2unix
    2. Downloaded the following attachments from the first post : amonet-douglas-v1.2.zip and brick-douglas.zip
    3. Extract both files to the same folder
    4. Enable Developer options and enable ADB (inside debugging options) on Amazon tablet
    5. Plug in the tablet (has to be turned on)
    6. Now comes the commands execution part. So, open the terminal in Linux (lines that start with // are comments and should not be run from command line - if you copy paste)

      Code:
      sudo systemctl stop ModemManager && sudo systemctl disable ModemManager
      Code:
      adb devices
      // there should be an item listed
      // to be sure, you can unplug and run it again, if it's empty, 
      // ou know tablet can connect, so plug in the tablet back
      Code:
      adb reboot bootloader
      // reboots the tablet and awaits commands
      Code:
      sudo ./brick.sh
      // type YES, hit enter
      // it will take a couple of minutes (around 3-5min in my case)
      // watch the tablet for success message, it should be displayed there if everything works
      // but also, watch your terminal...if it gives you error message similiar to:
      // ==> [I][U]failed with error message that it can't write somewhere[/U][/I]
      // you have to try with brick-9820 script
      Code:
      sudo ./brick-9820.sh
      // it will take a couple of minutes, similar to above step

      NOTE : after either of the above commands (which one succeeds) POWER OFF THE TABLET and DO NOT try to turn it back on. It should stay powered off!!

      Code:
      sudo ./bootrom-step.sh
      // this will take some time (in my case around 5-10 minutes)
      // will give you message similar to "awaiting device connection" and nothing else...
      // although nothing seems to happen, just wait a bit and watch the terminal, it will soon start displaying the process
      // it should then reboot the tablet, but in my case, that did not happen, so i had to do it manually...
      // NOTE that althought tablet seems to be "off", it isn't, so press power btn and hold for 5 sec to turn it off
      // after that click and hold volume up button (when in portrait mode it is the right one, the one closest to power btn)
      // and immediately after that press and hold the power btn until amazon logo shows itself
      // it should then show in bottom left corner HACKED FASTBOOT after a few seconds

      Code:
      sudo fastboot devices
      // there should be a device listed
      // if not, you should run (in the extracted directory that you are in):
      ./bin/fastboot devices
      // if sudo fastboot devices does not show your device but ./bin/fastboot works, you have to edit the fastboot-step.sh file and change the fastboot commands to ./bin/fastboot
      Code:
      sudo ./fastboot-step.sh
      // takes a couple of minutes (1-3 min in my case)
      // reboots the device

    after that you should be in TWRP :)

    NOTE when in TWRP:

    DO NOT RESTART tablet before the following
    (or amazon fire os will overwrite TWRP and you will be reset to factory default with fireOS, losing everything you've done and starting from scratch...
    when it happened to me, the brick-9820.sh didn't work anymore and had to use brick.sh script)

    -allow modifications
    -format data,system,cache partitions, go to wipe->advanced wipe-> repair/format (something like that), select each of the 3 partitions aformentioned and format to ext4
    -if you've done it correctly, there should not be any red warnings
    -after that go to wipe, select all partitions and wipe them (just to be sure)

    -tablet should be connected and TWRP should be left on

    on PC
    -download Lineage 12.1 ROM from https://forum.xda-developers.com/hd8-hd10/general/discussion-root-progress-fire-hd-8-t3743024
    -download opengapps from https://opengapps.org/
    - put them inside amonet-douglas-v1.2 folder where you've extracted the prior ZIP files (just to be clear, you can put them anywhere, but i like to keep it all inside the working directory)

    -go to terminal
    Code:
    adb push lineage-12.1-20200614-UNOFFICIAL-douglas.zip /sdcard
    adb push open_gapps-arm64-5.1-nano-20200624.zip /sdcard

    now the files are on the tablet
    - in TWRP go to INSTALL, go to /sdcard folder if not in it
    - first install Lineage ROM from zip
    - then install GApps from zip

    hope it works!
    I'm glad i've finally rooted it, thank you all for the great content here! :)
    11
    Wire root process

    after updating my tablet to the latest version Fire OS 5.6.4.0 (build 636559820) which does not have SW root I have decided to open up the unit and use hardware method which works on all versions of firmware

    What you will need

    1. wire
    2. plastic tool as in the picture below to open the unit.
    3. linux machine, I used Raspberry Pi 3+ and Raspbian.
    MVIMG_20190920_171046.jpg


    Process:

    1. remove SD card from the fire HD to avoid breaking it during the opening process ( yes it happened to me, luckily just 16GB card )
    2. use plastic tool to detach display from plastic rear chassis. It is very easy and safe process.
    MVIMG_20190920_171059.jpg

    3. Remove 4 screws from the motherboard.
    4. detach digitizer ( yellow ) cable and rear camera using plastic tool.
    MVIMG_20190920_171327.jpg

    5. You can leave display flex cable, battery and speaker ( soldered ) connected.
    6. turn montherboard on the other side so it lays on the battery. There is a small adhesive pad on the left side of PCA, use plastic tool to start lifting the board from that side.

    MVIMG_20190920_171508.jpg

    MVIMG_20190920_171533.jpg


    7. find pad TP28 and prepare you Linux PC now

    8. DOwnload amonet-douglas-v1.1.zip from OP of the thread , extract.
    9. run, it will take a while to update your linux distribution to the latest version.
    Code:
     sudo apt update
           sudo add-apt-repository universe
           sudo apt install python3 python3-serial adb fastboot dos2unix
    10. Get your self into the Amonet folder ( most licely Downloads/Amonet ) folder where you extracted ZIP from OP.
    11. run
    Code:
     sudo ./bootrom-step.sh
    12. you should see this msg on the screen
    Code:
    [2019-02-07 14:35:59.478924] Waiting for bootrom

    13 Now here is the tricky part which will require some practice. You have to short TP28 with grond ( the big pad neer TP28 ) and while doing it connect USB cable to the PC. Here is how I did it.
    IMG_20190920_171622.jpg

    IMG_20190920_171659.jpg

    14. So I was holding the wire in the left hand and used right hand to plug slowly USB cable into the montherboard. ( not easy I know, but you will get there )
    15. If you did it right you will see a message on the screen to Release the short wire and hit ENTER.
    16. wait till the scripts does its think and when you see this you are in fasboot. Look at the scrren, you should see AMAZON logo and small text on the bottom "fastboot xyz etc..." Don1t unplug table, keep going.
    Code:
    [2019-02-07 12:11:05.621357] Reboot to unlocked fastboot.
    17. run this script
    Code:
    sudo ./fastboot-step.sh
    18. Your unit should boot into TWRP
    19. Assemble back the unit so digitizer will work.
    20 boot into TWRP and install Lieage, GAPPS and Magisk. Install Lineage ZIP file from here. https://forum.xda-developers.com/hd8-hd10/orig-development/rom-lineage-12-1-t3953677
    7
    I was definitely on 9920 (exactly:FireOS 5.6.4.0 (636559920)). Was thinking I was stuck without an unlock method. I did the brick.sh script, then (and here's where my "some problems" comes in - my own error) without paying attention ran the wrong script as the next step after intentionally bricking my tablet. I don't know what state my table was in after doing that, but it wasn't booting into FireOS and I didn't have TWRP. So, not knowing what else to do, I tried flashing the latest official FireOS from the site I linked above. When I rebooted after doing that, I had a working FireOS and going into settings showed me on FireOS 5.6.4.0 (636558520).

    At this point, since I was on a TWRP-able OS, I just started over with step-1.sh and step-2.sh and was able to get where I ultimately wanted to be. I'm running SlimLP. Thanks to everyone who has worked through how to make this happen.

    Thank you sir! I thought 9920 was beyond saving so I did not bother. But after reading your post I decided to give it a try and the process was actually easier than I thought!

    Here's exactly what I did

    1. Code:
      adb reboot bootloader
      to put into fastboot
    2. Run
      Code:
      brick-9820.sh
      (yes, 9820. I tried brick.sh and it didn't work). In this step I actually got an error message on my computer, but it's OK as long as the DEVICE itself tells you to power off on the tablet screen. Power off and unplug the cable.
    3. Run
      Code:
      bootrom-step.sh
      , NOT the minimal one. Plug in the cable again. It'll reboot at the end but your screen would stay blank.
    4. Run
      Code:
      fastboot-step.sh
      , that's it I'm in TWRP !

    As a side note other than the brick step I actually ran the rest (1, 3 and 4) on a Mac (since I already got adb on it and did not want to setup the whole Android SDK on my Linux box again). The brick step I guess you have to be on Linux since the hacked fastboot only came as ELF in the zip. To run bootrom-step on Mac, simply comment out the modemanager check in main.py.
    7
    @willgaj did you enter bootloader mode on the Fire ? Powerdown and then Press VolUp + Power, wait until you see "Enter Recovery" , then select "Bootloader".

    Heres how it worked out for me:

    Files I used:

    amonet-douglas-v1.2.zip from first Page of this Thread:
    https://forum.xda-developers.com/attachments/amonet-douglas-v1-2-zip.4845269/
    Unpack the Archive to a separate Folder.

    brick-douglas.zip from first Page of this Thread:
    https://forum.xda-developers.com/attachments/brick-douglas-zip.4825253/
    Unpack the Archive to a separate Folder.


    MTK-su (i used te 64 bit) from here:
    https://forum.xda-developers.com/t/rapid-temporary-root-for-hd-8-hd-10.3904595/
    Unpack and copy to the MTK-su from the 64 Bit folder to the “bin” folders of the previous unpacked folders.


    Unlock steps:

    1. Reboot FireHD8 to Recovery (Power Off device, then hold VolUp + Power)

    2. Select Facotry Reset then Wipe Cache

    3. Reboot to Bootloader

    4. You will see the balck screen with “Fastboot” in the lower corner.

    5. Open Terminal from “brick-douglas” folder an enter “sudo ./brick.sh
    6. Check Display output for the “Disconnect USB and Powerdown” Message and do so when prompted
      (If theres an Error see below Step 12)

    7. Open Terminal from “amonet-douglas-v1.2” foder.

    8. Enter “sudo ./bootrom-step.sh"

    9. Reconnet USB

    10. Wait until the bootrom step is finished

    11. Enter “sudo ./fastboot-step.sh”

    12. You will end up in TWRP

    If theres an error let the FireHD Reboot and do the “Apps and Data Optimization” at the Welcome Install Screen Powerdown the FireHD and enter Bootloader again.
    • Open Terminal from “brick-douglas” folder
    • Enter “sudo ./brick-8920.sh”
    • Check Display output for the “Disconnect usb and powerdown” message and do so when prompted.
    • Enter “sudo ./bootrom-step.sh
    • Reconnet USB
    • Wait until the bootrom step is finished.
    • Enter “sudo ./fastboot-step.sh"
    • You will end up in TWRP


    Lineage OS installation:

    Prepare a Micro SD Card with: Lineage OS (Search the forum for the douglas (FireHD 8 7.Gen) or suez (FireHD 10 7Gen) Version, Gapps (ARM64, 7.1, nano) and Magisk and insert in FireHD.

    In TWRP Format Data and Wipe data, system, cache.

    Install Rom, gapps and magisk

    Reboot to Lineage OS



    Hardware Method:

    If you got stuck somewhere in the middle or the Exploit doesn’t work try the hardware method.

    I somehow bricked my HD10 , I think I disconnected the USB because I was to unpatient.

    For the Hardware method, you need to open the Tablet, use a prytool or a Creditcars / Knife to remove the backcover, just gently pry around the bezel until the screen pops out.

    You need to unscrew the mainboard and gently flip it over , on the HD10 I didn’t had to remove any wire , just be carefull with the speakers and put a piece of cardboard or plastic on the back between the mainboard and battery so it will not shorten or puncture the battery.

    Find the CLK pin (theres several pictures on the forum for your specific device) use a piece of wire or paperclip to shorten from a ground plane or the SD Card slot housing to the clock pin. This works best if you got someone that will help you.

    • Connect USB to the Tablet, but leave it unplugged on the Computer side.
    • Make sure the Tablet is powered down (Press and hold Power button for 30 seconds)
    • Open Terminal from “amonet-douglas-v1.2” foder.
    • Enter “sudo ./bootrom-step.sh”
    • Now shorten CLK to ground and hold it.
    • Ask a kind person to plug in the USB cable on the Computer now.
    • The Terminal will tell you to remove the wire when ready.
    • Press enter and wait for bootrom-step.sh to finish.
    • If an error during bootrom step occurs , just retry
    • After bootrom step is finished, enter “sudo ./fastboot-step.sh”
    • You will end up in TWRP

    PS: I directly installed LOS 14.1 on the HD8 , on the HD10 i i used LOS 12.1 because LOS 14.1 is missing Camera Support on the HD10 in fact loosing the camera shouldnt trouble too much as the picture quality is horrible anyways. As for now I am happy to have a running Android on the tabs and don´t need to worry amazon giving me headaches every few weeks when updating CrapOS and redndering my configuration unuseable , i got 14 HD8/10 deloyed around the house as input devices for Homeautomation (running Habpannel).

    One thing to mention when switching to LOS, is that you can´t use apps that need to be certified anymore, like Netflix, Banking etc.

    Good luck!

    PPS: Thanks a lot to k4y0z and his fellas for the great job!


    opec