yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" General] XRiggedGaming:
For meh i checked and lastest version says Fire OS 4.5.5, how do i get it to the versions you put?!

---------- Post added at 01:11 AM ---------- Previous post was at 01:08 AM ----------

My update is Fire OS 4.5.5 , how do i make it so i can do the same steps as you did
[Kindle Fire HDX 7" & 8.9" General] agentbob123:
Before starting on any of this, my tablet was as such:

Kindle HDX 7" Thor

Firmware 13.3.2.4

Safestrap with Fire OS & Nexus Rom 4.2.2

I followed the step-by-step instructions in the XDA thread titled "[THOR] Successfully rolled back to 13.3.1.0 (Safestrap working)" by member "058515471" after reading the guide multiple times, confirming all the various pieces, etc, with the ultimate goal of unlocking the bootloader.

I successfully changed build.prop and checked the firmware info within Fire OS, which reflected the appropriate changes. I copied the 13.3.1.0 bin to the root of /sdcard, checked for updates, nothing. Factory reset, re-copied the file, still nothing. Another factory reset, copied the 13.3.2.5 bin file, it also said there's no updates.

When I connect to wifi & hit check, it says "last update failed."

At one point during all this, I realized I'd renamed the /system/etc/security/otacerts.zip file, so I renamed it back to its original name, then tried everything again. I'm still stuck at trying to either downgrade to 3.1.0 or upgrade to 3.2.5.

Thoughts on what I can do?
[Kindle Fire HDX 7" & 8.9" General] Cl4ncy:
So no down- or upgrade was applied successful? If you're still on 3.2.4 don't mess around with build numbers anymore, just flash the rollback image provided by [MENTION=5749760]ggow[/MENTION] via Safestrap. Read and make sure you undestand the procedure. Any questions just ask, before you brick your HDX!

Ensure you have WLAN off/flight mode active so you won't get updated by Amazon!

After the downgrade re-root and disable OTA via HDX Toolkit!
[Kindle Fire HDX 7" & 8.9" General] agentbob123:
Correct. I'm still technically on 3.2.4, though build.prop says I'm on 13.3.0.9_user_300079820 after the instructions in the article I referenced in my first post.

Before I follow ggow's link you posted, should I put my build.prop back to how it was, or is 13.3.0.9_user_300079820 fine? If it needs to be 3.2.4 can I please get the details to change back? My backup was lost when my computer's SSD died [goodbye data :( ].

Also, a couple questions about his instructions.

#2 says flash appropriate file - this means the Thor image at the bottom of the post, from safestrap, right?

After reading again, this is my understanding; flash the image given to the stock slot, which will give me a modified version of 3.2.4, which will accept the downgraded version of 3.1.0 provided by Amazon, flashed by way of "OTA" (via file at /sdcard) within Fire OS' device settings.

Is this all correct?

Also, I will be sure to stay offline until I disable OTA, for sure! :)
[Kindle Fire HDX 7" & 8.9" General] Cl4ncy:
Flashing the rollback image will overwrite the files, thus you don't have to worry about your edited build.prop. The rollback image is just a modified 3.2.4, so it identifies as 3.0.9 in order to get the update to 3.1.0 working. You can still create a backup of the current 3.2.4 with the edited build prop and move it to your PC though, who knows what it'll be good for. ;)

Regarding your questions: Yes, appropriate file means the Thor image. Note that the factory reset is just the standard wipe in Safestrap! Do NOT go into advanced wipe! And DO NOT wipe System!

Follow the instructions 100% correctly!

Ensure you have the stock 3.1.0 (also available here), copy it to the root of the sdcard, then update via device options.

Note that after this procedure Safestrap will be gone, so if you are on 3.1.0 (rooted and OTA disabled!) flash TWRP, then the 3.2.3.2 bootloader, and unlock the bootloader - description here and (after the installation of the required software and downloading the Python script) also here. Grab these drivers for the fastboot recognition of the HDX in Windows.

You can flash Nexus v4. CM11, CM12, or SlimLP then - read the installation instructions and requirements carefully! Be sure to backup your rooted/OTA-disabled 3.1.0 Fire OS in TWRP and move the backup to your PC before you flash any custom ROM!

One last thing:

If you have Nexus in a secondary slot, be sure to delete the secondary slot in Safestrap so the storage used by it will be free again.
[Kindle Fire HDX 7" & 8.9" General] agentbob123:
For easy understanding, purple text is your quotes that I'm responding in-line to. :D

