yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" Android Development] B3NJY:
lol have to admit they always have through all my devices...updated to safestrap 4 and installed nexus 4 to stock and rebooted the coloured balls have been spinning an awfully long time so maybe speaking to soon.....
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
- I don't think I'll be updating Safestrap yet

- I was waiting to see if our devices would get FireOS 5 to start investigating an update

- I'll keep in mind for the future.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Return to SS recovery, perform a factory reset (optionally reflash rom) and restart. Should fix the problem. Also review the OP for recommended install procedures. Caution: don't perform a full wipe unless you have a replacement image within protected storage (on device) as tethering options within Safestrap v4 do not work.
[Kindle Fire HDX 7" & 8.9" Android Development] B3NJY:
With that info its job done its superb thank you for your work in the community its greatly appreciated ?
[Kindle Fire HDX 7" & 8.9" Android Development] zach61797:
Can the same process used to give the amazon fire cm 12.1 be used on the hdx? Thanks a lot??
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
- Sorry about not answering over on the other thread but there are so many variants of these devices that it can get confusing quickly.

- No it can't because lollipop requires a new kernel.

- but you can run either cm11 or hdx nexus rom 4 if you are on 4.5.x firmware
[Kindle Fire HDX 7" & 8.9" Android Development] zach61797:
cant one be created or use the one they use on unlocked bootloder roms?
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Well if it were that easy [MENTION=5749760]ggow[/MENTION] or another dev would have done it already. Good thing you asked.

CM11 or Nexus v4 are fine options for the HDX. Don't get your panties in a knot about CM12. Add a few Xposed modules to CM11/Nexus and they look a lot like lollipop.
[Kindle Fire HDX 7" & 8.9" Android Development] EncryptedCurse:
Technically, yes, but running Safestrap with an unlocked bootloader and TWRP installed is a bit redundant.
[Kindle Fire HDX 7" & 8.9" Android Development] zach61797:
Not what I was saying ggow made a cm 12.1 ROM for the amazon fire and it is on a locked bootloader. I was wondering if he could do the same with the hdx he said it needed a kernel so I was wondering if he could make one that would work like he made the one on the fire so locked users could get lollipop. Thats all I was wondering
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
- The thing here that differentiates what I was able to do on the Amazon Fire vs HDX is that the Amazon Fire has stock FireOS 5, the HDX only has stock FireOS 4

- The FireOS 4 kernel cannot be used to boot lollipop as is.

- Still no word from Amazon on whether or not the HDX will be getting FireOS 5.
[Kindle Fire HDX 7" & 8.9" Android Development] anonymous93:
Kindle HDX 7" - "thor" Rooted from 4.5.2 with safestrap installed. What to do next?

I read in a few spots that I should make a back up of the amazon os and store it off the kindle in my pc. How do I do that?

This means that the only thing on the kindle after I install the custom ROM is the custom ROM, right?

CM11 or nexus v4? It's mentioned in 1 or 2 posts that CM11 is not as stable in the HDX environment as the nexus. Is that still the case?
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Thoughts:

- Assume you have blocked FireOS OTA by renaming DeviceSoftwareOTA.apk (located in /system/priv-app/)

- Latest builds of Nexus v4 and CM11 are stable and feature complete. The choice boils down to UI preference and 'value add' features. Nexus is close to AOSP (generic Android). CM11 has various UI customizations along with additional features that typically require Xposed modules (or equivalent) on Nexus. I use both but have a slight preference for Nexus.

- To backup FireOS use the backup function in Safestrap recovery. Once complete return to FireOS, tether your device, locate the backup files (they will be big!) and copy to the host. Leave a copy on the device until you have Nexus or CM11 installed and running smoothly. You can then delete from device to recover space (typically several GB).

- To install Nexus or CM11 follow the directions (carefully) in the relevant OPs. You will be overwriting FireOS in the stock slot. Don't bother with secondary slots; most HDX roms do not work secondary slots. Those that do have issues. Also, it is very easy to brick your device restoring backups that were created from secondary slots.

- Always leave a copy of the Nexus and/or CM11 image on your device for recovery if needed. They are relatively small in size (few hundred MB) and the only way you can recover your device should it fail to boot the OS (assuming you can still access Safestrap recovery).

- See this video for a quick Safestrap Primer (min 6-11) on backing up and installing roms. Ignore the device specific references as they obviously don't apply to the HDX.
[Kindle Fire HDX 7" & 8.9" Android Development] anonymous93:
Yes, I had blocked FireOS OTA Updates.

Thank You! You guys are amazing!

I chose Nexus 4, got it and gaaps installed. Created a backup of the nexus rom on my device. I'm doing the SuperSU next and I'll be all set!

Edited to ask: When I first booted up the device after installing nexus v4 it said something about updates. Are updates blocked already or should they/are they already blocked?

I rooted the fire os with the cve file, can I root the nexus os with the same file or should I use kingroot? The nexus 4 link says to install supersu if I want root, but that's for os that's already rooted.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Glad things are working well. You probably know this already but in case not: best to flash SuperSU in Safestrap recovery vs trying to install apk. Flashing works better and grants root in one quick step. Once your settled with Nexus might want to check out Xposed for additional customizations. Some pretty cool modules. Suggest starting with Gravitybox. Have fun!
[Kindle Fire HDX 7" & 8.9" Android Development] anonymous93:
I did not already know that, so thank you for pointing that out. The supersu page didn't have a clear link to the apk, but I did find it.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
FYI - this is the pup you want (latest non-beta version):

www.apkmirror.com/apk/chainfire/supersu/supersu-2-46-android-apk-download/
[Kindle Fire HDX 7" & 8.9" Android Development] anonymous93:
Hmm, that's not the link I used. On this page: http://xdaforums.com/showthread.php?t=1538053

Was this link: https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip

Used it and it worked. Not sure how different the one I used was compared to the one you posted.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Functionally identically; just packaged differently.
[Kindle Fire HDX 7" & 8.9" Android Development] matt101:
I cannot Restore any Backups. I have Safestrap 4.01 installed on my KF 8.9 HDX (3GEN) running 14.4.5.2. I created a stock backup and attempted to restore to Stock as well as Slot 1. Each time Restore fails after the mesg, "Restoring System ...". I've rolled back and forward to 4.5.2 just to make sure. Seems it is able to erase /system but having problems writing to /system.

Any recommendations? THx
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
It seems you are attempting to validate backup/restore functionality prior to installing a different rom. Normally this would be a wise exercise (validating integrity/restorability of backup images) that is often neglected. Unfortunately, due to the way Safestrap v4 works backup and restore presents some challenges that could easily result in a bricked device with no chance of recovery...especially when messing with 'stock' (slot 0) images. Key points:

- Stock images should NEVER be restored to secondary slots nor secondary slot images to the stock slot. During installation some critical Safestrap files appear to be written to the stock slot. Restoring a secondary slot image to the stock slot destroys these files and Safestrap v4 recovery itself. Result is an unbootable device that can not be recovered (assuming a locked bootloader).

- Given the above, restoration of any image to the stock slot carries a certain risk if the Safestrap files are not properly written. Therefore testing restorations may not be the best choice given the potential consequences.

- Backups created in 'native' twrp and/or other Safestrap versions/implementations are not compatible with Safestrap v4.

- To maximize recovery capability always keep a stable rom install package (img or zip) in the root directory of your device as there is no way to copy files into Safestrap v4 recovery. Most roms are only a few hundred MB and can be a device saver if the stock slot becomes corrupted (assuming you can still get into Safestrap). You don't need any of the optional supporting images like gapps or dolby.

- I recommend not creating/populating secondary slots due to their limited functionality in Safestrap v4. The only rom that runs in a secondary slot is CM11 and it suffers severe performance and battery drain issues in that configuration. Secondary slots significantly increase the potential for human error ruining your day - especially when backup/restores are involved.

I do not have an immediate explanation why the stock restore is failing. My guidance is to stop messing with it as there are other recovery/reimage options, including FireOS 4.5.2, that can be used should you have a need to return to stock.
[Kindle Fire HDX 7" & 8.9" Android Development] matt101:
You sir, complete me. Thanks for such a well worded and thoughtful response. I understand and appreciate you taking the time to give guidance and feedback.
[Kindle Fire HDX 7" & 8.9" Android Development] Gatam77:
Videos at this post are out of date

Dont follow this videos when you use Safestrap 4. Both videos was done with Safestrap 3.7 and now are out of date!!

Now stay in the Stock Rom while you install your custom rom. At this time I have no link to a video or post in the forum.

Except this post - Number14 at the second side in special where I get help from Davey126 while I install CM11 on my HDX 8.9 LTE HERE(much to read but for me and maybe you to very helpfull)

Download

*** Please do NOT create any mirrors ***

- Safestrap for THOR

- Safestrap for APOLLO
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
As noted by [MENTION=5804032]Gatam77[/MENTION] the videos were made for a different version of Safestrap. It is still useful as an overview/introduction to Safestrap controls and functions. However, recommendations around slot creation and where to flash ROMs are not applicable to Safestrap v4.

Safestrap v4 is an adaptation of v3 (no longer maintained) that permits a limited number of custom ROMs to run on two specific devices: Fire HDX 3rd Gen Apollo and Thor. It should only be used as advised. Details can be found in this thread. Keep reading.

All credit goes to [MENTION=5749760]ggow[/MENTION] who created Safestrap v4 and maintains a suite of custom ROMs (currently CM11 and Nexus v4) that are supported by this version. If you appreciate his work please scroll down to the first post and whack the 'thanks' button to show your support.
[Kindle Fire HDX 7" & 8.9" Android Development] ikoretsky:
when will Safestrap for Saturn ?
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Not for awhile (if ever); several perquisites need to occur plus developer time/resource to preform the work.
[Kindle Fire HDX 7" & 8.9" Android Development] dulpit:
Just wondering - is there an easy/straightforward way to remove safestrap and return to 100% stock? I'm using a Thor...

Thanks in advance!
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Yes. Procedure documented in this and cm11 threads (so won't repeat here). Involves flashing custom version of FireOS v4.5.2 then removing (uninstalling) Safestrap. Works well if your device is not otherwise experiencing problems.
[Kindle Fire HDX 7" & 8.9" Android Development] Defendia:
Fire os 4.5.5.1 still Works on this safestrap version?

Fire os 4.5.5.1 still Works on this safestrap version?
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Safestrap v4 has been shown to be compatible with FireOS v4.5.5.1 on 3rd gen devices with no persistent issues reported to date. However, the developer has not made any statements regarding SS v4 compatibility with any version other than 4.5.2.

Based on the above and numerous user reports I feel Safestrap v4 on FireOS 4.5.5.1 is a reasonable choice given complexities/risks associated with the alternative (rollback/upgrade FireOS to 4.5.2).
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
- I can confirm Safestrap v4.0.1 is compatible with FireOS versions 4.5.2 to 4.5.5.1.

- CM-11 and Fire Nexus ROM in the next versions will switch to using the latest 4.5.5.1 binaries.

- Nexus HDX ROM will remain frozen as is

EDIT: Updated OP with Compatible FireOS versions
[Kindle Fire HDX 7" & 8.9" Android Development] BobJayJr:
[MENTION=5749760]ggow[/MENTION] have you any recommendations for flashing the Fire Nexus ROM over an existing Nexus HDX ROM? e.g.: full wipe clean flash or wipe cache dirty flash?

Edit: Do flashing instructions found here - http://xdaforums.com/showthread.php?t=3322931 apply for this ROM too?
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Really an excellent choice to freeze existing builds while progressing new variants. We've all experienced the chaos that ensues when 'new and better' doesn't pan out as expected and users struggle to identify working versions. Nice to have a time proven fall back under a different name while things get sorted. Easier to retire too when the time comes.

Nomenclature matters. :)
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
- I haven't tried but a dirty flash may work.

- If dirty flashing, wipe dalvik and cache.

- Also take a backup before flashing in case you need a way back
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
My thoughts exactly :)
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Additional thoughts (here)
[Kindle Fire HDX 7" & 8.9" Android Development] BobJayJr:
[MENTION=5749760]ggow[/MENTION], [MENTION=5488402]Davey126[/MENTION] Dirty flash wouldn't work for me (Apollo 64 gig, Safestrap v4.01). Clean flash (full system wipe) seems to work just fine with no prob!ems. I'll play with it for a few days and let you know if I find any bugs.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Rumor has it an update to Safestrap is in the works. For now it would seem a clean install is needed w/Safestrap v4.0.1 while TWRP users can get away with a dirty flash.

