Mac Question - Lack of "Command Prompt"

Dec 7, 2009
6
0
0
I'm new to rooting (just rooted my htc incredible... easy using unrevoked)... Now that I'm rooted, I'm looking into taking advantage of what's available, however, I have a Mac. Alot of what's involved (or at least the step-by-step instructions I'm finding) require me to enter commands in the Command Prompt... Macs (to my knowledge) don't have this.

So how can I do this stuff on my Mac?

Thanks...
 
I'm going to suppose you are running Mac OS X.

Mac OS X is built on a version of Unix called Darwin, which isn't too far off from Android wrote from Linux, funny enough. To access a 'command prompt' in Mac OS X, open the Terminal application. It is located by default inside the Utilities folder, which is inside the applications folder.

From there you may be able to do what you are looking for. Never rooted on a Mac.

(I could have given the same answer I've seen in the past which was, "Take your Mac get online and order a PC! lol)

Hopefully once we get a full NAND unlock you will be able to use a terminal emulator straight from the phone and do anything you want from the phone and not have to use the computer at all. Best of luck let us know how it works out!
 
im on a mac and it took me somewhat of a while to figure this out. you need to download the sdkfolder files from the internet somewhere. then you need to download fastboot, then drag the file into the tools folder inside the sdk folder. then you need to plug your phone in, boot your phone into recovery and select the partitions menu, then select mount /system. then go into terminal and type (assuming you have your sdk folder on your desktop):
cd desktop
cd sdk
cd tools
./adb shell

then it should say something like daemon running or something like that
then you should be in.


oh and i also rooted on a mac using unrevoked 3
 
If your computer isn't 'talking' with your device then you need device specific hboot drivers. Fortunately for you linux and mac guys you don't need them as it's supported already. You need to reboot your device into recovery (volume down + power select recovery once the sd card check completes). Once recovery starts you need to mount whatever you are trying to change. For instance if you want to work in the /system/etc directory you need to mount the /system partition. If you are for instance changing the boot animation which is in /data/local you will want to mount the /data partition.

So now that you are in clockword recovery (black screen green writing) use your volume buttons to navigate up and down, or your optical track ball. Once you get to the partition menu click your trackball button. Scroll down to the partition you want to mount and click your mouse ball again. Issue your commands with terminal. Once done unmount the partitions in the same way you mounted them. Hit the power button to go back menus and select reboot phone. (Or if you are still connect via terminal just issue an 'adb reboot' command.)

Hopefully this solved your issue.
 
Thanks for your help... maybe I'm doing something wrong though. I know I know how to follow directions and every time I get the same result. I'm not sure how to post a picture of my Terminal box so I will be as descriptive as possible as to what I am doing...

1. I plug by HTC Inc. (in USB debugging mode) into my Mac.
2. I put my Inc. in "Disk Drive" Mode
3. Both internal and sd card drives appear on the Desktop.
4. Using Quick Boot app on my Inc. I reboot to Recovery Mode.
5. At the Clockworkmod main menu select partitions menu, then select mount /system
6. On my Mac I open Terminal
7. "Terminal - Bash - 80x24" reads the heading of the box
"Last login: Sun Jul 18 17:44:43 on ttys000
iSeverson:~ Ryan$" displays inside the Terminal
8. I type "cd\sdk\tools"
9. Then this:
iSeverson:~ Ryan$ cd\sdk\tools
-bash: cdsdktools: command not found
iSeverson:~ Ryan$

This is what I am doing, this is why I'm stuck, this is why I think my Mac is not recognizing my device... what am I doing wrong?

Thanks again...
 
it worked for me when i did each command separately, ie:
cd desktop
cd sdk
cd tools
then ./adb shell and it should connect
all your steps before that seem good (except i always use charge only connect but idk if that affects things much)
 
Yes you can do them separately. But what you have done wrong is you need a space between the 'cd' and '/sdk/tools'.

It's not that you device isn't being recognized you just have a little mis-type of your command. Basically that command should say:

change directory(cd) to(space) yourSdk(/sdk)Tools(/tools)Folder

Instead you have it saying:

change(cd)directorytoyourSdk(/sdk)Tools(/tools)Folder

I hope I've made that clear enough to understand. You want your commands to be 'command' 'space' 'directory'.

As far as charge only affecting it, it won't because nothing you do on your phone will effect the state of the recovery console. So don't worry about settings in the phone while it's booted up.
 
Thank you guys so much for the feedback... I chose a different route however. I loaded a new ROM on to my device ([ROM][STOCK] pmf v1.2 |YASR|OTA| UPDATE: BUGFIXES AND OTA VERSION! - xda-developers) and will give it a spin until a full (w/camera) version of Froyo (w/sense) is out for the Incredible...

I've only had it loaded for the past 10 minutes or so, but I already love the updated YouTube widget, along with the lock screen and different alarm clock (sleep screen).

I will refer back to this though in the future... thanks again.
 
Um ok? LOL I'm sure you will be more than happy with pmf, I've been using it on and off since version 1 and everyday since 1.1 and I love it!