command line missing - Windows Mobile Development and Hacking General

could i use a command line, i. e. to ping my homenetwork ?? is there a cmd ? sorry,didnt find that..
regards
Frank

unfortunately not. There is no command line, and also, no ping command.
You can download some tools like tracert and ping, but I can't remember where.

Try VxUtil... Great for troubleshooting, unfortunately no cmd line. Freeware
/C

Forgot to post the link http://cam.com/vxutil.html
/C

Command line from MS
Hi
I found thes on MS's site:
http://www.microsoft.com/downloads/...7aa-ab28-6a2b006edfe9&displaylang=en#filelist
I installed the command line but can't run anything under it. I may be being a bit silly here but I am trying to run pptpclnt.exe to check if the GRE packets are being sent by my XDA. My logic is that if you are running a command shell you should be able to execure any DOS app?
Any assistance would be appreciated.
Kind regards
Alan

My logic is that if you are running a command shell you should be able to execure any DOS app
Click to expand...
Click to collapse
no the bins of dos applications are x86
and the cpu in the xda is an arm
it could never be don
unless you have a dos emulator
http://www.penreader.com/WinCE/CEDOS.html
http://www.pocketdos.com/
http://www.xt-ce.com/#Download

Command line pptpclnt
Thanks that explains it! The next question is is there a PPC app like pptpclnt which would enable me to do the same thing
Kind regards
Alan

computerfuzzy said:
could i use a command line, i. e. to ping my homenetwork ?? is there a cmd ? sorry,didnt find that..
regards
Frank
Click to expand...
Click to collapse
You can. http://www.symbolictools.de/public/pocketconsole/index.htm
It has ping, net, CMD and other utils. You may download some more utils from my site (stolen from MS PlatformBuilder 4.20).
Of cause you cannot run DOS programs from it, but you can try DosBox emulator (on my site).

Can't seen to find that DOSbox emulator. Please could you point me in the right direction.
Thanks
Alan

http://mamaich.kasone.com
Don't ask for instructions.

a command line (shell) on windows mobile 2005
havent found any, yet here is a tread about it:
http://forum.xda-developers.com/viewtopic.php?p=280414

Related

SuSE has to be different

Hello, I've been with XDA Developers since before I got my XDAii. You've helped me with every problem faced so far, and I would love it if you could try help me with this one. please.
I've Downloaded some version of SynCE (which is supposed to be the Linux version of ActiveSync) but I need to compile it with the ./ command. My only problem is SuSE doesn't have a ./ command and the Packages I've downloaded are useless. Does anyone know where I can get SunCE so it will (Atleast) install under SuSE.. If it is not possible Novell is getting an email :twisted:
Thankyou in advance.
./ ???? I think you should read better the instructions... there's no ./ command in Linux (Nor SuSE, nor Debian, Nor everyone) dot slash in Linux refers to actual directory. It's: In windows (MS-DOS command line) you can run any command simply typing it's name and intro because actual path is a path that windows recognize.
For security issues Linux doesn't include actual path in its execution paths so when you want to run some command in actual directory you should write, before the command you want to run, the dot slash in order to say Linux where to find the command you want to run.
After all this, I think you forgot to type the instruction to compile the SynCE so better try to read better the README's or INSTALL's.txt and type the command after ./ And wait to call Novel... specially if your smiley indicates that it's going to be a flaming mail
I'm a linux user and have been for over 5 years now, and ./ is to run a application after you chmodded it properly so the user can run it. SynCE is compatible with any linux because any linux is modable to install any application even though it says it might not be able too! Linux is all editable, all the files, etc. You can get anything running, I sure have.

Command Prompt

Is there a command prompt avaliable for windows mobile, that allows you to run commands such as ipconfig, ping and traceroute?
Not sure of a command line tool but this one is fairly good
vxUtil
great, i like that tool a lot
thanks

Mac os x Adb problem

