yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] draxie:
You don't want 'adb sideload'. That has its own sub-protocol

for, well, side-loading apps. I'm not sure how that particular

version of TWRP handles 'adb'. With some luck, the daemon

stays alive and accepts normal 'adb' connections after you go

ahead and cancel sideload. If you're less lucky, you may

encounter 'unauthorized', or no connection at all. In that case,

you may need to play with turning off (or on[?]) MTP under

'Mount' (or some such).

Alternatively, you can flash a ROM that works with a locked

bootloader (from TWRP); boot to that to perform the unlock;

and, flash any ROM you like after you unlocked.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] Antonntminh:
How could I flash a ROM with my HDX? when I boot into TWRP and mount storage, my computer show an HDX device but it empty when I open it, so is there other way to flash ROM without copy ROM to internal storage and flash from TWRP?

And could you help link to a ROM that does not required unlock bootloader, I'm looking for it but does not find anything that mention that there ROM does not required unlocked bootloader

Thanks a bunch.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] DB126:
After booting into TWRP do not explicitly mount storage. Simply tether device and check for connectivity/access from whatever host you are using.

Fire Nexus ROM is self contained (integrated GAaps; SuperSU) and will install on a device with a locked bootloader. Be sure to follow flashing instructions in OP. Don't forget prerequisite wipe of system/data/dalvik/cache partitions.

https://xdaforums.com/kindle-fire-hdx/orig-development/rom-fire-nexus-rom-ktu84q-t3322931
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] Antonntminh:
Iam running Lineage OS 14.1 right now on my HDX 8.9 ?

Thanks you so much for the help!
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] DB126:
[MENTION=5828306]draxie[/MENTION] - you ARE the man! Another device brought back from the dead. :)
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] draxie:
Thanks... (^;

I'm not sure if it's clear yet, but this should also give us

a much more hassle-free unlock procedure... No rooting,

no rollback, nothing... Just erase aboot from fastboot,

flash via dd, and you're set...

I'm waiting for test results from ONYXs, before I dare to

try this on my own test devices (I thought I'd give those

to the kids when I'm done; so, I'm playing it safe).

I'll probably solicit testers first; preferably with half-bricks

to keep the impact of a potential failure contained...
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] Antonntminh:
Glad that I could contribute something in this, of course Im in debt to you for this, kudos [MENTION=5828306]draxie[/MENTION]
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] DB126:
[MENTION=5828306]draxie[/MENTION] - sharing a recent experience on the off-chance it may lead to better things (recovery methods).

Tethered device was mid-way flashing a routine LinOS 14.1 update when screen went blank (wtf). Heard the dreaded windows device detach/reattach sounds followed by QHSUSB_BULK driver being auto-installed. A check of Windows File Explore showed a dozen+ drives being exposed which typically indicates a borked bootloader. Device could still boot into fastboot but not the installed recovery or contents of mangled system partition (hung on grey bootloader logo).

Fortunately, 'fastboot boot <twrp_image>' worked and I was able to wipe and reflash LinOS 14.1 (booted fine). Haven't fixed up the recovery partition yet but don't expect any issues there. Kinda strange.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] bluecoyote:
Can't install apps Fire HDX 8.9

So, I was given a Fire HDX 8.9". As booted it wouldn't allow any new app to be installed, either from Amazon or sideloaded. So I did a factory reset, now it asks for the language, the wifi, then brings up the main screen briefly, then goes back to the language screen. I am able (with quick fingers) to swipe down, and get to the settings. I can connect with adb, but adb install x.apk gives me [INSTALL_FAILED_INTERNAL_ERROR].

I want to go ahead and root and flash per https://xdaforums.com/showpost.php?p=71101994&postcount=638, but can't get rooted, and can't get anything installed.

Any ideas of where to go from here?

thanks
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] DB126:
Options are limited without root and/or the ability to install apps (language screen loop is secondary at this point). Any idea which version of FireOS is installed?
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] bluecoyote:
It's 4.5.5.1

