I can't connect to adb for my watch. I know ADB works because I plug in my Note 4 and it works just fine. Are there any tips to help?
Thanks
For your gear with Tizen you should use sdb from the Samsung sdk.
Yep, you need to use sdb.
Ok. How do you do that? All I have is a sdb.exe but that only runs for a second. Do I still need to do it via the command line? Is there a how to?
mroien said:
Ok. How do you do that? All I have is a sdb.exe but that only runs for a second. Do I still need to do it via the command line? Is there a how to?
Click to expand...
Click to collapse
Yep. First you must find and download the Tizen Wearable SDK. Forgot the link so you will have to google it. Install that. When you are done installing it search for your Command prompt and run it as an Administrator. ( Right click on the CMD icon after you search for it and select run as Administrator ) Make sure that you have debugging ON on your Gear.
then type these. Old school commands. LOL!
" cd\
cd tizen-wearables-sdk
cd tools
now type sdb devices
If you have debugging on it will detect your Gear 2
now type sdb root on
Now type sdb shell
Click to expand...
Click to collapse
Now you are in the SDB Shell.
Hope that helps.
Related
Says my phone is connected fine and everything, but when I click on install (android central sideloader app) I get this:
adb is not recognized as an internal or external command, operable program or batch file.
How do I fix this?
download sdk from google place the apk in the tools folder shift+right click on tools open command prompt.
adb devices (make sure your phone is connected with charge only and debugging on)
adb remount
adb push ./(apk name) (space)/system/app
mudknot2005 said:
download sdk from google place the apk in the tools folder shift+right click on tools open command prompt.
adb devices (make sure your phone is connected with charge only and debugging on)
adb remount
adb push ./(apk name) (space)/system/app
Click to expand...
Click to collapse
Can you put that in noob wording? lol
brian85 said:
Can you put that in noob wording? lol
Click to expand...
Click to collapse
Download Android SDK from here: http://developer.android.com/sdk/index.html
Extract it
Find Tools Folder in SDK Directory - copy/paste apk file in this folder.
click tools folder - press shift + Right to open command prompt
in command prompt type: adb devices then enter (this will make sure your phone is recognized and in the right state so you can continue)
in command prompt type: adb remount then enter (for lack of better terms...this prepares your phone)
in command prompt type: adb push ./(apk name) (space)/system/app then enter (this will transfer the apk to your phone.)
Ok I think that's right...I'm still learning adb and all involved. If I'm wrong, one of you more experienced guys correct me.
the phone also needs to be in charge only and go to settings>applications>debugging, debugging will have to be on.
mudknot2005 said:
the phone also needs to be in charge only and go to settings>applications>debugging, debugging will have to be on.
Click to expand...
Click to collapse
Already did that.
brian85 said:
Says my phone is connected fine and everything, but when I click on install (android central sideloader app) I get this:
adb is not recognized as an internal or external command, operable program or batch file.
Click to expand...
Click to collapse
let me guess: Is the Ac_SWM folder on your desktop?
It needs to be in the root directory of your C: drive since the batch files are looking there.
In other words, it needs to be c:\AC_SWM, not "c:\documents and settings\<yourname>\desktop\ac_swm"
Hello iam using windows vista and xp and I had the same.problems on both. I downloaded the ADB program which gave me 5 seperate files. and downloaded thedrivers for my moto Atrix. But I was told not to run the adb.exe but to look for a run command line prompt. Where and how do I find this. And where do I go to run the commands?
Sent from my MB860 using XDA App
RPK925 said:
Hello iam using windows vista and xp and I had the same.problems on both. I downloaded the ADB program which gave me 5 seperate files. and downloaded thedrivers for my moto Atrix. But I was told not to run the adb.exe but to look for a run command line prompt. Where and how do I find this. And where do I go to run the commands?
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
Hey
press the start button (bottom left), on start menu you should see "run" with a small icon looks like a dialogue box (might be below search), press this. in the dialogue pop up type CMD.
Tho you will prob need to set up Environment Variables before you can use ADB.
kam333 said:
Hey
press the start button (bottom left), on start menu you should see "run" with a small icon looks like a dialogue box (might be below search), press this. in the dialogue pop up type CMD.
Tho you will prob need to set up Environment Variables before you can use ADB.
Click to expand...
Click to collapse
Then you have to go to folder where "adb.exe" is...
For example if you have it in "c:\adb_folder" you have to type "cd adb_folder".......
Then your command line will be like this → C:\adb_folder>
Then, if you want to test if your device is connected properly you have to type "adb devices" and you will see your device listed....
If not, there is a problem.....
(don't forget to enable "USB debugging" at your phone through Applications→Development)
I
pigeonaras said:
Then you have to where "adb.exe" is...
For example if you have it in "c:\adb_folder" you have to type "cd adb_folder".......
Then your command line line will be like this → C:\adb_folder>
Then, if you want to test if your device is connected properly you have to type "adb devices" and you will see your device listed....
If not, there is a problem.....
(don't forget to enable "USB debugging" at your phone through Applications→Development)
Click to expand...
Click to collapse
I was.able.to open up the command.prompt, but when I run adb devices it just says "adb is not a recgonized as an internal or external....." . It is.like its not connecting for somereason ? Iam a complete noon so any help would be great. Thanks
Sent from my MB860 using XDA App
pigeonaras said:
(don't forget to enable "USB debugging" at your phone through Applications→Development)
Click to expand...
Click to collapse
Have you done this .....??????
RPK925 said:
I
I was.able.to open up the command.prompt, but when I run adb devices it just says "adb is not a recgonized as an internal or external....." . It is.like its not connecting for somereason ? Iam a complete noon so any help would be great. Thanks
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
Before you can use adb command, you have to direct the terminal to the location of the folder where adb is located.
If the location of the file adb is at C:\\windows\androidsdktools\tools\adb
In your terminal type
cd \
Press enter, then type,
cd windows\androidsdktools\tools
Now the terminal should be in the folder where adb is located.
adb devices
A better way in my opinion to use adb is to set the path so it is usable from anywhere, simple easy and no need to always cd the path
directly quoted from dreamsforgotten's tutorial on theming for the epic
http://forum.xda-developers.com/showthread.php?t=821638
"On Windows, right-click on My Computer, and select Properties. Under the Advanced tab, hit the Environment Variables button, and in the dialog that comes up, double-click on Path (under System Variables). Add the full path to the tools/ directory to the path."
Click to expand...
Click to collapse
tmspyder said:
A better way in my opinion to use adb is to set the path so it is usable from anywhere, simple easy and no need to always cd the path
directly quoted from dreamsforgotten's tutorial on theming for the epic
http://forum.xda-developers.com/showthread.php?t=821638
Click to expand...
Click to collapse
This Works!
install adb driver first£¬turn your phone in ¡°charge only mode¡±£¬then find the adb floder£¬hold ¡°shift¡±and right click the floder.choose ¡°run in cmd line mode¡±£¬yeah£¬you done it
Description
After always having to search for the latest versions of Android's ADB and Fastboot tools instead of downloading the whole Android SDK for just 1 mb in a few files, I decided to make my own MSI installer using the latest versions of ADB and Fastboot.
You can install it wherever you want and it will work from any path in the command prompt. The installer will append the installation folder location to the system PATH variable, allowing you to run ADB or Fastboot without you having to change the command prompt path to where they are installed.
This installer is 32-bit and 64-bit compatible.
Usage
The default installation path is C:\ADB so you can easily add your flashable files in there.
After installing Android ADB Fastboot you can open a command prompt and type adb or fastboot commands right away, you don't need to change paths. Keep in mind that you need admin privileges, though.
To open a command prompt with administrator rights on Windows 8, just right click on the bottom left corner of the screen or use the Win+X shortcut and then click on Command Prompt (Admin).
Click to expand...
Click to collapse
If you have Windows 7 or Vista, the quickest way to do it is to type CMD on the Start Menu search box and press Ctrl+Shift+Enter instead of just pressing Enter.
Click to expand...
Click to collapse
Requisites
You need to have ADB Debugging under Developer Options on your device. You also need the drivers for every device you want to use with ADB installed and working.
You can type adb devices on a command prompt. If your device is listed, the drivers are working and good to go for ADB and Fastboot use.
Click to expand...
Click to collapse
Download
I will always check the ADB version whenever a new Android SDK is released and I will update my installer when needed.
The download link and screenshots are on my website.
http://rubenalamina.mx/custom-installers/android-adb-fastboot/
Latest version of the installer: 1.5 (ADB 1.0.36) updated on 2016.09.21
Thanks mate, it really help people with lacks internet connection like mine
Sent from my WT19i using xda app-developers app
Installer updated to version 1.2 with the new ADB and Fastboot included in Android SDK 23.0.2.
Installer updated to version 1.3 based on the Android SDK 24.0.2.
no matter what i do it stills says ABD is not reconizedf as an internal or external command. i even downloaded the whole stinking dev kit to make sure nothing missing in these little installers. made sure that a path was put still dose NOT work :/. and yes im running cmd prompt as adminastrator.
Nightmare-Rex420 said:
no matter what i do it stills says ABD is not reconizedf as an internal or external command. i even downloaded the whole stinking dev kit to make sure nothing missing in these little installers. made sure that a path was put still dose NOT work :/. and yes im running cmd prompt as adminastrator.
Click to expand...
Click to collapse
Have you tried running it from the C:\ADB path just in case? Maybe try PowerShell instead of the command prompt. I don't really know what else you can try if even the SDK is not working for you.
ajua said:
Have you tried running it from the C:\ADB path just in case? Maybe try PowerShell instead of the command prompt. I don't really know what else you can try if even the SDK is not working for you.
Click to expand...
Click to collapse
yes ive been trying both Shift open command prompt here, and aslso left click run as adminastrator and CD c:/abd both still says abd not reconized.
Nightmare-Rex420 said:
yes ive been trying both Shift open command prompt here, and aslso left click run as adminastrator and CD c:/abd both still says abd not reconized.
Click to expand...
Click to collapse
Try using PowerShell. Also, see if you are able to run the ADB that comes with the SDK but run it from the folder where it is located.
I have found this in another thread, but couldn't resist to also tell it here.
Thanks to @kakocr2000 for the tutorial
Original post here : http://forum.xda-developers.com/android-wear/development/tutorial-android-wear-2-phones-ios-t3263546
Hi,
I uploaded this tutorial for you guys. And yes, it's supposed to work with iOS and Android! So, before I start I want to credit @moneytoo for his tutorial to Reset Wear Client and to the creator of Beelink. Let's start!
1) Install ADB on your computer
2) Enable USB Debugging on both, the watch and the phone
3) Download on your computer this APK: http://www.mediafire.com/download/dc...ps.beelink.apk
4) Install the APK of BeeLink on your watch through ADB. It's done using the following tutorial: http://corbindavenport.com/?p=167
5) Now you should have the app on your phone. The following steps are easy:
Watch is connected with phone A so turn off Bluetooth on this phone.
Execute following command (with Wear connected and ADB enabled - doesn't require root). Code:
adb shell "pm clear com.google.android.gms && reboot"
7) Power on Bluetooth on phone B.
Depending whatever devices were paired previously, confirm pairing code or initiate new pairing using following command (thanks @matejdro) or also use the wear app for that. Code:
adb shell "am start -a android.bluetooth.adapter.action.REQUEST_DISCOVERA BLE"
Click to expand...
Click to collapse
I am working with the wear OS sample watch faces. I can get them to run on the emulator but I can't seem to connect my watch 4 to run them on the watch. From my research I think it could be an issue with "abd" and doing something in the terminal but I've been unsuccessful. Another thing I noticed and I'm not sure if it's relevant, is that when I connect my phone with USB there is a caution symbol next to it that says warning missing watch. But I'm not sure if that's relevant. Can someone assist with connecting the watch 4? Any help is appreciated.
What happens when you try to connect with adb with the command line? Have you turned on adb debugging and wifi debugging in the developer options?
I have adb debugging on and debugging over wifi on with both phone and watch. But I don't know how to connect with abd in the command line. Can you explain the command?
Check the IP address of the watch, then type:
Code:
adb connect IP_ADDRESS
Then check your watch to accept the connection. Scroll down to allow permanent permission if you prefer.
You know this Video?
Maybe it helps...
Best Regards
Thank you both, I feel like I am doing something wrong with the abd command. Maybe the original file path is wrong, I am attaching a screen shot. How do I change that if that is the case? Sorry I am not a coder but I want to learn.
Mike2601 said:
Thank you both, I feel like I am doing something wrong with the abd command. Maybe the original file path is wrong, I am attaching a screen shot. How do I change that if that is the case? Sorry I am not a coder but I want to learn.
Click to expand...
Click to collapse
Make sure you have adb installed, then navigate to it's folder and run it from there. For myself the path is:
C:\Users\MY_USERNAME\AppData\Local\Android\android-sdk\platform-tools
Outch this makes pain in my eyes... I can not read...
A
ADB
B
Easier if short readable and knowable path to ADB...
Example...
I have my ADB files in
Code:
Android/ADB
For you maybe better to copy ADB files into C... ADB folder...
Code:
C:\adb
Best Regards
adfree said:
Outch this makes pain in my eyes... I can not read...
A
ADB
B
Easier if short readable and knowable path to ADB...
Example...
I have my ADB files in
Code:
Android/ADB
For you maybe better to copy ADB files into C... ADB folder...
Code:
C:\adb
Best Regards
Click to expand...
Click to collapse
Agreed. I was having issues with it installed in a location other than the default, so I just made a shortcut to the folder so it doesn't have to be typed out every time.
Ok I have it connected with the adb command, thank you for being so patient. But for some reason it times out and never loads onto the watch when I run the app. It says it loads and I press and hold the screen to look for a new face loaded but nothing new is there. I have attached a screen shot where it then shows it timed out.
I am also attaching a screen shot of getting it to load onto the emulator, I just did that now after it timed out trying the watch.
ADB command is under CMD(run as admin) in windows. Before connect comand line you have to navigate to folder wher is adb program. Both pc and watch have to be on same local network. On the watch go to con exion menu and chech always connect to your wireless network. From this menu you get local ip and adress and use it in adb connect comand line.
Hi ,
i made a batch file to connect the watch..
Put it in the adb program directory, just change the IP address with port number (192.......: port number). Run it as administrator. Look at the watch to accept. Then the watch is enable in Watchface studio.