Jump to content


Photo
* * * * * 5 votes

[SCRIPT/UTILITY] ROOT RAZR M XT907 for LOCKED Devices on 9.18.78

ROOT FIX

  • This topic is locked This topic is locked
618 replies to this topic

#321 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 43,508 posts
  • Current Device(s):S21 Ultra, Pixel 6

Posted 02 September 2013 - 06:59 AM

I don't mean to be rude, but, this is a thread for root.  Please post a new topic for those questions. Thanks.


  • shane1 likes this

Non potest esse nisi unus


#322 conrthomas

conrthomas

    n00b

  • Members
  • Pip
  • 1 posts

Posted 03 September 2013 - 12:39 PM

The OP link seems to be down.



#323 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 04 September 2013 - 06:36 AM

The OP link seems to be down.

It appears to be working from my end.  I will set up a mirror and post in OP.


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


#324 rockrabbit

rockrabbit

    n00b

  • Members
  • Pip
  • 6 posts

Posted 04 September 2013 - 03:13 PM

Greetings... running into this error.. Mac OS X 10.8.4

 

 

Manic:motochopper_1.1.2 $ chmod +x run.sh
Manic:motochopper_1.1.2 $ ./run.sh
-bash: ./run.sh: /bin/bash^M: bad interpreter: No such file or directory
Manic:motochopper_1.1.2 $ 

 

 

 

 

Any help?



#325 rockrabbit

rockrabbit

    n00b

  • Members
  • Pip
  • 6 posts

Posted 04 September 2013 - 04:04 PM

I edited the run.sh file and got this far..

 

The Razr M reboot into in Fast mode reading:

 

AP Fastboot Flash Mode (S)

10.9B(*) (sha-1e9f557, 2013-05-24 14:49:34)

eMMC Info: Size 8GB

 

Device is LOCKED, Status Code 0

 

Battery OK

 

Transfer Mode:

USB Connected

 

 

Fastboot Reason: Reboot to bootloader

usb connected

 

-------------

 

In the Mac terminal, it then times out reading:

 

 

[*]
[*] Waiting for device...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[*] Device found.
[*] Rebooting to AP Fastboot mode...
[*] Checking for system.img or system.img.ext4...
./run3.sh: line 91: syntax error: unexpected end of file


#326 sloosecannon

sloosecannon

    Member

  • Dedicated Supporter
  • PipPip
  • 70 posts
  • Current Device(s):Droid Razr M, Google Asus Nexus 7, Samsung Galaxy Nexus

Posted 04 September 2013 - 04:07 PM

I edited the run.sh file and got this far..

The Razr M reboot into in Fast mode reading:

AP Fastboot Flash Mode (S)
10.9B(*) (sha-1e9f557, 2013-05-24 14:49:34)
eMMC Info: Size 8GB

Device is LOCKED, Status Code 0

Battery OK

Transfer Mode:
USB Connected


Fastboot Reason: Reboot to bootloader
usb connected

-------------

In the Mac terminal, it then times out reading:


[*]
[*] Waiting for device...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[*] Device found.
[*] Rebooting to AP Fastboot mode...
[*] Checking for system.img or system.img.ext4...
./run3.sh: line 91: syntax error: unexpected end of file

Unexpected EOF - your edit broke something...

Sent from my XT907 using Tapatalk 4



#327 johnthehillbilly

johnthehillbilly

    Gear jammin' S-Mod

  • Smod
  • 6,470 posts
  • Twitter:@johnhillbilly
  • Google+:http://goo.gl/ColUJ .. johnthehillbilly@gmail.com
  • LocationSomewhere between here, and there...
  • Current Device(s):unlocked RAZR HD (xt926)... RAZR (xt912)

Posted 04 September 2013 - 04:18 PM

Big question ..... what did you edit?

Feeding my android addiction......... one phone at a time.....

jhf.png

If you are feeling generous and would like to buy me a drink.... coffee :)


#328 rockrabbit

rockrabbit

    n00b

  • Members
  • Pip
  • 6 posts

Posted 04 September 2013 - 04:28 PM

Big question ..... what did you edit?

 

 

I removed from the #!/bin/bash

 

 

 

down to excluding

 

 

read -n 1

 

saved it, re-chmod it and then ran it



#329 rockrabbit

rockrabbit

    n00b

  • Members
  • Pip
  • 6 posts

Posted 04 September 2013 - 04:32 PM

if i just run the script as is I get this:

 

 

[*]
[*] Motochopper: Android root exploit (Linux/OS X version)
[*] v1.1
[*] by Dan Rosenberg (@djrbliss) - Updated by SamuriHL
[*]
[*] Tested on the Motorola Razr HD, Razr M, Razr Maxx HD, and Atrix HD.
[*] Supports lots of other devices as well. ;-)
[*]
[*] Before continuing, ensure that USB debugging is enabled and that
[*] your phone is connected via USB.
[*]
[*] WARNING: This will likely void the warranty on your device. I am
[*] not responsible for any damage to your phone as a result using this
[*] tool.
[*]
[*] Press enter to root your phone...
: command not found
: invalid number9: read: 1
: command not found
[*]


#330 rockrabbit

rockrabbit

    n00b

  • Members
  • Pip
  • 6 posts

Posted 04 September 2013 - 04:46 PM

The main issue begins with #!/bin/bash

The Mac fails to read it!

 

 

Manic:motochopper_1.1.2$ chmod +x run.sh
Manic:motochopper_1.1.2$ ./run.sh
-bash: ./run.sh: /bin/bash^M: bad interpreter: No such file or directory
 
I found this answer:
 
/bin/bash^M: bad interpreter: no such file or directory
This usually means the file has been edited and has Windows <CR-LF> instead of unix <LF> line endings.

 

 

so I copied and pasted the contents of run.sh into PICO and saved it...

 

now i get this:

 

 

Manic:motochopper_1.1.2 andrew$ ./runmac.sh
[*]
[*] Motochopper: Android root exploit (Linux/OS X version)
[*] v1.1
[*] by Dan Rosenberg (@djrbliss) - Updated by SamuriHL
[*]
[*] Tested on the Motorola Razr HD, Razr M, Razr Maxx HD, and Atrix HD.
[*] Supports lots of other devices as well. ;-)
[*]
[*] Before continuing, ensure that USB debugging is enabled and that
[*] your phone is connected via USB.
[*]
[*] WARNING: This will likely void the warranty on your device. I am
[*] not responsible for any damage to your phone as a result using this
[*] tool.
[*]
[*] Press enter to root your phone...
 
[*]
[*] Waiting for device...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[*] Device found.
[*] Rebooting to AP Fastboot mode...
[*] Checking for system.img or system.img.ext4...
./runmac.sh: line 129: syntax error: unexpected end of file

 



#331 sloosecannon

sloosecannon

    Member

  • Dedicated Supporter
  • PipPip
  • 70 posts
  • Current Device(s):Droid Razr M, Google Asus Nexus 7, Samsung Galaxy Nexus

Posted 04 September 2013 - 04:57 PM

The main issue begins with #!/bin/bash
The Mac fails to read it!


Manic:motochopper_1.1.2$ chmod +x run.sh
Manic:motochopper_1.1.2$ ./run.sh
-bash: ./run.sh: /bin/bash^M: bad interpreter: No such file or directory

I found this answer:

/bin/bash^M: bad interpreter: no such file or directory
This usually means the file has been edited and has Windows instead of unix line endings.


so I copied and pasted the contents of run.sh into PICO and saved it...

now i get this:


Manic:motochopper_1.1.2 andrew$ ./runmac.sh
[*]
[*] Motochopper: Android root exploit (Linux/OS X version)
[*] v1.1
[*] by Dan Rosenberg (@djrbliss) - Updated by SamuriHL
[*]
[*] Tested on the Motorola Razr HD, Razr M, Razr Maxx HD, and Atrix HD.
[*] Supports lots of other devices as well. ;-)
[*]
[*] Before continuing, ensure that USB debugging is enabled and that
[*] your phone is connected via USB.
[*]
[*] WARNING: This will likely void the warranty on your device. I am
[*] not responsible for any damage to your phone as a result using this
[*] tool.
[*]
[*] Press enter to root your phone...

[*]
[*] Waiting for device...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[*] Device found.
[*] Rebooting to AP Fastboot mode...
[*] Checking for system.img or system.img.ext4...
./runmac.sh: line 129: syntax error: unexpected end of file

Well whatever you deleted had a loop of some type (not familiar with bash so I gotta be generic... I know, it's on the to-do list)
Unexpected EOF means something's missing... Probably the stuff you deleted...

Sent from my Nexus 7 using Tapatalk 4

#332 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 04 September 2013 - 05:01 PM

Looks like you are editing file names as well since this last one is trying to run runmac.sh and the previous one said run3.sh

From My S4 Dev Edition


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


#333 sloosecannon

sloosecannon

    Member

  • Dedicated Supporter
  • PipPip
  • 70 posts
  • Current Device(s):Droid Razr M, Google Asus Nexus 7, Samsung Galaxy Nexus

Posted 04 September 2013 - 05:33 PM

Just FYI, anyone who might do this...
The mirror link is broken by tapatalk... And not signing up for 4shared so yeah...

Sent from my Nexus 7 using Tapatalk 4

#334 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 04 September 2013 - 05:43 PM

4shared does not require you to sign up. I will fix the other link shortly.

From My S4 Dev Edition


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


#335 sloosecannon

sloosecannon

    Member

  • Dedicated Supporter
  • PipPip
  • 70 posts
  • Current Device(s):Droid Razr M, Google Asus Nexus 7, Samsung Galaxy Nexus

Posted 04 September 2013 - 05:48 PM

4shared does not require you to sign up. I will fix the other link shortly.

From My S4 Dev Edition

Huh. Couldn't figure out how to get it without sign up. Whatevs.
Link isn't broken, tapatalk breaks it...

Sent from my Nexus 7 using Tapatalk 4

#336 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 04 September 2013 - 06:24 PM

Well, I fixed it for good. On the DRDevs server now.  Download to your hearts content.


  • Memnoch73, jamminjon82 and johnthehillbilly 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


#337 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 04 September 2013 - 06:29 PM

Well, I fixed it for good. On the DRDevs server now.  Download to your hearts content.

Yeah, I know, what took so long.....


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


#338 rockrabbit

rockrabbit

    n00b

  • Members
  • Pip
  • 6 posts

Posted 05 September 2013 - 04:19 AM

Looks like you are editing file names as well since this last one is trying to run runmac.sh and the previous one said run3.sh

From My S4 Dev Edition

 I tried a whole lot of things.. the last thing i tried was a new extraction of the .zip file with no editted files..

 

I ran a simple perl script to correct the CR issue

 

perl -pi -e 's/\r\n|\n|\r/\n/g' file-to-convert # Convert to UNIX

 

 

thats all I did, ran it and got that error!



#339 mac138

mac138

    n00b

  • Members
  • Pip
  • 3 posts

Posted 05 September 2013 - 04:24 PM

I am having trouble trying to root my phones. I have read everything in this thread. I tried for the first time on motochopper 1.1.1. I did just as the instructions said. said it was complete at the end. Checked supersu no root. I asked why it did not work here a couple pages back. Then you guys posted up 1.1.2. Tried that one same result no root. Thought it might just be my phone. So I bought one off ebay. Hoping it was not updated. No luck. Tried 1.1.2 on that one same result. I don't think there is anyway both phones were rooted before. Where can I find the proper system.img for my phone so I can try that I guess. Thank you in advance for any help. really frustrated at this point.



#340 butface123

butface123

    n00b

  • Members
  • Pip
  • 2 posts

Posted 05 September 2013 - 06:16 PM

every time i execute ./run.sh on my mac using terminal i get this error someone please help me
 
-bash: ./run.sh: /bin/bash^M: bad interpreter: No such file or directory






Also tagged with one or more of these keywords: ROOT FIX

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users