Jump to content


Photo

[ROOT] Motoshare 2: Old Bug, New Exploit


  • Please log in to reply
985 replies to this topic

#1 djrbliss

djrbliss

    Security Exploit Specialist

  • Root Exploit God
  • 21 posts

Posted 22 April 2013 - 01:25 PM

*
POPULAR

As promised, this post describes how to root the Droid Bionic Jelly Bean build. It should also work on the XT910 Jelly Bean build, but this hasn't been tested yet. Fortunately for Bionic and XT910 owners, I was able to modify Motoshare, which was originally created for the Atrix HD, to work for these devices. My plans to stop looking for new Motorola exploits have not changed at this time, so don't read into this too much.

The exploit requires setting up a special Samba share and mounting this share on your phone using the Files 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.

 
A Windows version of this exploit is not possible for technical reasons. Please don't waste anyone's time by asking about a Windows version.
 
EDIT by SamuriHL
 
Rapitharian has put together an image and some instructions for those who are having trouble:  

Please Login or Register to see this Hidden Content


 
Marty45714 put together another one:

Please Login or Register to see this Hidden Content


 
 
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:

Please Login or Register to see this Hidden Content



A 32-bit distribution is recommended.
 
Once you're booted into Ubuntu, open a terminal.
 
If you are using a 64-bit Linux distribution, you'll need to install 32-bit compatibility libraries in order to use the ADB binary bundled with the exploit. You may skip this step if you're using a 32-bit distribution.


Please Login or Register to see this Hidden Content

Create a new directory for your Samba share:


Please Login or Register to see this Hidden Content

Next, install the samba package:


Please Login or Register to see this Hidden Content

Edit the configuration file for samba:


Please Login or Register to see this Hidden Content

Add the following lines to the end of the configuration file and save your changes:


Please Login or Register to see this Hidden Content

Close the text editor once you've saved your changes.

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


Please Login or Register to see this Hidden Content

Set a password for the new user. Remember this password:


Please Login or Register to see this Hidden Content

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:


Please Login or Register to see this Hidden Content

Type the password you created before and press enter.

Next, restart the Samba server:


Please Login or Register to see this Hidden Content

Finally, download and prepare the required files to the Samba share:


Please Login or Register to see this Hidden Content

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 "Files" app, and select "Remote storage". Click "Add storage", and fill in fields as follows:


Please Login or Register to see this Hidden Content

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:


Please Login or Register to see this Hidden Content

Follow the instructions in the exploit. 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.
 
Paypal:

Please Login or Register to see this Hidden Content


 
In light of recent events, I've donated $100 of your donations to One Fund Boston (

Please Login or Register to see this Hidden Content

), a fund set up for the families of those affected by the Boston Marathon bombings. I encourage all those thinking of donating to me to consider donating to a reputable charity organization instead (or in addition).


  • Pzyduck, milski65, Ramdanih and 111 others like this

#2 jp1044

jp1044

    DEVELOPER

  • News Writer
  • PipPipPipPip
  • 1,104 posts
  • Twitter:@jp1044
  • Google+:jp1044@gmail.com
  • LocationColorado
  • Current Device(s):MOTO X Developer Edition, Droid RAZR HD (backup)

Posted 22 April 2013 - 01:29 PM

Thank you dan! You come to the rescue again. You deserve every donation you get!

Sent from my DROID RAZR using Tapatalk 2
  • Coo1GuyPau1 and jgg like this

If you feel the urge to donate to me, you can do so here -> Donate

#3 T3T3droid

T3T3droid

    D3v3lop3r/Th3m3r/Machin3

  • Developer
  • 1,115 posts
  • Google+:t3t3droid@gmail.com
  • LocationConnecticut
  • Current Device(s):Droid Bionic, Droid Razr M, SGS4

Posted 22 April 2013 - 01:33 PM

Thanks SOOOOOO much Dan! Well deserved donation sent!


Posted Image
Sig by Bama
If you like our work please consider
Donating towards
Phones and Site costs :D Thanks!!

#4 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 44,161 posts
  • Current Device(s):S21 Ultra, Pixel 6

Posted 22 April 2013 - 01:46 PM

I have been through this method and Livinginkaos knows it, as well, so, we will try to provide as much help as we can.  John Galt will try to create an image that's pre-set up so that it'll be easier for those who aren't familiar with Linux.  That may take some time, though, so, doing it yourself is the way to go if you can.


  • johnlgalt, Pur3vil and livinginkaos like this

