yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" General] draxie:
I don't have experience with the specific images linked in the referenced post,

but based on their filenames they may have been generated using my upHDX

tool *without* the option to include the latest firmware.

I have no idea if those have GPS and mobile broadband working, because I always

include the latest firmware when repacking. I never had LTE working on my HDX,

even with the original stock ROM, but I can connect on HSxPA and GPRS with both

full stock and my repacked ROM and GPS also seems to work.

Luckily, error 7 is also unknown to me.
[Kindle Fire HDX 7" & 8.9" General] bobcat131:
What I mean is (delete..)
[Kindle Fire HDX 7" & 8.9" General] tl11:
I had a similar issue: stuck in fastboot, couldn't even get into TWRP.

Finally, I did the below to get into TWRP, and installed Lineage 14.1. Did I do the right thing? Thanks in advance!

fastboot -i 0x1949 boot apollo-twrp-3.0.0-1.img
[Kindle Fire HDX 7" & 8.9" General] DB126:
This does a temporary (one time) boot of the specified recovery environment ignoring what is installed in the recovery partition. It is perfectly acceptable and the "right thing" if it solved your problem; there are no side effects or long term ramifications. If you find TWRP v3.0.0-1 works well you can use Flashify (available via Play Store or APKMirror) to permanently install it to the recovery partition.
[Kindle Fire HDX 7" & 8.9" General] tl11:
Thank you!
[Kindle Fire HDX 7" & 8.9" General] nndzry:
well done.thx a lot
[Kindle Fire HDX 7" & 8.9" General] HyperCookieHD:
Thanks for this mate. Spent like 5 hours trying to figure out how to do it and then noticed I forgot to put "su" when going into the shell, just my luck haha
[Kindle Fire HDX 7" & 8.9" General] Pajoe:
I would like to install the latest lineage0S on my wife's Amazon Kindle Fire 8.9 HDX 3rd Generation (64 gb) we purchased new in 2013. I have android tools installed on my ubuntu-mate system and have successfully used those tools to install LinageOS on my Nexus 7 tablet.

I was pleasantly surprised to see the bash scripts in the unlock.zip file I downloaded, but do have a few questions- the first being :

If I follow the procedure in this thread, using the linux tools already installed on my system will my wife's 8.9 (Apollo ?) be ready to follow the instructions posted on the Lineage OS website? I ask because they make no mention of this procedure. on their web page "Lineage OS For Kindle Fire HDX 8.9 Nougat 7.1.1" (http://www.lineageosrom.com/2017/01/download-lineage-os-for-kindle-fire.html)

thanks in advance

joe
[Kindle Fire HDX 7" & 8.9" General] DB126:
Disregard the Lineage site. Although not inaccurate the guidance is generic and references an older build. Stick to the XDA HDX forums for instructions and resources on this one.

As you likely know device (FireOS) must be rooted and bootloader unlocked to flash custom ROMs. There are exceptions to both prerequisites but it's easier to follow standard procedures. In a nutshell root with KingRoot then unlock as directed in the OP. You may find this thread a little easier to follow. Both use the same techniques and yield the same end result.

Once unlocked update TWRP to the latest build and (finally!) flash the latest Apollo build of Lineage. Links below. Remember to source all content from the relevant XDA threads.

Be aware Lineage has some issues on this device: no Bluetooth or 4G/LTE support, occationally wonky WiFi, reverse rotation with some apps.

Feel free to pose questions as they arise. Best to deal with issues before taking actions that you may later regret. Good luck!

https://xdaforums.com/kindle-fire-hdx/development/recovery-twrp-3-0-0-0-t3322547

