Jump to content


Photo

[ROOT] Motoshare 2: Old Bug, New Exploit


  • Please log in to reply
985 replies to this topic

#201 rlewis312010

rlewis312010

    Member

  • Members
  • PipPip
  • 111 posts

Posted 23 April 2013 - 04:22 AM

I'm not Sam, but you can fix this by opening the .xml from the FXZ and search for anywhere it says "OEM" and delete the text beween the angle brackets <like this>
 
Hard to explain without showing you, but let us know if you need more help.

So delete text and what is left is <> is that right? Leave those symbols? Might seem silly but one character can f something up. Sam knows, lol.

#202 rlewis312010

rlewis312010

    Member

  • Members
  • PipPip
  • 111 posts

Posted 23 April 2013 - 04:24 AM

The file share isn't connected.  This is a note to all running this....when you see /storage/rfs0/pwn: not found you were *NOT* successful and your samba share is NOT connected on the phone. You must fix that problem or it will never work.


I browsed network, workgroup, password, saw share files. Connected from files on phone also.

#203 destes37

destes37

    n00b

  • Members
  • Pip
  • 11 posts
  • Twitter:dave_estes41
  • LocationWarren, OH
  • Current Device(s):Bionic

Posted 23 April 2013 - 04:34 AM

The file share isn't connected.  This is a note to all running this....when you see /storage/rfs0/pwn: not found you were *NOT* successful and your samba share is NOT connected on the phone. You must fix that problem or it will never work.

Thank you very much Sam, problem fixed and root is acquired. Sorry for the simple brain fart :rolleyes:

Dan, you are the man!!!!

Attached Files


  • SamuriHL and livinginkaos like this

#204 Murf

Murf

    n00b

  • Members
  • Pip
  • 5 posts

Posted 23 April 2013 - 04:47 AM

Im having the same problem with the freezing after

 

ubuntu@ubuntu:/tmp/share$ sudo ./run.sh
[+] Waiting for device...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
 

running 12.10 as liveCD.

Not experienced with linux at all, just did what you told us to :p

 



#205 SamuriHL

SamuriHL

    Android Warrior

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

Posted 23 April 2013 - 04:59 AM

I browsed network, workgroup, password, saw share files. Connected from files on phone also.

 

As noted in the response after yours, that's what's causing the issue.  Trust me.  The script is not seeing the share.


Non potest esse nisi unus


#206 SamuriHL

SamuriHL

    Android Warrior

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

Posted 23 April 2013 - 05:01 AM

Im having the same problem with the freezing after

 

ubuntu@ubuntu:/tmp/share$ sudo ./run.sh
[+] Waiting for device...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
 

running 12.10 as liveCD.

Not experienced with linux at all, just did what you told us to :p

 

This is also a note to all...whenever it gets stuck at daemon started, it means it's not seeing your phone on USB.  You'll have to troubleshoot why.  There are dozens of possible reasons.


  • livinginkaos likes this

Non potest esse nisi unus


#207 jgattonii

jgattonii

    Member

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

Posted 23 April 2013 - 05:11 AM

Hi all.  Noob here again.  Sending this from Ubuntu.  I can get everything to work up to mounting my share.  I'm logged into my workplace network so I presume that the ip address I'm returning from ifconfig is somehow locking me out.  Is there any other way to connect my phone to the share, or can someone help me figure out a way to find the appropriate ip address?  If not, I'll just wait until I get home to finish it out.

 



#208 stewlk

stewlk

    n00b

  • Members
  • Pip
  • 2 posts

Posted 23 April 2013 - 05:13 AM

This is also a note to all...whenever it gets stuck at daemon started, it means it's not seeing your phone on USB.  You'll have to troubleshoot why.  There are dozens of possible reasons.

it might not be working right due to it being a live cd,   i did it on zorin 64 lastnight testing for dan(he was waiting in live chat for me to test) and i`ve not had one problem. if you follow the instructions its simple.    



#209 stewlk

stewlk

    n00b

  • Members
  • Pip
  • 2 posts

Posted 23 April 2013 - 05:15 AM

Hi all.  Noob here again.  Sending this from Ubuntu.  I can get everything to work up to mounting my share.  I'm logged into my workplace network so I presume that the ip address I'm returning from ifconfig is somehow locking me out.  Is there any other way to connect my phone to the share, or can someone help me figure out a way to find the appropriate ip address?  If not, I'll just wait until I get home to finish it out.

when you run ifconfig you`ll have inet and bcast.  u want the i net one  



#210 SamuriHL

SamuriHL

    Android Warrior

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

Posted 23 April 2013 - 05:20 AM

Hi all.  Noob here again.  Sending this from Ubuntu.  I can get everything to work up to mounting my share.  I'm logged into my workplace network so I presume that the ip address I'm returning from ifconfig is somehow locking me out.  Is there any other way to connect my phone to the share, or can someone help me figure out a way to find the appropriate ip address?  If not, I'll just wait until I get home to finish it out.

 

If it's a domain there could very well be a firewall blocking access to the ports required or some funky network setup.  I'd wait and do it on a network you can control.


Non potest esse nisi unus


#211 SamuriHL

SamuriHL

    Android Warrior

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

Posted 23 April 2013 - 05:22 AM

it might not be working right due to it being a live cd,   i did it on zorin 64 lastnight testing for dan(he was waiting in live chat for me to test) and i`ve not had one problem. if you follow the instructions its simple.    

 

Very possible.  Although I've seen people say the Live CD worked for them.  I honestly don't know.  I do all my linux stuff in vmware WS 9 and haven't had any problem.  I just tell VMWare to disconnect it from the host and connect it to the VM...done.  That's how I developed the linux/mac version of the House of Bionic.


Non potest esse nisi unus


#212 jgattonii

jgattonii

    Member

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

Posted 23 April 2013 - 05:24 AM

If it's a domain there could very well be a firewall blocking access to the ports required or some funky network setup.  I'd wait and do it on a network you can control.

That's what I'm thinking.  At least I finally have Ubuntu up and running.  I had issues with both versions of 12.4 but 12.10 32bit was working well up to that point at least.



#213 johnlgalt

johnlgalt

    Antidisestablishmentarianist

  • Superuser
  • 7,296 posts
  • Twitter:https://twitter.com/JohnLGalt
  • Location3rd Rock
  • Current Device(s):Pixel 4 XL 128 GB

Posted 23 April 2013 - 05:25 AM

Wow, 7 pages of a thread to read while I've been away fixing computers.

 

Good news - I had an impromptu interview yesterday afternoon.

 

Bad news - I'm working my way through 2 different computers afflicted with the MBAM fiasco from last Monday (Boston day).

 

I've already got the plans on how to get this working with a much smaller Live CD, but it's going to take some time *and* testing - and I am my own first guinea pig.  So, please be patient.

 

Dan - thanks for your blessings, and thanks for taking the time and modifying the exploit to work on our phones - you rock!

 

Sam, thanks for being there for the community again, as you always are.

 

King Howie - thanks for donating in my name :D

 

Everyone else - thanks for being the awesome people that you are!


  • SamuriHL, ndtemple417, matjmonk and 4 others like this

#214 SamuriHL

SamuriHL

    Android Warrior

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

Posted 23 April 2013 - 05:26 AM

Yea I've seen more reports of success with 12.10 than 12.04.  I'm using 12.10 in my VM.  


Non potest esse nisi unus


#215 bejeweledman

bejeweledman

    n00b

  • Members
  • Pip
  • 4 posts

Posted 23 April 2013 - 05:27 AM

I have a problem... everything was running smooth, until the second reboot it was rebooted to the fastboot mode, and root was not acquired although the termnial showed "success". Is it necessary for me to wait for the JB fastboot file to flash it?



#216 johnlgalt

johnlgalt

    Antidisestablishmentarianist

  • Superuser
  • 7,296 posts
  • Twitter:https://twitter.com/JohnLGalt
  • Location3rd Rock
  • Current Device(s):Pixel 4 XL 128 GB

Posted 23 April 2013 - 05:27 AM

12.10?  OK.  Let me go look then.



#217 ohoh

ohoh

    n00b

  • Members
  • Pip
  • 2 posts

Posted 23 April 2013 - 05:28 AM

Ok, first things first: Thank you, Dan. Works for my XT910! Donation on its way.

 

For those who got through the exploit without error and achieved a beotchy "partial" root like me:

Re-flash your device with RSD Lite using the fastboot files. I started with my "used" JB version and the exploit didn't work (completely) at first. Was close to biting my rear end at that point.

Starting with a fresh system helped me out. 

For those fellows who might have issues with their Linux-distribution: I used Knoppix 7.0.5 (German distribution) live DVD version, samba server is already integrated in that one, worked nicely!



#218 SamuriHL

SamuriHL

    Android Warrior

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

Posted 23 April 2013 - 05:33 AM

I have a problem... everything was running smooth, until the second reboot it was rebooted to the fastboot mode, and root was not acquired although the termnial showed "success". Is it necessary for me to wait for the JB fastboot file to flash it?

 

It should not have rebooted to fastboot mode.  Something is wrong there.  Don't have enough info to determine what, however.


Non potest esse nisi unus


#219 ydc

ydc

    n00b

  • Members
  • Pip
  • 2 posts

Posted 23 April 2013 - 05:35 AM

first off, when i remote connect my bionic via remote storage the folder is empty (connects fine just empty).

here is what my command terminal says:

./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

 

I'm using the 32-bit version 12.10. I tryed repeating the process but it wouldn't work. if its any help my phone never rebooted after pressing enter on the last comand

I had the same problem when connecting to a Fedora 12 samba server I had previously configured for other stuff.  I tried connecting to the share directly from the VM and found out that I was getting an error that I had insufficient privileges to see the files.  I futzed with it for awhile and then ended up just uninstalling/re-installing the samba packages to get rid of previous cruft.  That did the trick for me.

 

Never had the issue with adb.linux not being found.

 

--Dann



#220 bejeweledman

bejeweledman

    n00b

  • Members
  • Pip
  • 4 posts

Posted 23 April 2013 - 05:42 AM

It should not have rebooted to fastboot mode.  Something is wrong there.  Don't have enough info to determine what, however.

My phone comes from HK and flashed into Australian ICS before JB OTA started. Is this a problem?






5 user(s) are reading this topic

0 members, 5 guests, 0 anonymous users