Jump to content

  1. 0
  2. 0
  3. 0/5

Rate this Topic

- - - - -

BionicRestorer for Linux/Mac Users

  • Please log in to reply

OP crpeck

crpeck

Supporting Member

  • 174 posts

Posted 13 January 2012 - 04:20 PM #1

For Mac and Linux people - it's BionicRestorer v1.0
A way to flashboot restore your Bionic to 5.5.893

I'm finished with the new MotoRooter for Mac/Linux - naming it BionicRestorer because it's completely different. Right now it's in my Dropbox Folder, still no where to put it - lol.


Here's the link to BionicRestorer.zip
(Note - the originally posted BionicRestorer.zip had a minor bug, it was updated on 2/9/2012)

Download it, unzip it, cd into the BionicRestorer directory and type ./BionicRestorer.sh to run it. Mac folks can double click on the Mac-BionicRestorer.command file in that directory.

Linux People - this is solid, I've run it on LinuxMint (Ubuntu) and Scientific Linux (Redhat) and it worked everytime without a glitch.

Mac People - This is tempermental on the Mac, I've tried it on 3 different Mac's and it worked sporadically on a Macbook Air running 10.7.2, didn't work on the iMac at all running 10.7.2, and worked consistently on a Macbook running 10.6.8. Use at your OWN RISK!!!! If it hangs, all I can is - try it again, or, run Linux, or, use RSDlite on Windows.

Option 3 (restore system, boot, recovery seems to work well on a Mac, but, NOTE that these files are from v5.5.893! If you select option 3 you had better have flashed or updated to that version previously, or, it will most likely bootloop when it finishes.

Note - This does NOT contain the actual files needed for flashing,
just the brains to flash them. You will need to download the zipfile
VRZ_XT875_5.5.893.XT875.Verizon.en.US_CFC_01.xml.zip from
http://rootzwiki.com...893-fxz-leaked/
then unzip it into the BionicRestorer directory.
Once it is extracted there should be a directory named:
VRZ_XT875_5.5.893.XT875.Verizon.en.US_CFC_01.xml
which contains all the files needed to do a flash restore.

And the menu looks like this:

BionicRestorer.sh (1.0) by crpeck


1. Restore a Bionic to 5.5.893 - NOT FOR 5.9.901 BIONICS!
-restores EVERYTHING to official 5.5.893
-wipes data

2. Restore a 5.9.901 Bionic to 5.5.893
-restores EVERYTHING EXCEPT for the cdt.bin to 5.5.893
-cdt.bin is restored using the 5.9.901 file
-wipes data
** YOU SHOULD ONLY USE THIS IF YOU ARE OR HAVE BEEN ON 5.9.901 **

3. Minimal Restore of system, boot, and recovery only
-restores ONLY the system,boot and recovery to official 5.5.893,

4. Root and ForeverRoot a non-rooted Bionic
-roots and installs the ForeverRoot hack

5. Copy 5.9.901 update file to sdcard
-this copies the unoffical 5.9.901 update file to your sdcard
chances are, your Bionic will bug you to do an update when it see's it
there, you can usually force it via the 'Check for Updates' screen.

6. Verify MD5sums of the flash image files (you should do this at least once)

7. Help - More detailed Information

q. Quit


NOTE: Selections 1-3 do NOT root the phone! Run 4 after running them.


By Your Command (1-7,q):


I took the .xml file from the VRZ_XT875_5.5.893.XT875.Verizon.en.US_CFC_01.xml.zip and re-wrote it into shell scripts (I also took out the piece in there that erases the internal sdcard - who wants to lose that - lol). There is a considerably amount of error-checking as well, but, I'm sure I missed something (which will result in v 1.1).

I encourage you to look through the scripts, feel free to modify and make it better! This may be the last release of this from me, as work is replacing my Bionic with a gnex in the near future - gonna miss the Bionic, it's been a fun learning tool.

Enjoy....

Oh - look at the 00_README_1ST.txt file - it's similar to this writeup, and, select the help option for more detailed information.

Edited by crpeck, 09 February 2012 - 12:51 PM.

  • 2 Likes

frostincredible

frostincredible

Teenage Hacker >:)

Posted 14 January 2012 - 08:51 AM #2

Worked flawlessly on Ubuntu. Thank you!
  • 0 Likes
Device: iPhone 5 32GB, Nexus 7
Current ROM: Custom AOSP

Stelv

Stelv

Android Lover

  • 121 posts

Posted 14 January 2012 - 10:23 AM #3

Thank you. I always appreciate mac methods. This will come in handy.

Sent from my DROID BIONIC using Tapatalk
  • 0 Likes

LDubs

LDubs

Grimace

Posted 14 January 2012 - 03:09 PM #4

Thanks bro. This got me out of a jam.
  • 0 Likes

CantMesWitDis

CantMesWitDis

Member

Posted 15 January 2012 - 08:51 AM #5

So started to run this then backed out because once you choose 2, it talks about enter your password.... are you referring to your computer's password?
  • 0 Likes

OP crpeck

crpeck

Supporting Member

  • 174 posts

Posted 15 January 2012 - 09:37 AM #6

So started to run this then backed out because once you choose 2, it talks about enter your password.... are you referring to your computer's password?


It's wants your password on the computer you are running it on. It has to run with 'root' privileges on you Mac or Linux computer.
  • 0 Likes

CantMesWitDis

CantMesWitDis

Member

Posted 15 January 2012 - 09:58 AM #7

Thanks, that's what I figured, but just wanted to make sure....so ran it on a MACbook OS 10.6.8. It's hanging at ...

Here we go, I don't stop on errors, once it starts there is no stopping
Running: /Users/Desktop/Droid/BionicRestorer/bin/moto-fastboot32.Darwin reboot-bootloader
rebooting into bootloader... OKAY [ 0.006s]
Running: /Users/Desktop/Droid/BionicRestorer/bin/moto-fastboot32.Darwin flash mbm allow-mbmloader-flashing-mbm.bin
< waiting for device >
sending 'mbm' (256 KB)... OKAY [ 0.019s]
writing 'mbm'... OKAY [ 0.486s]
Running: /Users/Desktop/Droid/BionicRestorer/bin/moto-fastboot32.Darwin reboot-bootloader
rebooting into bootloader... OKAY [ 0.006s]
Running: /Users/Desktop/Droid/BionicRestorer/bin/moto-fastboot32.Darwin flash mbmloader mbmloader.bin
< waiting for device >
sending 'mbmloader' (40 KB)...
  • 0 Likes

LDubs

LDubs

Grimace

Posted 15 January 2012 - 10:04 AM #8

How long has it been sitting on that step? That is a small file, shouldn't take that long. If it hangs for a while, you can hit CTRL-C to kill it and then restart it. As Crpeck said it's a little bit flaky on Mac. Also, reboot your Mac before starting again.
  • 0 Likes

CantMesWitDis

CantMesWitDis

Member

Posted 15 January 2012 - 10:11 AM #9

Yeah, a small file so it shouldn't take long at all....but it was sitting for 10 minutes. Gonna go the restart method and retry. If I'm running 901 can I do option 3 since Crpeck said that's the only stable option on Mac???
  • 0 Likes

LDubs

LDubs

Grimace

Posted 15 January 2012 - 10:39 AM #10

Were you on 901? If so Im not sure option 3 will work.

Tapatalked from my Bionic
  • 0 Likes