https://xdaforums.com/kindle-fire-hdx/orig-development/rom-cm-14-1-thor-t3517481
[Kindle Fire HDX 7" & 8.9" General] Pajoe:
Thanks for the information, I will read a little more to see what needs to be done. Some times detailed information and procedures that make it easier for Windows users is more difficult for me to follow not being a Windows user.
[Kindle Fire HDX 7" & 8.9" General] DB126:
The only soft Windows dependency is the utility (batch file) used to streamline the generation/application of the unlock code. However, it is relatively easy to accomplish that on other platforms using native tools. Alternatively, I'm happy to spin up an unlock code on your behalf when the time comes.
[Kindle Fire HDX 7" & 8.9" General] Pajoe:
Once again, thanks. I had a few problems along the way but currently have twrp-3.1.1-1 along with 14.1-20170531 & open_gapps-arm-7.1-mini-20170603. The only thing my wife can't do that she did before is use the camera.. I plan to experiment with some camera apps when I get time.
[Kindle Fire HDX 7" & 8.9" General] sunweifu111:
In the first step ,I can't get the diskindex

Thanks for you help!

I'm in the same situation as him, and I use your method to save my apollo.

But in the first step,I can't get the diskindex.:rolleyes::rolleyes:

So, what should i do now?

I would greatly appreciate it if you can help me!

Oh! what's more, I can't see its storage in my computer. I can only see a use equipment contect with my computer.
[Kindle Fire HDX 7" & 8.9" General] draxie:
Read the whole post!

Chances are you are starting from 'fastboot'. If so, read the whole post.

(Otherwise you may have a faulty USB port/cable/driver/something,

and I'm afraid I cannot help with that.)
[Kindle Fire HDX 7" & 8.9" General] ronnie.khan01:
Need Help

I'm on HDX Nexus Rom 4.4.4. Which steps should I follow and which steps should I ignore? Please help.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Are you running Safestrap v4 (visible at boot)? Response to that question will determine next steps.

Also, did you purchase the device off an auction site with Nexus preinstalled? If so there may be some additional cautions to observe.
[Kindle Fire HDX 7" & 8.9" General] ronnie.khan01:
Yes, I'm running Safestrap. And I installed the developer Nexus rom from here.

https://xdaforums.com/kindle-fire-hdx/orig-development/rom-fire-nexus-rom-ktu84q-t3322931
[Kindle Fire HDX 7" & 8.9" General] ONYXis:
and you dded aboot?!!

and now brick?

i see. no need to expiriement like that=)
[Kindle Fire HDX 7" & 8.9" General] Kokos92:
no

i reboot

and its working well:)
[Kindle Fire HDX 7" & 8.9" General] paomiao:
Hello.

A week ago my Apollo was on FireOS 4.5.5.2.

Three days ago it was (after run procedure Downgrade 3.2.8 to 4.5.5.1) on Fire Nexus ROM.

Today it is on CM 13!

I've got no problem to run your procedure (only also noted).

My Apollo works fine, the only problem is with camera shooting: I see images (from front and rear) but no way to make shot.

Should I ask to Cm13 section?

Thanks a lot guys!

Sorry.. I forgot..

It's possible flash Xposed Framework and install Xposed Installer? If yes, which one version?
[Kindle Fire HDX 7" & 8.9" General] DB126:
These questions should be asked in the appropriate forums/threads. Regarding Xposed:

- CM13 is Marshmallow; choose the matching framework (Android 6)

- As is the case with all CM builds some modules may not work 100% due to deviations from AOSP
[Kindle Fire HDX 7" & 8.9" General] Fallingwater:
I'm running into a problem. I've flashed twrp and aboot, then ran adb reboot bootloader. The tablet now has on its screen:

kindle fire
[ fastboot ]
Ready.

However, neither Windows 10 nor Antergos Linux are actually seeing it. "fastboot devices" results in a blank output, and "fastboot getvar all" returns < waiting for device > and stays there forever.

adb devices doesn't see it either (not surprising).

Windows sees it in device manager, and after unsigned driver installation lists it as "Android ADB device" or something similar.

Is there some sort of timeout? I left it in fastboot mode for a while before I tried doing the operation as I had to reboot to enable unsigned drivers and I couldn't do it exactly at the moment. Should I reboot the tablet? I'm a bit nervous here.

