yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" General] MMTalk:
Trivial question, did you change the name of the downloaded aboot file "emmc_appsboot-13.3.2.3.2_user_323001720.mbn" to aboot_vuln.mbn? Same with the twrp file "thor-twrp-3.5.0_9.1.img" to twrp_cubed.img? And do you placed these two files in the same folder with the other files?

Even weeks after trying this you can resume trying again. I for myself had problems after the "wmic partition where index=22 get diskindex". I even unplugged fire hdx 7. Tried to turn it on without success. After 10 Min. I found the problem. I used PowerShell instead of a simple CMD Window. I plugged the fire hdx in and those several PC Window frames popped up again. I even played around with the power button of the fire hdx to see whats happens with those PC windows pooping up. Device was discovered and I changed the driver. The screen still was black and adb and fastboot didn't work. But 'wmic partition where index=22 get diskindex' worked and all those other following commands too.
[Kindle Fire HDX 7" & 8.9" General] MMTalk:
Try it again. See my previous post.
[Kindle Fire HDX 7" & 8.9" General] aaa_plshelp:
I didn't change the names of the files, I only downloaded the files attached to the original post and placed them in the abd folder.

Could you give more insight as to how exactly you revived your hdx and what commands you wrote in PowerShell? Moreover how did you get the device discovered again? I'm stuck with the fire in bulk mode while it's recognized as a drive instead of an android device... If I could undo the partition, I could possibly get the device working again though, I only know of theory of what to do, not the actual code.

I'm sorry if I'm asking too many questions but I'm quite desperate to fix the fire...

Thank you for your hopeful response.
[Kindle Fire HDX 7" & 8.9" General] MMTalk:
Are you trolling my? The command lines must refer to the downloaded files. Either you change the names of the downloaded files to the names in the command line or the other way around.

No I didn't change anything to revive the hdx. It can be that the battery of your fire hdx is completely down after weeks Connect it with the PC at least for 2 hours and try to charge it. Then unplug and replug it with the PC (Win10) and look if it it is discoverd in the device manager (second pic in #1206 here in the forum thread)? In the pic in #1206 it is discovered but you must set the driver renewed. If it can't be find press the start button of the fire hdx and hold it some moment so turn turn it on as usual. As the screen stays black the only way to see that the device is turned on is seeing it discoverd under the device manager on the PC (Win10). Is it discovered and the driver set renewed continue with the following command lines in cmd (NOT PowerShell, PowerShell caused the problem!!!):

wmic partition where index=22 get diskindex

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

wmic partition where (index=5 and numberofblocks=4096) get diskindex

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

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

with XXXX the name of the downloaded aboot file with the mbn extension

with YYYY the name of the downloaded twrp e.g. the recovery file with the img extension
[Kindle Fire HDX 7" & 8.9" General] aaa_plshelp:
i did complete the steps provided above and this time it was successful as in

C:\adb>dd of=\\?\Device\HarddiskX\Partition6 if=emmc_appsboot-13.3.2.3.2_user_323001720.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 native opening file: 0 The operation completed successfully

C:\adb>dd of=\\?\Device\HarddiskX\Partition18 if=recovery.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 native opening file: 0 The operation completed successfully

but now how to advance further?

i input fastboot -i 0x1949 erase aboot but it says waiting for devices (in device manager its given as android composite abd interface) and it cannot boot into twrp either. If i try to run the file manually through my computer, it says disc image file is corrupted?

For context, when i hold power + volume up it just displays all the drives and their format boxes....
[Kindle Fire HDX 7" & 8.9" General] azazeldev:
Hey, I kinda messed up with the "get_code.bat". I got an empty key file and didn't notice, so I just continued to do everything until step 8, which is when I realized I couldn't continue. Now I'm stuck in either TWRP or [fastboot]. How do I get out or get my code?

Edit: I also started a thread here.
[Kindle Fire HDX 7" & 8.9" General] Ethjam:
Hello. I Have been trying to install a rom on my HDX 7", first I tried with Safestrap, the rom seems to install but it wouldnt boot, then i roll back everithing and tried to unlock bootloader with this method,

https://xdaforums.com/t/thor-apollo-unlocking-bootloader-with-any-firmware.3463982/post-71430759

when I performed `fastboot reboot` it looks at first like it enter Bulk Mode but kept restarting without being able to do next step, then fool me I disconnect the tablet and now is not showing at all. the computer shows usb/failure description error.

Does anyone has some idea, Any help is apreciated :cry:
[Kindle Fire HDX 7" & 8.9" General] Macastacas:
My dear friend, thank you so much for your post. The only issue is that the link for downloading aboot and twrp is not working. Can you help me please. Thanks!
[Kindle Fire HDX 7" & 8.9" General] Macastacas:
Thank you so much. Link for downloading aboot and twrp cubed is not working. Can you please provide a new one? thanks!!
[Kindle Fire HDX 7" & 8.9" General] Jonathan-Realman:
Well, that seems to have completely bricked my Kindle. Huh. Can't get out of

QHSUSB_BULK anymore.​
[Kindle Fire HDX 7" & 8.9" General] zyb_zyb:
fastboot -i 0x1949 flash unlock unlock.img

target reported max download size of 1073741824 bytes

sending 'unlock' (0 KB)...

OKAY [ 0.084s]

writing 'unlock'...

FAILED (remote: Failed to write unlock code into IDME)

Whether in Ubuntu or win10,this is the prompt.
[Kindle Fire HDX 7" & 8.9" General] madmamadma:
Hi, i'm stumped, i've followed all instructions but my hdx 7 inch, i get the error "Error native opening file: 0 The operation completed successfully", but sometimes i get "

Error writing file: 433 A device which does not exist was specified

1+0 records in

0+0 records out" this is my commands: "C:\adb>dd of=\\?\Device\Harddisk3\Partition18 if=twrp_cubed.img" (i did rename the file) and "C:\adb>dd of=\\?\Device\Harddisk3\Partition6 if=aboot_vuln.mbn" also renamed, tried and same results in an admin prompt and a standard prompt, even though it says successful, i try and revive the devices (holding the power button) nothing, try holding power and volume nothing, has anyone got any suggestions? Thank you for reading this.
[Kindle Fire HDX 7" & 8.9" General] Hummerman1497:
Cant get the fastboot to get Ready on the device. My fire has the driver "Android Composite ADB Interface" after i start fastboot the device is unrecognized and i cant change the driver anymore.

Some ideas ?
[Kindle Fire HDX 7" & 8.9" General] rwclemm:
Kindle Fire HDX 7" (3rd Gen) running 4.5.5.1

I am just now checking to see if I can make use of this device. Bought it, hated it, put it in a drawer a month after purchase. It is brand new like I just pulled it out of the box. All of that said I could care less if I brick the device as it has just sat idle since I purchased it. All I need is an excuse to throw it away. I am not a pro with rooting but I am a techie willing to do anything with it. All I need is step by step directions. I have read a lot of posts out here but still cannot find a step-by-step process to follow that can take a noob like me through a rooting process. Can anyone point me in the right direction?

Thanks,
[Kindle Fire HDX 7" & 8.9" General] DB126:
Keep an eye on this thread. Developer is making further changes to streamline use.

http://xdaforums.com/kindle-fire-hdx/general/multi-platform-1-click-bootloader-t3241014
[Kindle Fire HDX 7" & 8.9" General] rwclemm:
Davey126,

