Jump to content


Photo

[ROOT] Motoshare 2: Old Bug, New Exploit


  • Please log in to reply
985 replies to this topic

#381 jgattonii

jgattonii

    Member

  • Members
  • PipPip
  • 32 posts
  • Current Device(s):Droid Bionic

Posted 23 April 2013 - 06:41 PM

SirEagle you need to start the live installation again. Are you running from a DVD or usb drive?
If DVD I do not think that is going to work as there is no place to install samba to begin with. It has to be on a USB live drive per the instructions.


I used DVD r/w...
  • livinginkaos likes this

#382 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 23 April 2013 - 06:41 PM


- the hole into the right permissions is thru the remote storage folders. The only way to get that to work is to connect to a server so the files end up migrating and commands run thru the connection



Thank you Kaos. So basically, its "only" the most important reason that this exploit works?


Just part of the equation. If you saw the pwn code, you would see the important magic :)

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


#383 SamuriHL

SamuriHL

    Android Warrior

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

Posted 23 April 2013 - 06:42 PM

Early on when I ran "sudo apt-get install samba" it wasn't available and I had to run "sudo apt-get install samba-common-bin smbclient samba common" instead.

 

That's bad.  You installed the samba client but not the server.


Non potest esse nisi unus


#384 hadeshorn9

hadeshorn9

    Moot Minion

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

Posted 23 April 2013 - 06:44 PM

Early on when I ran "sudo apt-get install samba" it wasn't available and I had to run "sudo apt-get install samba-common-bin smbclient samba common" instead.

Ah you need the samba server package.

Try installing samba again.

sudo apt-get install samba


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


#385 SirEagle

SirEagle

    Member

  • Members
  • PipPip
  • 41 posts

Posted 23 April 2013 - 06:44 PM

That's bad.  You installed the samba client but not the server.

So how do I install the server?


Droid Bionic - JB - Rooted

 


#386 SirEagle

SirEagle

    Member

  • Members
  • PipPip
  • 41 posts

Posted 23 April 2013 - 06:45 PM

Ah you need the samba server package.

Try installing samba again.

sudo apt-get install samba

It always give me the same message


Droid Bionic - JB - Rooted

 


#387 jgattonii

jgattonii

    Member

  • Members
  • PipPip
  • 32 posts
  • Current Device(s):Droid Bionic

Posted 23 April 2013 - 06:46 PM

I'llote name="livinginkaos" post="261991" timestamp="1366771301"]

Just part of the equation. If you saw the pwn code, you would see the important magic :)[/quote]

Unfortunately for me, I wouldn't even know what I was looking at. Just getting into the whole dev arena now - and haven't graduated to android-based programming...

#388 hadeshorn9

hadeshorn9

    Moot Minion

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

Posted 23 April 2013 - 06:49 PM

It always give me the same message

Tkis will clear the package cache locally.

Sorry typo

sudo apt-get clean

 

Then try installing samba again.


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


#389 Eric214

Eric214

    Member

  • Members
  • PipPip
  • 108 posts
  • LocationMaryland
  • Current Device(s):Droid Bionic

Posted 23 April 2013 - 06:55 PM

With the 12.4 and newer, it shouldn't matter between 32 and 64 as it should be multi arch. I think the main thing is doing the updates if on 12.4. Mine wouldn't work until I did them either on 12.4

 

I used the 64bit Ubuntu 12.10 and it wouldn't find the files to push. Got the Directory not found crap. in post #104 of this thread the guy listed this command to enter in the terminal .....sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32asound2 lib32stdc++6

 

once i ran that and it installed the 32bit drivers i ran the ./run.sh and BOOM installed in like 4 seconds and rebooted my phone and all was perfect. This after 3 hours of why isn't it finding the damn files!

 

Eric

 

Eric



#390 SirEagle

SirEagle

    Member

  • Members
  • PipPip
  • 41 posts

Posted 23 April 2013 - 06:56 PM

when I try to install I get:

Reading package lists... Done

Building dependancy tree

Reading state information... Done

Package samba 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:

  samba-common-bin smbclient samba-common


Droid Bionic - JB - Rooted

 


#391 arisgoku

arisgoku

    n00b

  • Members
  • Pip
  • 4 posts

Posted 23 April 2013 - 06:56 PM