Non potest esse nisi unus


#5 hadeshorn9

hadeshorn9

    Moot Minion

  • Dedicated Supporter
  • PipPipPip
  • 961 posts
  • LocationBoston MA area
  • Current Device(s):Nexus 6 64gb, Dell Venue 8, Chromecast

Posted 22 April 2013 - 01:47 PM

Thank you Dan!

You have earned it! Paid the man!! more than I pledged!


OG -> Bionic -> (2013) Moto X DE -> Nexus 6 64gb Running 5.1 via Samuri's HoN 


#6 livinginkaos

livinginkaos

    I don't know what I'm doing anymore.....

  • Administrator
  • 15,282 posts
  • Google+:Hangouts - livinginkaos@gmail.com
  • LocationOregon
  • Current Device(s):Samsung S8+ / Pixel XL 128gb / iPhone 7+ 256gb / iPad Pro 12.9" / Samsung Chromrbook Plus / Pixel C / Nexus 6p 128gb / Nexus 6 / Nexus 6 on Fi / Nexus 9 / Moto 360^2 / Nvidia Shield TV Pro / Nvidia Shield Tablet / HTC EVODesign on FreedomPop / Chromecast / Surface Pro 3 i7 / Samsung Tab Pro 12.2 / Lenovo Win8 Tab / Eee Slate / '13 Nexus 7

Posted 22 April 2013 - 01:47 PM

Thank you DAN !!!  I think you'll feel the love from this Bionic community - it's gotta be the best around !

 

Sent $112 - a little more than my pledge.

 

Here's a link to a vid on setting up vmplayer and ubuntu -

 


  • SamuriHL, hadeshorn9, Staf_in_Wah and 1 other like this

b2wvCBn.png

Sig by livinginkaos
Samsung S8+ / Pixel XL 128gb / iPhone 7+ 256gb / iPad Pro 12.9" / Samsung Chromrbook Plus / Pixel C / Nexus 6p 128gb / Nexus 6 / Nexus 6 on Fi / Nexus 9 / Moto 360^2 / Nvidia Shield TV Pro / Nvidia Shield Tablet / HTC EVODesign on FreedomPop / Chromecast / Surface Pro 3 i7 / Samsung Tab Pro 12.2 / Lenovo Win8 Tab / Eee Slate / '13 Nexus 7


#7 tucstwo

tucstwo

    www.drdevs.com

  • Administrator
  • 14,435 posts
  • Twitter:tucstwo
  • Google+:tucstwo@gmail.com
  • LocationNJ
  • Current Device(s):LG G3 VS985, Nexus 7 (flo)

Posted 22 April 2013 - 01:59 PM

Awesome stuff!

Visit DRDevs.com hosting site for all official Droidrzr.com ROMs, Apps, GApps and other mods/files!!
Please PM me if you need help!
I will be hosting AOSP-Based ROM GApps packages!
Download the most Up-to-Date GApps Packages for AOSP ROMs from me here!


#8 vdubdan87

vdubdan87

    Divot Repair Specialist

  • Members
  • PipPipPipPipPip
  • 3,221 posts
  • LocationFlorida
  • Current Device(s):Nexus 6 32 GB, Nexus 7 (2012) 32 GB

Posted 22 April 2013 - 02:03 PM

Thank you Dan not just for this, but every exploit you've given us. Your work is absolutely amazing! This makes me feel more comfortable knowing if I ever have to FDR I can still get root back.

 


#9 Coo1GuyPau1

Coo1GuyPau1

    n00b

  • Members
  • Pip
  • 22 posts
  • LocationCarlsbad, CA
  • Current Device(s):Droid Bionic ROOTED thanks to DanNSam

Posted 22 April 2013 - 02:06 PM

Thanks Dan!!!!!!! Donation sent!!!!



#10 retRon

retRon

    Freebird

  • Dedicated Supporter
  • PipPipPipPip
  • 2,423 posts
  • LocationAZ
  • Current Device(s):Rooted Samsung Galaxy Note 3, Nexus 7 (Thanks KAOS)

Posted 22 April 2013 - 02:09 PM

Thank you Dan, pledge amount of $10 just sent.



#11 soocold

soocold

    OC & OCD Specialist

  • Smod
  • 8,736 posts
  • Google+:amcsocold@gmail.com
  • LocationTouching something electronic
  • Current Device(s):LG G4, Nexus 6

