Anyone know how to configure a windows cmd prompt window to function properly with curses in busybox, when connected via the 'adb shell' command?
It seems to mostly work, with one annoying exception: Every command line is repeated (echoed) when I hit return, before it runs. This makes vi unusable, which is extremely crippling.
Also, related: Anyone know the magic config steps to get ConnectBot to work with command history in busybox? Ironically, this all works perfectly with the U/D/L/R kbd arrow keys in a WinXP cmd window, but from ConnectBot it sends the wrong escape sequences, and just echoes some junk.
So, when I want vi, I have to do it in ConnectBot (slow typing!). When I want to test stuff, where command history comes in very handy, I have to do it on the PC (which is okay, if I'm near it!).
HELP!
Related
Could someone tell me how to run some "useful" executable files like ping.exe, ipconfig.exe (and many others...) found in WINDOWS folder!!!
Explain your problem better and I will try to help as much as I can.
When I'm browsing in windows folder I've found a lot of exe's that seem to be useful but I can't find a way t run them
As far as I can see on my HD2, there are no .exes such as ping or ipconfig... those are executables that are only present on a PC. Perhaps it`s just my device...
As for running an executable, all you should theoretically do is to tap it in the file explorer. It will automatically start.
I also strongly advise you not to mess around with .exes in the Windows folder, that can have nasty results if you`re unaware of what you are doing.
My ROM version 1.66.415.4
I do have ping.exe but it's like a command not an application I think I should run through a command console (cmd)
Not sure about this... Sorry, maybe someone else who is more capable and knowledgeable might answer your question.
I have them too. I do not touch them due to my lack of knowledge.
Try installing this:
http://www.microsoft.com/downloads/...01-49d4-4506-a03b-c41bc76c2f51&DisplayLang=en
Thanks for your replies, I've tried to use POCKET CMD (Windows Mobile Power Toys) and I did the registry teak to make the console visible, and I managed to run PING.EXE, it worked but in a separate console and it closed right after end of execution, during that i was able to see the result (number of received packets).
If any body tried my method please tell me how to keep the console opened after the execution ?
Even when you try to execute ping or ipconfig it will "run" and then close. If you open the actual command prompt and actually ping something it will respond, while ipconfig will list the stats of the device.
Having pocket CMD will let the application run, but it needs something to "ping"
Did you try to open a command window and actually ping a web address? It should stay open if done that way.
If Pocket CMD runs like the regular one at least...
Nop, I was predicting that it should work just like the one on PC, but not, even when I'm starting PING form the console to actually ping "something", another console window appear, display the result and close immediately.
I think the solution is to make ping run inside the cmd console, I don't know if this could accomplished through a registry tweak
Does anyone know if there is an application that will send command lines to a PC? I would like to use this to either both launch programs and send other commands (such as changing the audio output on my PC).
I am able to do this by creating shortcuts to the commands, then using a remote program (like premotedroid) to control the mouse and click the shortcuts, but it would be really cool if the phone could just send the command directly to the PC.
Any thoughts on how to do this would be great.
Thanks!
2nd that. searching for this too!
DocMAX... try Unified Remote... it has worked well for what I needed.
Try ConnectBot and connecting via ssh.
This is sweet. Can even connect using Android Commander with this while wireless.
http://www.androidpolice.com/2010/08/20/awesome-app-for-rooted-users-adbwireless/#comment-50934
Awesome find
cool, finally a good use for the wifi.
hey....im actually having trouble with it...i type in what it says and an error comes up saying "windows cannot find 'adb'. make sure you typed the name correctly, and then try again." any ideas...i have hero cyanogen mod...windows 7, i connect on the same wifi...but the only thing i can think of is that my wireless router has two different signals, one for n and another for g...i connect to the g one on my phone and pc but it still wont work...thanks
andrewt328 said:
hey....im actually having trouble with it...i type in what it says and an error comes up saying "windows cannot find 'adb'. make sure you typed the name correctly, and then try again." any ideas...i have hero cyanogen mod...windows 7, i connect on the same wifi...but the only thing i can think of is that my wireless router has two different signals, one for n and another for g...i connect to the g one on my phone and pc but it still wont work...thanks
Click to expand...
Click to collapse
have you changed directories to where your adb is?
Code:
cd C:\AndroidSDK\tools
this has been out for a lil while but there are not very many people that know about it. i have been using it for about a month now.
Good post for people that didnt know about it!
kwheel596 said:
have you changed directories to where your adb is?
Code:
cd C:\AndroidSDK\tools
Click to expand...
Click to collapse
ummm..idk what you are really talking about...i jsut got into the whole phone hacking thing...can you explain a lil bit more. are you talking about on the computer or phone? and is there some software you have to download on the pc first? thanks
This is awesome. I use my laptop the most, and now I can start the bootanimation so people think I'm cool from the other room
are you serious? you have to load the android SDK. ADB is NOT a command built into ANY os! obviously your new to computers too. after installing the sdk be sure to create an environment variable pointing to the tools folder so that you can call adb from any directory.
http://developer.android.com/sdk/index.html
I'm probably being a bit rude here but it very much irks me when people blindly type terminal commands with no knowledge of what it is they are entering.
andrewt328 said:
ummm..idk what you are really talking about...i jsut got into the whole phone hacking thing...can you explain a lil bit more. are you talking about on the computer or phone? and is there some software you have to download on the pc first? thanks
Click to expand...
Click to collapse
Nice find! Works great!
I installed the SDK and connected to my phone via "adb connect 192.168.1.4:5555". But it doesn't show up as a drive / usb drive.
How do I make it work? Is there a command to mount it as a drive??
thx
Just a script I wrote...
Hey guys.
I just wrote a quick batch script that automatically starts the wireless connection to your phone. It's a lot quicker IMO than typing adb connect blah blah blah. All you need to do is change the IP address in the script to whatever IP address your phone uses. I recommend reserving the IP in your router so you won't need to change it.
adb server is out of date ?
I keep getting this error when trying to use adb wireless
***Edit - somehow it just started working*** I can't explain how, but I'm all set now -
What do I do?
When the command screen comes up (the black box), what do I type in? I have the 192.168 etc number, but it appears that I need to type in something before that. I tried variations of adb connect, but it does not work. It looks like I need to either 1) Change the drive; 2) issue a command or both. I'm a newbie at this. Thanks
Any one know a good terminal emulator,
one that would give me a few terminal emulation like vt100, scoansi or wyse50
also i would like to put it fullscreen like 80x24.
So far i have tried "Better terminal emulator" but it does'nt even have a settings menu
to do anythning, or maybethere is one but i did not find
Any suggestion ?
I'm a big fan of connectbot.
If you want to check it out get a development snapshot from their website rather than the market version. The market version doesn't support the TF's keyboard dock.
Does it support terminal emulation, how can i put it in scoansi term emulation ?
ok, i found the emulation settings..
now, i'm trying to get the character over the numeric row from the dock keyboard, ie [email protected]#$% etc.. how can you get them ?
If i try them i only get what looks like Function key i.e OS, [21~, etc..
I have this problem with either Better Terminal" or "Connectbot" :
i can't get the functions key to work, it's like if it does'nt send the \E in the \EOS for exemple.
Any other emulator ?
Okay so I just decided to upgrade from win 7 to win 8 pro. I ran into some issues. I had to make several attempts I was having monitor issues. Actually it was stupid everything went fine but I have a dvi monitor and a hdmi tv hooked up I only use the tv when watching videos or movies but I guess that it defaulted to the hdmi device because I got a blank screen on my monitor but I could see the mouse. I had the tv off do I didn't realize iut but it was working fine on that until I got online and it automatically found the driver for the monitor. So anyway that problem is fixed but somehow in all my attempts I must have installed win 8 two times because when I boot it gives me the option of two different win 8 like if I had fedora or ubuntu installed but with two win 8. so I figured no problem just delete one. So I went into the disk tools and found the partition manager but it only shows two partitions. the small system partition that has to be there and my c partition with win 8.
Can two versions of windows be on the same partition? Does anyone know how to find the other copy? I always select the first one on the list.
Oh my pc is a dell xps 410 and it is an old man. But it is still going strong with upgrades
core 2 duo 1.86 ghz 4 gig ram 64 bit os I have had every release of windows since xp sp3 currently win pro.
I appreciate any help you guys can give me
Charlie
It may just be listed twice in the bootloader. Use bcdedit (as admin) and check each entry. You should find two "Windows Boot Loader" entries. Each will have a device, path, osdevice, and systemroot listed (among other things). If those all contain the same value between both entries, there's no files to delete. Next check for any other differences; there may not be any meaningful ones (the identifier is not meaningful). If you don't see any reason to keep both of them, delete one. You can use "bcdedit /? delete" for help.
GoodDayToDie said:
It may just be listed twice in the bootloader. Use bcdedit (as admin) and check each entry. You should find two "Windows Boot Loader" entries. Each will have a device, path, osdevice, and systemroot listed (among other things). If those all contain the same value between both entries, there's no files to delete. Next check for any other differences; there may not be any meaningful ones (the identifier is not meaningful). If you don't see any reason to keep both of them, delete one. You can use "bcdedit /? delete" for help.
Click to expand...
Click to collapse
Thank you for your help with this. Where would I type bcdedit? Is there a start box somewhere like in 7 and I haven't seen it yet?; I am still not too familiar with 8 yet I just got it but I will have it down in no time.
It's a command line tool. Just right-click on the Start button (mouse to lower left corner, then right-click) and choose "Command Prompt (Admin)" to launch an admin prompt (you can also do it from Start search the same as on Vista or Win7; just open the Start screen and type "cmd" or "command" and it will appear; right-click and choose "Run as Administrator").
The "Run" dialog is also still present - Win+R displays it, as it has for years - but with the new Start right-click menu (which can also be accessed via Win+X) I find I haven't needed it much.
wow I see there is alot that I have to learn about win8 thank you for all the tips. Is there a good guide out there that any of you would recomend? I usually learn best when people tell me but if I am interested enough (like I am with this) I can learn from a book.
Well here is what I get when I typed it in. I could not copy and past the text so I took a whole window snipit. Okay I cant seenm to figure out how to put it in. I would hate to have to type that all. I used the windows snipit tool. So can someone tell this idiot how to attach the pic. I saved it to my desktop. Do i use insert image and type the path to my desktop? why cant I just copy the text and past it. The would be easy darn it.
Charlie
To copy out of the terminal, right-click, select Mark, then highlight the text and right-click. You can then paste it elsewhere as normal. It's also possible to set QuickEdit mode on CMD (in Properties), which allows marking without first selecting it by right-click.