ty this worked! i have now gained root! and i have donated 10euros to the op. as for the dvd or usb i think it doesn't matter you can use a dvd and the files are stored in a temp on your hd or ram or somewhere


  • livinginkaos likes this

#392 hadeshorn9

hadeshorn9

    Moot Minion

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

Posted 23 April 2013 - 07:09 PM

when I try to install I get:

Reading package lists... Done

Building dependancy tree

Reading state information... Done

Package samba 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:

  samba-common-bin smbclient samba-common

did you run 

sudo apt-get update


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


#393 SirEagle

SirEagle

    Member

  • Members
  • PipPip
  • 41 posts

Posted 23 April 2013 - 07:21 PM

did you run 

sudo apt-get update

Holy frickin sheep sh*t dude, your the man!

 

Thanks you everyone, you guys are the best. ROOT confirmed in Super User and TiBu.


  • SamuriHL and livinginkaos like this

Droid Bionic - JB - Rooted

 


#394 hadeshorn9

hadeshorn9

    Moot Minion

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

Posted 23 April 2013 - 07:23 PM

Holy frickin sheep sh*t dude, your the man!

 

Thanks you everyone, you guys are the best. ROOT confirmed in Super User and TiBu.

Happy rooting!


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


#395 jgattonii

jgattonii

    Member

  • Members
  • PipPip
  • 32 posts
  • Current Device(s):Droid Bionic

Posted 23 April 2013 - 08:47 PM

Needs to have a place to launch from and part of the exploit method.

Plus it does not work from windows, period per the source!


By the way, Hades, I appreciate your reply however it did not adequately fulfill the degree of my curiosity.

Launching locally is not always required. It being part of the exploit is only for this exploit, and I never said anything about Windows.

I was only trying to better understand the basis of all of this in hopes to be able to help someone else down the road. I apologize if my question offended you.

#396 nvssei

nvssei

    n00b

  • Members
  • Pip
  • 2 posts

Posted 23 April 2013 - 09:06 PM

Thanks for all those who need it and all those who may need it! Donation sent.



#397 projektorboy

projektorboy

    n00b

  • Members
  • Pip
  • 12 posts
  • Twitter:manicsocratic

Posted 23 April 2013 - 09:33 PM

SirEagle you need to start the live installation again. Are you running from a DVD or usb drive?

If DVD I do not think that is going to work as there is no place to install samba to begin with. It has to be on a USB live drive per the instructions.

 

Not to burst your bubble entirely, but I did a successful root on my JB Bionic using a 12.04 32-bit LiveDVD of Ubuntu. It still managed to do package updates and install samba so the exploit could be performed. I didn't install Ubuntu whatsoever on my machine. I just booted the disc and clicked "Try Ubuntu" so the live version could run.



#398 DonovanKelley

DonovanKelley

    n00b

  • Members
  • Pip
  • 1 posts
  • LocationSan Jose, CA
  • Current Device(s):Droid Bionic

Posted 23 April 2013 - 10:04 PM

I'm rooted on 12.04 LTS.  Make sure you update first. I was having issues (no errors).  It would go through the whole process just fine with no errors and no root.  After updating the OS, it worked first time.

apt-get update

 

more than likely you wouldn't have had to bother with sudo apt-get update if had just gone with 12.10 instead of the 12.04 LTS



#399 MaddHatter

MaddHatter

    n00b

  • Members
  • Pip
  • 14 posts
  • Twitter:sparksDM
  • Current Device(s):MotoX 4.4

Posted 23 April 2013 - 10:39 PM

Amazing work here. Cant thank you enough for this root method. Worked great on my 64bit distro, with the 32bit libs. I will throw some moneys towards a good cause on your behalf.

 

 

more than likely you wouldn't have had to bother with sudo apt-get update if had just gone with 12.10 instead of the 12.04 LTS

 

Regardless of the version you choose, it is a good idea to run apt-get update to make sure you are current. For the brief moment it takes to run through, it's worth it IMO.


  • livinginkaos likes this

MotoX on 4.4

DROID Bionic 4.1 (Retired)


#400 Jack2007

Jack2007

    n00b

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

Posted 23 April 2013 - 11:37 PM

Will this method work with a Linux based system such as "

Please Login or Register to see this Hidden Content

"?






7 user(s) are reading this topic

0 members, 7 guests, 0 anonymous users