Question about rooting with a mac

Freakish Gnome

Well-known member
Feb 11, 2011
63
3
0
Visit site
I've followed all the root instructions (I'm no software whiz and new to the whole rooting thing), installed Mono and downloaded super one click but I of course can't run the exe. How can I without doing something ridiculous like partitioning my hard drive and getting windows?
 

Cyber Warrior

Robots Will Kill
Nov 28, 2010
7,239
2,519
0
Visit site
Nothing that I can find. Everything suggests using parallel or bootcamp. The .exe extension is for a PC. Theres no way you can get a hold of someone with a PC? I would Google rooting the Atrix on a Mac. Maybe you can find something I missed.
I believe you need to install net framework 2.0 and Mono v1.2.6 and run the .exe command in terminal.
You can try this article:
How To: Motorola Atrix 4G Root - BriefMobile
 

dopestar

Well-known member
Feb 14, 2011
81
1
0
Visit site
Is there a reason why no developers have established a program for rooting androids on a MAC OS? I know some will say that MAcs are usually for IPones but that is not true..
 

slushy

Active member
Feb 25, 2011
31
11
0
Visit site
THIS ONLY WORKS UNDER 1.26 SOFTWARE! Do NOT Try IT IF YOU"VE UPDATED


I was having issues rooting my Atrix using my Macbook Pro. I have a WinXP install running under VirtualBox which failed using superoneclick.

So I hunted around until I found this on XDA:
[SCRIPT] aRoot for Atrix 4G [ root - init.d - sideloading - tethering ] - xda-developers

DesignGears (starter of thread above) has a script that you can try to run which roots, enables sideloading, and enables tethering. You should try it but I couldn't get it to work either (using VirtualBox) -- as is at least.

Basically, I modified what he did so that:
1) the adb.exe he has is replaced with the mac version of adb (downloaded from the 2.3 SDK)
2) modified the root and unroot scripts so that they are valid UNIX sh scripts instead of Windows /bat files.
3) removed the stuff from the root script that "cleaned up" the mess left by SuperOneClick. Since I never got s1c to run cleaning it up seemed silly.

I'm not sure you should trust me but attached is a zip you can extract to do the job.

A completely reasonable thing to do, instead of trusting a random dude on the internet, would be to
1) Download the mac android sdk from google (http://dl.google.com/android/android-sdk_r10-mac_x86.zip) to snag a copy of adb you know is good
2) Download the original aRoot.7zip from the XDA thread
3) download my copy of the aRoot.zip
4) compare my aRoot.sh to the original aRoot.bat, verifying that nothing untoward is being done.

My atrix is now rooted! have fun! :)
 
Last edited:
  • Like
Reactions: Freakish Gnome

slushy

Active member
Feb 25, 2011
31
11
0
Visit site
Ok, computer ******ed. What do I do with this?

Thank you though slushy

NP! :)

OK, here are the "complete Mac noob" instructions :

  1. Don't plug your phone into the computer just yet.
  2. Download the mac-aRoot.zip file
  3. Open Finder, go to directory where you downloaded the zip (probably Downloads)
  4. Double-click the zip -- it will create a new directory called "mac-aRoot"
  5. Open the "Terminal" program -- go to Applications, then Utilities, Terminal. This opens a command prompt that will look something like this:

    spiffy:~ eric$

    In my case, "spiffy" is the hostname of my computer and "eric" is my username. (The "~" means that the current directory is my home directory.)
  6. change directory ("cd" command) to the newly created mac-aRoot directory. On my computer it looks like this:

    spiffy:~ eric$ cd Downloads/mac-aRoot

  7. Grab your phone, go Settings -> Applications -> Development and check the box for "USB Debugging"
  8. Hook up your phone to the computer via the USB port. Unlike the Windoze drones, no USB drivers are needed -- it "Just Works" :)
  9. When the phone settles down, (if prompted) Select "None" on the connection type dialog
  10. Back on your computer, type this:

    spiffy:mac-aRoot eric$ ./aRoot.sh


    Note that the command is "dot slash aRoot.sh".
  11. Watch the output, it should take less than 2 minutes for everything to run.
  12. The script reboots your phone and it is done.
  13. Profit

Look in your app drawer, you will find the "Superuser" app.

All props to DesignGears from XDA.
 
Last edited:
  • Like
Reactions: a4pike
Mar 25, 2011
5
0
0
Visit site
Slushy i just followed ur instructions step by step but terminal is saying

"-bash: ./aRoot.sh: /bin/sh^M: bad interpreter: No such file or directory"

... and nothing happens.
 

slushy

Active member
Feb 25, 2011
31
11
0
Visit site
THIS ONLY WORKS UNDER 1.26 SOFTWARE! Do NOT Try IT IF YOU"VE UPDATED


My bad -- the aRoot.sh script I originally uploaded was missing some of the OSX security needed to execute.

Attached is a second take. Also changed is more explicit output from the script: you can see more of what it is doing as it runs
 
Last edited:

a4pike

Member
Feb 21, 2011
8
0
0
Visit site
So, I did everything as you wrote, however I get a lot of this as a result... "aRoot.sh: line 42: ./adb: No such file or directory"

Any thoughts?
 
Last edited:

a4pike

