• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Rooting on Mac

Ya there sure is!

Download the tool here!
http://www.mediafire.com/?2ugcdue4cw7dtc5


Instructions:
1. Download and Fully Unzip 'Droid3_Easy_Root_v7d'
2. On your phone: Settings > Applications > Development, and check USB debugging
3. Plug phone into computer and select "Charge Only" mode
4. Navigate to wherever you extracted it and run the file 'run_to_root_your_droid3.sh'
5. Now just follow the instructions in the command window and unlock the phone after each reboot.
 
I tried that; nothing happens other than a text document comes up... This is what's on it.

#!/bin/bash
#
# Modified from origial script by Framework, psouza4_, method by bliss
#
# Security Research by Dan Rosenberg
#
# Some things from Continuum one-click script by bubby323 (OSX support mainly)
#
# v7a - updated from psouza's v7, added check for already rooted, added check in case root fails
# v7b - attempt to better set up adb on OSX, removed Windows files from package, call for pc only mode
# v7c - rework platform detection/adb setup, handle case where system adb is installed
# This is what I get for copying bubby323's script. Sigh.
# v7d - document charge mode for mac, remove initial kill-server

if [ ! -f busybox -o ! -f su -o ! -f Superuser.apk ]
then
cat <<_EOF
! Error
!
! You must extract the entire contents of the zip file and then run this script
! from the directory where the zip was extracted.
_EOF
exit 1
fi

platform=`uname`
if [ $(uname -p) = 'powerpc' ]; then
echo "Sorry, this won't work on PowerPC machines."
exit 1
fi
which adb > /dev/null 2>&1
if [ $? -eq 1 ]; then
if [ "$platform" = 'Darwin' ]; then
adb="./adb.osx"
else
adb="./adb.linux"
fi
chmod +x $adb
else
adb="adb"
fi
$adb kill-server > /dev/null 2>&1
root=$($adb shell su -c id | grep uid=0)
if [ ! -z "$root" ]; then
cat <<_EOF
*
* Hey wierdo, your phone is already rooted.
*
_EOF
exit 1;
fi
cat <<_EOF
***************************************************************************
* *
* DROID 3 Easy Root script v7d *
* *
***************************************************************************
*
* Please make sure you meet these pre-requisites:
*
* (a) install the correct driver... er, nevermind, we don't need no stinkin' drivers
* (b) turn on USB debugging (on your phone under Settings -> Applications)
* (c) plug in your phone and set your USB mode to 'PC Mode' (on Linux)
* or 'Charge Only' mode (on Mac)
* (but if it hangs waiting for the phone to connect, set it the other way)
*
* READY TO ROOT YOUR DROID 3 WHEN YOU ARE!
*
_EOF
read -n1 -s -p "* Press enter to continue..."
cat <<_EOF

*
* Waiting for your phone to be connected...
*
_EOF
$adb wait-for-device
$adb wait-for-device
echo "* Running exploit [part 1 of 3]..."
$adb shell "if [ -e /data/local/12m.bak ]; then rm /data/local/12m.bak; fi"
$adb shell mv /data/local/12m /data/local/12m.bak
$adb shell ln -s /data /data/local/12m
$adb reboot

cat <<_EOF
*
* Rebooting the phone... when the reboot is complete, you may need to unlock the phone to continue.
*
_EOF

$adb kill-server
$adb wait-for-device
$adb wait-for-device
echo "* Running exploit [part 2 of 3]..."
$adb shell rm /data/local/12m
$adb shell mv /data/local/12m.bak /data/local/12m
$adb shell "if [ -e /data/local.prop.bak ]; then rm /data/local.prop.bak; fi"
$adb shell mv /data/local.prop /data/local.prop.bak
$adb shell 'echo "ro.sys.atvc_allow_netmon_usb=0" > /data/local.prop'
$adb shell 'echo "ro.sys.atvc_allow_netmon_ih=0" > /data/local.prop'
$adb shell 'echo "ro.sys.atvc_allow_res_core=0" >> /data/local.prop'
$adb shell 'echo "ro.sys.atvc_allow_res_panic=0" >> /data/local.prop'
$adb shell 'echo "ro.sys.atvc_allow_all_adb=1" >> /data/local.prop'
$adb shell 'echo "ro.sys.atvc_allow_all_core=0" >> /data/local.prop'
$adb shell 'echo "ro.sys.atvc_allow_efem=0" >> /data/local.prop'
$adb shell 'echo "ro.sys.atvc_allow_bp_log=0" >> /data/local.prop'
$adb shell 'echo "ro.sys.atvc_allow_ap_mot_log=0" >> /data/local.prop'
$adb shell 'echo "ro.sys.atvc_allow_gki_log=0" >> /data/local.prop'
$adb reboot

cat <<_EOF
*
* Rebooting the phone... when the reboot is complete, you may need to unlock the phone to continue.
*
_EOF

$adb kill-server
$adb wait-for-device
$adb wait-for-device
root=$($adb shell id | grep uid=0)
if [ -z "$root" ]; then
cat <<_EOF
! ERROR: root was not obtained.
!
! You might want to try rebooting your phone and trying again.
_EOF
exit 1;
fi
echo "* Running exploit [part 3 of 3]..."

