yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" General] hiitsrudd:
Anyone got Linux commands for this process?
[Kindle Fire HDX 7" & 8.9" General] DB126:
See this thread if using Linux. Dramatically simplifies the process. You'll need to PM the OP for a copy if the script.
[Kindle Fire HDX 7" & 8.9" General] hiitsrudd:
Okay thx Davey, as soon as I get hold of a OTG cable I will get started on this task. So do you recommend ASOP rom?
[Kindle Fire HDX 7" & 8.9" General] DB126:
You do NOT need an OTG cable (hardware doesn't support OTG); standard USB cable is fine. Any of the Nougat based ROM are a fine choice for this device.
[Kindle Fire HDX 7" & 8.9" General] hiitsrudd:
Oh the cable is just to backup the POS stock rom before I wipe everything my friend:)
[Kindle Fire HDX 7" & 8.9" General] DB126:
A regular (high quality) USB cable will do; you will also need it to complete the bootloader unlock procedure and possibly some other low level tasks.

You can not fully backup the stock ROM on this device unless the bootloader is unlocked. OTG cable is useless; HDX is not your standard Android gizmo.
[Kindle Fire HDX 7" & 8.9" General] treypop:
deleted
[Kindle Fire HDX 7" & 8.9" General] treypop:
I'm very confused how do I get the 0xmmssssssss.unlock file
[Kindle Fire HDX 7" & 8.9" General] DB126:
Please do not quote/embed the entire OP as it clutters the thread and makes scrolling difficult on mobile device.

The unlock file is generated (by you) in the first step of the procedure. Pretty clearly marked that way; not sure how it got overlooked.

Unlocking an HDX bootloader is not for the faint of heart. Requires attention to detail and persistence as it rarely works on the first attempt. Be prepared for numerous connectivity issues that YOU will need to diagnose and resolve.

If you opt to proceed you will likely find this post beneficial as it includes all needed files.

If you have access to a mac or unix (not windows) host I strongly recommend considering the 1-click tool (here) as an alternative to manually unlocking.

Good luck.
[Kindle Fire HDX 7" & 8.9" General] thechosen88:
Hi guys,

i hope this thread is still on.

I kinda have a problem with the second step of the OP.

I unfortunately do not have a folder named msm_sdcc.1

When i navigate to dev/block/platform i only see one file named omap_hsmmc.1. Just to be sure and not to **** up my device i wanted to ask if this might just be a renaming due to some system update or so? behind omap_hsmmc.1 i see /by-name as well as /recovery behind

___________________________________________________________________________________________

i did it and it worked, for step 3 i need to get into fastboot.. but my device is not stuck as written because of old aboot?

can i manually get into fastboot?

when i try to push volume down and power button to turn on device, it stucks with the "kindle fire" screen.

otherwise it's working well.

i took all the last files from https://xdaforums.com/showpost.php?p=75284993&postcount=1006 and had no issues to get root with kingroot doing step 1 and 2.

Device i have is a HDX7 and it is on 4.5.5.3
[Kindle Fire HDX 7" & 8.9" General] DB126:
If you successfully executed step #2 (which seems doubtful) TWRP will be installed along with a vulnerable aboot. Verify by using <vol-up>+<power> to boot the device into recovery (should be twrp). If successful you can enter fastboot via the reboot menu.
[Kindle Fire HDX 7" & 8.9" General] thechosen88:
ok this doesnt work.. do i have to use the newest aboot or an older version?

Edit:

when i am trying the line

dd if=/sdcard/twrp_cubed.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery

which is one my device

dd if=/sdcard/twrp_cubed.img of=/dev/block/platform/omap_hsmmc.1/by-name/recovery

it gives me an Write Error because of too less storage

afterwards tell me the total number of bytes tranferred (actually i have 3.18GB free)
[Kindle Fire HDX 7" & 8.9" General] DB126:
Aboot versioning is irrelevant. You need to follow directions in the post that you quoted; no shortcuts or guessing.

https://xdaforums.com/showpost.php?p=74511668&postcount=896

A simple thread search would have surfaced this post. Take note of the last bullet.

If you have access to a Linux or Mac (OS X) environment strongly recommend you use the 1-click method/tool described here. You will need to PM the developer for a copy of the script; it is not available within the thread itself.
[Kindle Fire HDX 7" & 8.9" General] thechosen88:
I went exactly by the steps, 1 by 1.

aboot emmc_appsboot-13.3.2.3.2_user_323001720.mbn renamed to aboot_vuln.mbn

