[ New Safestrap v3.04 Video by DMX: http://www.youtube.com/watch?v=q-qK7kL0W3o&feature=youtu.be ]
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 188.8.131.52 (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 (up to 4) for flashing ROMs. These ROM-slots allow for 3 different sizes of /data partitions: 1GB, 2GB and 3GB. NOTE: The bigger you make the /data 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.
IF COMING FROM A PREVIOUS VERSION OF SAFESTRAP (v2.x):
- You will want to move the entire “/sdcard/safestrap” directory to the external SD card (/sdcard-ext). These are your backups and in a catastrophic situation you could revert to Safestrap v2 and use them.
- Go into the existing version of Safestrap and use the “Remove Recovery” button to remove the Safestrap files from the stock /system.
- And lastly, remove the APK from the device as you would any other app.
HOW DO I INSTALL SAFESTRAP?
- Download the Safestrap APK from here.
- Find the APK using a Filemanager tool and open it on your device, then click “Install”.
- (If updating from an existing Safestrap v3 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
SAFESTRAP RECOVERY (v3):
As of version 3.0, Safestrap Recovery is now based on TWRP 184.108.40.206. 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.
- Boot Options: This area is for managing your virtual ROM-slots. You create a new ROM-slot by clicking on one and if it doesn’t exist you will be prompted to create it. Follow the on-screen guides. Once a ROM-slot is created you select that slot to activate or delete it. Under each ROM slot (once created) you can:
- Activate: Makes the chosen ROM-slot the “current” one, where almost all of the features of TWRP affect that slot. This will also be the ROM that is booted.
- Set Nickname: For convenience you can set a small name for each ROM-slot. This is limited to 10 characters as it will eventually be added to the beginning of backup names. This name is shown on the ROM-slot button once it is set.
- Fix FS (coming in the future, if needed) This could potentially be a button to perform file system checks on the ROM-slot and fix any errors found.
- Delete: Delete the ROM-slot files (disabled if the ROM is active — please choose another ROM-slot to activate and then come back) USE WITH CAUTION, THERE’S NO GETTING THESE BACK UNLESS YOU HAVE BACKUPS.
- Install: This is for flashing a .zip file to the currently active system. Currently, this is disabled for the stock system. In a future release I will enable flashing to the stock system.
- Backup / Restore: This should be self-explanitory, but you use these options for making backups of the currently selected system. Or restoring a previously made backup to the currently selected system (regardless of where you backed it up from). DON’T RESTORE A CUSTOM ROM-SLOT BACKUP TO THE STOCK ROM. THIS WILL MOST LIKELY BRICK YOUR PHONE.
- Mount: You can manually manage mounts here. NOTE: the “system”, “data” and “cache” mounts will use the currently selected ROM-slot.
- Wipe: Manually erase portions of the device. NOTE: You only have 1 internal and 1 external SD card. These are not “virtual” if you erase them. They are gone. Use with caution. Wiping the “system” when “stock” ROM is selected has been disabled. You can thank me later.
- Copy Log to SD: Experienced something odd and want to report it? DO THIS and include the log when you send me the report. Otherwise, the recovery.log will disappear when you reboot.
- Fix Permissions: This can fix up ROMs which are displaying odd force close issues, etc. You will probably never need to do this.
- Partition SD Card: You can add ext3 partitions to the external SD card if you want. I’m not sure we have much of a need for this on our devices.
- File Manager: This works like any other file manager inside Android. You can thank the TWRP people for this, because it is quite possibly one of the best features I’ve ever seen in a recovery.
- Terminal Command: Also very handy for those once in a while moments when you have to do something via terminal but don’t have adb handy. USE WITH CAUTION
- Here you can turn on and off signature verification of .zip files
- Force MD5 sum checks on .zip files prior to flashing
- “Use rm -rf instead of formatting” will always be checked so that Safestrap will not break partition signatures on locked devices
- There are a few other checkbox options in here. Please know what you are doing.
- Simulate most actions for theme testing. If you have this checked, Safestrap/TWRP will not perform most actions but show the dialog boxes so you can review theme elements. If you turn this on, it STAYS ON till you turn it off. And will show “SIMULATING ACTIONS” up top.
- Set the Time Zone (use “Set Time Zone” button after choosing which time zone you want)
- Restore Defaults. Use this to reset all options back to default as it came when you installed for the first time. Does not erase backups or ROM-slots, tho it might change the active slot.
- Reboot: Choose from 2 options for rebooting “System” which performs a reset/reboot of the device and “Power Off” which turns the device off.
PLEASE USE COMMON SENSE AS THIS IS STILL BETA SOFTWARE.