yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" General] ossizwei:
Unlocking Thor with 4.5.5.3

I tried first the 1-Click method on my Ubuntu host maschine. But didn't work for me, because not all files downloaded in VirtualBox. Maybe the reason is, that the download link for "aboot" an google is no longer aviable (error 404).

So i go forward with this unlock advise https://xdaforums.com/showpost.php?p=75284993&postcount=1006

That worked for me. But i was a little confused exactly how bootloader unlock works. I get the unlock code with "get_code.bat". then I want to verify, that i got the right code. So do an "unlock.bat" and in fastboot mode. It Tells me "not unlocked, wrong code".

Thought by myself its not possible for unlock, cause i had to flash downloaded aboot. But i am little nervous. Do the next steps:

Quote:

Code:

fastboot -i 0x1949 erase aboot

fastboot -i 0x1949 reboot

Quote:

NB: this will be scary as you'll lose 'fastboot' and only see a black screen.

Your device should reboot into "bulk mode" resulting in a number of pop-up

windows asking to format all the partitions that get exposed (at least, on Windows 10).

DO NOT format anything! Follow the above instructions instead.

Quote:

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

Code:

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

All three of the above commands should return the same DiskIndex. Let's call that index X.

In the command window, run the following two commands with the right aboot&twrp files for your device

(you will need to substitute the DiskIndex X from above in place of the X):

On my Tablet the result was always 1. So i go to the next step:

dd of=\\?\Device\HarddiskX\Partition6 if=aboot_vuln.mbn (renamed "emmc_appsboot-13.3.2.3.2_user_323001720.mbn" to "aboot_vuln.mbn")

dd of=\\?\Device\HarddiskX\Partition18 if=twrp_cubed.img (renamed "thor-twrp-3.1.1-1.img" to "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.

I was happy to boot in TWRP. Thenn i do the last step:

7. When done, hold down the power button until it reboots. Now you will be at Bootloader with [Fastboot] sign on the screen. Change the drive in Device-Manager again if needed.

In Windows 10 it was always needed for me to change the driver of the device to Fire driver.

In next step i typed "unlock.bat" in Windows cmd shell. I get a green sign that unlocking works

So thanks to all the developers that maked unlocking possible
[Kindle Fire HDX 7" & 8.9" General] rodder20:
(twrp_cubed.img and aboot_vuln.mbn)

The following download on Google Drive is now unavailable, can you please upload again?

Thanks in advance,

==============================================

Download aboot and twrp for Apollo (Kindle Fire HDX 8.9) - ***hxxx google drive link**** - and put this two files (twrp_cubed.img and aboot_vuln.mbn)
[Kindle Fire HDX 7" & 8.9" General] DB126:
OP is long gone. Use files and procedures from this post: https://xdaforums.com/kindle-fire-h...ing-bootloader-firmware-t3463982/post75284993
[Kindle Fire HDX 7" & 8.9" General] rodder20:
My HDX 8.9 has been unlocked, and installed AospExtended-v4.6 with success

Thanks a lot for your help !!

My HDX 8.9 has been unlocked, and installed AospExtended-v4.6 with success,

Again, thanks and much appreciated,
[Kindle Fire HDX 7" & 8.9" General] WSADKeysGaming:
cannot stat 'cuber': No such file or directory

I fixed my original problem by myself, but running get_code gets stuck:

C:\Users\Me\Downloads\zips\adb-setup-1.4.3>cd /d C:\Users\Me\Downloads\zips\adb-setup-1.4.3\

C:\Users\Me\Downloads\zips\adb-setup-1.4.3>set dir=/data/local/tmp

C:\Users\Me\Downloads\zips\adb-setup-1.4.3>adb push cuber /data/local/tmp

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

I've been sitting here for 20 minutes and there is no more output.
[Kindle Fire HDX 7" & 8.9" General] yliang_hdx7:
Bricked my tablet: can't get into TWRP recovery and locked bootloader

I followed the steps to put aboot_vuln and twrp_cubed to the right partition. However, it won't enter TWRP recovery. What's worse, I forgot to generate the unlock.code before I erase aboot. Currently, I stuck on fastboot with a locked bootloader. Is there any way to unlock the bootloader? I don't know the manfid and serialno for my device. I tried to connect it to a linux PC but it just won't be mounted. Any one has any idea? Thanks in advance.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Your device is recoverable but it will take some effort. Might try 1-click first.

https://xdaforums.com/kindle-fire-hdx/general/multi-platform-1-click-bootloader-t3241014

Kinda important to read, understand and execute instructions properly without skipping/forgetting steps. Especially on fussy Amazon giMos. If 1-click does not do the trick you'll need to decide if the effort researching difficult solutions is worth the benefit. HDX devices is pretty cheap on auction sites. Might be easier to start fresh.
[Kindle Fire HDX 7" & 8.9" General] yliang_hdx7:
Solved by using the latest TWRP

Thank you! I was able to fix my tablet using a more updated TWRP.
[Kindle Fire HDX 7" & 8.9" General] arshileus:
while "adb reboot bootloader" it doesn't stay in fastboot mode, it restarts normally.

What's the problem?
[Kindle Fire HDX 7" & 8.9" General] spiderplant0:
Hi, thanks for the guide.

What did you mean by: 'go to Device-Manager and change driver in "Other Android" to "Fire Devices - Android Adb Composite Driver" '?

I get the kindle into Fastboot mode then,

In device manager I can see: Other Devices - Android (with a little yellow warning triangle).

If I go: Right-mouse-click > update driver > Browse Computer for driver > Search in this location: C:\Program Files (x86)\Amazon.com\Fire_Devices\Drivers

I get: "Windows could not find drivers for your device".

I also tried uninstalling the driver, re-plugging it in, and letting windows reinstall the driver.

I'm on windows 10, Kindle Fire HDX 7" 3rd Gen OS 4.5.5.1.
[Kindle Fire HDX 7" & 8.9" General] DB126:
While I could directly answer the question it would be better if you discovered the solution on your own using the excellent guidance and pics provided in this thread. Failing that you can try 1-click if you have access to a Linux or OS X (Mac) host. The latter is by far the simplest and most reliable method. Good luck.
[Kindle Fire HDX 7" & 8.9" General] spiderplant0:
Thanks Davey, (though your reply was a bit cryptic! :) Anyway, I decided to abandon this thread and try your suggestion of using gwardsc65's guide - much easier. Worked perfectly. ( I had tried several guides but they all ended up jumping to other posts (going down the rabbit hole), and dead download links).
[Kindle Fire HDX 7" & 8.9" General] DB126:
Cryptic by design. Assumed some valuable learnings were had while exploring. Exactly as intended. :good:
[Kindle Fire HDX 7" & 8.9" General] spiderplant0:
No you dont understand, previous to my initial post I had explored so many different posts on how to flash the kindle. Both on Windows and Linux. None seemed to work. Outdated instructions, endless trawling through comments to try and find the correction, links to other posts that link to more posts with wrong models, dead download links, amazon updates to thwart us.... Very frustrating - was close to giving up. Dont mean to be rude, but your cryptic answer fell into that same area. So unless your 'learnings' intent is "Dont try to hack your kindle - it will reduce you to tears", a direct answer (like where you pointed to the quality method by gwardsc65) is far more helpfull. That is the point of these forums after all.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Sorry for your unfavorable past experiences. But indeed I provided direct links to two of the best resources on this forum for rooting/unlocking on my first response (actually, your first XDA post in 5+ years; 11 overall). If you were hoping for a little more spoon feeding it won't come from me. Please don't attempt to school me on how XDA is suppose to work.
[Kindle Fire HDX 7" & 8.9" General] jeffersonx:
I forgot the step with generating of the unlock code and now I can only boot into fastboot mode but am not able to boot twrp from here as the bootloader is still locked. I have a 7 HDX Thor with safestrap. When I hold vol+ and pwr I see the kindle logo but it doesnt boot and adb is not working. Normal boot is fastboot now. What can I do now? Can I boot my old system somehow or is any image working from fastboot with locked bootloader?
[Kindle Fire HDX 7" & 8.9" General] DB126:
Installing TWRP does not require the bootloader to be unlocked but can only be done on a 'vulnerable' bootloader that can be exploited. Sounds like your device still has a stock bootloader and also lost the ability to boot Safestrap.

Given current status of the device your best option IMHO is use [MENTION=5828306]draxie[/MENTION]'s 1-click tool to put things right:

https://xdaforums.com/kindle-fire-hdx/general/multi-platform-1-click-bootloader-t3241014

Good luck.
[Kindle Fire HDX 7" & 8.9" General] Michael63963:
Possible Softbrick?

I have a 32gb HDX 3rd Gen with LTE (4.5.5.3), rooted with KingRoot.

Followed the guide (Post 1006) up until the point where you flash TWRP/Vuln.

I got the error: "Error writing file: 2 The system cannot find the file specified" (twrp_cubed.img, which is in the same directory as all my other files; c:\\ADB) (Also got the 87 error on Vuln, which it says is normal?)

I am on Windows 10 OS, no access to Mac or Linux (I'm not screwing with my Windows Bootloader again)

The tablet will not progress past a grey Fire screen (Bootscreen?) when booted by holding power, but will enter fastboot, has READY when plugged into PC, and can receive Fastboot commands.
[Kindle Fire HDX 7" & 8.9" General] mykey38:
Error Code

I have followed the instructions on page 101. I have run the wmic commands which all give me the same disk number.

When I come to flash the aboot_vuln.mbn I get the below error message.

"Error native opening file: 0 The operation completed successfully"

I am a little confused as to if the file was flashed or not.

Could anyone offer any advice.
[Kindle Fire HDX 7" & 8.9" General] EdwardTCM:
Stuck in Bulk Mode

I need Help Getting out Of Bulk mode how do i leave bulk mode
[Kindle Fire HDX 7" & 8.9" General] DB126:
If you entered 'bulk mode' by starting step #6 (erasing aboot) then you must complete the remaining actions.
[Kindle Fire HDX 7" & 8.9" General] EdwardTCM:
Recovery Question

How Long does it take for the Recovery To boot up
[Kindle Fire HDX 7" & 8.9" General] lust.sv:
Sorry, could you help me?

I've problem on #5.

In the device manager, Windows recognized the kindle as generic android and tells me that the drivers are not installed.

I've download and installed kindle_fire_usb_driver file.

What I have to do?

Thanks in advance for the help
[Kindle Fire HDX 7" & 8.9" General] DB126:
Install Moto Manager which includes drivers that work with HDX devices. No need to launch/use MM; simply install to get the drivers.

https://support.motorola.com/us/en/drivers
[Kindle Fire HDX 7" & 8.9" General] xda.tpf:
Problem with HDX 8.9 3. Generation

Thanks a lot for this great tutorial! I used it last year successfully to unlock a HDX 7.

Today I received a HDX 8.9 (3. Generation) and ended up in bulk mode only. So if I hold the Power an VolumeUp keys the device shuts down and powers on but I can't see anything on the screen. I see only the partitions like after switching to bulk mode.

sudo fdisk -l /dev/sdc
Festplatte /dev/sdc: 29,74 GiB, 31910264832 Bytes, 62324736 Sektoren
Festplattenmodell: MMC Storage
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplattenbezeichnungstyp: gpt
Festplattenbezeichner: 98101B32-BBE2-4BF2-A06E-2BB33D000C20

Gerät Anfang Ende Sektoren Größe Typ
/dev/sdc1 131072 262143 131072 64M Microsoft Basisdaten
/dev/sdc2 262144 263167 1024 512K unbekannt
/dev/sdc3 263168 263231 64 32K unbekannt
/dev/sdc4 393216 393279 64 32K unbekannt
/dev/sdc5 524288 524291 4 2K Microsoft Basisdaten
/dev/sdc6 524292 528387 4096 2M unbekannt
/dev/sdc7 528388 529387 1000 500K unbekannt
/dev/sdc8 655360 675839 20480 10M unbekannt
/dev/sdc9 786432 787431 1000 500K unbekannt
/dev/sdc10 787432 789479 2048 1M Microsoft Basisdaten
/dev/sdc11 789480 792551 3072 1,5M unbekannt
/dev/sdc12 792552 795623 3072 1,5M unbekannt
/dev/sdc13 917504 920575 3072 1,5M unbekannt
/dev/sdc14 1048576 1048577 2 1K unbekannt
/dev/sdc15 1048578 1048593 16 8K unbekannt
/dev/sdc16 1179648 1200127 20480 10M unbekannt
/dev/sdc17 1200128 1462271 262144 128M Microsoft Basisdaten
/dev/sdc18 1462272 1482751 20480 10M unbekannt
/dev/sdc19 1482752 1548287 65536 32M Microsoft Basisdaten
/dev/sdc20 1548288 1613823 65536 32M Microsoft Basisdaten
/dev/sdc21 1613824 3710975 2097152 1G Microsoft Basisdaten
/dev/sdc22 3710976 6266879 2555904 1,2G Microsoft Basisdaten
/dev/sdc23 6266880 62324702 56057823 26,7G Microsoft Basisdaten

I used the files you provided for Apollo and the TWRP image 3.2.3-1.

The difference to last year is: I started the get_code.bat on Windows. But because the device drivers doesn't work I switch to Ubuntu to complete the rest:

adb reboot bootloader
fastboot erase aboot
fastboot reboot
sudo dd if=/aboot.mnb of=/dev/sdc6
sudo dd if=/twrp.img of=/dev/sdc18

Do you have any suggestions how I could save the device?

Thanks in advance,

Thomas

Thanks to dubsides I found the solution in this post (https://xdaforums.com/showpost.php?p=75284993&postcount=1006):

When using Linux it is important to use some parameters with dd:

sudo dd if=/aboot.mnb of=/dev/sdc6 bs=64k conv=notrunc oflag=direct

sudo dd if=/twrp.img of=/dev/sdc18 bs=64k conv=notrunc oflag=direct

No it runs like a charm.
[Kindle Fire HDX 7" & 8.9" General] DB126:
↑↑ Love positive posts like this :)
[Kindle Fire HDX 7" & 8.9" General] ggow:
@ONYXis, @ReichMann

Thanks for this method, I just got a replacement HDX. This was much better than using kingroot etc.

:good:
[Kindle Fire HDX 7" & 8.9" General] Morty40:
switch to another computer

Similar result for me so I have recently subscribed to XDA to say thanks for this and all the other excellent help in this thread. In 2017 I unlocked a couple of Thor Fire HDX tablets following the advice at the time on XDA using the rollback method. I have now acquired an Apollo Fire HDX and have successfully unlocked it using the manual Ops https://xdaforums.com/showpost.php?p=75284993&postcount=1006

I had the same issue as drfleckenstein - once in fastboot mode, Windows 10 refused to connect to the HDX. I uninstalled and reinstalled the drivers in Device Manager, uninstalled and reinstalled the drivers and binaries several times, rebooted Windows and HDX, but no joy.

Then I saw this post and remembered an old Win 10 laptop which had never had android tools installed, so I went for the adb and fastboot binaries in the official android platform tools from https://developer.android.com/studio/releases/platform-tools

and then the kindle_fire_usb_drivers from post #1006. I connected the HDX in fastboot mode, opened a command window in the platform tools folder, and typed fastboot devices - immediately there was a successful response showing the serial number of the device. So I could continue with the unlock.

I found the unlock.code that I had originally generated when the HDX was connected the first laptop, and copied it to the platform tools folder on the second laptop. Then the unlock.bat worked successfully and I could install the latest LineageOS ROM.

I would like to go back to using the first laptop for future development - is there a reliable way to remove my problematic drivers and reinstall a clean environment as on my second laptop?
[Kindle Fire HDX 7" & 8.9" General] DB126:
Drivers that accompany the Motorola Device Manager work great for HDX devices both in ADB and fastboot modes. No need to use or launch MDM; simply install to get the drivers.

https://support.motorola.com/us/en/solution/MS88481
[Kindle Fire HDX 7" & 8.9" General] BennyXCross:
Hey [MENTION=5488402]DB126[/MENTION] So, I have a little problem. I was following a tutorial by [MENTION=5828306]draxie[/MENTION] :

"3. Click on unlock.bat in the extracted folder (default: platform-tools)

--- this replaces step 3 of the OP ---"

But I already went ahead to step 3 of OP and rebooted my device.

I mean I can get into TWRP recovery while holding the + button on my Kindle.

But how do I get my unlock code now?

Should I just wipe everything except the storage and that removes the fastboot loop?
[Kindle Fire HDX 7" & 8.9" General] DB126:
You can install an older (discontinued) ROM such as Fire Nexus on a locked bootloader which will allow you to obtain the unlock code. Just don't attempt to gain root access as that usually doesn't work on locked bootloaders.

If that fails there is another method (start from scratch) but you're almost there. Give Nexus a shot first. :)
[Kindle Fire HDX 7" & 8.9" General] BennyXCross:
Thank you very much DB :)

Just to clarify, because I'm pretty new to this scene, if If I reboot after I install this rom won't I get back into the fastboot loop? Could I not also just reset the bootloader (is that the name for the fastboot screen?) back to its original state with TWRP somehow?
[Kindle Fire HDX 7" & 8.9" General] DB126:
You can't "reset" what you have already done (which is by no means bad). After flashing the ROM your HDX should boot into Nexus the next time the device restarts. Once you go through the normal Android initialization you should be able to obtain the unlock code and continue with the procedure as described.
[Kindle Fire HDX 7" & 8.9" General] BennyXCross:
Hmm I've tried it and I have a little problem. The installer failed. "Can't install this package (17 Oct 2016) over newer build (Aug 24 2018). Updater process ended with ERROR: 7".

Should I wipe anything first or will this also remove the TWRP?

EDIT: So, I've tried it with lineage-11-20181130-UNOFFICIAL-thor because it's newer than the "newer build" and it worked! No bootloader loop. It got straight to the Lineage animation screen and now I'm in my device again. I'll try to get the unlock process going, thank you so much DB. I'll keep you posted if I manage to unlock the bootloader.

---------- Post added at 02:29 PM ---------- Previous post was at 02:06 PM ----------

Oh god, I'm so stupid. I could have solved the problem from the fastboot loop, because the last step of Draxie's tutorial is to use unlock.bat which is literally only "fastboot flash unlock unlock.code"...

Now I've installed Lineage 14.1 and GApps and it seems to work. Thanks again DB :)
[Kindle Fire HDX 7" & 8.9" General] DB126:
Not "stupid", just inexperienced in the wacky world of HDX modding. Glad you got it working. :)
[Kindle Fire HDX 7" & 8.9" General] soil111:
Hi,

I bought a good condition HDX 7. I tried to follow here to unlock it. But I never to get to "Ready". I installed both the fire driver and motorola device manager. After "ADB reboot bootloader" command, "other devices _Andriod" show up, so I did the update driver, following the steps here. but what ever I choose, either fire device "composite ADB interface" or "Mot composite ADB interface" or all the others. The "other devices" never change. and of cause the "Ready" never show up. I cannot continue to anything. what's wrong?

Please help!

the OS version is 4.5.5.4, if that matter? should I try to get it back to old version?

Thanks!
[Kindle Fire HDX 7" & 8.9" General] DB126:
FireOS build is irrelevant. Try a different cable (bad cables are responsible for 80% of "not ready" issues on HDX devices) and/or different USB ports. Avoid USB hubs and 3rd party USB 3 add-on ports. Moto drivers work best IME.
[Kindle Fire HDX 7" & 8.9" General] soil111:
Thanks for the help!

I already tried two computers and two cables. And the first ADB command "adb devices" worked every case. Which I assume should mean the cables are good. ( may be bad for the "Ready" part?). But I'll try as many cables as I can find.
[Kindle Fire HDX 7" & 8.9" General] DB126:
ADB and 'fastboot' utilize different communication/handshake mechanisms. Being able to communicate over one has little correlation to the other when problems are encountered. If different cables yield similar results you'll need to look at different USB ports or possibly try a different host (computer). Your situation is far from unique and almost always has the same solution. Good luck.
[Kindle Fire HDX 7" & 8.9" General] soil111:
Thanks!

Unfortunately Last night I tried 2 other cables and 3 others USB ports. Now I doubt probably the USB port on the Fire HDX is faulty for fastboot. I tried the king-root (on the HDX, no PC), it worked. Now I have root. but the fastboot still not work. Is there any method that completely work on the fire HDX tablet only without PC that can flash TWRP, custom ROM like lineage OS?
[Kindle Fire HDX 7" & 8.9" General] DB126:
Probably not a faulty port. Issue you are experiencing is somewhat common and usually (almost always) correctable via means already discussed. HDX devices are exceptionally fussy with fastboot communications. Everything has to be 'just so' to receive a ready prompt.

As for other options, you can try 'one click' which is a quirky little utility that receives high praise from users.

https://xdaforums.com/kindle-fire-hdx/general/multi-platform-1-click-bootloader-t3241014
[Kindle Fire HDX 7" & 8.9" General] soil111:
Thanks!

Unfortunately, I have only Window computer. While I may try when I have access to mac or linux. Or I’ll keep try other cable and computer.
[Kindle Fire HDX 7" & 8.9" General] mygica009:
Success

After a two weeks of trawling through this thread (late at night when everyone is asleep :)) I have successfully:

1. Rooted my Kindle.

2. Unlocked the bootloader.

3. Installed TWRP.

4. Installed Lineage OS.

Great thread! And thanks to those who contribute to it!

My advise to others who are experiencing issues - the imformation needed is in this thread. Just have some patience and read carefully.
[Kindle Fire HDX 7" & 8.9" General] thosferatu:
adb reboot bootloader just reboots kindle

managed to find this post but my kindle just reboots normally. could someone help?
[Kindle Fire HDX 7" & 8.9" General] marekh_:
Hey guys,

I've stucked after these two commands:

fastboot -i 0x1949 erase aboot

fastboot -i 0x1949 reboot

device is tarting with black screen and I have access to about 8 partitions.

No adb or fastboot can see device on list.

Is there anything I can try to back it to working state?

thanks!
[Kindle Fire HDX 7" & 8.9" General] gordon0001:
https://xdaforums.com/showpost.php?p=75284993&postcount=1006
[Kindle Fire HDX 7" & 8.9" General] sarib:
[Solved]Hi, I was started with this guide, at a point I forget command's order and my device is stuked at (fastboot "Ready") state, now even device is in ready state my pc's fastoot application is not showing my device in fastboot (earlier which used for braking my device) but my Pc recognize this device in device manager as it is showing "fire devices" "adb composite drivers", how I can get rid of?
[Kindle Fire HDX 7" & 8.9" General] soil111:
You are right Always!

Dear DB126,

you are right always!

I got a another computer (used from ebay) for the kid. Tried again the HDX 7. Voila! everything work! Following you instruction, finally installed the Lineage 14. It's a beautiful HDX.

yes the HDX sure is fussy. I've tried three computers, many cables, every usb ports on these computers. For anybody met similar problem, keep trying.

Dear Sir! Thanks again!