yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" General] CrashThump:
I'm sorry, can't test this, seems like this is related to the currently installed custom ROM where the [ro.product.model]: [Kindle Fire HDX].

**UNSUPPORTED** (cm_apollo/Kindle_Fire_HDX/apollo).

Thank you for the fix, I hope it will work on a stock 1x.3.2.3.2.

I had the similar issue under Windows XP even with installed PS 2, I had to skip the PS detection of a port. On Windows 7 everything was fine but I suppose this can be caused by some settings.
[Kindle Fire HDX 7" & 8.9" General] brainwash123:
Thank you, using that command it worked. I've removed the old VM (for the 10th time), started the batch file, stopped it while it was in a loop, started the VM manually from VirtualBox and ran puttytel.

Here's the output of a batch file run: http://pastebin.com/94bGSEmL

The only modification I did was to add a line:

:wait
ping -n 3 127.0.0.1 > nul
%ps% "[System.IO.Directory]::GetFiles('\\.\pipe\')" <<<<< this line
%ps% "[System.IO.Directory]::GetFiles('\\.\pipe\')" | findstr %vm% > nul
if errorlevel 1 goto :wait

otherwise the output would have been redirected to nul. I'm using Win 10 with the latest consumer updates (not that I have a choice). My VirtualBox shouldn't have any modifications, I used to disable virtual network adapters as they made workgroup browsing very slow but that issue is gone now and all my adapters are up.
[Kindle Fire HDX 7" & 8.9" General] draxie:
Great! That's what I expected, but it's nice to have it confirmed.

The batch file should remove any VM of the same name when it starts,

