Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Rooting Atrix HD on Jelly Bean

OP djrbliss

11th February 2013, 03:56 PM   |  #1  
OP Recognized Developer
Thanks Meter: 2,621
 
136 posts
Join Date:Joined: Aug 2011
Donate to Me
Update:
I'm leaving this post here for posterity's sake, but an easier root method is now available at:
http://www.droidrzr.com/index.php/to...-root-exploit/

The package may be downloaded at http://vulnfactory.org/public/motochopper.zip


---

As promised, this post describes how to root the Atrix HD Jelly Bean build. This should also work on other Motorola 4.1.2 builds (Razr/Razr Maxx, Razr HD, Razr M, etc.).

The exploit requires setting up a special Samba share and mounting this share on your phone using the File Manager app. I apologize that this process may seem involved for some of you, and request that members of this community help each other out if some of you are having problems completing the procedure. I'm not able to provide individual tech support to every user who wants to root this phone.

The following instructions require a working Linux installation. The following instructions are for Ubuntu. If you don't want to install Ubuntu permanently on your machine, I suggest using a LiveCD installation. Instructions on setting this up are described here:

https://help.ubuntu.com/community/Li..._LiveCD_Ubuntu

Once you're booted into Ubuntu, open a terminal. Create a new directory for your Samba share:

Code:
mkdir /tmp/share
Next, install the samba package:

Code:
sudo apt-get install samba
Edit the configuration file for samba:

Code:
sudo gedit /etc/samba/smb.conf
Add the following lines to the end of the configuration file and save your changes:

Code:
[share]
	path = /tmp/share
	available = yes
	valid users = guest
	read only = yes
	browsable = yes
	public = yes
Close the text editor once you've saved your changes.

Next, create a user for the Samba share by typing in the terminal:

Code:
sudo useradd guest -m -G users
Set a password for the new user. Remember this password:

Code:
sudo passwd guest
Provide a password here and press enter. You won't see the characters you're typing, so be careful.

Next, set a password on the share. Use the same password you just provided:

Code:
sudo smbpasswd -a guest
Type the password you created before and press enter.

Next, restart the Samba server:

Code:
sudo restart smbd
Finally, download and prepare the required files to the Samba share:

Code:
cd /tmp/share
wget http://vulnfactory.org/public/motoshare.tgz
tar xvf motoshare.tgz
sudo chown root:root pwn
sudo chmod 6755 pwn
At this point, you'll need to know the IP address of your Linux host, which you can get by running "ifconfig" from your terminal (it should be of the form "192.168.x.x").

Next, move over to your Android device. Ensure you have enabled USB Debugging Mode (under Settings -> Development Settings). Ensure your device is connected via Wifi.

Open the "File Manager" app, and select "Remote storage". Click "Add storage", and fill in fields as follows:

Code:
Host IP address:		[your Linux machine's IP address]
Domain name:			WORKGROUP
Shared folder name:		share
User:				guest
Password:			[the password you created above]
At this point, the phone will mount your Linux share. To complete the process, plug in your phone via USB to your Linux machine, and type the following in your Linux terminal:

Code:
sudo /tmp/share/adb kill-server
sudo /tmp/share/adb shell /storage/rfs0/pwn
If it's successful, this should print "[+] Rooting complete!".

Finally, install Supersu by typing the following in the terminal:

Code:
sudo /tmp/share/adb install /tmp/share/eu.chainfire.supersu.apk
Congratulations, enjoy your rooted device.

I can't stress this enough: I can't provide individualized tech support for everyone on this forum. Please help each other.

TTLayland has been successfully rooted using this technique and has volunteered to help. If you get stuck and can't find support on these forums, feel free to email him at ttlayland (at) gmail (dot) com.


Paypal:
http://goo.gl/zBGb0
Last edited by djrbliss; 9th April 2013 at 10:10 PM.
The Following 81 Users Say Thank You to djrbliss For This Useful Post: [ View ]
11th February 2013, 04:19 PM   |  #2  
TTLayland's Avatar
Senior Member
Flag Orlando
Thanks Meter: 153
 
554 posts
Join Date:Joined: Jan 2013
More
Re: Rooting Atrix HD on Jelly Bean
Email sent

Sent from my MB886 using xda app-developers app
11th February 2013, 04:22 PM   |  #3  
BreakShadow's Avatar
Senior Member
Flag Kolkata
Thanks Meter: 60
 
345 posts
Join Date:Joined: Mar 2012
More
Re: Rooting Atrix HD on Jelly Bean
Email sent

Sent from my Atrix HD using Tapatalk app
11th February 2013, 04:23 PM   |  #4  
Senior Member
Thanks Meter: 32
 
256 posts
Join Date:Joined: Jul 2010
Re: Rooting Atrix HD on Jelly Bean
Email sent

Sent from my MB886 using xda premium
11th February 2013, 04:23 PM   |  #5  
Member
Thanks Meter: 9
 
73 posts
Join Date:Joined: Apr 2012
Email sent. Donation sent
Last edited by OFFFFFFFFFFFFFFF; 11th February 2013 at 04:33 PM.
11th February 2013, 04:33 PM   |  #6  
TenguSnake's Avatar
Member
Flag Tampa
Thanks Meter: 27
 
71 posts
Join Date:Joined: Jan 2013
Donate to Me
More
Email and donation sent!
11th February 2013, 04:37 PM   |  #7  
Senior Member
Thanks Meter: 32
 
256 posts
Join Date:Joined: Jul 2010
Re: Rooting Atrix HD on Jelly Bean
Has anybody gotten the files yet

Sent from my MB886 using xda premium
11th February 2013, 04:38 PM   |  #8  
Member
Thanks Meter: 9
 
73 posts
Join Date:Joined: Apr 2012
No. Wait for some hours.
The Following User Says Thank You to OFFFFFFFFFFFFFFF For This Useful Post: [ View ]
11th February 2013, 04:40 PM   |  #9  
Senior Member
Thanks Meter: 32
 
256 posts
Join Date:Joined: Jul 2010
Re: Rooting Atrix HD on Jelly Bean
Ok

Sent from my MB886 using xda premium
11th February 2013, 05:07 PM   |  #10  
Member
Thanks Meter: 9
 
73 posts
Join Date:Joined: Apr 2012
Pls, if someone will received answer from Dan, let us know please!

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes