Jump to content


Photo

[ROOT] Motoshare 2: Old Bug, New Exploit


  • Please log in to reply
985 replies to this topic

#21 SamuriHL

SamuriHL

    Android Warrior

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

Posted 22 April 2013 - 02:20 PM

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

 

When I did it I did it as sudo.  I don't have my linux VM open right now else I'd check.  Very likely though.  I'll update Dan's instructions.  Better safe than sorry.


Non potest esse nisi unus


#22 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:21 PM

When I did it I did it as sudo.  I don't have my linux VM open right now else I'd check.  Very likely though.  I'll update Dan's instructions.  Better safe than sorry.

ok, I was gonna suggest it because it seems out of place like that. It couldn't hurt to run it as sudo.


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!


#23 ReservedName

ReservedName

    Member

  • Members
  • PipPip
  • 130 posts

Posted 22 April 2013 - 02:27 PM

hey samuri can i do these terminal commands from mac?

seems like I could install samba for osx but figured i'd ask before trying



#24 SamuriHL

SamuriHL

    Android Warrior

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

Posted 22 April 2013 - 02:31 PM

ok, I was gonna suggest it because it seems out of place like that. It couldn't hurt to run it as sudo.

 

No it doesn't hurt even if it's not required.  Again, I'd rather err on the side of caution with what we know works than have people run into problems and have to support a bunch of people for it.


Non potest esse nisi unus


#25 SamuriHL

SamuriHL

    Android Warrior

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

Posted 22 April 2013 - 02:32 PM

hey samuri can i do these terminal commands from mac?

 

I honestly do not know.  If you can set up a samba share on the Mac it MIGHT work.  Completely and totally untested AFAIK.  The osx adb binary is in there so all I can say is try and please report back if it works or not.


  • Int_Rnd_Pooka likes this

Non potest esse nisi unus


#26 NewtG

NewtG

    n00b

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

Posted 22 April 2013 - 02:34 PM

Thanx Dan, donation sent, sorry It could not be more!!



#27 ReservedName

ReservedName

    Member

  • Members
  • PipPip
  • 130 posts

Posted 22 April 2013 - 02:36 PM

I honestly do not know.  If you can set up a samba share on the Mac it MIGHT work.  Completely and totally untested AFAIK.  The osx adb binary is in there so all I can say is try and please report back if it works or not.

lol i'm always the one to test djrbliss stuff on mac last time bionic was rooted i even combined his windows version of the exploit into a mac script. doubt i'll be doing that this time though..

wish me luck


  • SamuriHL and kitcostantino like this

#28 milski65

milski65

    Droid Master

  • Dedicated Supporter
  • PipPipPip
  • 740 posts
  • Twitter:milski65

Posted 22 April 2013 - 02:39 PM

Thanks for everything you've done for Android Dan.  You've had a huge impact on making us who we are today.  



#29 Int_Rnd_Pooka

Int_Rnd_Pooka

    Member

  • Members
  • PipPip
  • 284 posts
  • Current Device(s):Bionic

Posted 22 April 2013 - 02:47 PM

Test it on Mac. Worst case is that it doesn't work and you FXZ. Booting into a livecd isn't a problem on windows boxes, but I don't know if you can do that with a Mac. You can certainly run Linux in a network aware VM to accomplish this if Mac boxes won't do it natively.

#30 Tomsg123

Tomsg123

    Member

  • Members
  • PipPip
  • 30 posts

Posted 22 April 2013 - 02:49 PM

I am working on a how to video will post when I am done

 

Edit

Finished Video here 

 

Hope this helps some of the noobs out.


  • dcrazy, geekabilly, SamuriHL and 15 others like this

#31 ReservedName

ReservedName

    Member

  • Members
  • PipPip
  • 130 posts

Posted 22 April 2013 - 02:58 PM

i have some version of samba installed on my mac now but the smb.conf directs shares to this file 

; Pull in system share configuration. These are managed
    ; by smb-sync-shares.
    include = /var/db/samba/smb.shares

so i opened smb.shares but it says it is automatically generated and warns against editing it. I can edit it to add these lines

[share]
path = /tmp/share
available
= yes
valid users
= guest
read only
= yes
browsable
= yes
public = yes

BUT i'm not sure if i should add that to smb.shares or try to reconfigure smb.conf to use this instead of smb.shares

I know this isn't something a lot of people can shed light on but I think I can help most by documenting my attempts.



#32 SamuriHL

SamuriHL

    Android Warrior

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

Posted 22 April 2013 - 03:01 PM

i have some version of samba installed on my mac now but the smb.conf directs shares to this file 

; Pull in system share configuration. These are managed
    ; by smb-sync-shares.
    include = /var/db/samba/smb.shares

so i opened smb.shares but it says it is automatically generated and warns against editing it. I can edit it to add these lines

[share]
path = /tmp/share
available = yes
valid users = guest
read only = yes
browsable = yes
public = yes

BUT i'm not sure if i should add that to smb.shares or try to reconfigure smb.conf to use this instead of smb.shares

I know this isn't something a lot of people can shed light on but I think I can help most by documenting my attempts.

 

Throw it in your shares file.


  • Int_Rnd_Pooka likes this

Non potest esse nisi unus


#33 MetalJR

MetalJR

    n00b

  • Members
  • Pip
  • 21 posts
  • LocationMassachusetts

Posted 22 April 2013 - 03:03 PM

Anybody succeed? No luck here. Everything pushed but still no root binary
  • BartimusMaximus likes this

#34 SamuriHL

SamuriHL

    Android Warrior

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

Posted 22 April 2013 - 03:04 PM

Anybody succeed? No luck here. Everything pushed but still no root binary

 

Yes.  I did.


  • Int_Rnd_Pooka likes this

Non potest esse nisi unus


#35 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 - 03:05 PM

The main thing is that you can access the share from the Bionic.  The name of the share is not important as long as you tailor the needed commands to point to it.  


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


#36 xrasimx

xrasimx

    n00b

  • Members
  • Pip
  • 24 posts
  • LocationBize Her Yer Trabzon

Posted 22 April 2013 - 03:06 PM

Thank you.
Ne Mutlu Türküm Diyene .!

#37 MetalJR

MetalJR

    n00b

  • Members
  • Pip
  • 21 posts
  • LocationMassachusetts

Posted 22 April 2013 - 03:06 PM

I'm starting over from step one on a fresh Ubuntu 12.10. Maybe I missed something.

#38 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 - 03:07 PM

I'm starting over from step one on a fresh Ubuntu 12.10. Maybe I missed something.

Good idea - btw, watch what the text shows as it goes so you can tell us what you see if there is a problem.  Just saying it didn't work doesn't give us much to go on.


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


#39 Quadroller

Quadroller

    Member

  • Dedicated Supporter
  • PipPip
  • 29 posts
  • LocationWilmington, NC
  • Current Device(s):MOTO DROID BIONIC-2

Posted 22 April 2013 - 03:08 PM

$15 sent. Thank You Dan!!

#40 SamuriHL

SamuriHL

    Android Warrior

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

Posted 22 April 2013 - 03:09 PM

I can't stress this next point enough...if you are asking for help, things like "it didn't work" or "did it work for anyone else cause it didn't for me" are going to get ignored or very short replies.  If you want help, you MUST provide information that will help us help you.  Copy and paste from the command window in Linux, give us any errors you see, tell us in detail every step you took to get where you are, etc.  We want to help, but, we can't be mind readers and work to PULL information out of you.  The more info you provide, the easier it'll be to help you.


  • hadeshorn9 and Int_Rnd_Pooka like this

Non potest esse nisi unus





4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users