Thanks for your reply but the problem I have is I have no clue where to download or do the things that are stated in that thread. Take for example the first lines of the thread you recommended, in these first lines there is no file to to unpack nor does it explain what I am doing. I need the this guy is clueless guide. I guess there is no such thing as I would have found it by now with all of the searching I have done. I think I am going to toss the HDX in the G-bin and forget my stupidity for buying it. Just hated to do that because it is in new condition.
[Kindle Fire HDX 7" & 8.9" General] DB126:
The thread OP explicitly references a link to the necessary file(s) in the first few lines. Hard to miss. If you are uncomfortable with the level of detail then find someone to assist or sell/shelve/trash the device. I have no intention of rewriting "1-click" instructions or authoring a "clueless guide" (your words). Doing *some* homework is expected on XDA. The developer is working on an update; check back in a few weeks to see if it meets your needs.
[Kindle Fire HDX 7" & 8.9" General] rwclemm:
LOL....not asking for a rewrite just asking for guidance to point me in the right direction. I had to lookup what "The thread OP" meant and did find a link at the bottom of the post that took me to 1-click.zip. Like I said very new to all of this. As far as my comfort level I am completely comfortable working with this but still have not figured out the starting point. So I guess the first step is to gain root access then you ??????? Given my version 5.2.2.1 where should I begin looking? Do you gain root access then reflash the device? If so where should I look for the root access steps and flash? Or are you running on top of the base platform flash? Just lost in this sea of information. Hey and its okay if I am slated as to much of a noob to bother with as it is no skin off my back. Thanks for your patience up to this point.
[Kindle Fire HDX 7" & 8.9" General] DB126:
If running FireOS v5 the device is not a 3rd gen HDX and thus not eligible for bootloader unlocking.
[Kindle Fire HDX 7" & 8.9" General] rwclemm:
Sorry messed up on the ver number. I am currently running 4.5.5.1.
[Kindle Fire HDX 7" & 8.9" General] Robo_Senpai:
Greetings everyone, I've been coming to this site for years and this is my first time participating in the forums.

I have a bit of an issue, I've attempted to unlock the boot loader via python to no avail.

I downloaded the updated version of Draxie's 1-Click application and it consistently fails to unlock.

My device is running the Nexus Fire on the bootloader of 4.5.5.1, rooted and with Safestrap.

cat /sys/block/mmcblk0/device/manfid

0x000045

cat /sys/block/mmcblk0/device/serial

0x202ef9da

If anyone could help, i'd be grateful. Thanks
[Kindle Fire HDX 7" & 8.9" General] ONYXis:
attached

would be good to see screenshot of this fail. Maybe you missed entering Flash ANYWAY?
[Kindle Fire HDX 7" & 8.9" General] Robo_Senpai:
would be good to see screenshot of this fail. Maybe you missed entering Flash ANYWAY?[/QUOTE]

Thank you for the unlock file :), I just realized that my issues with python must have been the result of my lack of sleep as it took me close to an hour right now to recognized that I was misspelling platform as platfrom when trying to install the twrp and aboot files. :confused:

As of now, i'm having issues getting the unlocked file to be loaded and keep getting "getwar: partition-type:unlock...Ok." when attempting to boot the unlock file.

Unfortunately, I wasn't able to post my screenshot as my account was opened too recently.
[Kindle Fire HDX 7" & 8.9" General] MrPuddington:
Excellent Work

This is great work - I can finally unlock my Kindle.

The process is a bit lengthy, but worth it:

Downgrade t o 3.2.8

Upgrade to 4.5.1

Root

Write boot loader

Unlock

Install CM13

Now I hope that the last few bugs in CM13 can be fixed, and this will be the perfect Android tablet.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Glad you made it. Note upgrade to 4.5.1 was not necessary. 3.2.8 can be rooted with towelroot. Bootloader unlock procedure works regardless of the underlying version of FireOS. Just needs to be rooted.
[Kindle Fire HDX 7" & 8.9" General] dutuka:
Confirmed for HDX 8.9 Apollo.

I used draxie's utility and it worked.

My HDX Apollo has CM11 and bootloader 14.4.5.2, i didnt downgrade to 3.2.8 and upgrade again to 4.5.2, just use the utility right away.

Now im on CM13.

Thank you.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Great! For the benefit of future readers the only prerequisite is root on a 3rd gen HDX. No need to rollback FireOS unless required to obtain root. Device is rooted if running Safestrap or any custom rom.
[Kindle Fire HDX 7" & 8.9" General] MrPuddington:
Yes, I thought I could probably just root on 3.2.8, but I did not want to risk it.

And since I was on the latest version (4.5.5.2), rooting it directly without a downgrade was not an option.

Overall the downgrade went very smooth, while the USB driver issue was a bit more difficult to solve. But as I said, it is nice that we can finally take control of our Kindle.
[Kindle Fire HDX 7" & 8.9" General] Koile:
Yesterday my Apollo did arrive, unfortunately with .4.5.5.2

Tried to follow your example.

Already, down- (3.2.8) & upgraded it (4.5.5.1) and rooted it and would like to unlock the bootloader, but unfortunately I cannot create an unlock-file.

When I try to run

python.exe cuberHDX.py 0x454375b83d

I just get the following syntax-error:

File "cuberHDX.py", line 64
print 'Usage: %s [boot.img|serial]' % path.basename(argv[0])
^
SyntaxError: invalid syntax

I don't see the problem, as I didn' even try to create a boot-image. :confused:
[Kindle Fire HDX 7" & 8.9" General] ONYXis:
nevermind

attached
[Kindle Fire HDX 7" & 8.9" General] Koile:
Thank you! CM 13 is up and running! :good:

But... do you have any idea, what my mistake was? Or was it an error in the python-script?

Sorry for asking, but I want to understand problems and solutions. ;)
[Kindle Fire HDX 7" & 8.9" General] dtrud0h:
Excellent!!!!

This is grea,t thanks OP for the time to figure this out. Now my beautiful KFHDX can actually be useful.
[Kindle Fire HDX 7" & 8.9" General] dunkincurry:
Hello, Is there any possibility to unlock the bootloader of my Thor and install CM13 on it??? I already installed Safestrap and I'm running on Nexus rom. Please Help me I really want to unlock the potential ability of my KF HDX. TIA
[Kindle Fire HDX 7" & 8.9" General] DB126:
Yes, use the 1-click utility located in these forums. Note you *may* have to restore FireOS and remove Safestrap. Best wait until that issue is sorted before proceeding.
[Kindle Fire HDX 7" & 8.9" General] dunkincurry:
Please How? Can you please send me the link? Thanks

---------- Post added at 05:26 AM ---------- Previous post was at 05:09 AM ----------

Okay so I have KF HDX 7"

Running on Nexus rom and Safestrap 4.01

Correct me if I'm wrong

1.) Flash Stock 13.4.5.2 on Safestrap

2.) Remove Safestrap

3.) Root it

4.)Unlock Bootloader using The Updated Utility

5.)Install CM13

does my plan will make my Thor running on CM13 or nah? Please help me. TIA
[Kindle Fire HDX 7" & 8.9" General] dunkincurry:
HELP! I'm getting problem with the updated utility.

it said that the unlock code is wrong.

so can you please generate me an .unlock file

0x000045 manfid

0x3081ff59 serial

thanks in advance
[Kindle Fire HDX 7" & 8.9" General] Cl4ncy:
Here we go: ;)
[Kindle Fire HDX 7" & 8.9" General] dunkincurry:
Thanks man to be honest I'm dealing with this problem "Incorrect Code" and I just skip it, and it works TWRP works, CM13 Works. Thank you. My thor almost got bricked. THANK YOU!! You Guys deserve a lot of Donations. especially ONYXis
[Kindle Fire HDX 7" & 8.9" General] DB126:
Yes. Be sure to use the Safestrap compatible build of FireOS 4.5.2 (here) that is appropriate for your device type; gets flashed to the STOCK slot. Remove any secondary slots. You will need to reinstall the Safestrap app itself on FireOS to uninstall Safestrap recovery.
[Kindle Fire HDX 7" & 8.9" General] niksssss:
Hello guys ! I get this error:

Any ideas what I am doing wrong ?

