yashsingh1/xdaforums huggingface dataset:
[Fire HD 6 and 7 General] marathonjon:
This Tutorial Works for FireOS 5.3.3.0

I can confirm that the tutorial in post #1 still works, even for 5.3.3.0. Basically I downgraded to 4.5.3, rooted, and then upgraded back to 5.3.3.0. These are the simplified steps I followed:

1. Enable ADB on your device and set up ADB on your computer

2. Download 4.5.3 firmware

3. Connect device to computer and run "adb reboot recovery"

4. Use volume keys and power button to navigate to "Apply update from ADB"

5. From computer type "adb sideload update-kindle-20.4.5.3_user_453011120.bin"

6. From tablet select "wipe data/factory reset"

7. From tablet select "reboot system"

8. Complete setup (do not connect to a wifi network yet)

9. Disable OTA updates ( adb shell ; pm block com.amazon.dcp or "Debloater"),

10. Sideload Kingroot & let it root

11. Flash openrecovery-twrp-2.8.6.0-ariel.img TWRP image via Flashify (backup stock recovery first)

12. Download all files and store them on the Fire

13. Boot into TWRP, flash 4.5.3_twrp_recovery_full_ariel_string.zip. Reboot to recovery (TWRP) adb reboot recovery

14. Do factory reset

15. Flash FireOS 5.3.3.0 (rename *bin to *zip so that TWRP can recognize it)

16. Flash 5.5.2_1534_stock_recovery_uboot.zip, this will put the required 5.3.1 bootloader back

17. Flash make_space_v02.zip (this will remove moffice and weather to make room in /system for GAPPs, can always install this stuff from Play Store). However, I still did not have enough room for Pico GAPPs

18. Flash Supersu.zip https://download.chainfire.eu/696/SuperSU/ (link in OP is wrong)

19. Clear cache/dalvik in TWRP

20. Reboot to recovery: adb reboot recovery. This will be stock recovery now because TWRP doesn’t boot with 5.x bootloaders.

21. Reboot to FireOS (could take ~15 minutes, but took less than 5 for me)

Everything seems to work fine. The important think is that it booted and did not bootloop. I have not yet tried the steps in post #2 to reinstall TWRP. Those seem to be a bit more straightforward, but I will report back if I run across any problems.
[Fire HD 6 and 7 General] marathonjon:
Post #2 Still Works for FireOS 5.3.3.0

I can confirm that the instructions in Post #2 still work for FireOS 5.3.3.0. Just make sure you use the 5.5.2_1534_stock_recovery_uboot.zip. However, I'd like to point out a few other things. If you follow steps 8 & 9 in section 101 immediately after running the bat file, all you will do is reboot into the stock recovery, because you will not have flashed the TWRP images yet. Follow the steps in section A, then do the section 101 steps 8 & 9. Also note that presumably we need to use the flash_453_stay.sh, since our version of FireOS is after 5.1.2.
[Fire HD 6 and 7 General] Killa8:
Any update on this about 5.3.3? I've lost root and everything, I only have Xposed. Can someone help? The unbricking process doesn't sadly work for 5.3.1. Any help will be appreciated
[Fire HD 6 and 7 General] phunni:
Sorry to be really dense here - but just want to be absolutely clear. If I want to use a different ROM to stock then I only need to go up to step 14 and, from there, flash a new ROM?
[Fire HD 6 and 7 General] marathonjon:
[MENTION=880877]phunni[/MENTION], What ROM do you want to try to flash? I've not seen any that will work with this device. There was a CM ROM for a while, but it's dead obviously. I suppose you could try to flash it at step 15, see if it works., and if not, flash the FireOS 5.3.3.0 instead. Do let us know if you try it and it works.

---------- Post added at 03:28 PM ---------- Previous post was at 03:24 PM ----------

