yashsingh1/xdaforums huggingface dataset:
[Fire HD 8 and HD 10 Android Development] DragonFire1024:
Pre-Rooted, Optimized, Stock ROM

This thread contains stock firmware for the Fire HD 10 SUEZ, which has been pre-rooted and optimized. Please see the respective section for your FireOS version. Later FireOS versions ARE supported, but I am going to need a few days. Downgrading from a newer version of FireOS is NOT recommended and can potentially damage your device. This ROM has NOT been 'de-bloated'. By installing this ROM, you do so at your own risk. Results may not always be the same.

****THIS GUIDE REQUIRES AN UNLOCKED DEVICE WITH TWRP.****

Features

:

- Zipaligned - All system and framework apks have been zipaligned.

- Deodexed - The whole system has been successfully deodexed. Among many things, this makes uninstalling system apps easier and greatly lowers the risk of a bootloop, though not promised. It also saves a little bit of space in the system when uninstalling system apps.

- No OTA - Never worry about an accidental Over The Air Update. Both APKs have been removed. You can sign into your network the very first boot.

- Pre-rooted. - Magisk, by XDA member and developer [MENTION=4470081]topjohnwu[/MENTION], is stepping up to the plate this time. The ROM is pre-rooted with the latest stable version 18.1. SuperSU cannot be flashed on this tablet. Doing so will result in an endless display of the beautiful orange fire logo. It is possible to manually root the ROM with SuperSU, but I will need to do a lot of testing. If you prefer SuperSU, this ROM is not for you and you will have to root using one of the several guides available in this forum.

- Busybox - Contains the latest busybox by XDA member and developer [MENTION=4544860]osm0sis[/MENTION].

If it were not for the tool, SuperR's Kitchen, this ROM, and hopefully others, wouldn't be possible. I have trouble linking his username here, but if someone can direct superR to this thread so he can see the endless thanks I give to him for creating this amazing tool.

These ROMS do NOT contain any of my tricks or hacks. They're simply pre rooted ROMS in case you need to return back to stock FireOS. No apps have been removed except the above mentioned and none have been added, except the above mentioned.

Downloads

:

-

For HD 10 SUEZ on 5.6.1.0

: 5.6.1.0_Fire_HD_10_optimized_pre_rooted_stock_rom-signed.zip

-

For HD 10 SUEZ on 5.6.2.0

: 5.6.2.0_Fire_HD_10_optimized_pre_rooted_stock_rom-signed.zip

Installation:

1. Download the ROM then plug your tablet into the PC and place the zip on your internal storage.

2. BACKUP ALL VALUABLE DATA. YOU WILL BE ERASING THE SYSTEM AND DATA. Reboot to TWRP (recovery), tap wipe and select dalvik, cache, system and data ONLY and swipe to confirm. When finished tap the home button, reboot then recovery.

3. When back in recovery, tap install and select the ROM then swipe to confirm. When done, reboot and enjoy.
[Fire HD 8 and HD 10 Android Development] DragonFire1024:
Reservation
[Fire HD 8 and HD 10 Android Development] GuyInDogSuit:
Is there any benefit to flashing this if I'm already rooted? I mean, "optimized" sounds nice, but my data.... lol
[Fire HD 8 and HD 10 Android Development] GuyInDogSuit:
Anyone try this yet?

EDIT: Flashed and got a black screen at first, spooped me for a few seconds there, then showed the Amazon and (now currently) Fire logos. And now we wait for it to do its optimization.
[Fire HD 8 and HD 10 Android Development] phanguy:
To be clear: your instructions don't have any prerequisites of already being rooted or modded in any other way? So a person could do these steps on an unmodified HD 10 2017 Suez that is running 5.6.1.0?
[Fire HD 8 and HD 10 Android Development] GuyInDogSuit:
I would think you would need to have TWRP installed, at least. The instructions do call for that.

Also, it appears to be working without at hitch. I'm inputting my WiFi password as I type this.

