yashsingh1/xdaforums huggingface dataset:
[Motorola Droid 3] doogald:
Hashcode posted this a few weeks ago: http://blog.hash-of-codes.com/2013/...-droid-3-droid-bionic-droid-razr-and-droid-4/

So, it looks like there might be another safestrap, but we'll see.
[Motorola Droid 3] Schattenspieler:
Ah, so that will be it, then. Hopefully there will be an updated version before we omap down the Android river. And I jst got my Droid3 from overseas. Well, … we'll see.
[Motorola Droid 3] Willis111:
I have tested this and it's working on my xt860 (safestrap I mean) but there are no roms to load onto the /preinstall partition that don't cause the same bootloop that any verizon rom will cause on our phones. Backup/Restore seems to be working great (though it's not backing up preinstall unless it's renaming it system). Good place to start, we should be able to get me863 running off preinstall.
[Motorola Droid 3] Hashcode:
In safestrap "system" is actually the /preinstall partition.
[Motorola Droid 3] DoubleYouPee:
So can I restore nandroid that I made with your old bootstrap with safestrap? Or am I mixing up stuff now?
[Motorola Droid 3] astronot:
ROM Switching

Was using CM7 via Safestrap and wanted to switch to SteelDroid 3.0 without having to switch bootstraps.

AGAIN: This is a method of ROM switching using Hash's Safestrap.

For those looking to do the same here's what I did:

Boot into recovery;

Toggle Safemode;

Wipe data;

Wipe cache;

Mounts & Storage>Format System;

Install zip from SD card;

Viola.

I must admit that I am by no means a developer, and have some small clue as to what I'm doing, but just by reading all (the few) threads on D3 ROM development, I was able to scrape up the courage to go ahead and do it, as opposed to waiting for devs to make their individual ROM's safestrap compatible. Boot took ~ 1min.

If anyone has any input or advice, go for it. Like I said, I just went ahead and did it cause I couldn't find reassurance that it has been done/works.

Many thanks to Hashcode & Chevy.
[Motorola Droid 3] Wolfhere:
Okay, I have been using the hashcode 'tweaked' cwbootstrap. Is this safestrap an updated version? How might I install this with your tweaked version running currently?
[Motorola Droid 3] lotzakritters:
So should I restore back to stock, full bloat. Just to get everything back to original before using Safestrap, and then start loading up any of the safestrap compatible roms? Example : motoblur-5.6.890, Steal Droid or DarkDroid.
[Motorola Droid 3] sic4672:
Normally it's not a good idea to mix different nandroids with different recovery versions especially with things in a state of flux as they are now. You can try, but be prepared to fix yourself if needed.

Yes and no. Safestrap was built from the tweaked CWR, but it is more of a progression on the D3 recovery in a new direction that has not been tried before now (at least not that I've seen). Best bet is to uninstall recovery with your current bootstrap program and then install safestrap.

Use the motoblur from the thread then feel free to flash the safestrap compatable ROM of your choice.

Anyone feel free to slap me if I am spreading incorrect information.
[Motorola Droid 3] Phibernaut:
After a bit of tinkering I think I "get it" and see the advantages of the Safestrap approach. I'm a fan of Monster ROM though - is there a Safestrap compatible Monster ROM in the works?
[Motorola Droid 3] astronot:
Read my post above, you SHOULD be able to flash any ROM using Safestrap. The majority of problems I've been seeing stem from trying to switch bootstraps (koush's, hash's, hash's safe, etc) and leaving backups and other critical data in different locations.
[Motorola Droid 3] Phibernaut:
I enjoyed using CM7. The lack of a camera wasn't that big of a deal and the performance was great (2800+ Quadrant scores), but I couldn't convince it to resync my contacts from Google and the call volume/quality was low. It'll be my regular ROM once the kinks are ironed out.

I'll try your approach with Monster tonight. It was a good performer and I loved the look. Hopefully my contacts get pulled in...
[Motorola Droid 3] spacecasespiff:
Im reading everything but have not seen any thing that im looking for. I have the safe strapp and I want to make a backup with that but I get an error with the m5 part at the end. Now I have a backup of stock rom with the tweaked bootstrap app. Now I don't understand all the stuff going on with how and what gets backed up I just want to know why im getting an error. Now I did unistall the bootstrapp and installed the safe strap app. All the instructions say make a backup but it has never worked using safe strapp. Now im downloading the stock rom that he supplied us to have it.
[Motorola Droid 3] lotzakritters:
Im getting FC when I try to run Safestrap. Im on Steal Droid3 and deleted the tweaked bootstrap. Safestrap loads up, but everytime I click on the icon, I get a FC. What am I doing wrong?
[Motorola Droid 3] sic4672:
The MD5 checksum error is a known issue with that version of CWR. The backup is fine though.

Did you actually remove the recovery from the tweaked bootstrap app before removing it? Try reinstalling the tweaked bootstrap, install recovery, reboot, open apk, remove recovery, reboot, uninstall tweaked bootstrap and install safestrap.
[Motorola Droid 3] lotzakritters:
Open apk and remove recovery? What exactly are you referring to?

Update, figured out my problem. Works now. Lol
[Motorola Droid 3] bfranclemont:
Backup errors

I followed directions to make a backup and got this error...

https://picasaweb.google.com/lh/photo/NiRKOiM6-4rT0vptepH8WQ?feat=directlink
[Motorola Droid 3] jojo4747:
How do you make backups with internal sd card?
[Motorola Droid 3] Wolfhere:
You are right. No remove recovery. But how did you resolve?
[Motorola Droid 3] lotzakritters:
I opened superuser and deleted bootstrap, uninstall tweaked bootstrap, rebooted and install safestrap.
[Motorola Droid 3] Wolfhere:
Makes sense now. thanks :cool:

I am looking forward to the updated Safestrap and being able to backup all partitions (at least all possible)
[Motorola Droid 3] lotzakritters:
It took me I few tries to do it. Lol
[Motorola Droid 3] daimerion:
I'm not sure if this is where I should post this but... When making a backup with CWM bootstrap(Not Safestrap) does it backup the /preinstall stuff too? I ask because I tried using the safestrap to flash a compatible rom and didnt backup and the rom wasnt functioning properly. I managed to recover back to my ogblur i was running prior but i wanted to know if my /preinstall was reverted and if not do I have anything to worry about with it not being how it was originally?
[Motorola Droid 3] lotzakritters:
Yes, when you make a backup of your current rom with bootstrap, it will save it at whatever state your phone is in. Example: if you froze apps with TB when you made the backup and use that backup to restore your phone, those apps will still be frozen. just like your preinstalled apps. Hope that clear things up a bit.;)
[Motorola Droid 3] ChaoticWeaponry:
Yeah what he said. It basically takes the entire image of your system, and saves it.
[Motorola Droid 3] fletch33:
any word on v1.0?

thanks
[Motorola Droid 3] Hashcode:
Safestrap 1.0 is out now. Lot's of changes, so let me know if you see anything screwy.

There's a couple of KNOWN ISSUES in the 1st post.
[Motorola Droid 3] emprize:
Anyone tested it in me863 yet?
[Motorola Droid 3] mvp3:
great

thank Hashcode
[Motorola Droid 3] somemadcaaant:
Amazing work there hashcode!

-smc
[Motorola Droid 3] ultima86:
what reasons would i move between safe and non-safe?
[Motorola Droid 3] Hashcode:
Reasons for being in safe-mode:

1. Protect your original system while you flash ROMs.

2. Now that most ROMs are supported in Safestrap you probably wouldn't stay in non-safe mode that much.

Reasons for flipping back to non-safe mode:

1. If you wanted to apply an OTA by Verizon for kernel updates, etc.
[Motorola Droid 3] LaZiODROID:
Neat. I installed the new 1.0 apk successfully on my XT860 (running the Chinese ME863 ROM, rooted of course) and hit the install button in the app. It said it installed successfully.

Powered off phone, turned it back on, got the nice splash screen and hit Menu. Screen went black and i saw the splash screen again. Tried letting it time out (to boot normally), then once i was back in, i powered off and tried one more time. No go.
[Motorola Droid 3] emprize:
success to boot in normal but cant boot to recovery?
[Motorola Droid 3] ultima86:
thats what i thought...so "Caching of userdata between the safe and non-safe systems" time really doesnt come into play that much

thx for all your work
[Motorola Droid 3] volcanomike:
I get force close after su permissions
[Motorola Droid 3] lotzakritters:
You said we can flash None-Safestrap Roms. I tried flashing RubiX, with no luck. Do you know if it is having the same problems as Liberty? Would really like to get that one back on my phone and be able to use your awesome Safestrap. And to clarify, you load the none-safestrap rom with safestrap enabled, right?

Just to add, the Safestrap roms work perfect.
[Motorola Droid 3] eww245:
Awesome, flashed Liberty with minimal problems.

The system partition ran out of space which caused a bootloop after hitting menu to get into recovery. Pulled the battery and it booted normally and I removed some files and reinstalled.

Consider checking for space or atleast adding something to the log file if any files differ.

Thanks :)
[Motorola Droid 3] lotzakritters:
Hashcode just posted on twitter.

Safestrap 1.02: bugfixes + new option to backup 1st system while in safemode and "Quick Safe System Toggle" (no backup/restore - dangerous).
[Motorola Droid 3] Hashcode:
Yeah, I need to do some kind of space check and do a warning.

I'll add that to the TODO. Sorry for the bootloop.
[Motorola Droid 3] Hashcode:
Can you check for a file in /data/data/com.hashcode.droid3safestrap/files/action-install.log

If you have that file can you put up a pastebin of it's contents?

I've heard about the error you describe 2 other times on other users' phones. And from what I gather it's Superuser.apk telling Safestrap that it has root permissions, but then not really granting the privileges.
[Motorola Droid 3] Androidsims:
Not sure I'm grasping this right. I can't install a .zip when safe system is disabled. I want CM7 on as my non safestrap and liberty as safe, how do I get this done?

Thanks for all your work Hash. :)

Edit: or do I need to flash a rom first, then install safestrap, backup then toggle? If I have to do it that way how do I update my other rom?

Edit 2: upon re-reading the OP it seems I should use this in conjunction with a rom to use incase I bork my other rom, not really to dual boot. Thanks again.
[Motorola Droid 3] Hashcode:
In reality Safestrap was never so much about being a dual boot ROM system as it was about not clobbering /system anytime you flashed a ROM.

I'd look at Safestrap 1.0 as a complete replacement for Koush's Bootstrap / Recovery, with the added benefit of protection against bad flashes, 2nd-init hijack overwrites, etc. Keep Safe System on and flash to your hearts content.
[Motorola Droid 3] 05gsxrk5:
Ok am I understanding this right I can

Sbf back to stock reroot install saftystrap and add forever root

Install a second rom (everyday rom I want to run)

If I hear about a ota update flash back to stock rom

Install the ota

Then flash back to my every day rom with updated radio and kernal
[Motorola Droid 3] lotzakritters:
+1. I think that's exactly right
[Motorola Droid 3] mvp3:
Hi Hashcode

if I don't use /preinstall in stock rom,So,I think that just need backup&restore /data /cache is enough,so toggle between safe and non-safe mode will be faster.

the idea feasible？
[Motorola Droid 3] Hashcode:
You sort of hit on an idea that I might implement in the next version of Safestrap.

I may make an advanced options menu where you can disable which partitions are backed up during the swap from 1st to 2nd-system. In your example you could disable the /system backup. And then when you swap it would only do /data and /cache.
[Motorola Droid 3] mvp3:
That's great，thank you.:D
[Motorola Droid 3] Nanostrike:
Hi hashcode,

Im using the XT883 model, OTA update, stock ROM.

I've installed Safestrap, root ok, etc

When in the loader, trying to activate safe mode, its saying it cant mount /system

Quick switch to safe mode works, however, after flashing the latest Liberty rom, the screen goes black when booting. The update is also very fast so it seems /system is not modified at all.

The logfile in Safestrap shows:

--Backing up Original System --

rm: cant remove /emmc/safestrap/orig/*': No such file or directory

Backing up system...

W:Failed to mount /de/block/mmcblk1p23 (Invalid Argument)

Can't mount /system!

Any advice? I'd really like to flash some other ROM than stock.

Thanks!
[Motorola Droid 3] Ohh_Trenton:
Really nice. Besides the Disable/Enable safe system bug text at the top of the screen now showing properly, this is a very essential recovery & everyone should be on this.

I find it very convenient to simply press menu at the splashscreen to enter recovery & go to work.

Correct me if im wrong but did I miss anything about being able to connect the phone to a PC while in recovery and transferring files, such as Zips?
[Motorola Droid 3] calash:
Since Liberty is now safe I want to switch over. Just to make sure I am understanding:

Load the APK

Download the stock Satestrap rom and apply via the Safestrap in non-safe mode

Switch to safe mode

Flash Liberty

???

Profit

Did I miss anything?
[Motorola Droid 3] eww245:
No need to flash the stock safestrap ROM. Hashcode has a tutorial on his blog hash-of-codes.blogspot.com/2011/10/beta-testing-safestrap-w-cm7.html?m=1 your flashing Liberty instrad of CM7 but the procedure is the same.
[Motorola Droid 3] calash:
My current rom is not compatible with Saftestrap (Liberty 1.0) so it will have to be changed anyways...I am thinking of just putting the stock as my safe boot and then loading the new liberty for testing.

Thanks for the link, not sure how I missed that before :).
[Motorola Droid 3] Hashcode:
Thanks!

The Disable/Enable messages are now fixed w/ 1.02. You can connect the phone to a PC while in recovery and use the USB mount sharing but, you need to have the phone connected BEFORE you reboot into recovery or the computer will have issues picking it up.
[Motorola Droid 3] Hashcode:
Any ROM should be compatible with Safestrap as long as you delete the /system/etc/rootfs folder from the .zip file. (And that was the problem with the older Liberty)

I'm hoping you meant that you would have the Stock MotoBlur as your Non-Safe ROM, and then load the new Liberty in Safe Mode. :)
[Motorola Droid 3] calash:
Yeah...the terminology is a bit odd to me. I blame lack of coffee ;)

I am running into an issue. I have Safestrap installed on the older version of Liberty as my non-safe. I switched to safe and installed the new version of Liberty.

How do I flash my non-safe to the stock+safestrap that I downloaded from the blog?
[Motorola Droid 3] sic4672:
Probably already answered, but can you use any ROM as your "non-safe" ROM? For example, I have SteelDroid 3.0 running right now and it's stable for me. Can I keep that as my "non-safe" ROM and flash, say, CM7 as my "safe" ROM? If so, then the process would be (from my understanding):

Remove current bootstrap/recovery

Install safestrap/recovery

reboot into recovery

toggle to safe

wait for transfer to occur

flash cm7

then boot normally and I will be in CM7 with SteelDroid as my non-safe that I can come back to if I want.

Please correct me if I am wrong in this process and thank you again for all of your hard work.

P.S. Do you have paypal?
[Motorola Droid 3] Nanostrike:
Is there anyone who could give some pointers here? Would really appreciate it.
[Motorola Droid 3] Hashcode:
Yep. Your process is correct.

You can use any stock-based ROM as your non-safe system. The issue is swapping out that ROM once you get Safestrap installed. It doesn't support flashing to the primary system.. so you'd have to jokey around Bootstraps if you wanted to do that.

I do have a paypal donate button around here somewhere:

http://www.hash-of-codes.blogspot.com

Always appreciated, but never asked for.
[Motorola Droid 3] Hashcode:
Hi Nanostrike,

I thought I already replied to this one.. but now I can't find it. Ah well.

I was wondering about your log line:

W:Failed to mount /de/block/mmcblk1p23 (Invalid Argument)

That looks like a typo because the mount point for the safe system is: /dev/block/mmcblk1p23 (or it should be anyway)

If it's not a typo, that certainly explains why you're having issues.

My recommendation is to reinstall Safestrap and then reuse the "Install Recovery" button. Should at the very least correct that file.
[Motorola Droid 3] Hashcode:
That's tricky. The ROM I put up on the blog is for Safe Mode not for stock system :/

What I would do is run the 5.6.890 OTA as your stock non-safe system + root and Safestrap. You can get the fastboot files and only run the system.img file part of it to do that. Then re-root.

Hope that helps.
[Motorola Droid 3] Nanostrike:
Thanks so much for replying. And I'm sorry it seems to have been a typo because I reinstalled and uninstalled a few times and the line is indeed with "dev" and not "de". I have to manually type the log into these posts.

Ill give the log directly after reinstall, reboot, safe boot menu, toggle safe system, FAIL, go back, advanced, show log:

CWM based Safestrap Recovery v5.0.2.7

Emmc space free: 8414MB

Can't mount /system!

ro.kernel.memsize=512M

init.svc.recovery=running

init.svc.adbd=running

I:Checking for extendedcommand...

I:Skipping execution of extendedcommand, file not found...

Emmc space free: 8414MB

-- Backing up Original System...

Backing up system...

W:failed to mount /dev/block/mmcblk1p23 (Invalid argument)

Can't mount /system!

I'm very eager to get it working and if you need me to try anything, please let me know.

Quick safe toggle and flashing either Liberty or SteelDroid results in a black screen after the 10 second safestrap screen.

Thanks!
[Motorola Droid 3] mvp3:
I guess that these rom can't run on xt883 radio.
[Motorola Droid 3] eww245:
You have an 883 or just running the rom? either way the partition name may not be the same. Can you run this from a terminal or adb no su needed,

cat /proc/partitions

This will show where the all the partitions are, in the left column you should see preinstall and to the right the block device /dev/block/mmcblk1p**. I'm not sure but if fixboot.sh is edited to reflect the correct preinstall partition it might work.
[Motorola Droid 3] Nanostrike:
Hi eww,

I have got an actual XT883 device.

Ive checked with the following results (all numbers are mmcblk1p**)

7 pds

15 boot

16 recovery

17 cdrom

18 misc

19 cid

20 kpanic

21 system

22 cache

23 preinstall

24 userdata

25 emstorage

mmcblk, mmcblkp1 to p6 and p8 to p14 are all empty

preinstall has 512 blocks, system has 438272
[Motorola Droid 3] eww245:
If preinstall has only 512 that's the problem. It should be at least the size of system to put a ROM on it. It doesn't look like its compatible.
[Motorola Droid 3] Nanostrike:
Anyway to change it? There are several larger partititions

mmcblk1 15679488 blocks

22 cache 557056

24 userdata 2588160

25 emstorage 11917184
[Motorola Droid 3] mvp3:
why not flash verizon rom,everything will be solved
[Motorola Droid 3] eww245:
The only other that might help is cache but not sure how to change the cache location, say to the sdcard, there really is no reason to have 535mb of cache it barely uses 16mb on mine anyway. userdata is /data and emstorage is /sdcard so they wont work and blk1 is the whole device 16GB
[Motorola Droid 3] Joe.cotto:
So any Rom that's safestrap compatible I can remain in safe mode,wipe data/cache,and install zip?
[Motorola Droid 3] Nanostrike:
You mean by flashing the Verizon ROM the partition table will be changed? And then use Safestrap?

For normal use of the Verizon ROM, after flashing it wants to make an activation call. It thinks its roaming outside the USA as well. I cant get past the activation call. Any suggestion to bypass would be welcome also
[Motorola Droid 3] mvp3:
in dial-panel

press Menu->Assisted Dialing->Assisted dialing status cancel it
[Motorola Droid 3] Nanostrike:
Great, some success now:

Flash Verizon ROM

Get past activation by tapping round the Droid

Install terminal, check partitions--> Now /preinstall is 400k+ blocks

Root with zerg

Install Safestrap

Reboot, toggle safe mode (backing up) Succes!

Install ROM from zip (Liberty)

Wipe data/cache

ROM boots

Now it can't find my home network CDMA2000 1x EV-DO from China Telecom no matter whether in Global or CDMA mode.

GSM from China Telecom working.

Seems I need to make adjustments to the radio?

I tried flashing just the radio.img from the stock ROM, but that leads to not finding the simcard at all.
[Motorola Droid 3] mvp3:
could you have call in cdma? just can't use 3g?
[Motorola Droid 3] Nanostrike:
Can't call and cant be called.
[Motorola Droid 3] mvp3:
China telecom is cdma,no gsm network,

Can you make sure that gsm is worked?

any warning infomation?
[Motorola Droid 3] Nanostrike:
Yes with a simcard from China Mobile it worked, I made a succesfull call.

With the original simcard from China Telecom it doesnt work. It says it is roaming but no calls can be connected or made.
[Motorola Droid 3] mvp3:
Verizon droid3 use in china telecom guide

http://www.gokuai.com/f/07d71703z58s6I7q

Tools:

http://www.gokuai.com/f/x2066r7K4jnG7B0r
[Motorola Droid 3] Hashcode:
Thank you for helping out Nano guys. I'm very sorry that I don't have more international phone experience.

But again, our great community is stepping up.
[Motorola Droid 3] Nanostrike:
Hi Hashcode,

Thanks so much for your tool.

I added the master boot records from the Verizon ROM and edited the .xml file of the stock XT883 ROM (thus keeping the original OS and radio). After a few attempts of figuring out to include which boot record files, the phone booted with the Verizon partition table.

Then I was able to install Safestrap normally and activated safe mode succesfully. After installing the ROM this time, it wouldnt boot up either.

Anyway, now that I know that it is partition related, im going to try mvp3's method. Thanks mvp3
[Motorola Droid 3] calash:
Early morning random question time:

Is there anyway in the Safe Rom to mount the partition for the unsafe rom? I was thinking it would give us a nice backdoor for rooting for future updates...assuming we could get an update to work without impacting safestrap.
[Motorola Droid 3] mvp3:
Hi Hashcode

report 2 bug,

1.the advanced restore no option of systemorig

2.in the advanced restore,if select go back,then return in the advanced restore,it will lost one option of system.

do the operation again that until no one option in de advanced restore.

---------- Post added at 05:11 PM ---------- Previous post was at 04:37 PM ----------

there is mount menu in safestrap recovery,but i can't use it...:confused:
[Motorola Droid 3] eww245:
Yes you can this is how I do it.

mkdir /mnt/system

mount -t ext3 -o ro /dev/block/systemorig /mnt/system
[Motorola Droid 3] DoubleYouPee:
I saw this from a moderator on droidforums:

Huh? I thought you could just uninstall the program and be done??
[Motorola Droid 3] beard0:
I tried making the switch last night but when I tried flashing liberty with the safe strap I kept getting error 255 and it wouldn't flash it
[Motorola Droid 3] DoubleYouPee:
Anyway I just tried this, uninstall bootstrap app, installed safestrap 1.04, pressed install recovery, rebooted, pressed menu on the bootscreen.. but then it vibrates and nothing happens (just black/blank screen). I waited for some minutes but nothing happened.

Had to pull the battery. Any idea :confused:

Thanks