DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 1 of 17 12311 ... LastLast
Results 1 to 10 of 164
Like Tree2Likes

Thread: [How To:] Root Your Droid 3

  1. RS Admin
    pc747's Avatar
    Member #
    18832
    Join Date
    Dec 2009
    Posts
    16,618
    Liked
    1682 times
    Phone
    moto droid
    Premium Member
    #1

    Droid 3 possibly rooted

    Security Research by Dan Rosenberg

    Have any one tried this:

    Rooting the Droid 3

    The Motorola Droid 3 was released July 14, 2011, and has no public technique available to get root access. On request of some members of the Android community, I decided to audit the platform in order to root the device.
    The Bug

    I identified a vulnerability specific to Motorola devices in the script parsed by the init thread (this is existing code, not commands for you to run):

    mkdir /data/local 0771 mot_tcmd shell mkdir /data/local/tmp 0771 mot_tcmd shell mkdir /data/local/12m 0771 mot_tcmd shell mkdir /data/local/12m/batch 0771 mot_tcmd shell chown mot_tcmd shell /data/local chown mot_tcmd shell /data/local/12m chown mot_tcmd shell /data/local/12m/batch chown mot_tcmd shell /data/local/tmp Since the contents of /data/local are group “shell” and group-writable, we can modify the contents of this directory using ADB. By logging into the device and replacing one of the sub-directories listed here with a symbolic link, then when the device reboots it will change the ownership of the symlink target to group “shell”. This can be used to edit property files to manipulate the behavior of ADB to achieve root.
    So, without further ado:
    The Exploit

    Log in to the device using “adb shell” and type the following commands:

    mv /data/local/12m /data/local/12m.bak ln -s /data /data/local/12m Next, physically reboot the device by pressing the power button. When it wakes up, log in using “adb shell” again, and type the following:

    rm /data/local/12m mv /data/local/12m.bak /data/local/12m mv /data/local.prop /data/local.prop.bak echo "ro.sys.atvc_allow_netmon_usb=0" > /data/local.prop echo "ro.sys.atvc_allow_netmon_ih=0" >> /data/local.prop echo "ro.sys.atvc_allow_res_core=0" >> /data/local.prop echo "ro.sys.atvc_allow_res_panic=0" >> /data/local.prop echo "ro.sys.atvc_allow_all_adb=1" >> /data/local.prop echo "ro.sys.atvc_allow_all_core=0" >> /data/local.prop echo "ro.sys.atvc_allow_efem=0" >> /data/local.prop echo "ro.sys.atvc_allow_bp_log=0" >> /data/local.prop echo "ro.sys.atvc_allow_ap_mot_log=0" >> /data/local.prop echo "ro.sys.atvc_allow_gki_log=0" >> /data/local.prop The ro.sys.atvc_allow_all_adb property is a Motorola-specific configuration that prevents ADB from dropping its root privileges. Reboot the device one final time, and on logging in with “adb shell”, you should be presented with a root prompt. Enjoy!
    Thanks to mkultramega, Toaday, and zdooder for testing, KrazyKrivda for raising funds, scottml and Edgan for bouncing ideas, and rweb for convincing me to look at Droid 3 in the first place.

    Below is a method posted by woodyman along with the zip file for su.


    [How To:] Root Your Droid 3

    First I want to say I CAN NOT take credit for this nor will I post the full details because they have already been posted, so without further delay, here is a nice simple guide for all of you on how to root your precious Droid 3!

    -------------------------
    1. Head here and read thorough this once so you at least semi-understand what's going on!
    2. If you don't have ADB installed and setup, then do a quick search for a guide there are multiple out there and most are quite good. You can also set it up following the directions straight from Google, but they are a bit complicated if your not entirely sure about this stuff. Android SDK | Android Developers
    3. After that, then head HERE again and follow his instructions.
    4. At the end when you get the # symbol in ADB for root then you will need to do the following..
    5. Download the 2 attached files and save to your desktop
    6. First you need to write the system partition as RW so you can write things to it in order to get a permanent root.
    7. SO run the following command.
    8. Code:

      mount -o rw,remount /dev/block/system /system
    9. Next copy the 2 attached files from your desktop to the perspective directories on your Droid 3
    10. For example my commands where as follows:
    Code:

    adb push '/home/woodyman/Desktop/su' /system/xbin adb push '/home/woodyman/Desktop/Superuser.apk' /system/appadb shell chmod 4755 /system/xbin/su

    ---------------------------
    This way done using linux, [Ubuntu 11.04] So commands will be a bit different with windows..

    This is just a rough quick sketch up for everyone, I will refine it and add more details tonight, I Just wanted to get it up for now so everyone had the chance if they wanted.
    Attached Files

    Last edited by pc747; 08-25-2011 at 12:17 PM.
  2.  
     
     
     
  3. Droid
    Mungo Baobab's Avatar
    Member #
    57992
    Join Date
    Apr 2010
    Posts
    52
    Phone
    Droid 3
    #2

    Droid 3 rooted--- Details to follow

    Gang, Droid-Life is reporting that our beloved Droid 3 has been rooted. They (we) are waiting for official photo's. If its so, Mungo is dancing the Gig!!

    See link from XDA. HAY Djrblis!!

    http://vulnfactory.org/blog/2011/08/...g-the-droid-3/

    G
    o team Go.
  4. Master Droid
    km75's Avatar
    Member #
    164637
    Join Date
    Jan 2011
    Posts
    466
    Liked
    7 times
    Phone
    Droid Bionic and Droid 3
    #3
    I just posted a thread on this. Would love to try it out. Can you tell me what is meant by logging in using "adb shell"?

    Sent from my DROID3 using DroidForums
  5. RS Admin
    pc747's Avatar
    Member #
    18832
    Join Date
    Dec 2009
    Posts
    16,618
    Liked
    1682 times
    Phone
    moto droid
    Premium Member
    #4
    adb shell is a command used via android debug bridge.
  6. Master Droid
    leobg's Avatar
    Member #
    75942
    Join Date
    Jun 2010
    Posts
    658
    Liked
    8 times
    Phone
    Droid2 Global/XT860 4G(D3)
    #5
    Huh, anybody tried that yet?

    Edit: yes - it has been confirmed it works by people I trust

    Congrats community!
    Last edited by leobg; 08-25-2011 at 10:38 AM.
  7. Master Droid
    km75's Avatar
    Member #
    164637
    Join Date
    Jan 2011
    Posts
    466
    Liked
    7 times
    Phone
    Droid Bionic and Droid 3
    #6
    Quote Originally Posted by pc747 View Post
    adb shell is a command used via android debug bridge.
    Thanks man. Going to give it a try.

    Sent from my DROID3 using DroidForums
  8. Senior Droid
    ACalcutt's Avatar
    Member #
    9393
    Join Date
    Nov 2009
    Posts
    210
    Liked
    2 times
    Phone
    Note 3
    #7
    This is just adb root right? we still need to push su and superuser.apk to the phone with adb? Figures I just reinstalled my laptop....now i need to set up adb again.

    EDIT: I'm guessing I want to push the su and superuser from here ( http://forum.xda-developers.com/showthread.php?t=682828 )
    Last edited by ACalcutt; 08-25-2011 at 11:10 AM.
    -Andrew Calcutt
  9. Developer
    woodyman's Avatar
    Member #
    31911
    Join Date
    Jan 2010
    Location
    Ohio
    Posts
    1,610
    Liked
    13 times
    Twitter
    @DroidConcepts
    Phone
    D1, D2, D3
    DroidForums.net Developer
    #8

    Exclamation [How To:] Root Your Droid 3

    First I want to say I CAN NOT take credit for this nor will I post the full details because they have already been posted, so without further delay, here is a nice simple guide for all of you on how to root your precious Droid 3!

    -------------------------
    1. Head here and read thorough this once so you at least semi-understand what's going on!
    2. If you don't have ADB installed and setup, then do a quick search for a guide there are multiple out there and most are quite good. You can also set it up following the directions straight from Google, but they are a bit complicated if your not entirely sure about this stuff. Android SDK | Android Developers
    3. After that, then head HERE again and follow his instructions.
    4. At the end when you get the # symbol in ADB for root then you will need to do the following..
    5. Download the 2 attached files and save to your desktop
    6. First you need to write the system partition as RW so you can write things to it in order to get a permanent root.
    7. SO run the following command.
    8. Code:
      mount -o rw,remount /dev/block/system /system
    9. Next copy the 2 attached files from your desktop to the perspective directories on your Droid 3
    10. For example my commands where as follows:
    Code:
    adb push '/home/woodyman/Desktop/su' /system/xbin 
    adb push '/home/woodyman/Desktop/Superuser.apk' /system/app
    adb shell 
    chmod 4755 /system/xbin/su

    ---------------------------
    This way done using linux, [Ubuntu 11.04] So commands will be a bit different with windows..

    This is just a rough quick sketch up for everyone, I will refine it and add more details tonight, I Just wanted to get it up for now so everyone had the chance if they wanted.
    Attached Files
    • File Type: zip su.zip (127.2 KB, 2082 views)
    Last edited by woodyman; 08-25-2011 at 11:53 AM.
    Click Here for the Droid Concepts Web Site

    Check out The Droid Concepts Roms By clicking the image below.!

    If you would enjoy what we do please support us with a small donation if possible, we need some new devices..
  10. Senior Droid
    Pleirosei's Avatar
    Member #
    190875
    Join Date
    Apr 2011
    Posts
    171
    Phone
    Enter Current Phone Model Here
    #9
    Makes me want to but the phone, but its 3g. Frownz

    Jesus is the Christ
  11. RS Admin
    pc747's Avatar
    Member #
    18832
    Join Date
    Dec 2009
    Posts
    16,618
    Liked
    1682 times
    Phone
    moto droid
    Premium Member
    #10
    merged threads.
Page 1 of 17 12311 ... LastLast

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Replies: 280
    Last Post: 03-22-2011, 12:43 PM
  2. Droid 2 root keeps failing PLEASE HELP ROOT NOOB HERE!
    By Insidious in forum Motorola Droid 2 Development
    Replies: 10
    Last Post: 02-22-2011, 04:19 PM
  3. Droid 2 root keeps failing PLEASE HELP ROOT NOOB HERE!
    By Insidious in forum Android Hacks and Help
    Replies: 2
    Last Post: 02-21-2011, 01:06 PM
  4. Need some direction with Easy Root, one-click root for DROID 1
    By Mzamora10 in forum Android Hacks and Help
    Replies: 19
    Last Post: 08-06-2010, 07:27 PM
  5. Wanting to root. But wheres the one click root for droid to make it easier?
    By kermitdfrogdroid in forum Android Hacks and Help
    Replies: 15
    Last Post: 07-31-2010, 10:13 PM

Search tags for this page

droid 3 root
,
how do you root your droid 3
,
how to root a droid 3
,

how to root droid 3

,
how to root droid 3 mac
,

how to root your droid 3

,
psouza one click root
,
root droid 3
,
root droid3
,
root your droid 3
Click on a term to search our site for related topics.
Find us on Google+