@Killa8, see my post https://xdaforums.com/showpost.php?p=72466867&postcount=540. If you followed the steps correctly, you should still have root, although you will no longer have TWRP, but you can easily install TWRP if you follow post #2 and https://xdaforums.com/showpost.php?p=72466867&postcount=541. Also, you're post isn't clear if you have a working device. Is it bricked, or can you boot into 5.3.3?
[Fire HD 6 and 7 General] phunni:
Nevermind - I was confused - I only have a Fire 7 not an HD, so it looks like root is currently out of the question :(
[Fire HD 6 and 7 General] Killa8:
Sadly I don't even have recovery, when I attempt to reboot into recovery, it just stays there, then reboots to my device.

Yes I have a 400% functional device with Xposed even. But no root.

When I try to install TWRP it just doesn't work. All I want sadly is just root, my device has no problem, thanks for the help at least
[Fire HD 6 and 7 General] marathonjon:
[MENTION=7721489]Killa8[/MENTION], at least you have a working device! I recommend you start over and follow the steps in my post #540, referring to #1 for links and such. This will temporarily give you TWRP so you can get root again. Make sure you follow all the steps carefully, to include #16, flashing 5.5.2_1534_stock_recovery_uboot.zip, which will put the required 5.3.1 bootloader and stock recovery back.
[Fire HD 6 and 7 General] Killa8:
I eventually tried that out multiple times but it doesn't work seemingly because I don't have root
[Fire HD 6 and 7 General] marathonjon:
It sounds like the problem may be with your recovery. What happens when you try to do my steps 3, 4 & 5?
[Fire HD 6 and 7 General] bigshotpp:
As per marathonjon posts, I'm now on 5.3.3.0 with root, everything working perfectly, including Alexa.

This is on a Kindle Fire HD7 2014, FireOS 4.1.1.1 when taken out of the box.

Rooted with Kingroot, TWRP with Flashify, directly flashed into 5.3.3.0 without going to 4.5.3, with 5.2.0 bootloaders.

Bought 3 really cheap for my family, all of them on 4.1.1.1, all of them now working as written here.

My problem now is with the recovery image: before reading that FireOS5 didn't boot unsigned recovery, I tried to flash TWRP 2.8.6.0 with dd, and now I have no recovery. I know I could flash stock recovery, but I really want TWRP so I can install Xposed and other things, is there any way for me to install it? Thanks for the help.
[Fire HD 6 and 7 General] Killa8:
It boots to a black screen, then it just reboots to the normal device. 0 other problems tho

---------- Post added at 07:17 PM ---------- Previous post was at 07:16 PM ----------

You can only temporarily have TWRP and flash everything as I did. I only forgot to flash SuperSu that's why I'm stuck without root. But most of my Xposed modules function flawlessly
[Fire HD 6 and 7 General] marathonjon:
[MENTION=4153049]bigshotpp[/MENTION] & [MENTION=7721489]Killa8[/MENTION], as I said before, just follow the instructions in Post #2. Just make sure you have the 5.5.2_1534_stock_recovery_uboot.zip on your device. However, don't follow steps 8 & 9 in section 101 immediately after running the bat file, all you will do is reboot into the black screen, because you will not have flashed the TWRP images yet. Follow the steps in section A, then do the section 101 steps 8 & 9. Also note that presumably we need to use the flash_453_stay.sh, since our version of FireOS is after 5.1.2. Alternatively, you can always do everything manually as per section B and dd the images. Once you're in TWRP, flash Xposed, etc. Then once you're done with what you want to do, flash the 5.5.2_1534_stock_recovery_uboot.zip. As it's been said several times before, you cannot keep TWRP all the time.
[Fire HD 6 and 7 General] Killa8:
Thanks a lot for the concern, but as said earlier, it doesn't work because I don't have control over root access so once gScript requests root access no one replies and it just stays there. So sadly I'm just stuck with lack of root access and the inability to update my device(I foolishly blocked ton loads of system stuff and can't even upgrade by putting the update file in the device)
[Fire HD 6 and 7 General] Turbonerd:
Thank you, thank you, thank you. I jumped the gun and flashed 5.3, got stuck in a boot loop. I followed the instructions 101 - Automatic installation under Windows !!! | Part B, "Alternative (old) instructions via ADB" (https://xdaforums.com/showpost.php?p=62011272&postcount=2) , then basically followed from your Step 5 on. Success!
[Fire HD 6 and 7 General] jpearn:
Updated to 5.4.0.0 using the previous method I mentioned, all OK with root etc. ! And Alexa finally works :)
[Fire HD 6 and 7 General] Killa8:
Well, I'm out of luck then. :crying:
[Fire HD 6 and 7 General] mew1033:
Did you just follow the steps in the first post? Or did you do something special? Just got one of these refurbished. I was on 4.1.1, but upgraded to 4.5.3. Sounds like I root, then follow the steps in the OP, but install 5.4.0.0 instead?