twrp thor-twrp-3.1.1-1.img renamed to twrp_cubed.img

I feel fine to do that stuff, and of course i already searched the forum.

only thing i didnt do accordingly to the steps was putting omap_hsmmc.1 instead msm_sdcc.1, which was asked once in that thread but didnt really get answered.

Unfortunately i dont own a mac neither do i have a linux machine

I would really appreciate your help to get it fixed.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Just saw your edit to this post. Have no idea what you're doing, what you've done or why that message is appearing. The free storage you reference has nothing to do with the area being written which is located in a completely different partition.

Me thinks you should step back before bricking your device. Spend a few hours with a favorite beverage reading through the thread picking up tid-bits along the way. Unfortunately, I do not have the time to perform detailed troubleshooting. Every situation is a little different. I have invested countless hours hand-holding only to be ghosted or told the device was toast due to some unscripted experiments gone bad. So yeah - a little jaded. Amazon devices are not your typical Android gizmo. Very sensitive; very intolerant. Enjoy rooted FireOS. It's not that bad once you remove the bloat.

Might identify a friend with a Mac or Linux rig so you can use the previously referenced 1-click script. Good luck on whatever path you choose.
[Kindle Fire HDX 7" & 8.9" General] PontPilatus:
Please, advise on the following problem.

Apollo 4.5.5.2, HDX 8.9

All drivers, adb installed. I ran get_code.bat and got unlock.code file. BUT. Only now I remembered that did not get root on this device. So I put some files to it using windows explorer and disconnected the Kindle from PC. From now on the screen is black. Looks like when I press ON button the device starts up, but nothing on screen. I tried to enter recovery and fastboot - black screen. I do have adb access thou and can transfer files to the device. So I will greatly appreciate any advice on how to proceed before I brick it :)

Just noted - when I press power button - the screen blinks for half-second and I see the wallpaper. Maybe it's just a GPU related problem? BTW, the Kindle is almost new, it stayed on the shelf for some time without use.
[Kindle Fire HDX 7" & 8.9" General] kkcheong:
OMG..... You know this is dangerous to root but you forget a step....lol
[Kindle Fire HDX 7" & 8.9" General] neoroid:
I have you exact same issue and my tablet was collecting dust for years now... I see that things moved on lately but still unable to find an appropriate guid on how to get out of Qualcomm HS-USB QDLoader 9008 (with black screen and no fastboot response) in 3rd Gen (Apollo) with all the required files... I downloaded tons and tons of stuff but didn't find my way through it... yet I hope I will be able to find a solution so I will tell you... otherwise I wish if someone like Davey126 write a separate post with all the files on how to recover the fastboot at least or maybe better get access to all the partitions and also the files for each one of them...

I know the information is available right now but there is so much confusion...
[Kindle Fire HDX 7" & 8.9" General] DB126:
Post history suggests you rolled back from FireOS v4.x to 3.2.8 but failed to block OTA updates. A few hours later an update rolled in yielding the situation you describe. Unfortunately, there is no known recovery from this type of brick.
[Kindle Fire HDX 7" & 8.9" General] hamak:
Currently stuck into fastboot.

Hi guys,

I create my unlock.code file following the instructions and reboot into fastboot then bulkmode.

Unfortunately, kindle says taht "Unlock code is NOT correct" and now I'm not able to exit fastboot.

