yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" Android Development] Cl4ncy:
So you entered "reboot bootloader" at the ADB prompt, and "fastboot -i 0x1949 devices" at the Fastboot prompt - and there it hangs with "Waiting for device"? Note that you must have opened two DOS-boxes for these commands - one for the ADB command, and one for the Fastboot commands, although they both point to the same directory.

Did you create the .UNLOCK file correctly, and did you copy/move it to the ADB/Fastboot directory?

Which USB cable do you use? IIRC I used the original Amazon cable. Also try another USB port, preferable one at the back of your PC which is on-board, i.e. no front USB port.

Seems a bit weird to me that it doesn't work with those drivers.

Also ensure the correct drivers are still used, sometimes Windows installs the original MS/Amazon drivers if you dis- and re-connect the HDX.
[Kindle Fire HDX 7" & 8.9" Android Development] Tapeinos:
got it working!!

finally got the device recognised by the fastboot from windows. i was previously entering the bootloader through the twrp menu but this time i followed clancy's direction with the adb reboot bootloader command in the cmd prompt through windows and after this fastboot was recognised. (apologies if i was supposed to have done this from the start and i inadvertently wasted anybody's time). once fastboot recognised it i followed the python unlock instructions and according to the fastboot prompt on the fire its been unlocked (everything came back as ok and green)

last few questions before i move to nexus please -

how can i double check that it has indeed been unlocked? other than the initial green 'ok's' i cant see anything distinctly different to indicate it has..

ive copied the nexus rom and gapps to the internal stroage sd card directory, whats the best way to isntall please? should i goto the install option in twrp and select the nexus 4 rom? is this considered a dirty install? if so how do i do a clean install ie format main partition of fireos and then install the nexus rom?

will the device remain rooted and unlocked after this?

thank you
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Congrats!! You did not waste anyones time! The method used to enter Fastboot is irrelevant. I have seen Windows access work and fail regardless of whether the fastboot environment was accessed via adb command, twrp or by pressing the power button + vol-down from a cold start. Welcome to the world of Windows weirdness when it comes to adb/fastboot drivers and Kindle/HDX devices. Tonight I successfully connected to my second HDX using all three of the above methods. Yesterday I could not establish a connection when I was researching your issue even though the 'correct' drivers were installed. However, my primary Kindle connected just fine. I rebooted the host Windows machine this morning but otherwise no changes had been made. Both Kindles are identical. Go figure.

Regarding your questions:

- Try Fastboot -i 0x1949 oem idme. You will only get a response if unlocked.

- Flash (install) Nexus, gapps and SuperSU from twrp. Nexus v4 is not rooted by default; Flashing SuperSU will take care of that.

- To force a clean install access advanced wipe in twrp and select all partitions except 'Internal Storage' before flashing Nexus.

- Your device will remain unlocked unless you flash an full version of FireOS (eg: one downloaded from Amazon); never do this!

If not already done I strongly suggest you make full backup of your existing FireOS install from twrp. The resulting file will be quite large; you'll probably want to move it to your Windows machine before flashing Nexus. Simply tether your device and look for the backup in the TWRP folder. Once copied you can erase it from your device or leave it if you have sufficient room.

Keep in mind Nexus v4 does not have a preinstalled browser or file manager. After the initial setup one of the first things you'll want to do download ES File Explorer and the browser of your choice from the Play Store.

Have fun. Ask questions if something isn't clear.
[Kindle Fire HDX 7" & 8.9" Android Development] jeryll:
I want to correct you a little, according to this is safe to flash amazon updates under x.3.2.4, i actually did it several times (I only flash it in TWRP, but...) just to prove something to another user and I didnt lose unlock. Just FYI.
[Kindle Fire HDX 7" & 8.9" Android Development] Cl4ncy:
Great you got it working, enjoy Nexus! :D

I see your questions have been answered by Davey126, nothing more to say. ;)

Just remember to backup the FireOS and move it to your PC before Nexus Installation.
[Kindle Fire HDX 7" & 8.9" Android Development] omxx:
HI DR.D!

can i use this Safestrap on the firephone?:confused:

and thanks for the contribution you contribute to us!:good:
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Wow, thanks [MENTION=3370844]jeryll[/MENTION]! I don't know that.