The failure to install apps is puzzling...it's almost like a directory is R/O or something. I did get Developer Options enabled, and ADB connects ok, but I don't know enough to take advantage of this, or even if it's useful in this case.

thanks
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] DB126:
Suggest working with [MENTION=5828306]draxie[/MENTION] on a unlock method that does not require root or the installation of local apps. Sounds like the perfect solution given your situation!

---------- Post added at 10:46 PM ---------- Previous post was at 10:33 PM ----------

Nope - host was largely idle at the time. An IMAP mail client, a few static browser tabs and an command window were the only active background tasks. Didn't detect any CPU spikes before/during/after glitch.

Yep (bootloader was obviously unlocked).

Unfortunately, I do not. :(

Interesting. Earlier today I relocked the bootloader on a bench device with LinOS 14.1 loaded to test <power>+<vol-down> access to fastboot (failed as expected). However, LinOS would not boot either. Device repeatedly hung on bootloader logo. Resolved by booting into TWRP and issuing command 'adb reboot bootloader'. I then unlocked bootloader and power cycled device. LinOS fired right up. Strange.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] Mr McBoatface:
[MENTION=5828306]draxie[/MENTION] I've a cracked screen HDX and a spare motherboard waiting to be tested. The crack screen HDX is rooted but nothing else.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] bluecoyote:
I've been going thru his posts, it does sound promising... I'll contact him when I'm ready to go forward.

Thanks for your help!
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] draxie:
Odd... I was doing the exact same dance (i.e. oem relock + reboot)

and I fully expected that it wouldn't work without going into TWRP,

but it did. I guess this may be different for different builds...

I was using cm-14.1-20161216-UNOFFICIAL-thor.zip

(MD5: 864ad64c92faf9109affa77eb0c8fc49).

EDIT: the boot.img in that ZIP-file is unsigned

and should NOT work on a locked bootloader.

---------- Post added at 19:50 ---------- Previous post was at 19:29 ----------

I appreciate that! I'll PM you when I'm ready with the script.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] Mr McBoatface:
No problem , happy to help
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] draxie:
Just wanted to note that I was wrong.

I checked the actual boot.img and it's

not signed; so, it should NOT work...

I'm still not sure why it did for me.

I must've forgotten that I had unlocked,

which is strange as I was just testing

relock to see if I can get into fastboot

when the bootloader is locked... ODD!
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] DB126:
Yep - easy to get farkled up turning multiple knobs at once. We all know better, but sometimes 'cheat' a little to streamline. The secondary science (or stats) teacher was right: only change one variable at a time and document everything as you go. Yeah, we all do that .... :)
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] LlamaNinja:
So I have an older Kindle HDX that I wanted to start using with a later android version than what I have. Currently I have Safestrap 3.75 installed and my OS is 13.3.0.0 I have tried running the ADB Unlocking steps and I was able to do the step 1 & 2 but when I go into the 3rd step and run lock the screen of my computer says waiting for device and then my tablet reboots into fastboot and nothing happens. I tried looking around here for a similar problem but I was unsure of what I should be looking for. Any advice on what is going on with my tablet?
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] Mr McBoatface:
Fastboot driver issue. From windows device manager see there is any unknown devices or ones showing with an exclamation mark beside . Post back results
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] LlamaNinja:
When I plug it in it shows as Portable Device->Kindle, then when I run the unlock program it shows as Other Devices -> Android.

Also when I check with adb devices the kindle is listed.

The right steps?
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] Mr McBoatface:
Taken from this post here - https://xdaforums.com/showpost.php?p=71101994&postcount=638

"You'll need to manually select the adb driver for windows:

a) Open Windows Device Manager: Right-click Start Button and choose Device Manager. Win7: Click Start button and type Device Man [enter]

b) Find Fire under Other Devices, right-click it, and choose Update Driver Software.

c) Press Browse my computer for driver software and then "Let me pick from a list of device drivers on my computer".