although I saw in your output that VBox reported an error there. Why? (-;

Also, once the script enters the wait loop, the VM is already running,

you shouldn't have to start it again manually, unless terminating the

script also killed VBoxHeadless...

Thanks! I do recognize that error. I saw that for a while on one of the test

machines as well, but **somehow** the issue "fixed itself" (read: I don't recall

fixing it myself, but it went away).

BTW, I think I may have found the reason why PS 2.0 works for some,

but not for others. Apparently, .NET 2.0 needs to be installed for the

"-version 2.0" switch to work. (And, I suspect, that may have gotten

installed "by accident" or as a dependency for something else on

the box I used for testing.)

Would you care to

check if '.NET Framework 3.5 (includes .NET 2.0 and 3.0)' is enabled on your machin

in "Control Panel\Programs and Features\Turn Windows features on or off"; and,

turn it on and run the script again if it wasn't?

I'd very much appreciate that.
[Kindle Fire HDX 7" & 8.9" General] brainwash123:
It was checked and available, the issue is not the actual command - it's running fine.

Please see http://stackoverflow.com/questions/258701/how-can-i-get-a-list-of-all-open-named-pipes-in-windows and http://stackoverflow.com/questions/...ws-and-avoiding-possible-ex/25126943#25126943

I took a look at some of the named pipes on my computer and can see that some of them contain file names (dropbox, explorer, google drive) with which the "GetFiles" command cannot deal, throwing the exception linked previously.

However, the following also works:

C:\WINDOWS\system32>powershell -version 2.0 -command "[System.IO.Directory]::GetFiles('\\.\pipe\', '1-Click')"
\\.\pipe\1-Click

see https://msdn.microsoft.com/en-us/library/wz42302f(v=vs.80).aspx

which is probably what you want anyway.

Disclaimer: I've never used PowerShell before and don't write C#, VB or any other Windows code.
[Kindle Fire HDX 7" & 8.9" General] draxie:
Thanks! You are a genius. (;

As you can probably tell, I don't do batch and powershell for a living, either.

In fact, I got the command I used from your first stackoverflow link...

I uploaded a new version (based on your suggestion above),

that will hopefully work more universally. (The fact that it worked on

my test box, doesn't necessarily mean much, as we've learnt...)

Could you take it for a test drive?
[Kindle Fire HDX 7" & 8.9" General] draxie:
I see... Thanks for checking, in any case!

Hopefully, someone with a WiFi-only device will come along and test. (-;

Interesting! Although based on posts 59-64, not at all surprising...

Could you check if my second update makes that issue go away on XP?

(BTW, I've never tested on XP, as I don't have it anymore, and PS wasn't even supposed to be installed by default..)
[Kindle Fire HDX 7" & 8.9" General] JJAVIERMD:
Sorry I have to ask this very possible stupid question but.... How can I know if I successfully unlocked the bootloader or not?
[Kindle Fire HDX 7" & 8.9" General] draxie:
Hmm... You cannot have spent much time reading this thread. (;

Check post#5!

Post#6 shows a redacted response from an unlocked device.

If your Kindle is not unlocked, you get an error message instead.

Alternatively, if you are using 1-Click (or some other solution)

to flash a faked unlock code, check your Kindle's display!

The response there is fairly obvious (something like

"unlock code correct" [resp. "not correct"] and green [resp. red]

status code for a successful [resp. unsuccessful] unlock attempt).
[Kindle Fire HDX 7" & 8.9" General] CrashThump:
I confirm that the issue has been resolved.

New PS 2 command doesn't work under XP. It's hard to find the root cause because my error message is in Russian. Not a big issue.
[Kindle Fire HDX 7" & 8.9" General] nickytun:
Hi [MENTION=6815340]Cl4ncy[/MENTION]

Thanks so much!!! With your instructions I've already unlock BL and now i'm totally controlling my Kindle.
[Kindle Fire HDX 7" & 8.9" General] Clarke33:
I haven't been following the HDX development for several months so much to my surprise I see the one click bootloader unlock that is now available. To give a little background I'm running 14.3.1.0 and have safestrap 3.72 with Nexus ROM 1.4.2. I've tried to do my homework on the order of things to do, so correct me if I'm wrong.

1) Download one click, run and unlock bootloader

2) Delete ROM slots, boot back into stock slot and uninstall safestrap

3) Flash TWRP

4) Download ROM of choice and flash with TWRP after wipe

Thanks in advance guys. Looks like a lot of things have been happening here since my last visit. One other thing, I disabled ota updates when I first rooted, it's still good after I do everything above isn't it? Also, do I need to use root browser to make sure there are no remaining safestrap files?
[Kindle Fire HDX 7" & 8.9" General] EncryptedCurse:
That sounds right.

You don't need to worry about any leftover Safestrap files, since they'll be overwritten anyways once you flash a new ROM.
[Kindle Fire HDX 7" & 8.9" General] Clarke33:
OK. Thanks. Will I need to do anything else to make sure I don't receive ota updates?
[Kindle Fire HDX 7" & 8.9" General] EncryptedCurse:
If you've already disabled OTA updates before, then there's nothing else you need to do.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Thoughts:

- remember to delete any secondary Safestrap slots as 'rom containers' will not be overwritten by a new ROM; other Safestrap files can stay as mentioned by [MENTION=5940066]EncryptedCurse[/MENTION]

- after flashing TWRP flash the 3.2.3.2 bootloader update (here)

- (optional) make a backup of current FireOS config in TWRP before flashing new rom

- suggest starting with CM 12.1 as it strikes a nice balance between rom maturity and feature set. CM11 and Nexus v4 are a bit more mature (everything works) but are KitKat based
[Kindle Fire HDX 7" & 8.9" General] Clarke33:
Out of curiosity, why do I need to update the bootloader?
[Kindle Fire HDX 7" & 8.9" General] DB126:
Stock bootloader remains even after flashing TWRP and the ROM of your choice. As one might guess from the name the BL is involved early in the startup process and initializes various HW components before handing off control to fastboot/recovery/rom. According to OP display issues and other anomalies are addressed by 3.2.3 update. The primary HDX rom dev (@ggow) tests with 3.2.3; always best to parallel that environment.
[Kindle Fire HDX 7" & 8.9" General] Clarke33:
OK. Thanks for the explanation. I'm going to do this tomorrow so hopefully everything will go smoothly.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Unlocking bootloader carries no risk; it will either work or not with no risk to device or contents. If you haven't booted into FireOS for awhile I would disable WiFi or place your device in airplane/flight mode. Although you previously diabled OTA some early approaches were not 100% effective. You can also rerun the OTA blocker in HDX toolkit although this feels like overkill given your time on FireOS will be limited without the need for a persistent network connection (assuming you downloaded everything in advance).
[Kindle Fire HDX 7" & 8.9" General] Clarke33:
I actually did boot back into FireOs yesterday to make sure I was still on 14.3.1.0 and under device info it was last updated sometime in '14 and showing to be current. At no time did it want to try to push an update.

---------- Post added at 07:32 AM ---------- Previous post was at 07:01 AM ----------

Actually what I meant to say was the tablet showed it was currently up to date with the date sometime in '14. It has never updated since I owned it.
[Kindle Fire HDX 7" & 8.9" General] Clarke33:
Well, bootloader unlock went good (got the green unlock on the screen) but near disaster in the stock slot. I noticed it trying to push an update so I hit airplane mode as quick as possible and stopped the download. About device still shows I'm on 14.3.1.0. How do I get rid of the download that started and can I run hdx toolkit from rom slot 2?I'm assuming it has to be from the stock slot.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Yep - as suspected the OTA block you did long ago was not 100% effective. Glad you caught it in time.

You are unlocked so Safestrap, FireOS (including the pending update) and HDX Toolkit become irrelevant. You never need to boot into those environments again ... although it might be convenient to do so during final preparations to flash a new rom. The partially downloaded update will be discarded when you reboot your device. From that point forward stay off WiFi until FireOS is overwritten with the rom of your choice. From that point forward OTAs are no longer relevant.

Outline:

- tether and flash TWRP as described here (disregard warning about 3.2.3.2 bootloader)

- boot into TWRP using <power> + <vol-up> from a cold start. Have a look around but don't make any changes

- retain tether and boot back into FireOS (WiFi off / Airplane mode engaged)

- snag 3.2.3.2 bootloader update here and copy to internal storage

- (optional) use ES File Explorer to verify MD5 of file as it exists on device (if the file is corrupt it will likely prevent future boots after being installed effectively bricking your device)

- boot into TWRP and flash 3.2.3.2 update via install option (ask questions if you aren't familiar with TWRP; it's a powerful tool that can brick your device is misused)

- look through the forums to decide which rom you want to use. Suggest one of the CM variants - although Nexus v4 is quite nice (albeit KitKat based)

- copy the rom and recommend additions (eg: supersu; gapps) from the OP in the relevant rom thread to internal storage

- return to twrp and flash rom (again - ask questions if unsure)

Enjoy your liberated device!
[Kindle Fire HDX 7" & 8.9" General] Clarke33:
Will do. Huge thanks for your help!
[Kindle Fire HDX 7" & 8.9" General] Clarke33:
Will Flashify work for flashing TWRP?
[Kindle Fire HDX 7" & 8.9" General] Clarke33:
Thanks.
[Kindle Fire HDX 7" & 8.9" General] DB126:
And highly recommended:

- nice UI; can be used for most flashing activities including 3.2.3.2 bootloader upgrade

- before flashing you can make a backup of current recovery

- less chance of flashing to wrong partition (yea, I've done that)

- can maintain multiple recovery environments thru backup & restore functionality (be carefully with this; for experienced users only)
[Kindle Fire HDX 7" & 8.9" General] Clarke33:
I can't seem to download the TWRP file. I keep getting a pop-up saying it is a corrupt file. Anyone else?
[Kindle Fire HDX 7" & 8.9" General] DB126:
Downloaded both versions from a couple different mirrors. Worked fine; MD5s matched. Make sure you are hitting the correct button.
[Kindle Fire HDX 7" & 8.9" General] Clarke33:
Ok. I'll try again when I get home tonight
[Kindle Fire HDX 7" & 8.9" General] Clarke33:
I'm still having trouble. Still getting the same popup but have read this can be a problem sometimes in Windows 8. When I download the file on my hdx and open the folder with es file Explorer the file has a question mark on it instead of an icon. Any ideas?
[Kindle Fire HDX 7" & 8.9" General] EncryptedCurse:
Sorry, I'm not following. What file are we talking about here? What's the popup?
[Kindle Fire HDX 7" & 8.9" General] Clarke33:
When I try to download from my pc I get a pop-up saying "couldn't mount file. The disc image file is corrupted"

---------- Post added at 08:05 PM ---------- Previous post was at 08:04 PM ----------

I'm trying to download the TWRP zip
[Kindle Fire HDX 7" & 8.9" General] DB126:
I doubt Windows 8 is the culprit. Given you are seeing download errors on two different devices suspicions lean toward:

- an upstream problem that is corrupting the download (seems unlikely)

- wrong site

- user error

Hate to beat a dead sheep but the latter seems most likely. Please make sure you are accessing the right site (androidfilehost.com) and are hitting the correct button. After clicking download you should be presented with a list of mirrors (after an 8 sec wait for unregistered users) with the closest and/or least loaded mirror selected by default. If you are not seeing this sequence retrace your steps.

---------- Post added at 11:00 PM ---------- Previous post was at 10:44 PM ----------

This makes no sense. That error message is most commonly seen when mounting ISO files in Win 8/10. You aren't trying to mount anything in Windows...nor should you be trying to open the zip file or click on (execute) its contents. Simply download the zip file and copy it to internal storage on your HDX. You can then unzip (extract the contents) using ES file explorer.

No explanation why the download is failing when you try to snag it via your HDX. Are you using the Silk browser?
[Kindle Fire HDX 7" & 8.9" General] Clarke33:
I was on the correct site and tried several of the mirrors with the same results. I tried using Flashify's file manager and it seems to recognize the download as a good file. The file size and md5 is correct size I am assuming I can go ahead and flash without any problems

---------- Post added at 10:05 PM ---------- Previous post was at 10:02 PM ----------

That's probably what I was doing wrong. I was trying to move the download to the desktop.
[Kindle Fire HDX 7" & 8.9" General] DB126:
If the MD5 matches you have a good file. Double check everything before flashing (recovery section, proper file selected, current recovery backed up). Test new recovery after flashing to make sure it works.
[Kindle Fire HDX 7" & 8.9" General] Clarke33:
I was using Chrome

---------- Post added at 10:09 PM ---------- Previous post was at 10:06 PM ----------

I'm going to wait until tomorrow when I have a clear head before I double check everything and then Flash. Thanks for your help.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Appreciate your patience. Glad you got through the download piece.
[Kindle Fire HDX 7" & 8.9" General] Clarke33:
I think my biggest problem is I'm over 60 and trying to learn new things that don't come easy . I'll get there though.

---------- Post added at 10:32 PM ---------- Previous post was at 10:31 PM ----------

This hdx is the most difficult thing I've messed with to date
[Kindle Fire HDX 7" & 8.9" General] DB126:
We come from the same generation. And yeah, tech can be tough if you don't live/breath it. A few weeks ago I rebuilt a 4 barrel carb in the presence of my young nephew. He was suitably impressed that something so sophisticated could be done without a touch screen. Meanwhile he kicks my butt in any type of modern video game. We all have our strengths.
[Kindle Fire HDX 7" & 8.9" General] Clarke33:
Yeah, I've been an electrician and a builder for 35 years, play with cars, gravely walk behind tractors, etc but this stuff kind of stumps me.
[Kindle Fire HDX 7" & 8.9" General] EncryptedCurse:
That's very impressive! Judging by how often you help out here, I thought you'd be a lot younger.
[Kindle Fire HDX 7" & 8.9" General] Clarke33:
Big thanks for the help guys. I've got everything flashed and will finally be able to use my tablet to its full potential with plenty of storage to spare. Thank heavens no more ROM slots. Thanks again! One other thing, I'm assuming to boot to recovery it's power and volume up?
[Kindle Fire HDX 7" & 8.9" General] DB126:
Glad it went well (probably not without a few harrowing moments). Yes, <power>+<vol-up> to access recovery from a cold start. If you opt to flash one of the CM variants there are options under settings for allowing access to recovery via the power button while CM is running. Also options from within Flashify (if you used it) or a number of Play Store apps.

Feel free to ask questions as you go along. You really are in a nice position with an unlocked bootloader. Lots of rom options and better recovery capability should something go wrong.

Enjoy!
[Kindle Fire HDX 7" & 8.9" General] Clarke33:
I'm in the process of setting everything up right now. I'm stoked to have an unlocked bootloader and never have to worry about an ota update ever again. Think we will ever get marshmallow?
[Kindle Fire HDX 7" & 8.9" General] DB126:
Not from Amazon. But a Marshmallow rom is available for unlocked HDX's now (CM13). I'd stick with CM12.1 as the bugs are worked out of CM13. That said it's pretty stable, just a few rough edges. MM doesn't offer much over LP imho, especially on a rooted device where you have control over background process/services and can tweak the UI to your liking.
[Kindle Fire HDX 7" & 8.9" General] Clarke33:
Yeah, I flashed cm12.1 and like it so far. Thanks again for your help.
[Kindle Fire HDX 7" & 8.9" General] rlkellyjr:
when is a dev going to release a way to root and unlock the boot loader on 4.5.3 to 4.5.5? I think there are too many risk in doing a downgrade then going back to 4.5.2. The only point is to gain root, but no boot loader unlock.
[Kindle Fire HDX 7" & 8.9" General] DB126:
If were that easy the exceptional developers who have unselfishly contributed their time and talent in these forums over two years would have certainly delivered. All of the code is open source or otherwise available to those who seek it. Give it a whirl.

Yes - there is risk in rollbacks/upgrades. No one like it. As of now it's the only solution. A method to unlock the bootloader is unlikely given Amazon has discontinued support for 3rd gen models and hardly promotes the one remaining 4th gen variant w/HDX branding.
[Kindle Fire HDX 7" & 8.9" General] rlkellyjr:
Does Amazon have the ability to unlock the boot loader if one were to call in ask? I have heard they can roll you back to a prior firmware?

Thanks for information, I appreciate all the work the devs and mods have provided, I just didn't know if there was something out there I was overlooking.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Nope. Last thing Amazon wants is an unlocked bootloader. Nor will they root or rollback your device. The latter only occurred during a brief window following the FireOS v3 to v4 update. The first release of v4 was a bit flaky; many savvy users exploited the policy to get back to v3 which was rootable. Amazon quickly ended the practice.

Nothing you have overlooked. Your best option is rollback, upgrade, root, block OTA and (optionally) install Safestrap v4 which offers access to CM11 or Nexus v4. Assuming you have a 3rd gen device.

Edit: 4th gen devices will soon be upgraded to FireOS v5 which is probably more palatable than v4. Exploitability TBD; experiences to date have varied by HW platform.
[Kindle Fire HDX 7" & 8.9" General] PariahNine:
Hi [MENTION=5828306]draxie[/MENTION],

I've actually got another thread started on this topic, but I figured I might get a faster response here. I've read through all of the posts in this thread, but haven't come across anyone with the same problem, nor a solution.

When I run the 1-click.bat file, I get this:

I've uninstalled everything a couple of times, removed all the old ADB drivers, etc... to no avail.

Any help would be greatly appreciated.
[Kindle Fire HDX 7" & 8.9" General] draxie:
no clue; malware?

I'll try, but I haven't got the slightest clue at this point.

I found your other thread and learned that you have an HDX7

and run 64-bit Windows 7; and, you seem to be seeing things

you aren't supposed to, such as 2 instances(?) of 1-Click,

"booting kernel"(?) in the VirtualBox window(?). I think

I might need more info on what exactly you had done

to get there and what you actually see..

(You should have 2 windows yes: one for the batch output,

and another from PuttyTel showing the serial console.

Anything different likely implies changes to the batch file.)

In any case, I've never seen the error message you included,

and this part doesn't look good at all:

VBoxHeadless: supR3HardenedScreenImage/LdrLoadDll: rc=Unknown Status -23021 (0xf
fffa613) fImage=1 fProtect=0x0 fAccess=0x0 \Device\HarddiskVolume2\Windows\Syste
m32\acaptuser64.dll: None of the 1 path(s) have a trust anchor.: \Device\Harddis
kVolume2\Windows\System32\acaptuser64.dll
VBoxHeadless: supR3HardenedMonitor_LdrLoadDll: rejecting 'C:\Windows\system32\ac
aptuser64.dll': rcNt=0xc0000190

I did a search for both supR3Hardened and acaptuser64.dll, and got hits relating to

virus scanners and/or malware. You may want check out the links below and make

sure that your machine is clean and/or you don't have a virus scanner that alters

that DLL from Adobe...

#13187 (VirtualBox 4.3.14 can't start VMs on certain Windows hosts) – Oracle VM VirtualBox

windows 7 - Virtual Box fail load virtual machine E_FAIL (0x80004005) - Super User

Microsoft-Windows-Wininit Warning: 11 - Windows Events - Spiceworks
[Kindle Fire HDX 7" & 8.9" General] PariahNine:
Hi [MENTION=5828306]draxie[/MENTION],

I appreciate your response. Now that I've gotten it to work, I know what I did wrong on my part, what I wasn't seeing that I should have been, and may have some insight for you.

First off, the reason I was seeing the instances in VirtualBox was because I was checking the box to launch VirtualBox at the end of the installation. Secondly, I tried running 1-click on two different installations of Windows 7, my primary computer which had Windows 7 64 Pro, and a secondary computer for my children which runs Windows Home Premium. You've seen the errors I was getting when I attempted on my PC, on the other one I had similar results, though without the errors. Still, it seems 1-click for whatever reason wasn't working in either Windows 7 environment. In both cases, PuttyTel did not launch.

Ultimately I ended up upgrading my PC to Windows 10 last night, and just finished unlocking the bootloader on my HDX 7 without any difficulties whatsoever.

So, thanks for getting back with me, and thank you for putting together this amazing solution to a problem this community has faced for at least 2 years now.
[Kindle Fire HDX 7" & 8.9" General] draxie:
Hmm... That seems to be a recurring issue I've tried fixing,

but it seems my latest attempt didn't really work, either.

I'll need to take another look when I get more time.