Flashing the rollback image will overwrite the files, thus you don't have to worry about your edited build.prop. The rollback image is just a modified 3.2.4, so it identifies as 3.0.9 in order to get the update to 3.1.0 working.

Okay, perfect, just wanted to make sure to avoid starting a brick collection! ;)

Note that the factory reset is just the standard wipe in Safestrap! Do NOT go into advanced wipe! And DO NOT wipe System!

Follow the instructions 100% correctly!

I'm glad you clarified that - I probably would have done it right anyway, but it's good to know what to stay away from.

Note that after this procedure Safestrap will be gone, so if you are on 3.1.0 (rooted and OTA disabled!) flash TWRP, then the 3.2.3.2 bootloader, and unlock the bootloader - description here and (after the installation of the required software and downloading the Python script) also here. Grab these drivers for the fastboot recognition of the HDX in Windows.

Cool, that's definitely where I'm headed! I've got Linux, so I will probably use that for at least some of it, as I know people have had some crazy driver issues. I have definitely read through [MENTION=3510401]ceyo14[/MENTION]'s post, and it's definitely easy to understand! Which is great, because the original post left me lost (as thankful as I am to dpeddi for figuring it out in the first place).

You can flash Nexus v4. CM11, CM12, or SlimLP then

I was looking at some of those options, though I hadn't heard of SlimLP yet. While I am really enjoying Lollipop on my phone & Shield tablet, I'm possibly going to stick with Nexus v4 from [MENTION=5749760]ggow[/MENTION] (Kit Kat, right?), unless you think one of the Lollipop options is stable enough? ggow's Android 4.2.2 ROM has never let me down, it's always been super stable! I've got the 16GB wifi-only edition, by the way.

Be sure to backup your rooted/OTA-disabled 3.1.0 Fire OS in TWRP and move the backup to your PC before you flash any custom ROM!

That's a great idea, glad you mentioned it. And this time, I'll make sure to have the backup in a couple places to be sure I don't lose any more important data.

If you have Nexus in a secondary slot, be sure to delete the secondary slot in Safestrap so the storage used by it will be free again.

Ah, so flashing TWRP won't get rid of the secondary slot in SafeStrap?? Very good to know! I'll be sure to delete the second slot before following all the steps above.
[Kindle Fire HDX 7" & 8.9" General] DB126:
A couple comments:

- be aware text color and many fonts do not render properly on the XDA app and other third party tools used to access XDA content. Best stick to basic formatting.

- Nexus v4 rom is excellent, on par with Nexus v2 that you currently enjoy. Everything just works. Cm11 is also quite stable and feature complete. The two HDX cm12 variants are getting better with each iteration but still have some limitations which you can read about in their respective threads.
[Kindle Fire HDX 7" & 8.9" General] Cl4ncy:
TWRP will be flashed to the recovery partition, thus all other partitions remain unchanged.
[MENTION=3370844]jeryll[/MENTION] mentioned here how to remove the Safestrap slot leftovers in case you'll forget the slot removal. ;)
[Kindle Fire HDX 7" & 8.9" General] agentbob123:
Thanks for the heads up on formatting! I was thinking that the normal "QUOTE" thing would be a bit bulky/complex the way I was replying inline, but I'll keep what you said in mind in the future.

That said, thanks for the info about the ROMs - I think I'll stick with Nexus v4 for now, allowing the various groovy developers to make the LP ROMs stable. :)

Thanks for everything, Cl4ncy! I'll try this all out tonight or tomorrow once I get time after work! :)
[Kindle Fire HDX 7" & 8.9" General] agentbob123:
Okay, so I followed ggow's instructions in the rollback image thread, but after I copied the 3.1.0 file to /sdcard, it still said "Your software is up to date."

Waaaaaiiiiiit... while I was typing this, I noticed from the corner of my eye that the screen changed!

It did its thing, rebooted, and I'm now on 3.1.0! I've rooted & disabled OTA. I'll work on unlocking the bootloader in the next couple days, but I feel like this is a huge milestone. ^_^
[Kindle Fire HDX 7" & 8.9" General] DB126:
Congrats! I recall the feeling the first time I successfully rolled back and HDX. I suggest taking a couple more steps prior to unlocking:

- install TWRP which will provide improved recovery capability while reducing the complexity of some tasks (here)

- update your bootloader to 3.2.3.2 which addresses some glitches in 3.1.0 (here). Note this is only updates the bootloader; the remaining partitions are left as-is.

