yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" General] BuffetMonster:
Hi Guys, So I tried the one-click bare linux VM method via lots of help from Draxie. Before I started hacking this thing it was doing a strange bootloop just after entering the normal running condition. Anyway the 1click process seems to have completed okay. Everything seemed to complete as it should. When it boots up I get a blue flash on the screen for like 1/2 second. I assume this is twrp? But then bootloops. I still have fastboot access, but adb is gone.

I tried fastboot -i 0x1949 boot ../apollo-twrp-3.1.1-1.img, the tablet screen says boot. Then after ~30 seconds I get a blue flash, and it reboots. I assume this should work, regardless of the state of aboot?

I also tried fastboot -i 0x1949 boot emmc_appsboot-14.3.2.3.2_user_323001720.mbn, and it complained about missing device tree [aka dtb], but I think this should be flash into a partition so probably not a valid test. saying that is completed without error [other than the missing device tree warning on the tablet]

I assume I actually have a HW issue, rather than bootlooping in the app, it bootloops in twrp, probably due to increased current maybe...

Is there anything else I can do. I suspect it's not the battery as it's tethered via USB and it's fully charged, but it could be struggling to provide enough current I guess.

So in summary, looks like 1 click worked [after adding guest additions for USB 2 support to my host - pretty nice tool :) ], but my HW is toast? Any thoughts?
[Kindle Fire HDX 7" & 8.9" General] draxie:
A dying battery is one of the most common causes of spontaneous restarts.

I seem to recall having read somewhere (in other words, this is hearsay, I do

not have a source; so, take this with a grain of salt) that a dead battery shorts,

in which case -depending on how things are wired- it may not be a good idea

to keep the device tethered. I don't know...
[Kindle Fire HDX 7" & 8.9" General] DB126:
I know a little something about battery tech. While internal shorting is uncommon on well engineered Li-ion battery pack they do happen on rare occasions as evidenced by well publicized events. More relevant to this device (3rd gen HDX) there is a good chance the tether does not bypass the pack but routes power through the cells. If internal resistance is high there may not be sufficient 'juice' to reliably power the device regardless of tether status. The onboard controller will modulate charging current based on thermals and other criteria so there really isn't a safety concern. Unless something doesn't work as designed, eg: cheap hoverboards and not so inexpensive Galaxy S7s.
[Kindle Fire HDX 7" & 8.9" General] BuffetMonster:
Sure I totally agree it could be the battery, or the underlying regulators, thermal issues etc. However it doesn't get hot, and neither does the charger when on charge, so it seems it's not sinking a huge current. In any case I've started dismantling it, but the torx screws are tiny, so I'll need to get some small ones to dismantle further. To be honest I think I've probably reached the end of the road with this. But just two question:

1) aboot is primary boot loader containing fastboot and adb? What happened to dtb, why can't I access it anymore? Also fastboot seems to have lost some commands. Or are fastboot and adb stored elsewhere? Actually I can only get into fastboot via the button press (-v), Before I could accept the comms via a tickbox on the tablet to confirm connection, maybe that's why as I don't get this now.

2) I can get in via fastboot, to secondary bootloader? "fastboot -i 0x1949 boot ../apollo-twrp-3.1.1-1.img"

Does this mean that the status of aboot is irrelevant at this time. Should "fastboot -i 0x1949 boot ../apollo-twrp-3.1.1-1.img" just work? [Assuming good HW.]
[Kindle Fire HDX 7" & 8.9" General] draxie:
I got things backwards with those shorting batteries... (-;

It's just the opposite actually. When the battery gives up completely,

it basically breaks the circuit (stops conducting *at all*, i.e. infinite

resistance as opposed zero resistance with a short), which implies

no current and no heat...

The standard battery replacement packs you can buy on eBay include

both a screwdriver (with the right Torx size) and a couple of spudgers...

1) aboot only includes fastboot NOT adb; for adb you need android

(either from system or recovery); (BTW, trying to boot abot from

fastboot makes zero sense, and the errors you're getting stem from

that.... On the other hand, you seem to have managed to unlock the

bootloader, otherwise you should be getting "not allowed for locked

HW" style messages instead.)

2) booting TWRP from fastboot should work if the bootloader is unlocked,

which appears to be the case.... Of course, whether or not ../twrp-XXX

makes sense depends on where that file is relative to your working

directory when issuing the command, but mistakes like that should be

easy to diagnose from the error message you'd receive...

BTW, TWRP is *recovery* and NOT a secondary bootloader (and neither is

aboot the primary bootloader, but at least it's a bootloader; so, that's less

of a misnomer... ;)).
[Kindle Fire HDX 7" & 8.9" General] asgarDolate:
I've been messing around my HDX 7 with firmware 4.5.5.3. It was stock system, unrooted, locked.

I followed the steps in this post https://xdaforums.com/kin...3#post75284993

It did install the TWRP but it seemed still locked and is stuck on fastboot. I opened the unlock.code and found it empty. I could not run get_code.bat again as I could not boot it into normal system. Adb did recognize it when in TWRP, but I got "device unauthorized" when running get_code.bat. Wouldn't work in adb sideload either. Fastboot seemed working.

The I found this 1-Click tool, and it really worked, got the device out of the fastboot loop. After running it, I don't know what I did but it said "no OS installed" and always rebooted in to recovery mode. I couldn't flash the fire nexus rom as it was showing unable to install a previous firmware or something like that.

But after flashing the LineageOS, it's working great now, and I've installed Google Play service on it too.

Some weird things

- the Amazon Prime Video app won't load any thumbnails, and video quality seems lower than before

- the Netflix app is incompatible on the Google app store, and I had to download the apk from Netflix

- battery charging seems slower than before

It's probably the rom, or I didn't get something right. But if that's the price to pay for getting the Google app store, I'm fine with it.

Many thanks to the author of this tool!
[Kindle Fire HDX 7" & 8.9" General] DB126:
- Thumbnail noload is a known issue on custom ROMs with no practical solution

- same with Netflix; sideloading is the way to go (you'll find a few other apps like this too)

- maximum HDX charge rate is ~1.8A/9W (at 5V) or ~1800mA per hour which will fully charge battery in ~2.5 hrs

- no reason for degraded charging with a custom ROM assuming stock kernel is retained

- you can use an app like Ampere to get an *approximation* of actual charge rate
[Kindle Fire HDX 7" & 8.9" General] asgarDolate:
Thanks for the clarifications! I originally just wanted to install Google Play Books, so I'm happy with what it is.
[Kindle Fire HDX 7" & 8.9" General] fuzzyreets:
Can someone point me in the right direction on how to get started with this? I have Kindle Fire HDX7 running 4.5.5.3 and I can't search google anymore for this. Been hours going through things. Also going through this entire thread would be incredibly time consuming. If someone can point me at a starting point I would really appreciate it. Thanks.
[Kindle Fire HDX 7" & 8.9" General] DB126:
You have a couple choices:

1) PM the author of this thread (@draxie). If he is available and believes you are a good candidate he will respond with a link to his "1-Click" tool which can dramatically simplify the process of unlocking the bootloader on your device.

-or-

2) Follow the guidance in this post which includes a necessary files to get the job done. If you pursue this path be sure to understand EVERYTHING before trying ANYTHING. It is quite easy to dig yourself into a hole that can extend the duration and pain of bootloader unlocking. I am happy to answer any questions you might have.

Note: If you have never rooted a device before or are unfamiliar with terms such ADB, FASTBOOT, TWRP or the Windows 'command prompt' it is best to pursue the first option. The opposite also holds true. If you are an Android warrior much of what you have learned in the past will quickly get you into trouble with this device.
[Kindle Fire HDX 7" & 8.9" General] McDumbdumb:
Thanks a bunch to draxie, I now have an unlocked, rooted and custom rom hdx!

So much better than.

Fireos!
[Kindle Fire HDX 7" & 8.9" General] djohno1973:
BIG THANK YOU draxie

I have had my 1st HDX sitting on a shelf dead for about 12 months. About a week ago (i don't know why) i plugged it into my MacBook whilst running an Ubuntu VM. Lo and behold it was actually in "Bulk-mode".

In another bit of luck i found this thread, after searching for more info about "Bulk-mode"

Well i tried the 1-click bootloader unlock today. At first it wouldn't work, all i kept getting was "1-click needs network access" from the web GUI. Then i remembered i had a Little Snitch rule blocking VirtualBox (i can't remember why), corrected the rule to allow connections and re-ran the 1-click.

Blow me it worked 1st time, i now have my baby back to life (Unlocked) running AospExtended thanks to ggow for that rom.. To sweeten the deal all my old files are still present in the original kindle partition which is still accessible.

By the way, before my original fubar, i was on 4.5.5.2 (locked bootloader) which had been rooted with Kingroot a long long time ago, which i managed to screw the aboot file on before it was shelved.
[Kindle Fire HDX 7" & 8.9" General] cpiddy:
Thank you for the awesome tool! Was able to get my old Apollo back in action and running a custom rom in a matter of minutes.
[Kindle Fire HDX 7" & 8.9" General] Locklear308:
Hey there Draxie, I've tried to send you a PM but it doesn't seem to send for some reason.. O.O

At least it says they are not sending...

Anyway, I have a linux laptop ready to use!
[Kindle Fire HDX 7" & 8.9" General] DB126:
FWIW - I successfully sent a PM to [MENTION=5828306]draxie[/MENTION] a few minutes ago referencing this thread.
[Kindle Fire HDX 7" & 8.9" General] Locklear308:
It does not show any sent messages in my message folder. 0.0

Not sure what's going on... Sounds like my luck though. :/
[Kindle Fire HDX 7" & 8.9" General] Locklear308:
Ok, I've got the script working but I cannot get it to detect my kindle. Although ADB does show it in Terminal.

Any ideas?
[Kindle Fire HDX 7" & 8.9" General] Locklear308:
SUCCESS! This script is amazing. While it took me a few computers to get it to work, i believe it was ubuntu that was the problem. I was able to get it working on xubuntu.

AOSP Extended installed and running great!!!
[Kindle Fire HDX 7" & 8.9" General] 47kt:
Hello kindler

Nice to see an active community for this old device.

I have got two old hdx with firmwares 4.5.5 and 4.5.5.3. And I just want to use lineage on it. Is it possible with the high firmware from these two devices?

Is firmware v. 4.5.5.3 of interest for anyone? I have read the older one can become sluggish. If requested (and with guide) I could try to safe it.

But back to my topic: Installing another ROM is possible because the bootloader will be bypassed, I read. I even do not know what would be the benefit to unlock the bootloader if it is not necessary anymore. (possibly secret code execution? :D)

See you (and I hope to get it working)
[Kindle Fire HDX 7" & 8.9" General] DB126:
Unlocking the bootloader is a must for installing a supported/contemporary custom ROM on this device. The procedure can be painful and demands both attention to detail and familiarity with ADB, Fastboot, TWRP and (potentially) Windows driver manipulation and command prompt operations. The unlock procedure is significantly easier if you have access to a Linux or Mac OS X platform as the "1-Click" script described in the OP can be used to unlock the bootloader. If you do not possess these skills or have never performed tethered operations I suggest selling the devices or using them as-is.
[Kindle Fire HDX 7" & 8.9" General] 47kt:
I am using arch linux and have already unlocked a few devices (sony, samsung note, mtkchipcrap, other stuff). So it should not be that hard for me, as long as I get some help and hints from people like you, who are familiar with the kindle devices to ask a question if necessary. :cowboy:

And hopefully in much less time, because I do not have sooo much time like back in the samsung note 10 time, where I had the time to even flash native linux on it.

I just "explored" the kindle recently and its amazing resolution for its size. All other specs (except maybe some lesser spy things on it and no back camera) are standard android hardware specs for me. But never paid much attention to kindle except the ebook reader (also jailbreaked).

But thanks for your explanation. This speaks for the quality and care of the community.
[Kindle Fire HDX 7" & 8.9" General] DB126:
As you have access to a Linux environment I strongly suggest using the "1-click" bootloader unlock method. PM the OP (first post) to request a copy of the script. Once unlocked you can move forward with one of the excellent nougat based custom ROMs for this platform. I'm rocking AEX but many like LOS and RR. You will also need a GAaps package (suggest nano; nothing larger than full due to limited system space) and a root manager (SuperSU 2.82 SR5 works fine; Magisk is also an option). Ask questions as needed...preferably before acting. HDX is a somewhat touchy device that is hard to recover if you go too far astray. Always remember this is NOT your typical Android device. Plenty of gizmo cowboys get bucked off pretty quickly despite the warnings.

Edit - a few caveats:

- no hardware GPS (won't work as a navigator)

- no OTG capability; internal storage only

- bluetooth is flaky with ALL custom ROMs; there are workarounds but it can be frustrating to connect new devices

- spontaneous WiFi disconnects can occur in mixed 2.4GHz/5GHz environments

- audio is decent if subtle pops/noises don't knot your panties (most noticeable with headgear)

- battery on many devices is reaching EOL; tough to find replacements and even harder to execute due to copious use of glue during assembly

While that sounds damning benefits far outweigh disadvantages if you go in with eyes open. Good luck.

Edit 2: Be sure to check the thread OP for the ROM of your choosing as some come pre-rooted and/or have an integrated root manager. A few even include an older GApps package which can (should) be updated.
[Kindle Fire HDX 7" & 8.9" General] 47kt:
Thanks for the information. I will try to go with eyes open. :)

Most stuff like gps and bluez I prefer to disable. So good preconditions.

Is it possible to download the 4.5.5.3 firmware from one device to update the other device somehow or is this totally unneccessary?

I've read that the newer firmware is a bit more stable if the device is on for a few days.

But if it is irrelevant because i. e. LOS overwrites most of the hdx device, my question about how to (if possible) download a firmware from the device still remains.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Both unnecessary and impossible.
[Kindle Fire HDX 7" & 8.9" General] maroonmoon:
Problems using script

Hello,

Has anyone had success enabling USB debugging on kindle fire hdx 7" with ubuntu 18.04? I am trying to use the 1-click script, but am unable to make it detect my kindle. When I connect the kindle to my PC, I never get a prompt to enable USB debugging. Nor there is any such option in Developer Options. My kindle has 4.5.5.3 firmware.

I have tried the suggestions here: https: //forums.androidcentral.com/amazon-kindle-fire/148861-how-enable-adb-kindle-fire-ubuntu-linux.html but they dont work for me.

I installed ADB using the command sudo apt-get install adb.

Thanks
[Kindle Fire HDX 7" & 8.9" General] 47kt:
You need to enable the developer options. It is hidden for normal users.

If you do not know how to enable, you need to search for exactly that information.

Furthermore, pay much attention what you are doing, if you do not even know this simple option-thing... or you will break your device.

p.s.: Did I say much attention? I want to say: much much much much much .... much more attention.
[Kindle Fire HDX 7" & 8.9" General] maroonmoon:
So, I was finally able to get the script working. Much thanks to [MENTION=5828306]draxie[/MENTION] for the script and prompt help. Here is what I had to do

1) I am using a dual boot laptop, windows 10 and ubuntu 18.04. The BIOS is UEFI with secure boot enabled.

2) I enabled developer options in Kindle. There is no option to enable/disable USB debugging under developer options in kindle. The only option is to select the mode of connection (MTP or camera).

3) If you don't select anything, DMESG will read the VerndorID of kindle as Google's VendorID. So select one of the options.

4) Installing VirtualBox was a mess. I initially installed it from command line. It got stuck at some point and I had to kill the process.

5) I then had to reconfigure apt and install virtualbox from the software manager. The reason command line was failing is that

ubuntu prompts to make changes to make sure virtualbox kernel modules will work with secure boot.

6) Installed virtualbox, rebooted, followed the Ubuntu secure boot instructions so that the kernel modules could be loaded.

7) I then followed the instruction https: //forums.androidcentral.com/amazon-kindle-fire/148861-how-enable-adb-kindle-fire-ubuntu-linux.html to make sure ubuntu would detect my kindle properly.

8) The final trick to make the script work was to create a vboxusers group and add my username to it. This enables Ubuntu to pass through the USB connection to the VM. Rebooting and restarting the 1-click VM now detected the kindle in MTP mode. This time, when I connected, i was also shown the dialog to enable USB debugging.

After this, it was just 1 click and I was able to unlock the bootloader and install TWRP. From here, installing AEX and google apps were easy.

Thanks for much for extending the life on my Kindle :)
[Kindle Fire HDX 7" & 8.9" General] Azulath:
I unlocked my bootloader yesterday and everythingh worked fine. (Well, there was a slight mistake on my end, but enabling sideloading in TWRP solved the issue).

Thanks for this tool!
[Kindle Fire HDX 7" & 8.9" General] tootall1:
1-click

I would like this program, can you send it to me

:fingers-crossed:
[Kindle Fire HDX 7" & 8.9" General] DB126:
You need to PM the developer (see OP).
[Kindle Fire HDX 7" & 8.9" General] draxie:
Lost PM

Strange as it may sound, I accidentally deleted a PM asking for a link.

What I recall is that it was sent by someone called David, who normally

frequents a German forum site, but found 1-Click on recommendation.

If you recognize yourself (or your friend), (have them) re-send that PM!
[Kindle Fire HDX 7" & 8.9" General] DaViD_Black:
hi draxie,

you´ve got two PM.

i´m using ubuntu 18.4. (forgot this in the first PM)

thanx for your help.
[Kindle Fire HDX 7" & 8.9" General] vikgr:
Dear [MENTION=5828306]draxie[/MENTION]

same situation, PM not works?

Kindle fire 7HDX 3gen "Thor"

Ubuntu 18.04

Thanks a lot
[Kindle Fire HDX 7" & 8.9" General] draxie:
BUG in recent 1-Click builds: no connection

I'd like to thank those reporting that 1-Click stopped with the message

1-Click needs network access!

despite other VM:s being able to connect just fine!

I tracked down and fixed the issue (NIC driver didn't get built).

My guess is that this started happening with 4.17.x kernels.

Please PM me for the new build, if you received a recent build

with such a kernel and experience the same problem.
[Kindle Fire HDX 7" & 8.9" General] ninjaswrath:
1-Click bootloader unlock 3rd Gen HDX - Apollo

Hi Draxie,

I've been researching high and low for a way to unlock my KF HDX Apollo with 4.5.5.3. I can't find a reliable way to Root, or Unlock my KD HDX's Bootloader. It appears that your 1-Click bootloader can do the trick with minimal risk of bricking the device. Could I trouble you to ask for the link to download the files required? I plan to install a flavor of Linux (Ubuntu 18.04) on my test PC, and run Virtual Box through it. Any special instruction steps would be awesome.

Thanks for you help and also your time.

Ninjaswrath.
[Kindle Fire HDX 7" & 8.9" General] DB126:
While using 1-click is likely the most expeditious method there are other well proven paths as discussed in this thread and this post in particular.

OP states interested parties should PM (private message) the developer to request a copy of 1-click. Posting a request in this thread probably won't do it.
[Kindle Fire HDX 7" & 8.9" General] ninjaswrath:
Re: 1-Click bootloader unlock 3rd Gen HDX - Apollo

First of all, let me say that DRAXIE's 1-Click script is amazing! I have a Kindle Fire 8.9 HDX (Apollo) running 4.5.5.3 OS. I was able to successfully install a vulnerable bootloader, recovery, AospExt Rom, Gapps, SU, and unlocked the bootloader! :) I used Ubuntu Linux, VirtualBox, and Draxie's 1-Click script.

Here are the steps I took:

1. PM Draxie for proper 1-Click script (Thor or Apollo)

1a. Download the 1-Click package and make sure to read the README carefully

2. Installed a Dual Boot Ubunto 18.04 on my Windows 10 pc

3. Install VirtualBox through GUI (i tried VirtualBox through Terminal but it didn't work)

4. Enable VT (Virtualization Technology) through the Bios, and make sure to SHUTDOWN. A reboot\restart will fail to recognize the update.

5. Install ADB and FASTBOOT for Ubuntu Host (https://www.linuxbabe.com/ubuntu/how-to-install-adb-fastboot-ubuntu-16-04-16-10-14-04)

6. Configure ADB and configure Group and add your user (https://forums.androidcentral.com/a...-how-enable-adb-kindle-fire-ubuntu-linux.html)

6a. In my case, the Group "vboxusers" already existed (probably installed via VirtualBox install). If the group is not there, add it using "sudo addgroup --system vboxusers"

6b. Make sure to substitute YOUR <username> you used to log into Ubuntu as well as the new group in this line "sudo adduser <username> vboxusers"

7. Open a terminal and run the 1-Click script as follows: "./1-Click" (case sensitive)

8. Follow all the instructions on the screen very carefully.

Enjoy your new full-featured Kindle Fire HDX running Stock Android! Thank Draxie for all of his hard work!

Thanks, and good luck to all!

Ninjaswrath.
[Kindle Fire HDX 7" & 8.9" General] notami339:
Many thanks to draxie for his hard work and willingness to continue to provide support for 1-Click. The new build worked just fine for me after getting the "1-Click needs internet access" error. It worked as advertised even though I had the wrong ROM zipped in /sdcard/ . It successfully loaded twrp-3.1.1-1 and I was able to sideload the correct rom.
[Kindle Fire HDX 7" & 8.9" General] draxie:
Well done!

I'm 99% sure that this step is unnecessary, unless -of course- you want to play with ADB/FASTBOOT on your host.

The udev rule _may_ be necessary for the USB pass-through.

The adb_usb.ini is only needed if you want ADB/FASTBOOT on your host.

BTW, I'm not sure if you noticed, but I added hints on the likely steps

needed on Ubuntu as comments in the 1-Click script. If I ever get around

to testing this on Ubuntu, I might just include/enable those steps.
[Kindle Fire HDX 7" & 8.9" General] FELTRITE:
Kindle fire 7HDX 3gen "Thor" flashing

[MENTION=5828306]draxie[/MENTION] [MENTION=5488402]Davey126[/MENTION] Exactly the same!

I'm using my Debian 4.90 computer to unlock my Kindle fire 7HDX 3gen "Thor"

tried to run the unlock scripts presented in this post: https://xdaforums.com/kindle-fire-h...r-firmware-t3463982/post70881555#post70881555

with no luck :( the device reported "FAIL: Unlock code is NOT correct."

I've had no problems sending fastboot commands to the device.

Would appreciate the link to your utility and some help! :)