FYI to the community: There are a few different ways to put FireOS on an unlocked device (or one running Safestrap). Some involved using a 'patched' image; others leverage existing vulnerabilities as noted by [MENTION=3370844]jeryll[/MENTION] and others. Be sure to ask before flashing as the answer is dependent on where you are coming from and desired FireOS version. Consequences of doing it wrong range from nothing to loosing capability (root and/or unlock) to a tough brick that may not be recoverable. In a previous post I erred on the side of caution and said 'never do this' but it can be done.
[Kindle Fire HDX 7" & 8.9" Android Development] Tapeinos:
thanks guys,

ok i backed up both the 3.1. and the 3.2.3.2 images and moved them both to my comp. ive copied an sdk of es file explorer and chrome sdk to my internal storage aswell as gapps, nexus 4.0.2 rom on ggow's thread and superuser sdk.

i then went into twrp advanced wipe, selected all partitions except internal storage and performed the wipe - successful. i then went into the install option, navigated to internal storage, selected the HDX_Nexus_ROM_Thor-v4.0.2.zip and swipe to confirm flash - this is where i ran into a problem - TWRP says 'Failed' and in the commentary box with the commands is the error message:

"Error executing updater binary in zip '/sdcard/HDX_Nexus_ROM_Thor-v4.0.2.zip'

any ideas what this means? above the command box which contains this message it says zip install completed and below it says 'Failed' below which are home, wipe cache/dalvik and reboot system buttons...
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
This one is best answered by [MENTION=5749760]ggow[/MENTION]. A couple quick thoughts:

- try downloading Nexus again; possible the copy on your device is damaged

- reboot your Kindle and try again (unlikely solution but easy to do). You may have to use power + vol-up to access twrp as the system partition has been wiped.
[Kindle Fire HDX 7" & 8.9" Android Development] Cl4ncy:
Suggestion is to check the md5, and re-download if it's different, then check md5 again.
[Kindle Fire HDX 7" & 8.9" Android Development] Tapeinos:
its working, i was a little hesitant to reboot it before without an os iunstalled but i just went ahead and did it and went back into twrp and did the procedure again. the rom installed and now im successfully booting into nexus. thanks for all your help, really much appreciated :)
[Kindle Fire HDX 7" & 8.9" Android Development] Cl4ncy:
Great you got it working. :D Enjoy Nexus.
[Kindle Fire HDX 7" & 8.9" Android Development] Tapeinos:
thanks, really couldnt have done it without you and davey :)
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
[MENTION=6831740]Tapeinos[/MENTION] - Glad you got Nexus v4 working! As for verifying MD5 checksums I recommend Hash Droid which can be downloaded from the Play Store. You'll find this tool handy the next time you need to flash an update (eg: Nexus 4.0.3 which should be out shortly) and want to confirm the integrity of the downloaded file on your device.

Edit: I just discovered (probably the last person on earth) that ES File Explorer can calculate MD5 and SHA-1 checksums for many objects. Long press the file and then select 'properties' from the overflow (3-dot) menu. Volià! No need for another app.
[Kindle Fire HDX 7" & 8.9" Android Development] Grtschnk:
Solution: Can't boot into safestrap -> Check space on system

Just posting a relpy for someone who might run into the same problem as [MENTION=3666613]djclark25[/MENTION] , who already fixed the problem, and me. http://xdaforums.com/showpost.php?p=61682661&postcount=131 thanks to him I could fix it. :good:

Before installing Safestrap make sure to have enough space on the system partition. >15 MB

Nothing bad will happen (AFAIK!) , you'll get scared by a grey boot logo, but after a force-restart you can go back to your ROM and fix the problem. (When choosing safestrap the screen will just turn black)
[Kindle Fire HDX 7" & 8.9" Android Development] veaceslav:
Any progress with fixing secondary slots?
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Another user reported (today) that wifi works on CM11 in secondary slots. I ran a quick test and confirmed his findings. Haven't had time to verify stability or whether is works with other Safestrap v4 compatible roms (FireOS and Nexus). At this point I'm thinking CM11 only as prior tests with other roms yielded no connectivity from secondary slots and nothing has changed with the underpinnings (that I know of).
[Kindle Fire HDX 7" & 8.9" Android Development] wcparry:
Advice?

I did this, and it will no longer boot into recovery at all. Just sits at "Amazon Kindle" in all grey. I can boot to the OS, and everything works except I can no longer get into settings to enable USB debug, and I can't obviously get into any kind of recovery to reset to factory. (I've tried every trick in every menu to get into settings, and it just closes the slide out menu) Any advice from anyone?

Perhaps this isn't the right place and if not could someone please point me in the right direction? I've spent hours reading through everything I can find even remotely related, and see no other options.

The tablet was free and I had downgraded to update-kindle-13.3.1.0_user_310079820 to gain root and all, but didn't get that far. I'm not too upset but learning and wanting to know how and why. It acts as if the boot image is corrupt, but without ADB ability (Again, can't get into settings) I don't see how I can do anything.

Thanks! And I apologize if I stepped in the wrong place, I usually find what I need with a bit of work, but thus far I haven't found any good information. I have an Asus and there's a good step by step to recover the boot.img with a factory version, but again without ADB well, yeah I don't know if that's even possible with this Fire.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Your post is a little confusing. So you downgraded to 13.3.1.0, never obtained root then attempted to install Safestrap v4? Sometimes the device hangs at the grey Kindle splash screen; other times you can get into FireOS but have little/no control over device settings? Please clarify - thanks.
[Kindle Fire HDX 7" & 8.9" Android Development] wcparry:
I downgraded, obtained root, attempted installation of this and TWRP. There is no recovery (Grey Kindle Fire screen when you try to get into recovery) and no settings anywhere at all in FireOS.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Safestrap v4 is not compatible with FireOS v3 as clearly stated in the OP. It's amazing your device boots at all. If FireOS remains somewhat functional you can try to install Safestrap v3 from here. Instructions here. If successful you

may

be able to restore a fully functioning version of FireOS (ask for help if you get that far!) or flash an older rom such as Nexus v1/2. Those are the ONLY roms that are compatible with Safestrap v3.

As an aside there was no reason to install Safestrap along side native TWRP. Safestrap is an alternative to TWRP for those that can not downgrade. Tough outcome that you probably could have avoided.
[Kindle Fire HDX 7" & 8.9" Android Development] niksssss:
Hey guys Mounting Storage and adb does not work for me. Any ideas ? I have factory reset my tablet after installing a rom that does not boot. Now I am stuck with empty storage and safestap. How can I push a new rom to the device ?
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
You can't - unless you made a twrp backup of your previous working environment after installing Safestrap and left it on your device in internal storage which does not get wiped by a factory reset. That is where ROM candidates should be placed as well. Sorry, mate.
[Kindle Fire HDX 7" & 8.9" Android Development] niksssss:
But is it normal that Mounting USB and adb don't work ? I still have safestap, can't I do something from it ?
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Unfortunately, host connectivity is not operational in Safestrap v4 recovery mode.
[Kindle Fire HDX 7" & 8.9" Android Development] EncryptedCurse:
Unless you can boot into it, no.
[Kindle Fire HDX 7" & 8.9" Android Development] niksssss:
I can open safestap.
[Kindle Fire HDX 7" & 8.9" Android Development] EncryptedCurse:
Sorry, I didn't read into your situation.

Unless you can somehow get ADB working (try under Linux?), there's nothing you can do.
[Kindle Fire HDX 7" & 8.9" Android Development] niksssss:
Has someone managed to get adb working on safestap ? Also should I click on the ADB Sideload option or just try when I boot safestap ?

EDIT: I managed to get adb working using Mac OS. Thanks a lot for the help guys ! I was on the way of ordering a new motherboard from ebay. Thank god it didn't come to that.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Nice find! Suggests windows drivers may have been the culprit. Previous testing indicated Safestrap v4 did not support any form of host communication. Your discovery will help others caught in a similar situation. Thanks again.
[Kindle Fire HDX 7" & 8.9" Android Development] niksssss:
Yeah so the problem comes from the Windows Drivers. I guess it should work on Linux too ! I am using a hackintosh (not a real mac) if it matters. If anyone has any questions, I would be more than happy to help.
[Kindle Fire HDX 7" & 8.9" Android Development] m4r0v3r:
when I install nexushd onto stock, do I need to wipe stock first? or do I install over?
[Kindle Fire HDX 7" & 8.9" Android Development] EncryptedCurse:
Install over it. Make sure to take a backup beforehand.
[Kindle Fire HDX 7" & 8.9" Android Development] m4r0v3r:
ah cheers :) ive backed up so should be alright. it went perfectly, i have an actual useful tablet now :)
[Kindle Fire HDX 7" & 8.9" Android Development] Redwood36:
My HDX 7 in running Romcook Nexus 2.0.5 / Safetrap 3.7.5 and now I would like to upgrade to Safetrap 4.0.1. Is it safe if I do steps as in below?

1.	Go to Recovery Mode, install KFOS Thor 13.3.2.1.0.zip to Stock Rom

