Jump to content


Photo

Droid Razr Utility [Mac/linux]


  • Please log in to reply
173 replies to this topic

#61 jgoose

jgoose

    n00b

  • Members
  • Pip
  • 2 posts

Posted 21 February 2012 - 03:37 PM

I get an error message when trying to restore the phone to 6.11. Any thoughts?

Posted Image

Myself, andydroid and Disco_duck all seem to be hung up on this step now. Anybody figure out what was causing this error?

#62 itbedave

itbedave

    Member

  • Members
  • PipPip
  • 27 posts
  • Google+:itbedave@gmail.com
  • LocationMonroe, OH
  • Current Device(s):Droid Razr Maxx

Posted 21 February 2012 - 06:03 PM

I noticed the .173 full version of the file in the OP is different than the one I downloaded the other night. It now is:

Please Login or Register to see this Hidden Content



Whereas before it was:

Please Login or Register to see this Hidden Content



Does the newer one work on Macs too?

And any reason it takes so long to download???? It's taking about 2 hours and I have roadrunner with 15Mbps down

#63 mattlgroff

mattlgroff

    The Dark Knight

  • Developer
  • 2,298 posts

Posted 21 February 2012 - 08:12 PM

I noticed the .173 full version of the file in the OP is different than the one I downloaded the other night. It now is:

Please Login or Register to see this Hidden Content



Whereas before it was:

Please Login or Register to see this Hidden Content



Does the newer one work on Macs too?

And any reason it takes so long to download???? It's taking about 2 hours and I have roadrunner with 15Mbps down

They both work with Mac. The download is slow because goo-inside.me is having some issues

Please do not Personal Message me for help or troubleshooting. They will be ignored. Post in threads or start one in Q&A sections.

If you feel the need to donate to me, click here.


#64 sevenup30

sevenup30

    n00b

  • Members
  • Pip
  • 20 posts

Posted 22 February 2012 - 12:14 AM

Myself, andydroid and Disco_duck all seem to be hung up on this step now. Anybody figure out what was causing this error?

i dont own a mac, but, after some googling, it seems that the fastboot binary you're using is not for your architecture, it might be for 32bits and you running osx 64bits.

Please try to download the moto-fastboot for mac here and replace it in the /files directory and give it a try.

Please Login or Register to see this Hidden Content



#65 ohsm

ohsm

    n00b

  • Members
  • Pip
  • 8 posts

Posted 22 February 2012 - 12:29 AM

I've put a torrent together for the FULL 173 file. Files are on 2 fast servers so it should be pretty quick. Torrent file is attached, unzip and add to your client.

Attached Files


  • itbedave likes this

#66 itbedave

itbedave

    Member

  • Members
  • PipPip
  • 27 posts
  • Google+:itbedave@gmail.com
  • LocationMonroe, OH
  • Current Device(s):Droid Razr Maxx

Posted 22 February 2012 - 03:10 AM

I've put a torrent together for the FULL 173 file. Files are on 2 fast servers so it should be pretty quick. Torrent file is attached, unzip and add to your client.


Thank you for the speedy download option! That literally took about 10 seconds to download. :-)

I'll let you know how it goes after I give it a shot later this morning.

#67 topdog031382

topdog031382

    Member

  • Members
  • PipPip
  • 131 posts

Posted 22 February 2012 - 10:14 PM

How the hell do you run this thing? I am used to windows. Every command I put in it says no such command. I am totally lost

#68 obeygiant

obeygiant

    Utility Pro

  • Superuser
  • 79 posts
  • Twitter:obey22giant
  • Google+:https://plus.google.com/109248393171126077439/about

Posted 22 February 2012 - 10:37 PM

How the hell do you run this thing? I am used to windows. Every command I put in it says no such command. I am totally lost


Are you on a Mac or Linux computer?

#69 sevenup30

sevenup30

    n00b

  • Members
  • Pip
  • 20 posts

Posted 23 February 2012 - 12:02 AM

How the hell do you run this thing? I am used to windows. Every command I put in it says no such command. I am totally lost

open terminal, cd to your directory and type "sh name-of-script.sh"
  • mattlgroff likes this

#70 topdog031382

topdog031382

    Member

  • Members
  • PipPip
  • 131 posts

Posted 23 February 2012 - 08:09 AM

Are you on a Mac or Linux computer?

MAC

#71 kwiz

kwiz

    n00b

  • Members
  • Pip
  • 13 posts
  • Twitter:kwameshorter
  • Google+:https://plus.google.com/u/0/103891715356168363279/posts

Posted 23 February 2012 - 02:55 PM

Really curious to confirm if this is worth my time. I have a Mac running OS X (Snow Leopard) on 32-bits. I'm all ready to get started, but am wondering if it's easier to do it on a PC with Wondows instead of the T&E I see happening here.

#72 itbedave

itbedave

    Member

  • Members
  • PipPip
  • 27 posts
  • Google+:itbedave@gmail.com
  • LocationMonroe, OH
  • Current Device(s):Droid Razr Maxx

Posted 23 February 2012 - 03:27 PM

I've been working with obeygiant directly trying to figure out what's going on with the Mac implementation - and it's still not working correctly. Right now, if you have access to a PC, it literally take less than 5 minutes to go that route. I'm sure the community would appreciate anyone willing to test and report back on the various T&E we're going through on the Mac right now. But if you just need it to be rooted quickly, it's much more easily done on a Windows machine right now. But I'm determined to figure out the Mac issues so we have a native method too.

#73 obeygiant

obeygiant

    Utility Pro

  • Superuser
  • 79 posts
  • Twitter:obey22giant
  • Google+:https://plus.google.com/109248393171126077439/about

Posted 23 February 2012 - 04:37 PM

I've been working with obeygiant directly trying to figure out what's going on with the Mac implementation - and it's still not working correctly. Right now, if you have access to a PC, it literally take less than 5 minutes to go that route. I'm sure the community would appreciate anyone willing to test and report back on the various T&E we're going through on the Mac right now. But if you just need it to be rooted quickly, it's much more easily done on a Windows machine right now. But I'm determined to figure out the Mac issues so we have a native method too.


Thanks for the testing and help, itbedave. I do have a fix out that works on my osx 10 Lion 64bit for root and unroot. I still haven't gotten fastboot to work on the Mac at all. I'll post a dropbox link to it in just a few minutes if Batman could link it or get a torrent.

Sent from my DROID RAZR using Tapatalk

#74 obeygiant

obeygiant

    Utility Pro

  • Superuser
  • 79 posts
  • Twitter:obey22giant
  • Google+:https://plus.google.com/109248393171126077439/about

Posted 23 February 2012 - 05:00 PM

Here its the latest version. Alot has been cleaned up. I hashed out the lines to wipe userdata, but put option 16 in the menu to manually wipe data, as it has helped me with some rooting permissions problems. Repeat, THIS WILL NOT WIPE YOUR DATA ON OPTION 1 BUT THE OPTION TO WIPE IS THERE IF YOU EXPERIENCE PROBLEMS. Fastboot for Mac does not work yet but im still looking into it. Any Mac guys out there willing to help test would be greatly appreciated! Here it is (Keep Looking a few posts down for the update!)

Sent from my DROID RAZR using Tapatalk

Edited by obeygiant, 24 February 2012 - 08:24 PM.


#75 kwiz

kwiz

    n00b

  • Members
  • Pip
  • 13 posts
  • Twitter:kwameshorter
  • Google+:https://plus.google.com/u/0/103891715356168363279/posts

Posted 23 February 2012 - 08:25 PM

I've been working with obeygiant directly trying to figure out what's going on with the Mac implementation - and it's still not working correctly. Right now, if you have access to a PC, it literally take less than 5 minutes to go that route. I'm sure the community would appreciate anyone willing to test and report back on the various T&E we're going through on the Mac right now. But if you just need it to be rooted quickly, it's much more easily done on a Windows machine right now. But I'm determined to figure out the Mac issues so we have a native method too.


Hey thanks for the quick response. I'll test whatever you obeygiant can whip out. I figure it's a small price for the contribution to community that makes it possible. And as I stated before my Macbook is an old-school white on 32bits with Snow Leopard. Kind of busy until later in the weekend, but as soon as I have some spare time I'll get to testing and reporting.

#76 moretoys

moretoys

    n00b

  • Members
  • Pip
  • 1 posts

Posted 24 February 2012 - 12:45 PM

My razr is now rooted! Thank you all for your hard work putting this together.

I am a mac user and used obeygiant's zip. I did have to make 2 minor changes to the script.

The first was to change the logic that created the $adb and $fastboot variable. The code that was there would have worked for me because I have the android sdk installed and in my path, but it wouldn't find the local copies for me. Here is an example of the modification, note this change is needed in several places. Added $adb and changed the logic to be -ne.


which $adb > /dev/null 2>&1
if [ $? -ne 0 ]; then
echo "could not find embedded adb, use a adb in path"
adb="adb"
fi