Member
Feb 21, 2011
8
0
0
Visit site
Here is what i get after trying the process again... still not rooted (using the terminal "su" command check...) :(

That being said, I do have superuser in my app tray... so, I'm sorta rooted I guess...


Getting temporary root access...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
1240 KB/s (585731 bytes in 0.460s)
Failed to set prot mask (Inappropriate ioctl for device)
Mounting /system as read/write ...
mount: Operation not permitted
Rooting your device ...
failed to copy 'bin/su' to '/system/bin/su': Read-only file system
Unable to chmod /system/bin/su: No such file or directory
Installing Superuser app ...
1285 KB/s (196521 bytes in 0.149s)
pkg: /data/local/tmp/Superuser.apk
Success
Installing sqlite3 ...
failed to copy 'bin/sqlite3' to '/system/bin/sqlite3': Read-only file system
Unable to chmod /system/bin/sqlite3: No such file or directory
Enabling sideloading ...
sqlite3: not found
Enabling tethering ...
sqlite3: not found
/system/bin/sqlite3: not found
Enabling init.d support ...
failed to copy 'bin/install-recovery.sh' to '/system/etc/install-recovery.sh': Read-only file system
mkdir failed for /system/etc/init.d, Read-only file system
failed to copy 'bin/00remount' to '/system/etc/init.d/00remount': No such file or directory
chmod: /system/etc/install-recovery.sh: Read-only file system
chmod: /system/etc/init.d: No such file or directory
Rebooting ...
 

slushy

Active member
Feb 25, 2011
31
11
0
Visit site
Getting temporary root access...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
1240 KB/s (585731 bytes in 0.460s)
Failed to set prot mask (Inappropriate ioctl for device)
...

Hmmmm... the part where it says "Failed to set prot mask (Inappropriate ioctl for device)" is an error message indicating that the exploit that gains initial root access (psneuter) failed.

If psneuter fails then the whole operation fails.

What Build number is your phone (Settings --> About Phone)? Mine is

Build: OLYFR_U4_1.2.6

the original aRoot from XDA is supposed to work against OLYFR_U4_1.2.6 and OLYFR_U4_1.5.2. Did you get the new update that is being pushed to some people?
 
Mar 25, 2011
5
0
0
Visit site
i just finished rooting my Atrix a couple of days ago and I updated my phone. Everything seems to be working fine. However I have no idea wether or not I need to somehow update the rooting.... or something.
 

coreymcl

Well-known member
Oct 15, 2009
217
14
0
Visit site
I just tried to follow the instruction posted here and it does not appear to have worked, as I can not install the Amazon app store. Below I copied what was displayed in terminal app when I ran the script. By the way I am running system version: 4.1.57.MB860.ATT.en.US. Can somebody let me know what I should do next?



Getting temporary root access...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
870 KB/s (585731 bytes in 0.657s)
Failed to set prot mask (Inappropriate ioctl for device)
Mounting /system as read/write ...
mount: Operation not permitted
Rooting your device ...
failed to copy 'bin/su' to '/system/bin/su': Read-only file system
Unable to chmod /system/bin/su: No such file or directory
Installing Superuser app ...
923 KB/s (196521 bytes in 0.207s)
pkg: /data/local/tmp/Superuser.apk
Success
Installing sqlite3 ...
failed to copy 'bin/sqlite3' to '/system/bin/sqlite3': Read-only file system
Unable to chmod /system/bin/sqlite3: No such file or directory
Enabling sideloading ...
sqlite3: not found
Enabling tethering ...
sqlite3: not found
/system/bin/sqlite3: not found
Enabling init.d support ...
failed to copy 'bin/install-recovery.sh' to '/system/etc/install-recovery.sh': Read-only file system
mkdir failed for /system/etc/init.d, Read-only file system
failed to copy 'bin/00remount' to '/system/etc/init.d/00remount': No such file or directory
chmod: /system/etc/install-recovery.sh: Read-only file system
chmod: /system/etc/init.d: No such file or directory
Rebooting ...
 

slushy

Active member
Feb 25, 2011
31
11
0
Visit site
Yeah, the 4.1.57 version (the latest update) is not compatible with the root method as is posted.

The fine fellows at XDA have come up with another root mechanism but it is more circuitous: you have to restore the older version of the software, root it, do some file trickery, do the update, then restore your root privs using the file trickery previous done.

I was holding off updating this version of aRoot, hoping that someone would discover an exploit for 4.1.57. But if nothing crops up by this coming weekend I'll probably do an update to this method.


eric
 

Freakish Gnome

Well-known member
Feb 11, 2011
63
3
0
Visit site
That would be much appreciated, I achieved root and got the 4.1.57 update the next day, bye bye root, haha.

It's frustrating that it's so hard to do this to MY phone, subsidized or not. AT&T needs to f**k off. No 4g? Then no restrictions. I really feel like their b***h sometimes, they have to be laughing at us.
 

CabezaGrande

Member
Apr 8, 2011
5
0
0
Visit site
I am confirming that aRroot did not work for me on

Motorola Atrix 4G
build=OLYFR_U4_1.5.7

The psneuter exploit failed with the following:

Getting temporary root access...
1100 KB/s (585731 bytes in 0.520s)
Failed to set prot mask (Inappropriate ioctl for device)