Using adb and terminal on a mac
This is a discussion on Using adb and terminal on a mac within the Droid Hacks forums, part of the Droid Hacking category; Ok, before I say anything I've been reading the other posts about this all morning and most of yesterday. That being said I'm either a ...
-
Using adb and terminal on a mac
Ok, before I say anything I've been reading the other posts about this all morning and most of yesterday. That being said I'm either a complete idiot or am missing something somewhere. Basically I'm really wanting to put these custom boot animations on my phone and do some other things but for some reason I can't seem to make that happen. I was able to root and install 2.1 on it so I'm not understanding why I'm having such issues.
I'm running a mac and don't know if that makes much of a difference. I've dl the sdk. I've gotten the bootanimation.zip. My debug menus are checked. I open terminal and try to run the commands but it keeps saying "command not found". I try to type the devices command to see if the phone is being registered and get the same response.
I really want to learn more about how to do things using terminal, adb, and playing around with other aspects of the phone and this site has been loads of help. That along with looking up stuff outside of here.
Anyway, if somebody could help me out without being too judgemental I would greatly appreciate it a lot. Thanks again everybody
-
-
You have to run the commands from the directory they are in and you will need to put a "./" in front of them. The other choice is to add the directory to your terminals PATH variable as instructed here.
-
ok, ill try that other way, I wasn't really sure about that. What does it mean to "cd" something? I noticed in another thread thats how to start. I put that in and it goes from this c-71-207-180-253:~ Parks1$ to thisc-71-207-180-253:tools Parks1$. Does that mean anything in particular?
-
Yes, it will display the current directory you're in before the $ sign. ~ means your home directory, or /Macintosh HD/Users/username/
cd = change directory
You have to change directory into the directory that adb is stored in, in order for Terminal to find the adb executable. Say you have adb in /Macintosh HD/Users/username/Android/tools/adb
You need to use "cd /Macintosh\ HD/Users/username/Android/tools/"
Then you will be able to use adb.
-
alright, as it is the sdk folder is on my desktop. So should I type this ( cd /Users/Username/Desktop\android-sdk-mac_86/tools) instead of what I have been using with all forward slashes or am i misunderstanding? When I use all forward slashes it seems like it changes the directory which is what im assuming it means by saying :tools username$ right? Sorry if I'm not picking up so fast I'm just trying to really get a grasp of this whole concept and what everything means ya know
-
No, you only need to use \ if you're either on Windows, or there's a space in the folder name, in which the \ needs to go before the space. Otherwise, you use / so it would be "cd /Users/Desktop/android-sdk-mac_86/tools/"
-
ok, got it, i was just confused cause I saw the backslash in between Mac and HD. So I'm doing that right then I'm guessing? The adb file is in the tools folder, so to run that what do I do? This is where i seem to get hung up because it always says directory not found or invalid command.
-
thanx for taking the time to explain all this stuff to me too btw. just in case i forget to say so later
-
Once you're in the directory "tools" you can run "ls" to list the files in there, if you see adb, you can run ./adb shell or ./adb install, etc. (you need the ./)
-
awesome, i will definitely try that when i get home from work tonight. Is there anything else I should keep an eye out for in particular or other advice? What happens if adb isn't in there or nothing shows up at all?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Similar Threads
-
By yogijen in forum Droid Applications
Replies: 6
Last Post: 01-13-2010, 08:52 PM
-
By Bear in NM in forum Droid Hacks
Replies: 8
Last Post: 12-28-2009, 08:38 AM
-
By Flowah in forum Droid Hacks
Replies: 8
Last Post: 12-15-2009, 03:47 AM
Search tags for this page
adb command not found
,
adb command not found mac
,
adb droid mac
,
adb mac terminal
,
adb not found mac
,
adb push mac
,
adb terminal
,
adb terminal mac
,
adb: command not found
,
adb: command not found mac
,
droid adb mac
,
how to run adb mac
,
how to run adb on mac
,
mac adb command not found
,
run adb mac
,
run adb on mac
,
running adb on mac
,
use adb on mac
,
using adb mac
,
using adb on mac
Click on a term to search our site for related topics.