Posted 22 April 2013 - 02:09 PM

Thank you dan sooooo much.

Sent from my DROID BIONIC using Tapatalk 2

pveoVTW.png

sig by jayrod

 

2760259.png

 

The Rules-Follow them.

Do you like our forum? Do you call it your second home? Help us with the upkeep


#12 robinmwoolery

robinmwoolery

    n00b

  • Members
  • Pip
  • 9 posts

Posted 22 April 2013 - 02:11 PM

Donation sent. You are AWESOME!

Sent from my DROID BIONIC using Tapatalk 2

#13 dctrbnsttr

dctrbnsttr

    n00b

  • Members
  • Pip
  • 14 posts

Posted 22 April 2013 - 02:11 PM

donation sent!

#14 jayrod

jayrod

    Bacon, Cheese & Mod Connoisseur

  • Moderator
  • 6,525 posts
  • LocationWilmington NC
  • Current Device(s):Taimen

Posted 22 April 2013 - 02:12 PM

Thank you soooo much  for doing this again! I didn't loose root on my backup Bionic,but knowing that things can happen,even if you go through the correct protection safeguards, yeah..didn't want to risk it on my main.Having you save the Bionic...when it's basically EOL...there really aren't enough words to express just how thankful myself and the Bionic community are! I know things have changed dramatically with getting these exploits to work over the last year + and having a RAZR, and 2 Bionics all I can say is thank you very much for your work! Without root,.. we'd have boring,non tapped phones the way The powers that be think we should have!


  • Platy87 and vdubdan87 like this


 

 

 


#15 rzdz03

rzdz03

    n00b

  • Members
  • Pip
  • 1 posts

Posted 22 April 2013 - 02:13 PM

Dan,

 

Thank you for doing this everyone in the Bionic community is very Thankful!

 

you to SamuriHL ;-)



#16 pistacio

pistacio

    Droid Master

  • Members
  • PipPipPip
  • 306 posts
  • Locationsoutheast MA
  • Current Device(s):XT926 Razr Maxx HD, Xoom, Nexus 7 (car install)

Posted 22 April 2013 - 02:13 PM

Thank you! $20 pledge sent!<br /><br />Sent from my DROID BIONIC using Tapatalk 2

#17 Nola

Nola

    Member

  • Members
  • PipPip
  • 85 posts

Posted 22 April 2013 - 02:15 PM

$25 sent your way Dan, thanks again!

Sent from my DROID BIONIC using Tapatalk 2

#18 soocold

soocold

    OC & OCD Specialist

  • Smod
  • 8,736 posts
  • Google+:amcsocold@gmail.com
  • LocationTouching something electronic
  • Current Device(s):LG G4, Nexus 6

Posted 22 April 2013 - 02:16 PM

Pledge fulfilled!

Sent from my DROID BIONIC using Tapatalk 2

pveoVTW.png

sig by jayrod

 

2760259.png

 

The Rules-Follow them.

Do you like our forum? Do you call it your second home? Help us with the upkeep


#19 tucstwo

tucstwo

    www.drdevs.com

  • Administrator
  • 14,435 posts
  • Twitter:tucstwo
  • Google+:tucstwo@gmail.com
  • LocationNJ
  • Current Device(s):LG G3 VS985, Nexus 7 (flo)

Posted 22 April 2013 - 02:19 PM

I have been through this method and Livinginkaos knows it, as well, so, we will try to provide as much help as we can.  John Galt will try to create an image that's pre-set up so that it'll be easier for those who aren't familiar with Linux.  That may take some time, though, so, doing it yourself is the way to go if you can.

Question: Do we need to run the chmod 755 run.sh as sudo? Will we get a permission denied?


Visit DRDevs.com hosting site for all official Droidrzr.com ROMs, Apps, GApps and other mods/files!!
Please PM me if you need help!
I will be hosting AOSP-Based ROM GApps packages!
Download the most Up-to-Date GApps Packages for AOSP ROMs from me here!


#20 2THEXTRM

2THEXTRM

    Member

  • Dedicated Supporter
  • PipPip
  • 67 posts
  • Twitter:2THEXTRM
  • LocationCentral NY

Posted 22 April 2013 - 02:19 PM

Sweeeeet! Thanks Dan, my $20 donation has been sent!

Sent from my DROID BIONIC using Xparent Skyblue Tapatalk 2

Moto, Give me what I want, and I'll go away...





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users