man - 0x000011

serial- 0x534db7c8
[Kindle Fire HDX 7" & 8.9" General] ONYXis:
attached anyway
[Kindle Fire HDX 7" & 8.9" General] niksssss:
Thanks ! I got another problem. I am stuck at

When I type adb devices it detects my tablet. I have safestap 4.01 and HDX nexus btw.
[Kindle Fire HDX 7" & 8.9" General] ONYXis:
It is only fastboot driver's issue.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Drivers for Amazon devices are a PiTA, especially on Windows. From device manager uninstall 'android' drivers while device is tethered in fastboot mode. Break/reestablish USB connection and guide Windows to the drivers downloaded from the OP (don't just accept the defaults). If no joy try a different USB port and/or cable. Often a reboot is required between attempts slowing iterations. Sometimes a host will refuse to connect while another works fine. Lots of trial and error; not much a developer can do about fastboot connectivity issues.
[Kindle Fire HDX 7" & 8.9" General] niksssss:
Thanks a lot guys ! I fixed the problem with the drivers but I got this error now:

Can safestap somehow be the problem ?
[Kindle Fire HDX 7" & 8.9" General] bigboolean:
Hey I'm running FireNexus (Aug 13 Build) on my HDX 7 "Thor" with SafeStrap version 4, should I be able to unlock my bootloader?
[Kindle Fire HDX 7" & 8.9" General] DB126:
Bootloader on any rooted 3rd gen HDX can now be unlocked. Tools to streamline the process are being updated. Suggest waiting until they become available (likely several weeks). You *may* need to revert to FireOS 4.5.2 and remove Safestrap recovery first. TBD. Stay tuned!
[Kindle Fire HDX 7" & 8.9" General] ONYXis:
no

did you dd aboot succesfully?
[Kindle Fire HDX 7" & 8.9" General] bigboolean:
Alright, it's definitely not a problem ... We'll have to find out next season!
[Kindle Fire HDX 7" & 8.9" General] niksssss:
I guess it was not succesful becouse I had to modify your command (instead of sdcard, emulated\0) and then it worked. For some reason it wouldnt find my files when I type the command with sdcard. I am now running cm13 and I am verry happy. Thanks for the help !
[Kindle Fire HDX 7" & 8.9" General] Pusspaws:
Hi Davey126, does this mean I should wait before running the script again, ? I dont relish the idea of having to revert back :? after we got me to where I am now... anyhoo will keep watching and reading...thankyou:)
[Kindle Fire HDX 7" & 8.9" General] DB126:
[MENTION=7707688]Pusspaws[/MENTION] - stick with Fire Nexus and Safestrap (a very fine combination) for now. At some point a revised version of 1-click will become available at which time you can try to unlock again. That's one of the reasons why I steered you towards Safestrap; a known path to success vs the bumpy road of an early adopter.
[Kindle Fire HDX 7" & 8.9" General] Udayakiran:
Yahoo! Thanks a lot! You da real MVP! (And of course everyone else who has supported this community like Davey126, ggow and the others).

I got my Kindle Apollo with 14.x.x.x, so I was unable to install CM13. It always felt like I was missing out, though I did enjoy using it as it is. I was thinking of finally going back to stock when I noticed this thread. Now I am running CM13! Granted, there were a few heart-stopping moments, like when the Kindle took a few seconds to boot up after installing recovery, but it was totally worth it. Thanks once again to everyone. You have breathed a new life into my Kindle.
[Kindle Fire HDX 7" & 8.9" General] Tomen8r:
I wanted to unlock the bootloader and found this thread. I was hoping to use the 1-click tool but, for some reason, it is only available for days at a time before links expire and it’s not available anymore. Not even previous versions. Weird. I rolled back to Fire OS 14.3.2.3.2 from the latest version pushed to 3rd generation 8.9 HDX tablets on Oct 7, 2016.