2.	Reboot, set no WIFI

3.	Uninstall Safetrap 3.7.5

4.	Put update-kindle-xx.4.5.2_user_452004120.bin on folder root.

5.	Update firmware to 4.5.2

6.	Reboot, Set no WIFI

7.	Install over ADB root app, Safetrap 4.0.1

8.	Go to Recovery Mode

9.	Install Nexus Rom v4 and Gapp
[Kindle Fire HDX 7" & 8.9" Android Development] Cl4ncy:
You're currently on a Fire OS version <=3.2.3.2 (you mentioned 3.2.1.0)? You sure you want to update to 4.5.2 then?

I'd suggest to use TWRP and unlock the bootloader instead. Would open the wonderland of HDX ROMs. ;)
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
I am unfamiliar with Romcook nuances but should be irrelevant given Safestrap 3.7.5 base. You might have two paths depending on the underlying version of FireOS that was on your device prior to installing Safestrap:

- v13.3.0.0-13.3.2.3 -> can unlock bootloader for more robust selection of roms and greater recovery capability

- v13.3.3.0-13.3.2.6 -> can rollback and then unlock bootloader

- v13.3.26 and above -> bootloader unlock unavailable; Safestrap v4 next best option

You can not flash a 'stock' KFOS under Safestrap (probable brick); use one of the SS variants here. At present only 3.2.6 is compatible with your version of SS. I believe 3.2.8 will be available shortly which may be safer given Amazon implemented anti-rollback protections after 3.2.6. Really depends what was on your device prior to overwriting the stock slot. Steps #2-9 are fine with the possible addition of blocking OTA on 4.5.2 if you plan to retain that (not an option with Nexus v4 but viable choice if using CM11 in a secondary slot). Bounce back with any questions.
[Kindle Fire HDX 7" & 8.9" Android Development] Redwood36:
Thanks for your recommends.

I really don't see any clues about last Fire OS version before RomCook Nexus was installed, beside Safetrap 3.7.5 in running. May be I should listen to you "unlock bootloader" since this way is shorter for me ... :)
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Without knowing the previous bootloader/kernel/recovery version (no way to query them either) the only safe path is upgrading to FireOS 4.5.2 followed by Safestrap v4. Even this carries some risk of a component mismatch when you flash the 3.x.x rom. Suggest backing up you current Nexus implementation and leaving it on the device. That will provide some recovery capability if FireOS refuses to boot but you can still get into Safestrap recovery. There is no way to jump directly to FireOS v4 - you have to reintroduce v3 and that go through the embedded upgrade process (essentially emulating an OTA with a preloaded image).

Keep in mind the risk. If you device is working fine now you may want to stick with RomCook Nexus. For most Jelly Beans taste better than bricks. ;)
[Kindle Fire HDX 7" & 8.9" Android Development] Redwood36:
I intend to do following this :

http://xdaforums.com/kindle-fire-hd...der-unlock-procedure-software-t3030281/page10

For unknown Fire OS "stuck" on HDX, that is running Safetrap 3.7.5, steps I should go:

- Install Fire OS 13.3.2.6 over Recovery

- Roll back to v13.3.1.0

- Unblock Bootloader

- Install TWRP

Any comment?
[Kindle Fire HDX 7" & 8.9" Android Development] Redwood36:
RollBack for HDX7 ..

I can not update firmware mannually.

When I select "Check Now" in System Updates>Updates , It say "No Network Connection" and require "Wireless Settings".

Current Version of Build Number is 13.3.0.0_User_300079820.

I already copied this file "update-kindle-13.3.1.0_user_310079820.bin" to internal storage of HDX 7.

How do I fix it?
[Kindle Fire HDX 7" & 8.9" Android Development] Cl4ncy:
Considering the Safestrap version you're using (3.75) you can not be on 13.3.1.0, so you were on 3.2.3.2 or higher.

So I'd suggest you try to unlock your bootloader. If it works, you're on 3.2.3.2, if it fails you're on 3.2.4 or higher.
[Kindle Fire HDX 7" & 8.9" Android Development] Redwood36:
I already unlock "recovery" from Safetrap 3.7.5 before update manually.

means, steps:

- Flash 13.3.2.6 from Recovery mode of Safetrap 3.7.5

- Root and change Build Number to 13.3.0.0 (also another test with 13.3.0.9)

- Install Safetrap 3.7.5 again over ADB

- Remove "Recovery" from Safetrap 3.7.5

- Reset to factory default