EDIT: I kept getting a DHCP error when connecting to my home hotspot, so I'm using my phone's hotspot instead. WiFi icon has an exclamation mark next to it, but internet seems to be working fine.

EDIT 2: Spoke too soon. Don't have internet. No matter what I do. Can't seem to connect properly. Every network I try just keeps saying "Obtaining IP address," never connects. Eventually throws the error, "IP Configuration Failure, IP configuration failed due to DHCP error."

EDIT 3: Phone hotspot is working, for now. Guess I'll stick with that until the router is fixed.
[Fire HD 8 and HD 10 Android Development] tylerhole:
This is on a 2.4.ghz band that you are trying to connect to I'm assuming?

Edit: [MENTION=8165603]DragonFire1024[/MENTION] thank you so much for your continued and dedicated work with these tablets! Can't wait to see what you can do when you really get down on making a ROM for this beast.
[Fire HD 8 and HD 10 Android Development] GuyInDogSuit:
It most likely is. The router's SUPPOSED to output 5GHz as well, but someone f*cked it up and now it only does 2.4.
[Fire HD 8 and HD 10 Android Development] tylerhole:
Do you know/are you able to find out what the channel width is set at? If it's set at 40 instead of 20 that could be why the phone hot spot works and the router doesn't.
[Fire HD 8 and HD 10 Android Development] GuyInDogSuit:
Could be. I'll check and try the other setting. It's worked before this ROM, so I dunno if that's the cause...

EDIT: Nope, that wasn't it. Where's the f*cking WPS option on this tablet?! Thanks, Amazon!
[Fire HD 8 and HD 10 Android Development] tylerhole:
Very well could not be then, was just the first thing that popped into my head.

Sent from my SM-G9650/DS running stang5litre Pie ROM
[Fire HD 8 and HD 10 Android Development] GuyInDogSuit:
Nothing works so far. I need to fix this damn router or replace it. I'm tired of AT&T and their sh*tty hardware and even sh*ttier service.
[Fire HD 8 and HD 10 Android Development] tylerhole:
I'm having the same WiFi issue. Just gets stuck on obtaining IP address.

Sent from my SM-G9650/DS running stang5litre Pie ROM

---------- Post added at 10:14 PM ---------- Previous post was at 10:07 PM ----------

It appears that the tablet is not liking DHCP. If you configure a static IP address it connects fine and internet works.

Sent from my SM-G9650/DS running stang5litre Pie ROM
[Fire HD 8 and HD 10 Android Development] DragonFire1024:
I wonder...perhaps installing my framework and settings APK will fix this. Looks like I have a lot of tests tomorrow.
[Fire HD 8 and HD 10 Android Development] GuyInDogSuit:
Wonder why it works (sometimes) with my phone hotspot? I'll try the static IP. That actually had crossed my mind, [MENTION=8091085]tylerhole[/MENTION], but i didn't have time to try it before work.
[Fire HD 8 and HD 10 Android Development] tylerhole:
In the "optimizing" you did for this ROM did any of it have to do with wifi?

Sent from my SM-G9650/DS running stang5litre Pie ROM
[Fire HD 8 and HD 10 Android Development] phanguy:
if you're referring to what you have in this thread then it didn't work for me. i removed everything but the boot animation, framework stuff, and the settings apk. still getting wifi issue though.
[Fire HD 8 and HD 10 Android Development] beachmiles:
Took a chance and tried this coming from the original 5.1.1 Fire OS (what I thought was 5.1.1, but now im not sure what version I had, read on)

Did the wipe as instructed and everything looked good during the flash but on reboot it looks like the 5.1.1 persisted somehow.

EDIT. getprop ro.build.version.release reports 5.1.1 but the system updates reports 5.6.1.0. I had blocked system updates just to make sure that was disabled but in doing so you cant get the version from the settings. So I'm good, except for the WIFI not working.