Do you have any idea ?
[Kindle Fire HDX 7" & 8.9" General] anonymous93:
I have the Thor kindle and tried using the 1-click method and something went wrong. (Not sure what, I have 2 devices and it worked great for the first one). I found post 1006 that details the instructions for manually unlocking the bootloader on the kindle. I know I don't need to do all the steps, but I did complete step 1 and have all the files, even though I know I don't need them all. The kindle is in Bulk-Mode and when I plug it into my laptop (Windows) I get all the pop ups telling me to format (which I didn't do). I ran the WMIC codes and got the DiskIndex, but stopped there as I had a couple questions and wanted to verify I'm taking the correct steps before actually doing anything.

The next instruction is to run the following two commands:

Code:

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

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

This error message on the first command seems normal: "Error reading file: 87 The parameter is incorrect"

NB: make sure you run both commands! Without TWRP, you'll get a brick.

Wait a few minutes for good measure; then, keep holding Power + VolUp until your device enters TWRP.

Should the "aboot_vuln.mbn" match the file name that was extracted in step 1? The file I downloaded and extracted is named "emmc_appsboot-13.3.2.3.2_user_323001720.mbn"

And the same question for the second command. The command has "twrp_cubed.img" and the file I have is "thor_twrp-3.2.3-1.img"

And once this step is complete, I reboot using the power & volume + buttons. What's the chance of bricking the tablet at this point? (or is there another step I should be more worried about?) I just want to do everything I can to prevent bricking my device and want to ask whatever questions I need to so I can prevent that.

Edit: I found the answer, these two files DO need to be renamed, will do so before proceeding. Still, worried about bricking (probably would brick it if I wasn't worried about it!)
[Kindle Fire HDX 7" & 8.9" General] DB126:
⁴

Brick risk is low if you follow directions (appears you are) and double check everything before execution. Most upsets occur at the hands of impatient, native English speaking members whose skill portfolio apparently excludes basic literacy. Not to mention throwing caution to the wind. Good luck; you probably won't need it. :)
[Kindle Fire HDX 7" & 8.9" General] anonymous93:
Thanks for the vote of confidence!

I ran the two codes. The first one ran fine. Got the error message that's mentioned in the post. On the second one I got this error message which isn't mentioned, so I think somethings not right:

"Error opening output file: 53 The network path was not found"

I tried the code again to see if it just didn't work the first time. And it appears to have worked this time. No error code and got a message with records in & records out.

Next question: I'm not sure what to do next. I can boot into both TWRP and Fastboot. From this post (https://xdaforums.com/showpost.php?p=77147265&postcount=368) I need to install a temporary ROM in order to generate an unlock code. I did NOT do the "swipe to factory reset" before trying to install the ROM as I seem to remember that could brick the device (from years ago, before the bootloader could be unlocked)? Am I remembering incorrectly? If so I'll try again. If not, when I tried installing I get the error message "Can't install this package over newer build".
[Kindle Fire HDX 7" & 8.9" General] DB126:
I generally find self confidence/reliance improves when one works through these things independently using content in HDX forum threads as a guide.

A few tips:

- if you generated an unlock file in step #1 you can use that now to unlock the bootloader; otherwise you'll need to install a temporary ROM

- TWRP errors are usually addressed by wiping *ALL* partitions followed by a reboot

- you may need to boot (not flash/install) an older 2.8.x based TWRP image to install older ROMs
[Kindle Fire HDX 7" & 8.9" General] spruceyb:
Does anyone have a like to the aboot and twrp for Thor (Kindle Fire HDX 7)?

The G-Drive link in the OP isn't working.
[Kindle Fire HDX 7" & 8.9" General] anonymous93:
I didn't generate an unlock file in step #1 (I started in the middle of the steps, because i had started with the 1-click), so can't unlock at this point.

I wiped ALL partitions and rebooted. Tried to install the fire nexus rom. Still no go, same error.

I can't find a link to an older 2.8.x based TWRP image. Can anyone point me in the right direction? I did find a link somewhere, but the file had been removed. In the meantime, I'm still looking.

And I'm not sure how booting is different from flashing/installing for this older TWRP image.
[Kindle Fire HDX 7" & 8.9" General] DB126:
https://xdaforums.com/kindle-fire-h...ing-bootloader-firmware-t3463982/post75284993

---------- Post added at 03:40 AM ---------- Previous post was at 03:32 AM ----------

Although I could provide an older TWRP image it's probably better to look forward vs back. Try the following Nougat based ROM. You'll also need to download and flash a suitable GApps package; recommend arm/7.1/nano. Links are in the OP.

Do NOT flash Magisk, SuperSU or another root manager until the bootloader is unlocked. Attempting to so will result in a hung device on restart.

https://xdaforums.com/kindle-fire-hdx/orig-development/rom-aospextended-t3691138

Edit: If problems persist be sure to wipe Internal Storage. After doing so you will need to copy the ROM and GAaps images back to your device.
[Kindle Fire HDX 7" & 8.9" General] anonymous93:
THANK YOU!!! And thank you to everyone who helped develop this and get it out here for us to use. I got the bootloader unlocked and am now flashing AOSP, GAAPS, Magsik and everything else. Thanks!
[Kindle Fire HDX 7" & 8.9" General] A_Ferret:
I got my Kindle into Bulk Mode, however, my computer immediately crashed afterwards, and now my PC won't detect it at all. I can't find "QHSUSB_BULK" in my Device Manager, and ADB along with fast-boot won't work. I have checked, and I have a 3rd gen Kindle running 8.9. Is there possibly anything I can do? I'm a huge newbie when it comes to this.

Edit: I noticed that in the Device Manager, "Ports (COM &LPT)" there is a driver called "Qualcomm HS-USB QDLoader 9008"
[Kindle Fire HDX 7" & 8.9" General] DB126:
Sigh. Taking on this advanced project as a "newbie" was not a wise choice. Your issue likely resides on the Windows side. Tinker around with ports ; try a different machine and/or cable. Crappy USB cables are a frequent source of connectivity issues; even if a cable worked in the past it may fail in a different scenario. Your exclusive focus should be on regaining visibility to your device from some host, even if the driver is wrong. Nothing can be done without connectivity.
[Kindle Fire HDX 7" & 8.9" General] esteinberg:
Stand down! I kept trying and trying (having read many posts from the experts about this being finnicky), and finally got lucky with the device being recognized by windows. All the format disk prompts popped up (they never had before as the instructions had described) and the rest of the process went perfectly. Feel free to delete this post if it's clutter. Thanks!

I hit a wall with this process and would like to beg for advice. I had already done safestrap and CM11 on this HDX 7, fyi. Following ReichMann's instructions, everything went exactly correct up to the wmic commands. After running the two fastboot commands, the device screen did in fact go black (as expected), and Windows 10 started with an onslaught of popups asking what to do with a connected usb drive. Attempts to run the 3 wmic commands yielded "No Instance(s) Available". The windows 10 disk drive popups continued to appear and disappear faster than I could respond to them, and this went on for several minutes. Going to device manager, the device was now showing up as "Unknown USB Device (Set Address Failed)" or "Unknown USB Device (Port Reset Failed)" and I cannot seem to update the driver back to ADB Composite Interface (or anything else for that matter). Occasionally it will show up as "Other Devices / QHSUSB_BULK", but still cannot get it to take an adb driver. The device screen remains black. If I hold the power button for 10 seconds, the device will disappear and reappear in device manager, but still unable to get windows to let me choose a driver. It seems like the device is stuck powered on, and that I can reset it by holding the power button, but cannot entirely power it off. And no combination of power+volup/down gets me anything on the screen or any different result with windows device manager.

I saw that somebody else had a similar issue with the wmic commands that was remedied simply by trying on a different PC. Unfortunately I only have this one machine to work with currently.

Any ideas? Thanks...
[Kindle Fire HDX 7" & 8.9" General] Reverse-anastomosis:
I used draxie's utility and it worked well.
[Kindle Fire HDX 7" & 8.9" General] dubsides:
OMG you saved me!!!!

didn't know linux in dd needed those finally got it alive!!!

below is process i did (didn't even need to root, now have rooted los 14.1)

### from linux terminal in dir with code unlock scripts###
sudo sh get_code.sh ###slight chance have to do something diff to get code
adb reboot bootloader
#if you want to make sure in fastboot# fastboot devices
fastboot -i 0x1949 erase aboot
fastboot -i 0x1949 reboot
###hold power down goes into bulk mode
lsblk ###so you can see what the /dev/sdX is (one w 23 partitions)
sudo dd if=twrp.img of=/dev/sdX18 status=progress bs=64k
conv=notrunc oflag=direct
sudo dd if=aboot.mbn of=/dev/sdX6 status=progress bs=64k conv=notrunc oflag=direct
###rebooting goes to fastboot mode
fastboot -i 0x1949 flash unlock unlock.code
###hold power down till shutdown & then vol up/pwr for recovery
###install rom (gapps if needed)
###enjoy
[Kindle Fire HDX 7" & 8.9" General] zXiC:
I'm stuck at step 6 "6. Now we need to enter Bulk-Mode like the instruction in this thread"

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

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

all the diskindex I got were 1 so all I did was copy exactly the above like so

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

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

and I get Error native opening file: 0 the operation completed succesfully

Upon trying to reboot into TWRP I keep the black screen. The tablet seems to still be online and in bulk mode however as it shows up as Other devices QHSUSB_BULK.

I've scanned the forum and I have no clue what I can do here.

---------- Post added at 10:23 PM ---------- Previous post was at 10:07 PM ----------

I'm in the same situation as you. What did you mean by improper drivers? I'm stuck in bulk mode as well
[Kindle Fire HDX 7" & 8.9" General] alan081954:
I can not get past

5. 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.

I find other android but hoe do i change it? i tried to update drivers and that does not work.
[Kindle Fire HDX 7" & 8.9" General] DB126:
The drivers installed with Motorola Device Manager work great with 3rd gen HDX devices. They are not auto-detected in Windows; you'll have to switch over to the ADB composite driver in device manager. Not sure about OS X. Occasionally one or both devices have to be rebooted before being recognized.
[Kindle Fire HDX 7" & 8.9" General] zXiC:
Why is it when I "adb reboot bootloader" my tablet reboots into a black screen. There's no Fast Boot or anything showing.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Because your erased the bootloader (aboot) in the previous step. Your device has nothing to show because nothing is there. Not entirely accurate but good enough for the purpose of answering question.
[Kindle Fire HDX 7" & 8.9" General] Chrisrokc1:
Looks like I failed to get the correct unlock.code before getting to the unlock step. It won't unlock and I am in Fastboot Mode. Any fix for this?
[Kindle Fire HDX 7" & 8.9" General] DB126:
If you followed the procedure a vulnerable aboot and twrp should be installed. Flash AEX or Nexus but do not include a root manager (Magisk or SuperSU) as the device will likely loop with a locked bootloader. Once initialized use the temp ROM to secure a proper unlock code and then repeat bootloader unlock procedure.
[Kindle Fire HDX 7" & 8.9" General] Chrisrokc1:
Such as the one here? I see that many people use FlashFire to flash. I am not able to install this due to me not being able to get into the OS. If I hold the + it takes me to a screen with the Kindle Fire logo. If I hold the - it takes me to Fastboot. If I don't use the + OR - it takes me to Fastboot.

https://xdaforums.com/kindle-fire-hdx/orig-development/rom-fire-nexus-rom-ktu84q-t3322931
[Kindle Fire HDX 7" & 8.9" General] DB126:
Yep - that's the one. From fastboot try booting a valid twrp image via command:

fastboot boot <twrp.img>

If that doesn't work you still have the old aboot installed. Follow guidance in this post:

https://xdaforums.com/kindle-fire-h...ing-bootloader-firmware-t3463982/post75284993

Bootable twrp images for hdx: https://xdaforums.com/kindle-fire-hdx/development/recovery-twrp-3-0-0-0-t3322547
[Kindle Fire HDX 7" & 8.9" General] drfleckenstein:
unlock.bat not working

Hello guys,

I tried the procedure from Post #1006 and everything worked, but when I want to unlock with the batch-file I get the following messages(pictures).

I waited for about an hour, but nothing happened.

Drivers where working quite fine( fastboot--> ready...), but unlocking didn't work.

Any ideas?

edit:

got it working :)

Something with the fastboot drivers was messed up.

Tied it again on my other windows 7 machine and after installing and deinstalling different drivers it worked!

Best regards
[Kindle Fire HDX 7" & 8.9" General] _mac:
Hi,

Slight issue with my 2013 Kindle HDX 7 (Thor) Kindle Fire OS 4.5.5.3. :confused:

Attempted to follow the earlier steps https://xdaforums.com/showpost.php?p=75284993&postcount=1006 & got to step 7.

Device will not reboot into TWRP? Just a blank screen.

Windows CMD is not showing device listed.

When powering off/on, Windows recognizes the device with message "You need to format the disk in Drive "x" (x increases through several letters): before you can use it."

Am I stuffed?:eek:
[Kindle Fire HDX 7" & 8.9" General] draxie:
That sounds like you're still in bulk mode.

In other words, you did NOT get to step 7.

You either forgot to flash aboot, or flashed it

to the wrong partition. Go back to step 6,

and follow the instructions carefully.

Cut & paste works best...
[Kindle Fire HDX 7" & 8.9" General] _mac:
Thanks for the reply. I have gone back to step 6.

dd of=\\?\Device\HarddiskX\Partition6 if=aboot_vuln.mbn - The only 'mbn' file unzipped from 'aboot-13-thor.zip' is "emmc_appsboot-13.3.2.3.2_user_323001720.mbn

Is this the correct file?

I have just tried the above dd command & used "*" [tab] after the "if=". This auto completes with the "aboot-13-thor.zip".

Apologies but a little confused exactly what file to use?

I am also using the latest twrp named "thor_twrp-3.2.3-1.img" - Is this OK?

UPDATE: Took the plunge & flashed "emmc_appsboot-13.3.2.3.2_user_323001720.mbn" & "thor_twrp-3.2.3-1.img".

Completed steps 7 & 8 - received the green bootloader unlocked msg.

Trying to reboot into recovery but keep getting "Kindle fire [fastboot].... Ready." ??

:o:p ok... . I'm a plonker. Correct timing of power & vol up key & I'm in TWRP. Phew!!!

Thanks for your patience. :good: