[Kindle Fire HDX 7" & 8.9" Android Development] Hashcode:
ATTENTION: I will be stopping official Safestrap support on 9/1/2014. For more information please see:

https://plus.google.com/111109372727398356624/posts/AtoJ3xLj35b

*** DISCLAIMER ***

I work on projects that may brick your device. Don't sue me, hate me or try and kill my dog if that happens. I will feel bad the community will feel bad and hopefully we'll find a way to get you going again. But, the very nature of my projects involves a certain amount of risk taken by YOU. And by using the projects that I work on, you've accepted that fact.

PLEASE PLEASE BE VERY CAREFUL WITH SAFESTRAP!!

MAKE A BACKUP OF STOCK RIGHT AFTER YOU GET SAFESTRAP INSTALLED SO THAT YOU HAVE SOME KIND OF DISASTER RECOVERY.

THEN YOU CAN RESTORE IT TO A ROM-SLOT (AFTER YOU MAKE ONE).

ONLY MODIFY ROM-SLOT FILES. LEAVE YOUR STOCK ROM ALONE!!

WARNING: THERE IS AN UNKNOWN ISSUE WHERE IF YOU HAVE ENCRYPTION ENABLED AND INSTALL SS IT BOOTLOOPS. IF YOU FIT THIS DESCRIPTION PLEASE STAY AWAY FROM SAFESTRAP FOR NOW.

UNKNOWN ISSUE: If you try and start Wifi and the device crashes/reboots, try turning on bluetooth prior to enabling wifi and see if that works.

CURRENT PROJECT STATUS:

BETA-STABLE

WHAT IS SAFESTRAP?

Safestrap is a Bootstrap / Recovery for locked bootloader phones. The goal is to avoid touching your primary system (I'll call this "stock" system) and only flash or make large changes to another place on your phone that Safestrap treats as a "2nd system" (in this case, it's a series of virtual ROM slots located on the internal emmc area: "/sdcard"). Once installed, you will see a "Splashscreen" giving you the option to hit "menu" to enter recovery. The recovery portion of Safestrap is now based on TWRP 2.7.x.x (a touch based recovery) and you can perform .zip installs, backups and restores here. The additional features I've added to TWRP are mostly located under the "Boot Options" menu:

Here you can create virtual ROM-slots for flashing ROMs. These ROM-slots allow for different sizes of /system, /data and /cache partitions. The defaults *SHOULD* be good enough for flashing the stock-based ROMs.

NOTE: The bigger you make these partition the less room you will have to make other ROM-slots.

You can activate a new ROM-slot by choosing the slot you wish to make active and then selecting the "Activate" button. Once active, you will see the "rom-slot#" up in the top of the screen shown in green. If you make the "stock" ROM active, then you can see it in the top shown in red.

Once a ROM-slot is active, all actions you would normally perform using TWRP are directed to that ROM-slot. For example, "Install" to flash a .zip, backup and restore.

For more information you can read up here:

http://blog.hash-of-codes.com/how-to-safestrap/

HOW DO I INSTALL SAFESTRAP?

Requirement: Rooted w/ SuperSU installed

Requirement: Allow APK install from Unknown Sources

Download the Safestrap APK

Find the APK using a Filemanager tool and open it on your device, then click "Install".

(If updating from an existing Safestrap you might be warned that this will over-write the existing installation. Click the "Yes" equivalent to this message.)

Once installed, open up the Safestrap application as you would any other app.

Agree to the disclaimer that you won't try to sue me and hunt me down with a rifle if you manage to break your phone..

Then use the "Install Recovery" button. You should see the current version down in the lower left corner of the window. And the "Status:" should say "Installed" when you're done.

From there you can reboot and you *should* see a new splash screen during the boot up. While this is showing you can enter Safestrap Recovery using the [ menu ] button.

That's it for the installation! Read below for a brief overview of Safestrap Recovery v3.x

HOW DO I ENTER RECOVERY?

During each reboot a splashscreen will be displayed showing whether the device is running a rom-slot or on the "Stock ROM".

Press the button shown on the screen to either enter "RECOVERY" or "CONTINUE" booting.

HOW DO I UPGRADE SAFESTRAP?

Push the APK up to your sdcard.

Boot back into the "stock" rom-slot.

Go into your old Safestrap app and use the "Uninstall Recovery" button

Open an "explorer" of some sort (ESFileExplorer, etc)

Browse to where you pushed the APK

Click on it and install like normal

Once installed, open the APK

Grant SU access

Use the "Install Recovery" button

All set, now you can reboot and re-activate whatever rom-slot you were using

DOWNLOADS:

CONFIRM YOUR STOCK OS VERSION BELOW AND THAT YOU ARE USING THE KINDLE FIRE HDX 7" (THOR)

[13.3.2.1 and earlier] LATEST FILE: Safestrap-Thor-3.72.apk

[13.3.2.3.2 and later] LATEST FILE: Safestrap-Thor-3.75-os3.2.4-B02.apk

Mirror 1: Crackflasher Download

Mirror 2: Goo.im Download

Here's an amazon-os .zip that can be used on rom-slots for re-flashing the OS -- MUST MATCH STOCK ROM:

THOR ONLY (HDX 7") 13.3.1.0: Download from goo.im

md5sum: 24fee10d8c6b0dbf583465baa938e842

It's the straight Amazon OS:

not DeOdexed

will not stop OTAs

is not rooted

the only changes I made, were to strip out the boot.img or modem.img flashing stuff.

To root, I recommend flashing SuperSU.zip from here and flash in Safestrap to the active rom-slot after flashing the ROM:

http://download.chainfire.eu/supersu

As of version 3.x, Safestrap Recovery is now based on TWRP. For more on TWRP you can visit their website: http://www.teamw.in/

WARNING: Safestrap is heavily modified to be "Safe" for your device. Do not download TWRP from their website and expect it to work the same way. Also TWRP does not support Safestrap, tho some issues that may come up will be TWRP dependant, please try and contact myself or look on the forums for your device for answers before hunting down TWRP people. They won't be able to help w/ Safestrap specific questions.

For the purposes of direct user testing I've established a channel on freenode.net IRC: #safestrap

I'm in the channel mostly all the time, but may not be active for discussion.

Special Thanks To

DeesTroy & TeamWin for all their hard work making TWRP such a fantastic recovery