Curious - what were the symptoms?
[Kindle Fire HDX 7" & 8.9" Android Development] BobJayJr:
Symptom - continuous loop through: boot animation, lock screen, "process android.process.acore has stopped working" , return to boot screen animation (with or without clicking on "stopped working" dialog box button - no chance to click on underlying "Continue" button).

ROM seems very peppy - I'll see how it runs over the next few days.
[Kindle Fire HDX 7" & 8.9" Android Development] skeptic1007:
I have safestrap 4.01 over FireOS 4.5.2. with HDX Nexus. I am going for the Nexus ROM. I installed the Safestrap stock 4.5.2. I need now to update to 4.5.5.1. Is this a simple OTA? I learned that I need to uninstall the safestrap. How am I doing this?

LE: Answer: install root, install safestrap.apk, run safestrap and uninstall recovery. Reboot. Update OTA. Download 100% then message: Update failed. What am I doing wrong?
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
You do not need to update FireOS; 4.5.2 is fine and was the target version for Safestrap v4. Upgrading to 4.5.5.1 offers no advantage. Reverse the steps you just completed to reinstall Safestrap recovery. Then flash the latest Fire Nexus ROM from here (supported version; HDX Nexus 4.0.5 has been discontinued).
[Kindle Fire HDX 7" & 8.9" Android Development] skeptic1007:
Yes, it worked. Thank you.

Sent from my mobile device
[Kindle Fire HDX 7" & 8.9" Android Development] skeptic1007:
Just for my own intellectual curiosity, how do I update from 4.5.2 with safestrap to 4.5.5.1 with safestrap?

- install 4.5.2 safestrap version on slot 1

- install root

- install safestrap apk;

- remove safestrap recovery;

- reboot;

- try OTA.

The OTA does not work; after 100% download, says error. If I update via separate download of bin file, it says file not good.

Than you for teaching me this.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
You are making serious errors that could brick the device. Rather fortunate neither the OTA nor forced update worked; both could have trashed Safestrap and left the device unbootable and unrecoverable.

Clearly you have not done your homework.

Get rid of Slot 1. Permanently. Read through the thread. Ask questions before acting. When the time comes flash a *custom* Safestrap compatible build of FireOS 4.5.2 to the STOCK slot and then remove Safestrap. FireOS will OTA to latest version.

As previously noted there is no benefit to doing this unless you plan to return the device to stock. It's possible future versions of FireOS will not be Safestrap friendly.

Every flash/uninstall/reinstall iteration presents an opportunity for error (sometimes not of your doing) with bad outcomes. HDX devices are unforgiving. Be happy all is well.
[Kindle Fire HDX 7" & 8.9" Android Development] skeptic1007:
I am sorry, my mistake. When I said slot 1 I meant the stock slot, where the main os is installed. Not a secondary one. I regret the confusion. I am aware of the issues of using other slots.

As you said here, I installed the safestrap version of fireos on this main slot. Then removed safestrap. The reboot worked ok. But ota and side install did not work.

This is no longer an issue. As you said, there is no point in updating this way. But why did it not work? Thank you a lot.

Sent from my mobile device
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
No worries - glad your config is solid and you are aware of issues with secondary slots.

You may need to do a factory reset from the stock recovery menu to get OTA updates working again (one of the few times a stock reset is beneficial). Be 100% sure Safestrap v4 recovery is NOT installed prior to performing the reset. If Safestrap is still installed device will immediately brick if a stock reset is performed.
[Kindle Fire HDX 7" & 8.9" Android Development] tthaz777:
How to remove Safestrap? Tks
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Launch Safestrap app and uninstall recovery. This assumes you have a compatible version of FireOS in the stock slot. Read through the thread for details...it's all been documented before.
[Kindle Fire HDX 7" & 8.9" Android Development] Ause:
I have fire OS 13.3.0.9 kinda old what can I do with to get safestrap lol
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
It's worth giving them a call. Ask for rollback to version 3.2.8.

I'm unsure if the existing downgrade images will work for 4.5.4. I know it works on 4.5.3 but you may be one version too far on.