Miles
[Fire HD 8 and HD 10 Android Development] DragonFire1024:
Ok I do know the kernel source contains the wifi drivers. I'm not at home to look, but I'm willing to bet $150 that the needed wifi firmware is not in the system partition. This is the last hurdle I believe and I think everything to this point are intentional blockades. If one can hunt down the system wifi drivers it shouldn't be an issue to include them in another build.
[Fire HD 8 and HD 10 Android Development] DragonFire1024:
5.1.1 is the Android version not FireOS version which is 5.6.1.0.
[Fire HD 8 and HD 10 Android Development] DragonFire1024:
Has to be done in TWRP will fail signature verification almost certainly if done through stock recovery.
[Fire HD 8 and HD 10 Android Development] blueman2:
I just installed .2 version of this, and wifi will not connect. Stuck at obtaining IP address. I see no way to set fixed IP, so how to i get around this DHCP bug? I thought it was already fixed in these builds??

EDIT: found the fixed IP setting.
[Fire HD 8 and HD 10 Android Development] DragonFire1024:
It was fixed in the other optimized ROM made by another user. I've been too focused on building a ROM and this is the only release I did besides 5.6.2.0. it was until about a month after this was made that we discovered what the issue was. I never re-released a fixed version of this firmware. if I have time the next couple of days I will try to do a fix version and I may even see if I can finally release what I call my custom firmware.
[Fire HD 8 and HD 10 Android Development] blueman2:
Thanks so much, if you could update it would be appreciated. I was able to chmod the files and now it works fine, but might be helpful for others. Your work is just incredibly useful. Really big thanks.
[Fire HD 8 and HD 10 Android Development] DragonFire1024:
I'll try to in the next few days it's been on my list of several other things I have to do as well. Just I don't have very much time to do all of them.
[Fire HD 8 and HD 10 Android Development] blueman2:
[MENTION=8165603]DragonFire1024[/MENTION], and thoughts yet on why the power button (long press) options are not working on this .20 version? I also installed your framework updates but still not able to get power options to do anything. They come up on long power button press, but will not make anything happen.
[Fire HD 8 and HD 10 Android Development] DragonFire1024:
Did you install an Xposed module that will add the options to the menu?
[Fire HD 8 and HD 10 Android Development] blueman2:
Yes, added Xposed with APM+. It does add the options to the dialog box when you long press Power. However, selecting any of the options just does nothing. Returns to home screen. If you keep your finger on one of the options, it will do a fast reboot into FIRE logo.

Also, as I recall (not 100% sure, but almost) the power options never worked even before adding your framework improvements. So I am guessing there is something with the .20 Rom in this thread that had an issue with long press power options not being enabled.
[Fire HD 8 and HD 10 Android Development] DragonFire1024:
Still on my list. I haven't forgotten
[Fire HD 8 and HD 10 Android Development] wanderso:
ROM .zips in first post are now invalid. Does anyone have a copy/pointer to valid zips?
[Fire HD 8 and HD 10 Android Development] phigan:
I never used this ROM but noticed I have the zip. What is a good place to host the file? I don't think this one will last long...

5620_Fire_HD_10_pre_rooted_optimized_stock_rom-signed.zip

1 file sent via WeTransfer, the simplest way to send your files around the world

we.tl
[Fire HD 8 and HD 10 Android Development] Basti-Fantasti:
Is it possible to flash this rom over an installed LineageOS?
[Fire HD 8 and HD 10 Android Development] Xicoria:
Would you mind uploading again? I just came across this and want to move away from Lineage.
[Fire HD 8 and HD 10 Android Development] Zedlayne:
Also looking for a mirror if anyone has one :)
[Fire HD 8 and HD 10 Android Development] bruces2:
Just noticed the request... Here you go ->

https://www.dropbox.com/s/2uo33za0hb5tgub/5620_Fire_HD_10_pre_rooted_optimized_stock_rom-signed.zip?dl=1
[Fire HD 8 and HD 10 Android Development] Xicoria:
Thank you!
[Fire HD 8 and HD 10 Android Development] maarrrrr:
Anyone else hosting this?
[Fire HD 8 and HD 10 Android Development] bspunker:
Why the link runs fine for 5 min. I downloaded the rom.
[Fire HD 8 and HD 10 Android Development] luk2009:
Hi

I have the same question. Is it possible to flash this rom if I have lineage 16?
[Fire HD 8 and HD 10 Android Development] likwidchz:
Are there any newer releases? can I just build my own from downloading the OEM firmware and flashing this with twrp/making my own customizations and then reading it off to a firmware image and repost?
[Fire HD 8 and HD 10 Android Development] steevgg:
did you ever flash it
[Fire HD 8 and HD 10 Android Development] moose_nz:
Hi, can somebody please repost the links for the 5.6.2 ? all the links in this forum are dead and I want to download the pre-rooted version.
[Fire HD 8 and HD 10 Android Development] bibikalka:
Just unlock it, install stock 5.6.2, add Magisk. All prior ROM versions can be fished out of here: https://www.touslesdrivers.com/index.php?v_page=26&v_code=1563
[Fire HD 8 and HD 10 Android Development] moose_nz:
How do I flash stock image using TWRP?
[Fire HD 8 and HD 10 Android Development] Michajin:
change the ext from .bin to .zip But i would flash magisk after as well. Then hope the stock doesnt have liek a landmine that blows a eFuse
[Fire HD 8 and HD 10 Android Development] Forron:
5.9.1 is the oldest available version on the site bibikalka linked.

Edit: I realized that the version and file name don't match. Can someone tell me what version is what?
[Fire HD 8 and HD 10 Android Development] Psiberfunk:
Problem with stock image though is now I can't install openGApps b/c the system partition is too small.. resizing in TWRP doesn't free enough space.. is there a good solution ?
[Fire HD 8 and HD 10 Android Development] tylerhole:
Anyone else try the static IP address trick to get WiFi working?

Sent from my SM-G9650/DS running stang5litre Pie ROM
[Fire HD 8 and HD 10 Android Development] DragonFire1024:
I'll have to try when I get home. I usually do use a static IP when at home, given the amount of devices connected at any moment. I usually have much better results.
[Fire HD 8 and HD 10 Android Development] tylerhole:
I try and do the same thing if I remember to set it, but I feel ya on the better results. That and it's easier to keep tabs on said devices on your Network.

Sent from my SM-G9650/DS running stang5litre Pie ROM
[Fire HD 8 and HD 10 Android Development] beachmiles:
Setting the static IP lets me connect to my wifi! Not sure whats up with the dhcp settings.
[Fire HD 8 and HD 10 Android Development] GuyInDogSuit:
I've gotten my Wi-Fi working at work with it so far. Had to connect to it on my phone, then use an app to get the IP configurations to enter into advanced settings on the tablet in order for it to connect in the end.

Found this, BTW. It's in the upper right three-line menu, under Advanced, second or third option down, " WPS button setup." Not that it does any good right now. Not sure it'd work, anyway.

[MENTION=8165603]DragonFire1024[/MENTION], would you be able to easily fix this in another build? Would it require wiping before install again?
[Fire HD 8 and HD 10 Android Development] Wall.swe:
Is this a stock Lollipop ROM?
[Fire HD 8 and HD 10 Android Development] GuyInDogSuit:
There's no other stock ROM available for this tablet other than the Lollipop variants. So yes, it's stock Lollipop. Only it's pre-rooted with Magisk 18.1 and optimized for ease in removing system apps. It's also got Busybox installed, which is used by a lot of root apps. That's what I've gathered from the OP. I don't think it's the latest FireOS, it would seem.
[Fire HD 8 and HD 10 Android Development] tylerhole:
What app out of curiosity?

Sent from my SM-G9650/DS running stang5litre Pie ROM

---------- Post added at 03:46 AM ---------- Previous post was at 03:42 AM ----------

I'm beginning to wonder if the WiFi issue is one that we can fix. I was googling around and it seems at points lots of people were having the same issue and the only fix before Amazon rolled out an update was to do the static IP trick.. can't say for sure that's the case, but perhaps using a different fire os version for the ROM would solve the issue.

Sent from my SM-G9650/DS running stang5litre Pie ROM
[Fire HD 8 and HD 10 Android Development] DragonFire1024:
I'll give it a shot. Deodexing. Amazon's account apps probably don't run at boot. There are a few responsible for setting up wifi. The deodexing probably stopped that process from happening or perhaps some of it. I don't think the static will work on Xfinity portal, could be wrong. You can however sideload their WiFi app. I think the only real fix, aside from being on non modified stock firmware, is a from scratch kernel and rom.
[Fire HD 8 and HD 10 Android Development] tylerhole:
Aah ok I get ya. Couldn't hurt to try a different one tho, but yeah I don't see the static fix as one to settle on. But at least it works for now (in most situations)

Sent from my SM-G9650/DS running stang5litre Pie ROM
[Fire HD 8 and HD 10 Android Development] DragonFire1024:
Yes. Which makes me pretty happy. It also means this tool is a success as far as I can see. If that's the only issue for the very first build, that's pretty impressive. Now let's see what we can really do ;)
[Fire HD 8 and HD 10 Android Development] tylerhole:
Hell yeah, get it bro! [emoji869]

Sent from my SM-G9650/DS running stang5litre Pie ROM
[Fire HD 8 and HD 10 Android Development] GuyInDogSuit:
https://play.google.com/store/apps/details?id=aws.apps.networkInfoIi
[Fire HD 8 and HD 10 Android Development] jeepers007:
[MENTION=8165603]DragonFire1024[/MENTION], probably time to ask for logcats from people that say they have issues. Otherwise, the wifi issue is pure guesswork...

Was also wondering if any build.prop tweaks would work. On older Android versions like we're dealing with here, they used to be pretty effective.
[Fire HD 8 and HD 10 Android Development] tylerhole:
Thanks

Sent from my SM-G9650/DS running stang5litre Pie ROM

---------- Post added at 06:00 AM ---------- Previous post was at 05:58 AM ----------

Good point on the logcats. Didn't have the time last night to grab one, but will definitely do so when I get home this afternoon.

Sent from my SM-G9650/DS running stang5litre Pie ROM
[Fire HD 8 and HD 10 Android Development] DV8:
What's my chances of bricking if I try this and I am on 5.6.3.4?
[Fire HD 8 and HD 10 Android Development] GuyInDogSuit:
Downgrading is not recommended. Though it's possible a more recent version will be posted later today to alleviate issues with WiFi connectivity.

Musings:

So in my experience (at least, this ROM), deleting and reinstalling (some of) the Amazon apps from the Play Store, result in FCs. Seems good. I'm guessing I might have removed/disabled something they rely on. I DID uninstall the App Store. That could be why. I dunno. I'm too tired right now to think on this. I might just flash the ROM again later when I wake up. I have the apps I want working on here for the most part. I would like the Kindle, Shopping, and Video apps to work again, though. I'll just disable the garbage stuff I know won't affect the Amazon ecosystem (Clock, Calendar, Email, etc) next time.
[Fire HD 8 and HD 10 Android Development] Sc4r3Crow:
Step 2 of installation instruction states to reboot to TWRP...do I have to flash TWRP first or does it just mean that I have to reboot to recovery?

Sorry for noob question but I don't wanna brick my device ;)
[Fire HD 8 and HD 10 Android Development] GuyInDogSuit:
I would think it would be obvious.....

[MENTION=8165603]DragonFire1024[/MENTION], I think it's time to edit the OP. Second question about whether TWRP is required.
[Fire HD 8 and HD 10 Android Development] TheRealIntence:
I recommend using lspeed for this purpose.
[Fire HD 8 and HD 10 Android Development] Sc4r3Crow:
It's nearly obvious ;)

I know how to handle smartphone stuff...but regarding user friendly instruction some things could be stated a bit mor precise.
[Fire HD 8 and HD 10 Android Development] phanguy:
I only asked because i figured others would ask too. I think really the thread should be flagged as in progress or something like that so people understand that it's YMMV. Or like you said just update the first post.
[Fire HD 8 and HD 10 Android Development] tylerhole:
Even when you make as detailed as instructions as the "instructions for beginners" in this thread https://xdaforums.com/showthread.php?t=3913373 people are still gonna ask questions about instructions, just not as much.

Sent from my SM-G9650/DS running stang5litre Pie ROM
[Fire HD 8 and HD 10 Android Development] SingleMalt69:
Geez. It would have taken just as much time to type:

Yes, and here's the link: https://xdaforums.com/hd8-hd10/orig-development/unlock-fire-hd-10-2017-suez-t3913639

We were all learning at one point.
[Fire HD 8 and HD 10 Android Development] DragonFire1024:
How would it not be required? Flash fire might be an option but I dont know.
[Fire HD 8 and HD 10 Android Development] tylerhole:
dhcpcd.conf is missing. That's the issue

Edit: At least I'm sure thats it. DHCPCD keeps giving an error when trying to open /system/etc/dhcpcd/dhcpcd.conf which I'm not seeing at all
[Fire HD 8 and HD 10 Android Development] DragonFire1024:
Looking at the update bin, there never was a conf for that. So I don't think it's that.
[Fire HD 8 and HD 10 Android Development] tylerhole:
Well damn ....back to the drawing board

Sent from my SM-G9650/DS running stang5litre Pie ROM
[Fire HD 8 and HD 10 Android Development] GuyInDogSuit:
I was able to restore uninstalled apps by reflashing the zip. Shopping, Kindle Books, and Prime Video work again.
[Fire HD 8 and HD 10 Android Development] DragonFire1024:
It might be the captive portal app. It sounds like something like that because you can use static. Hmm
[Fire HD 8 and HD 10 Android Development] DragonFire1024:
Are there supposed to be any wifi i variables in the cmdline?
[Fire HD 8 and HD 10 Android Development] tylerhole:
That I am not too sure of. I didn't get much more of a chance to look into the issue more yesterday cuz I was busy all day and today is looking to be the same, but I'll try and at least get a log to you this afternoon and hopefully that can help you narrow the issue down.

Sent from my SM-G9650/DS running stang5litre Pie ROM
[Fire HD 8 and HD 10 Android Development] DragonFire1024:
UPDATE: Optimized firmware added for FireOS 5.6.2.0. Needs testers!
[Fire HD 8 and HD 10 Android Development] GuyInDogSuit:
Thanks!! I'll try it as soon as I get home!

Actually, question.... Can I update to 5.6.2.0 from 5.6.1.0 using this method?
[Fire HD 8 and HD 10 Android Development] tylerhole:
I'll give it a go this afternoon then if I get the chance. This one having the WiFi issue?

Sent from my SM-G9650/DS running stang5litre Pie ROM
[Fire HD 8 and HD 10 Android Development] beachmiles:
F*** YES!! I was coming from your 5.6.1.0 build and just flashed your 5.6.2.0 with your instructions. Smooth installation!

Wifi still needs a static IP to work but I have show mode working on my new $25 show dock from ebay. THANK YOU!
[Fire HD 8 and HD 10 Android Development] GuyInDogSuit:
What, may I ask, is show mode? And why do you need a dock for it?
[Fire HD 8 and HD 10 Android Development] beachmiles:
Its just a clean charging dock that mitigates the fact it doesnt have wireless charging and lets you use the fire like an echo show but also easy to take it on the go.

https://www.youtube.com/watch?v=zbHDSkJqbIw
[Fire HD 8 and HD 10 Android Development] GuyInDogSuit:
That sounds hella cool. I should pick one up.
[Fire HD 8 and HD 10 Android Development] GuyInDogSuit:
Flashed the 5.6.2.0 zip and everything went smoothly. Right on!
[Fire HD 8 and HD 10 Android Development] DragonFire1024:
Should be able to. Just backup stuff
[Fire HD 8 and HD 10 Android Development] DragonFire1024:
It's an Amazon feature. You'll probably be better off googling it.

I put in a question about the static up Wi-Fi on the help thread for the tool. We'll see if anyone has an answer.