• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root .sh files on the osx 10.4

Zenofsong

Newbie
Trying to flash to stock, seems as though .sh files are just opening as textedit files on osx 10.4 Anyone know anything about that?
 
umm only thing I can think of is run them from a terminal shell.

Tried that. Same thing. Opens a textedit windows displaying:

./fastboot-mac erase recovery
./fastboot-mac erase system
./fastboot-mac erase userdata
./fastboot-mac flash recovery recovery.img
./fastboot-mac flash system system.img
./fastboot-mac flash userdata data.img
./fastboot-mac erase boot
./fastboot-mac flash boot boot.img
./fastboot-mac reboot

which is the same as if I doubleclick. My huawei is in fastboot still
 
Tried that. Same thing. Opens a textedit windows displaying:

./fastboot-mac erase recovery
./fastboot-mac erase system
./fastboot-mac erase userdata
./fastboot-mac flash recovery recovery.img
./fastboot-mac flash system system.img
./fastboot-mac flash userdata data.img
./fastboot-mac erase boot
./fastboot-mac flash boot boot.img
./fastboot-mac reboot

which is the same as if I doubleclick. My huawei is in fastboot still
ummm, dunno how to set it on a Mac, but it needs the default application reset that opens it. Unfortunately I cant think of what it would be atm lol


Google '.sh Mac' and see what you find.
 
ummm, dunno how to set it on a Mac, but it needs the default application reset that opens it. Unfortunately I cant think of what it would be atm lol


Google '.sh Mac' and see what you find.

Thanks for trying, i may not even need to do stock. I'm trying to get to cm6 and clockwork mod is giving me an installation aborted when i try to install from sd, so i figured i needed to go stock and then go straight.

(i originally went from stock to icky to cm7 to icky to staying up until 3 in the morning trying to figure this out.)

im running clockworkmod 3.0.0.5 btw, i dunno if that has anything to do with anything.
 
Thanks for trying, i may not even need to do stock. I'm trying to get to cm6 and clockwork mod is giving me an installation aborted when i try to install from sd, so i figured i needed to go stock and then go straight.

(i originally went from stock to icky to cm7 to icky to staying up until 3 in the morning trying to figure this out.)

im running clockworkmod 3.0.0.5 btw, i dunno if that has anything to do with anything.
that should work with CM6, did when I installed it, then again I have 3.0.2.4.

Going back to stock wont help IMO.

What error is it giving when it aborts?
 
that should work with CM6, did when I installed it, then again I have 3.0.2.4.

Going back to stock wont help IMO.

What error is it giving when it aborts?

Find update package...
opening update package...
installing update...
installation aborted.

Does it really fast too.
 
Trying to flash to stock, seems as though .sh files are just opening as textedit files on osx 10.4 Anyone know anything about that?
Open Terminal.app (/Applications/Utilities)
cd to the directory you have the .sh and other files in, for example:
Code:
cd Downloads/zip
then:
Code:
chmod +x *
then:
Code:
./filename.sh
Where filename is whatever the shell script is called.
 
Open Terminal.app (/Applications/Utilities)
cd to the directory you have the .sh and other files in, for example:
Code:
cd Downloads/zip
then:
Code:
chmod +x *
then:
Code:
./filename.sh
Where filename is whatever the shell script is called.

Im sure I'll need to use this for the mms fix.
 
Open Terminal.app (/Applications/Utilities)
cd to the directory you have the .sh and other files in, for example:
Code:
cd Downloads/zip
then:
Code:
chmod +x *
then:
Code:
./filename.sh
Where filename is whatever the shell script is called.

when executing final command:./install-recovery-mac.sh
getting the error

./install-recovery-mac.sh: line 1: ./fastboot-mac: cannot execute binary file
 
Back
Top Bottom