Thanks!
[Fire HD 6 and 7 General] jpearn:
I went thru a slightly different method I mentioned earlier in the thread, however I would say the original instructions should work fine (or the ones other people have used in the last couple of pages which are about the same) !
[Fire HD 6 and 7 General] Jakky567:
I picked up one refurbished as well (thank you w00t)! I installed, used the 5.2.0 bootloader, and upgraded to 5.4.0, and it worked perfectly. Still kinda annoyed webview can't upgrade with the playstore.
[Fire HD 6 and 7 General] ryanjbarba:
EDIT: Disregard. Holding down the power button for like 30 seconds seemed to fix it :rolleyes:

Thanks in advance to anyone who thought about helping haha.

A while back I was one of the victims of some Amazon update that caused this method to no longer work. Ended up bricking my Fire. It was free. No great loss. And Amazon shipped me another one without even asking haha.

So I ran through this today and got it to work perfectly. Installed Nova, blocked the amazon launcher.Then I made a huge mistake. I booted into recovery, and selected "Reboot to bootloader". I don't know what I thought I was doing and the only excuse I can make is that I'm an idiot and have no idea how any of this works. So now the Kindle is sitting there with a black screen and is unresponsive to anything I do to it. Does anyone smarter than me know what can be done? I had it in my grasp.

I should mention that I followed this thread for the TWRP bits, and DoLooper's for the root, nova install, blocking, etc.

Also I checked the device manager and the device shows up as "Android" under "Other Devices" but looking through the properties reveals that the drivers aren't installed for the device. Or Windows thinks so anyway.

I don't want to do anything further that might hurt the situation.
[Fire HD 6 and 7 General] GroovinChip:
OK so the OP post is really confusing to me. I'm running FireOS 5.4.0.0, what do I need to do in order to unlock bootloader, flash twrp, root, and flash a custom OS like Lineage? In simple steps please, TIA!

EDIT nevermind, I got it!
[Fire HD 6 and 7 General] Ratzi:
Nothing Sorry.. Must Living with FireOS 5.4.. Cannot Root and without Root, TWRP, No Custom Rom..
[Fire HD 6 and 7 General] KingKooper:
My goal is to update to 5.4.0 with root access.

I'm rooted with 4.5.3 with matching bootloader (I've never updated beyond 4.5.3.) When I install TWRP and use it to install 5.4.0, will I loose root? Will I mess up my device? Is there anything at all I need to know or do beyond just using TWRP to install5.4.0?

Edit: After looking back a few threads, I seen that my objective was already completed and I followed the information provided with success. I did end up getting the white logo boot loop when trying to reinstall 5.5.2 bootloader after reinstalling 4.5.3 TWRP bootloader with the dd method. I'm not really sure what caused this issue. I'm assuming maybe because I wiped the dalvik before installing 5.5.2 bootloader again. I'll figure it out once I start the process over - hopefully.
[Fire HD 6 and 7 General] wfg97079:
Any hope for those that don't seem to have a working recovery? I have a hd6 4th gen at 5.3.1.0 kingroot root.

Cant get into recovery in any way that I have tried. Any way to flash a recovery? I have tried to flash twrp via flashify with no luck, it just reboots.
[Fire HD 6 and 7 General] Big2hd:
Sorry i swear i looked at all posts beforehand but it seems everybody has different advice for their device. I'm already rooted and have 5.12. so what where should I start? Trying upgrade to 5.4.
[Fire HD 6 and 7 General] KingKooper:
If you have TWRP then you should be able to just factory reset from it then install 5.4 while maintaining your root. If not, then install 4.5.3. Then root it. Then install TWRP. Now factory wipe, install 5.4 and install a super user manager (supersu.zip.) You can boot into the OS now but TWRP has been replaced by stock boot loader. It has been said that you can reinstall 4.5.3 bootloader/TWRP to handle tasks then reinstall the stock bootloader (so you can boot back into the os being 5.4 in this case) but my device bootloops after reinstalling 4.5.3/TWRP. Fair warning - get everything you need done in TWRP done the first time.

https://xdaforums.com/fire-hd/general/how-to-upgrade-to-lollipop-root-gapps-t3163950

I have never tried 5.12 but I have gone from 4.5.3 to 5.4 rooted several times.
[Fire HD 6 and 7 General] nabril15:
Hello, while this thread is amazing in what it accomplishes, it has gotten long and confusing.

I am in the same scenario as Big2HD with 5.1.2 rooted on my HD6 (4th gen) but WITHOUT TWRP. If I had TWRP, I could just go straight to 5.4, correct? But since I don't have it, do I have to go back to 4.5.3, root, install twrp, and then install 5.4, etc? If that is a yes, where can I find 4.5.3? Big thanks
[Fire HD 6 and 7 General] bibikalka:
4.5.3 will work - the ROM links are in the ROM thread :

https://xdaforums.com/fire-hd/general/fire-hd-rom-links-t3173102

Another alternative - go via the unbricking route, then you would not have to do factory reset:

https://xdaforums.com/fire-hd/development/video-linux-iso-unbrick-fire-hd6-hd7-t3474999

https://xdaforums.com/fire-hd/development/unbrick-fire-hd-6-7-flashing-lollipop-t3405797

Here, you just write TWRP and 4.5.3 bootloaders into memory, reboot into TWRP, and follow this post - can keep all your settings!
[Fire HD 6 and 7 General] aswinp222:
//Update13, Oct 23, 2017: Everything still works with the latest 5.4.0.1, just grab the correct ROM file//

am on 5.4.0.1 how to root it?searching this for a couple of days :3
[Fire HD 6 and 7 General] nabril15:
I searched the different threads and didn't find any ROMS for the HD 6. Do any exist? I would like to downgrade mine and start over, and get to 5.4 rooted. Then, I'd like to deAmazon the device as much as possible. I know that I can adb disable many things, but I would like to load rom if it exists.
[Fire HD 6 and 7 General] badboy4life:
I've been away from this for a while and have recently dug out my HD6. It's currently rooted and running 5.0.0 (21 Jul 2015 01:14) and I'm looking to update it.

I've read through the first couple of post a few times but can't seem to figure out what I should be doing. I can't remember the process I would have undertaken a few years ago to root and update to 5.0.0 and I don't know what bootloader version I have.

Would it be best to downgrade to 4.5.3 and start from there or can I upgrade from what I have? Please can you point me in the right direction?

Thanks
[Fire HD 6 and 7 General] Provided:
I know it works for fire os 5.4.0.0 and 5.4.0.1, but does it work for 5.6.0.1?
[Fire HD 6 and 7 General] marathonjon:
Probably, but I can't say for sure since I've abandoned Fire OS for Cyanogenmod.
[Fire HD 6 and 7 General] Provided:
That's fine, but thank you for at least responding, it seems most thread for the fire hd 7 and 6 are dead.
[Fire HD 6 and 7 General] bibikalka:
Yes, should work for 5.6.0.1. If you don't have an old bootloader, just flash recovery_only.zip, and no old bootloaders.
[Fire HD 6 and 7 General] Provided:
I'm not great with flashing and fastboot and other boot related things, so how would I go about doing what you just described?

How would I know if I have an old bootloader. Can I get a new one just in case?

Thanks
[Fire HD 6 and 7 General] llranga:
i was on 5.0.0 21 jul 2015 rooted with stock launcher

