• XDA Forums have been migrated to XenForo. We are aware of several issues including missing threads, logins not working, and more. To discuss, use this thread.
  • If you are experiencing issues logging in, we migrated and software and made it more secure. We recommend trying to reset your password.

[GSM/CDMA]How to Setup Safestrap 2 (KeXec ready)

HSD-Pilot

New member
Jan 22, 2012
3,569
2,464
0
NRW
How to Setup Safestrap 2 to get KeXec started (XT910 / XT912)

credits:


&
HashCode


Safestrap is based on Non-Safe- (Stock Motorola System) and Safe System (Custom System)

Non Safe System:

This is your Stock Motorola System, which will be protected during an Flash on Safe System. That means your Blur Rom is save and you can always boot back into Non Safe System, in case that something went wrong during your Crackflashing - Actions!

Safe System:

This is the System where all the Fun happens. Here you can flash any Rom / Theme or Mod. Your Blur System won't get touched and you can try some crazy stuff on Safe Side of Life.


Requirement

Rooted ICS (Android 4.0.4)

!BusyBox installed!


!! Always got your FastbootFiles ready and your Battery charged till 100% to be prepared for the worst case > Brick on Non Safe System !!


Important:

Don't got any other Custom Recovery on your RazR, when you are on your way to try Safestrap!
I recommend an clean SBF Flash of your Stock ICS Rom to kick all Leftovers of CWM (Touch) out of your System!

If you are using BootMenu you can uninstall it completely from your System.
Just follow these steps:

Open BootMenu > Install / Uninstall
Start uninstall from top till bottom

View attachment 1275842
Click Image for larger Version


Download Safestrap


XT910 Safestrap 2.11
XT912 Safestrap 2.11


Installation

1. Download the .apk of your needed Safestrap Version and install it like an usual App.
2. Open Safestrap in App Drawer
3. Hit Install Recovery

View attachment 1275843
Click Image for larger Version

Now you got Safestrap ready to go!

To boot into Recovery just Reboot your RazR. You will see an 10sec Hijack during boot.

Hit the Menu Key to boot into Recovery
Hit the Search Key to skip the Boot into Recovery

Force Boot into Safestrap Recovery:

1. Hold Down Power + Vol.down to turn off your RazR
2. Press & Hold Power + Vol.down + Vol.up
3. Select BP Tools with Vol.down
4. Accept with Vol.up


The Recovery

Recovery.jpg
Click Image for larger Version

1. Reboot System Now

2. Install Zip from SDCard

3. Wipe Data / Factory Reset

4. Wipe Cache Partition

5. Backup and Restore


Backup
Verify
Restore
Advanced Restore

6. Mounts and Storage

mount /sdcard
mount /emmc
unmount /systemorig
mount /system
mount /data
unmount /cache
mount /preinstall
format /sdcard
format /emmc
format /system
format /data
format /cache
mount USB starage

7. Advanced

Reboot Recovery
Wipe Dalvik Cache
Wipe Battery Stats
Report Error
Key Test
Show log
Disable Safestrap (if stuck in recovery)
Partition SD Card
Fix Permissions

8. Safe Boot Menu

Toggle Safe- / Non Safe System
Quick Toggle Safe- / Non Safe System (Dangerous)

9. Power Off



Get Crackflashing started


On 1st Boot into Safestrap Recovery you should make an Nandroid on Non Safe System!

1. Backup & Restore
2. Backup
3. Internal / External SD Card
4. Confirm

Restore your Nandroid in the same Menu by selecting Restore. (Advanced Restore: Only Restore Data, System or Cache seperate)

After you've done this > Toggle in Safe system

1. Safe Boot Menu
2. Toggle Safe System
3. Confirm

Check on top, if Safe System is ENABLED!

Now you will always boot into Safe System until you follow these steps again and toggle back to Non Safe System!

Install an Rom

I will show you the Way by using the CM9 XT910 KeXec Rom.

View attachment 1275872
Click Image for larger Version

For the most Roms you will find the same Instructions, that i will use in this How To:

1. Wipe Data / Factory Reset
2. Wipe Cache
3. Wipe Dalvik Cache (Advanced)
4. Format System (Mounts and Storage)

