• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Rooting Atrix HD on Jelly Bean

Search This thread

djrbliss

Inactive Recognized Developer
Aug 24, 2011
136
2,643
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/topic/15208-root-motochopper-yet-another-android-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/LiveCD#How-To_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 [url]http://vulnfactory.org/public/motoshare.tgz[/url]
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:

uropb

Member
Jan 16, 2013
22
18
moscow
Sorry if i'm in the wrong thread, but will this exploit work on xt925? It would be great for future development on our phones. I see that devs confirm that atrix HD and RAZR HD are the same phone

Sent from my XT925 using xda app-developers app
 

OFFFFFFFFFFFFFFF

Senior Member
Apr 15, 2012
81
9
Sorry if i'm in the wrong thread, but will this exploit work on xt925? It would be great for future development on our phones. I see that devs confirm that atrix HD and RAZR HD are the same phone

Sent from my XT925 using xda app-developers app

XT925 have unlocked bootloader = you can flash insecure kernels and easily get root.
 

TTLayland

Senior Member
Jan 10, 2013
572
157
Orlando
I will help out all XDA members with is process.
Only afte finishing the process with Dan helping me along.
DO NOT BOTHER HIM WITH A MILLION PMS OR EMAILS.
He has done so much or us. I will take over for tech support and anyone with good Linux experience can help too.
 

joejoejo

Senior Member
Jul 22, 2010
273
35
+1 for windows version it sounds like it should be easy to port it to windows

Sent from my MB886 using xda premium
 
Last edited:

mattlgroff

Inactive Recognized Developer
Dec 5, 2011
2,291
2,446
San Diego
+1 for windows version

Sent from my MB886 using xda premium

There is a technical problem in doing a windows version from what I understand. Its not that difficult to boot a Linux LiveCD or LiveUSB don't even have to install it on your computer.

EDIT: If you need help post it here :)

Sent from my Galaxy Nexus using Tapatalk 2
 

Top Liked Posts

  • There are no posts matching your filters.
  • 81
    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/topic/15208-root-motochopper-yet-another-android-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/LiveCD#How-To_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 [url]http://vulnfactory.org/public/motoshare.tgz[/url]
    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
    5
    Ok, everybody is going to need to wait a bit while I sort out some technical issues. Don't worry, the exploit is already confirmed to work, it's just a matter of making it possible for you all to easily use it.
    4
    Can everyone please stop quoting the OP. Just hit reply!

    Sent from my phone.
    3
    And this is why need to mod the apk to install on my razr i.

    You can unlock your RAZR i and root anytime you want. Something these users would do in a split second if they could.

    Sent from my Galaxy Nexus using Tapatalk 2
    3
    +1 for windows version

    Sent from my MB886 using xda premium

    There is a technical problem in doing a windows version from what I understand. Its not that difficult to boot a Linux LiveCD or LiveUSB don't even have to install it on your computer.

    EDIT: If you need help post it here :)

    Sent from my Galaxy Nexus using Tapatalk 2