HTC EVO 4G :: How To ADB Commands
Sep 28, 2010
Here's a little guide I put together for you to learn basic adb commands. I'm posting this thread assuming you already have your SDK set up. With that said, let's dive right in!
1. Turn on ADB
Go to Menu > Settings > Applications > Development > USB Debugging
2. Running ADB
Open up command prompt and type your way to the directory you have your SDK in.
Mine is in C:
So for example, mine would be: cd c:AndroidSDK/tools............................
View 5 Replies
Sep 10, 2010
I want to run adb commands like "adb install application.apk" or "adb uinstall application.apk" from my android application.
View 2 Replies
View Related
Jun 24, 2010
Does anyone know of a list of all the available Android *#*# keypad commands? e.g. *#*#4636#*#* opens up test mode. I tried a web search, and searching the forums, but searching for special characters like that, doesn't seem to work very well. Even tried escaping them with various combinations of quotes and backslashes, but no joy.
View 3 Replies
View Related
Oct 16, 2010
Very new to Android and Eclipse. All going well, pretty intuitive. One problem though, when advice is given to 'issue a command' to the emulator, where does one do that? I'm sure it's very straight forward, I just don't know where to do it.
View 1 Replies
View Related
Jul 20, 2010
One of the great features of the the 4th soft button is to hold it down to bring up the voice search prompt. A this prompt there are several commands that are extremely helpful, such as: "Navigate to <place>" opens Google Navigation and gives you directions to <place> "Call <contact> work/home/etc" will call that contact. (Is there a way to set a default so that you can just say "Call <contact>" and it automatically calls that person's cell/home/work?) "Locate.../Map of.../Find..." will all open and search google maps.
"Driections to <place>" will open google maps and give you directions to <place> "Look up <place/thing/etc>" will do a google search
View 3 Replies
View Related
Aug 8, 2010
Now that we have Bluetooth Dialing working, does anyone know of printed instructions anywhere? With WinMo 6.1, you could simply say "Help", and it would tell you a list of commands. does 2.2 only allow for voice dialing and nothing more?
View 1 Replies
View Related
May 29, 2014
how do I create an app to run commands on Linux?e.g.: a button named shutdown when pressed, shuts down a selected server.I was told to create an API but not sure how to go about it.
View 1 Replies
View Related
Feb 7, 2012
I have ConnectBot and right now I'm manually typing commands which I would like to run on my desktop machine remotely. I'd like to create an Android application with a user interface where I can just tap a button and had it run an associated command. I'm assuming I would need to continue doing this via SSH so is there a SSH library for Android which I can use to connect to my desktop?
View 7 Replies
View Related
May 14, 2012
I need to run a command on my android phone. It's actually a bash script I wrote and installed in /system/xbin/. I can open a terminal emulator and type the command, but would prefer having an icon to graphically run the command with a single tap.How can I add an icon to run a custom command?
View 1 Replies
View Related
May 4, 2014
i have root access, and full adb, but i cant get fast boot even with adb commands. i attempted to flash a faulty a20 tablet i had via sd install. and i obviously had a damaged flash, anyhow it wiped the tablet clean, the backlight still lights up. i can turn it on and off, and i can boot the boot loader.
is there anyway out of this, i want to install a recovery, but with no flashboot....
View 5 Replies
View Related
Oct 18, 2011
I want use adb commands turn off 3G.
View 2 Replies
View Related
Apr 10, 2012
Building an app that runs a ping command at the moment and I can't quite get it to work. If I modify the command to something that isn't a terminal command then it'll output my error statement but i can't get it to display the ping output. I know my outputs for my error are bad but it's an easy way to determine what path it's outputting.
package com.mycompany.myapp;
import android.app.*;
import android.os.*;
import android.view.*;
import android.widget.*;
[Code] ......
View 9 Replies
View Related
May 16, 2013
I'm trying to look for an app (APK) which logs all MMC card commands and arguments to a log file.
View 1 Replies
View Related
May 27, 2009
my question? Is it possible to use adb commands if device connected via Bluetooth?
View 9 Replies
View Related
May 24, 2010
I install the android SDK correctly and install all correct drivers, all correct files from the google repository, and reading on unlock, you need to type CMD and enter a few commands, the final one being ADB devices, which is meant to bring up your device serial/id but doesnt show nothing for me, i deleted all drivers with a program, and it re-installs them, I put the phone into debug mode too, but whatever i try, i cant root my magic (32B).
View 1 Replies
View Related
Sep 5, 2010
Can't find information on how to print out documentation on android shell commands while in the shell. Something along the lines of.
View 4 Replies
View Related
May 28, 2010
I am following the steps of this walkthrough. I have now completed parts two and 3 however during step 3 it asks to enter these in a command prompt.
adb shell mount -o rw,remount /dev/block/mtdblock3 /system
adb push recovery.img /sdcard
adb push flash_image /system/bin
adb shell chmod 755 /system/bin/flash_image
adb shell flash_image recovery /sdcard/recovery.img
After entering these I get a message saying
"flash_image": not found
At the end of step 3 is that what is supposed to happen? From this I gather that the partition has not been created. Is it safe to go on to step 4?
View 18 Replies
View Related
Feb 24, 2010
I am trying to use a USB GPRS (SIM5218A) modem in eclair, I am wondering how to send the AT commands to the modem. I saw some old emails here in the list showing how to use pppd with chat (exec /system/usr/bin/chat -v); Unfortunately I am unable to find chat in eclair. Is there a better way to perform this?
View 2 Replies
View Related
Sep 9, 2009
Does anyone know of any voice applications that will work on hero, where i can play music,i.e "play track" and it plays what you asked for, and the same for calling people,
View 4 Replies
View Related
Nov 30, 2009
When my app loads up I need to import a bunch of records into its database. How do I run the following sqlite3 command from my app?
View 13 Replies
View Related
Jun 22, 2010
Just wanted to start a quick FAQ for those users who havn't had a chance to toy around with the Linux console which is what the Android OS is based off of.
1. Commands like 'cat' 'mv' 'rm' are not working, why?
Chances are that these commands currently dont reside on your path, which is common when you start the phone in recovery mode. To remedy this, enter the following in your console
Quote:
View 5 Replies
View Related
Apr 2, 2013
I need to execute following command in my app.
command: echo "1" > /sys/manager0/enable
I tried this with following code in my app.
Process p = Runtime.getRuntime().exec("su");
DataOutputStream stdin = new DataOutputStream(p.getOutputStream());
String cmd = "echo "1" /sys/manager0/enable";
stdin.writeBytes(cmd+"
");
There is no error and app executed perfectly but there is no change in the /sys/manager0/enable
View 2 Replies
View Related
Nov 2, 2012
Basically I have been working on a Boot animation changer for the Nexus 7 and the program so far is coded in a C# form for windows.
I have coded everything fine up till now. I need to run a ADB command to push a file from my Program files x86 to the nexus 7 and write over the original Boot file.
But is there a simple and easy solution for writing this code? Or do I need to make a console application which does this process when started?
( I can push files manually via ADB, but the point is to make the tool " one click " If you get my drift.)
View 9 Replies
View Related
Jun 3, 2014
I want use adb commands to "integrate" the update into the system (google play, gmail etc...). I am not a root.
View 1 Replies
View Related
Jun 24, 2012
I would like to turn on my bluetooth from PC (via usb for now) using adb commands. until now I've found something like that:
HTML Code:
adb shell "am start -a android.bluetooth.adapter.action.REQUEST_ENABLE" This works good but it requires user to accept a dialog, and if the phone would be 2 meters away it wouldn't be convenient. I also found sth.like that:
HTML Code: adb shell am start -a android.bluetooth.adapter.action.STATE_CHANGED However it gives this error:
Original source is here: [URL]....
If You know how to make it work,
View 1 Replies
View Related
Aug 26, 2010
HTC Desire, Android 2.2, new Google Voice Search
Several commands - 'send text to', 'send mail to', 'note to self' and 'go to' - are missing. They are not parsed, and they do not appear in the Help list when voice search is launched.
Is this because I don't use the standard HTC message, mail and browser apps, by any chance? (But they are still on the phone, of course.)
I noticed that if I just speak a web search, it launches the HTC browser, whereas Dolphin is my dafault browser.
View 4 Replies
View Related
Aug 18, 2010
I need to get a file into my /system/app folder. I have the file in the tools folder of the SDK.
View 2 Replies
View Related
Jul 19, 2010
I use a headset with a microphone for Pandora. It has a media button on it that when pushed, will pause or play the Pandora app or accept a phone call in which case Pandora is paused. However, pushing the button with the X brings up the voice command window. Is there anyway to disable or remove this app altogether? If it can be removed, I want to be sure that this app is not associated with the talk to text feature, which I use and like. is there any way to disable or remove this application from the X?
View 2 Replies
View Related
Aug 22, 2010
i uninstalled voice commands with titanium back up and now my phone says it can't update to 2.2 because voice commands is missing. how can i get this back
View 4 Replies
View Related
Jun 5, 2010
I have a samsung moment that I seem to have inadverntantly disabled diagnostic usb access - if I have USB plugged in and then enable dial up networking in settings , USB disconnects - as soon as I disable DUN usb comes back up - I modified the setting in NV for scm from 3a to 2a and caused this, but I can't find a way to access non volatile memory any other way than through usb diagnostic mode
View 1 Replies
View Related