Edit: scratch everything - SUCCESS!! I connected it to the kitchen computer (which too runs Antergos) and it saw it and unlocked everything just fine. Phew! I wonder what's wrong with my main box...
[Kindle Fire HDX 7" & 8.9" General] DB126:
Drivers my friend, drivers (at least in Windows). If you opt to pursue retether device in fastboot mode, note what gets added in device manager, delete those devices, untether and reboot both devices then reconnect and guide Windows to the appropriate drivers. Might have to do it again the next time you reconnect if Windows decides to override your selections.
[Kindle Fire HDX 7" & 8.9" General] yunios:
Thanks for your great job!

Now i can flash CM13, never better than it :)
[Kindle Fire HDX 7" & 8.9" General] Fallingwater:
I've already done this (not my first time fighting Windows and its drivers) and it didn't help at all.

I'm inclined to believe there's a deeper issue, since neither OS saw the tablet. Antergos is installed with little functional difference in both computers and doesn't need additional device drivers to run fastboot, and it seems too much of a coincidence that it didn't see the HDX in the same computer where Windows failed to see it as well even after installing the unsigned drivers. I'd suspect the cable if I hadn't already swapped it out while troubleshooting this; now I'm suspecting the motherboard.

But no matter, the HDX is unlocked and currently running CM13 and I'm a happy camper. :D thanks!

If I may ask, out of pure personal curiosity: for a long time there was no way of flashing a vulnerable bootloader over a patched one, so it's kinda weird that now all it takes to do so is a dd over the aboot partition. Was the problem that we didn't have the aboot_vuln image to flash, and if so how was it obtained?
[Kindle Fire HDX 7" & 8.9" General] ONYXis:
We assumed that dd-ing old aboot will brick device.

Just need to be checked=)

I tried this 6 months ago (motherboard was donated by [MENTION=4506097]aaronkatrini[/MENTION]), but stupid mistake - I did not save my ID's and stuck in fastboot =( but I saw that device do not brick in emergency mode (Qdloader HS-USB 9008). And now when [MENTION=3039035]MahmudS[/MENTION] donated motherboard I checked with more preparitions and precautions.
[Kindle Fire HDX 7" & 8.9" General] undulus:
cuberHDX.py file

hello, I have problem with python too, may I kindly ask for your help? I need the cuberHDX.py file

my

manfid:

0x000045

serial:

0x2516569c

Regards,

Jiri
[Kindle Fire HDX 7" & 8.9" General] DB126:
I'd lean more toward the USB subsystem. If you didn't already try a different port, preferably not USB3 if there's a choice. If all ports are integrated try a cheap USB card if you have slots available.
[Kindle Fire HDX 7" & 8.9" General] ONYXis:
attached
[Kindle Fire HDX 7" & 8.9" General] undulus:
fastboot

Dear Onyx, I am stock in fastboot on my KHDX 8.9. How may I left fastboot? adb command not work because I cannot connect to device.

Thanks for your help.
[Kindle Fire HDX 7" & 8.9" General] ONYXis:
- fastboot -i 0x1949 reboot + hold vol up

- holding power button + hold vol up after screen goes black

boot into twrp recovery and flash that you want
[Kindle Fire HDX 7" & 8.9" General] undulus:
I am little bit retard...thank you, I have forgot to hold volume button.... sorry

[fastboot]

Ready.
[Kindle Fire HDX 7" & 8.9" General] ONYXis:
In cmd on your computer. Like adb. But fastboot.

I guess you din't flash unlock yet?
[Kindle Fire HDX 7" & 8.9" General] draxie:
And, it's these posts by [MENTION=4732871]r3pwn[/MENTION] that spread the FUD...
[Kindle Fire HDX 7" & 8.9" General] r3pwn:
There was a countless number of people bricking by trying to roll back, so I could only assume that that was the case, but I guess not.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Poor form. Seems you are looking for a scapegoat. Knock it off ...
[Kindle Fire HDX 7" & 8.9" General] draxie:
Right.. and, it's certainly a plausible assumption, otherwise people might've objected.

What you do need to realize when voicing such unverified assumptions is that your

"Recognized" status puts a lot more weight behind your words...

BTW, those bricks could _potentially_ be revived.

All we need is the manfid and serial for the EMMC.

Do you have any info on how to get the EMMC serialno from 'fastboot' proper on the HDX?

Although the stock bootloader wouldn't let us flash anything, until unlocked;

many of the "rolled back" bricks should have unlockable bootloaders, meaning this

could still help _some_ people.

---------- Post added at 10:19 ---------- Previous post was at 10:18 ----------

Wow, wow, wow!!!

Hold your horses, will you?
[Kindle Fire HDX 7" & 8.9" General] DB126:
Thanks. Summary of key steps below:

- all personal data will be lost; take steps to preserve as needed

- your device is already 'rooted' (more accurately both installed ROMs)

- no need to remove Safestrap or your existing ROM

- follow step #2 to install a vulnerable bootloader and custom recovery (TWRP)

- above action will allow you to test TWRP and reinstall the linked Nexus ROM in 'native' mode; this is an important step for those unfamiliar w/installing and using custom recoveries, flashing ROMs, etc.

- once the device is stable follow steps #1 and #3 to unlock the bootloader installed in step #2; this will allow you to flash any of the custom ROMs that are available for this device

I will be travelling this weekend with limited/no network access. Might want to wait a few days if you think further help might be needed. Tethers can be especially problematic (especially Fastboot) for those unfamiliar with Amazon devices.
[Kindle Fire HDX 7" & 8.9" General] ronnie.khan01:
I started from the step #2 as you mentioned and then when I went to the step #1, I found out that I should have run the get_code.bat before I go into fastboot. Now I'm stuck at the fastboot without any unlock code.

I went to the TWRP and tried to run get_code.bat but it gives me an error and creates a faulty unlock code. So when I run the unlock.bat at fastboot, it says the unlock code is not correct.

Please tell me what should I do now.
[Kindle Fire HDX 7" & 8.9" General] DB126:
- long press <power> until device turns off then restart

- if step #2 is currently complete you should boot into TWRP and follow instructions in Nexus OP to test flash this ROM before proceeding with steps #1 and #3

Leaving network coverage now; might want to wait until early next week if you are not confident around future steps.
[Kindle Fire HDX 7" & 8.9" General] mahasal:
Can someone please create an unlock file for me? I have tried but I am not competent with python, etc.

manfid: 0x000011

serial: 0xd1c898d2

Thank you in advance!
[Kindle Fire HDX 7" & 8.9" General] ronnie.khan01:
I have finally could unlock the device and install Marshmallow. Thanks a lot Davey :)
[Kindle Fire HDX 7" & 8.9" General] DB126:
This step has been automated. Carefully read through the OP (first post in this thread). Everything you need is there. Unlock code is generated in step #1 and applied in step #3.

---------- Post added at 11:56 PM ---------- Previous post was at 11:54 PM ----------

Glad you were able to work through the procedures. Enjoy your liberated device!
[Kindle Fire HDX 7" & 8.9" General] bluefire153:
Hello, I've a Apolo 32Gb Kindle Fire. I've installed safestrap before. Then i split to 2 parts: 1 part is 10GB to install CM11, another is stock rom. Unluckily, i've do an factory reset. And then it autimaticlly updated to 4.5.5.2. I got root by Kingroot. But could you please help me to install safestrap or do something to gain back my lost storage? Now i've only 10Gb storage. Thanks for your help!
[Kindle Fire HDX 7" & 8.9" General] DB126:
Safestrap v4 is obsolete and no longer supported. Best path is to unlock bootloader which will permit the use of a much wider range of ROMs including CM 14.1 which is the indirect successor to CM 11.

