Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[RECOVERY] Safestrap for Droid 3 [2012/10/17: Version 3.05 SD BUGFIX]

OP Hashcode

23rd October 2011, 11:19 AM   |  #1  
Hashcode's Avatar
OP Recognized Developer
Thanks Meter: 22,726
 
3,245 posts
Join Date:Joined: Sep 2011
Donate to Me
More
SAFESTRAP v3.05 (2nd-System Bootstrap / Recovery)

PRIOR TO UPGRADING TO V3.x FROM V2.x MOVE THE /sdcard/safestrap FOLDER FROM YOUR /sdcard TO THE /sdcard-ext. THIS OPENS UP VALUABLE INTERNAL EMMC SPACE WHERE ROM SLOTS ARE CREATED. AND KEEPS YOUR V2 BACKUPS SAFE IN CASE YOU WANT TO REVERT TO V2 AND USE THEM TO RESTORE.

** 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 "Droid3Safestrap-3.05.apk" Installer Here for "DROID 3"
FOLLOW THESE INSTRUCTIONS: How to Safestrap
[ DOUBLE-CHECK you have the DROID3 VERSION ]

CHANGES:
  • [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!
Last edited by Hashcode; 20th September 2013 at 11:03 AM.
The Following 31 Users Say Thank You to Hashcode For This Useful Post: [ View ]
23rd October 2011, 11:36 AM   |  #2  
Hashcode's Avatar
OP Recognized Developer
Thanks Meter: 22,726
 
3,245 posts
Join Date:Joined: Sep 2011
Donate to Me
More
A quick note about why I made a MotoBlur 5.6.890 ROM .zip for Safestrap:

1. This is the stock version of our Phone's software. If you want to swap back and forth between CM7 and the standard software, but NOT turn off "Safe System" then you need a stock ROM to use. This is it.

2. Devs can use this ROM as a sort of base for making their skinned ROMs without fear of bootlooping into an SBF. Feel free to tweak and hack away.. nothing you can do to the ROM will force you to fastboot restore. At worst you're looking at a battery pull -> bp-tools -> recovery -> restore.

3. I know some people are checking dev servers for future Moto updates. In theory I will pull the /system images from those updates and put out updated MotoBlur ROMs in the future as a way of test driving upcoming Moto patches w/o fear of leaving yourself stranded on an upgrade path that won't be supported.
The Following 5 Users Say Thank You to Hashcode For This Useful Post: [ View ]
23rd October 2011, 07:25 PM   |  #3  
Senior Member
Flag Redding
Thanks Meter: 8
 
144 posts
Join Date:Joined: Aug 2011
More
So, im just curious, if I wanted to...
I could run say steel droid, then install safestrap, flash cm7,
And by turning safestrap off/on, I could technequally go back and forth
between 2 custom roms? Or do I have to keep the /system partition clean?

Sent from my DROID3 using Tapatalk
23rd October 2011, 07:39 PM   |  #4  
Hashcode's Avatar
OP Recognized Developer
Thanks Meter: 22,726
 
3,245 posts
Join Date:Joined: Sep 2011
Donate to Me
More
Actually the idea for Safestrap is to keep the main system clean.

I'm working with ChevyCam to get a Safestrap version of SteelDroid. Then you can use Safestrap exactly like regular recovery where you would swap from ROM to rom via backup and restore. The advantage being your method of recovery entry and ROM booting is always protected.
The Following 2 Users Say Thank You to Hashcode For This Useful Post: [ View ]
24th October 2011, 12:38 AM   |  #5  
The Solutor's Avatar
Senior Member
Flag Turin
Thanks Meter: 129
 
960 posts
Join Date:Joined: Dec 2006
More
Great news !!!

Safestrap works on the XT883 rom too at least w/o the ota update, I'm going to test it on the updated system.
24th October 2011, 01:19 AM   |  #6  
Senior Member
Thanks Meter: 12
 
169 posts
Join Date:Joined: Aug 2011
Thanks so much for clarifying, and thanks a million times over for all the great work you've selflessly done for the Droid3 community. I look forward to future CM7 updates.
24th October 2011, 01:25 AM   |  #7  
xfighter1188's Avatar
Member
Thanks Meter: 4
 
75 posts
Join Date:Joined: Sep 2011
hey hashcode, just a clarification, we can use safestrap like koush's bootstrap, but we just must turn safe system off right? cause your post makes it seem as if we cant do this
24th October 2011, 08:43 AM   |  #8  
Hashcode's Avatar
OP Recognized Developer
Thanks Meter: 22,726
 
3,245 posts
Join Date:Joined: Sep 2011
Donate to Me
More
Right now, zips applied with Safestrap are applied to the 2nd-system only. In theory I could make some adjustments to allow for applying zips to the original system as well.. and while I understand the idea of "dual booting" a phone seems fantastic, it's really just an unrecoverable bootloop waiting to happen.

I'd rather that Droid 3 users turn on "Safe System" and never turn it off again (or need to). If all of our ROMs were installable via Safestrap I really feel that we would see alot less "I've bootlooped" postings on the boards.

For the recovery portion of Safestrap: it does NOT backup the original system. Only the 2nd-system, data and cache partitions. (Remember the idea is that you basically root your original system, toss on Safestrap and then enter recovery and toss a .zip onto your 2nd system)
I'm considering changing this in the next version of Safestrap so that backups from Safestrap can be used for full system recovery.
Last edited by Hashcode; 24th October 2011 at 08:49 AM.
The Following User Says Thank You to Hashcode For This Useful Post: [ View ]
24th October 2011, 12:44 PM   |  #9  
Senior Member
Thanks Meter: 39
 
260 posts
Join Date:Joined: Sep 2009
Another question with which to bother you...

When you have the option to do a backup, will you have the ability to choose the destination where the backup is stored as well as the location from where the backup can be restored (either internal or external storage)?

Thank you for your time.
24th October 2011, 03:09 PM   |  #10  
Member
Thanks Meter: 11
 
64 posts
Join Date:Joined: Aug 2008
Excellent work, I think this is a fabulous idea and should be the de facto standard for these locked devices. Were you still thinking about using a 2nd data/cache partition as well?

I think it would be pretty sweet if you could loopback mount file system images stored on internal storage for the system/data/cache partitions to implement a proper and safe multiboot system. I don't know how much of a performance hit this would take though.

Anyway, the one suggestion I would make about backing up the original system is to not do it as part of the regular backup/restore. Since system should rarely change, it'd be a waste of time and storage space to back it up every time. Could you either make it a separate option, or perhaps only back it up if the partition's checksum changed?

Besides, if you hose your system and need to restore it, you're probably not going to be using this recovery anyway.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes