yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" General] pxrave:
dear volks,

i have one big problem. i did buy another apollo now. and now i need to unlock. i used the 1-click-tool without success (Unlock code is not correct.)

so i used the manual method (i have root on the tablet)

i but aboot and recovery with root to the right folders.

again unlock code is not correct.

can anybody help me? how to get correct unlock code? seems like cuber get one wrong. any can share the latest 1-click?
[Kindle Fire HDX 7" & 8.9" General] DB126:
Glad all is well. It is easy to get wrapped around the axle with the various moving parts which differ by device and rom. Been there many times. :)

---------- Post added at 01:02 AM ---------- Previous post was at 12:36 AM ----------

Host drivers are a PiTA with this device - especially on Windows. Suggestions:

- Try a different port and cable if available (the same cable/port that works with adb may choke with fastboot); avoid USB hubs if possible.

- Bring up Windows Device Manager with HDX tethered in fastboot mode. Disconnect, wait a few seconds and then retether. Note all the device(s) that get added. Uninstall these devices (not just the drivers), untether and reboot both host and tablet. Repeat connection procedure guiding Windows to the correct set of drivers when prompted.

- If still no joy consider using a different host (friend, family, employer) or bite the bullet and set up Linux emulator.

I have always got Windows to connect...eventually...across a half dozen machines, several OS versions (7, 8.1, 10; all x64) and a handful of Amazon devices. The work effort inexplicably varies; it sometimes takes several iterations to get it right. Gives me a chance to be creative with some colorful language when things aren't working as they should.
[Kindle Fire HDX 7" & 8.9" General] Luxen:
I figured it out, along with that error people seemed to be having with python. I'll probably write a tutorial if it all works out as it should. ' Unlock Code is correct' :good:

Went ahead and installed 4.5.5.2 from OP's post just to be safe. My heart stopped every time there was a delay. This was a true migraine inducing adventure but it was successfully completed without bricking. Mission accomplished.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Curious - why unlock if reinstalling 4.5.5.2 (stock FireOS)? I'm sure there is a good reason but it escapes me at present. Nothing against FireOS; it's a good ROM for many. But obviously no reason to unlock just to run stock.
[Kindle Fire HDX 7" & 8.9" General] Luxen:
Because I had to test that nothing would go wrong. 4.5.5.2 is stable at present. After unlocking, I needed a system to boot into. It's late here to fiddle with CM12–13 as I have been tinkering all day, but those are my next steps. After running custom rom for nearly a year and enjoying the improved image, speed, plethora of apps, etc.. There's no way I can go back to stock :p
[Kindle Fire HDX 7" & 8.9" General] j0vi:
Thank you very much for help guys !

- I downgraded 4.5.5.2 to 3.2.8 http://xdaforums.com/kindle-fire-hdx/general/rollback-13-3-2-8-rollback-ota-captured-t3046204

- updated to 4.5.2 http://xdaforums.com/kindle-fire-hdx/general/update-1314-4-1-1-probably-sangria-t2901813

- Rooted 4.5.2 http://xdaforums.com/showpost.php?p=59156161&postcount=56 (Required reboot before root started to work. Didn't do that before I figured that su was successfully copied to /system/xbin. And BTW, Towelroot didn't work. ).

- I unlocked bootloader with instructions from opening post of this thread (Great work ONYXis !)

- I installed CM13

For some reason fastboot drivers didn't work in Win7x64 but they did work in Win7x32 I have in my HTPC and I was successfully able flash fastboot (lucky me fastboot flashing didn't require authorization for computer in advance). It caused boot loop to fastboot but I didn't put attention trying to fix it. I wiped all partitions and flashed CM13, it works but seems to have same limitation than Fire OS, it does not mount USB memory devices?
[Kindle Fire HDX 7" & 8.9" General] ggow:
I'm on holiday this week, will investigate when I get back.
[Kindle Fire HDX 7" & 8.9" General] DB126:
- 3rd gen HDX devices lack basic hardware support for OTG (mountable USB storage); it has nothing to do with the installed rom and can not be corrected via firmware/software tweaks

- no need to upgrade to 4.5.2 after 3.2.8 rollback as the latter is rootable with Towelroot which is faster, more reliable and does not contain extra cruft (KingUser, Purify, etc). Old timers will remember towelroot was the goto to tool for rooting many KitKat devices.
[Kindle Fire HDX 7" & 8.9" General] j0vi:
Thanks for reply. Have to still then stream media to Fire HDX with mobile phone wifi hotspot/upnp server when traveling...
[Kindle Fire HDX 7" & 8.9" General] DBCAB:
I use one of these for my kindle while traveling its a 32gb model but they have 64 and 128 it works perfect with the kindle no wifi needed and decent price imo.

http://www.bestbuy.com/site/sandisk...ess-flash-drive-black/9208249.p?skuId=9208249
[Kindle Fire HDX 7" & 8.9" General] draxie:
Hmm... then you might as well run 1-Click... (-;

I'm considering adding support for automated rollback & roll-forward with OTA disabled.

Although this will take some time, as I'm fairly busy with other things in the next 2 weeks.

---------- Post added at 20:23 ---------- Previous post was at 20:17 ----------

root? (-;

That would be the one generally obvious advantage.

Then, for those with kids, there's Kindle FreeTime.

I saw the other day that this is now also available

on the PlayStore. I plan to check out if that works

as expected, and may move to CM14... (-;
[Kindle Fire HDX 7" & 8.9" General] draxie:
Can you point me to the source of this info?

Do you happen to know if the command-line port "ghettoroot" happens to work also?

That would simplify the workflow for 1-Click on unrooted tablets.

I guess I'll just need to pick up a test device from eBay... (-;
[Kindle Fire HDX 7" & 8.9" General] DB126:
Source is self; back-in-the-day Towelroot was used extensively (often via "HDX toolkit") to root various builds of FireOS v3 including 3.2.8. Typically worked on first attempt but did/does require brief network connectivity to gather vulnerability and exploit detail for the device in question.

Sorry, no experience with ghettoroot.
[Kindle Fire HDX 7" & 8.9" General] draxie:
Perfect, thanks! This helps a lot.

Do you know if the same modstring works for both Thor and Apollo?

---------- Post added at 08:06 ---------- Previous post was at 08:05 ----------

Good, that's a trusted source.;)

I only used these tools up until 3.2.6..
[Kindle Fire HDX 7" & 8.9" General] ONYXis:
No idea. I have no apollo, and I didn't try.
[Kindle Fire HDX 7" & 8.9" General] djclark25:
Having Python/gmpy2/cuber issues when trying to create un unlock file. Could someone please do the honours.....

I get a Syntax error: invalid syntax line 64. As gmpy2 has a latest python version of 3.4 in downloads, I installed Python 3.4.2, and have installed the gmpy2.wl (Never used pthon so not sure If I am doing things right!!!)

ID 0x000045

Serial 0x1312c055

Thanks very much
[Kindle Fire HDX 7" & 8.9" General] Cl4ncy:
Here we go. ;)
[Kindle Fire HDX 7" & 8.9" General] RagManX:
Not sure what I'm doing wrong. I didn't put Python in my path, which is why I need the full path to it. Not sure which version of Python to use - tried 3.4 and 3.5 and get the same error. Can someone make my unlock for 0x1594163360 please?

Thanks.
[Kindle Fire HDX 7" & 8.9" General] RagManX:
Thank you very much. Couldn't get the HDX drivers working on my Windows laptop, but once I installed fastboot on my Linux laptop, everything went smoothly. Just installed CM-13 and am booting for the first time now with my newly unlocked HDX. Really appreciate the work from everyone who figured this out and especially ONYXis for providing my unlock file.
[Kindle Fire HDX 7" & 8.9" General] ggow:
The best way to unlock is this method here:

https://xdaforums.com/showpost.php?p=75284993&postcount=1006

I used it on a thor I got from ebay and it was by far easier than trying to obtain root etc.
[Kindle Fire HDX 7" & 8.9" General] pxrave:
Thanks iam online with your latest Rom.
[Kindle Fire HDX 7" & 8.9" General] nee_vak:
Went through all the steps for Thor (7") device and it keeps booting into TWRP as default rather than the installed LineageOS. Any solution? Steps worked fine when flashing on Apollo (9") device, made sure to use correct TWRP and vuln.mbn, but no dice getting Thor to boot up anything other than TWRP when rebooting system.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Can you boot into Lineage from TWRP? If so suggest a different problem than not being able to boot ROM by default, although I am not immediately sure how to address it on this device. Common problem for those unlocking Moto phones which often have a bootloader menu prior to entering recovery. Executing a specific launch sequence immediately after flashing ROM is the key.
[Kindle Fire HDX 7" & 8.9" General] nee_vak:
Not sure how I would go about booting to Lineage directly, Reboot System only ends up going to TWRP. Repeated the same steps from start to finish, over and over, with no difference in result. So all I can open is either the bootloader or recovery, but I haven't been able to boot into Lineage at all.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Answered question via "Reboot System only ends up going to TWRP".

Next suggested step: format (vs wipe) system partition and then reflash Lineage. If still no joy something may have gone amiss during unlock procedure.

I also assume data is already wiped as there is no 'dirty' upgrade path from FireOS
[Kindle Fire HDX 7" & 8.9" General] toblerone0:
Trying to set this up with a 3rd gen 8.9. All files I've double checked are set up perfectly. I've tried with the two different micro USB cables I own, on both my desktop and Laptop running windows 10 with the various USB ports they have. I manage to get to the point where you install the driver in fastboot, and it's supposed to pop up with a ready and show up in the ADB devices but neither are happening. I'm using the exact driver it specifies. I've tried killing and restarting the server in ADB to no avail. I'm not sure what I'm doing wrong or what else I could do to make this work. I saw there's another method but as it requires Linux, I'm making that a true last resort since I don't have any dualboot setup on either of my devices. Any help would be greatly appreciated, really hoping to get my HDX sorted out so I can get a newer Android on it.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Use composite drivers that come with Moto device manager. Just install app; no need to run it. Use Windows device manager to assign driver. You'll likely need to use a different driver for ADB and fastboot communication. Common issue for newbies dealing with these fussy (to Windows) HDX devices.
[Kindle Fire HDX 7" & 8.9" General] toblerone0:
I installed the Moto device manager, uninstalled the fire drivers, got back into fastboot, assigned the ADB composite drivers from the Moto device manager set, and still no dice. I tried it over a few times with different setups and no driver combo has worked. I've tried rebooting as well after uninstalling drivers to make sure I'm going in as clean as I can. I'll just have to see about doing a live boot of linux and doing the alternative method.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Yep - coaxing Windows to communicate with HDX devices (finding the right driver combination; identifying and removing other obstacles) is a hurdle that few enjoy. One click unlock with a Linux based host is the best alternative.
[Kindle Fire HDX 7" & 8.9" General] hjslaw:
SOLVED: Stuck in the middle of the process

EDIT: I found the Motorola driver for the HDX and that made it possible to connect fastboot. Following the instructions the rest was easy.

Hi, I followed the instructions and came until here:

Open CMD in the folder and run "adb reboot bootloader", the Kindle will reboot to bootloader with "[ fastboot ]" on the display

and

On the Computer go to Device-Manager and change driver in "Other Android" to "Fire Devices - Android Adb Composite Driver" . It should say "Ready" on the Kindle.

After that, I am stuck, the tablet reboots, shows fastboot, but no further commands are recognized.

Any ideas?

Thanks
[Kindle Fire HDX 7" & 8.9" General] Bwangster12:
So I was able to do this... and now am in TWRP, but how do I put the ROM and GAPPS on my Kindle? I didn't do that before this and TWRP isn't mounting and the ADB sideload feature isn't starting.
[Kindle Fire HDX 7" & 8.9" General] Ayub8855:
I did the same as dscribed but i m getting error as unlcok code is incorrect. Any solu
[Kindle Fire HDX 7" & 8.9" General] DB126:
Devil is in the details; this type of error is almost always the result of user error. You'll need to sift through the thread (or this one) to identify similar symptoms and corrective actions.
[Kindle Fire HDX 7" & 8.9" General] SokiSorgenkind:
Hi friends,

I'd like to speak out a big thankyou for this guide and everyone involved. Even though I can be considered a newbie in the flashing/rooting/whatever-android business, I was able to bring lineageos 14.1 to my HDX 8.9 apollo with 4.5.5.3. I had to read through loads of different sites and getting the correct/working files like twrp and the actual rom and fitting gapps was quite a ride for me but I did it... The good old HDX is getting a second chance... boy am I proud :)

Have a good rest-weekend

Thankyou

Soki
[Kindle Fire HDX 7" & 8.9" General] hubh98:
This is the best one so far now. With everything you need. Just download the latest TWRP from the link https://xdaforums.com/t/recovery-unlocked-bl-twrp-3-5-0_9-1.3322547/

Tested it on a kindle fire HDX 8.9 3rd gen, and it works great. The newest opengapp for arm v7.1 does not work with lineage OS 14.1. I used one from 20200117.

OP's method is not good, because of broken links to google driver.
[Kindle Fire HDX 7" & 8.9" General] hubh98:
Just follow this one, step by step:

https://xdaforums.com/showpost.php?p=75284993&postcount=1006

ignore other post.
[Kindle Fire HDX 7" & 8.9" General] sinisterscu:
I've done everything in this post, but upon reaching the step - " Open CMD in the folder and run "adb reboot bootloader", the Kindle will reboot to bootloader with "[ fastboot ]" on the display", the device will reboot, but boots normally. fastboot doesn't display. Running the latest 4.5.5.3 firmware, Thor device.
[Kindle Fire HDX 7" & 8.9" General] Goliath12:
Hi, I always thanks for your help.

Recently, I saw a script about test rom(lineage 16.0). I have been used lineage 14.1 version.

First I tried to upgrade TWRP recovery on my HDX 7"(thor) for version 3.5.0_9-1.(before I used 3.1.1).

I did flashing TWRP recovery on install image menu on TWRP 3.1.1. and after reboot, It can't loading TWRP when kindle fire logo came out with hold button power + vol.up....

and freezing... but, after just rebooting(without hold button power + vol.up). I can use before lineage 14.1 version.

If I want to using TWRP recovery, do I have to unlock and install TWRP 3.1.1 version again?
[Kindle Fire HDX 7" & 8.9" General] biwuchen:
thank you!!!
[Kindle Fire HDX 7" & 8.9" General] thecharlie654:
Hi. I've just attempted these steps on my thor Kindle Fire HDX 7. I completed up to step 8 successfully, however, when I ran the "get_code.bat" file in step 3, I didn't realise that it didn't create the unlock code correctly, and it resulted in a blank unlock.code file.

Therefore running the unlock.bat file results in 'unlock code not correct' and I cannot unlock the bootloader. I am stuck in fastboot, cannot access adb, therefore is there any way to get a new unlock code from the device's current state?
[Kindle Fire HDX 7" & 8.9" General] DB126:
Install (flash) an older TWRP build and ROM and then use that to generate a proper unlock code/file. Don't bother with GApps, Magisk, etc. I have seen some posts claiming Lineage 14.1 will install on devices with locked bootloader (can't enable root). I prefer nexus as it goes in clean. Good luck.
[Kindle Fire HDX 7" & 8.9" General] harlansgs:
Edit: for anyone else who runs into the "no -i option" error, you can just drop the "-i 0x1949" and continue with the other steps.
[Kindle Fire HDX 7" & 8.9" General] PokeFan919:
Hey, I had the same issue as the person you replied to but which version of twrp and the ROM do I download ? I flashed the thor-twrp-3.0.0-0.img( after trying the latest TWRP build )but it boots to the grey kindle logo and then to fastboot mode.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Old post, old device; have moved on. As I recall, TWRP 2.8.x.x was the go-to build for older HDX ROMs
[Kindle Fire HDX 7" & 8.9" General] hangvupro:
i do this with kindle 8.9 2014 saturn. now my cmd is not working. someone help me what to do. Thanks
[Kindle Fire HDX 7" & 8.9" General] exokinetic:
Okay, upon noticing most users were doing this with TWRP 3.1.1.1;

"the needed files are in the attachment, just download them all + the TWRP for your device from this thread: link"

^^^It would be nice if that explicitly stated to grab the 3.1.1.1 version for your device (apollo vs thor)

I restarted from bulk mode + dd'd the vuln_aboot and twrp 3.1.1.1

One step forward...

Now I CAN boot into TWRP with the Power + Volume Up combination;

Now if I have been following along like a good little student, then;

All I need to do now is grab -any- ROM image that does NOT require an unlocked bootload to flash through TWRP?

Flash any vanilla ROM, boot into ROM, adb get_code.bat (WITH CUBER IN THE DAMN FOLDER), verify unlock.code is 256 bytes

/PROFIT

Now, there was a user that was helping multiple users through this SAME ISSUE, and part of the solution involved posting up a link for a Nexus ROM that had been developed FOR the Fire HDX, which did NOT require an unlocked bootloader...

Unfortunatly, those links are all dead now. /sadface

Am I correct in understanding that -any- AEX or Nexus flavored ROM should work for the same purpose?

...one way to find out...

/Exo
[Kindle Fire HDX 7" & 8.9" General] daftfool:
Can anyone point me in the direction of upgrading TWRP / Installed v3.x for this device?

I am attempting to install TWRP image downloaded from post #1006 in this thread, but it states that the partition is not large enough. Every advice I can find simply states I have the wrong version of TWRP, but that isn't the case.

I have twrp installed, but it is an old v 2.8.5 and I cannot find a way to upgrade it.
[Kindle Fire HDX 7" & 8.9" General] santucio:
Hello guys)