-copy xxxx13.3.1.0.bin into Internal Storage of HDX7

- turn on and goto System Updates > Updates

HDX7 still require connect to WIFI, and can not update manually !
[Kindle Fire HDX 7" & 8.9" Android Development] Cl4ncy:
What do you mean with unlock recovery from Safestrap?

You can NOT downgrade 3.2.6 by editing, check this thread, scroll down for 3.2.5/3.2.6 infos! Read the instructions carefully!
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
You are way off script and heading toward a brick. Reverse what you have done and follow instructions. Have patience; a question may go unanswered for a few days as we all have lives to attend to.
[Kindle Fire HDX 7" & 8.9" Android Development] EncryptedCurse:
Not sure if I'm following you correctly, but 3.2.6 can't be downgraded with a simple build.prop change.
[Kindle Fire HDX 7" & 8.9" Android Development] jamesgg:
Hello, I am not as knowledgable as 90% of the people here. So, I thought I run this by, before I potentially brick my device. My friend has a .3.2.3.2 recovery he created with safetrap. I currently have Nexus 4.0.4 rom flashed onto my stock rom slot.

Is it possible I can use his .3.2.3.2 recovery to restore onto my stock partition (using safetrap)? All in the hopes to ultimately flash twrp recovery onto my Apollo tablet.
[Kindle Fire HDX 7" & 8.9" Android Development] Cl4ncy:
If it's the HDX you downgraded to 3.2.8 then no, any attempt to flash a version below 3.2.8 will most likely brick the HDX due to Amazon introducing eFuse protection to prevent flashing previous versions.

Your available option with 3.2.8 is to update to 4.5.2 and use Safestrap v4 with any Safestrap v4 compatible ROM (i.e. Nexus or CM11, CM12 is NOT Safestrap compatible!), read the installation notes and requirements carefully!
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Prior to upgrading to 4.5.2 you must replace Nexus in the stock slot with FireOS v3 using one of the images from here. Do not use any other image (including your friends). Pick carefully; pay attention to the notes; ask questions if unsure.

If you are absolutely 100% positive the device was never upgraded past 3.2.6 then you can flash the 13.3.2.6 Safestrap compatible image linked above and then begin the lengthy rollback process. Note this is riskier than upgrading to FireOS v4 but, if successful, will ultimately yield a fully unlocked tablet that can run a wider array of custom roms.
[Kindle Fire HDX 7" & 8.9" Android Development] OdlG26:
Hello,

I am on stock 4.5.2 HDX 7 and rooted, disabled OTA and installed safestrap recovery. Unfortunately it seems to be stuck when rebooting into that recovery. Do you know what I might have done wrong?

http://xdaforums.com/kindle-fire-hdx/help/hdx-7-thor-v4-5-2-custom-rom-t3186346

Thank you in advance!
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
If you can still get to FireOS try disabling Safestrap Recovery (from within the SS app), reboot, reinstall SS recovery and and reboot again. If that doesn't work a factory reset (from the stock recovery menu) *may* help but it can also lead to bigger problems. I would not take that path until all other options are exhausted. Caution: never do a factory reset while Safestrap recovery is installed!
[Kindle Fire HDX 7" & 8.9" Android Development] OdlG26:
Thank you, I tried reinstalling the recovery like that, but after clicking "recovery" the screen still stays black. I feel unsure about a factory reset as I already have google play store installed (by previous owner it seems) and would lose that too or can I get that back via adb easily as well?

Oh, also SuperSU says it needs a binary update
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
First and foremost you need to address the SuperSU issue as it's possible you are not fully rooted. In my experience the binary update just works. You''ll need to do some homework if the update fails to take.

Safestrap v4 assumes a clean 4.5.2 environment during installation as it is not a true recovery (running in a dedicated partition) and has some dependencies on FireOS components. I am not close enough to the dev side to understand the gory details; someone will jump in if I'm talking out of the wrong orifice. Whatever happened to your device in its previous life may be impacting the ability for Safestrap to get up and running.

You could try rolling back to 3.2.8 and then upgrading back to 4.5.2 to purge the crud. Both operations carry a brick risk which may be magnified by the current state of your device. You can not reinstall 4.5.2 with a locked bootloader. Removing Google Play Services/Store might help although I can think of no specific reason which it should.

In absence of further information or thoughts from another experienced user you are going to need to do some experimenting which might yield the fruits of success or lead to an unrecoverable device. I would do some more reading and post your plan of attack before taking action. Good luck.