Other than that, we'll have to wait for a root exploit.
[Kindle Fire HDX 7" & 8.9" Android Development] lekofraggle:
Some people have reported that they have rolled back successfully from 4.5.4. Some have not. There is some significant risk. If you choose to go this route, do not force the rollback. Sideload the file, and then check for updates. It should either work or not. After the rollback(if successful), disable WiFi instantly. Use the hdx toolkit to block OTA (not renaming device OTA certs, that only works for 4.x). If you do not, you will brick your device. Then, upgrade using the 4.5.2.

Good luck.

~Leko
[Kindle Fire HDX 7" & 8.9" Android Development] mrw187:
Is there a certain folder I put the rollback 3.2.8 bin file in?

---------- Post added at 11:57 PM ---------- Previous post was at 11:42 PM ----------

Ok I put it in root folder, put it in airplane mode.

Successfully installed the rollback 3.2.8 and I skipped the setup part of it wanting to connect to the WiFi so there was no chance of it grabbing anything.

I guess the next step is to download the toolkit and the 4.5.2 rom n transfer them onto the hdx n do those things mentioned above?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Just keep it in airplane mode, and put the 4.5.2 rom in the root of the /sdcard and eventually it should let you upgrade. When your in 4.5.2 gain root access, install safestrap and your good to go.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
You don't need HDX Toolkit if your intent is to immediately upgrade to 4.5.2. Be sure to keep wifi off (or stay in airplane mode) if there is any flavor of FireOS on your device. OTA is easily blocked on 3.2.8 or 4.5.2 (via different methods) but there is no need if your ultimate objective is to run Nexus as it will overwrite FireOS in the stock slot (this comment is specific to Safestrap 4.0.1 and may not be applicable to future versions). See previous post by ggow for additional info.
[Kindle Fire HDX 7" & 8.9" Android Development] hoobyjuice:
Hi ggow,

Thanks for all your hard work.

I upgraded my safestrap to this v4, and the recovery installation seemd to go ok. But now it appears to be bootlooping (logo, then screen flash, blackscreen, rinse & repeat).

I have a HDX 8.9", firmware 14.3.2.5, and used safestrap v3 succesfully for a long time.

Any ideas how I can unbrick?

Any tips would be much appreciated.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
SafeStrap v4 is not compatible with FireOS 14.3.2.5. The prerequisites clearly state your device must be running FireOS 14.4.5.2 (or 13.4.5.2) before installing SafeStrap v4. Let's see what ggow has to say about fixing the boot loop problem; possible a 'factory reset' may put things right.
[Kindle Fire HDX 7" & 8.9" Android Development] mrw187:
FFS ive downloaded that 4.5.2 rom from the first post in two different browsers n each time I tried leaving it as a zip and renaming as a bin but when I go system update it fails validation and deletes the file.

What am I doing wrong? Grabbing the wrong 4.5.2? where is the correct one?

---------- Post added at 04:25 PM ---------- Previous post was at 04:15 PM ----------

ok ive found it at:

https://kindle-fire-updates.s3.amazonaws.com/update-kindle-13.4.5.2_user_452004120.bin
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
For others benefit the 4.5.2 images in the first post are for flashing from within Safestrap v4 (only). They will not work for updating the base version of FireOS prior to the installation of Safestrap.
[Kindle Fire HDX 7" & 8.9" Android Development] mrw187:
OK, my new problem is I've got the cve20147911.apk (which I assume is the file to root it) on the hdx after a successful upgrade to 4.5.2, but how do I install it when it seems the hdx has no default file manager?

Is this the tricky part I have to disable ota then take it out of airplane mode and install via silk a file manager?
[Kindle Fire HDX 7" & 8.9" Android Development] hoobyjuice:
Ahh, well that would explain it. I've been blocking OTA upgrades. (Assumed older firmware would be more amenable to rooting and custom roms.)

Fingers crossed the awesome ggow has some ideas on unbricking.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
- Enable usb debugging on fireos

- from your pc:

- type "adb install cve20147911.apk"
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
- You may be be out of luck if you are in bootloop

- I assume you have no adb access because of this

- Safestrap is installed on the /system partition so a factory reset may not help at all.

- Sorry I don't have a good answer at this point.
[Kindle Fire HDX 7" & 8.9" Android Development] hoobyjuice:
aww poop. thanks for thinking though.

fyi, at the moment it seems to freeze on the grey kindle fire logo screen, rather than rebooting.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
freezing at the grey kindle fire logo screen definitely means nothing can be done.