[RECOVERY] Safestrap Recovery v3.7x [05/15/2014 V3.73 - TWRP 2.7.0.0]

Search This thread

Hashcode

Senior Recognized Developer
Sep 3, 2011
3,424
23,730
SAFESTRAP v3.73 (2nd-System Bootstrap / Recovery)

ATTENTION: I will be stopping official Safestrap support on 9/1/2014. For more information please see:
https://plus.google.com/111109372727398356624/posts/AtoJ3xLj35b

** INSERT STANDARD DISCLAIMER: I'm not responsible for any damage you do to your phone using my tools. Always have a fastboot available for disaster recovery. **

Download the APK Installer:
Mirror 1: Goo.im
Mirror 2: Crackflasher
FOLLOW THESE INSTRUCTIONS: How to Safestrap
[ DOUBLE-CHECK you have the "Targa" version ]

NOTABLE TWRP-BASE CHANGES:
  • Key/button vibration in recovery and MANY more 2.7.0.0 updates
  • Screen saving in recovery. Can set the timeout under Advanced->Settings->Screen *Don't freak out of the screen is dark, try the power button.
  • SElinux support in recovery (1st boot won't take so long)
  • and much much more.. check the TWRP changelog here: http://www.teamw.in/project/twrp2

DEVICE SPECIFIC SAFESTRAP CHANGES:
  • [05/15] (3.73) Bugfix for dual SD card UMS mounting and pull in TWRP changes
  • [04/14] (3.72) Mostly other device updates
  • [01/15] (3.71) Code cleanup
  • [01/15] (3.71) Minor hijack updates
  • [12/18] (3.70) Mount cleanup during hijack / debugging output
  • [12/18] (3.70) Splashscreen: Instant stock boot key (needs to be set for Moto OMAP4's still)
  • [11/13] (3.65) recovery init.rc cleanup
  • [11/13] (3.65) fix updater build for cm 10.1 and 10.2
  • [09/20] (3.60) Better handling for virtual images > 2gb
  • [09/20] (3.60) Much improved block device handling
  • [09/20] (3.60) Bugfix in script translation
  • [09/20] (3.60) hijack / init.rc tweaks
  • [09/20] (3.60) update to TWRP 2.6.3.0 base recovery
  • [09/06] (3.53) Fixed mass_storage in recovery (via Mount menu)
  • [09/06] (3.53) Added Webtop to partition backup list (optional)
  • [09/06] (3.53) New virtual systems created will be 640mb (got reset 600mb)
  • [09/06] (3.53) Fixed file selector when changing from internal to external storage (previously location wouldn't update)
  • [09/05] (3.52) added "Reboot to Recovery" in APK
  • [09/04] (3.51) Disabled screen blank while creating a rom-slot
  • [09/04] (3.51) Fixed openrecovery script processing for stock slot to re-inject hijack after .zip install (cmupdater on stock now works)
  • [08/30] (3.50) If running a new CM10.1/CM10.2 ROM (08/30 or later) you *should* be able to install Safestrap and update the recovery w/o having to go back to stock. If Safestrap shows "recovery not installed" while you're on a ROM-slot, then that ROM hasn't been updated and it won't work. Swap back to stock ROM and update Safestrap from there.
  • [08/30] (3.50) Worked on stock ROM flashing and *should* work with CM10.1/CM10.2 builds on or after 08/30 *WILL NOT WORK WITH OLDER ROMs.*
  • [08/30] (3.50) Battery meter is back
  • [08/30] (3.50) Updated TWRP theme
  • [08/30] (3.50) Added partition sizes to ROM-slot screen when it's ACTIVE
  • [08/30] (3.50) Added "Check FS" function to ROM-slot screen when it's ACTIVE
  • [08/30] (3.50) Complete re-write against TWRP 2.6 base (up from version 2.2.2.1): TWRP changelog for reference
  • [12/29] (3.11) Allow use of custom updater-binary in .zip files for flashing on stock ROM (virtual slots still use prebuilt updater-binary in recovery).
  • [12/29] (3.11) BUGFIX: Fixed fake flash error at the end of a .zip install. (No real error, .zip installs fine)
  • [12/29] (3.10) Early support for booting custom ROMs on stock partitions.
  • [12/29] (3.10) Enable flashing to stock ROM *BE CAREFUL -- NEW FEATURE -- STILL TESTING*
    • After .zip installations, nandroid restore or system wipe on the stock ROM: the current Safestrap files are restored to the system partition (Doesn't include the APK in /data -- so if you're restoring an old backup, be sure to update the Safestrap APK)
    • During the Safestrap files restore a check is done to be sure there are minimal files on /system to re-enter Safestrap
  • [12/29] (3.10) New virtual system partitions will be 640mb (closer match to stock RAZR/D4)
  • [12/27] (3.07) Bugfix: missed some changes in Safestrap 3.06
  • [12/26] (3.06) Bugfix/Update for JB4.1 OTA for DroidRAZR (Non-JB devices can also use)
  • [10/17] (3.05) Fixed SD card / emmc sharing in recovery (UMS)
  • [10/17] (3.05) Fixed recovery installation/removal from ROM-slots
  • [10/14] Updated to v3.04 BETA.
  • [10/14] Recovery is now based off TWRP 2.2.2.1 (fully featured touch-based recovery)
  • [10/14] Can create up to 4 Virtual ROM-slots to flash ROMs to and when "Active" ALL TWRP functions affect that ROM-slot (For example: Flashing .zips, Backup and Restore)
  • [10/14] Nearly instant swapping from ROM to ROM
  • [10/14] User selectable data partition sizes during ROM slot creation: 1GB, 2GB or 3GB
  • [10/14] ROM slots are saved on the internal emmc space so that preinstall and webtop partitions are no longer used and shouldn't break OTAs.
  • [10/14] Charging in recovery
  • [10/14] Supports "Reboot Recovery" from Android OS

Entry to recovery via Splashscreen on boot-up. The screen stays up for around 8-10 seconds and if you hit the menu button, it takes you to Safestrap Recovery.


SPECIAL THANKS TO:

  • The entire TWRP team who has built an AMAZING recovery system.
  • The testers which have helped in past and present versions of Safestrap, knowing that it could mean they brick their devices.

As always, let me know what you think!

SCREENSHOTS (showing slightly older TWRP base)
 

Attachments

  • ss-3.50-01-main.jpg
    ss-3.50-01-main.jpg
    19.9 KB · Views: 2,684
  • ss-3.50-02-choose-romslot.jpg
    ss-3.50-02-choose-romslot.jpg
    18.7 KB · Views: 2,315
  • ss-3.50-03-create-romslot.jpg
    ss-3.50-03-create-romslot.jpg
    19.6 KB · Views: 2,255
Last edited:

cixelsyddyslexic

Senior Member
Sep 14, 2011
78
9
What's the correct procedure for updating versions of Safestrap? Do I need to be in unsafe system or uninstall first or ?
 

cappiez

Senior Member
Oct 19, 2010
88
8
Indianapolis
Does anyone have suggestions for when switching back to the primary, and it errors out on original data restore?

I did do the proper backups and normal toggle. The original back up refused to boot. Even initiate boot.

The only way I got back to primary was to install eclipse in safe system, back it up. Then do a hard toggle to non safe, and restore the Eclipse back up.

Is there any other way, or a way to verify toggle back ups? I am aware of the verify in the back up menu, but as far as I can tell it only verifies full system back ups.

Suggestions on what I may have done wrong, or a less time consuming remedy should it happen again?

Apologies if I left something out.. typed while putting the mag stripes on iTunes cards... only 600,000 to go... weeeeeee

And thanks fir your hard work and great tool for the bionic, Hash.

Sent from my DROID BIONIC using xda premium
 

joshw0000

Senior Member
Jun 15, 2010
3,992
410
Google Pixel 6 Pro
I've never had that problem. Are you using your internal or external sd card for safe mode? The internal is faster and less likely to have problems.

Sent from my DROID BIONIC using Tapatalk
 

GertBFrobe

Senior Member
Mar 20, 2010
130
5
Cleveland, Ohio
Does Bionic Bootstrap have to be removed/uninstalled before installing Safestrap? Can BB just be frozen?

Thanks.

EDIT: Okay, I see it does need to be removed.
 

Hashcode

Senior Recognized Developer
Sep 3, 2011
3,424
23,730
The only way I got back to primary was to install eclipse in safe system, back it up. Then do a hard toggle to non safe, and restore the Eclipse back up.

Is there any other way, or a way to verify toggle back ups? I am aware of the verify in the back up menu, but as far as I can tell it only verifies full system back ups.

I've seen this happen a handfull of times, most of which were due to a nearly full /emmc partition (internal SD card).

When you hard toggle and restore the Eclipse back up here's what happened:
- The "/system" backup goes back onto your /preinstall partition (where it also lives in 2nd-system) -- The only item which will get restored to your primay system is a backup of "/systemorig". And that's important because if you were to restore the 2nd-system back to the original system.. You'd brick because of partition renaming, etc.
- /data and /cache are restored normally.

You did the right thing in hard toggling and then advanced restore your data from a previous backup. Just know that your 2nd-system data wasn't stashed when you do the hard toggle. So there may be an issue when you want to go back to the 2nd-system.
 
  • Like
Reactions: tw1n5nak35

waffleb051

Senior Member
Jul 21, 2010
222
9
Redding
I have noticed trying to make my first back up, i get an error. I am trying to save the back up to external sd card. Also what is safestrap?
 
For some reason the safestrap apk won't install the recovery program. When I hit install recovery it gains su permissions, shows a loading bar, says installation successful, but still says "Recovery State: Not installed" and there is no new splash screen on reboot. I just rooted this phone for the first time and have no other bootstrap to uninstall first. Any ideas?
 

Hashcode

Senior Recognized Developer
Sep 3, 2011
3,424
23,730
For some reason the safestrap apk won't install the recovery program. When I hit install recovery it gains su permissions, shows a loading bar, says installation successful, but still says "Recovery State: Not installed" and there is no new splash screen on reboot. I just rooted this phone for the first time and have no other bootstrap to uninstall first. Any ideas?

I've seen this happen when Superuser has just been updated. It's like Safestrap thinks it has su priv, but Superuser never gives it out. Or something odd. I would try removing and reinstalling Safestrap so that Superuser can re-add it to the "allowed" list.
 
  • Like
Reactions: tw1n5nak35

projektorboy

Senior Member
Sep 3, 2010
417
95
Phoenix, AZ
I have noticed trying to make my first back up, i get an error. I am trying to save the back up to external sd card. Also what is safestrap?

Safestrap is the recovery system that lets Bionic users utilize an alternate recovery firmware to install alternate ROMs. That's what this entire thread is about.

It almost sounds like you trying to make your backup through ROM Manager. ROM Manager looks for Clockwork Recovery (that gets installed with Bionic Bootstrap and not Safestrap). Safestrap is an entirely different system that ROM Manager won't recognize.

Make sure you reboot your phone and manually enter into Safestrap so that you can make a backup. It will work properly that way.
 

twinkyz1979

Senior Member
Feb 1, 2011
452
86
****
Samsung Galaxy S24 Ultra
Would it somehow be possible to load a stock 5.5.886 image with kernel and everything stock like using the full 5.5.1_84_DBN-55 image? Then being able to update it through the upgrade path then flash it to the normal phone system? I mean using the 2nd partition created by safe strap to do all the steps before flashing to the normal phone partition.

I was also wondering is it possible to copy a backup from CWM into the folder this creates for backups and be able to flash that?
 
Last edited:

Slie

Senior Member
Jun 17, 2009
199
21
Anchorage
I Loose boot after safe mode enabled

I rooted the .886, then used the OTA and lost root.

I had to factory reset so i could R3L3AS3dRoot and 4ever root, I then used the OTA to come from .886 system to the .893 system.

I am rooted and have the recovery state installed.

When I install the safe strap I loose the ability to boot, I then have to uninstall it to gain boot once again.

EDIT:
Safe strap enabled, had to flash a custom rom over the one which wouldn't boot. I'm sure it would work if i reflashed stock over the safestrap.

Thank you!
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 67
    SAFESTRAP v3.73 (2nd-System Bootstrap / Recovery)

    ATTENTION: I will be stopping official Safestrap support on 9/1/2014. For more information please see:
    https://plus.google.com/111109372727398356624/posts/AtoJ3xLj35b

    ** INSERT STANDARD DISCLAIMER: I'm not responsible for any damage you do to your phone using my tools. Always have a fastboot available for disaster recovery. **

    Download the APK Installer:
    Mirror 1: Goo.im
    Mirror 2: Crackflasher
    FOLLOW THESE INSTRUCTIONS: How to Safestrap
    [ DOUBLE-CHECK you have the "Targa" version ]

    NOTABLE TWRP-BASE CHANGES:
    • Key/button vibration in recovery and MANY more 2.7.0.0 updates
    • Screen saving in recovery. Can set the timeout under Advanced->Settings->Screen *Don't freak out of the screen is dark, try the power button.
    • SElinux support in recovery (1st boot won't take so long)
    • and much much more.. check the TWRP changelog here: http://www.teamw.in/project/twrp2

    DEVICE SPECIFIC SAFESTRAP CHANGES:
    • [05/15] (3.73) Bugfix for dual SD card UMS mounting and pull in TWRP changes
    • [04/14] (3.72) Mostly other device updates
    • [01/15] (3.71) Code cleanup
    • [01/15] (3.71) Minor hijack updates
    • [12/18] (3.70) Mount cleanup during hijack / debugging output
    • [12/18] (3.70) Splashscreen: Instant stock boot key (needs to be set for Moto OMAP4's still)
    • [11/13] (3.65) recovery init.rc cleanup
    • [11/13] (3.65) fix updater build for cm 10.1 and 10.2
    • [09/20] (3.60) Better handling for virtual images > 2gb
    • [09/20] (3.60) Much improved block device handling
    • [09/20] (3.60) Bugfix in script translation
    • [09/20] (3.60) hijack / init.rc tweaks
    • [09/20] (3.60) update to TWRP 2.6.3.0 base recovery
    • [09/06] (3.53) Fixed mass_storage in recovery (via Mount menu)
    • [09/06] (3.53) Added Webtop to partition backup list (optional)
    • [09/06] (3.53) New virtual systems created will be 640mb (got reset 600mb)
    • [09/06] (3.53) Fixed file selector when changing from internal to external storage (previously location wouldn't update)
    • [09/05] (3.52) added "Reboot to Recovery" in APK
    • [09/04] (3.51) Disabled screen blank while creating a rom-slot
    • [09/04] (3.51) Fixed openrecovery script processing for stock slot to re-inject hijack after .zip install (cmupdater on stock now works)
    • [08/30] (3.50) If running a new CM10.1/CM10.2 ROM (08/30 or later) you *should* be able to install Safestrap and update the recovery w/o having to go back to stock. If Safestrap shows "recovery not installed" while you're on a ROM-slot, then that ROM hasn't been updated and it won't work. Swap back to stock ROM and update Safestrap from there.
    • [08/30] (3.50) Worked on stock ROM flashing and *should* work with CM10.1/CM10.2 builds on or after 08/30 *WILL NOT WORK WITH OLDER ROMs.*
    • [08/30] (3.50) Battery meter is back
    • [08/30] (3.50) Updated TWRP theme
    • [08/30] (3.50) Added partition sizes to ROM-slot screen when it's ACTIVE
    • [08/30] (3.50) Added "Check FS" function to ROM-slot screen when it's ACTIVE
    • [08/30] (3.50) Complete re-write against TWRP 2.6 base (up from version 2.2.2.1): TWRP changelog for reference
    • [12/29] (3.11) Allow use of custom updater-binary in .zip files for flashing on stock ROM (virtual slots still use prebuilt updater-binary in recovery).
    • [12/29] (3.11) BUGFIX: Fixed fake flash error at the end of a .zip install. (No real error, .zip installs fine)
    • [12/29] (3.10) Early support for booting custom ROMs on stock partitions.
    • [12/29] (3.10) Enable flashing to stock ROM *BE CAREFUL -- NEW FEATURE -- STILL TESTING*
      • After .zip installations, nandroid restore or system wipe on the stock ROM: the current Safestrap files are restored to the system partition (Doesn't include the APK in /data -- so if you're restoring an old backup, be sure to update the Safestrap APK)
      • During the Safestrap files restore a check is done to be sure there are minimal files on /system to re-enter Safestrap
    • [12/29] (3.10) New virtual system partitions will be 640mb (closer match to stock RAZR/D4)
    • [12/27] (3.07) Bugfix: missed some changes in Safestrap 3.06
    • [12/26] (3.06) Bugfix/Update for JB4.1 OTA for DroidRAZR (Non-JB devices can also use)
    • [10/17] (3.05) Fixed SD card / emmc sharing in recovery (UMS)
    • [10/17] (3.05) Fixed recovery installation/removal from ROM-slots
    • [10/14] Updated to v3.04 BETA.
    • [10/14] Recovery is now based off TWRP 2.2.2.1 (fully featured touch-based recovery)
    • [10/14] Can create up to 4 Virtual ROM-slots to flash ROMs to and when "Active" ALL TWRP functions affect that ROM-slot (For example: Flashing .zips, Backup and Restore)
    • [10/14] Nearly instant swapping from ROM to ROM
    • [10/14] User selectable data partition sizes during ROM slot creation: 1GB, 2GB or 3GB
    • [10/14] ROM slots are saved on the internal emmc space so that preinstall and webtop partitions are no longer used and shouldn't break OTAs.
    • [10/14] Charging in recovery
    • [10/14] Supports "Reboot Recovery" from Android OS

    Entry to recovery via Splashscreen on boot-up. The screen stays up for around 8-10 seconds and if you hit the menu button, it takes you to Safestrap Recovery.


    SPECIAL THANKS TO:

    • The entire TWRP team who has built an AMAZING recovery system.
    • The testers which have helped in past and present versions of Safestrap, knowing that it could mean they brick their devices.

    As always, let me know what you think!

    SCREENSHOTS (showing slightly older TWRP base)
    11
    OP updated for Safestrap v3.11:

    Download the APK Installer Here for "BIONIC, RAZR/MAXX and DROID 4"
    md5sum: 546060f221487ed35cc2f023c7e5d0f1
    FOLLOW THESE INSTRUCTIONS: How to Safestrap
    [ DOUBLE-CHECK you have the BIONIC/RAZR/DROID4 VERSION ]

    CHANGES:
    • [12/29] (3.11) Allow use of custom updater-binary in .zip files for flashing on stock ROM (virtual slots still use prebuilt updater-binary in recovery).
    • [12/29] (3.11) BUGFIX: Fixed fake flash error at the end of a .zip install. (No real error, .zip installs fine)
    • [12/29] (3.10) Early support for booting custom ROMs on stock partitions.
    • [12/29] (3.10) Enable flashing to stock ROM *BE CAREFUL -- NEW FEATURE -- STILL TESTING*
      • After .zip installations, nandroid restore or system wipe on the stock ROM: the current Safestrap files are restored to the system partition (Doesn't include the APK in /data -- so if you're restoring an old backup, be sure to update the Safestrap APK)
      • During the Safestrap files restore a check is done to be sure there are minimal files on /system to re-enter Safestrap
    • [12/29] (3.10) New virtual system partitions will be 640mb (closer match to stock RAZR/D4)
    • [12/27] (3.07) Bugfix: missed some changes in Safestrap 3.06
    • [12/26] (3.06) Bugfix/Update for JB4.1 OTA for DroidRAZR (Non-JB devices can also use)
    9
    Updated OP for Safestrap v3.72 for Bionic

    Enjoy
    8
    New version of Safestrap in the OP.

    VERY NEW VERSION OF SAFESTRAP WITH A LOT OF NEW CODE -- IT COULD CONTAIN BUGS WHICH WOULD NEED A FASTBOOT PROCESS TO RECOVER FROM. BE WARNED.

    BUG WARNING: Screen will blank out while building a new ROM-slot. Device won't respond to power button till the slot is done building. So be patient.

    ** INSERT STANDARD DISCLAIMER: I'm not responsible for any damage you do to your phone using my tools. Always have a fastboot available for disaster recovery. **

    ** I have more features planned, but I really wanted to get this updated release out. **

    SAFESTRAP 3.50 for Targa based on TWRP 2.6.1.0

    Download the APK Installer
    md5sum: a45be93c2cc3457bd5116d7ed1145b2a
    FOLLOW THESE INSTRUCTIONS: How to Safestrap
    [ DOUBLE-CHECK you have the "Targa" version ]

    NOTABLE TWRP-BASE CHANGES:
    • Screen saving in recovery. Can set the timeout under Advanced->Settings->Screen *Don't freak out of the screen is dark, try the power button.* Also, when the screen blanks while building a new ROM-slot, you can't wake it up till it's done. I'll fix that in the next version.
    • SElinux support in recovery (1st boot won't take so long)
    • and much much more.. check the TWRP changelog here: http://www.teamw.in/project/twrp2

    SAFESTRAP CHANGES:
    • [08/30] (3.50) If running a new CM10.1/CM10.2 ROM (08/30 or later) you *should* be able to install Safestrap and update the recovery w/o having to go back to stock. If Safestrap shows "recovery not installed" while you're on a ROM-slot, then that ROM hasn't been updated and it won't work. Swap back to stock ROM and update Safestrap from there.
    • [08/30] (3.50) Worked on stock ROM flashing and *should* work with CM10.1/CM10.2 builds on or after 08/30 *PROBABLY WILL NOT WORK WITH OLDER ROMs.*
    • [08/30] (3.50) Battery meter is back
    • [08/30] (3.50) Updated TWRP theme
    • [08/30] (3.50) Added partition sizes to ROM-slot screen when it's ACTIVE
    • [08/30] (3.50) Added "Check FS" function to ROM-slot screen when it's ACTIVE
    • [08/30] (3.50) Complete re-write against TWRP 2.6 base (up from version 2.2.2.1): TWRP changelog for reference
    6
    UPDATED OP with a Bugfix version of Safestrap 3.51:

    Download the APK Installer
    md5sum: fb0effa5ef24951a1f9af699a3be6125
    FOLLOW THESE INSTRUCTIONS: How to Safestrap
    [ DOUBLE-CHECK you have the "Targa" version ]

    ** I have more features planned, but I really wanted to get this updated release out. **

    SAFESTRAP CHANGES:
    • [09/04] (3.51) Disabled screen blank while creating a rom-slot
    • [09/04] (3.51) Fixed openrecovery script processing for stock slot to re-inject hijack after .zip install (cmupdater on stock now works)