I love this kindle fire hdx and lovely stock sound.

I want chance back stock from unlocking TWRP device.

Some have old repacked stock from 1st post for Thor:

Plz, link it.

Its sad, if not way back to stock from castom(
[Kindle Fire HDX 7" & 8.9" General] cosmic_child:
Hi Guys,

i´m using the instructions from posting 1006 for my apollo. it´s running until the bulk-mode

this 2 commands are not running:

dd of=\\?\Device\HarddiskX\Partition6 if=aboot_vuln.mbn

dd of=\\?\Device\HarddiskX\Partition18 if=twrp_cubed.img

"Error native opening file: 0"

now didnt have access -can i reinstall the original rom and start again ?

I cannot restart - or with a special combination of buttons?

thx a lot

cosmic
[Kindle Fire HDX 7" & 8.9" General] skdubg:
your error says that it cannot open the file.

Either the name is wrong, or the files are not in the same folder as dd.exe.
[Kindle Fire HDX 7" & 8.9" General] cosmic_child:
Thx, i didnt wrote the result of wmic partition where index=22 get diskindex

wmic partition where (index=17 and numberofblocks=20480) get diskindex

wmic partition where (index=5 and numberofblocks

NOW i ve no acces... Hmm other ideas?
[Kindle Fire HDX 7" & 8.9" General] Pixelado:
Thanks so much for this!!! Aside from windows being picky about drivers and having to try my luck with different fastboot versions, this guide worked wonders for getting my friend's HDX 7 3rdGen unlocked and running LOS14.1
[Kindle Fire HDX 7" & 8.9" General] firefan33:
I have a problem - after following these steps my hdx7 cannot boot regularly:

I exactly followed the steps described from ReichMann in #1006. Then i installed LineageOS 16 as described here:

https://xdaforums.com/t/rom-testing-apollo-thor-lineage-16-0-08-feb-2021.4164161/

Unfortunately my Fire HDX7 (3rd gen) is only able to boot in recovery mode (TWRP) and fastboot mode.

The first time i installed LineageOS via TWRP everything seemed fine.

But after rebooting the device the start screen from LIneage appeared only for a few seconds, went black and appeared again for a few seconds, and so on until i turned it off (long-pressed power button).

I re-flashed the image.

But now after rebooting immediately the recovery (TWRP) is started. And Fastboot is working, too. So i have two possible modes left ;-) recovery mode and fastboot mode... wonderful - but the regular mode has gone...

Do you think there is any way to get my hdx work again?

Thank you very much !
[Kindle Fire HDX 7" & 8.9" General] dnt83:
Hello

I forgot to get_code before, so can I unbrick it? Thank you
[Kindle Fire HDX 7" & 8.9" General] skeptic1007:
Hello. I have another problem with running the procedure at post 1006 above: get_code does not stop. The command at adb push cuber ... does not terminate. Any idea where I may be wrong?

I have unlocked my Kindle Fire and installed an Android OS some years ago. Have restored the original Fire OS since. Now I would like to repeat the Android OS procedure. Is the bootloader still unlocked?
[Kindle Fire HDX 7" & 8.9" General] Toothless_NEO:
Can't find any working drivers, it's stuck at waiting for device. Any idea how to fix this?
[Kindle Fire HDX 7" & 8.9" General] hdmodding:
Would anyone know what is casuing

"Error opening input file: 2 The system cannot find the file specified"

When running dd of=\\?\Device\Harddiskx\Partition6 if=aboot_vuln.mb and

dd of=\\?\Device\Harddiskx\Partition18 if=twrp_cubed.img (on windows 10)
[Kindle Fire HDX 7" & 8.9" General] The-Frog:
Hi HDModding,

Yes, you cannot use 'harddiskx' in the line, the x should be the partition index value such as 'harddisk3' or 'harddisk1' or whatever the index value is from the previous steps ...

Hope this helps

The Frog
[Kindle Fire HDX 7" & 8.9" General] aaa_plshelp:
Hi, great post but I seem to have encountered a major problem... I followed all the steps till 6 and typed in the given into cmd but it did not return the same error but

C:\Users\DELL>dd of=\\?\Device\Harddisk1\Partition6 if=aboot_vuln.mbn​

rawwrite dd for windows version 0.5.​

Written by John Newbigin <jn@it.swin.edu.au>​

This program is covered by the GPL. See copying.txt for details​

Error opening input file: 2 The system cannot find the file specified​

​

C:\Users\DELL>dd of=\\?\Device\Harddisk1\Partition18 if=twrp_cubed.img​

rawwrite dd for windows version 0.5.​

Written by John Newbigin <jn@it.swin.edu.au>​

This program is covered by the GPL. See copying.txt for details​

Error opening input file: 2 The system cannot find the file specified​

Now the device will not power on or go into twrp... I suspect that I've made a rookie mistake somewhere and could have possibly hard bricked my device.

Additionally, every time I plug in the kindle to my pc it'll open multiple dialog boxes saying, "you need to format the disk before using it". Moreover, when connected the device is displayed as QHSUSB_BULK (which is supposed to be the kindle in bulk mode..?)

I would deeply appreciate any insight to complete the unlocking bootloader or recovering the fire os.

Thank you for your time.
[Kindle Fire HDX 7" & 8.9" General] thomscon:
Worked for me on Apollo 4.5.5.3, thank you all.

https://xdaforums.com/showpost.php?p=75284993&postcount=1006
[Kindle Fire HDX 7" & 8.9" General] hiitsrudd:
Why even bother to run an outdated version of android on this amazon crap?