Root Sprint Hero with a mac?

IronEddie

Well-known member
Dec 30, 2009
69
1
0
Visit site
Is it possible to root using a mac? I used the forum search and found nothing on this topic. Google search led me to a "how to" post from another forum, but I get nowhere when following the directions to a T. Can anybody help me out? Thanks in advance :)
 

Jerry Hildenbrand

Space Cowboy
Staff member
Oct 11, 2009
5,569
2,797
113
Visit site
One glaring issue with that guide - USB debugging on the phone MUST be turned on. menu->settings->applications->development check USB debugging.

See if that makes a difference. And you're welcome :)
 

IronEddie

Well-known member
Dec 30, 2009
69
1
0
Visit site
Last login: Thu Jan 7 21:17:28 on ttys000
Cara-Dotis-MacBook-Pro:~ caradoti$ cd /Applications/AndroidSDK/tools
Cara-Dotis-MacBook-Pro:tools caradoti$ ./adb push asroot2 /data/local
* daemon not running. starting it now *
* daemon started successfully *
cannot stat 'asroot2': No such file or directory

That is what I get in the terminal. Obviously has to do with the "asroot2" file. I'm a noob and sorry if this is a dumb question, but it says in the directions to download the asroot2 from the provided link. The link just opens a page in safari and doesn't seem to download anything.
 

IronEddie

Well-known member
Dec 30, 2009
69
1
0
Visit site
gbhil...you still awake? haha.

I'm having a problem with the recovery image. I downloaded the image into the tools folder from here [Recovery] CDMA Sprint [13-Dec-2009] RA-heroc-v1.5.2 - xda-developers I tried both versions. This is what I get in the terminal...
Last login: Thu Jan 7 23:43:54 on ttys001
Cara-Dotis-MacBook-Pro:~ caradoti$ adb push recovery-RA-heroc-v1.5.1.img /sdcard/
-bash: adb: command not found
Cara-Dotis-MacBook-Pro:~ caradoti$


Thanks again my man :)
 

Jerry Hildenbrand

Space Cowboy
Staff member
Oct 11, 2009
5,569
2,797
113
Visit site
I never sleep lol. I work in front of this damn thing 16 hours a day for a while.

adb isn't in your path. Either edit your path, or navigate to the SDK/tools directory.

Do it just like you did when you pushed asroot2 over. Copy the recovery to the sdk/tools folder, navigate there in the command prompt and then adb push.
 

Zerazac

Active member
Dec 29, 2009
37
0
0
Visit site
I never sleep lol. I work in front of this damn thing 16 hours a day for a while.

adb isn't in your path. Either edit your path, or navigate to the SDK/tools directory.

Do it just like you did when you pushed asroot2 over. Copy the recovery to the sdk/tools folder, navigate there in the command prompt and then adb push.

Hi gbhil,

I'm having the same issue. How exactly do I edit my path? I'm really new so I apologize in advance. here's what i'm getting.

SUCCESS: Enjoy the shell.
# mount -o remount,rw -t yaffs2 /dev/block/mtblock3 /system
# cd /system/bin
# cat sh > su
# chmod 4775 su
# exit
$ adb push recovery-RA-heroc-v1.5.1.img /sdcard/
adb: permission denied
$ exit
julian-azarezs-macbook-2:tools JulianJackson$ adb push recovery-RA-heroc-v1.5.1-img /sdcard/-bash: adb: command not found
julian-azarezs-macbook-2:tools JulianJackson$ cd ~/documents/android/tools
julian-azarezs-macbook-2:tools JulianJackson$ adb push recovery-RA-heroc-v1.5.1-img /sdcard/
-bash: adb: command not found
julian-azarezs-macbook-2:tools JulianJackson$ adb push recovery-RA-heroc-v1.5.1-img/sdcard/
-bash: adb: command not found
julian-azarezs-macbook-2:tools JulianJackson$ adb push recovery-RA-heroc-v1.5.1-img /sdcard/
-bash: adb: command not found
julian-azarezs-macbook-2:tools JulianJackson$ su
Password:
su: Sorry
julian-azarezs-macbook-2:tools JulianJackson$ su
Password:
su: Sorry
julian-azarezs-macbook-2:tools JulianJackson$ su
Password:
su: Sorry
julian-azarezs-macbook-2:tools JulianJackson$ su
Password:
su: Sorry
julian-azarezs-macbook-2:tools JulianJackson$ ./adb shell
$ su
# adb push recovery-RA-heroc-v1.5.1.img /sdcard/
adb: not found
# flash_image /sdcard/recovery-RA-heroc-v.1.5.1.img
usage: flash_image partition file.img
# flash_image /sdcard/recovery-RA-heroc-v.1.5.1.img
usage: flash_image partition file.img
# adb shell reboot
adb: not found
# adb shell reboot recovery
adb: not found
# adb shell reboot
adb: not found
# adb push recovery-RA-heroc-v1.5.1.img /sdcard/
adb: not found
# exit
$ exit
julian-azarezs-macbook-2:tools JulianJackson$ adb push recovery-RA-heroc-v1.5.1-img /sdcard/
-bash: adb: command not found
julian-azarezs-macbook-2:tools JulianJackson$ adb push recovery-RA-heroc-v1.5.1-img /sdcard/
-bash: adb: command not found
julian-azarezs-macbook-2:tools JulianJackson$ ./adb shell
$ julian-azarezs-macbook-2:tools JulianJackson$
 

Trending Posts

Forum statistics

Threads
943,017
Messages
6,916,897
Members
3,158,777
Latest member
greenbelte15