Tutorial for safestrap/bootstrap switching [important!!]

ItsTrentB

Member
Joined
Jan 17, 2010
Messages
217
Reaction score
4
Location
Southern California
FAQ::
What if we want to go back to bootstrap?
Do I need to uninstall bootstrap to use safestrap?
What are the benefits?

We had a post over at XDA that I believe many users have questions about over here on DF.

Hashcode, take it away!

When going from Safestrap to Bootstrap it's very easy:
1. Make sure you're in "non-safe mode" and boot up to the ROM
2. Open up Safestrap.apk and click the "Remove Recovery" button
3. Go into Settings -> Applications and remove Safestrap
4. Now you can install Bootstrap like normal


Going from Bootstrap to Safestrap *should* be just as simple, but for some reason there are occasional hiccups which can be solved by starting off with a stock system (+ root):
1. Remove the Bootstrap apk by going to Settings -> Applications (there is no "Remove" inside the app)
2. Install Safestrap.apk
3. Click the "Install Recovery" button and double check that you see the 1.06 in the lower left corner.

DO NOT ATTEMPT TO MIX AND MATCH BACKUPS FROM 2 DIFFERENT PROGRAMS. If you made the backup in Bootstrap then you can recovery with it in Bootstrap. Same goes for Safestrap. They are in different directories now on the SD card so it shouldn't happen, but it bears repeating.

If you have error messages on the installation:
1. Make sure you have root
2. Make sure you have about 3 megs free on your system drive
3. Make sure you're up-to-date w/ Superuser.apk and have rebooted at least once after upgrading.
4. Make sure you have a decent version of busybox installed

The main benefit of Safestrap over Bootstrap is the ability to ALWAYS get back to recovery by never directly clobbering your main system partition.

Some cliffs notes for Safestrap:
1. It uses the /preinstall partition as a 2nd-system partition to boot a 2nd ROM from.
2. So, anywhere in the recovery where it mentions "system", it's really talking about your preinstall. This is true for non-safe mode OR safe mode.
3. All features like "format /system" and flashing ROMs while in Safestrap only affect /preinstall and not your original system. This is true for non-safe mode OR safe mode.
4. There are 2 "modes" for Safestrap: "non-safe mode" where you boot up to your original ROM from the primary system partition, and "safe mode" where you boot from the /preinstall partition (2nd-system).
5. When you choose to change modes via the Safestrap Menu -> Toggle. The program takes your current /data and stashes it in a data file. Then checks for a saved data file from the mode that you're going to and restores it.
6. Don't ever use the "QUICK" (Unsafe) Toggle. Unless you're "stuck" in Safe Mode and getting an error when trying to swap back to non-safe mode. This QUICK toggle skips the saving of your current /data and the restore of your saved /data from your main ROM. It's meant as an emergency exit. You will need to restore your original ROM /data from a backup made while in non-safe mode.
7. Treat backups made in each mode as separate. Because "/system" will be whatever you have on your 2nd-system at the time, and /data is which ever ROM is active. While in "non-safe" mode backups automatically include the original system partition for disaster recovery. Backups made in "safe mode" give you the option of backing up the original system.

Good luck.

From a personal stand-point, where I dev at odd hours of the day and night, it's unbelievably handy to be able to swap to ICS for an hour and dev on it, then swap back to whatever stable ROM I'm running on my primary system so I can answer calls and use my phone .. as a phone.


Also, You CANNOT use backups from bootstrap on safestrap. They are not interchangeable.
 

acoers

Member
Joined
Jul 26, 2011
Messages
239
Reaction score
0
Location
Illinois
So right now im using the tweaked bootsrap. So if i go to safestrap can i flash all the roms then. Im running the steel droid rom and so far ive flashed alot of themes using bootstrap with no issues. So should i just stay where I am or will I eventually need to switch to safestrap.
 
OP
ItsTrentB

ItsTrentB

Member
Joined
Jan 17, 2010
Messages
217
Reaction score
4
Location
Southern California
So right now im using the tweaked bootsrap. So if i go to safestrap can i flash all the roms then. Im running the steel droid rom and so far ive flashed alot of themes using bootstrap with no issues. So should i just stay where I am or will I eventually need to switch to safestrap.

Most ROMS you will be able to flash. CM7, the latest Steel Droid is safestrap compatible, Maverick is compatible, the Eclipse port, etc. The themes will still work on safestrap too.
If you are perfectly fine where you are at, that's fine! Nothing wrong with it. IMO, safestrap just lives up to its name. Safer.
 

acoers

Member
Joined
Jul 26, 2011
Messages
239
Reaction score
0
Location
Illinois
I havent had any issues with bootstrap yet, so ill probably stay with it. Once the ICS rom gets all taken care of you think it will just be safestrap flashable?
 

Madvincent

Member
Joined
Mar 3, 2010
Messages
104
Reaction score
0
Location
In Exile
so if u already flashed with bootstrap all u have to do is unstall the app install the safestrap and it should just switch like that not just go over the bootstap recovery thing and conflict and screw up my phn?
 

guidot

Developer Relations
Staff member
Premium Member
Joined
Feb 10, 2010
Messages
7,292
Reaction score
271
Location
Massachusetts
Hey trent!

I made a guide for this already! Ha.

I'll read this over in the morning and see if I should sticky this in its place.

Thanks!
 
OP
ItsTrentB

ItsTrentB

Member
Joined
Jan 17, 2010
Messages
217
Reaction score
4
Location
Southern California
so if u already flashed with bootstrap all u have to do is unstall the app install the safestrap and it should just switch like that not just go over the bootstap recovery thing and conflict and screw up my phn?

Yes sir! That is correct

Hey trent!

I made a guide for this already! Ha.

I'll read this over in the morning and see if I should sticky this in its place.

Thanks!

Guidot, my fault! I think I missed it :blink: I'll definitely double check next time.
 
Top