5. Install ZIP from SD-Card
6. Select your Rom.ZIP & Confirm

If needed, select the GSM Patch and/or GApps after the Rom and before you Reboot!


That's all > Enjoy your new Rom!
 
Last edited:

DanielMod

New member
Feb 27, 2012
413
174
0
I wonder if it always will be ~600mb memory on kexec?

Sent from my XT910 using xda premium
HSD thanks for this thread!

Probably someone will find a way to increase the memory in the future,the memory is 600 MB because the phone is loading two kernels in once,so it has to share some memory with the first loaded kernal,this is at least my opinion.

meanwhile i have three questions:
1.Will users would be able to load other kernals in the future?
2.Kexec is integrated to cm9 only? or is it possible to run Kexec on other roms?
3.Is there any change log or some information on what Kexec integrated kernals offer?

Thanks in advance :).

I assume this is the thread to talk about it.
 

HSD-Pilot

New member
Jan 22, 2012
3,569
2,464
0
NRW
I think so.
But for more Information we have to wait for an right, working Link to add in OP. It's hard to follow all these Links that changes daily an till now I wasn't able to access rombot again.

I use KeXec ICS the first time today and it's new for me, too. So we'll see what happens in future.

@ the moment I'm just thankful, that these Guys released it for XT910 today ;)

Sent from my KeXec InfecteD XT910
 
  • Like
Reactions: romdroid.

HSD-Pilot

New member
Jan 22, 2012
3,569
2,464
0
NRW
When Whirleyes is back from vacation I'm sure he will KeXec get running on BootMenu.
Personaly I miss it, because it's a lot faster than Safestrap is.

Sent from my KeXec InfecteD XT910
 

therazrguy

New member
Dec 22, 2011
429
409
0
Well nice work hsd again but I would I like to say saying something its currently better not to switch to kexec cause battery life is not good and animations in the rom are slow also camera is not working
It would be better to wait for the final rom and then flash it

Sent from my XT910 using xda premium
 

HSD-Pilot

New member
Jan 22, 2012
3,569
2,464
0
NRW
No, there's only the CM9 KeXec. I changed the Rom & Signatur already.

I've not tried it with the CDMA Rom. The No Deepsleep is an huge problem for me, because of the bad battery drain. I'm not sure if it's fixed on the CDMA Roms already.

Sent from my BlacK (& WhitE) WidoW
 

dtrail1

New member
Oct 7, 2011
4,967
7,959
0
Frankfurt
No, there's only the CM9 KeXec. I changed the Rom & Signatur already.

I've not tried it with the CDMA Rom. The No Deepsleep is an huge problem for me, because of the bad battery drain. I'm not sure if it's fixed on the CDMA Roms already.

Sent from my BlacK (& WhitE) WidoW
ok, thx. All links are down right now at hashcodes server.
 

Pixelation

New member
Jan 14, 2012
559
103
0
Jersey
Question: how do I revert back to Stock....it's my cousins phone and in haste forgot to Nand. Do I enter safestrap and toggle ? Or just disable Safe system?
I have talk him through this Eclipse isn't his cup of tea...Lol
Thank to all that reply
:D :) :D

Sent from my MB870 using Tapatalk 2
 

Pixelation

New member
Jan 14, 2012
559
103
0
Jersey
You can toggle back to non safe system & boot your Stock Rom.

Sent from my BlacK (& WhitE) WidoW
Thank you, that's what I thought...I just don't have a phone to look at....Lol

So basically boot to recovery...Safe Menu then Toggle

Didn't want too brick my cousins phone being far away and him not knowing rsd lite ;)

Sent from my MB870 using Tapatalk 2
 

hacker812c

Senior Member
Mar 28, 2012
1,922
1,591
113
Salvador
I think, it's never an good idea to flash Customs, when you're not able to handle RSD. You play russian roulette with the Phone :D

Sent from my FTS RazR
congratulations for this publication and post HSD ...
Safestrap is secure and expert recovery for razr...
i´m using safestrap for cm9 and my rom 08/21 is running perfectly...

thanks
hacker