Other change is I had to add setting the permissions on busybox. I added the line in bold. I tried to do these steps manually through a terminal window on the razr, but I got an error that /system was readonly.


$adb push files/busybox /system/xbin/busybox
$adb shell 'chmod 4755 /system/xbin/busybox'
$adb shell '/system/xbin/busybox --install /system/xbin/'

Again, thanks to all for the hard work. Now I am on my way to getting OpenVPN installed.
  • itbedave likes this

#77 itbedave

itbedave

    Member

  • Members
  • PipPip
  • 27 posts
  • Google+:itbedave@gmail.com
  • LocationMonroe, OH
  • Current Device(s):Droid Razr Maxx

Posted 24 February 2012 - 01:08 PM

AWESOME!!! I knew someone would figure out what was going on with ADB. Can't wait to try this once it's changed!

#78 obeygiant

obeygiant

    Utility Pro

  • Superuser
  • 79 posts
  • Twitter:obey22giant
  • Google+:https://plus.google.com/109248393171126077439/about

Posted 24 February 2012 - 02:49 PM

My razr is now rooted! Thank you all for your hard work putting this together.

I am a mac user and used obeygiant's zip. I did have to make 2 minor changes to the script.

The first was to change the logic that created the $adb and $fastboot variable. The code that was there would have worked for me because I have the android sdk installed and in my path, but it wouldn't find the local copies for me. Here is an example of the modification, note this change is needed in several places. Added $adb and changed the logic to be -ne.


which $adb > /dev/null 2>&1
if [ $? -ne 0 ]; then
echo "could not find embedded adb, use a adb in path"
adb="adb"
fi

Other change is I had to add setting the permissions on busybox. I added the line in bold. I tried to do these steps manually through a terminal window on the razr, but I got an error that /system was readonly.


$adb push files/busybox /system/xbin/busybox
$adb shell 'chmod 4755 /system/xbin/busybox'
$adb shell '/system/xbin/busybox --install /system/xbin/'

Again, thanks to all for the hard work. Now I am on my way to getting OpenVPN installed.


Good catch moretoys! I noticed the busybox permissions after I updated some of the files and ls -l everything, but Id already linked the file. Im fairly new to writing scripts, so I didnt catch the -ne at all! I appreciate the feedback and help on this. Id love for it to be as helpful and stable on both Mac and Linux systems as Batman's Windows Utility is for the Windoze guys. I updated the script with your changes, now back to banging my head against the wall trying to get fastboot to work!!

#79 obeygiant

obeygiant

    Utility Pro

  • Superuser
  • 79 posts
  • Twitter:obey22giant
  • Google+:https://plus.google.com/109248393171126077439/about

Posted 24 February 2012 - 08:23 PM

Ok, Ive removed the link a few posts up, and here is the link for the updated Utility with moretoys' changes (Ive got to get something better than Dropbox for this!). permissions should all be set correctly now. Still a no-go for fastboot on the Mac, but that seems to be the last hurdle left. Tear it apart, and use it up guys!

Please Login or Register to see this Hidden Content




Edit: It seems as though fastboot does in fact work on the Mac, but I may have a problem with the computer. Even issuing simple fastboot commands ( "./fastboot.osx devices" or "./fastboot.osx reboot-bootloader") takes a ridiculous amount of time to execute (ie, 3 to 4 minutes vs the 3 to 4 seconds on my Linux computers). This was with the fastboot.osx file under ./files, as well as the fastboot file compiled locally with my SDK. I dont think it would be feasible to try and flash all the fastboot files this way on my computer, without the battery dying during the very very long process. And since I dont have a factory flash cable that charges while in fastboot, Im not going to attempt it on my phone. If someone with a Mac could cd to the ./files directory in the Utility folder and execute "./fastboot.osx devices" with the phone in AP Fastboot mode, and get a response ("string of numbers" device") within a reasonable time (a few seconds), that would be a great help. If you would then like to flash the fastboot files under Option 1, I would suggest having a fallback option on hand (A PC or Linux computer avaliable to do a full restore, just in case). If you do, make sure you have a full battery, repeat: A FULL BATTERY! I would love any feedback or suggestions from you guys. I appreciate the feedback you guys have given so far!!!


Happy Flashing!!!!!

Edited by obeygiant, 25 February 2012 - 08:50 AM.


#80 blakemoore945

blakemoore945

    n00b

  • Members
  • Pip
  • 3 posts

Posted 26 February 2012 - 08:24 AM

Could someone seed the torrent, please?




2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users