[MASTER THREAD] Fire HD 8 (2017) (7th Generation)

Search This thread

Supersonic27543

Senior Member
Nov 14, 2016
648
320
Hi,

This is a list (incomplete) of all the ROMs, mods, hacks, guides, etc. available for the Fire HD 8 (2017).
This was a root progress discussion thread, and I think there's too much valuable information here to just let it get buried. So, following @Rortiz2's suggestion this thread was transformed to a master thread with the aim of providing a complete guide for anyone wanting to mod their tablet.

2017-06-07-product-2.jpg

Device Codename: douglas
Specifications:
SoC: Mediatek MT8163
CPU: Cortex-A53 (Quad Core 4x1.3Ghz)
GPU: Mali 720
RAM: 1.5GB
Android: 5.1 (FireOS 5.x.x.x)
Storage: 16/32GB
Includes a MicroSD slot
Battery: 3210mAh
Display: 8"
Front Camera: 2MP
Rear Camera: 2MP


The italicized text below are my comments/clarifications.

The root method was patched in 5.6.4.0 (some versions of 5.6.4.0 still work so you could try) It is advisable to disable OTA updates or unlock the bootloader immediately. It is still possible to unlock by a different method, check the bootloader unlocking thread.

Bootloader Unlock and TWRP:
  • [UNLOCK][ROOT][TWRP][UNBRICK] Fire HD 8 2017 (douglas)
    This is an excellent and complete guide which has everything you need for this. Requires Linux, so you'll have to either install it as dual-boot or use a live system if you are not using it already. You don't need to downgrade if you are on 5.6.4.0.

Rooting:
  • You can flash Magisk using TWRP after bootloader unlock. Using Magisk is recommended because SuperSU is no longer supported, and Magisk has modules, Magisk Hide, and the root prompt is working (In SuperSU it's not working so you have to always grant root permissions which is a major security loophole)
  • Rapid Temporary Root for HD 8 & HD 10
    This is the first software root method discovered for this tablet and is a really easy and quick method of getting a root shell, and the link has a complete guide on it. Refer here for installing SuperSU for permanent root, and here for an automated script for Windows.
  • [ROOT] Hardmod Root Your Amazon Fire HD 8 (7th Gen)
    This is first root method ever discovered for this tablet and is a hardware root. This link has a complete step-by-step guide, assuming you have some soldering experience.

ROMs:

Miscellaneous:

General Tips:
  • To return to stock or recover from a soft brick:
    (Don't use this if you have already unlocked your bootloader: if you want just stock FireOS flash it through TWRP, and if complete stock follow the guide in the unlock thread)
    (This assumes that you have ADB installed, I would not advise you on how here, there are numerous guides waiting for a Google search. This will erase your data.)
    1. Download your current FireOS or a later firmware version. You can find the latest over at Amazon's website.
    2. Boot to the recovery mode of your tablet, and use the volume and power buttons to select "Apply Update via ADB".
    3. Now connect the tablet to a PC with a USB cabke, open a command prompt or shell on the directory where you downloaded the firmware BIN, enter the command adb sideload X.bin (replace X with the name of the BIN) and wait until finished (DON'T disconnect your device from the PC)
    4. Now select "Wipe Data/Factory Reset" and "Yes" to wipe data (you can skip doing this if you want your data, but note that the tablet may bootloop or complain about corrupted data)
    5. Select "Reboot system now"
  • The firmware BINs are just renamed ZIP files: you can rename it from .bin to .zip and treat it as such.
  • Amazon employs an anti-rollback mechanism which could permanently brick your device if you flash an older version through adb sideload. If you really want an older FireOS, you can rename .bin to .zip and flash them through TWRP after unlocking.
  • The stock launcher AppID is com.amazon.firelauncher, the stock keyboard is com.amazon.redstone, and the OTA update apps are com.amazon.device.software.ota and com.amazon.kindle.otter.oobe.forced.ota.

Again, this list is incomplete, so please suggest any additions in the comments! (don't hesitate to suggest your own work-the target of this thread to be a comprehensive and complete guide on everything about this tablet)

Good luck modding this tablet! :)
 
Last edited:

Supersonic27543

Senior Member
Nov 14, 2016
648
320
Thread before changing to a master thread (for historical purposes :p)

NOW WE HAVE AN UNLOCKING METHOD WITH TWRP! THE CONTENT BELOW IS OUTDATED.

Hi,

Now, I'm sick of Amazon's bloat slowing my tablet, and the frustration of not being able to use root apps. Fire HD 10 got rooted, but HD 8 and HD 7 are still in dark. HD 7 users can at least downgrade their devices and hope for a root exploit, but HD 8 users can't. If anyone else wanting to root this tablet and make it super fast, get rid of Fire Launcher, use Xposed, remove bloat, etc., let's collaborate with this!

LATEST RELEASE - Fire OS 5.3.6.4/Fire OS 5.6.3.4
SECURITY PATCH - ???
KERNEL VERSION - 3.18.19


List of possible software root methods:
1.) eMMC overwriting
Thanks to the hardware root method, we have a full eMMC dump so using the loophole in the flash unlock process which causes overwriting partitions next to it, we could overwrite on all the way, flashing original things, to the system partition and then flash a modified system partition.
Additions to the list are welcome!
List of possible exploits
Additions to list are welcome!
1.)CVE-2017-8890
Status: Confirmed possible.
Description: As I think, this is the most exploitable currently. Running the PoC results in 'somewhat unnatural' Use-After-Free s but the PoC fails to orient them to escalate privileges.
Cons: This exploit is based on obsolete IPv4 sockets, unlike it's cousin CVE-2017-9077, which is based on IPv6, but rather the same exploitation as this. That 'may' make this harder to exploit, but of course there's no evidence.
I, really only added this to cons because you should have a con. :p
2.)CVE-2017-15868
Status: Unsure
Description: NP Hardass said that this vulnerability is present on the source,I haven't explored it yet.
Cons: ¯\_(ツ)_/¯

If you tried these exploits, please notify me in below and I'll update the status.
UPDATE: No point on keeping on trying these kernel exploits as no one (please correct me) who knows to write exploits in C comes here anymore. If someone wants to try though I will start maintaining this list again. Come on, let's collaborate on this!!! :laugh:

Thanks!

Download the eMMC dump from here: https://www.androidfilehost.com/?w=files&flid=282721
PS: You can download original kernel sources from Amazon, just search for it.


Original Thread:


Hi,

Now, I'm sick of Amazon's bloat slowing my tablet, and the frustration of not being able to use root apps. Fire HD 10 got rooted, but HD 8 and HD 7 are still in dark. HD 7 users can at least downgrade their devices and hope for a root exploit, but HD 8 users can't. If anyone else wanting to root this tablet and make it super fast, get rid of Fire Launcher, use Xposed, remove bloat, etc., let's collaborate with this!

LATEST RELEASE - Fire OS 5.6.0.1
SECURITY PATCH - 2017/08/01
KERNEL VERSION - 3.18.19*

*a quite old release it is. :D

List of possible exploits
Additions to list are welcome!
1.)CVE-2017-12762
Status: Unsure
Description: A super likely-to-work great exploit. If you want you can go look at the kernel source (link included below the thread) 3.18.19 for proof, it starts in line 2640. Looks like a stack buffer overflow.
Cons: ASLR may be an absolute game killer in this case. And some skill is required to exploit, very less-known around the internet. And Amazon may have removed the ISDN support up from the roots of kernel, because it's VERY deprecated.
2.)CVE-2017-16939
Status: Unsure
Description: A nice attack vector. A PoC is available in SecuriTeam blogs, which triggers use-after-free. I tried contacting them for some help, but they almost instantly replied that they don't provide support for their reported vulnerabilities. Sad.
Cons: ¯\_(ツ)_/¯
3.)CVE-2017-15868
Status: Unsure
4.)CVE-2017-10661
Status: Unsure
5.)CVE-2017-7541
Status: Unsure
6.)CVE-2017-6074
Status: Unsure

If you tried these exploits, please notify me in below and I'll update the status. Come on, let's collaborate on this!!! :laugh:

Thanks!
 
Last edited:
  • Like
Reactions: ChReNa and 5pace

T2star

New member
Jan 31, 2018
1
0
I'm glad to see this thread. Since recently rediscovering the potential of an old Fire 6 and rooting it, removing the bloat and Googlizing it, I wanted to get something a little bigger. I just got my 7th gen HD 8 in the mail yesterday and was devastated to see it was 5.4.0.1. I've blocked OTA, deleted the update it had downloaded, installed Google Play et al., and used NoRoot Data Firewall to block all Amazon apps. Unfortunately, I do not have the expertise to contribute much toward an effort to root this device but would like to help in any way. I appreciate seeing others are out there working on it.
 

leathan

Senior Member
Sep 15, 2013
205
47
Thank you so much for making this thread but I hope I never have to come back here and help, but if i get some extra time in the future I do plan on running all my binaries + servers on the tablet as well. Not to mention just looking at that version number made me want to vomit.
 

rawfullz

Member
Dec 26, 2013
6
1
[/COLOR]What steps should I take to increase performance on the hd 8 while we wait for root?
 

Supersonic27543

Senior Member
Nov 14, 2016
648
320
[/COLOR]What steps should I take to increase performance on the hd 8 while we wait for root?

Hello rawfullz!
Try Greenify. You can use a workaround to grant it Usage Access.
1) Download Activity Launcher and Greenify from Play Store.
2) Launch Activity Launcher.
3) Notice the "Recent" text in the task-bar, press it, and select "All" from the drop-down list.
4) Scroll all the way below until you find "Settings", and press it.
5) Again, scroll below until you find "Apps with usage access", and press it.
6) The hidden "Apps with usage access" menu will pop up.
7) Grant Greenify usage access there. (You can turn off usage access for all Amazon apps if you want, to increase performance but it's recommended to leave out "Storage Management" intact, just in case.)
8) Launch Greenify, and continue with the setup.
9) :laugh::laugh::laugh::laugh:

If you ever want to grant any other app Usage Access, do this procedure, but, remember that "Activity Launcher" is kind of dangerous, if you just launch random activities. I learned that the hard way. :(
 

derwoodbones

Member
Dec 10, 2013
35
5
What I dont get is you can download the firmware.bin as well as the source code from amazon, Whats the problem devs should be able to root ?
 

Supersonic27543

Senior Member
Nov 14, 2016
648
320
What I dont get is you can download the firmware.bin as well as the source code from amazon, Whats the problem devs should be able to root ?

Hello!
Yes, we definitely can get the firmware. But there are some troubles,
1. Amazon devices are not very well known among the community.
2. Devs don't want to spend their time on our devices, even if we root this thing, no custom ROMs because of the locked bootloader.
3. Amazon didn't leave any loopholes on their OS, they are too clever.
And, I don't think that Amazon will open source their firmware until they checked throughly for any exploits.
We'll have to find exploits the rough way. :crying:
 

Supersonic27543

Senior Member
Nov 14, 2016
648
320
Hey, what about the Janus vulnerability? If some dev is reading this, please help us, because it doesn't require the device.
 
Last edited:
Hello!
Yes, we definitely can get the firmware. But there are some troubles,
1. Amazon devices are not very well known among the community.
2. Devs don't want to spend their time on our devices, even if we root this thing, no custom ROMs because of the locked bootloader.
3. Amazon didn't leave any loopholes on their OS, they are too clever.
And, I don't think that Amazon will open source their firmware until they checked throughly for any exploits.
We'll have to find exploits the rough way. :crying:

You don't need an unlocked bootloader to flash a ROM.
 

Robius

Senior Member
Mar 21, 2013
56
14
Take a look at the BT stack with BlueBorne.


Sent from my iPhone using Tapatalk
 

kapilathi

Senior Member
Feb 11, 2014
168
33
Great to see this thread. Hope some devs collaborate and find a way. Can't wait.

Meanwhile, do you guys have any cool mod to try in the tab.

I have installed playstore and adfree iytb YouTube and bunch of usual apps.
 

Supersonic27543

Senior Member
Nov 14, 2016
648
320
Hello!

You don't need an unlocked bootloader to flash a ROM.
Yes, you don't need an unlocked bootloader to flash a ROM, theoretically, if the ROM is signed by Amazon. But considering custom ROMs, Lineage, Resurrection Remix, Stock Android, is it possible to compile and flash them without an unlocked bootloader? I thought that you need a custom recovery = unlocked bootloader. Thanks!

You forgot to add: "and I wanna to fill my tablet by the Google's bloatware (2 times slower than Amazon's), and also add some rootkits and spyware masked as "super-duper tools for young hackars" :D :D
Hah. :laugh::laugh::laugh:

Take a look at the BT stack with BlueBorne.
Sent from my iPhone using Tapatalk
Great idea, gotta try this! Thanks!
EDIT: Not very confident though. Anyway, likely to work because the security patch of HD 8 is in August. :D
http://www.androidpolice.com/2017/0...atch-fixes-blueborne-bluetooth-vulnerability/
 
Last edited:
Hello!


Yes, you don't need an unlocked bootloader to flash a ROM, theoretically, if the ROM is signed by Amazon. But considering custom ROMs, Lineage, Resurrection Remix, Stock Android, is it possible to compile and flash them without an unlocked bootloader? I thought that you need a custom recovery = unlocked bootloader. Thanks!


Hah. :laugh::laugh::laugh:


Great idea, gotta try this! Thanks!
EDIT: Not very confident though. Anyway, likely to work because the security patch of HD 8 is in August. :D
http://www.androidpolice.com/2017/0...atch-fixes-blueborne-bluetooth-vulnerability/

Ask @ggow how he does it. But you don't need a unlocked bootloader. With root, FlashFire helps to get by the bootloader.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 29
    ROOT ACQUIRED! Fellas, I give to you the world's first fully rooted Fire HD 8 7th Gen! :) I will write instructions when I get some more time. Great work to everyone who made this possible!
    Check out my new launcher setup! I froze the old launcher (and most of the bloatware) with titanium.

    Also, I think I found a seemingly more reliable and much easier way to access the eMMC. It goes like this:

    - Start the tablet while holding volume down
    - Enter bootloader (fastboot)
    - Plug SD Card into reader

    And that's it. No handshake, no USB. It worked great for me, though I only did try it like once. I'll keep playing with it.

    Edit: Yep it's working MUCH more reliably than the handshake method. The trick is to put the SD card into the reader almost immediately after clicking the "Enter bootloader" menu option. Do it before "FASTBOOT Mode..." pops up. You have like a 1 second window.

    Sounds like we're are having progress.

    Some points:
    As mentioned the later supersu free versions don't prompt for root access; it's a pro feature ... see its log for evidence. Work around is set default to grant.
    Second, have you set the uid to root:root for the su binary? Use chown 0:0 <path to su> to do so

    1. Thanks, I did not know that!
    2. Yes but there is much more to it than setting the owner. There's also SELinux security extended attributes, and a whole lot of other files that SuperSU needs.
    24
    Hi,

    This is a list (incomplete) of all the ROMs, mods, hacks, guides, etc. available for the Fire HD 8 (2017).
    This was a root progress discussion thread, and I think there's too much valuable information here to just let it get buried. So, following @Rortiz2's suggestion this thread was transformed to a master thread with the aim of providing a complete guide for anyone wanting to mod their tablet.

    2017-06-07-product-2.jpg

    Device Codename: douglas
    Specifications:
    SoC: Mediatek MT8163
    CPU: Cortex-A53 (Quad Core 4x1.3Ghz)
    GPU: Mali 720
    RAM: 1.5GB
    Android: 5.1 (FireOS 5.x.x.x)
    Storage: 16/32GB
    Includes a MicroSD slot
    Battery: 3210mAh
    Display: 8"
    Front Camera: 2MP
    Rear Camera: 2MP


    The italicized text below are my comments/clarifications.

    The root method was patched in 5.6.4.0 (some versions of 5.6.4.0 still work so you could try) It is advisable to disable OTA updates or unlock the bootloader immediately. It is still possible to unlock by a different method, check the bootloader unlocking thread.

    Bootloader Unlock and TWRP:
    • [UNLOCK][ROOT][TWRP][UNBRICK] Fire HD 8 2017 (douglas)
      This is an excellent and complete guide which has everything you need for this. Requires Linux, so you'll have to either install it as dual-boot or use a live system if you are not using it already. You don't need to downgrade if you are on 5.6.4.0.

    Rooting:
    • You can flash Magisk using TWRP after bootloader unlock. Using Magisk is recommended because SuperSU is no longer supported, and Magisk has modules, Magisk Hide, and the root prompt is working (In SuperSU it's not working so you have to always grant root permissions which is a major security loophole)
    • Rapid Temporary Root for HD 8 & HD 10
      This is the first software root method discovered for this tablet and is a really easy and quick method of getting a root shell, and the link has a complete guide on it. Refer here for installing SuperSU for permanent root, and here for an automated script for Windows.
    • [ROOT] Hardmod Root Your Amazon Fire HD 8 (7th Gen)
      This is first root method ever discovered for this tablet and is a hardware root. This link has a complete step-by-step guide, assuming you have some soldering experience.

    ROMs:

    Miscellaneous:

    General Tips:
    • To return to stock or recover from a soft brick:
      (Don't use this if you have already unlocked your bootloader: if you want just stock FireOS flash it through TWRP, and if complete stock follow the guide in the unlock thread)
      (This assumes that you have ADB installed, I would not advise you on how here, there are numerous guides waiting for a Google search. This will erase your data.)
      1. Download your current FireOS or a later firmware version. You can find the latest over at Amazon's website.
      2. Boot to the recovery mode of your tablet, and use the volume and power buttons to select "Apply Update via ADB".
      3. Now connect the tablet to a PC with a USB cabke, open a command prompt or shell on the directory where you downloaded the firmware BIN, enter the command adb sideload X.bin (replace X with the name of the BIN) and wait until finished (DON'T disconnect your device from the PC)
      4. Now select "Wipe Data/Factory Reset" and "Yes" to wipe data (you can skip doing this if you want your data, but note that the tablet may bootloop or complain about corrupted data)
      5. Select "Reboot system now"
    • The firmware BINs are just renamed ZIP files: you can rename it from .bin to .zip and treat it as such.
    • Amazon employs an anti-rollback mechanism which could permanently brick your device if you flash an older version through adb sideload. If you really want an older FireOS, you can rename .bin to .zip and flash them through TWRP after unlocking.
    • The stock launcher AppID is com.amazon.firelauncher, the stock keyboard is com.amazon.redstone, and the OTA update apps are com.amazon.device.software.ota and com.amazon.kindle.otter.oobe.forced.ota.

    Again, this list is incomplete, so please suggest any additions in the comments! (don't hesitate to suggest your own work-the target of this thread to be a comprehensive and complete guide on everything about this tablet)

    Good luck modding this tablet! :)
    20
    I'm a genius. Amazon is not going to like me...not one bit. But you guys are going to love me. I got just about everything working...and I mean everything. I have a few more tweaks to go. I'm hoping I'll be able to disable signature verification in the package installer in NON rooted tablets.
    16
    I know people are eager to try this out so here is a quick guide on how to root this tablet: https://forum.xda-developers.com/hd...ot-hardmod-root-amazon-fire-hd-8-7th-t3851617

    Enjoy! :)
    13
    Who wants a fully working Linux distro installed on a non rooted HD 8? I DO! And my wish has come true. In a few days hopefully, you'll be able to install a fully operational Kali Linux distro on the non rooted HD 8s. The installation is a proot environment and done totally on the back end so not one bit of root is needed. I'm so psyched about this ???