If you read through the posts you may notice conflicting prerequisites about unlocking and being on 3.2.3 before installing TWRP. While I recognize the reasons behind these statements the above sequence is also acceptable and yields some immediate benefits. The downside of flashing/installing stuff before unlocking is limited recovery capability should something go wrong. It's rare but does happen. In contrast, unlocking is relatively safe but takes some patience especially if windows drivers prove to be problematic.

Feel free to post any questions/concerns.
[Kindle Fire HDX 7" & 8.9" General] agentbob123:
Hey, I'll look at flashing TWRP next at your advice. :)

As you said, I had thought that unlocking had to come before that, but it's cool to know there's options.

I do have a few questions:

For the dd line below,

dd if=/sdcard/signed-<device>-twrp-2870.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery

the "of" portion of it - type that exactly, right? The "by-name/recovery" is the actual phrase to use here? Just wanted to be sure, as I didn't know if it's a variable referencing something else I should type (though I'd think not, since the "<device>" portion uses angle brackets to indicate it as a variable).

Once I get to unlocking, is there a Linux guide for that portion, since it's been mentioned to be easier?

Also, a semi unrelated question. I saw mention of people talking about replacing bootloaders with other bootloaders. I think they said that's not possible on this device, but what's the purpose/benefit?
[Kindle Fire HDX 7" & 8.9" General] DB126:
I don't recall seeing a guide specific to Linux but most of the instructions apply regardless of host OS. Several folks in the community are well versed in Linux and can help if needed.

A custom bootloader can provide additional capability (or bypass restrictions) present in the stock bootloader. None exist for HDX so it is a moot topic beyond the obvious caution of not attempting to flash anything to the boot partition unless explicitly advised to do so by an experienced contributor.
[Kindle Fire HDX 7" & 8.9" General] Cl4ncy:
The <device> is related to Thor or Apollo in the TWRP image file names, i.e. if you flash the 7" Thor image it must be signed-thor-twrp-2870.img - you can rename the file to twrp.img though, just keep in mind you must change it in the command as well. ;)

The rest of the command is to be entered 100% as mentioned, i.e. yes, that is the actual phrase to use.

If you've expierence with e.g. Flashify you can use that, just be sure to flash the TWRP image to the recovery partition!

Regarding Linux I'm not sure whether there's some guide here. Look at the two I linked to, the software & script you need are the same. If you've a problem with that, use the adb commands to get your ID and serial, I'll create the unlock file for you then, but actual unlocking is something you have to do yourself. ;)
[Kindle Fire HDX 7" & 8.9" General] agentbob123:
Major success!

Unlocked the bootloader using Linux (Python already installed, just had to install some plugin for it to do its job), flashed TWRP, didn't see it upon restart - remembered it's not like SafeStrap, appearing every time. Rebooted into recovery via ADB, backed up 3.1.0, flashed 3.2.3, and eventually installed Nexus 4.

I have it working, but I just realized that I don't have a Titanium Backup of my apps, though I do have a SafeStrap backup of the earlier Nexus ROM.

Would it be safe to restore the SafeStrap backup via TWRP to grab a copy of all my apps, then re-flash Nexus 4, so I can restore those?

I want to thank [MENTION=5749760]ggow[/MENTION], [MENTION=6815340]Cl4ncy[/MENTION], and [MENTION=5488402]Davey126[/MENTION] for getting me this far!
[Kindle Fire HDX 7" & 8.9" General] DB126:
Unfortunately, no. Safestrap backups are not compatible with native TWRP. However, you could reinstall Safestrap v3 and then do as you propose with Titanium. Be careful what you do as it easy to forget which environment you are in. Also note Safestrap v4 is NOT compatible with your current configuration. Attempting to install that version will yield a brick.

In your shoes I would skip the restore attempt and just reinstall apps fresh. Play store apps may even have some core settings restored depending how you had Google sync configured.
[Kindle Fire HDX 7" & 8.9" General] Cl4ncy:
Great you got it unlocked. TWRP can be accessed this way: HDX must be powered off, then press and hold volume up, then press and hold the power button, release both when the grey Kindle Fire logo appears on screen.

As [MENTION=5488402]Davey126[/MENTION] said, the backups aren't compatible, and I wouldn't recommend to install Safestrap v3 either. so I'd do as [MENTION=5488402]Davey126[/MENTION] suggested and do a fresh installation of the apps via the app store(s).
[Kindle Fire HDX 7" & 8.9" General] agentbob123:
Thanks for the advice guys! I found the recovery steps last night after another adb reboot recovery ended in weirdness.

I think both of you are right about reinstalling safe strap not being worth it. I have most of the same apps on my phone, so I'll just use those instead for titanium backup. I'll keep the safe strap backup around in case I realize there's something absolutely important I need.

Aside from the above, things seemed a bit less reliable for some reason, but it could just be the new setup blues. I'll let you all know if anything comes up.
[Kindle Fire HDX 7" & 8.9" General] DB126:
You might see a few "unfortunately, xxx has stopped" messages until gapps auto updates and 'settles in' (don't know what else to call it ... probably rebuilding caches). This happens silently unless you have some mechanism (eg: AV software) that alerts you to background changes. Unexplained device lag is another clue Google components are being updated. Typically takes a couple hours in my experience. A reboot or two can speed things up.
[Kindle Fire HDX 7" & 8.9" General] agentbob123:
Something I forgot to ask about - the Nexus ROM came with Towelroot v1, but when I run it ("Make it ra1n"), after several seconds it says it's stopped and to restart the tablet. On ggow's thread for the ROM, it says to flash SuperSU, but when I click the link, it goes to chainfire's thread about the Play Store app. Thoughts on how to get root going? I realized this morning after copying my TB files over, and Titanium complained it didn't have root. :P
[Kindle Fire HDX 7" & 8.9" General] DB126:
Yep - use the link in the Nexus v4 OP or from your favorite apk mirror to snag SuperSU 2.4.6. Reboot to recovery (twrp) and flash in the usual manner. You should have root privileges on the next system boot.

To my knowledge Towelroot doesn't work with Nexus v4. I had great success with this wonderful exploit on a wide array of devices/roms but never tried on KitKat variant of Nexus as flashing SuperSU was a straight forward, single step solution.
[Kindle Fire HDX 7" & 8.9" General] agentbob123:
Weird that it came with Towelroot, haha. After I went back to the Nexus post, clicked the link for SuperSU, and re-read that thread again, I realized that below the Google Play versions, was the flashable version. Downloaded, flashed, rooted, running Titanium. :D
[Kindle Fire HDX 7" & 8.9" General] dragoncurt:
Hi I have done these steps but I now go into supersu to update the binary but when I try to it says " installing failed ! ". Don't know why either and tried installing the app again.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Did you root with Kingroot as was suggested here:

http://xdaforums.com/showthread.php?p=63150924

If you are already rooted and plan to install Safestrap v4 forget about SuperSu for now as it can be installed (flashed) later from within Safestrap.
[Kindle Fire HDX 7" & 8.9" General] dragoncurt:
Oh thank you I was thinking of doing that but did not know if it was safe to do. Thanks for the quick reply. :) Much appropriated.

---------- Post added at 03:20 PM ---------- Previous post was at 02:49 PM ----------

Hi sorry to bother you again but the link for safestrap is not working also tried getting google to get one but no luck. Is there another link.
[Kindle Fire HDX 7" & 8.9" General] Cl4ncy:
What do you mean the link for Safestrap is not working? You're on Fire OS 4.5.2, so you have to use Safestrap v4, the download links mentioned there work fine for me? :confused:
[Kindle Fire HDX 7" & 8.9" General] dragoncurt:
Oh is it. It looks as if it is trying to load but it comes up with nothing. Is there anyway you could send it to me if you don't mind. sorry for the bother.

---------- Post added at 03:50 PM ---------- Previous post was at 03:49 PM ----------

Oh don't worry it is working now. Thanks for the help.

---------- Post added at 03:56 PM ---------- Previous post was at 03:50 PM ----------

Can I now just install a custom rom in safestrap now.
[Kindle Fire HDX 7" & 8.9" General] Cl4ncy:
You're rooted, OTA disabled and Safestrap v4 installed?

Do a backup of your Fire OS and copy it to your PC before you flash any custom ROM!

And read the installation notes and requirements of the ROM you want to install carefully! Note that CM12 & SlimLP are NOT Safestrap compatible!

Also note that secondary slots in Safestrap v4 are consuming more battery, also Nexus v4 does NOT work in a secondary slot (WLAN won't work)!

Therefore it's recommended to flash the ROM to the stock slot, ensure you read and understand the dangers of using the stock slot!

And never use the Amazon stock recovery factory reset!
[Kindle Fire HDX 7" & 8.9" General] DB126:
First thing you should do is backup your current rom (FireOS v4.5.2 in the stock slot) from within Safestrap Recovery. This will create a sizable file on your device; short term leave it there for recovery purposes should something go wrong. Also suggest returning to FireOS and copying this file to your PC for safe keeping. Then download the Safestrap v4 compatible rom of your choice (Nexus v4 or CM11). Verify md5 on your device with ES File Explorer (or hashdroid). Nothing can ruin your day faster than attempting to flash a corrupt image. Also download SuperSU if directed to do so in the rom OP. Leave both files in 'internal storage' (root of sdcard). Read directions in rom op and subsequent posts carefully before proceeding. Lots of people screw themselves in the final 100 yards rushing to the finish line.

BTW - don't bother creating secondary slots in Safestrap v4. Only CM11 is fully functional in a secondary slot but imposes a huge hit on battery life. Stick to the stock slot.

Caution: Don't go off-script and attempt to flash any other rom; a sure-fire brick awaits if you try either of the lollipop roms in SS v4 or the one suggested by your buddy. :cool:

Edit: Despite the similar posts I swear [MENTION=6815340]Cl4ncy[/MENTION] and [MENTION=5488402]Davey126[/MENTION] are not the same person! lol. Sorry for the redundancy ... :)
[Kindle Fire HDX 7" & 8.9" General] dragoncurt:
Oh thanks you both for your time into helping me I am more than grateful for people like you who go out and help others. I understand you both about the information and will go ahead now. Thank for very much both. And oh I get you because I had messages the other person.

---------- Post added at 05:06 PM ---------- Previous post was at 04:31 PM ----------

Hi again. sorry for the hassle if it's bothering you. I have just installed Nexus v4 but when I boot it up it says safestrap is not enabled . Is that okay like that and also the boot screen from Nexus v4 comes on but looks like its either trying to load but don't think it's not working because of nothing loads apart from that. Sorry for all the messages. ( Good job I made a backup then :)
[Kindle Fire HDX 7" & 8.9" General] DB126:
Safestrap disabled is normal as you loaded Nexus v4 into the stock (default) slot. I won't get into the full background; just know that it's ok.

If Nexus won't load return to Safestrap recovery and perform a 'factory reset' from the 'wipe' menu. This is accomplished via the slider at the bottom of the wipe menu. Do not go into 'Advanced Wipe'. The reflash Nexus v4, gapps and SuperSu and reboot. Should fix the problem.
[Kindle Fire HDX 7" & 8.9" General] dragoncurt:
Hi. Great news, it's working. Thank you for the help. I would have not done it without the help. Thank you ever so much. I am much appreciated about the help. If I can help anyone I will like to help people in return for people like you who help me. Would you recommend anything else to add to this to make it better in anyway apart from google apps.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Thoughts:

- make a backup of your current setup and copy it to a host for safe keeping. After a few days you can delete the copies resident on your device to free up space (if needed).

- use your device for a few days to make sure everything is working correctly. Minimize 'tweaks' during this period.

- ditch the default launcher in favor of Nova (what I use) or Apex.

- Xposed Framework supports many modules that can expand the functionality of your device (personalization/customization). Personal favorites include Gravity Box, Greenify and XInstaller. Other modules allow you to add lollipop like features to aosp roms like Nexus v4. Suggest you go slow with Xposed as it does have the potential to mess up your device if used improperly.

Enjoy your liberated device!
[Kindle Fire HDX 7" & 8.9" General] dragoncurt:
Hi. Thanks for your ideas I may try them. I can't seem to login to google play store as I have got 2FA setup on it so when I get the code on my phone I put it in but just loads up google's website about my account and does not log me into the play store. I'm trying to figure out a way to make it work. Thank you for all the help. You're great person. Thank you
[Kindle Fire HDX 7" & 8.9" General] DB126:
For awareness I also use 2FA and have not experienced any issues accessing Google services including the play store. Thoughts:

- Verify your device has current versions of Play Services (8.1.15) and store (5.9.12). Both should auto update after a few boots.

- Might try poking around in the Google Settings app which should have been installed with gapps. May find something relevant.
[Kindle Fire HDX 7" & 8.9" General] dragoncurt:
Hi. oh and what I have done is disable 2FA then sign into google play store. I have since set it up again now. And is working fine on the tablet. Thanks for the help. Much appreciated.