Anyway, I was nervous about the Python part. I downloaded/installed both Python27 and GMPY2. I am no developer!!! I followed the instructions and created an .unlock file. I incorrectly placed the ManuID and Serial numbers in the wrong spots, creating 2 incorrect .unlock files at first but eventually did it. That part was a piece of cake. I have basically zero Python experience. (FYI: 12 characters for code, x0MmSsssssss, where M is ManuID and S is Serial Number. Piece of cake). If I can do it, you can.

The issue was USB drivers. I could find the device when doing ADB Devices from the CMD prompt. I saw this: [IMG="CMD ADB Device"]https://dl.dropboxusercontent.com/u/47097341/FireRecognizedADB.PNG[/IMG]

I double checked in Device Manager and It showed up as properly, like this: [IMG="Kindle ADB"]https://dl.dropboxusercontent.com/u/47097341/FireADB.PNG[/IMG]

No problems.

I then did the fastboot reboot-bootloader command from the CMD prompt window. The Android ADB Interface in Device Manager above suddenly went from an ADB Interface to an unrecognized Android device like this: . [IMG="Android Other"]https://dl.dropboxusercontent.com/u/47097341/AndroidOtherFire.PNG[/IMG]

This happened over and over again. I tried every step listed in this thread. Twice. I can’t remember how many different ADB drivers (Google/Fire/PdaNet/WugFresh/Universal) and the same thing kept happening.

I then uninstalled all ADB drivers on my Win10 machine (WugFresh/Samsung/LG/Kindle/ect) through Uninstall Programs. I found another PdaNet driver on the PdaNet site (June Fabrics). I tried installing that while the fastboot reboot-bootloader screen was on my Kindle. I then rec’d a security warning stating the driver wasn’t signed. This was the only time I was prompted to install new ADB drivers. Win10 x64 wouldn’t let me install it. Finally, I rebooted into Windows (Hold Shift while selecting Restart) and was presented with options after Restart where I could disable the driver signing, changing it to me being prompted instead of always declining. It worked! I could see the commands working both on the Kindle screen and the CMD prompt window.

I finally unlocked it, took a few more steps and have CM13 running on my HDX 8.9!!! No more Fire OS (I got rid of Amazon Prime ($100 not worth it. 2 day deliveries turned into 4 day), don’t rent their movies nor listen to their music). I am loving this tablet! I hope this submission helps at least 1 person! Have fun!!
[Kindle Fire HDX 7" & 8.9" General] Beeko:
It's been months since I have checked on any threads for the ol Kindle and now I see the bootloader on any rooted firmware is unlockable....WOOT!!! Thanks [MENTION=5594063]ONYXis[/MENTION]. Now time to charge it and start compiling AICP for it.
[Kindle Fire HDX 7" & 8.9" General] sergtot:
AICP for Kindle is my dream :)
[Kindle Fire HDX 7" & 8.9" General] Beeko:
Well if all goes well tomorrow morning and this thread isn't a dream, AICP might be out tomorrow.
[Kindle Fire HDX 7" & 8.9" General] sergtot:
I have Kindle Fire HDX 7. I hope AICP will be for that device too.
[Kindle Fire HDX 7" & 8.9" General] Beeko:
Just wanted to check in to say it worked almost flawlessly. Installing python on windows was kind of a pain in the ass, but got the unlock file made. Only problem was fastboot for windows is terrible and never recognizes any devices for me, so when the last step came I just booted into my Linux distro and it worked just fine. Thanks again
[Kindle Fire HDX 7" & 8.9" General] sergtot:
Something went not well?
[Kindle Fire HDX 7" & 8.9" General] DB126:
It's out (here).
[Kindle Fire HDX 7" & 8.9" General] sergtot:
Excellent :) Thank you!
[Kindle Fire HDX 7" & 8.9" General] ginta_alexandru:
hi. I'm rocking the hdx 7 with cm11, rooted, for safestrap and i want to fully unlock my tablet. I get the "invalid syntax" error... Could any of you help me?

mandfid: 0x000045

serial: 0x097fd99c