Hello friends,
After some work I have finally gotten the command line interface (Dos Prompt CLI) to work on the Tmobile Rhodium with the stock ROM and Windows Mobile 6.1.
Here's what you need: Microsoft Windows Mobile Developer Power Tools available for free here:
http://www.microsoft.com/downloads/...d6-1dcc-47aa-ab28-6a2b006edfe9&displaylang=en
Within the Microsoft Windows Mobile Developer Power Tools package extract the folder called "PPC Command Shell - Command shell for the Pocket PC 2003 device." Do not worry that it says "Pocket PC 2003", we will make it work on Windows Mobile 5/6! (for background information read http://dalelane.co.uk/blog/?p=122&cpage=1#comment-102893). You will see three files: shell.exe, cmd.exe, and console.dll. Place the console.dll file in your Windows directory on your device (in our case, on the Rhodium Touch Pro 2 the Windows directory takes a long time to populate, but it will, add the console.dll to it). Then move the shell.exe and cmd.exe file to another folder on your device. After you are done with the below instructions you will be able to link directly to the cmd.exe file and run the command line terminal.
For the command line to work you would normally need to toggle the following registry key between "0" and "1" HKEY_LOCAL_MACHINE\Drivers\Console\OutputTo
By default it is set to "1" which disallows the command prompt to run, we need to set it to "0" to enable the command prompt. But, the caveat is that upon reboot it's best to have this key set to "1" otherwise your boot process is extended by about two minutes and you will get two open command prompt windows upon booting which you will need to manually close to go back to your home screen (annoying, but not a huge issue). In order to avoid all that, I have created a two simple Cab files which toggle the above registry key between "0" and "1". Before running the command prompt I run Command_Line_VISIBLE.cab (which turns the registry key to a "0" and when I'm done with the command prompt I run Command_Line_INVISIBLE.cab (which turns the registry key back to '1').
If you forget to run Command_Line_INVISIBLE.cab when done with the command prompt it's no big deal, just run it whenever you get a chance (even after a reboot, which would take two minutes longer and open the command prompt by default, which is no biggie since you can just close it once the device fully boots). Leaving the registry key set to "0" should not damage anything.
I have attached the cab files on the forum.
The goal of installing a command line interface on a Windows Mobile device is 'hackability'... you get yet much better (granular) access to your device. I have always been fond of the way Linux-based devices (Android, Iphone, Nokia N900) give you access to the command line, and always wanted something similar on Windows Mobile. Now this is possible, albeit with less options than the linux-based phones.
For example, with the command line you can now run NetCat. Netcat is known as the Swiss Army Knife of Networking. (http://en.wikipedia.org/wiki/Netcat) on your Windows Mobile phone...
You can download and install NetCat for Windows Mobile at http://prt.fernuni-hagen.de/~bischoff/wince/
I have tested a few basic NetCat commands and they seem to be working as expected, but more testing is needed.
Any feedback is appreciated
Usual disclaimer: This has worked great for me, but obviously I am not responsible if you damage your device.
Does anyone have any comments?
Please post your thoughts.
thank you
so glad i found this post, just about to try it out on my hd2...
To what end? What does this accomplish?
The goal of installing a command line interface on a Windows Mobile device is 'hackability'... you get yet much better (granular) access to your device. I have always been fond of the way Linux-based devices (Android, Iphone, Nokia N900) give you access to the command line, and always wanted something similar on Windows Mobile. Now this is possible, albeit with less options than the linux-based phones.
For example, with the command line you can now run NetCat. Netcat is known as the Swiss Army Knife of Networking. (http://en.wikipedia.org/wiki/Netcat) on your Windows Mobile phone...
You can download and install NetCat for Windows Mobile at http://prt.fernuni-hagen.de/~bischoff/wince/
I have tested a few basic NetCat commands and they seem to be working as expected, but more testing is needed.
terminal 7 said:
so glad i found this post, just about to try it out on my hd2...
Click to expand...
Click to collapse
Hi! Any update on this?
I tried this on my HD2 (WM6.5, ROM v. 1.61.468.1). The console is able to display text and run commands, but I can't type anything directly into it. The only button that seems to work is Enter.
If I type somewhere else and copy-paste into the console this works and commands execute perfectly.
What could be the trouble? Thanks in advance.
I have not tested the CLI on the HD2, but clearly your issue is caused by a lack of a physical keyboard. You may find a workaround to this (since you can copy and paste into the CLI fields), but unfortunately I cannot be of assistance since I only own the Touch Pro 2.
Good luck!
mail_e36 said:
unfortunately I cannot be of assistance since I only own the Touch Pro 2.Good luck!
Click to expand...
Click to collapse
Do you have a software keyboard in your device (my previous BlueAngel had one in addition to hardware)? If yes -- could you please check if the console works with software keyboard?
good!! Did you try pocketgcc on it?
Great news! I just tried the command line using the soft keyboard built into my Touch Pro 2 and it worked... I was able to enter commands in the command line without having to pull out or use the hardware keyboard.
Are you unable to use your software keyboard on the HD2 with the command prompt?
Pronichkin said:
Do you have a software keyboard in your device (my previous BlueAngel had one in addition to hardware)? If yes -- could you please check if the console works with software keyboard?
Click to expand...
Click to collapse
I have not tried PocketGCC, but it would be interesting to get it working on the command line.
mistm said:
good!! Did you try pocketgcc on it?
Click to expand...
Click to collapse
This is pretty awesome. I love my mini version of a PC and having this only helps...
Here is how one can use the command prompt for NetCat...
I have it working on Telus Touch Pro2 but the physical keyboard doesn't work except for backspace and enter. It could be due to Tarkims keyboard remapper. It does however work perfectly with the soft keyboards. I have a copy of Perl installed and working.
The physical keyboard should work, I'm also running Tarkims keyboard remapper and the physical keyboard works well for me. Did you use my two cab files for enabling and disabling the CLI?
Also, please tell me more about Perl on your Windows Mobile phone, is there a binary (executable) or cab file I can install for Perl?
Please advise, thanks.
mail_e36 said:
The physical keyboard should work, I'm also running Tarkims keyboard remapper and the physical keyboard works well for me. Did you use my two cab files for enabling and disabling the CLI?
Also, please tell me more about Perl on your Windows Mobile phone, is there a binary (executable) or cab file I can install for Perl?
Please advise, thanks.
Click to expand...
Click to collapse
You can find Perl here
http://perlce.sourceforge.net/
Which version of Tarkim's keyboard remapper are you using 1.3.2 or 1.4?
I just checked and I am running tarkim's keyboard controller version 1.3.2, which seems to work perfectly with the command prompt.
I am wondering what you use Perl for on Windows Mobile? I have looked at the http://perlce.sourceforge.net/ site and I am interested in installing Perl, can you give me some background on its utilization on the mobile platform?
Thanks!
Here's the response from Touch_Pete (via PM):
Actually I haven't tried much more than a few test programs. But this is a full implementation of a very powerful and flexible programing language that would allow you to go way beyond Mortscript which seems to be a popular scripting language used on Windows Mobile to do all sorts of things.
Working Perfect on my HD2 using FingerKeyboard2.1 ... I was facing same problem with original keyboard
Hi everyone today I encountered a problem trying to play SG: dead zone whit my PS generic joystick, the problem was that I had the spinning camera and I figured out, I made a keylayout for the controller I think this layout can be use whit others joysticks and here its, if you want to try it the only thing you gonna need is the id vendor and id product that you can get it whit terminal emulator by typing
Code:
cat /proc/bus/input/devices
and search for the usb section, then just rename the file
Code:
Vendor_XXXX_Product_XXXX.kl
in my case I named it as
Code:
Vendor_0810_Product_0003.kl
just change to your device vendor and product id and put it to
Code:
/system/usr/keylayout/
remember it is just for a PS generic joystick and you need to be rooted. Sorry for my bad English! hope it helps
Hi folks,
I have installed VMware on the Fire TV for work. Everything works fine except the mouse cursor is surrounded by an orange circle.
If there anything to remove the orange circle?
Thanks in advance for any suggestions.
I also want to switch to the real mouse cursor instead of the feature-lacking circle.
Flash games don't react properly with the orange circel,and even cause doubled clicks which reverts the tickboxes in Happy Wheels.
There is supposed to be an Android setting that changes the mouse type,but the settings apk either exits when attempting to reach it,or the option is missing in the 4.0 settings.
Can somebody please find a 4.2.2 version of settings apk?
BTW,how well and smooth does VMware run?
I installed VMware 3.0.0 version, which works smoothly in my case (1920*1080, windows 7, fire TV connected via Ethernet).
retroben said:
I also want to switch to the real mouse cursor instead of the feature-lacking circle.
Flash games don't react properly with the orange circel,and even cause doubled clicks which reverts the tickboxes in Happy Wheels.
There is supposed to be an Android setting that changes the mouse type,but the settings apk either exits when attempting to reach it,or the option is missing in the 4.0 settings.
Can somebody please find a 4.2.2 version of settings apk?
BTW,how well and smooth does VMware run?
Click to expand...
Click to collapse
if you downgrade to the first firmware the mouse was an arrow. you will then have to block updates.
Where can i get vmware? and how can install windows via vmware??
Where can i get vmware? and how can install windows via vmware??
I would love it to use windows!
Somebody please find a fix for this.
I even tried an actual mouse but still get doubled clicking on a single click!
There has to be a setting that can be modified that brings back the much better mouse pointer.
I am currently writhing in rage because of this issue because I can't properly run Flash games with this annoying circle.
I need the mouse pointer so I can tell where I am actually clicking because the circle is not accurate at all for the approximate clicking position.
It is located in the root folder of.. root/ system/ framework/ framework-res.apk I have changed other android device mouse icons before doing ROMs. The orange circle icon is in the framework system folder. The file is an apk... framework-res.apk It is buried in a folder called framework/ res/ drawable-hdpi/ btn_circle_disable_focused.png
With root **** warning could brick device**** I'm not responsible if you f-up...
BACKUP your original framework-res.apk !!!! Proceed at your own risk.
You could try to create your own mouse icon and then call it... btn_circle_disable_focused.png in replace of the original png. Then repack the framework-res.apk and copy it back over into the correct location root/ system/ framework/ framework-res.apk I would warn you doing this could f** up the framework system and might brick your device. This system file might be signed, so repacking the apk might need to be resigned. Btw their are other folders in the framework-res.apk that also have the same file icon btn_circle_disable_focused.png So who is willing to try? Might work might or might not but its a risk either way. With a locked boot loader I'm not testing my unit.
Here is the file I found btn_circle_disable_focused.png... look fimiliar, orange circle mouse pointer thing.. yuck.
And here is a real mouse png I file found in the same folder.
YES! Now we are one step closer to a real mouse!
We just need somebody to make everything stable and easier to replace,and to make it actually function like a normal mouse.
hi all can someone please help after ouya send out new firmware 2 weeks ago it messed up my box big time cant even do anything with it
1 ouya is not rooted
2 ouya was working 100% before new firmware
3 tried the usb keyboard reset trick (did not work) all I am getting is what is in video ???
thanks
bigyellowfish said:
hi all can someone please help after ouya send out new firmware 2 weeks ago it messed up my box big time cant even do anything with it
1 ouya is not rooted
2 ouya was working 100% before new firmware
3 tried the usb keyboard reset trick (did not work) all I am getting is what is in video ???
thanks
Click to expand...
Click to collapse
anyone please :crying:
I tried watching video but could not. Does your system boot
mcord11758 said:
I tried watching video but could not. Does your system boot
Click to expand...
Click to collapse
thanks for your time mcord
sorry don't know what's happing there it you can look at this line and post number 19 is all I can get on my ouya , have nothing but problems after last update
http://ouyaforum.com/showthread.php?14831-cant-get-to-ouya-store/page2
4366
bigyellowfish said:
thanks for your time mcord
sorry don't know what's happing there it you can look at this line and post number 19 is all I can get on my ouya , have nothing but problems after last update
http://ouyaforum.com/showthread.php?14831-cant-get-to-ouya-store/page2
Click to expand...
Click to collapse
also can anyone please tell me what is put in box at point 1.23 of this video ???
thanks
https://www.youtube.com/watch?v=-03E5mMQtO4
bigyellowfish said:
also can anyone please tell me what is put in box at point 1.23 of this video ???
thanks chamber
https://www.youtube.com/watch?v=-03E5mMQtO4
Click to expand...
Click to collapse
You do not hands to do that step if you do not want to. It makes life a little easier but is not necessary
Say you save platform tools on your c drive
You can go to the folder then hold shift and right click and select open command
Or you can just go to start and in search enter cmd then select it to open command window. Once open you can change directories. On my pc I named platform tools adb instead. So I type in command
cd /adb
Then hit enter. You should now be in the correct directory
Make sure Firmware zip is saved in the same folder. Skip the part in the video where he cd desktop. Just type in the adb sideload command.
anyone please help with Port Forwarding on a DD-WRT for ouya ??? port from ?? and port to ???
thanks
Trying to connect a generic Bluetooth Gamepad to Fire TV2, although it connects fine and can navigate menus perfectly fine it refuses to work with Retroarch, saying (unconfigured).
Im quite certain i need to have the .kl file in place but im not sure how to assign the correct .kl file.
Can anyone with the knowhow please give me the correct command to list attached devices from adb, then i will know the product id and vendor id to configure it.
I did use it previously for a different controller but for the life of me i cant remember what the command was!.
Thanks in advance.