yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" General] fade2black11:
Black screen! Need Help

Hi all,

I'm running CM11 (KitKat based ROM) and bootloader is Safestap. I followed step #2 in original post. After that I tried to reboot by command "adb reboot" and then I stucked with a Black Screen. I tried to reinstall Drivers_PdaNet successfully but my PC still doesn't recognize Kindle Fire driver.

I'm now very confusing. I'm trying to search in this thread to find a solution.

Could anyone please tell me what to do next? My goal is to unlock bootloader to install TWRP and Lineage 14. Thank you all!

---------- Post added at 10:38 AM ---------- Previous post was at 10:17 AM ----------

I've just checked the procedure and figured out that I downloaded wrong aboot file. I should have chosen aboot 13 for Thor, not 14. Could anyone please how I can fix this problem?
[Kindle Fire HDX 7" & 8.9" General] DB126:
Device is likely toast. Only hope is coaxing device 'bulk' mode which won't be easy given it's unresponsive behavior. Search the thread for additional detail.

Also suggest installing Motorola Device Manager here which includes composite USB drivers that work reliably with HDX devices. Need need to run MDM; just install it.
[Kindle Fire HDX 7" & 8.9" General] phoenX80:
Can someone direct me to the aboot files - the OP link is down. I found the twrp file but cant go on without the aboot.

thnx

btw the motorola setup is stuck in step 2 on my windows 10 laptop. so I it may not be suitable.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Search is your friend: https://xdaforums.com/showpost.php?p=75284993&postcount=1006

Never seen Moto setup hang. Suggests a Windows problem. I'd fix that first; might come back to bite you later.
[Kindle Fire HDX 7" & 8.9" General] phoenX80:
Well serach yielded like 200 results...

Anyways thnx I succeeded in not bricking my Thor. Have to go and change my underwear now :)
[Kindle Fire HDX 7" & 8.9" General] taquochuy_tb:
"2. Flash old vulnarable aboot and cubed twrp (just in case). Check that all these commands executed without errors. If you'll get one - read second post below. If your firmware <=13(14)3.2.3.2 skip this step.

Download aboot and twrp for Thor (Kindle Fire HDX 7) https://drive.google.com/open?id=0B2...GxXMUZPZTlZTUk or for Apollo (Kindle Fire HDX 8.9) - https://drive.google.com/open?id=0B2...zJDQkczNzRLaHM - and put this two files (twrp_cubed.img and aboot_vuln.mbn) into root of your kindle internal storage. "

Hi bro, the link download aboot and twrp for Thor (Kindle Fire HDX 7) dead :(, can you reup, please help me. Thanks for your help.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Seriously? Read the last two posts. Search before asking; most questions have been presented and answered multiple times.
[Kindle Fire HDX 7" & 8.9" General] taquochuy_tb:
Hi bro, i mean "Download aboot and twrp for Thor (Kindle Fire HDX 7) https://drive.google.com/open?id=0B2...GxXMUZPZTlZTUk", this link google drive i can't download, it said not found. So i can't do next step. Can you help me give me other link for download bro. Thank you so much
[Kindle Fire HDX 7" & 8.9" General] Mark2014:
REad this post:

https://xdaforums.com/kindle-fire-h...r-firmware-t3463982/post75284993#post75284993
[Kindle Fire HDX 7" & 8.9" General] taquochuy_tb:
Em chào bác, chắc bác cũng là người Việt Nam ạ? Em đọc bài đó nhưng mục 6. Now we need to enter Bulk-Mode like the instruction in this thread: Bulk Mode em không rõ lắm ạ, vì cảnh báo brick nên em ko dám thực hiện luôn bác ạ. Bác có msg hoặc zalo bác chia sẻ giúp em với ạ. Em cảm ơn bác.
[Kindle Fire HDX 7" & 8.9" General] Mark2014:
Any comments are not English will be deleted. Check your inbox.
[Kindle Fire HDX 7" & 8.9" General] fade2black11:
Motorola Universal Driver not working with Thor

Hi [MENTION=5488402]Davey126[/MENTION]

Thank you for your reply.

If I understand correctly my Thor is now in "bulk mode" with no "adb devices" and "fastboot devices" responding with a proper serial number. And the worse thing is that my PC refuses to recognise my Thor.

The first thing I should do is make my PC recognise my Thor in order to reinstall aboot and Twrp files to correct partition of my device, isn't it?

As recommendations from this thread, I tried to install latest Motorola Device Manager which includes Universal Driver. The installation finished successfully on my 2 different Windows 7 machines. However on my Windows Devices Manager still doesn't recognise my HDX 7. I confirmed its status by 2 commands "adb devices" and "fastboot devices". I'm running Windows 7 Professional.

Do you have any ideas how to solve this driver problems?:(:(:(
[Kindle Fire HDX 7" & 8.9" General] draxie:
TWRP?

If you also flashed TWRP, you may have a chance.

We had a case a while back with someone flashing

the wrong versions of BOTH aboot and TWRP and

the device still managed to show up in adb when

booted to TWRP. I was mighty surprised, since as
[MENTION=5488402]Davey126[/MENTION] told you, common wisdom is that the

device should be toast.

Try to use the VolUp + Power key combo to get into

recovery. The screen will likely remain black, but *if

you flashed TWRP*, with a bit of luck, you should be

able to connect via adb. If that's the case, use the bulk

mode procedure referenced by [MENTION=5488402]Davey126[/MENTION]. If not,

well... then you have a pretty paperweight...

---------- Post added at 12:50 ---------- Previous post was at 12:43 ----------

If you flashed a properly signed Amazon bootloader, your device is NOT

in bulk mode. It's simply executing that bootloader, which has trouble

booting your system partition (since it's both for the wrong device and

the wrong kernel version). As I said, try booting into recovery. The main

reason this may be at least partially successful is that the TWRP kernels

match the vulnerable bootloader. Since it's the wrong device, the display

drivers are not likely to work (unless you managed not to mess up the TWRP

version as you did the aboot version), but if you can get an adb prompt,

you should be set (i.e. you can force the device into bulk mode).
[Kindle Fire HDX 7" & 8.9" General] bunnahabhain:
Wow, great thank you. I finally got the permission to free my baby brothers fire hdx 7" from that ugly and unproductive Fire OS 4.5.5.3. I think a clea AEX will get some new life into this device.

I am not new here on XDA and flashed several ROMs on various devices. But Amazon devices seem to be a bit more tricky. I'll report back if it worked!

[MENTION=5828306]draxie[/MENTION]

Thank Your as well!
[Kindle Fire HDX 7" & 8.9" General] bunnahabhain:
Ok i am lost in one of the final steps:

Can i ignore the error mesages and keep on with the Guide or did i **** up?
[Kindle Fire HDX 7" & 8.9" General] draxie:
You're fine, but *WHY* PowerShell??

I don't understand the German error messages, but chances are

that PowerShell has an issue with the syntax. Can you try the

same in a normal "cmd" window? That's what the guide says

you should be using (i.e. not PowerShell), and that's the only

thing that was ever tested.

BTW, you haven't #$%*@ up (yet ;-P)
[Kindle Fire HDX 7" & 8.9" General] bunnahabhain:
I can't believe it, that did the trick! Thank you for your fast response dude!

You did a fantastic job, as well as [MENTION=5488402]Davey126[/MENTION], who`s always there to help from what i've read so far.

A lot of kind people in this subforum.

I managed to follow the above guide and everything works flawless. So much better than FireOS! Even better than my IPAD Mini Retina!

Thanks a bunch!!!
[Kindle Fire HDX 7" & 8.9" General] pinpad:
I just had a similar issue - my HDX 7 stuck in "bulk mode". But if you still see the partitions, there is hope.

My general advice is: use Linux. It's really easier - I have used Ubuntu 16.04, but any Linux should do.

In Linux, I just needed the 2 commands:

sudo dd if=emmc_appsboot-13.3.2.3.2_user_323001720.mbn of=/dev/sdX6 bs=64k conv=notrunc oflag=direct
sudo dd if=thor-twrp-3.1.1-1.img of=/dev/sdX18 bs=64k conv=notrunc oflag=direct

NOTE: on Linux, the parameters "bs=64k conv=notrunc oflag=direct" are really needed - I didn't know it, which gave me a sleepless night, trying to recover my "bricked" HDX. ;)

And to find the "X" to replace in /dev/sdX:

ls -la /dev/sd*

(there should be 23 partitions, from /dev/sdX1 to /dev/sdX23)

After this, you should be able to enter TWRP the normal way. (by holding power + Vol UP button for a while)

In case you want to use fastboot, or adb now (or the unlock.sh, for that matter), please make you have the right tools:

sudo apt-get install android-tools-adb android-tools-adbd android-tools-fastboot

BUT, on Windows, the wmic tool counts the partitions from 0, not from 1, which is misleading.

I initially did the mistake, fortunately I did backup /dev/sdX7 and /dev/sdX19 before flashing. (I assumed, that the partitions under Linux should be 7 and 19, since under windows they were said to be 6 and 18, but this was a wrong assumption - wmic counts from 0 indeed, but dd.exe from 1, so the numbers are 6 and 18, when using dd, no matter Windows or Linux)

If anyone needs the backups of partitions /dev/sdX7 and /dev/sdX19 (like I did), from FireOS 4.5.5.1 (Thor), please find the attachement.

Tip for beginners: after you successfully unlock the bootloader, as stated in the original post, you might need to use ADB sideload functionality, in order to flash the new ROM. In TWRP, go to the "Advanced" option, and enable ADB sideload, then use the command "adb sideload name_of_new_rom.zip" in order to flash the ROM.
[Kindle Fire HDX 7" & 8.9" General] iksel:
Confirmed!

The most easiest procedure via Linux following erasing aboot via FASTBOOT!!!

:good:
[Kindle Fire HDX 7" & 8.9" General] Praxxer1:
Noob question, but every time I try to click the link for the aboot.mbn and twrp.img file I get a "Not Found" error. I've tried multiple links from multiple pages. Does anyone have a working link?

Thank you in advance
[Kindle Fire HDX 7" & 8.9" General] unhappybirthday:
https://xdaforums.com/kindle-fire-h...ing-bootloader-firmware-t3463982/post75284993
[Kindle Fire HDX 7" & 8.9" General] Praxxer1:
Noob question, but I can't seem to open the Google Drive URL leading to the aboot and twrp file. I've tried multiple links from multiple posts and can't seem to find any working links. I managed to find a TWRP.img, but can't find the .mbn file for the vulnerable boot. Could someone please share a working link?

Thanks in advance.
[Kindle Fire HDX 7" & 8.9" General] fabische:
The first Google drive link in my posting just works fine and contains all files you will need.
[Kindle Fire HDX 7" & 8.9" General] Praxxer1:
Everything worked, except I realized I forgot to run the "get_code.bat" before following all of the subsequent steps...and now I can't boot into the stock ROM to go through the process again. Do you know of any workarounds?
[Kindle Fire HDX 7" & 8.9" General] DB126:
Can you boot into TWRP? If so install this ROM which will allow you to execute get_code.bat once booted. No need to register with Google, connect to WiFi, etc. Just get to the home screen. There are other workarounds; I find the above easy and reliable.
[Kindle Fire HDX 7" & 8.9" General] Praxxer1:
No, holding the power button + Vol UP will not allow me to boot to TWRP. In the instructions, it looks as though I can only boot to TWRP after I unlock. Is there any fastboot commands I can use to force a boot to TWRP?
[Kindle Fire HDX 7" & 8.9" General] DB126:
If directions were followed you could boot into TWRP regardless of unlock status. Try the following to validate if a vulnerable aboot was installed:

fastboot boot <twrp.img>

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

If not you'll need to start from 'bulk' mode using instructions found here.
[Kindle Fire HDX 7" & 8.9" General] Praxxer1:
I tried:

fastboot boot (my twrp img)

and I received "downloading 'boot.img' [OKAY] booting...

FAILED...locked hw"

So I redid the process you suggested:

fastboot -i 0x1949 erase aboot

fastboot -i 0x1949 reboot

wmic partition where index=22 get diskindex

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

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

All were on disk 1. I proceeded to the next step:

dd of=\\?\Device\Harddisk1\Partition6 if=aboot.mbn (I renamed it)

dd of=\\?\Device\Harddisk1\Partiton18 if=recovery3.img( my TWRP)

Then I tried fastboot boot <my twrp> and I receive the same response as before.

I receive the error message "Error read 87 The parameter is incorrect" but the author indicates that's a normal error message. I try to power on holding VolUP, but it goes directly to Fastboot. I've tried holding down the button combination for 40 seconds, and the boot just cycles back to fastboot in 10 second intervals.

Could I be using the wrong vulnerable bootloader (aboot-13-thor)? I used the .mbn file the author attached. I have a Kindle Fire HDX 7 (3rd generation)

Could I dd the original FireOS in bulk mode?
[Kindle Fire HDX 7" & 8.9" General] DB126:
Verify you are using correct aboot for your device (Apollo or Thor). Be offline for a bit; will check in later.
[Kindle Fire HDX 7" & 8.9" General] Praxxer1:
Yeah, it's Thor for sure.

I just read through some other posts....I may be soft bricked. Someone mentioned that the unlock.code won't work with 4.5.5.4...Am I SOL until someone leaks a new method to unlock the bootloader?

Is there a way to restore the original ROM? Maybe through a dd in bulk mode?
[Kindle Fire HDX 7" & 8.9" General] DB126:
Sigh; people will say anything. The version of FireOS previously on your device is irrelevant when utilizing 'bulk mode'. Unlock.code is unimportant at this juncture.

Reread the previously linked post. Understand and execute the commands carefully starting with erase aboot. This post may help. If you can't flash a vulnerable aboot (and preferably twrp) then maybe something is wrong with your device.

Been through this enough times to know user error/misunderstanding is the primary culprit.
[Kindle Fire HDX 7" & 8.9" General] Praxxer1:
I WAS ABLE TO BOOT INTO TWRP!! THANK YOU!

Any recommendation for ROM? I'm pretty open to whatever. Also, are there any dos and donts for flashing ROM? Any threads you could recommend would be appreciated.

Long story short, I have two motherboards. Both Kindle Fire HDX (3rd Gen). I was messing around with one, and the device went into Bulk mode and I had thought I bricked the device. So I found a cheap HDX7 (3rd gen) on a classifieds website, bought it and attempted to flash TWRP and aboot. The unlock.code I had generated was for the first HDX. I forgot to run the "get_code" for the 2nd HDX and it was stuck in fastboot mode, as I mentioned. I ran through the procedure you mentioned multiple times and I still could not boot into TWRP. I reswapped the motherboards from the other HDX7, ran the dd commands (because I thought I had bricked it, but was stuck in bulk mode because of improper drivers), ran the unlock I had previously generated and VIOLA, I unlocked, and booted into TWRP using "Fastboot boot <My TWRP> .img (The power + VolUP was not working for some reason).

Thank you again! :laugh:
[Kindle Fire HDX 7" & 8.9" General] DB126:
Great! All of the Android 7.x ROMs are stable and feature complete. I run AEX (AospExtended); Lineage 14.1 is probably the most popular. Don't forget a suitable GApps package (suggest Open GApps arm/7.1/nano) and the rooting tool of your choice (prefer SuperSU over Magisk). Enjoy!
[Kindle Fire HDX 7" & 8.9" General] Praxxer1:
I'll have to read up on GApps and SuperSU and how to flash and use them properly. I was planning on flashing Lineage 14.1. I have never head of AEX, but I'll make sure to check it out. Thanks again.
[Kindle Fire HDX 7" & 8.9" General] TheZenGuy:
Cuber not found-Noob

Can someone please help me with this?

I have been running CM-11 from the following post: https://xdaforums.com/kindle-fire-hdx/development/rom-cm-11-safestrap-20150628-unofficial-t3145547 . Now I wish to update to Nougat somehow.

I was following the procedure quoted above but when I try to run execute "get_code.bat" I get the error cannot stat 'cuber': No such file or directory. Unable to open /data/local/tmp/cuber: No such file or directory. 0x000011 0x5a98a672. /system/bin/sh: /data/local/tmp/cuber: not found. rm failed for /data/local/tmp/cuber, No such file or directory.

I tried to search for the issue but I am afraid I could not understand anything since I am new to this.

I also tried the python based unlock file generation but it also does not produce any unlock.img.

Can some kind soul please explain to me on how should I proceed? Thanks everyone!
[Kindle Fire HDX 7" & 8.9" General] TheZenGuy:
Got it! The original post did not mention that we need to copy 'cuber' file from the 'unlock' directory into the 'adb' folder. Rest works as instructed. Running Lineage OS 14.1 now. Thanks a lot to all the contributors of this thread!
[Kindle Fire HDX 7" & 8.9" General] Chatchum:
Do anybody have saved twrp and aboot files for Thor? Those GGDrive links have dead.
[Kindle Fire HDX 7" & 8.9" General] DB126:
A simple thread search would have yielded this post.
[Kindle Fire HDX 7" & 8.9" General] Chatchum:
I need some help

My device was dropped. Bootloop is happening. I can only access to fastboot. I've tried to use bulk mode and do all of the above, but bootloop still happening.
[Kindle Fire HDX 7" & 8.9" General] :
I followed your instructions to the T right up to step 5 and it seems that amazon may have removed the Android Adb Composite Driver from their installer, I first suspected this because when I selected the install location of the amazon driver in the device manager windows 10 couldn't find a driver to use. At first I thought I had done something wrong or installed it wrong somehow, so I uninstalled it and reinstalled the drivers twice to make sure. I then thought it could be a faulty installer file so I went to amazon's website and downloaded the installer directly at https://s3.amazonaws.com/android-sdk-manager/redist/kindle_fire_usb_driver.zip , but that didn't work either, and even checking manually using windows file explorer I couldn't find even a .dll file that matches the description in the instructions. So in conclusion I think amazon removed the file from their installer as of April 19th, the day I'm typing this.

Can anyone confirm this as the case? And is there a workaround such as sharing the drivers directly if anyone still has the driver on their harddrive?

Tl;dr, Can't find driver for step five even using files provided, it's possible amazon removed them from the installer/took down the download for that driver?

(First time poster here)
[Kindle Fire HDX 7" & 8.9" General] DB126:
Welcome to XDA. Getting 3rd gen HDX devices to communicate with Windows is always a challenge - both via ADB and Fastboot. Be aware you sometimes need to change drivers when switching modes which can be exceptionally frustrating since a reboot may also be needed. Recommend using Motorola drivers which have proven fairly reliable with this device. Download/install the Moto Device Manager from here. You don't need to run the manager after executing the installer. Simply tether your device and switch to the "Mot Composite ADB Interface" driver.

BTW - Amazon didn't remove anything from their installer; just your HDX being fussy. :)
[Kindle Fire HDX 7" & 8.9" General] Goliath12:
My HDX 8.9(Apollo) was stuck when I use cubed TWRP Recovery.

First of all, I always thanks for help.

I used a HDX 8.9(3rd) which is installed nexus rom by safestrap.

I saw the this script. and study procedure how unlock the bootloader.

First I test the OP #2, install the cubed TWRP and aboot, on adb driver on PC. and when I start the tablet with pressing power + vol up, TWRP works fine.

But unfortunately, I forgot the check unlock code before I flash the Recovery and aboot.

So, I tried to flash the kk-nexus rom or etc. Because I need to find the unlock code.

But when I flash the rom and reboot the system, It is stuck on "Kindle fire".

I am waiting your help. It would be highly appreciated.
[Kindle Fire HDX 7" & 8.9" General] iksel:
You did not study well, go back and study this.
[Kindle Fire HDX 7" & 8.9" General] Goliath12:
Thank you for reply.

Unfortunately, I flash the rom by TWRP which is flashed OP #2.

But.. "TWRP error 07" happened, so I tried to flash the other ROM.. That flash work was done. But It was stuck at boot screen "Kindle fire".

I tried to many practice but It so hard proceed.

Is there another solution or check point?

Thank you.
[Kindle Fire HDX 7" & 8.9" General] iksel:
What ROM, what TWRP?
[Kindle Fire HDX 7" & 8.9" General] DB126:
To install KK-Nexus (here) you will need to downgrade TWRP to v2.8.x.x (here). After unlocking you can update TWRP to the most recent build for this device (here).
[Kindle Fire HDX 7" & 8.9" General] Alex---1:
Guys can I have some help please?

I just picked up one of these cheap and thought I'd give this a go.

Everything was going fine till I got to the 'wmic partition where index=22 get diskindex' stage, I entered that into CMD and got a 'No Instance(s) Available.'

My device now appears as unrecognised in the device manager and windows gives a 'The last USB device you connected to this computer malfunctioned' message everytime I attempt something with it.

Really annoying as I followed everything to the letter and it was all going well, got into Fastboot, send the command, got a 'ready' on the device, then this happened. Device looks bricked to me :(

Any ideas? Thanks!
[Kindle Fire HDX 7" & 8.9" General] Alex---1:
Ok so here is where I am currently with this.

I tried the device on another PC and hurrah! It works. I've followed all of the steps and the code is accepted and my bootloader is now unlocked.

Next problem. I can not longer talk to the device via ADB and TWRP flashed fine but I can't get into it.

I tried reflashing TWRP using the following command - fastboot -i 0x1949 flash recovery apollo-twrp-3.1.1-1.img - Which worked fine, I still can't get into TWRP though?

The device doesn't boot into the Fire OS, just boots into fastboot all the time.

Where do I go from here?

Why does TWRP not work? Do I need root first?
[Kindle Fire HDX 7" & 8.9" General] draxie:
Control question: are you using the Power + VolUp combo to get into TWRP?

If yes, you could try flashing TWRP to the boot partition instead:

fastboot -i 0x1949 flash boot apollo-twrp-3.1.1-1.img

That way your Kindle should boot into TWRP even if your buttons don't work...
[Kindle Fire HDX 7" & 8.9" General] CZ Eddie:
Oh my gosh, I wish I'd just done this before spending a week reading various posts and trying to fight with KingRoot.

I finally stumbled across your post thanks to [MENTION=5488402]Davey126[/MENTION] pointing to it from another thread.

Bada-bing-bada-boom, all done.

I now have AOSP Extended ROM installed in less than 30 minutes. :good:

THANK YOU!!!!

quick note:

On my 3rd gen 4.5.5.3 8.9" HDX, enabling Developer options required tapping "Serial Number" rather than Device Name. :good:
[Kindle Fire HDX 7" & 8.9" General] arshileus:
I can't download aboot, because links are dead.

Who has new link for aboot?
[Kindle Fire HDX 7" & 8.9" General] DB126:
Search before asking a question that has been answered dozens of times. One of several sources liked for your convenience.

https://xdaforums.com/kindle-fire-h...ing-bootloader-firmware-t3463982/post75284993
[Kindle Fire HDX 7" & 8.9" General] arshileus:
I created Unlock code, than did step 2.

After that i clicked on unlock.bat, tablet reboots in fastboot showing only waiting for device.

I didn't know how manually select drivers. So, i stopped batch. After that kindle are stuck in fastboot mode. WHat to do? I cant reboot it normal mode.

Adb not showing kindle while "adb devices".

I can access to twrp recovery, but don't know hot to recover from this mode.

P.S In device manager there is warning on "Android". Now, i know that problem comes from lack of driver, so tablet don't connects pc while fastboot.

I have Windows 10, but what to do with driver?
[Kindle Fire HDX 7" & 8.9" General] arshileus:
5 step:

How to change Android to Fire Devices?