1. copied all the required file to device sdcard

2. boot in to TWRP using dd 3 file method (post#2)

3. wiped dalvik/ cash

4. installed fire OS 5.6.0.1

5. flashed 5.4.1_1133_stock_recovery_uboot.zip

6. flashed make_space_v02.zip

7. flashed Supersu.zip

8. flashed Pico (Uni) GAPPS for 5.1

9. wiped cash / dalvik

10. reboot to recovery (this was stock 5.2.0)

11. reboot system

12. successfully booted into new OS
[Fire HD 6 and 7 General] r.Huzar:
I just picked up a Fire HD 6 from woot and it has 4.5.3 loaded on it and I'm stuck. When I reboot into recovery it only gives me an option to reboot or wipe

What should I do in order not to brick it? Seems that I do not have even stock recovery on it??? When I reboot it it boots just fine into 4.5.3

Thanks,
[Fire HD 6 and 7 General] r.Huzar:
So I figured out the missing recovery and got TWRP flashed, had 4.5.3, then sideloded the rootable 5.1.2 and... forgot to flash recovery :( So I'm on rooted 5.1.2, with no recovery and adb won't sideload :( Help!

-- edit --

Should I just drop a file into the internal storage and manually run an update? Reload 5.1.2 to hopefully get rid of whatever issue I have with ADB? Or drop a 4.5.3 bin there and roll back that way? I checked that dropping a file there makes it visible to the OS and the install update now offers to run that bin.

Alternatively should I drop a bootloader bin there??

https://www.amazon.com/gp/help/customer/display.html?nodeId=201596860
[Fire HD 6 and 7 General] petrieslast:
Is there just a step by step for a brand new kindle fire 7 somewhere? Everything I read assumes you've done steps beforehand or seems vague and I'm just looking to follow something without the assumptions for a new unit.

Thank you!
[Fire HD 6 and 7 General] trevor12087:
Can anyone point me in the direction of a download for 4.5.3 stock? I think I know where I went wrong in the process, but am now stuck with unrooted 5.2.0
[Fire HD 6 and 7 General] bibikalka:
Sure, you start here :

http://xdaforums.com/fire-hd/general/root-v2-0-fireos-4-5-4-gapps-t3150613

For rooted Lollipop, branch here :

http://xdaforums.com/fire-hd/general/how-to-upgrade-to-lollipop-root-gapps-t3163950

To remain on rooted 4.5.x, go here :

http://xdaforums.com/fire-hd/general/upgrade-to-4-5-5-root-t3174449

Here :

http://xdaforums.com/fire-hd/general/fire-hd-rom-links-t3173102
[Fire HD 6 and 7 General] CommandoMuffin:
Thanks to everyone for your help. I have been able to do this with relative success. and have Lolipop installed with root.

However I am not able to install GAPPS with JMZ Fire HD 7 tool. I have attempted several times with no success. After downloading the files it just hangs at "Extracting files and installing Play Store. Device will reboot when done'.

It will hang here for over an hour and eventually just drop the loading window.

Has anyone else experienced this? Is the only way to install GAPPS from here to downgrade back to 4.5.3 and flash it from TWRP?
[Fire HD 6 and 7 General] petrieslast:
So he first place this actually seems to land me is here, correct?

http://xdaforums.com/fire-hd/general/root-supersu-stable-appstore-custom-t3113311

This is my problem. Every tutorial instead of explaining what to do links me somewhere else with another step by step, that links somewhere else. I go there and get stuck at this step:

Help?
[Fire HD 6 and 7 General] bibikalka:
Your main issue is getting ADB working. It's system dependent. Perhaps try to follow powerpoint45's guide :

https://www.youtube.com/watch?v=CyJlmTtLsIg

Or you can go with the Amazon's guide for SDK, and this should get you Fire drivers as well:

https://developer.amazon.com/public...cs/01-setting-up-your-development-environment
[Fire HD 6 and 7 General] lynnux:
Well, that was pretty straightforward. Thanks for the clear instructions.

I came from rooted/twrp'd 4.5.4, flashed pico gapps and xposed before saying goodbye to twrp, and everything works. Had a couple minor problems, probably because I used TiBu to restore my user apps.

At first xposed told me it was noticing an older version and that xposed was incompatible with this device's architecture (?) . Reinstalling the xposed installer fixed that.

Widgets in Nova Launcher weren't working at first, even after moving it to system. Uninstalling and then reinstalling from Play Store, then moving to system fixed that. Not sure if it was the backup that caused this or the 'mount namespace separation' setting in SuperSu that caused it.

When I was trying to fix xposed I wondered: Could xposed be flashed over adb if someone was on 5.2 so they wouldn't have to downgrade and get back to twrp?
[Fire HD 6 and 7 General] strester:
Ended up in boot loop ... in the process of flashing 4.5.3 stock and figuring out where I went wrong :(
[Fire HD 6 and 7 General] bibikalka:
Well, look at the bright side - at least you have an option to go back to 4.5.3 !!! :D That 5.2.0 recovery failsafe is a really good thing :o

Thanks for the report!!! And again, looks like GAPPS work just fine if flashed immediately, I'll emphasize this point more.

For xposed flash via adb, you would still need root to do that, right? But how would people get to 5.2.0 with root other than this guide (or similar) ? So if somebody is following the guide, they might as well just flash Xposed immediately, and not later. Or are you thinking about flashing a new Xposed version ? Anyway, please clarify which set of possibilities this would help to address!
[Fire HD 6 and 7 General] lynnux:
I was thinking if someone wanted to flash xposed after they were already on 5.2.0 it would be a lot easier on adb than going back to 4.5.3. I was afraid I'd have to do that when xposed appeared to not be working. There may be other things someone would want to flash after upgrading.

It's great having some of the options in xposed, I'd encourage anyone to flash it before the upgrade even if they're not sure they'll use it.
[Fire HD 6 and 7 General] bibikalka:
There is this app called "Flash Gordon" which is supposed to let you flash on a live system. But I think I've tried it for something, and it did not work. There is also a chance for immediate crash, and follow up bricking.

I feel that by the time one wants to use Xposed (if they have not installed it when they had a chance), they should be able to competently flash 3 images to get into TWRP ;)

Also, when the version of Xposed changes, aren't you supposed to reflash it by going back to recovery? On 5.2.0 the current version is at "alpha" level, so would not you eventually go to "beta", and then "stable", all through flashing?
[Fire HD 6 and 7 General] DoLooper:
PMFBI, but you don't actually go back to 4.5.3, you know. Just get TWRP into recovery, flash, and then reinstall 5.2.0 recovery, as [MENTION=6680544]bibikalka[/MENTION] explains here: http://xdaforums.com/showpost.php?p=62011272&postcount=2 (Sorry if that's what you meant by "going back to 4.5.3." :) )
[Fire HD 6 and 7 General] lynnux:
Okay, I thought it was a lot more complicated. That's good news
[Fire HD 6 and 7 General] strester:
Think I got everything squared away (finally) ... even with straightforward directions I still managed to mess it up before ... now I just need to solve for the constant SU binary needs updating notification.

Otherwise, loving lollipop on my Fire HD 7. Thank you so much for this!!!
[Fire HD 6 and 7 General] petrieslast:
I'm not sure I understand this part:

5. Installed the 5.2.0 bin file with adb sideload

6. Installed 5.20 stock recovery with adb sideload

Am I doing this within TWRP? Because the bin file doesn't show up there for me.

Is there a good video or something to follow for this, I know it's a "step-by-step", but it seems unclear and I'm getting so close.

Thanks for any and all help!
[Fire HD 6 and 7 General] strester:
Rename .bin to .zip
[Fire HD 6 and 7 General] CommandoMuffin:
Does anyone have the issue of the Kindle app not working? I can access the app if I access the library through the Bookstore app. But if I am offline the Kindle reader app won't open. The app otherwise will not open directly :(.