How Do I Replace Characters On Samsung Keyboard - Other Tools & General Discussion

Replace character on Samsung Keyboard
Long time viewer, first time poster. Hoping someone can help find a solution, or at the least point me in the right direction please.
Absolutely loving everything about the stock keyboard, but getting driven to madness by duplicate / key replacing the $ symbol (please see pic here ( tinypic .com/r/adkjmh/8 ))
Does anyone know where the file location is to modify the keyboard and replace the / key (currently set as SHIFT + 4) to a $ symbol.
Browsing other posts, they mention /usr/system/keychars, but every file in this folder appears correct... Done the obvious and changed the input language to no avail. =(
Decompiled SamsungIME.apk but completely lost sourcing the correct xml file... (hopefully been looking in the right place)
Any assistance would be greatly appreciated.

Related

Orange Plugin - What goes where?

Just a clarification question...
I found the following files, packaged in a .cab, but don't think I need all of them and don't know where to put the files I do need.
Here's what I have:
4orangeh.dll
HomePage.xml
HomeScreen.dll
HomeScreen_menuF.bmh
HomeScreen_MenuS.bmh
orange.scheme.xml
OrangeHomescreen.home.xml
I'm thinking that the 4orangeh.dll is the only file I need and that it goes in the application data/home directory, and that the other files are associate with a homescreen this particular individual authored. Is that correct or no?
Thanks for the help!
ahhhh
NO.....nononono....thats wrong.
You got the units for ABAXIA (all the files above exept the 4Orangeh.dll)and 4OrangeH.
You may copy the files to /Application Data/Home and register the .dll manually with wm5regsvce.exe.
May not work stable, but you got this: (Link to another Thread by me about the 2 DIFFERENT OrangePlugins called Abaxia and 4OrangeH (4Orangeh includes 10 different Plugins)
ClickMeHard
The Top Image is Abaxia, the second Images are 4Orangeh.Abaxia is poooooor, 4OrangeH really Impressive
Nice arpy!
You wouldn't know where I can find some (English) documentation on how to use this plugin?
erm,no...sorry.Ive created a German Doc with all needed attributes for this Plugin, it was a hard trip and needs a lot of try-and-error-sessions to get nearly all informations about it.
Here is a Howto in German, it includes nearly all Attributes and Parameters needed for 4OrangeH.Not finished yet...there are some more undocumented Features, like FreeMemory,Messages,Ringtone...it is like an OWN HOMESCREEN-PROCESS, so it can Host more than one Plugin in one Line...an REALLY DAMN ****IN **** MISSING FEATURE in my lovely SmartPhone.
the file maybe helpful, if you always create Homescreens...
Thank you. I'll try and see how this comes through a translater.

Can you change the keyboard alt-modifier chars?

Well, I am currently fooling around with my ADP1 and the one thing that bothers me the most is the fact that the keyboard isnt that well suited for me as Norwegian characters arent easily accessible (I need to hold a in order to get å, etc). I was just wondering if its possible to change what the alt-modifier chars do? (alt+k returns a " for example). I would love to have it as I have on my Touch Pro, where Fn + certain keys give me my norwegian letters
Thanks!
you can write your own key layout map by modifying existing english one.
tell me, if you are interested in and i can guide you
I might be interested in this as well... Depends on how hard it is to do!
Thanks,
Christopher
Here is the thing:
You should take qwerty.kcm file
http://android.git.kernel.org/?p=pl...b_plain;f=emulator/keymaps/qwerty.kcm;hb=HEAD
which is a text file needed to generate key layout.
This file is actually not exact from G1 keyboard, because some meta-symbols are from another key layout.
If you open it, you can find 7 columns like this:
Code:
F 'F' '3' 'f' 'F' '[' '['
The first and the second tells you what key is being considered.
Forth - what symbole would be produced, when you press the key
Fifth - the same, but with _shift_
Sixth - the same, but with _alt_
So what you need to do, is to edit certain column and add symbol you need.
For example both x and alt+x produce the same char 'x', so you can change alt+'x' on whatever you want.
The best way is to enter a Unicode code for you symbols, if they are not covered with ASCII. Based on this:
http://www.fiskeklubben.org/charcters/digitized.html
you should use 00E6 for æ. In this file it should be typed as 0x00E6
When you insert character you need and adjust some other characters, you can send this layout to me and I will generate binary file for layout, which you can use on your G1
Well, it should be easier than it seems to be.
hmm, looking at the qwerty.kcm file, it doesnt all make sense. Take x for example. Fn+x should give x, as you said.. but in the .kcm file, x is displayed like this:
X 'X' '9' 'x' 'X' '8' 0xEF00
Where the the FN-coloumn shows an 8 instead of x. Any idea why?
That is because I don't have layout file for G1.
This file is for some common android device, and fn-keys (or you can call it alt-keys) differs.
So first we need to modify it in order to match with real G1 keyboard.
There is also qwerty2.kcm file
http://android.git.kernel.org/?p=pl..._plain;f=emulator/keymaps/qwerty2.kcm;hb=HEAD
may be it is closer to real G1, but anyway does not match 100%
Ah, will take some time to edit it to match the G1. Il work on it though! What do I do with the binary layout after you're done though?
Thanks for the help
You should backup your G1 layout file and replace with new.
Ive made this one, Not 100% sure its fully correct, but it should do the trick!
I compiled it (though I have to change euro and pound symbols into unicode).
Code:
R 'R' '7' 'r' 'R' 0x00A3 0x20AC
S 'S' '7' 's' 'S' '|' 0x00DF
T 'T' '8' 't' 'T' 0x20AC 0x00A3
I tried it with emulator, seems to work fine.
The idea is: to replace /system/usr/keychars/trout-keypad-v3.kcm.bin with new file.
Here are the details:
I do not write exact instruction, hope you realize how to log into device and copy files.
Now, log to your device. Be sure you have system in rw mode.
otherwise you have to remount:
#mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
navigate to /system/usr/keychars/
#cd /system/usr/keychars/
if you type ls you can see a whole bunch of files, I recommend to backup them all.
if you have busybox installed (if you don't, you'll have to do it manually by dd if= of=)
Code:
#cd /system/usr/keychars/
#mkdir backup
#busybox cp * ./backup/
now you need to replace a file trout-keypad-v3.kcm.bin with attached
Changes should affect newly started applications and it should take some time to affect already running (other words you have to type a lot into them in order they run garbage collector and reload keylayout)
Other thing, if your phone is not US G1 your system may be using other file to read layout (not trout-keypad-v3.kcm.bin ). You can check it if you type getevent:
Code:
# getevent
add device 1: /dev/input/event4
name: "compass"
add device 2: /dev/input/event3
name: "trout-nav"
could not get driver version for /dev/input/mouse1, Not a typewriter
add device 3: /dev/input/event2
name: "trout-keypad-v3"
add device 4: /dev/input/event1
name: "synaptics-rmi-touchscreen"
could not get driver version for /dev/input/mouse0, Not a typewriter
could not get driver version for /dev/input/mice, Not a typewriter
add device 5: /dev/input/event0
name: "h2w headset"
As you can see mine using
Code:
add device 3: /dev/input/event2
name: "trout-keypad-v3"
Finally, if you'll succeed, we can write a fancy guide for other people.
WARN: if you mess up badly with layouts you probably won't be able to start telnetd from G1 keyboard and other stuff like this.
So be sure you can login to your G1 from pc with root access and revert changes. I am using JF 1.3, so I can log in via adb shell with root any time from my pc.
Thanks for the guide! I have a question regarding the qwerty file though. What about the keys on the G1's keyboard that is not in the qwerty file? Such as the @-key?
Untouchab1e said:
Thanks for the guide! I have a question regarding the qwerty file though. What about the keys on the G1's keyboard that is not in the qwerty file? Such as the @-key?
Click to expand...
Click to collapse
I don't know, what would happen if you do not map all keys (probably it will yield an error upon certain key or just give nothing), but @ is present in your layout:
Code:
AT '@' '@' '@' '@' '@' 0x2022
I have a question please.
Usualy double click on the up arrow key change the keyboard layout to full upper case, is there any way to set that the double clicking on it will change the layout to other language and not upper case?
I understood that there is a difficult with changing the layout, maybe that may be a nice solution at least for some of us.
zrubi
I don't think there is a strait forward way to do it by now.
But soon (Feb 2009 I think) T-Mobile will introduce G1 to some European countries other then GB, so Google have to develope some easy way to change layouts by this time.
worry said:
zrubi
I don't think there is a strait forward way to do it by now.
But soon (Feb 2009 I think) T-Mobile will introduce G1 to some European countries other then GB, so Google have to develope some easy way to change layouts by this time.
Click to expand...
Click to collapse
Hi!
worry, first of all, thank you for all your research and work on keyboard layout. I've been following your research here and on russian forums.
I've also investigated this topic a bit and found the following following property described at http://www.kandroid.org/android_pdk/keymaps_keyboard_input.html as the one which would allow to switch the layout dynamically without kcm file substitution, but unfortunately it does NOT work.
setprop android.keychar.trout-keypad-v3 /system/usr/keychars/qwerty_ru.kcm.bin
Do you have any new information on this topic?
Do you happen to know how French and German keyboard layout switch is implemented (if there is any switching at all)?
Thank you!
i wanna change my @ button to a /
This is incredible! One step closer to be able to switch keyboard layouts on G1.
Thank you, guys!
How can I change the characters which's showed when I hold a char on keyboard ? (for an example : hold "A" and see)
And how can I creat a new type rule ? For an example I type double "A" an it become "Â", and if type triple "A" , it will return "AAA" and creat an option to on/off this feature ?
worry said:
...you can send this layout to me and I will generate binary file for layout, which you can use on your G1
Click to expand...
Click to collapse
So how exactly does one generate the binary file? I'm eager to know so I wouldn't need to ask people to do that for me when trying out layouts
Does anyone have the .kcm (not .kcm.bin) file for US G1 or ADP? (I guess it's trout-keypad-v3.kcm) or know where I can find it?
/Mats

Help localizing a program - drop down boxes won't open after editing

Hello,
I'd like to ask for some expert help with editing the resources of the EXE file of a piece of software. The application's name is NetChanger, it's Japanese, and I am editing it using XN Resource Editor.
I am having the following problem: if I rename (from JP to EN) any item on an expandable menu or the label of a drop down box, the same will no longer open. When restored to its Japanese text, the drop down works as expected.
For anyone caring to take a look, please download and open attached file (only XN Resource viewer shows Japanese text normally, all other editors show ?????).
Example - the main menu, or tap "Register" > General Wireless (ticked) > Next -- on the screen that opens, if I edit anything on it, even not the label of a drop down box, but say the TCP/IP Settings button - none of the drop downs works anymore.
Note: simply place folder anywhere on your pocket and start the program, it will work.
Sorted
It seems XN Editor was causing the problems. So I worked with it to show me the Japanese text but made the changes in PE Explorer and the program was OK.
I have created an install file that will install the English version to the device, although some bits are still untranslated, while others I simply did not understand the meaning of, so it is just what the machine translation produced.
If anyone is interested, test it and let me know if you have any suggestions or comments.
The install file will show the Agreement garbled - just tap the LEFT button to agree.
It says something about a trial from 2006 until April 2009 - this could be the reason why the Connect / Disconnect buttons are greyed out, but otherwise it seems like a decent piece of software.
I have included a machine translated Help file in the ZIP - replace the file in Windows directory with it, if the JP file is installed there.

[Q] Modify Gingerbread keyboard emotes?

Has anyone found a way to modify the emotes that are standard with the Gingerbread keyboard?
In modify, I mean to edit the emotes to something else such as without the "-". For example, to make an emote a : ) instead of as I'm sure no one ever uses the latter. Further, editing the order of the emotes would be even better.
I find myself never using the emote key as a result of this and inputting the emotes myself which is a hassle - especially when there is already a dedicated key for this.
I'm sure someone can do this through some .xml editing or something.

WINCE satnav ceFFM-0.3.5 got running

Really this should be on the developers forum, but I cannot post there.
New 7" Chinese satnav, WINCE6.0.
cdFFM-0.3.5 put on TF card and run.
Errors in lines 2251, 2277, 2264, 2270, 2258 for info seem to be links, probably already there - pointing elsewhere.
After reboot many menu items don't work, run MortScript.exe (in root directory of ceFFM), this will allow the scripts to work thereafter, and the menu items work (note some are dummies - useful for modding).
It doesn't boot unless you do the simple kludge below.
To boot into ceFFM use "Navi Path" button to point Navigation to CEMenu.exe (in root directory of ceFFM), then check button takes you to cdFFM, then you can use "Navi Path" button to "Auto run GPS when startup" and you are straight into ceFFM.
[My path was SDMMC\cdFFM-0.3.5\CEMenu.exe, for example].
You then need to edit the navigator link in the programs directory.
In my case it was iGO8 so I edited SDMMC\cdFFM-0.3.5\PROGRAMS\iGO8.lnk to point to my navigator program like this:
23#"\SDMMC\iGO8\iGO8.exe"
The 23# is the number of characters in "\SDMMC\iGO8\iGO8.exe" (+1 for some reason)
Please note that quite a lot of the menu items in ceFFM are capable of brikking your device.
Now a question
OK, I know its poor form to reply to your own post but...
Two things still not sorted for this satnav:
1) A 480x800 version of NaviPlayer. I don't know how to set the skins to work.
2) The satnav will not load .CAB files. Even if I put wceload.exe and run it pointing to the required file, it just claims the .CAB file is not valid. I've tried quite a few, and I think they are. I presume its a means to prevent people modifying the device. Stand alone .exe's work just fine. Anyone got a fix for this, its really irritating!
If wceload.exe fails, and then probably only signed .CAB-files are accepted. Workaround: Allow installing unsigned .CAB-files. You do this by editing device's registry as
following:
[HKEY_LOCAL_MACHINE\Security\Policies\Policies]
"00001001"=dword:00000001
"00001005"=dword:000000DE
"00001006"=dword:00000001
"00001017"=dword:00000010
"0000101a"=dword:00000001
"0000101b"=dword:00000001
HTH
jwoegerbauer said:
If wceload.exe fails, and then probably only signed .CAB-files are accepted. Workaround: Allow installing unsigned .CAB-files. You do this by editing device's registry as
following:
[HKEY_LOCAL_MACHINE\Security\Policies\Policies]
"00001001"=dword:00000001
"00001005"=dword:000000DE
"00001006"=dword:00000001
"00001017"=dword:00000010
"0000101a"=dword:00000001
"0000101b"=dword:00000001
HTH
Click to expand...
Click to collapse
That's neat...
OK, not that unexpectedly I find no entry \security\policies\polices .
"security" is found:
use\comm\security
machine\comm\security providers
machine\comm\security
machine\software\microsoft\Rpc\securityService
value: machine\software\Rpc ="DCOM Security"
machine\software\internet explorer\security
value: machine\software\internet explorer\security\basic = "security name"
machine\software\internet explorer\security\NTLM = "security name"
"policies" doesn't appear at all.
I found a reference to "username = guest", but neither appeared anywhere else.
I did spot in machine\OEM that value "app" is a path that points to the OEM menu system (main.exe).
May be possible to intercept here (if you wanted).
root\.cab is set to name "@"=64 value "cabfile"
hmmm... nothing that leaps out at you ...
bother!
farmeroz said:
That's neat...
OK, not that unexpectedly I find no entry \security\policies\polices .
Click to expand...
Click to collapse
Create it!
OK I did that, rebooted.
A bit scary as I haven't added such things before...
Still doesn't work.
Attempting to 'run' nitro.cab (nitrogen renamed) fails
However the OS claims that there is no application associated with 'nitro'.
However .CAB is a cabfile under \root\
and a cabfile default icon is \SDMMC\ceFFM-0.3.5\system\wceload.exe,-101
shell\open\command is \SDMMC\ceFFM-0.3.5\system\wceload.exe\"%1\"
So (whilst I haven't a clue) I would expect .cab files to be spotted.
farmeroz said:
OK I did that, rebooted.
A bit scary as I haven't added such things before...
Still doesn't work.
Attempting to 'run' nitro.cab (nitrogen renamed) fails
However the OS claims that there is no application associated with 'nitro'.
However .CAB is a cabfile under \root\
and a cabfile default icon is \SDMMC\ceFFM-0.3.5\system\wceload.exe,-101
shell\open\command is \SDMMC\ceFFM-0.3.5\system\wceload.exe\"%1\"
So (whilst I haven't a clue) I would expect .cab files to be spotted.
Click to expand...
Click to collapse
Use Win32 "MSCEInf" utility (it's freeware, google for it) to extract any .CAB file, if "wceload" doesn't work for you. After having extracted the .CAB, you are able to copy the application/data to any location of your choice at mobile device.
Oooh... That looks like a solution....
Didn't work. Can't see why though.
Hmmm. That editor shows (XML)
[Version]
Signature = "$Chicago$"
CESignature = "$Windows CE$"
Provider = "BenThon"
surely chicago is a win9x version?
I thought I had, but reading the long Nitrogen thread I don't think I did.
There doesn't seem to be a version for wince5/6, that's downloadable from anywhere, even though it exists somewhere because people have run on wince5 systems. Microfi is overworked...
I was somewhat under the impression that mobile was +- same as CE, but clearly not.
Signature="$Chicago$"
simply tells you the machine's OS the cab was built on[
I guessed that, sadly after I had posted.
Basically for my satnav I need a music player to play in the background, easily reachable from iGo8 (using megaduck99 skin, I have now got just how I want it!) nav screen and back. Really all I ever want to do is skip to the next track, as with 1000+ MP3's, sometimes you just aren't in the mood for some of them. Naviplayer (if it had an 800x480 skin) is finger usable for this whilst driving. Then (with bluetooth) I can just plug the satnav into my car radio (FM is rather poor quality) and utter perfection .... (who needs CD's these days?).
I'll have to have another stab at working out how to run the skins on naviplayer.
Your front end, particularly with the wealth of apps, is excellent. I have now put it on a no-name 7" netbook I use to backpack with, and now realise how slow it is compared to the more modern ones. Good enough for emails etc though.
NB I have been starting (manually) by running CEMenu.exe rather than ceFFM, is that what you intended?
To reskin NaviPlayer it merely suffices to have a folder named "mpskin" containing the files for the required skin copied from the examples given.
Its not immediately obvious because there is no default skin file provided (eg the small gold one it defaults to).
The fonts aren't quite right, either size or location
I have come across a bug in some of the apps. If I open notepad and the file-open, the entry box is not within the screen just far enough off that you can't grab it to pull it down. This is also the case in word. Doubtless somewhere there is a file that sets the position, any ideas? Annoying because I can't edit the mpskn.skn file....
Modified MP3P.SKN inside NAVIPLAYER\MPSKIN
This should work for all the 'Simple 3.1" skins.
If you want a button to appear when minimised you will have to adjust the button size/position/etc .
This is done in/with [MAIN_MIN_WINPOS]
If you have a larger button (as I do) then you will need to make a button of the appropriate size to replace the one in
BACK_MIN.BMP
I haven't done one yet, for iGO8 it will need to be under the bluetooth one, and similar size.
Hope this is useful.
NB I have no loader files for NaviPlayer (last good mod), I got it included in ceFFM.
;====Modified MP3P.SKN
[MP3 INFO]
MP3_Ver=1.0
[MAIN_WINPOS]
Width=800
Height=480
[MAIN_MIN_WINPOS]
Left=66
Top=0
Width=60
Height=24
WidthOne=1
[TRACK_POS]
Left=572
Top=129
Width=60
Height=14
SubValue=17
[TIME_POS]
Left=188
Top=129
Width=90
Height=14
SubValue=17
[SEEK_POS]
Left=212
Top=152
Width=373
Height=9
[INFO_POS]
Left=280
Top=189
Width=150
Height=9
;SubValue=0
[STATUS_POS]
Left=387
Top=375
Width=64
Height=38
[TITLE_POS]
Left=218
Top=65
Width=366
Height=20
[VOLBAR_POS]
Left=466
Top=272
Width=162
Height=6
[PEEK_POS]
Left=173
Top=250
Width=250
Height=28
SubValue=7
[VOLSLIDER_POS]
Left=466
Top=271
Width=162
Height=10
SubValue=3
;[TIMESLIDER_POS]
;Left=216
;Top=179
;Width=369
;Height=10
[PLAYOPT_POS]
Left=561
Top=184
Width=147
Height=12
SubValue=30
;====================
;Button Position
;====================
[BT_PLAY_POS]
Left=331
Top=330
Width=140
Height=150
[BT_STOP_POS]
Left=474
Top=285
Width=178
Height=49
[BT_PREV_POS]
Left=147
Top=396
Width=180
Height=84
[BT_NEXT_POS]
Left=474
Top=396
Width=178
Height=84
[BT_OPEN_POS]
Left=0
Top=102
Width=140
Height=73
[BT_MODE_POS]
Left=661
Top=342
Width=139
Height=138
[BT_ALBUM_POS]
Left=0
Top=182
Width=140
Height=73
[BT_EFFECT_POS]
Left=660
Top=485
Width=130
Height=70
[BT_EQ_POS]
Left=661
Top=182
Width=139
Height=73
[BT_PRESET_POS]
Left=661
Top=261
Width=139
Height=73
[BT_MULTI_POS]
Left=0
Top=23
Width=140
Height=73
[BT_VOLDN_POS]
Left=147
Top=342
Width=180
Height=50
[BT_VOLUP_POS]
Left=474
Top=342
Width=178
Height=50
[BT_MUTE_POS]
Left=0
Top=261
Width=140
Height=73
[BT_EXIT_POS]
Left=661
Top=23
Width=139
Height=73
[BT_MINIMIZE_POS]
Left=661
Top=102
Width=130
Height=73
[BT_SHUF_POS]
Left=0
Top=342
Width=140
Height=138
[BT_MIN_NORMAL_POS]
Left=0
Top=0
Width=60
Height=24
[BT_MIN_NEXT_POS]
Left=62
Top=0
Width=4
Height=24
[BT_MIN_MUTE_POS]
Left=68
Top=0
Width=4
Height=24
;==============================
; IMAGE LIST
;==============================
[IML_NUMBER]
Width=16
Height=12
[IML_STATUS]
Width=32
Height=38
[IML_PLAYOPT]
Width=49
Height=12
;==============================
; COLOR Type : BGR (0xffffff)
;==============================
[COLOR]
Info=0xffffff
Title=0xffffff
Seek=0xffffff
PeekLeft=0xffffff
PeekRight=0xffffff
VolumeBar=0xd14a00
;==============================
farmeroz said:
Please note that quite a lot of the menu items in ceFFM are capable of brikking your device.
Click to expand...
Click to collapse
You really experienced it? If so then you should specify them here to clarify things.
ceFFM's Original Thread
jwoegerbauer said:
You really experienced it? If so then you should specify them here to clarify things.
ceFFM's Original Thread
Click to expand...
Click to collapse
Sorry for the delay, HDD MBR problems....
No, I didn't brick my machine, I am very cautious. However being able to play with the registry, hexeditors etc, is potentially hazardous.
Hmm, on reflection its a combination of not knowing what they all do, and not knowing my way round winCE. Ie ignorance.
String not closed
China gps KENMOO 7', wince 6. Hello, excuse my English. Trying to install ceFFM, the installation begins, but then the message: String not closed (mising quote)
Line 3631 (\ SDMMC \ ceFFM.mscr)
If (key EQ "Startup), and it's over. I can modify anything? Installing on SDcard. Thank you.

Categories

Resources