yashsingh1/xdaforums huggingface dataset:
[Motorola Droid 4] Hashcode:
Updated the OP to version 3.05 which includes:

- Fix for sharing the SD card / internal emmc via recovery (UMS)

- Fixed the install/update function for Safestrap while currently in a ROM-slot (don't do this when updating to 3.05 -- but it's safe after that).

Download the APK Installer Here for "BIONIC, RAZR/MAXX and DROID 4"

md5sum: 84447c70f87d4da8ee9afe6c5f298978

IF COMING FROM V2.x FOLLOW THESE INSTRUCTIONS: How to Safestrap

OTHERWISE UPDATE IN PLACE IS OK

[ DOUBLE-CHECK you have the BIONIC/RAZR/DROID4 VERSION ]
[Motorola Droid 4] panamakevin:
Just gotta says thanks so much hash. The rom installs are soooo much faster and the rom slots let me test out lots of roms and quickly switch between them! You rock!
[Motorola Droid 4] DarkMidnight:
I agree panamakevin. This version of SafeStrap is an absolutely incredible piece of software. To be able to switch through ROMs like this is amazing. Keep up the amazing work Hashcode! I'm currently rocking your version of AOKP as well!!!!
[Motorola Droid 4] zeroktal:
2 questions

1: where do I donate?

2: I have safestrap 2.0, running in safe mode now. Can I just move that directory then install 3.05. Will I still be able to switch back to unsafe/safe at will?
[Motorola Droid 4] jsnweitzel:
How to and donation links here: http://blog.hash-of-codes.com/how-to-safestrap/
[Motorola Droid 4] doubleokneegro:
Just some quick questions...

1. With the multiple rom-slots.. do the same rules appy for each slot? e.g. if you are already on JB can you not flash a slot back to ICS roms?

(My current non-safe system is ICS Droid 4 stock)

2. Can we just load all safestrap updated apks from a rom-slot safe system? Or do I have to flash back to stock and update...?
[Motorola Droid 4] Lum_UK:
That rule only applies to the stock rom.

Safestrap stores its romslots on the internal SD card which can be erased and rewritten freely. The stock ROM is stored elsewhere and is subject to encryption and other limitations of the stock ROM.

In the unlikely event that someone made a kexec Gingerbread ROM you could run that in a rom slot if you really wanted to.

To update to Safestrap 3.05 you first need to switch back to the unsafe stock ROM and boot into it. There is no need to re-flash the stock rom.
[Motorola Droid 4] KnightCrusader:
I have a weird situation. Isn't the internal SD card space supposed to be 16GB? I only see 8GB. Is this from the old safestrap or did I jack something else up?
[Motorola Droid 4] Rennert:
8gb for system+data and 8gb for internal sdcard

...Tapatalk
[Motorola Droid 4] jkieffer46:
safe mode?

I must be goin nuts because i just dont see an option to change into safe mode as in previous versions. Is there some secret im not seeing?
[Motorola Droid 4] kwyrt:
Safestrap 3.05 is very different from earlier versions. Essentially your stock ROM slot is your "unsafe system" and the other ROM slots are your "safe systems".

Droid 4 - AOKP JB
[Motorola Droid 4] Lum_UK:
They're now called rom slots, under boot options.
[Motorola Droid 4] jsnweitzel:
Just chose which rom slot you want to boot. Stock returns you to your stock system. Just activate and reboot. http://blog.hash-of-codes.com/how-to-safestrap/
[Motorola Droid 4] kwyrt:
For some reason safestrap has decided to start saving my backups to the internal storage rather than my external sd card. Never had this problem until today. I looked through the safestrap settings thinking maybe I had accidentally switched something but couldn't find anything. Running SS 3.05. Anyone else have this issue? Any ideas?
[Motorola Droid 4] azrael293:
This is what I noticed as well. When using multiple slots it uses all of my internal space and then gives me constant "Low Storage" warnings.
[Motorola Droid 4] kwyrt:
I'm pretty sure the ROM slots themselves are on the internal storage by design. I'm referring to making a backup of a ROM slot. Before, when I would make a backup, it would always save the backup to the TWRP/ folder on the external sd card. But today, when I made a backup before flashing a new version of AOKP, it saved it to the TWRP folder on the internal storage.

Sent from my D4 - AOKP
[Motorola Droid 4] jgardner:
Anyone else having issues with safestrap not recognizing a 64gig sandisk card? Can see/use it just fine within the OS, just not recovery...
[Motorola Droid 4] jkieffer46:
I think the d4 can only use up to 32gb
[Motorola Droid 4] kwyrt:
FYI: I figured it out. When you go to make a backup in safestrap you swipe to kick it off. Right above the swipe bar is the option to save to internal or external storage. I must have accidentally hit the button to save to internal storage when trying to swipe to kick off my backup.
[Motorola Droid 4] jgardner:
No, it can use 64 gigs. It works fine within the android system, just not in the recovery.
[Motorola Droid 4] orangechoochoo:
I heard 64gb works too, I have no idea why recovery doesn't see it.
[Motorola Droid 4] raziel23x:
Okay

I just installed this. I set up recovery.

Created rom slot 1.

Flashed the latest stock cm 10 jb 4.1 version of sts.

Flashed google apps.

Rebooted.

Screen goes blank and stays blank.

This works when I used bmm 3.0f before I uninstalled it and removed all bmm recovery beforehand because I was using that before but nit that the dev stopped supporting it I switched to this.
[Motorola Droid 4] Hashcode:
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)
[Motorola Droid 4] Mentor.37:
Status 7 error

When i try flashing any zip rom with Safestrap 3.11 i have Status 7 error, what can i do?
[Motorola Droid 4] raziel23x:
this artical is not for safestrap but it will tell you what the status 7 and the same steps will work

http://androidforums.com/verizon-galaxy-nexus-all-things-root/501459-status-7-error-look-here.html
[Motorola Droid 4] Mentor.37:
solved

Thanks, i solved, my problem was the updater script.
[Motorola Droid 4] KinChungE:
May I know if I could enable safe mode on STOCK?

Since I want to have more space and don't want to use any of the rom slots

Thank you
[Motorola Droid 4] Mentor.37:
I tried but without success.
[Motorola Droid 4] NiveusLuna:
Re: [RECOVERY] Safestrap Recovery v3.1 [12/29/2012 V3.11 - Stock Flash+]

Call me crazy for asking this. Pretty sure most of you will want to, anyway.

I'm going to install Safestrap soon for the CM10.1 that Hashcode is so very kindly providing.

Installing a safestrap ROM for the first time will mean repartitioning, if I understand the directions correctly. Is the loss of all data on my stock ROM guaranteed during this, or is there a resize2fs done on it? If it is guaranteed, can the data from the stock ROM be restored with a simple restore command? Will that restore change the partition table again?

Yes, I plan to make a backup beforehand, regardless. I've learned that lesson the hard way. Been burned far too many times by lack of backups.

Thank you.
[Motorola Droid 4] kwyrt:
Installing safestrap will not wipe your stock ROM. That is the beauty of safestrap. Once you install the safestrap app and from there, safestrap recovery, when you reboot you will be taken to recovery where you can create a new ROM slot(s) to flash ROMs such as CM10.1 without ever having to lose your stock ROM and data. Tired of/don't care for CM10.1? Boot back to recovery and select your stock ROM and you're back to stock again like you never left.
[Motorola Droid 4] NiveusLuna:
Re: [RECOVERY] Safestrap Recovery v3.1 [12/29/2012 V3.11 - Stock Flash+]

I was under the impression that the ROM slots were created by repartitioning the internal eMMC. Am I mistaken here?
[Motorola Droid 4] kwyrt:
Re: [RECOVERY] Safestrap Recovery v3.1 [12/29/2012 V3.11 - Stock Flash+]

The ROM slots are created on the internal "sd card".

Sent from my Droid 4 - LiquidSmooth
[Motorola Droid 4] NiveusLuna:
Re: [RECOVERY] Safestrap Recovery v3.1 [12/29/2012 V3.11 - Stock Flash+]

Okay, now I see how it works. There is no repartitioning whatsoever. The slots are merely filesystem images written to eMMC as files.

This is beautiful. Thank you, Hashcode!
[Motorola Droid 4] rruleford:
ota update with safe strap?

Sorry if its a dumb question but i am new to the droid 4 coming from lg and not familiar with safe strap. Now that its rooted and strapped with liquid rom, will the stock rom slot still be able to get ota? Just curious because it says on motorolas site that we will be getting a jellybean ota. If it cant how can i reset it to stock to get that ota? Much love to all devs out there for making our devices so much better than stock
[Motorola Droid 4] JayH1980:
Re: [RECOVERY] Safestrap Recovery v3.1 [12/29/2012 V3.11 - Stock Flash+]

Ok so... Now that it says we can flash the stock rom slot it should be possible to flash a custom rom to the stock slot and so long we have an image of the stock rom... flash it back if need be. Is there anyone who disagrees with this?
[Motorola Droid 4] sloosecannon:
Re: [RECOVERY] Safestrap Recovery v3.1 [12/29/2012 V3.11 - Stock Flash+]

Stock-based ROM, and be careful, but it should work... Something like CM will cause bootloops

---------- Post added at 05:30 PM ---------- Previous post was at 05:28 PM ----------

Umm... OTA may work, but safestrap *may* get deleted

Backups would be wise... And be careful lol
[Motorola Droid 4] Mentor.37:
Signature verification failed

I created and signed a zip file but when i install it with safestrap the installation stops because i have this error: "signature verification failed".

If iI install the zip without signature verification i have no problem.

Why i have this error? I signed my zip file.
[Motorola Droid 4] huhu1312:
nice work @hash, again.

like many other people i have trouble with the new JB version (Wifi, reboots..)

so i tryed to go back to ics with fastboot and RSD (Android 4.0.4 - 6.16.217 - 6.7.2-180_DR4-16_M2-37).

but i cant write the boot.img and cdt.bin. it return with "infopreflash validation failure". (is this a protection to not downgrade?)

now iam again on JB with safestrap, root and still have TWRP Backups from my ICS-rom.

so is there a way to get my backup running again? if i load it on slot1 i only see the moto logo at start. after this it end up in a black screen boot loop.
[Motorola Droid 4] myfishbear:
you dont have to sign in ss
[Motorola Droid 4] Mentor.37:
Sorry, I did not understand.
[Motorola Droid 4] problematic:
This is a known problem that I used to get all the time for some reason. The fix requires you to edit your xml file and remove the parts that contain the errors you are getting ( boot.img and cdt.bin ). If you can't figure it out yourself you should be able to find more info with a little bit of google wizardry.
[Motorola Droid 4] rruleford:
Re: [RECOVERY] Safestrap Recovery v3.1 [12/29/2012 V3.11 - Stock Flash+]

You shouldn't sign things being flashes through safe strap. They will not work. Leave unsigned and should be OK to go
[Motorola Droid 4] huhu1312:
that let me end up in a black boot loop screen, too.

i read that a open bootloader is needed for a downgrade, is this true?
[Motorola Droid 4] rruleford:
Re: [RECOVERY] Safestrap Recovery v3.1 [12/29/2012 V3.11 - Stock Flash+]

Yes
[Motorola Droid 4] Mentor.37:
If I do not sign then I have error installing the zip.

If I sign it and install without signature verification then it works.

Is this normal?
[Motorola Droid 4] king..kranium:
Re: [RECOVERY] Safestrap Recovery v3.1 [12/29/2012 V3.11 - Stock Flash+]

That's how it works for me... Just do yourself a favor and only install zips from certified developers here on xda!

Sent from my XT894 using Xparent Cyan Tapatalk 2
[Motorola Droid 4] Mentor.37:
Is the file explorer feature working? I can not use file explorer in SafeStrap.

POSTEDIT:

I solved, file explorer works.
[Motorola Droid 4] JayH1980:
So I tried flashing eclipse ROM to the stock slot using safestrap 3.11 and it didn't work as expected... not blaming fishbear or hashcode just reporting what happened.

So... my first attempt I wiped cache, delvik, factory reset, wiped system then cleared internal storage of everything except my twrp backup, safestap folder and eclipse 1.0.6... I flashed eclipse which claimed to have flash successfully however it installed way to fast (less than 10 seconds) and rebooted. Got the boot droid screen and then it just sits with the backlight lite and does nothing. Restored from backup.

Next attempt I tried a dirty flash directly over stock ROM. This also claims to have flashed correctly and again installed way to fast... rebooted and no eclipse... just the stock ROM with no changes.

I also tried re-downloading eclipse 1.0.6 and repeating above with same results and then tried eclipse 1.0.3 with same results. Even the stock ROM doesn't flash properly to the stock slot.... odd.
[Motorola Droid 4] kwyrt:
For some reason I can no longer create a backup in safestrap. I can boot into safestrap, select backup, name my backup, then I swipe to kick it off, a screen comes up saying the backup is starting, then the screen goes black for a second and brings me back to the safestrap recovery top level menu. Not sure what's going on. I have created numerous backups and never had this happen until today. I tried it on more than 1 ROM slot with same results. I also tried booting in to stock and uninstalling, then re-installing safestrap but that did not fix it. Anyone have any ideas on how I can fix this?
[Motorola Droid 4] kwyrt:
Found a solution here: http://www.droidrzr.com/index.php/t...-v311-backup-suddenly-fails-to-create-backup/

Thanks to cvhovey on droidrzr for the fix.

If anyone else has this issue the solution is to boot into stock, uninstall safestrap, delete the safestrap and twrp folders on the sdcard, then reinstall safestrap.

The only thing I did differently was before I deleted the safestrap folder I copy/pasted the rom-slot1 onto my sdcard-ext and then copy/pasted it back. That enabled me not to have to re-set up my ROM again and everything still worked fine.
[Motorola Droid 4] teookie:
I'm having some trouble with safestrap recovery and was hoping someone could help me out.

After creating a new rom slot, and tapping on it's name under boot options to get to the screen where I can set nickname, etc., the system, data, and cache partition sizes are listed as "(coming soon)". I can install ROM's onto the slot this way, but they always boot loop.

I have been able to fix this problem in the past by deleting and re-installing recover via safestrap, but that hasn't worked this time. I even went so far as to delete every folder/file I could find on internal and external storage that had anything to do with safestrap or TWRP. Still no dice.

Anyone have any idea what's going on? I want to switch back to CM10 but can't if don't get safestrap working. :(
[Motorola Droid 4] chris974du28:
Hello,

I want to reinstall 10.1.2 cm with recovery partition on the Rom slot1, goal at the end of the installation I get a Message Stating me: if you installed this in other than romslot 1 It Will not boot! This Will Be fixed soon. After restarting my phone stuck on cynogen with round running loop.
[Motorola Droid 4] teookie:
Disregard the above. I managed to get CM10 to install and boot up despite the "(coming soon)" message mentioned above.
[Motorola Droid 4] 7April:
Will na' work.

I backed up a rooted stock image. I created a ROM slot (1) and installed CM10-2 there. Booted, verified operational. Backed up ROM Slot (1). Restored that backup to "STOCK" Slot. Failed to boot. Also, installing CM10-2 directly to "STOCK" Slot fails every time. CM10-1 also fails.

My conclusion here is that SSv3.11 will not install a custom ROM to the "STOCK" Slot. This is fine, as far as it goes, but I think the desire to install CM10-2 directly will never go away. It's potential 3Gb of space someone can utilize.

--#
[Motorola Droid 4] sloosecannon:
Safestrap won't install any of the new ROMs since they're designed for unlocked bootloaders. I'm actually surprised you managed to get anything to boot at all...

Disregard, disregard. Wrong forum.

To be in the stock slot, you must use a stock-based ROM, so nothing AOSP will work there
[Motorola Droid 4] azrael293:
Safestrap is the only way for us to install custom roms on the d4. roms will not run on the stock slot and only certain roms will work on rom slot 1 exclusively, while others can be installed in any of the 4 slots.
[Motorola Droid 4] sloosecannon:
Crap. Confused the forum. Completely disregard last. Thought I was still in the M/HD forum.
[Motorola Droid 4] azrael293:
Not a problem at all haha, it happens. Just wanted to let you know as well as the previous post about installing on the stock slot
[Motorola Droid 4] kwyrt:
And then [MENTION=4243514]Hashcode[/MENTION] tweets this last night. LOL

"Motorola OMAP Users: New Safestrap is almost ready. Complete re-write for TWRP 2.6 base, new look, real stock ROM flashing and more."
[Motorola Droid 4] azrael293:
Haha figures. I knew he had mentioned that he was working on support to eventually install over the stock ROM, which is awesome because we will have so much more space to work with now. I just wonder if we will have to do a reinstall like with the last safestrap. I hated having to start from scratch again lol
[Motorola Droid 4] Hashcode:
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 Maserati based on TWRP 2.6.1.0

Download the APK Installer

md5sum: 5dd165a54a84fbe46e10f5c0fda838c2

FOLLOW THESE INSTRUCTIONS: How to Safestrap

[ DOUBLE-CHECK you have the "Maserati" 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
[Motorola Droid 4] rruleford:
Thank you hash! Glad to see someone keeping this device updated
[Motorola Droid 4] COMpulse:
SafeStrap 3.5 working fine here. Thanx!
[Motorola Droid 4] je2854:
it is finally here! Working amazing and having the partition size feature working now makes -me- feel better.

there is even a feature to boot into the bootloader now? - awesome, the wipe feature work (rm -rf is now an option)
[Motorola Droid 4] megaghostgamer:
im struggling to install it on the 3.11 recovery , I uninstalled the recovery and all and sd card backed up and i deleted apk and installed the new one and installed new recovery but when i turn off the device and back on it shows the lil guy and the usual press so and so to do recovery which i do but then it stays black. I've waited a while and tried everything Hashcode has said to do, any help will be appreciated, thanks everyone! :)

Side Note - I can get 3.11 recovery working again just not new one.

Another Note - I'm trying to install on Stock Rom . Not any Rom Slot

Got It Working - I uninstalled the 3.11 Recovery , used root browser and went into the stock Rom /system/etc and deleted the safestrap folder and installed the new 3.5 apk and installed the new recovery. This worked for me but I'm not suggesting it for others.
[Motorola Droid 4] wolf45801:
im new too the droid 4 scene which safestrap would you recommend?
[Motorola Droid 4] PhreighnQ:
You can use the new 3.5 that Hashcode just posted. I upgraded to it and it is working fine. No point in using an old version. Usually by the time Hashcode posts about a new version it is pretty solid and ready to be used.
[Motorola Droid 4] wolf45801:
ok cool thanks I know hash is awesome he does excellent work on kindle fire also
[Motorola Droid 4] COMpulse:
I may have found a bug (or I just don't understand part of the UI). When you go into the "Install" section, the user can select the storage device at the top. Either "Micro SDcard" or "Internal Storage". I assume these are supposed to toggle between "/sdcard-ext" and "/sdcard", but they don't.
[Motorola Droid 4] je2854:
there are a of ways to navigate that...

Top of the list and then it brings up an option

In the file explorer dialog list... thingy
[Motorola Droid 4] COMpulse:
I know. I just went up one folder, and then to the /SDcard path.
[Motorola Droid 4] Hashcode:
I'll double check this on my next update (I have a running bug list).
[Motorola Droid 4] liftman-:
is this version capable of making a stock rom slot that will restore? i have been unsuccessful with my current version.

thanks
[Motorola Droid 4] Hashcode:
UPDATED OP with a Bugfix version of Safestrap 3.51:

Download the APK Installer

md5sum: 6e5f28a9f0361f6c18fcf6d5683b90c4

FOLLOW THESE INSTRUCTIONS: How to Safestrap

[ DOUBLE-CHECK you have the "Maserati" 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)
[Motorola Droid 4] Hashcode:
I'll try and test this out later as well.
[Motorola Droid 4] maximuscesar:
I was trying to install the Pac Rom on the stock (dumb me, I forgot to make a backup :[ ) and got a black screen and when I tried to create a slot 1 I got a black screen in the middle, this update could solve this issue? I'm reinstalling the full flash to test it...
[Motorola Droid 4] Hashcode:
I just tested a backup of CM10.2 on stock slot and restored it. Everything seems to work.
[Motorola Droid 4] wolf45801:
is it possible too repartition the whole internal storage so you get more for usable space instead of 8gb?