Okay, so what program can I use to type commands into my captivate?
Or can I type commands directly into my captivate.
Someone posted that If I don't know then I shoudnt bother but if I never learn I will never become the genius dev I know I can be.
Sent from my SAMSUNG-SGH-I897 using XDA App
http://developer.android.com/sdk/index.html
Okay I've had the android sdk for a while but I can't figure out how to get to that part. I can't even get my phone screen to show up on my computer screen.
Thanks for the fast response.
Sent from my SAMSUNG-SGH-I897 using XDA App
logicrulez said:
Okay I've had the android sdk for a while but I can't figure out how to get to that part. I can't even get my phone screen to show up on my computer screen.
Thanks for the fast response.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Just use the adb tools.. Should be a folder called Tools containing adb.exe
Once you have it,
from command prompt go to the folder and then start typing commands to the phone, with the phone connected to PC using debug mode.
For instance > adb devices
It should show the device connected to the PC
Related
What is the simplest way to send commands to my phone (HTC Hero CDMA Sprint) through my computer (Mac OS)?
I haven't explored Android SDK yet. I rooted my phone through Terminal and bash_profile file. I'm interested in:
- how to push .apk's to the device
- how to install a recovery image if my phone can't reboot and there is not a recovery image present
Thanks!
Android sdk is the easiest
-------------------------------------
Sent via the XDA Tapatalk App
What I do is use terminal and cd to the Android sdk/tools folder. After that use the ./adb commands, which there are several tutorials for and own your phone. Hope this is clear, doing it on my phone
-------------------------------------
Sent via the XDA Tapatalk App
What I do is use terminal and cd to the Android sdk/tools folder. After that use the ./adb commands, which there are several tutorials for and own your phone. Hope this is clear, doing it on my phone
Click to expand...
Click to collapse
Sweet. Thanks. I've searched the Android SDK site and it seems that I need other software or plunging such as Eclipse and Java. I'm not ruling these out eventually but know I'm not ready to get in this deep yet to start developing apps or customizing roms. Also, after a Google search all the queries came back with options for rooting your device which I've already done. If there's a good easy tutorial, would you mind posting a link?
-------------------------------------
Sent via the XDA Tapatalk App
When I get home from work I'll find something for you.
-------------------------------------
Sent via the XDA Tapatalk App
joshuaharp said:
Sweet. Thanks. I've searched the Android SDK site and it seems that I need other software or plunging such as Eclipse and Java. I'm not ruling these out eventually but know I'm not ready to get in this deep yet to start developing apps or customizing roms. Also, after a Google search all the queries came back with options for rooting your device which I've already done. If there's a good easy tutorial, would you mind posting a link?
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
Just download the 2.1 SDK, cd to Android/SDK/tools, and use ./adb, I think it can tell you some commands too.
I made an app to put my phone in recovery using ./adb so I wouldn't need to go through the trouble everytime, I just go to spotlight, type "recovery", and it puts it into recovery.
I might make an app/interface for Mac OS later for ADB commands (recovery, push files, etc)
derekwilkinson said:
Just download the 2.1 SDK, cd to Android/SDK/tools, and use ./adb, I think it can tell you some commands too.
I made an app to put my phone in recovery using ./adb so I wouldn't need to go through the trouble everytime, I just go to spotlight, type "recovery", and it puts it into recovery.
I might make an app/interface for Mac OS later for ADB commands (recovery, push files, etc)
Click to expand...
Click to collapse
That would be awesome dude...
joshuaharp said:
That would be awesome dude...
Click to expand...
Click to collapse
Don't hold your breath though, I have been working a lot, but I might make it in the next few weeks.
The only main problem is that I'm having trouble getting variables to run in the shell script. I think it might be possible with Automator (or AppleScript), but I will keep trying
Well, even though it may not be useful anymore, here are the links, as promised
Rooting guide for mac (What I used and a great way to get familiar with adb on the mac ) http://forum.xda-developers.com/showthread.php?t=581686
And here's an adb tutorial that was put together at the request of toast on the EVO 4G forum. http://forum.xda-developers.com/showthread.php?t=694250
So I downloaded the gingerbread sdk. I actually did the upgrade from 2.2.
Anyway, now I can't use adb.
When I enter:
Code:
adb devices
I get this error: 'adb' is not recognized as an internal or external command
Anyone know where I screwed up?
It's in a different folder.
Yes its in platform-tools now.
Sent from my Nexus One using XDA App
+1 Guys.
I found it thanks.
What is it ? ADB Shell . is it CMD command on Windows or what ?
muslimbaha said:
What is it ? ADB Shell . is it CMD command on Windows or what ?
Click to expand...
Click to collapse
https://developer.android.com/tools/help/adb.html
It's Android Debug Bridge. Basically, it's a command line interface from your PC to your phone. Think of a terminal emulator that you run on the phone itself. ADB is pretty much the same, but from a PC. It is part of Android SDK. You can also find it included in many installation packages posted here on XDA, e.g. CWM recovery. There is an executable and a couple of DLLs.
P.S.: TrymHansen beat me to it...
kt-Froggy said:
It's Android Debug Bridge. Basically, it's a command line interface from your PC to your phone. Think of a terminal emulator that you run on the phone itself. ADB is pretty much the same, but from a PC. It is part of Android SDK. You can also find it included in many installation packages posted here on XDA, e.g. CWM recovery. There is an executable and a couple of DLLs.
P.S.: TrymHansen beat me to it...
Click to expand...
Click to collapse
Sorry, but i know what it is now, how do i run it though? im trying to follow the htc desire hd guide to root my phone, which everything is done up until the point i have to test that i have root in debug mode. Not sure how to do this? run abd.exe? it just showed me a cmd window which runs and then dissapears.
If you got your phone rooted or want to test it run adb.exe shell the type su and hit enter. If the prompt change from $ to # you have root access
Sent from my LG-P990 using xda app-developers app
bitdomo said:
If you got your phone rooted or want to test it run adb.exe shell the type su and hit enter. If the prompt change from $ to # you have root access
Sent from my LG-P990 using xda app-developers app
Click to expand...
Click to collapse
What is likely to be the problem if it says SU permission denied?
If you are on stock, that means that you have no root access. If you have cm10 or cm10.1 you have to enable adb root access somewhere in the settings. I am sorry but I can not tell you at the moment where to enable it because I am on stock right now.
Sent from my LG-P990 using xda app-developers app
kt-Froggy said:
It's Android Debug Bridge. Basically, it's a command line interface from your PC to your phone. Think of a terminal emulator that you run on the phone itself. ADB is pretty much the same, but from a PC. It is part of Android SDK. You can also find it included in many installation packages posted here on XDA, e.g. CWM recovery. There is an executable and a couple of DLLs.
P.S.: TrymHansen beat me to it...
Click to expand...
Click to collapse
Thanks Bro for this information
Hi everyone, unfortunatly i broke my screen, my phone was rooted and i was using CM7
i would like to recover my files, but due to the my broken screen i can't see anything so i can't mount usb storage,
I also heard that if i activate usb debugging mode i can acces my files easily.. but debugging mode wasn't activated..
and finally I heard that through Recovery Mode, i can mount usb storage, but once again i cannot see or do anything ..
so can you help me please ?
thanks a lot for your help, and thanks to everyone on this forum for their help and their roms etc !
AW: [Q] Broken Screen..
Search on google for a pic from the the right recovery version then you navigate blind witch the picture.
If this dont work you can force the into recovery mode and plug it to the PC. You can save your data using adb without enabling usb debugging
Sent from my GT-I9300 using xda app-developers app
i think that differ on alternate versions of CWM
on my phone:
6x volume down, power, 2x volume up, power. but i'm running cwm6x so don't know if it works
KUN1 said:
Search on google for a pic from the the right recovery version then you navigate blind witch the picture.
If this dont work you can force the into recovery mode and plug it to the PC. You can save your data using adb without enabling usb debugging
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
kronos111 said:
i think that differ on alternate versions of CWM
on my phone:
6x volume down, power, 2x volume up, power. but i'm running cwm6x so don't know if it works
Click to expand...
Click to collapse
Hi thanks a lot for your answers, i think i was on cwm 3.0, i found some screenshot, and yes it's the same, thanks i will try it !
how can i save my data with adb without enabling usb debugging ?
thanks a lot !
AW: [Q] Broken Screen..
Go into recovery and plug it to the pc. Open cmd and navigate to your adb folder. Then type "adb devices" you should now see your phone listed as some random numbers. If not you did something wrong.
If you see your device type this "adb pull /sdcard C:\…" and the whole sd should be copied to the directory.
Sent from my GT-I9300 using xda app-developers app
KUN1 said:
Go into recovery and plug it to the pc. Open cmd and navigate to your adb folder. Then type "adb devices" you should now see your phone listed as some random numbers. If not you did something wrong.
If you see your device type this "adb pull /sdcard C:\…" and the whole sd should be copied to the directory.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
thanks a lot !! with this method can i also save my contacts, notes etc ? thank you so much !!
AW: [Q] Broken Screen..
The contacts are normally saved with your gmail account.
With this command you push your whole sd to the pc but i think if you want also the app data you have to use another command and you need root.
Sent from my GT-I9300 using xda app-developers app
KUN1 said:
The contacts are normally saved with your gmail account.
With this command you push your whole sd to the pc but i think if you want also the app data you have to use another command and you need root.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
thanks a lot, i dont think my contacted were synced.. i will check that too
i'm root so i'll search for that feature,
i dont have my phone untill a week, so i'll test and i'll tell you !
thanks a lot for all your helps !
thanks a lot, i finally could save all my files and reset my phone
i started the phone in recovery mode, i connected it to pc with adb drivers, but i wasn't able to copy or mount anything, i installed android commander software, so i was able to have screenshot from my phone while browsing the recovery, i mounted usb storage, i copied all my files
then i wiped the phone
and i checked if everything was deleted with androidscreencast, i was able to see my phone's screen live, and with the mouse i could browse my phone ( the touchscreen didn't work too )
thanks a lot for your help !
I'm attempting to flash android M on my nexus 6. I've installed the proper drivers from google, after checking in device manager it says the proper drivers are installed. When I enter "adb devices" into the terminal nothing shows up in the list. I've searched through forums and tried the universal adb installer which isn't compatible with Windows8x64, so I used the 15 second installer which worked but didn't change the result. Am I doing anything wrong?
Sent from my Nexus 6 using Tapatalk
semenick96 said:
I'm attempting to flash android M on my nexus 6. I've installed the proper drivers from google, after checking in device manager it says the proper drivers are installed. When I enter "adb devices" into the terminal nothing shows up in the list. I've searched through forums and tried the universal adb installer which isn't compatible with Windows8x64, so I used the 15 second installer which worked but didn't change the result. Am I doing anything wrong?
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
Are you using the usb cable that came with your phone? That's the only one that will allow my PC to recognize my N6.
Yes I am
Sent from my Nexus 6 using Tapatalk
I use wug's toolkit which includes easy setup for adb and has worked with both Windows 7 and Windows 10. You might try that.
Otherwise, you didn't say whether your device is recognized by the computer when you plug it in. Windows should recognize and try to install drivers for the device automatically when plugged in via USB. If it's not, there's probably something wrong with the cord you're using. If it is recognized, then it might be the drivers of you might not have debugging enabled on your phone.
Sent from my Nexus 6 using XDA Free mobile app
The computer recognizes the phone and USB debugging is enabled
Sent from my Nexus 6 using Tapatalk
Forget about adb since you don't use it for flashing anyway. Boot into the bootloader.and type "fastboot devices". That's all that matters. Check drivers and device manager in bootloader too.
Uninstall the device if you have to and set up as per my thread.. Nexus 6 general > sticky roll-up thread > adb and fastboot.
danarama said:
Forget about adb since you don't use it for flashing anyway. Boot into the bootloader.and type "fastboot devices". That's all that matters. Check drivers and device manager in bootloader too.
Uninstall the device if you have to and set up as per my thread.. Nexus 6 general > sticky roll-up thread > adb and fastboot.
Click to expand...
Click to collapse
I followed your guide and restarted my windows 8 computer accordingly. When I open the command window and type "fastboot devices" it says that is not recognized as an internal or external command, operable program or batch file
Sent from my Nexus 6 using Tapatalk
semenick96 said:
I followed your guide and restarted my windows 8 computer accordingly. When I open the command window and type "fastboot devices" it says that is not recognized as an internal or external command, operable program or batch file
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
That means you didn't do the environment variables correctly or it didn't take after the reboot.
Confirm the location you have fastboot in is the location in environment variables.
danarama said:
That means you didn't do the environment variables correctly or it didn't take after the reboot.
Confirm the location you have fastboot in is the location in environment variables.
Click to expand...
Click to collapse
How do I check the location of fastboot?
Sent from my Nexus 6 using Tapatalk
semenick96 said:
How do I check the location of fastboot?
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
What part of my thread did you follow? How did you put fastboot on your.computer?
danarama said:
What part of my thread did you follow? How did you put fastboot on your.computer?
Click to expand...
Click to collapse
Is that the platform-tools? I'm sorry if these are stupid questions! I'm still learning aha
Sent from my Nexus 6 using Tapatalk
semenick96 said:
Is that the platform-tools? I'm sorry if these are stupid questions! I'm still learning aha
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
Yes, if you followed my thread and installed the sdk, the fastboot.exe should be in there. The full path is mentioned in my thread. Go.and check that and if it is, go onto the next step about environment variables.. Remember, the variable must be the location of fastboot and MUST start with ;
To be honest, I cheat and simply drop adb and fastboot into c:\windows\system32 as that is already and environment variable.
danarama said:
Yes, if you followed my thread and installed the sdk, the fastboot.exe should be in there. The full path is mentioned in my thread. Go.and check that and if it is, go onto the next step about environment variables.. Remember, the variable must be the location of fastboot and MUST start with ;
To be honest, I cheat and simply drop adb and fastboot into c:\windows\system32 as that is already and environment variable.
Click to expand...
Click to collapse
I redid all of the steps, but my computer is taking a long time to do the restart. Is that normal?
Sent from my Nexus 6 using Tapatalk
semenick96 said:
I redid all of the steps, but my computer is taking a long time to do the restart. Is that normal?
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
No.
danarama said:
No.
Click to expand...
Click to collapse
Alright, I'll look into it. Thanks for all the help!
Sent from my Nexus 6 using Tapatalk