Read through the last dozen or so posts (specifically here) for general guidance. Or start from the OP (first post). Also and alternative thread (here) that pretty much covers the same material. Finally, you'll probably need the drivers listed here to complete step #3. There is no guide aside from these materials. Everything needed is contained within those threads. However, you'll need to do some reading...likely several hours...to fully recover your device. As questions as needed; will try to respond as time/health permits.
[Kindle Fire HDX 7" & 8.9" General] SimulatedComa:
Not sure where I went wrong.

I believe I was following the procedure between the 2 options OP/NOP.

When I boot my kindle it goes into fastboot and my pc can't see it, if I boot holding the volUP then it boots into TWRP 3.0.2-0

If someone can point me in the right direction so I can rectify this I would be most grateful.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Likely your device does not have a functional ROM (operating system). Given you probably have not unlocked the bootloader yet flash (install) [url="https://xdaforums.com/kindle-fire-hdx/orig-development/rom-fire-nexus-rom-ktu84q-t3322931”]this[/url] ROM so you can complete the bootloader unlock.
[Kindle Fire HDX 7" & 8.9" General] SimulatedComa:
Firstly I would like to say thank you for helping me out.

Ok, I flashed the rom so now I get 4 pretty circles if I just let it boot up, I can use adb to make it go into fastboot but I can't find the google_winusb.inf that is mentioned in another post even though I have installed the full Adroid SDK, can still get into TWRP if I hold volUP when booting.

Are there any other ways of getting the driver files I need?
[Kindle Fire HDX 7" & 8.9" General] DB126:
You can loose the circles by returning to TWRP and performing a factory reset from the Wipe menu.

As for windows drivers try these: https://xdaforums.com/kindle-fire-hdx/general/thor-4-5-5-2-easy-to-root-unlock-t3571240/post72970095
[Kindle Fire HDX 7" & 8.9" General] yun1k:
Tried to get the diskindex with the mentioned commands, but cmd returned that there is no instance availlable.

Never usesd wmic before, kf hdx 7 is connected via usb, tried in twrp und in the system.

Kingroot didn't work so I need to dd the aboot_vuln.mbm file.

I appreciate any help.
[Kindle Fire HDX 7" & 8.9" General] draxie:
Learn to read

https://xdaforums.com/showpost.php?p=72567239&postcount=777
[Kindle Fire HDX 7" & 8.9" General] yun1k:
OK thanks, I managed to get into the Bulk mode and dd the aboot_vuln.mbm file and twr_cubed.img. Device reboots into fastboot mode as expected, entering twrp was no problem.

I tried to unlock as described in this thread unlock but unfortunately I have no working unlock code.

Now I'm stuck in fastboot or twrp and can't create a new unlock code (with the get_code.bat).

How can I get a new code?
[Kindle Fire HDX 7" & 8.9" General] draxie:
You can always flash a ROM (via TWRP) that works with a locked bootloader.

Boot into that one, get your code, unlock, and flash your choice of ROM.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Recommend Fire Nexus: https://xdaforums.com/kindle-fire-hdx/orig-development/rom-fire-nexus-rom-ktu84q-t3322931
[Kindle Fire HDX 7" & 8.9" General] yun1k:
Halleluja, I was afraid that my Tablet was stuck with cm11 forever, but everything worked. I learnt a lot about the fire hdx, necessary Drivers und the different boot states/Options during the process that took me almost 3 evenings. Got Lineage 14.1 installed and it works like a charm. It took me a while to gather the necessary Information because they are scattered throughout the thread, but at least it worked.

Thanks a lot ONYXis, draxie & co
[Kindle Fire HDX 7" & 8.9" General] Tutti22:
Hi,

I did root my device fire xhd 7" 3 gen kfthwi with kingroot my fire os is 4.5.5.2. Now I want to unlock the bootloader over my windows 10 pc but after I try something with fastboot on my pc it shows "waiting for device" the tab reboot and just shows fastboot I have the default bootloader with amazon (white) fire (golden) . Can somebody help me please.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Windows driver issue. See below:

https://xdaforums.com/kindle-fire-hdx/general/thor-4-5-5-2-easy-to-root-unlock-t3571240/post72970095
[Kindle Fire HDX 7" & 8.9" General] Tutti22:
Hi,

all worked now trying to install a custom ROM
[Kindle Fire HDX 7" & 8.9" General] tetriz:
Hello!

I was on my way to get CM12 on my second Fire HDX Thor (3rd gen) and was using this instruction: https://xdaforums.com/kindle-fire-hdx/general/thor-4-5-5-2-easy-to-root-unlock-t3571240

So rooted with Kingroot, get TWRP and aboot, unlocked the device. TWRP was working. But then, when I was seeing the a screen FASTBOOT READY - I have executed the following commands (don't ask me why!):

fastboot -i 0x1949 erase aboot

fastboot -i 0x1949 reboot

And got black screen,. exactly as it is explained here: https://xdaforums.com/kindle-fire-h...r-firmware-t3463982/post71430759#post71430759

So now my device is in bulk mode: when I connecting it to a PC I can see all these multiple drives. But I cant re-boot my device back to TWRP or FireOS. Power & "+" dont bring me to TWRP.

Can you please help me on next steps? Or my device is bricked now?

I want get back to a TWRP from where I can flash CM12.

Thanks a lot!
[Kindle Fire HDX 7" & 8.9" General] draxie:
Your device should be fine.

The steps (1-4) you need to follow

are explained in the post you linked.

Can it be simpler than that?
[Kindle Fire HDX 7" & 8.9" General] tetriz:
THANKS! that just worked!
[Kindle Fire HDX 7" & 8.9" General] dawebbreb:
Stuck at Unlock.Bat

I followed everything (Or at least I think I did) up the point where I even flashed Slim Rom 7. Rom boots fine life is beautiful, except I have lost root. I back tract and my first thought was, back in the instruction it says wipe before flashing rom (because of king root) and then wipe again. I wiped everything except internal memory before and after and thought maybe I wipe whatever King root did. So in my troubleshooting process I also find that I am *NOT* unlocked.

I go back to the instructions to make sure I didn't skip anything and of course I did!

I recall when I got to the point to flash the unlock file it didn't do anything. It just sat there in the fastboot screen waiting for the device to connect for minutes and so I rebooted into recovery and saw that I had twrp and thought it must have gone through.

Here is where I think I went wrong, I don't recall seeing the message "unlock code is correct".

I have adb installed and working from previous projects but I didn't install any drivers fastboot related to the fire before proceeding. I typed adb devices and the thor came up so thought I had a good connection and proceeded. I don't think fastboot worked though.

So here's where I am and what I need help with: I flashed aboot and twrp (Working fine), then flashed Slim 7 (working fine) BUT didn't unlock and Kingroot no longer works. How do I unlock at this point? And what about root? How do I proceed?
[Kindle Fire HDX 7" & 8.9" General] DB126:
- KingRoot is irrelevant at this point

- Since you still have access to TWRP you can perform a factory reset from the Wipe menu and then flash the Nexus ROM which does not require an unlocked bootloader

- Then proceed with unlocking the bootloader per OP (steps #1 and #3).

- Tip #1: You can copy the Nexus ROM zip to your device once booted into TWRP (device will show up in Windows Explorer)

- Tip #2: Install these drivers on your PC which will facilitate access to the device when placed in fastboot mode
[Kindle Fire HDX 7" & 8.9" General] dawebbreb:
Worked Great!

Thank you so much! I'm happy to report that I am unlocked and running Slim7 w/Magisk. Turns out I did have the right drivers all along. Not sure if the Nexus ROM helped but I followed your instructions!

For the fellow members out there having similar issues id like to tell you what I was doing wrong. When you get to the part where you "create the unlock code", you can do that with the device turned on and in debugging mode. However when you're going flash the Unlock File you MUST be on the fastboot screen. The way I did it was I went into twrp and clicked on reboot then bootloader. This takes you into the fastboot screen. This where you flash the unlock file.

Hope this helps someone!