yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" General] draxie:
Got root

The result of the 'id' command makes it inescapably clear,

otherwise the last (and, possibly, only) character of the shell

prompt is normally '$' for non-root, and '#' for root.

BTW, your story checks out OK. I just wasn't aware that

the *wrong* bootloader is able to boot the *wrong* twrp

image... Of course, this gets confusing due to the black

screen and fastboot not working... GOOD TO KNOW!

[MENTION=5488402]Davey126[/MENTION]: might want to make a mental note...

Or, perhaps, you had encountered this before in your

substantial "support" experience.
[Kindle Fire HDX 7" & 8.9" General] DB126:
I have seen cases where the "wrong" TWRP image was flashed (typically Apollo on Thor) and successfully booted but UI was effectively useless due to button/touch screen misalignment. Easily remedied provided bootloader has been unlocked. Not sure I have 'observed' the situation painted here. Noted for future reference. :)
[Kindle Fire HDX 7" & 8.9" General] yepun:
Eureka, it works. I have send in the adb shell the correct aboot and twrp files and after a reboot the display was alive. This made it much easier to switch between fastboot and twrp.

Now the real horror began, installing a fastboot driver. I tried Win10, Win7, Ubuntu 17.10, Bodhi 4.3.1, but no chance. After a day of uncountable experiments, I took WinXP and it worked like a charm. I used the PdaNet driver and I saw a “Ready” on the display. It can be so easy, but no fastboot.exe on the WinXP System worked. I tried 7 different versions and some fastboot just crashed after start and with others the unlock.code could not be copied, the tablet showed “file offline”. The working fastboot version for XP is platform-tools-v23.1 und I saw the beautiful “Unlock code is correct”

Thanks for all the help, without you it would not have been possible.

Now I have to choose a working ROM, but this has to happen tomorrow, I need a bed!
[Kindle Fire HDX 7" & 8.9" General] DB126:
Congratulations!! As for ROMs my preference is AospExtended followed by Lineage 14.1 and Slim 7. That said, there are *no* bad choices among the dozen+ ROMs available for this device. Enjoy your liberated HDX!
[Kindle Fire HDX 7" & 8.9" General] D0netsk:
Hi there, I have and only have access to Mac OS. Could you please send me the 1-click unlocker? Thanks in advance.
[Kindle Fire HDX 7" & 8.9" General] draxie:
stuck...

I'd love to, but I made some changes, which need to be thoroughly tested

before I feel comfortable to share even a pre-release. Last time it took us

almost 2 hours with a helpful tester to get through some odd behavior in

testing 1-Click on their HDX.

Unfortunately, I'm stuck without a working development setup at the moment.

My power supply in my regular box died more than a year ago (and I *still* have

not managed to find time to revive it). I had to return the beefier loaner laptop

I was using lately. I'll first need to repair my PSU (or buy something new)...

With the end-of-the-year chaos starting to set in, I'm not quite sure when that

will happen. (On the other hand, there's a good chance that I get that loaner

laptop back over the holiday's; so, hopefully, I can send you something to test

before the new year, assuming you're still interested at that point...)
[Kindle Fire HDX 7" & 8.9" General] D0netsk:
Forget it, I've already got CM14 running on my Apollo. Thanks anyway!
[Kindle Fire HDX 7" & 8.9" General] kajito1995:
can't download Download aboot and twrp for Thor (Kindle Fire HDX 7)

Can you upload again aboot and twrp for Thor (Kindle Fire HDX 7), because link died, thanks
[Kindle Fire HDX 7" & 8.9" General] iksel:
As draxie says, SEARCH!!!
[Kindle Fire HDX 7" & 8.9" General] Bobkuwait:
Kindle HDX 8.9 3rd Gen To Full up Android

Hi,

I have the Kindle Fire HDX 8.9 3rd Generation with OS 4.5.5.3. Has anyone done a step-by-step guide on making this device a full up Android device? I've read several forum threads that send me off to numerous links where I download and install APK files, Rooting files, TWRP files and APS files. I still can't get my kindle fire to load the CM-14.1-20161224-NIGHTLY-apollo.zip. That I want as my OS. I just want a step by step process with any links all in one place. Help please...
[Kindle Fire HDX 7" & 8.9" General] DB126:
I responded to this question (twice) in a different thread. There is no step-by-step guide as each situation is different. I am currently assisting two other members with similar requests/devices and FireOS builds through the process of unlocking the bootloader which is a prerequisite to installing a custom ROM on 3rd Gen HDX devices. As previously mentioned you are welcome to following along in that thread (here).

Be forewarned unlocking the bootloader is not an easy nor exceptionally difficult process. But it does require a fair bit of reading, attention to detail, learning some terminology, installing various software, tolerance for setbacks, willingness to ask questions and acceptance that making even a minor mistake can effectively brick the device. All that said, many individuals have successfully navigated the labyrinth and are happily rocking a powerful Android device with the latest Nougat ROMs that will run circles around your Nook (not to mention most mobile phones).

Things to be aware of:

- HDX devices do not support external storage in any manner; what's on board is what you got; period

- No dynamic GPS navigation or LTE support ... even if your device claims to have those capabilities

- Bluetooth can be problematic; there are workarounds but attempting to pair on the first attempt can be a trying experience

- Not all compatible apps are shown in the Play Store; you may have to 'sideload' from a trustworthy 3rd party source/store

- Auto rotation can be problematic with some ROMs; there are workarounds if it becomes an annoyance
[Kindle Fire HDX 7" & 8.9" General] bobcat131:
The last OTA update stock ROM for the THOR is "update-kindle-13.4.5.5_user_455006120.bin". Is there an update. . . upHDX.zip available ?
[Kindle Fire HDX 7" & 8.9" General] DB126:
Not that I have seen. You can roll your own but it takes a little time to get accustomed to the skeleton tool that performs this task. Most folks who have root have opted for a custom ROM; FireOS v4 doesn't get much love.
[Kindle Fire HDX 7" & 8.9" General] bobcat131:
"Roll your own" sounds like a way we use to smoke them. LOL. Unfortunately there aren't any instructions with the upHDX tool. One must be a Python geek to wade trough it I guess. I have the time but not the skills. Maybe someone out there can repack for us. :o
[Kindle Fire HDX 7" & 8.9" General] draxie:
Instructions? (-;

Actually, upHDX is a _bash_ script, although it does depend on

python (for fake-signing boot.img) and zip/unzip to pack/unpack

the OTA archive. And, if you run it without arguments it should

print its usage info. On a Linux box, that should more than suffice,

but you'll find an example invocation here if you need it spelled out.

On Windows, I tested it only in Cygwin (with python and zip/unzip

installed alongside with bash). I have no idea if it plays well with

what I hear is "native" bash in newer versions of Windows.

If you need support, you could post your issue/question in the

original thread...
[Kindle Fire HDX 7" & 8.9" General] he_stheone64:
Hi [MENTION=5488402]Davey126[/MENTION] - I haven`t used the Apollo device since ages, since I did give it away to my father in law. Since the old CM version did not work well anymore, I decided to help and unlock. I followed this thread and also flashed latest TWRP incl. aboot and got the "unlock code is correct" message. Unfortunately I can now only boot into fastboot or in recovery (when using vol up).

Any ideas what went wrong and how I can recover from there. As mentioned I did not use this device since 2 years, so I`m basically starting again from scratch with that device. Thx for you help.

Edit: Fixed it by sideloading a new ROM.
[Kindle Fire HDX 7" & 8.9" General] notjoken958:
[MENTION=5488402]Davey126[/MENTION] is one of the best contributors on here. That said, be patient, read, take a step, read, write it down, read. these are great tablets that are easy to brick, follow steps precisely.
[Kindle Fire HDX 7" & 8.9" General] CeticHax:
Links?

Google Drive aboot and TWRP links (both thor and apollo) don't work. 404 not found. Anyone have mirrors?
[Kindle Fire HDX 7" & 8.9" General] DB126:
https://xdaforums.com/kindle-fire-h...ing-bootloader-firmware-t3463982/post74505643
[Kindle Fire HDX 7" & 8.9" General] renzoku:
Managed to flash old vulnarable aboot & twrp with success but the problem is my device will boot into fastboot only. Cannot boot into system anymore. However i can boot into twrp. Mine is thor with 4.5.2.
[Kindle Fire HDX 7" & 8.9" General] iksel:
Just download adequate ROM for your device and install via TWRP!

;)
[Kindle Fire HDX 7" & 8.9" General] renzoku:
But i have yet to unlock bootloader :(
[Kindle Fire HDX 7" & 8.9" General] iksel:
If you managed to flash old vulnerable aboot, you're done!
[Kindle Fire HDX 7" & 8.9" General] DB126:
Not true - HDX bootloader must be unlocked to fully support non-KitKat based ROMs. Temporarily install this ROM and then complete code generation (step #1) and unlock (step #3).
[Kindle Fire HDX 7" & 8.9" General] iksel:
My mistake, sorry, I was fast last time when I did it on two Kindles, but for unlock procedures I did not install any Temporary ROMs...

:angel:
[Kindle Fire HDX 7" & 8.9" General] renzoku:
Nevermind. Already sorted out the problem. I run the unlock.bat while in fastboot mode and voila the bootloader is unlocked. Flashed AEX rom and now it boot again ;)
[Kindle Fire HDX 7" & 8.9" General] Dragonbark:
I have an HDX7, on 4.5.5.3. I've rooted it with Kingroot, and I want to unlock the bootloader, wipe it (to be rid of kingroot malware), and I'm open to suggestions for which rom to install from there. I'm using draxie's unlock tool, and updated to the latest currrent android sdk tool kit with adb and fastboot. I ran the getcode.bat, and it retrieves 1 file. I then ran unlock.bat- that sends my tablet into fastboot, (had to swap cord, and reinstall drivers) finally got it to attempt an unlock, and it fails. I've tried it 4 times over now, and same results: Unlock code is NOT correct.

Is there a way to manually produce the unlock code?

[IMG="Unlock Code is NOT correct"]https://imgur.com/a/2ra7z[/IMG]
[Kindle Fire HDX 7" & 8.9" General] Yousucks2:
Before run unlock bat, you need send aboot and TWRP to your kindle through ADB commands, thats why you cannot finish the procedure

Just download both files ( always check you re donwloading the correct files, beause exist two versions of aboot and twrp ,one for Thor=HDX 7 and other for Apollo= HDX 8.9)

And restart the process

Best ROM? AOSP Nougat 7.1.2 rans very good on my HDX 7 ,saddly i got some issues with two "online second hand buy- sell " apps and i switch again to Fire OS until developers update their apps (probably thats the cause of the crashes because play sotre shows "your device isnt optimized for this app) ,

Youtube, social media and browsing performance its excellent , even i run PSP Emulator without issue.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Appears you neglected to run step #2 of the unlock procedure (see OP). Note the links in that step are dead; you'll fine refreshed links here.
[Kindle Fire HDX 7" & 8.9" General] Dragonbark:
Indeed I did! After I read Draxie's post, and it doesn't list aboot or twrp in the prereq's, I got confused. I did try to download them anyway, but as you said, the link is broken. I've spent hours combing these forums trying to figure out the terminology and actual steps I need to take. Thank you for the updated link.
[Kindle Fire HDX 7" & 8.9" General] DeWir3:
Sorry if I am asking stuff, that's already been answered. I just couldn't find a guide for

unlocking

and

rooting

a Kindle Fire HDX 7 on FW

4.5.5.3

and I want to make sure, I haven't completely misunderstood what I have read so far. So please tell me if this would indeed work:

1. Enable adb on the tablet and use

adb reboot bootloader

to boot into fastboot.

2. Run

fastboot -i 0x1949 erase aboot
fastboot -i 0x1949 reboot

Also through adb I guess?

3.

Open a command window (cmd) and run the following commands:

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

to get the DiskIndex

4. Download TWRP and aboot from here and this http://www.chrysocome.net/downloads/dd-0.5.zip.

5. In the folder with the extracted dd.exe, run

dd of=\\?\Device\Harddisk[COLOR="Red"]X[/COLOR]\Partition6 if=aboot_vuln.mbn
dd of=\\?\Device\Harddisk[COLOR="Red"]X[/COLOR]\Partition18 if=twrp_cubed.img

I assume twrp_cubed.img and aboot_vuln.mbn would need to be in the folder with dd.exe as well in this case?

6. Boot into TWRP and install a Custom ROM.

Would that work?
[Kindle Fire HDX 7" & 8.9" General] draxie:
More or less...

Given the amount of confusion displayed, I think it's wise to to doublecheck. (-;

The procedure you described doesn't need root access, and your new ROM will be

easily rooted via TWRP; so, I wouldn't worry about "

rooting

".

What you did seem to forget on the other hand is "

unlocking

".

Without that the choice of ROM:s you can install will be severely limited...

Since you are starting with a fully functional device with adb,

I'd strongly suggest to run 'get_code.bat' first. That will make

unlocking much easier.

BTW, you'll need a 'cmd' window for this step as well.

Same for step #2.

No, it's not through adb. You do see the command, right?

Hint: it starts with 'f' (and ends with 'astboot'). If you're on

Windows (which is very likely given that you want to use

dd.exe and DiskIndex), you have a fair chance of having to

deal with driver hell to get fastboot to talk to your Kindle.

That sounds right.

When you do this, make sure to pick the right bootloader (aboot) for your device

(13 - Thor, 14 - Apollo), and you may want to rename them to match the command

in the next step. (Alternatively, modify the command to match the names of the

files you downloaded.)

Right; and, keep in mind the comment above about naming...

I'd suggest a slight detour before installing a custom ROM: unlock the bootloader! (-;

For this to work, you would've had to take my advice and get your unlock code using

'get_code.bat' before you embarked on the rest of the journey. If you did that, you

should select Reboot, then Bootloader in TWRP to enter fastboot, and copy & paste

the fastboot line from 'unlock.bat' to your command window. (Alternatively, comment

out the adb line [type 'rem ' just before 'adb'], and run 'unlock.bat'.) You should watch

your device for (hopefully) some green text that confirms the successful unlock.

THEN, boot back into TWRP and install *any* ROM you like (for this device, of course).

I'm happy with AEX, OpenGapps pico, and Magisk on my WiFi-only devices. For 4G,

I still haven't found anything better than a castrated(upHDX) FireOS.

More or less, yes...
[Kindle Fire HDX 7" & 8.9" General] DeWir3:
Thank you so much!! It worked and it's beautiful! I chose AEX and it looks good so far.

Yeah, I used Windows. Linux might have been easier as it is my regular OS anyway, but the documentation for Windows seemed more complete. The driver installation worked fine though. I hadn't connected the tablet under Windows before and just installed the proper drivers before connecting and then did as you described here after booting to fastboot.

Anyway, it worked. Thanks again for the help!
[Kindle Fire HDX 7" & 8.9" General] cmonty14:
Unlock bootloader & TWRP recovery installation

Hi!

It's not fully clear about the steps that must be executed in order to

unlock bootloader

install TWRP recovery

The device has installed 13.3.2.5_user_325001120.

I have downloaded

thor-twrp-3.1.1-1.img

emmc_appsboot-13.3.2.3.2_user_323001720.mbn

open_gapps-arm-7.1-pico-20171230.zip

AospExtended-v4.6-20171119-1253-UNOFFICIAL.zip

Magisk-v15.0.zip

I put Magisk (=SU), Gapps and Aosp Image to /sdcard.

What are the next steps?

Should I put TWRP and aboot on root directory?

What steps must be executed in fastboot mode?

Can this all work on Linux w/o creating the unlock file?

I cannot get root permission in adb shell, though.

thomas@pc8-nb:~/Hardware/Amazon/thor/unlock$ adb shell
shell@android:/ $ su
/system/bin/sh: su: not found
127|shell@android:/ $

THX
[Kindle Fire HDX 7" & 8.9" General] DB126:
Stop trying to roll your own solution. Immediate goal is to install a vulnerable bootloader (aboot) and custom recovery (TWRP). Follow the guidance in the OP augmented by links I provided in the 1-click thread. If device is not rooted use Towelroot which is effective against FireOS 13.3.2.5.

Initially you only need to follow step #2 which addresses the above tasks. I suggest executing step #1 in advance and saving the output file off device as it will make life easier should something go wrong. Once complete you can move forward with unlocking bootloader (step #3).
[Kindle Fire HDX 7" & 8.9" General] cmonty14:
Well, if I understand this correctly I have to execute the following steps:

Create unlock file

Install towelroot apk on device in order to gain root (push apk to /sdcard/ and install with File Manager App)

Flash aboot and twrp in adb shell as root

Flash unlock file

Boot into recovery (TWRP)

Flash AOSP image

(Optional) Install Gapps and Magisk (SU manager)

Did I miss anything?
[Kindle Fire HDX 7" & 8.9" General] DB126:
Those are the fundamental steps is the correct sequence. Note Towelroot will need network access to complete the rooting process. 30-60 sec at most; too little time for an OTA update to sneak in.
[Kindle Fire HDX 7" & 8.9" General] cmonty14:
Everything works like charm now.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Excellent! Enjoy your liberated HDX.
[Kindle Fire HDX 7" & 8.9" General] sandneil58:
Fire HDX 2013 - stuck in fastboot mode

Hi All, hope this is in the right place!

I have a fire hdx stuck in fastboot mode and it's not rooted.

I've been trying unsuccessfully to retrieve

cat /sys/block/mmcblk0/device/manfid

cat /sys/block/mmcblk0/device/serial

Using fastboot to create an unlock file without success.

Can anyone help?

Many thanks

Neil
[Kindle Fire HDX 7" & 8.9" General] DB126:
Can't get those values from fastboot. You will need to place the device in 'bulk' mode, install (flash) a vulnerable bootloader & recovery, boot into TWRP, flash the ROM of your choice and then use the tool in the OP to capture manfid/serial and unlock the bootloader. That quick summary doesn't do justice to the amount of work involved. Unfortunately, I am traveling over the next few days with no opportunity to scare up links and provide guidance for the inevitable obstacles. You can either wait a few days or look through this thread and other recent threads for further assistance. Possible another member may jump in to help. Good luck.
[Kindle Fire HDX 7" & 8.9" General] Joe199799:
hard bricked it lol whoops
[Kindle Fire HDX 7" & 8.9" General] sandneil58:
Thanks for quick reply will investigate bulk mode and let you know the outcome!

Neil
[Kindle Fire HDX 7" & 8.9" General] sandneil58:
Can anyone help with advice on how to get hdx7 into bulk mode? It's appearing in fastboot devices and recognised in windows as an android adb device (though adb does not work). I have installed the qualcomm drivers as well.

Thanks

Neil
[Kindle Fire HDX 7" & 8.9" General] draxie:
1-Click? (-;

If you have access to a Mac or Linux box, you could try

if the latest pre-release version of 1-Click works for you.

If you're stuck on Windows, you could wait a few days

(or weeks, depending on how busy life gets around here)

until I have the 1-Click "live environment" ready (a bootable

CD/USB image). If you're in a hurry or just like a challenge

here you have instructions for bulk mode (you start from

fastboot; so, be sure to read all the way to the bottom):

https://xdaforums.com/kindle-fire-h...r-firmware-t3463982/post71430759#post71430759
[Kindle Fire HDX 7" & 8.9" General] sandneil58:
Thanks Draxie, I'm windows so will try the link you sent and report back. I could run linux in a vm if that doesn't work.

:good:Appreciate the fast reply.

Neil
[Kindle Fire HDX 7" & 8.9" General] draxie:
Good luck!

Linux in a VM won't cut it.

1-Click is a VM already.

You'd need a Linux host.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Quite a few have gotten through the linked instructions. They look daunting at first. Suggest printing and carefully reading the entire post a few times. Really isn't that tough once you get past the ominous looking strings.
[Kindle Fire HDX 7" & 8.9" General] sandneil58:
Hi Draxie, is this the right place to start?

fastboot -i 0x1949 erase aboot

fastboot -i 0x1949 reboot

(Aboot erase failed/fastboot reboot completed)

Thanks
[Kindle Fire HDX 7" & 8.9" General] draxie:
ODD....

That _would_ be the right place, yes;

BUT: if erase failed, then you won't get

into bulk mode...

Can you try again and share a screenshot?
[Kindle Fire HDX 7" & 8.9" General] sandneil58:
screenshot fastboot aboot

Screenshot attached - one from command prompt and one from kindle
[Kindle Fire HDX 7" & 8.9" General] draxie:
Platform-tools version?

Thanks! That's a lot of chatter for erase....

On my HDX I see only these 3 lines:

[COLOR="White"]getvar:partition-type:aboot...[/COLOR][COLOR="Lime"]Ok.[/COLOR]
[COLOR="White"]erase:aboot...[/COLOR][COLOR="Lime"]Ok.[/COLOR]
[COLOR="White"]Ready.[/COLOR]

I'm wondering if your platform-tools are newer or older...

In any case, fastboot certainly doesn't seem to work the same way...

I couldn't get the fastboot command to spit out a version string,

but my adb says 1.0.32 ('adb version' is the command, just in case).

BTW, I noticed that you didn't actually need to pass the vendorID for

'fastboot devices' to work. You _could_ try that erase command also

*without* '-i 0x1949'... Maybe that makes a difference...
[Kindle Fire HDX 7" & 8.9" General] sandneil58:
Thanks - without the -i it was the same error. My fastboot.exe is dated 16th December 2016 and 806912k in size - which version are you using?
[Kindle Fire HDX 7" & 8.9" General] draxie:
1.0.32

I'm on Linux; so, that kind of comparison would be meaningless.

That's why I suggested that you run 'adb version'... Usually, adb

and fastboot are distributed together in a 'platform-tools' package.
[Kindle Fire HDX 7" & 8.9" General] DB126:
If on Windows grab Minimal fastboot and ADB from this thread: https://xdaforums.com/showthread.php?t=2317790
[Kindle Fire HDX 7" & 8.9" General] draxie:
Just in case....

And, just in case that doesn't work (although I think it should),

you could also give the latest version from Google a try...

https://developer.android.com/studio/releases/platform-tools.html#download
[Kindle Fire HDX 7" & 8.9" General] sandneil58:
I've just tried a later fastboot (June17) with the same result. I was on adb 32, but the fastboot update upgraded me to 39
[Kindle Fire HDX 7" & 8.9" General] draxie:
Right device? (-;

I was checking your older posts in trying to gather more info

about your device or how you got it stuck in fastboot, and the

very first post I found (from 2016 November) talks about an HD 7

*not* an HDX 7. Was that a different device?

If yes, can you say more about how you got stuck in fastboot?

If no, then I'm afraid I cannot help you...
[Kindle Fire HDX 7" & 8.9" General] sandneil58:
It's a friends hdx that I'm trying to fix - it was given to me before christmas stuck in fastboot. That old post from November was another device I had with a different problem