Adb shell - Galaxy 3 General

Hi i know that this question is stupid for u guys here.im woundering where do i get tha adb program(u know like a terminal emulator app).please help i need it for instaling an modified framework.sory for bad english and stupid question
My first android phone so im noob at this tings

Do i need to instal ssh droid from market?
Sent from my GT-I5800

anyone here to giv us a tutorial on adb??
thnx in adv

adb is a part of the Android SDK. Installation is described at "Installing the SDK (devloper.android.com)".

After downloading and installing the SDK (let it download the packages too), open command prompt
In vista\7: Press start -> type cmd to the search box
In XP: Press start and click on 'run' and then type cmd there
Then you must cd.. to the directory where adb is installed (which is usually C:\Program Files\android\android-sdk-windows\platform-tools\
Once your command prompt is there, you can use the adb commands. If it says Adb is not a recognizable command then you're most likely in the wrong directory.
cd.. goes backwards a directory
cd goes forwards
For example, the command prompt shows C:\users\administrator, if you type cd.. it goes to C:\users, you type it again it goes to C:\ etc..
Once there, you type cd program files -> cd android -> cd android-sdk-windows -> cd platform-tools and there you are
More info on how to use command prompt: http://dosprompt.info/
edit: sorry for being stupid. Of course you can do straight cd c:\program files\android\android-sdk-windows\platform-tools

Related

root Tattoo with Mac

Hey Boys and Girls,
where i can find an manual to root the tattoo with a mac?
sorry, i have search for this, but i cant find information for this
I don't thing that there is a difference.
As soon as you have SDK installed and adb works, the commands are the same.
hi,
i'm also doing all the rooting process from mac, just put the directory contain 'adb' shell into your home/user places and executing it with 'terminal'..
Same here, using a Mac ever since and also using it for Android development. Due to the underlying Unix core of OS X you just have to follow the steps as described for Linux. If it's just adb commands it's the same on every platform anyway.
You might want to add a
Code:
export PATH=${PATH}:/Users/yourusername/android.sdk/tools
to your .bash_profile file in your home folder so you don't have to cd to the SDK tools folder everytime. Happy rooting!
Mod. edit: not dev related, moved to general
Okay thanks for yours answers but i'm a newbie.
the background story is, I want to edit the boot.mp3. Because the startsound is really annoying
So i have download SDK, open the terminal and switch to usb-debbugging mode on my tattoo.
And now? sorry, I'm still missing a few knowledge
thanks for your help
well just use the various adb commands in Terminal Just type in "adb", press enter and you'll get a list of all possible commands. Assuming you've added the path to your sdk tools folder to your bash profile. Otherwise just drag & drop the adb binary from the tools folder onto your Terminal window, et voila.
The most used commands are probably push and pull where you can, well, push stuff to your phone or pull it to your computer.
So if you want to modify the boot.mp3 you would pull the original from the phone to your computer, modify it and push it back, overwriting the original file. In Terminal speak: ;-)
adb pull /system/media/bootscreen/boot.mp3
adb push /path/to/boot.mp3 /system/media/bootscreen/boot.mp3
Please note depending on the ROM you're using the paths may be different. To browse the device via Terminal type in "adb shell" and make a simple "ls" to list the directories, "cd" to change directories etc.
Or if you just want to use another mp3:
adb push /path/to/whatever.mp3 /system/media/bootscreen/boot.mp3
Again, on the Mac you can just drag & drop files onto the Terminal to get their full Unix paths like to your custom mp3
Thanks a lot. i love it its really simple
and now i have load and edit the the boot.mp3. But i can't push it to my tattoo, because i can only read but not write
I have tried to root my phone with "adb root" but it is the message "adbd cannot run as root in production builds"
Terminal: "adb remount", then push again
damn the next bad message "remount failed: Operation not permitted"
You need to root your phone first.
http://forum.xda-developers.com/showthread.php?t=637927
Okay i have executed the instructions. But I've stop at this part:
You should get something like this:
Code:
# id
uid=0(root) gid=1000(shell) groups=1003(graphics),1004(input),1007(log),1011(adb),1015(sdcard_rw),3001(net_bt_admin),3002(net_bt),3003(inet)
uid=0(root) is important.
Click to expand...
Click to collapse
Yes i've root but i'cant download the "su binary" because its doesnt exist.
But its absolute essential to need the "su binary" to only copy the boot.mp3 to my phone? Or there is an other way? What are the commands to push the boot.mp3 back to may tattoo then i'm in the root mode like >> "#".
okay hope you understand me
You need "su" to do root stuff... no other way.
Download the package from 1 click root thread and find "su" there...
http://forum.xda-developers.com/showthread.php?t=644279
now, i have install the su binary. Then i does this command
user:~ user$ /Users/user/android-sdk-mac_86/tools/adb shell
$ /data/local/bin/su
#
Click to expand...
Click to collapse
And now? Is there a comand to push the boot.mp3 back to the phone in this mode >> "#" ?
I have try to open an new terminal window and type
adb push /path/to/boot.mp3 /system/media/bootscreen/boot.mp3
Click to expand...
Click to collapse
but the answer is
failed to copy '/Users/android-sdk-mac_86/boot.mp3' to '/system/media/bootscreen/boot.mp3': Permission denied
Click to expand...
Click to collapse
and adb remount doesnt work to
You also need tattoo-hack.ko file and do insmod tattoo-hack.ko to make /system writable.
Or even better... flash custom amon_ra recovery image and then a custom rom with all this already included.
Mine for example http://forum.xda-developers.com/showthread.php?t=702401
It doesnt have boot sound enabled
Okay thank you very much.
now it was successful

[Q] stumped on ADB

figured it out thanks for all the help please delete......
my fear said:
ok i downloaded everything that this link tells me:
http://forum.xda-developers.com/showthread.php?t=532719
but when i put in
cd C:\android-sdk-windows\tools
it just stays in that folder i cant do anything past that. when i type adb shell it says 'adb' is not recognized as an internal or external command, operable program or batch file.
i just redid my computer from windows 7 32 bit to now i have 64 bit. am i missing something? when i had 32 bit i had it working but now nothing and i have all the same stuff as before. yes my phone has debugging checked.
any help is appreciated.
thanks,
Stephen.
Click to expand...
Click to collapse
if its saying adb is not a recognized command you are not in the tools folder.
Which directory are you in?
If you do a dir it should list all of the files in the current directory , do you see adb.exe ?
rsfaze said:
if its saying adb is not a recognized command you are not in the tools folder.
Which directory are you in?
If you do a dir it should list all of the files in the current directory , do you see adb.exe ?
Click to expand...
Click to collapse
ok when i start cmd the line says C:\users\Mr. Tarno>
then i put in cd C:\ android-sdk-windows\tools and then it is in that folder then i did what you said and typed dir and yes it shows adb.exe, its the top file.
when i type adb.exe it shows all the possible commands that i could type but when i try it says adb is not a recognized command.
my fear said:
ok when i start cmd the line says C:\users\Mr. Tarno>
then i put in cd C:\ android-sdk-windows\tools and then it is in that folder then i did what you said and typed dir and yes it shows adb.exe, its the top file.
when i type adb.exe it shows all the possible commands that i could type but when i try it says adb is not a recognized command.
Click to expand...
Click to collapse
That would be right.
I think you're trying to type adb -d shell for example instead of adb.exe -d shell. You would need to include the file extension as well when including commands to be done by ADB.

feeling like a serious noob today--ADB linux help

ok well i've been using adb for a while now via windows on our desktop, my laptop however runs ubuntu. but i've run into a problem.....I CAN'T OPEN ADB IN LINUX! using terminal i navigate to the proper location then i initiate adb shell but i get an error saying the command doesn't exist...what am i doing wrong?
tried ./adb ?
if you haven't added ADB to path it won't be recognized as a command, then you'd have to execute it using ./adb
Hi, adb
is located in <android-sdk-folder>/platform-tools folder. You could add it into your $PATH variable in .bashrc . Than it's ready to use from anywhere

(Q) how to find CID?

I followed the wiki.
ADB finds my device when cmd prompt
Adb devices.
It runs first part of the code.
But it then tells me fastboot is not a command.
I read a few other posts, but have found no answer to this problem.
Am guessing im missing something. Maybe someone could help me find out what?
Via HTC Desire Z
ADB and fastboot are in two folders of sdk. In command you need to direct to that folder. ADB is in "platform-tools" and fastboot in "tools"
Example, from my computer.
ADB - cd C:\android-sdk-windows\platform-tools
Fastboot - cd C:\android-sdk-windows\tools
From that you can use fastboot commands.

trouble with CDM

Hey, I just updated my PC to latest version so I can't open cdm. It asks to open PowerShell Command prompt, witch I can't use to flash images! I searched in Google how to disable it for ever, but no answer. Can anyone help me?
Just throw cmd to start menu and then use cd command to go to your adb directory
Vika__ said:
Just throw cmd to start menu and then use cd command to go to your adb directory
Click to expand...
Click to collapse
I tried that, and it can't find Fastboot or Adb other files it show!
RootingPro-18 said:
I tried that, and it can't find Fastboot or Adb other files it show!
Click to expand...
Click to collapse
Try adding ./ in front of adb command if you have folder specific adb
This should work on PowerShell
like this
Code:
./adb devices

Categories

Resources