I downloaded and installed the latest mac intel sdk 1.6 to link with my new rogers magic which is running 1.5. I unpacked everything and restarted my computer. I also enabled debugging on my Magic 3g. When I plug my Magic in, I open terminal in su (root) and once inside the folder, i try running the "adb devices" command however it doesnt work. I get "bash adb command not found". Any ideas from the mac users on here?
should I install the 1.5 sdk, not that it will make a difference since I cant even run the command in 1.6?
any ideas?
Are you putting ./adb devices or just adb devices? because the ./ is very important
tristyB said:
Are you putting ./adb devices or just adb devices? because the ./ is very important
Click to expand...
Click to collapse
.... I am a moron. thank you. I was to excited!!!
ryrules1 said:
.... I am a moron. thank you. I was to excited!!!
Click to expand...
Click to collapse
It's fine, it happens to all of us!
The other options is to add your <android_sdk>/tools folder to your path. That way, you don't need to cd into the folder and use ./adb...you can just use adb from anywhere in the prompt.
Google around but I believe you need to add a line like this:
export PATH=<android_sdk_location>/tools:$PATH
to your .profile file in your home directory.
where <android_sdk_location> is where you extracted the sdk.

Google Maps Update Fail

I got a Market notification that the new Google Maps was avail, with the GPS turn-by-turn navigation. After downloading I get the message "Install Unsuccessful." I'm assuming this is because I am running Cyanogen's mod. Any workround? A straight APK hosted somewhere? Sorry to be a nub, do apps need to be ported/resigned to modded ROM's?
Have you got Android SDK installed? If so, you can use the famous "adb" tool to solve the problem. If your phone is rooted - and I assume it is, it takes only three commands. Connect your phone to your PC and from the command line interface issue the following commands:
adb remount
adb shell rm /system/app/Maps.apk
adb uninstall com.google.android.apps.maps
And then on your phone go to the Android market and install Google Maps again.
HTH,
@Pijar - Thanks for this quick and painless solution. Found it within seconds of starting my search and your answer was concise and accurate.
great, thanks
worked for me too!
Pijar said:
Have you got Android SDK installed? If so, you can use the famous "adb" tool to solve the problem. If your phone is rooted - and I assume it is, it takes only three commands. Connect your phone to your PC and from the command line interface issue the following commands:
adb remount
adb shell rm /system/app/Maps.apk
adb uninstall com.google.android.apps.maps
And then on your phone go to the Android market and install Google Maps again.
HTH,
Click to expand...
Click to collapse
NOTE: This will only work inside the United States. If you live outside of the US, or even live inside and want Google Nav to work for you outside of the US, you need to install the tweaked version that works everywhere Google Maps works.
how the hell do I get this to work???
Am I supposed to use the windows command line? OR... is there a specific command line interface buried within the Android SDK tools?
Sorry if this sounds like a completely retarded question, but I have yet to really use the Android SDK and have no idea as to WTF i'm doing!! LOL!
rbrainard said:
how the hell do I get this to work???
Am I supposed to use the windows command line? OR... is there a specific command line interface buried within the Android SDK tools?
Sorry if this sounds like a completely retarded question, but I have yet to really use the Android SDK and have no idea as to WTF i'm doing!! LOL!
Click to expand...
Click to collapse
rbrainard, yes, you should use your command line (cmd.exe) utility, if you are using Windows. I have not specified it, because I wanted the instruction to be universal (I personally work on Linux). So, after installing Android SDK, you should enter the command line, change directory to the directory where you installed the SDK, there you should enter the "tools" subdirectory, and there you will find the "adb" tool, which should let you execute the commands I specified in my post.
I do not think your remark to be "retarded" , just the opposite, sometimes "simple" answers are not that obvious to people who start to deal with some solutions - what I really find annoying are "use google" answers when sometimes it is not such a big deal to post the answer and it is not always so easy to find the correct solution while searching the net.
Thanks, just what I was looking for.
Pijar said:
Have you got Android SDK installed? If so, you can use the famous "adb" tool to solve the problem. If your phone is rooted - and I assume it is, it takes only three commands. Connect your phone to your PC and from the command line interface issue the following commands:
adb remount
adb shell rm /system/app/Maps.apk
adb uninstall com.google.android.apps.maps
And then on your phone go to the Android market and install Google Maps again.
HTH,
Click to expand...
Click to collapse
thanks this worked.
Pijar said:
rbrainard, yes, you should use your command line (cmd.exe) utility, if you are using Windows. I have not specified it, because I wanted the instruction to be universal (I personally work on Linux). So, after installing Android SDK, you should enter the command line, change directory to the directory where you installed the SDK, there you should enter the "tools" subdirectory, and there you will find the "adb" tool, which should let you execute the commands I specified in my post.
I do not think your remark to be "retarded" , just the opposite, sometimes "simple" answers are not that obvious to people who start to deal with some solutions - what I really find annoying are "use google" answers when sometimes it is not such a big deal to post the answer and it is not always so easy to find the correct solution while searching the net.
Click to expand...
Click to collapse
Makes absolutely perfect sense now. I followed your instructions to the "T" and after reboot, Google Maps was no longer in my list of programs.
I then went to the Market and proceeded to try and install the latest version and received the same error: "Installation Unsuccessful"...
UPDATE:
Today I get a different error: "Incompatible Upgrade".
Does anyone have a copy of the APK file for Google Maps?
Okay, nevermind... I have it fixed now.
Placed the Maps.APK in my C:\ directory
ADB Remount
ADB Push C:\Maps.apk /System/app
Viola!
Credit goes to MRAndroid
http://forum.xda-developers.com/showpost.php?p=5033339&postcount=50

[Q] what is adb shell?

Please let me know about adb shell, how to transfer files from pc to GT, i am totally new on this. Please me how to use adb shell?
adb.exe is a program that runs on your windows pc, and is a part of the android software developer kit, sdk, distributed for free. adb, android data bridge, lets us transfer files and execute commands between your phone and pc.
thank you rangercaptain for the clear answer.
also I was lacking this piece of info.
now it seems I have new hurdle to overcome, I'm based in Shanghai and it seems that I cannot download SDK. I get the typical 'time out' error when I try to go to both: code.google.com/android/download.htm and developer.android.com/sdk in 99.9% of the time you get these errors, it means the site is blocked.
any suggestions for mirror sites....I haven't been able to find one.
thanks!
thanks rangercaptain i was trying sim unlock as rotohammer says in his post put adb shell code and do big copy paste, will running adb.exe allows me to copy paste code as rotohammer says? thanks
tabing said:
. . . i was trying sim unlock as rotohammer says in his post put adb shell code and do big copy paste, will running adb.exe allows me to copy paste code as rotohammer says?
Click to expand...
Click to collapse
Yes, that is exactly correct. It is a very cool, very smart method for us non-coders to unlock our tabs.
Make sure the first command you execute is "adb devices" to verify your connection and drivers. Copy everything from Roto's post. then right click in the command window, and select Paste from the pop up menu. Wait a minute ... done!
wjv144 said:
I'm based in Shanghai and it seems that I cannot download SDK. I get the typical 'time out' error when I try to go to both: code.google.com/android/download.htm and developer.android.com/sdk in 99.9% of the time you get these errors, it means the site is blocked.
any suggestions for mirror sites....I haven't been able to find one.
Click to expand...
Click to collapse
I googled "android sdk" and came up with a few links. Here is a promising one:
http://developer.android.com/sdk/index.html
Choose the most recent. Also you will need drivers for your pc if you don't use windows 7. Again, google or search this galaxy tab forum.
tabing said:
Please let me know about adb shell, how to transfer files from pc to GT, i am totally new on this. Please me how to use adb shell?
Click to expand...
Click to collapse
Here is a website that I used to set up adb in general &
which also has a list of commands
http://theunlockr.com/2009/10/06/how-to-set-up-adb-usb-drivers-for-android-devices/
Once you have followed all the steps explained in here to set it up,
whenever you want to "send a command" over to your GT, you ...
1) first run "cmd" on your Windows device
2) and when the cmd windows pops up enter:
cd\
cd AndroidSDK\tools\
adb devices
(to check if your device really is listed)
.. and then, run the actual command
developer.android.....is blocked. I googled untill 2 in the night and found a few local stored outdated version of SDK. One of them actually wanted to update itself, so I think I'm ok now
thanks again
Drivers for pc, and putting adb.exe and any file you want to send to the tab in tools directory are the two keys for success
Thanks to all, worked. I give you guys kudos via thank meter.
That was a good exchange of thought! XDA rocks!

Categories

Resources