• 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

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
 
Upvote 0
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.
 
Upvote 0
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.
 
Upvote 0
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?
 
Upvote 0
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.
 
  • Like
Reactions: Zenofsong
Upvote 0
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
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones