Jump to content


Photo

[ROOT] Motoshare 2: Old Bug, New Exploit


  • Please log in to reply
985 replies to this topic

#81 ReservedName

ReservedName

    Member

  • Members
  • PipPip
  • 130 posts

Posted 22 April 2013 - 04:39 PM

Pledge fulfilled! Thank you Dan and kaos and Sam. Reservedname, I'm also on a Mac and would be very interested in knowing how you made out. Haven't taken the ota plunge yet but probably will do so now in the not too distant future.

sent from my icy Bionic with a side of jellybeans

alright so firstly forget all this samba and guest account nonsense. that got me nowhere. somewhere along the line of setting up samba i enabled root access (this doesn't seem to matter but including it to be thorough) which is trickier on 10.6 osx because useradd is a linux command and dscl echoed back domain admin errors so if you WANT to do this go to preferences, accounts, click the lock and log in, click log in options then network account server "join/add" then "open directory" click the lock again, now running "directory utility" access the edit menu which allows you to either enable or disable root user. Again, not sure if this was totally necessary but netinfo manager is gone in 10.6

 

ok real next step is making the smb shares on your mac available.

go to system preferences again but open up sharing instead of accounts

turn on file sharing and go to options. I disabled afp and ftp and only enabled SMB

instead of using /tmp/share or /public I just put motoshare2 in the root of my HD and shared it 

make sure that motoshare folder can be read and written to and that you can share on SMB using an account to which you have the password

 

go to the files app on your bionic. Make sure both mac and bionic are on the same wifi network.

add network storage, using the IP address from the sharing preference pane on your mac. Then use WORKGROUP, motoshare2 for shared folder, and log in using your (i used my default which is an administrative account) account which was enabled to access the shared files/folder.

once the bionic has logged into the network share just ensure debugging is enabled, plug in the bionic to the mac

then go to the terminal and cd to motoshare2

then sudo /motoshare2/run.sh and bob's your uncle

 

if you want to make sure you don't get typos i drag and drop a lot of stuff into the terminal window from the finder when I can. (for instance just typing sudo and a space then dragging in run.sh and hitting enter.

I want to reiterate the clean up process did not work i think the adb server needed to be restarted or something. maybe look at the script to see where that fell down. Clean up was not necessary for me as superuser was present upon reinstall and voodoo indicated the device was rooted.


  • SamuriHL and kittysnuggles like this

#82 thetoolbox

thetoolbox

    n00b

  • Members
  • Pip
  • 6 posts

Posted 22 April 2013 - 04:39 PM

Using Ubuntu 12.10 via LiveCD but running into some challenges.  Remote storage connects just fine and I am able to see all files in the share directory via my Bionic (including the abd.linux file referenced in the log below).

 

Terminal log included below (note that this log represents the 3rd time I'd run through.  Thanks in advance for any suggestions! 

 

ubuntu@ubuntu:~$ mkdir /tmp/share
mkdir: cannot create directory `/tmp/share': File exists
ubuntu@ubuntu:~$ sudo apt-get install samba
Reading package lists... Done
Building dependency tree       
Reading state information... Done
samba is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ubuntu@ubuntu:~$ sudo gedit /etc/samba/smb.conf
ubuntu@ubuntu:~$ sudo useradd guest -m -G users
useradd: user 'guest' already exists
ubuntu@ubuntu:~$ sudo passwd guest
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully
ubuntu@ubuntu:~$ sudo smbpasswd -a guest
New SMB password:
Retype new SMB password:
ubuntu@ubuntu:~$ sudo restart smbd
smbd start/running, process 5318
ubuntu@ubuntu:~$ cd /tmp/share
ubuntu@ubuntu:/tmp/share$ wget 

Please Login or Register to see this Hidden Content


--2013-04-23 00:31:06--  

Please Login or Register to see this Hidden Content


Resolving 

Please Login or Register to see this Hidden Content

 (

Please Login or Register to see this Hidden Content

)... 199.188.204.9
Connecting to 

Please Login or Register to see this Hidden Content

 (

Please Login or Register to see this Hidden Content

)|199.188.204.9|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3304852 (3.2M) [application/x-tar]
Saving to: `motoshare2.tgz.3'

100%[======================================>] 3,304,852   1.49M/s   in 2.1s    

2013-04-23 00:31:08 (1.49 MB/s) - `motoshare2.tgz.3' saved [3304852/3304852]

ubuntu@ubuntu:/tmp/share$ tar xvf motoshare2.tgz
adb.linux
adb.osx
busybox
pwn
run.sh
su
Superuser.apk
ubuntu@ubuntu:/tmp/share$ sudo chmod 755 run.sh
ubuntu@ubuntu:/tmp/share$ cd /tmp/share/
ubuntu@ubuntu:/tmp/share$ sudo ./run.sh
./run.sh: line 30: ./adb.linux: No such file or directory
[+] Waiting for device...
./run.sh: line 33: ./adb.linux: No such file or directory
[+] Device found.
[+] Pushing exploit...
./run.sh: line 38: ./adb.linux: No such file or directory
./run.sh: line 39: ./adb.linux: No such file or directory
./run.sh: line 40: ./adb.linux: No such file or directory
./run.sh: line 42: ./adb.linux: No such file or directory
./run.sh: line 43: ./adb.linux: No such file or directory
[+] Rooting phone...
[+] Your phone may appear to reboot. Please ignore this and continue with the exploit.
./run.sh: line 49: ./adb.linux: No such file or directory
[+] Please press any hardware button on your phone.
[+] Don't worry if the phone is unresponsive at this time.
[+] Press enter to continue once you have pressed a hardware button.
 [*] Cleaning up...
./run.sh: line 58: ./adb.linux: No such file or directory
./run.sh: line 59: ./adb.linux: No such file or directory
./run.sh: line 60: ./adb.linux: No such file or directory
[*] Exploit complete. Press enter to reboot and exit.
 ./run.sh: line 65: ./adb.linux: No such file or directory
./run.sh: line 66: ./adb.linux: No such file or directory



#83 PhontomF

PhontomF

    n00b

  • Members
  • Pip
  • 3 posts

Posted 22 April 2013 - 04:40 PM

Woohoo got it rooted using Ubuntu 12.10!!!


  • SamuriHL and livinginkaos like this

#84 italyguy01

italyguy01

    Member

  • Members
  • PipPip
  • 60 posts

Posted 22 April 2013 - 04:41 PM

Sam can you PM me your paypal email.  I'd like to send you a donation as well



#85 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 - 04:41 PM

Just know, you who are successful and have Any clue how you got there, you're gonna help here with support :)

Oh now I run out of likes ! LMAO Perfect.


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


#86 danielrm2457

danielrm2457

    n00b

  • Members
  • Pip
  • 1 posts
  • Current Device(s):Droid Bionic

Posted 22 April 2013 - 04:43 PM

Super easy. Wow, Thank you.


  • SamuriHL likes this

#87 rlewis312010

rlewis312010

    Member

  • Members
  • PipPip
  • 111 posts

Posted 22 April 2013 - 04:43 PM

About my message earlier, I figure it is a missing update but trying to find it.  Using the updater but it has been buggy to say the least.  Will try once I find no updates, lol.



#88 ReservedName

ReservedName

    Member

  • Members
  • PipPip
  • 130 posts

Posted 22 April 2013 - 04:46 PM

aw sam i luv u too...mac and android are like best enemies. they really want to be together but sometimes you have to smash things in place.



#89 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 - 04:50 PM

I KNOW it says no support for Windows users, and I'm not asking for any. I am, however brainstorming on ways to do it anyway. No support doesn't ALWAYS translate to impossible. Just a few days ago there was no root for JB and a few months ago there was no viable kexec kernel. Before that, were countless other impossibilities.

If I get something working, we're all enjoying breakfast at Milliway's on me.

Windows users need to use a bootable linux USB stick or run ubuntu in a virtual machine. I PROMISE you, this is not a new exploit. This is a beaten dead horse. If Dan says it'll never happen....trust him...it's not happening.


  • Int_Rnd_Pooka likes this

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!


#90 SamuriHL

SamuriHL

    Android Warrior

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

Posted 22 April 2013 - 04:50 PM

Sam can you PM me your paypal email.  I'd like to send you a donation as well

 

No donation needed.  What I do I do for the good of the community.  I've never had a donation link.


  • ReservedName and Coo1GuyPau1 like this

Non potest esse nisi unus


#91 SamuriHL

SamuriHL

    Android Warrior

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

Posted 22 April 2013 - 04:51 PM

Anyone with adb.linux failing, are you on 64 bit Ubuntu?


Non potest esse nisi unus


#92 italyguy01

italyguy01

    Member

  • Members
  • PipPip
  • 60 posts

Posted 22 April 2013 - 04:53 PM

No donation needed.  What I do I do for the good of the community.  I've never had a donation link.

 

Thank you Sam!   Please let me know if  you change your mind.


  • Coo1GuyPau1 likes this

#93 thetoolbox

thetoolbox

    n00b

  • Members
  • Pip
  • 6 posts

Posted 22 April 2013 - 04:54 PM

Anyone with adb.linux failing, are you on 64 bit Ubuntu?

Yes, 64 bit Ubuntu.



#94 ReservedName

ReservedName

    Member

  • Members
  • PipPip
  • 130 posts

Posted 22 April 2013 - 04:54 PM

i'm gonna run out of likes. love this forum.



#95 SamuriHL

SamuriHL

    Android Warrior

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

Posted 22 April 2013 - 04:57 PM

Yes, 64 bit Ubuntu.

 

Try this:

 

sudo apt-get install ia32-libs

 

Then do the sudo ./run.sh again.


  • hadeshorn9 and livinginkaos like this

Non potest esse nisi unus


#96 crass0405

crass0405

    n00b

  • Members
  • Pip
  • 3 posts
  • Current Device(s):Droid Bionic

Posted 22 April 2013 - 04:58 PM

Superuser.apk
ubuntu@ubuntu:/tmp/share$ sudo chmod 755 run.sh
ubuntu@ubuntu:/tmp/share$ cd /tmp/share/
ubuntu@ubuntu:/tmp/share$ sudo ./run.sh
./run.sh: line 30: ./adb.linux: No such file or directory
[+] Waiting for device...
./run.sh: line 33: ./adb.linux: No such file or directory
[+] Device found.
[+] Pushing exploit...
./run.sh: line 38: ./adb.linux: No such file or directory
./run.sh: line 39: ./adb.linux: No such file or directory
./run.sh: line 40: ./adb.linux: No such file or directory
./run.sh: line 42: ./adb.linux: No such file or directory
./run.sh: line 43: ./adb.linux: No such file or directory
[+] Rooting phone...
[+] Your phone may appear to reboot. Please ignore this and continue with the exploit.
./run.sh: line 49: ./adb.linux: No such file or directory
[+] Please press any hardware button on your phone.
[+] Don't worry if the phone is unresponsive at this time.
[+] Press enter to continue once you have pressed a hardware button.
 [*] Cleaning up...
./run.sh: line 58: ./adb.linux: No such file or directory
./run.sh: line 59: ./adb.linux: No such file or directory
./run.sh: line 60: ./adb.linux: No such file or directory
[*] Exploit complete. Press enter to reboot and exit.

 

 

 

My question is simple, once at the point where it says to push any hardware button on the phone, do you do that right away?

 

My phone is typically rebooting at that point.  Do I push and press enter while it is rebooting or wait until it is completely booted up?



#97 SamuriHL

SamuriHL

    Android Warrior

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

Posted 22 April 2013 - 05:00 PM

Superuser.apk
ubuntu@ubuntu:/tmp/share$ sudo chmod 755 run.sh
ubuntu@ubuntu:/tmp/share$ cd /tmp/share/
ubuntu@ubuntu:/tmp/share$ sudo ./run.sh
./run.sh: line 30: ./adb.linux: No such file or directory
[+] Waiting for device...
./run.sh: line 33: ./adb.linux: No such file or directory
[+] Device found.
[+] Pushing exploit...
./run.sh: line 38: ./adb.linux: No such file or directory
./run.sh: line 39: ./adb.linux: No such file or directory
./run.sh: line 40: ./adb.linux: No such file or directory
./run.sh: line 42: ./adb.linux: No such file or directory
./run.sh: line 43: ./adb.linux: No such file or directory
[+] Rooting phone...
[+] Your phone may appear to reboot. Please ignore this and continue with the exploit.
./run.sh: line 49: ./adb.linux: No such file or directory
[+] Please press any hardware button on your phone.
[+] Don't worry if the phone is unresponsive at this time.
[+] Press enter to continue once you have pressed a hardware button.
 [*] Cleaning up...
./run.sh: line 58: ./adb.linux: No such file or directory
./run.sh: line 59: ./adb.linux: No such file or directory
./run.sh: line 60: ./adb.linux: No such file or directory
[*] Exploit complete. Press enter to reboot and exit.

 

 

 

My question is simple, once at the point where it says to push any hardware button on the phone, do you do that right away?

 

My phone is typically rebooting at that point.  Do I push and press enter while it is rebooting or wait until it is completely booted up?

 

You have bigger issues.  I'm assuming you're 64 bit Ubuntu, as well?


Non potest esse nisi unus


#98 thetoolbox

thetoolbox

    n00b

  • Members
  • Pip
  • 6 posts

Posted 22 April 2013 - 05:02 PM

Try this:

 

sudo apt-get install ia32-libs

 

Then do the sudo ./run.sh again.

Thanks for the help, Sam.  Here's what I get...

 

ubuntu@ubuntu:/tmp/share$ sudo apt-get install ia32-libs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  lib32z1 lib32ncurses5 lib32bz2-1.0 lib32asound2

E: Package 'ia32-libs' has no installation candidate
ubuntu@ubuntu:/tmp/share$ sudo ./run.sh
./run.sh: line 30: ./adb.linux: No such file or directory
[+] Waiting for device...
./run.sh: line 33: ./adb.linux: No such file or directory
[+] Device found.
[+] Pushing exploit...
./run.sh: line 38: ./adb.linux: No such file or directory
./run.sh: line 39: ./adb.linux: No such file or directory
./run.sh: line 40: ./adb.linux: No such file or directory
./run.sh: line 42: ./adb.linux: No such file or directory
./run.sh: line 43: ./adb.linux: No such file or directory
[+] Rooting phone...
[+] Your phone may appear to reboot. Please ignore this and continue with the exploit.
./run.sh: line 49: ./adb.linux: No such file or directory
[+] Please press any hardware button on your phone.
[+] Don't worry if the phone is unresponsive at this time.
[+] Press enter to continue once you have pressed a hardware button.

[*] Cleaning up...
./run.sh: line 58: ./adb.linux: No such file or directory
./run.sh: line 59: ./adb.linux: No such file or directory
./run.sh: line 60: ./adb.linux: No such file or directory
[*] Exploit complete. Press enter to reboot and exit.
 


  • boosible likes this

#99 ArmoredCavalry

ArmoredCavalry

    n00b

  • Members
  • Pip
  • 3 posts

Posted 22 April 2013 - 05:03 PM

For me the exploit goes all the way through, nothing seems to give any sort of error. When it reboots though, Titanium Backup can't get root.

 

I guess I had the same question as above with the :

 

My question is simple, once at the point where it says to push any hardware button on the phone, do you do that right away?

 

My phone is typically rebooting at that point.  Do I push and press enter while it is rebooting or wait until it is completely booted up?

 



#100 ReservedName

ReservedName

    Member

  • Members
  • PipPip
  • 130 posts

Posted 22 April 2013 - 05:04 PM

didn't anybody see the post about looking in motoshare2 not just tmp/share? 






7 user(s) are reading this topic

0 members, 7 guests, 0 anonymous users