Hexadecimal and ASCII WEP keys - Networking

I have recently stumbled upon a problem which I just cant solve so I was hoping somebody can help me out since I searched this and the web for a solution.
If you want to connect to a WEP encrypted wireless network, you need to enter the key in ASCII format since there is no option to enter it in hexadecimal. Now this works fine as long as the ASCII keys are regular numbers and letters. however if your WEP key uses ASCII keys such as Æ (corresponds to C6 in hex) or other unusual characters, there is no way of entering the key since they do not appear in the symbols menu of the S710. Now what I already tried was to copy and paste the symbols from a textfile I created on the pc and then transfered it to the S710. Even though the characters appear fine in the WEP key box, the S710 will not connect to the network stating the key would be incorrect. So obviously Windows Mobile 6 recognises the characters in some form but then it wont work for the WEP keys.
So I was wondering is there anyway I can enter the hexadecimal key? Maybe directly into the registry over an editor? Or maybe there is a zero config utility that will accept hexadecimal keys?
Any help would be appreciated.

Can't speak for anyone but myself, but I, too, have a S710 and have had no trouble connecting to my home wlan using a hex wep key. Might be that my wep key contains no digits over 9, so it only "uses numbers", but I do believe that like many other programs, CommManager identifies ASCII keys from HEX by their lenght. (ie. for a 64bit key the ASCII key is 5 characters, while the hex is 10; 13 and 26 for a 128bit key respectively)
I could check and change my router to use a key with digits greater than 10, and report back, but once again, I'm only speaking for myself, YMMV.

My ASCII WPA key was randomly generated and has unusual characters in it - I had to convert the key from ASCII to hex on my PC (I used linux) and then used the converted value to connect.
My desktop PC uses the ASCII key and my mobile devices use the hex conversion of the ASCII key.

So I tested, and set a completely random hex key, including non-english characters, and the hex key worked like a charm on my HTC Vox, just as I expected.
h0me5k1n said:
My desktop PC uses the ASCII key and my mobile devices use the hex conversion of the ASCII key.
Click to expand...
Click to collapse
So, you're saying that you, too, haven't had problems using HEX keys on your mobile?

Related

Wizard - re-assign keyboard key

Is there possible to re-assign a Keyboard key (maybe windows key that I don't use) to "Sym" key (2nd function on Space key)?
Will be a fast way to input symbols or specific Country caracters like á, â, é, ç, ó, etc... because is only necessary one click instead "function+space".
Anybody know how?
Thanks
Try to check this site
http://ae.inc.ru/aekmapbuy.php
osvold said:
Try to check this site
http://ae.inc.ru/aekmapbuy.php
Click to expand...
Click to collapse
I think this program will not work... because is a function key (not a character key)!
Anybody know how?
may be, i understood you wrong, but the AEKmap is able to remap returns on winkey + something pressed, and that is exactly, what you want, isnt it?
look at this part of the aek format reference
; "Win" key scan codes.
; Specify up to four 4-digit hex scancodes to enable internal Win key
; monitoring routine. Or leave it empty to use Win key state returned by system
; Standard keyboard Win scancode is 085B
WinKey
sure, probably you cant assign the symbol key directly to win key, but you have to specify, that
winkey + something = á
winkey + something2 = â
etc.

Setting national characters. How to?

is there any tweak that would allow to configure Universal keyboard, to enter national characters from WWE ROM?
I mean pressing key sequences to enter special characters, like:
',' + 'c' to issue a 'ç'
'´' + 'a' to issue a ´á'
...
The regional settings, doesn't hep on these.
Maybe a registry keyboard layout setting for Portuguese!?
Hi,
using the SYM key, near the SPACES key, will solve your problem? By pressing this key when you are wrinting some national character, w'll find in this process a nice way to solve your problem.
Regards
MM
It works. Thanks.
Took a few seconds to figure out how it works, after your hint.
Great!
Conchas said:
It works. Thanks.
Took a few seconds to figure out how it works, after your hint.
Great!
Click to expand...
Click to collapse
You can change the order of the special characters in order to suit more to your needs. There is a file ‘sym.txt’ at the windows folder. You have to edit this one. The best way to do is to copy the file to your desktop computer, do the necessary changes and copy back to your XDA.

I need some help with the softkeys please.

I have just downloaded GFDOOM for my Wizard and it runs great. However the key layout is just not working for me. I have managed to find an ASCII sheet for virtual keyboards that lets me assign the keyboard keys to the functions that I would like however I would also like to give it a try with out using the keyboard as the key spacing is not too suited to gaming. I would like to assign the voice and camera keys to left and right strafe and the IE key to fire. The problem is that I dont know the key code for those keys.
An example of the keys:
Calendar = A
Contacts = B
Messages = C
IE = ??? (its not D)
The same goes for voice and camera, I dont know the key for those buttons. If someone knows the answer or knows if they have an ASCII character code, I would appreciate the help ending this headache.
I have only had a PPC for about two weeks now so Im very new at all of this. Please be gentle. I have attached GameFreaks readme for the key assignment along with the ASCII code list I found below, maybe you can make more out of it then I can.

USB keyboard, hex codes in qwerty.kcm

Hello,
I'm trying to get a usb keyboard working properly and I'm hoping someone can give me some help.
I used the getevent command to find the scan codes for all the keys on my keyboard and updated the qwerty.kl file accordingly
however, there's a few keys that I would like that I don't know what to do with in the qwerty.kcm file, eg. caps lock, esc
for letters, numbers, and punctuation it's very straight forward but for things like space, enter and tab, there are hex codes - 0x20, 0xa, 0x9 respectively
does anyone know where these numbers are coming from and if there are any for caps lock and escape?
EDIT: like 3 seconds after posting this I realized that those are just the ascii values of the characters..
that should have been extremely obviously
I should be able to get the escape key to work now
not sure what to do about caps lock though..

[PRO] Remapping hardware buttons / hardware keyboard

Hi folks,
I'm trying to remap the hardware buttons of my rooted Xperia Pro with stock ICS 4.0.4, but there are some quirks that trouble me.
Basically, I want to
1.) remap the language button on the QWERTZ hardware keyboard.
2.) Prevent the camera button from unlocking the phone - just press power to show the lock screen, then hold camera button, the press home key and you'll see how easy it is for the phone to unlock in your pocket.
So far, I parsed through the keyboard layout files in /system/usr
I remapped key 368 in pm8058-keypad.kl to CTRL_LEFT, which did not seem to make any difference! Language button still invokes language dialog
I also modified quertz.xml and qwerty-en.xml by replacing META_LANGUAGE with META_CTRL_LEFT - did not make any difference.
Of course, I rebooted the phone inbetween...
Regarding 2), I have no clue. Butting WAKE_DROPPED behind CAMERA and FOCUS in pm8058-keypad.kl does not help.
I could use some help with key remapping as well. If I find some info i'll send it your way.
No progress for me so far... anyone?
kyanox said:
I could use some help with key remapping as well. If I find some info i'll send it your way.
Click to expand...
Click to collapse
I want to re-map the 0 (Zero) key and the OK button orientation on the PIN Lock feature. Any info what files I need to change?
I GOT IT!!! partially at least....
Reading through http://source.android.com/tech/input/key-character-map-files.html and http://source.android.com/tech/input/key-layout-files.html once again, I finally found something that pointed me into the right direction!
I order to make my change to the Language button work (remapping key 368 to CTRL_LEFT), there are two possible ways:
1.) Set hardware keyboard to FULL keyboard type by replacing "type ALPHA" with "type FULL" in /system/usr/keychars/pm8058-keypad.kcm
This will make the hardware keyboard work without any additional GUI, so pressing shift will allow you to select text and copy&paste via ctrl+a,c,v,x now works (This still depends on the app you are using. Some do ignore this, some will still work with menu+a,c,v,x instead)
But beware:, in order to enter numbers or upper case letters, you now have to keep the modifier key pressed.
Printable characters can be edited via /system/usr/keychars/pm8058-keypad.kcm, non-printables like modifier keys can be edited via /system/usr/keylayout/pm8058-keypad.kl
Android keycode names can be found here: http://source.android.com/tech/input/keyboard-devices.html
Until now, I was unable to create a solution for entering special characters like ä,ö,ü
I tried to via sym or meta keyword in .kcm file while mapping the Sym key to SYMBOL or META_LEFT via the .kl file, but it didn't work...
2.) The .xml files in /system/usr/keyboard-config/layouts are used only with the keyboard configured as "type ALPHA". In order to identify the correct .xml file, you have to parse through the files in /system/usr/keyboard-config/languages and look for the script keyword, which in conjunction with the declarations in /system/usr/keyboard-config/keyprint.xml will tell you to the layout xml file for your device localisation.
Now, in order to remap printable characters, you have to edit the correct layout xml file and for non-printable characters, you have to edit the scancodes.xml file in /system/usr/keyboard-config.
Unfortunately, shift-selecting text will not work with "type ALPHA" mode and it seems that editing scancodes.xml is not sufficient to remap language button to CTRL_LEFT, but the .kl file has to be changed, too.

Categories

Resources