is my understanding of how adbwireless is supposed to work correct? - Android Apps and Games

is it supposed to connect my SD card to the computer over wifi so i can access it as if it was connected by USB? by access i mean opening it up like a drive in "My Computer"
because once i'm connected nothing shows up in "My Computer"...

i think u got it wrong..
run the app on your android mobile.
it will show you the port you have to connect to
then on your computer, navigate to your android/tools/ folder (via cmd)
type adb bla bla exactly written on your mobile
hope if helps

lagu805 said:
i think u got it wrong..
run the app on your android mobile.
it will show you the port you have to connect to
then on your computer, navigate to your android/tools/ folder (via cmd)
type adb bla bla exactly written on your mobile
hope if helps
Click to expand...
Click to collapse
i did all that. that's how i connected to my phone.
so with adbwireless, i can only transfer files through adb commands and not drag and drop?

tracerit said:
i did all that. that's how i connected to my phone.
so with adbwireless, i can only transfer files through adb commands and not drag and drop?
Click to expand...
Click to collapse
Exactly.
Sent from my HTC Desire using XDA App

I have android commander installed on my computer and it will let you drag and drop.. Used with adbwireless it's pretty handy. using a simple batch file makes it a two-click operation. one on the phone, and one click on the batch file, on my desktop.

Related

DDMS Screenshot Help

I've been trying to take some screenshots on my G1 for some time now but nothing seems to work. I followed the instructions on these two pages http://www.allshadow.com/forum/viewtopic.php?f=9&t=4739
http://soi.kd6.us/2008/11/06/so-i-took-a-screenshot-on-my-g1heres-the-howto/
But ddms won't launch. Every time I click on ddms in the android-sdk-windows-1.1_r1\tools folder a cmd prompt flashes and then nothing happens.
What am I doing wrong? Or is there something wrong with my phone?
Now windows didn't prompt me to install new hardware when I plugged in my phone so I had to open Control Panel | Administrative Tools | Computer Management | Device Manager, go down to Other Devices and choose the Android phone, then right click Properties, and choose Update Driver, then browse to the specific location.
Does that make a difference?
Also I'm running on windows vista on my computer and I'm running JFv1.42 on my G1
Any help would be greatly appreciated. Thanks :]
Instead of running the batch file, have you tried to run cmd prompt first? Goto Start > Run > type in 'cmd' and hit enter. Then type in ddms and hit enter.
It seems whatever is happening, it is throwing an error once you click the batch file, so at least instead of closing you can post the error message here then it'll be clearer as to what is happening.
I opened up the cmd prompt and typed in ddms and this is what I got:
" 'ddms' is not recognised as an internal or external command, operable program, or batch file"
Does that mean that its not installed properly?
And I forgot to mention in my original post, that none of the batch files in the tools folder launch when clicked on.
Sounds like you haven't installed the SDK properly, especially the step where you add the /tools directory in the system environments.
Try this though: Copy the ddms.bat file and put it in /system32/ folder on your pc, and then try to launch cmd and run again..see if that helps.
Thanks
I figured out the problem. C:\WINDOWS\system32 wasn't in the system enviroments path
ChelseaO88 said:
Thanks
I figured out the problem. C:\WINDOWS\system32 wasn't in the system enviroments path
Click to expand...
Click to collapse
I'm having the same issue...how do I go about adding this?
Code3VW said:
I'm having the same issue...how do I go about adding this?
Click to expand...
Click to collapse
in windows, right click on my computer, go to properties, in one of the tabs, its in there.....
if you are running linux, and asking this, then you shouldn't be using linux....
Vista Home Premium...
I click on "Environment Variables" in the Advanced tab and it opens another menu, one with the option to add user variables, and one with system variables. Which one do I need to add, and what exactly do I need to add?
I tried creating a system variable with the variable name of test and the path as C:\Windows\System32 but it didn't solve the problem...
If I open cmd and cd to my sdk directory and type ddms I get:
Unable to access jarfile lib/archquery.jar
SWT folder '' does not exist.
Please set ANDROID_SWT to point to the folder containing swt.jar for your platform.
its a hell of a lot easier using eclipse, just hit the ddms tab and click the icon that looks like a picture
nobody knows how to make this work without using yet another program??
still cant figure this out
Having the same problem, when I click ddms it flashes then disappears. Any idea how to add the file path in windows 7?
If you can't get this to work - There's a nice little program in the market, simply called "screenshot" (free), that'll let you make screenshots either with a timer or by shaking the phone.

[Q] How do i take a Gtab screenshot?

So i've got the SDK installed, and i THink i ahve ADB installed correctly (i can run commands and get results evn though i have no idea what to do with them)
But i dont know how to get a screen cap of wht is on my Tablet...is there an app i should be using?or is this not somethingi need to do via ADB?
Darkeyce said:
So i've got the SDK installed, and i THink i ahve ADB installed correctly (i can run commands and get results evn though i have no idea what to do with them)
But i dont know how to get a screen cap of wht is on my Tablet...is there an app i should be using?or is this not somethingi need to do via ADB?
Click to expand...
Click to collapse
You use DDMS to take screenshots. Take a look in your tools folder in the SDK. There should be a file there named ddms.bat... If not it may be in platform-tools. I usually just copy everything in platform-tools to the tools folder anyway.
To take a screenshot make sure you can talk to your tablet. So do a ADB devices from a command line pointed at your tools folder. It should come back and tell you it found your tablet. Then just run ddms.bat and it will open up a window. You need to select your tablet from the list. It will normally be the top line if you only have one device connected. Then from the menu up top select Device, and then screen capture.
Sprdtyf350 said:
You use DDMS to take screenshots. Take a look in your tools folder in the SDK. There should be a file there named ddms.bat... If not it may be in platform-tools. I usually just copy everything in platform-tools to the tools folder anyway.
To take a screenshot make sure you can talk to your tablet. So do a ADB devices from a command line pointed at your tools folder. It should come back and tell you it found your tablet. Then just run ddms.bat and it will open up a window. You need to select your tablet from the list. It will normally be the top line if you only have one device connected. Then from the menu up top select Device, and then screen capture.
Click to expand...
Click to collapse
Oh, That's just SWEET!
Thanks for the assist

Beginner's Guide to Installing the SDK and Getting Started with ADB

It looks like we may have some users that are new to rooting or to Android all together.
I posted these instructions in the perm root thread, but I figured putting them in their own thread would make it easier to find.
This is meant as a basic pre-cursor to following BCNice's perm root instructions.
I've added a link to TrueBlue_Drew's adb/fastboot guide here
If you use the method that I outline below just download his zip and extract the files to your desktop. Then move the fastboot file into your AndroidSDK\platform-tools sub directory. Thanks to Drew for putting together a great guide!
You will need fastboot installed to install BCNice20's recovery.img.
Make sure you have HTC Sync installed on your computer HTCSync
First download the SDK here
Make sure to dowload the installer_r09-windows.exe
Now install the SDK when prompted for the install path paste C:\AndroidSDK over the default path
Once you have installed it open it from the start menu
Select install packages
The main one we are concerned with is "Platform Tools"
Go to the start menu and right click on My Computer in XP Computer in Windows 7.
Select properties, then select advanced/advanced system settings in Windows 7, then environment variables, now go to the lower box (system variables) and select path then edit.
Paste the following as your path C:\AndroidSDK\platform-tools then select o.k.
Make sure you have temp root via Visionary or Z4.
On your phone go to Settings, Applications, Development, and make sure USB Debugging is checked.
Now connect your phone to your computer and leave the connection type as "charge only"
On your computer select Start, then run, type in CMD
Once in the Command Prompt enter
Code:
cd C:\AndroidSDK\platform-tools
The next line should pop up C:\AndroidSDK\platform-tools>
Now test adb by typing in
Code:
adb
If adb runs you are ready to start!
Type
Code:
adb shell
Then type
Code:
su
Allow Superuser on your phone
You are now in and ready to follow BCNice's directions
Here's some adb stuff that I found from the evo days that has linux, mac, and windows adb and some of the files it needs. I flashed the evo with it so it should work for the shift too. I used an all in one for the epic to root mine in windows. I just extracted the zip and ran adb inside it. I could have included that or instead but there were a lot more files in there pertaining to recovery, root exploits, and images of things I didn't know if they could safely be removed and still work or not. I used the mac version of the file in this package instead of running back and forth from win to mac. I purposely keep the win partition off the internet. Yeah, vmware works but sometimes it doesn't and I didn't want to risk anything when flashing a phone.
As usual, use at your own risk. It worked for me in the past so I don't see any reason why it won't work now. Make note of the adb program naming schemes because they aren't just "adb". I uploaded this because it was very useful to me in the past and I've always failed or got lost when trying to set up sdk per google's instructions. It's very stripped down so don't expect it to be as fully functional as the sdk would be.
If you want to do it the way I did then head over to the epic section and get the all in one root and recovery in the dev section, unzip it, then use the adb.exe inside. Don't use any bat files or scripts in there, you might brick the phone.
As a Win7 64bit user, I had the additional steps of downloading and installing HTC Sync so that Win7 would install the proper drivers for my phone before I could use adb shell to access my shift.
JigSawMan said:
As a Win7 64bit user, I had the additional steps of downloading and installing HTC Sync so that Win7 would install the proper drivers for my phone before I could use adb shell to access my shift.
Click to expand...
Click to collapse
Yes, of course, how could I forget that? You definitely need drivers for windows.
Anybody care to link me to a good guide for Linux mint/Ubuntu 64 bit?
I've done it on 32, but I can't find good resources for 64.
I used adbwireless and it worked first shot!
Time to work on some roms...;-)
Sent from my PG06100 using XDA App
So is there like a video review or a picture review of this. I am trying to do the steps, but the process is different from your steps. I have tried this on xp and windows 7
When I get to this step
"On your computer select Start, then run, type in CMD
Once in the Command Prompt enter cd C:\AndroidSDK\platform-tools
The next line should pop up C:\AndroidSDK\platform-tools>
Now test adb by typing in adb"
It tells me "The system cannot find the path specified"
Can anyone help me.
all of my drivers are installed for my phone.
koolkid09 said:
When I get to this step
"On your computer select Start, then run, type in CMD
Once in the Command Prompt enter cd C:\AndroidSDK\platform-tools
The next line should pop up C:\AndroidSDK\platform-tools>
Now test adb by typing in adb"
It tells me "The system cannot find the path specified"
Can anyone help me.
all of my drivers are installed for my phone.
Click to expand...
Click to collapse
You need to locate the SDK and rename it. It should be on your C drive in the program files folder and the android sub folder.
Once you have located the folder I believe is named android-sdk-windows right click on it and rename it to AndroidSDK.
Then open up a new window in My Computer on Windows XP or Computer on Windows 7.
Open the C drive and then drag the renamed AndroidSDK file over to the root of the C drive.(not in any folder)
BrandoKC said:
You need to locate the SDK and rename it. It should be on your C drive in the program files folder and the android sub folder.
Once you have located the folder I believe is named android-sdk-windows right click on it and rename it to AndroidSDK.
Then open up a new window in My Computer on Windows XP or Computer on Windows 7.
Open the C drive and then drag the renamed AndroidSDK file over to the root of the C drive.(not in any folder)
Click to expand...
Click to collapse
Ok. I deleted everything and I am going to try over.
OK.. When I'm first trying to install it do I install it to C:\Program Files (x86)\Android\android-sdk-windows. That is the defualt place it wants me to install it to. (I am on Windows 7)
I've updated the original post with some more specific instructions for Windows 7.
I had to reboot my computer before I could move the SDK to the C drive and rename it.
The first time I entered the command prompt adb wouldn't work, but I closed it out and the second time it worked flawlessly.
Ok thanks BrandoKc. Coming from windows mobile it would of tooken me a while to figure this adb stuff I out. I have a question??? I just finished rooting... if I hard reset does this break the root???
Sent from my PG06100 using XDA App
koolkid09 said:
OK.. When I'm first trying to install it do I install it to C:\Program Files (x86)\Android\android-sdk-windows. That is the defualt place it wants me to install it to. (I am on Windows 7)
Click to expand...
Click to collapse
That will work! Once installed there and updated rename it to AndroidSDK and move it to the root of the C drive. You may need to reboot your computer before it allows you to edit the folder.
alanherrera59 said:
Ok thanks BrandoKc. Coming from windows mobile it would of tooken me a while to figure this adb stuff I out. I have a question??? I just finished rooting... if I hard reset does this break the root???
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
By hard reset I assume you mean factory reset. It may but you can re root if it does.
I'm glad to have helped. I know when I rooted my Hero I nearly shatted a bricked Hero.
UGH! Now my SDK manager is not working. It pops up then goes away and I can keep it up. This is happening on this step "Once you have installed it open it from the start menu". I'm probably going to wait until the morning or somebody makes a video on how to do this because I'm getting frustrated.
Koolkid come to the IRC so we can help you
BrandoKC said:
Koolkid come to the IRC so we can help you
Click to expand...
Click to collapse
I sent you a PM.
BrandoKC said:
By hard reset I assume you mean factory reset. It may but you can re root if it does.
I'm glad to have helped. I know when I rooted my Hero I nearly shatted a bricked Hero.
Click to expand...
Click to collapse
Lol. As from my language... You can tell I come from windows mobile, in those forums we refered a factory reset as a hard reset and a soft reset as a battery pull
Sent from my PG06100 using XDA App
alanherrera59 said:
Lol. As from my language... You can tell I come from windows mobile, in those forums we refered a factory reset as a hard reset and a soft reset as a battery pull
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
Once we have a recovery you will definitely be able to wipe/hard reset/factory reset without losing root.
I would imagine at this point you should be able to without losing root also.
Left WinMo when the G1 came out and haven't looked back. Enjoy Android!

[Q] Using Terminal Command To Push File To PC VIA USB?

So I Am Working On Some Project And I got stuck...... Problem is i can't PUSH my files From My Device To PC (Note: I am not using PC to PUSH/PULL). So is there any Terminal/Busybox Command ? Really need some help
I hope not as this would pose a major security threat to the pc.
If you had a service running on the pc for this purpose yes.
Well, The PC Side Isn't Much Of The Problem, Thing Is I Want To Record recived Message In File And than Copy This File To PC or let PC Know that it is time to pull that file, I managed to write sms recording software with ease, however i'm stuck there

[Q] access MTP from command line

I have been looking around for this, but couldn't find a solution.
When connecting my Nexus 5 to my computer, it shows up as Portable Device. I can access data via explorer.
How can I access the data via Command Line when not in recovery? I want to make a batchfile to copy certain files.
thanks.
wim69 said:
I have been looking around for this, but couldn't find a solution.
When connecting my Nexus 5 to my computer, it shows up as Portable Device. I can access data via explorer.
How can I access the data via Command Line when not in recovery? I want to make a batchfile to copy certain files.
thanks.
Click to expand...
Click to collapse
You can use adb but it is more complicated when Android is booted. It would be simpler to use a bash shell script from android than a batch file from windows
Although my assumption is you want to create a task in windows that detects when your nexus is connected and copy certain files over as a backup. In which case, can I recommend FolderySync instead? It can be used to automatically backup files to cloud or local networked computers automatically. For example, whilst I sleep, my /sdcard backs up over wifi to my NAS
It should be pretty simple to use ADB for this... Make sure that adb is in your path and then run "adb pull" for each file you want to pull to your computer.

Categories

Resources