$adb remount
$adb push busybox /system/xbin/busybox
$adb push su /system/xbin/su
$adb install Superuser.apk
$adb shell chmod 4755 /system/xbin/su
$adb shell chmod 755 /system/xbin/busybox
$adb shell /system/xbin/busybox --install -s /system/xbin/
$adb shell ln -s /system/xbin/su /system/bin/su
$adb shell chown system.system /data

cat << _EOF
*
* ALL DONE! YOUR PHONE SHOULD BE ROOTED!
*
******************************************************************************

_EOF
 
I tried that; nothing happens other than a text document comes up... This is what's on it.

Not being Much of a OSX user, I can't tell you how to do this. However, being an avid Linux Monkey, I can tell you what it seems like.

It seems as though your simply opening up the Script as a text file, you must run it in a Terminal/Shell.


(I do NOT use OSX, but I'm guessing you must... A. Open a Terminal and navigate to it and excute it or B. Right Click (or OSX equivalent) and select something like "Run" Again, I don't use OSX so I may be completely wrong. If this confuses you, Ignore it.)
 
Not being Much of a OSX user, I can't tell you how to do this. However, being an avid Linux Monkey, I can tell you what it seems like.

It seems as though your simply opening up the Script as a text file, you must run it in a Terminal/Shell.


(I do NOT use OSX, but I'm guessing you must... A. Open a Terminal and navigate to it and excute it or B. Right Click (or OSX equivalent) and select something like "Run" Again, I don't use OSX so I may be completely wrong. If this confuses you, Ignore it.)

Deadchex is right... .sh is a shell file so you have to execute it, I would try running a google or something to figure out how to do this
 
Google has been no help =/ everything I've come across is completely unhelpful. It assumes you already know how to do it, which I don't. All I've gleaned from searches is Terminal is involved somehow. Anyone know how to explain the steps to using this file?
 
Google has been no help =/ everything I've come across is completely unhelpful. It assumes you already know how to do it, which I don't. All I've gleaned from searches is Terminal is involved somehow. Anyone know how to explain the steps to using this file?

Navigate to the file in terminal and type:

sh file.sh

--OR--

bash file.sh
 
Well, I got that to work, now to phone won't connect. It sticks at "waiting for your phone to be connected". I have USB debugging on, I have it on charge only mode (and have tried PC Mode also), but it still stalls on that step.
 
Intresting problem, can you provide us info about your computer, and OS. As well as things diffrent about your phone?
Are you using and OEM cabel?
Try rebooting both phone and computer.
Make sure you have the adb file (if there is one for mac)
Try a diffrent USB port


Also try all the other USB modes as well.
 
Intresting problem, can you provide us info about your computer, and OS. As well as things diffrent about your phone?
Are you using and OEM cabel?
Try rebooting both phone and computer.
Make sure you have the adb file (if there is one for mac)
Try a diffrent USB port


Also try all the other USB modes as well.

Macbook Pro, Snow Leopard 10.6.8. I've also tried it on a PC running Windows XP using the PC Root with the same results.

Absolutely nothing modded on my phone. Got it the first day it was out & the only things different are a few apps I've downloaded, the contacts, and pictures I've taken.

I'm using the cable that originally came with it. It works just fine, it charges with the AC adapter & the computer also recognizes it when plugged in (as in, when I set it to storage mode, I can move files to it, etc.).

I do have the adb.

I've tried both USB ports on the Mac & all 3 on the PC. The root program simply refuses to recognize that it's connected no matter what USB mode it's in or how many times I toggle it. I sat there for 15 minutes switching through them to no avail.
 
Macbook Pro, Snow Leopard 10.6.8. I've also tried it on a PC running Windows XP using the PC Root with the same results.

Absolutely nothing modded on my phone. Got it the first day it was out & the only things different are a few apps I've downloaded, the contacts, and pictures I've taken.

I'm using the cable that originally came with it. It works just fine, it charges with the AC adapter & the computer also recognizes it when plugged in (as in, when I set it to storage mode, I can move files to it, etc.).

I do have the adb.

I've tried both USB ports on the Mac & all 3 on the PC. The root program simply refuses to recognize that it's connected no matter what USB mode it's in or how many times I toggle it. I sat there for 15 minutes switching through them to no avail.


This is a Strange issue, If its not the cable, and not the Port/Computer. It must be the phone, However you said it works on storage mode. So it couldn't be the phone.

Make sure the application is running with Admin Rights. Via, Sudo (OSX i think), or "Run as Administrator" in Windows.

To accomplish using windows, Right click the One click root file.
Select "Run as Administrator". And then it should work. (Enter any passwords and click yes/okay is anything pops up)

Under OSX, I believe you must run it using "sudo *THE COMMAND TO RUN*" (Minus quotes, fill in the asterisks with the appropriate thing)
Type YOUR password if Asked.
but I'm not sure with OSx.
 
Tried that & it still sticks waiting for the phone to be connected.

That's extremely strange. I can't think of anything else preventing you from rooting.

Besides the bizarre, like fire walls, corrupt downloads, and corrupt OSes.

I'm sorry, but at this point I do not know what to do.


(If you really really really want root. I can attempt to write a guide on using an Ubuntu Linux LiveCD to root.)
 
Okay first make sure you are using the cable that CAME your phone, or it won't work.

I'm assuming you're asking if it's the cable that came with my phone, & I said it is. I've tried other cables that fit also, in case it was the cable, but the cable I used for a majority of tries was the original that came in the box.
 
Back
Top Bottom