Then Find Android Device, click it and press Next. Then choose "ANDROID COMPOSITE ADB INTERFACE" (!!!) in right, and press Next."

Try the above
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] sd_shadow:
what system version is on the device?
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] LlamaNinja:
Yep that wasnt showing up so I went and did the step 4

4. Download the latest version, currently v. 1.4.3, of 15 seconds ADB Installer and run it as Administrator.

If you are not Administrator, right-click the file and choose “Run as Administrator“

Then it showed up and that is what got it to work thank you for that.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] countthesaints:
I just managed to snag one of these devices running 13.3.1.0 and so far I've gotten the device rooted with OTA updates disabled and SafeStrap, SuperSU and Xposed all installed. Where exactly do I go from here? I had the 5th gen Fire and managed to hard brick the device so I'm a bit paranoid with Amazon devices now.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] DB126:
Great! Safestrap v3 is obsolete as are the ROMs it supports. Unlock the bootloader and install LineageOS 14.1. The unlock procedure works on any rooted HDX; no need to update FireOS. Enjoy!

https://xdaforums.com/kindle-fire-hdx/general/thor-4-5-5-2-easy-to-root-unlock-t3571240
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] Top Feel:
My Fire HDX on 4.5.5.2 won't boot past the glowing Kindle Fire logo. I only rooted the device, but I can access the stock recovery. Is there any hope for me, or do I have a (not very effective) paperweight on my hands?
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] DB126:
- did the device ever sucessfully boot after being rooted?

- is it accessible via adb?
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] Top Feel:
Yes, the device booted after root. I haven't tried ADB because one of the data pins on the microUSB port are bent. Fixing that port is probably going to be next on my to-do list :)
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] DB126:
You can try a 'factory reset' from the stock recovery menu but it likely will do nothing beneficial (rarely helps on 3rd gen HDX devices) and will wipe personal apps and data. Assuming the bootloader has not been unlocked stable ADB access is essential to progress recovery efforts.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] Top Feel:
I've fixed the data pin (hooray) and connected my kindle to my computer. However I don't see it in Device Manager or by running adb devices. Should I give up, send it to Amazon, and pray? Or is there some obscure driver package I have to install?
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] DB126:
Try a different USB cable (some that work for charging don't for adb access) and USB port; if no joy reboot both devices and try again. Look for any indication in Device Manager (or sound) that something is being connected/disconnected. While an "obscure driver package" is sometimes needed for actual communication Windows should still detect the connection even if it doesn't have the proper driver.

If still nothing your options are limited. Amazon will NOT repair or replace a 3rd gen HDX beyond the warranty period. The device must be bootable to unlock the bootloader which is the most sure-fire way (no pun intended) to resurrect a HDX with a borked system partition.

Cracking the case to see if the USB port is properly connected to the mainboard is not for the faint of heart.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] Top Feel:
Switching out the USB cable and rebooting didn't help. No indication of anything connected in Device Manager at all.

The device does charge from the USB port, so I doubt that it's broken.

If I open up the kindle, is there a pin I can short out on the NAND to force it into download mode (or it's equivalent)?
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] DB126:
Charge (outside) and data (inside) pins are different. Even if they appear fine externally the mainboard connection may have been damaged by the incident that resulted in a bent pin.

There are no known physical jumps to place the device into download mode (that would be too easy).
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] Top Feel:
I'll try opening it up and checking the connections. It probably needs a microUSB repair after all, because it wouldn't connect to my computer even while it still booted. That could be the problem.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] Tellly:
Back to Fire OS

Hey guys

So i have a Fire HDX 7" with CM11 on it and want to go back to Fire OS.

My question: Do I just need to download the Fire OS 4.5.2 firmware and flash it with safestrap and let it update over the air to 4.5.5.1?

I want to get rid of all the Gapps, Root, Safestrap and so on and just have a stock Fire OS so basically delete everything and have like a factory reset Kindle device.

I now have downloaded "13.4.5.2 <- Flashable on Safestrap v4.0.1" from here. In Safestrap I have many options do I have to "wipe" first or should I just "Install" and select my 13.4.5.2 file i just downloaded?

Hope you guys can help me like you did to install CM11 on it. ;)

Telly
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] DB126:
While you can restore FireOS 4.5.2 the auto-update capability will be lost with no other means of progressing to higher FireOS builds. Typically auto-update can be re-enabled with changes to a few key files but for some reason that does not work with the SafeStrap build of 4.5.2. This isn't a huge loss as 4.5.2 and 4.5.5.x are nearly identical; biggest difference is security patches.

You can also unlock the bootloader which opens the door to a much broader array of custom ROMs including those based on Android 5-7 (FireOS v4 and CM11 are both based on Android 4.4, aka 'KitKat').

Post back what you want to do; I'll respond with appropriate links/directions.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] Tellly:
Hey [MENTION=5488402]Davey126[/MENTION] thanks for your rather quick reply. Does a custom ROM affect the performance of the device in any way? For now with CM11 some apps just freeze while I am using them I guess due to lack of RAM? Whenever i restart the device it runs properly a while and then it freezes again especially annoying when I am playing. So I hoped it would get better when I would go back to Fire OS since I don't really need Gapps.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] DB126:
GAaps (despite popular flogging) will not impact game play in any meaningful way. The freezes you are experiencing are either due to thermal issues, a poorly behaving background app (not Google) or a dirty/corrupt installation. Memory exhaustion is typically not an issue with this device. FireOS would be no better and likely far worse for game play as a number of large Amazon services remain active in the background at all times consuming resources like a parasite.

If you don't care about current contents I suggest you wipe the device and reinstall CM11 and optionally GAaps. While GAaps is not required with this ROM recognize you won't have access to any app store without it. If you obtain all your apps from another source then this isn't an issue. Alternative, you could flash Fire Nexus which is a bit ligher than CM11 but does include a minimal GAaps package. Beyond that you'll need to unlock the bootloader to gain access to contemporary ROMs based on newer Android builds.

Q: Do you use any external controllers (BlueTooth and/or WiFi)?
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] Tellly:
No I don't use any external controllers. The thermal issue thing sounds very plausible and I am pretty sure that a dirty/corrupt installation isn't the problem here because I followed your instructions step by step to install the CM11.

I would need the Amazon Store or GAaps so what would you recommend to install now? Is CM13/Nexus better? I just want it to be fast and free of "unnecessary" apps.

Really appreciate your help

Telly
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] DB126:
I would go with Fire Nexus as it one of the leanest ROMs for this device and only involves one zip to fully install. Simply follow the instructions in the OP. Be sure to wipe data, dalvik and cache partitions (aka 'factory reset') just before flashing Nexus. Also download ROM to device and validate the zip checksum (MD5) before wiping CM11. Hashdroid (available in Play Store) can be used to verify checksum.

I assume you did not create any secondary slots in Safestrap (don't).
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] Tellly:
It is up and running Fire Nexus now. Yes I always installed in the stock slot as you said it would consume much battery and cause problems otherwise. So far, so good and I'll see if the "problem" with the freezing is better now.

Thank you so much for providing me with the appropriate links and tips. :good:
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] sashusmom:
I just recently got an HDX 7 off of ebay for $40. Cosmetically pristine, unlocked bootloader (it has fastboot) confirmed by Davey 126, has twrp 2.8.x.x. and a kitkat rom by g.gow. Is there a zip file of twrp 3.0.x.x that I can flash with the twrp already on it? Or do I have to mess with adb?
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] sd_shadow:
doesn't look like it

could just use Flashify app (free in play store)
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] sd_shadow:
but learning how to use adb and fastboot commands is a good thing if you are interested in rooting android devices
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] sashusmom:
I know how......Just suck at it!!:p Not comfortable with it, and feel really stupid when I mess with it. :(

But I think my determination overrides my suckiness!! I do get better with adb .bat files though :D

I never used fastboot commands, and don't know much about it other than it's good to have..lol.

Can you point me to educational links? about fastboot? I am a very good reader!! :D If I really read several times I can do adb. But I know other devices were able to flash a zip file and overwrite the current twrp.

I gave this tablet to my daughter 2 years ago and bought the one I have to practice unlocking the bootloader and replacing the OS before I mess with hers. Hers is just rooted and OTA updates blocked, with the play store added.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] sd_shadow:
I've posted some basic information about fastboot commands in my

Fire Index: Which Amazon (Kindle) Fire Do I have?
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] DB126:
As [MENTION=4267571]sd_shadow[/MENTION] noted you can use Flashify to update TWRP - although that isn't necessary to reflash Nexus. I'm tied up for a few hours; if you can wait that long I'll provide brief but concise guidance that should not take more than a few minutes to complete. No adb or fastboot commands required. :)
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] DB126:
Promised update:

- grab the following apps/files: Flashify, TWRP 3.0.x and Fire Nexus

- install Flashify and use it to update TWRP from 2.8.6.x to 3.0.x.x (lot's of assumptions here; don't do anything if not 100% confident about actions!)

- boot to TWRP using <power>+<vol-up>

- perform a 'factory reset' from the Wipe menu

- flash Nexus ROM from the Install menu

Those are the basic steps. Obviously any/all can be flushed out with much more detail. Please post any questions you may have; happy to respond in areas where you might need a little help.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] sashusmom:
Interesting.... This device is not rooted! How do you get an unlocked bootloader, a custom rom, but not a rooted device???? :(

Was able to root with kingroot 4-towelroot would not work. Using flashify was able to update twrp to 3.0.3.1. Backed up old rom, wiped tablet, went to install the new Fire Nexus rom, but had an error (7) and would not install- so I flashed Lineage- no problems with the install, but did not realize I needed to flash gapps with it. Downloaded the correct mini package, but for some reason my PC won't copy to the kindle internal storage (interestingly, now it is totally empty- the zip files I placed in there are gone along with my backup).

Yet, I can see them on TWRP. I backed up this rom, but I can't get the gapps onto the internal storage to flash them. So my computer is not seeing the internal storage. I checked the drivers, device manager says it is up to date and the device is functioning properly. When I try to copy the gapps to the storage it says it can't copy due to the device being disconnected or it stopped responding.

And do I want to add twrp to my system? I keep saying no. Never saw that before.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] sashusmom:
Well, after playing with the device manager and drivers, I went back to the original rom it came with and restored the backup I did of it. Now my computer sees the internal storage and I was able to move gapps onto it.

So the Lineage rom was the problem. Anyone else have this problem?

Flashed supersu zip via twrp and deleted kingroot. Will sit for now.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] tselling:
The device may have been unrooted to run a particular app. I used supersu to fully unroot the Fire Nexus rom on my 4G HDX 7 so that Pokemon Go would run. Its easy to reroot if TWRP recovery was installed by flashing the supersu zip.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] sd_shadow:
root is likely disabled by default

haven't used an Lineage roms but with cm12 and above

2 options to root

1. settings>about phone>tap on build number 7+ times, to enable Dev options>go back to Settings>Developer options>Root access>Apps and ADB

2. Install BETA-SuperSU-v2.49.zip in TWRP
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] sd_shadow:
custom roms usually cannot be rooted with apps like rootking, because they are more secure than stock
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] DB126:
- too many things going on to conclude LinOS was the "problem"

- assume recovery is now TWRP 3.0.3 and ROM Nexus 4.0.5 (unrooted)

- if accurate flash/install SuperSU 2.46 from here from TWRP

- reboot. Is Nexus now rooted?

Although rooting the active ROM is not a prerequisite to flashing a new ROM (assuming an unlocked bootloader and/or forged custom recovery) there is a specific reason for the above steps. As previously noted HDX devices that arrive with the hacked build of [MENTION=5749760]ggow[/MENTION]'s excellent ROM have demonstrated behaviors that are consistent with flubbed permissions that get in the way of other actions.

Report back findings.