xzckiller / openeve

Automatically exported from code.google.com/p/openeve
0 stars 1 forks source link

keyboard layout #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Trying to type a text
2. Text has qwerty output
3. Physical keyboard has azerty

What is the expected output? What do you see instead?
I just want to change the keyboard layout of the physical keyboard to azerty

What version of the product are you using? On what operating system?
Gb-system alpha

Please provide any additional information below.
I already tried the app keyboard language but nothing happened

Original issue reported on code.google.com by amaury.l...@gmail.com on 9 Apr 2011 at 9:06

GoogleCodeExporter commented 9 years ago
Issue 7 has been merged into this issue.

Original comment by wkp...@gmail.com on 18 Apr 2011 at 4:39

GoogleCodeExporter commented 9 years ago
Similiar problem.
Have QWERTZ Keyboard.
But if i use the QWERTZ Layout instead of QWERTY Layout then my special keys 
(orange ones) are fucked up and mixed random over the keyboard. So i used the 
eve_qwerty.kl , renamed a copy of it to eve_qwertz.kl and edit the file 
(changing the buttons Y and Z manualy).
my problem is fixed. :)
you can modify my way to solve this foor your own problem. :)

Original comment by Katzen...@gmail.com on 26 Apr 2011 at 11:19

GoogleCodeExporter commented 9 years ago
Katzen // ok. this is kcm problem not *.kl problem

Please see KeyboardMapping

and why don't you attach qwertz keyboard layout of your phone if you can ?

Original comment by wkp...@gmail.com on 26 Apr 2011 at 11:40

GoogleCodeExporter commented 9 years ago
oh sorry forgott.
i thought i had it attached.
but it is only a alpha like fix.
because i changed the buttons Z and Y with all of its special functions.

Original comment by Katzen...@gmail.com on 26 Apr 2011 at 11:44

Attachments:

GoogleCodeExporter commented 9 years ago
I mean not your *.kl file. I mean your real keyboard layout. (jpg,png etc)

*.kl is not intended to modified.
If you change *.kl, you can't change keyboard from qwerty to 
qwertz/azerty/dvorak easily. (KeyboardMapping)

Original comment by wkp...@gmail.com on 26 Apr 2011 at 11:49

GoogleCodeExporter commented 9 years ago
Issue 50 has been merged into this issue.

Original comment by wkp...@gmail.com on 26 Apr 2011 at 11:50

GoogleCodeExporter commented 9 years ago
http://www.7mobile.de/pics/art,1128,d0_xl2/gw620-eve-schwarz-lg-google-android-e
mail-handy-d0-xl2.jpg This is my Layout.
Only Z and Y are changed on my device.
i have a QWERTZ Layout.

Original comment by Katzen...@gmail.com on 26 Apr 2011 at 11:55

GoogleCodeExporter commented 9 years ago
http://forum.openetna.com/index.php?topic=892.0

it says V20D is qwertz and V20E is azerty.

Original comment by wkp...@gmail.com on 26 Apr 2011 at 11:55

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I have 20D.
I think i will decompile this .bin file for my device, fix it, recompile it and 
use it on my phone.

Original comment by Katzen...@gmail.com on 26 Apr 2011 at 11:59

GoogleCodeExporter commented 9 years ago
this is fixed qwertz kcm.bin

just revert your eve_qwerty.kl and install it into /system/usr/keychars/

Original comment by wkp...@gmail.com on 26 Apr 2011 at 12:04

GoogleCodeExporter commented 9 years ago
thank you. test it now.
no. don't work.
z button make y etc.
and the orange special buttons are messed up.

Original comment by Katzen...@gmail.com on 26 Apr 2011 at 12:18

GoogleCodeExporter commented 9 years ago
did you revert your eve_qwerty.kl ?

 1. you have to revert *.kl (then reboot)
 2. change your Keyboard Mapping in
  "Settings=>Language & Keyboard => built-in keyboard => Keyboard Mapping => QWERTZ
 3. reboot (or just restart some app like as browser.)

Original comment by wkp...@gmail.com on 26 Apr 2011 at 12:32

GoogleCodeExporter commented 9 years ago
i revert my .kl file.
now pushed the files again on my device.
restart it.
change layout to qwerty and then qwertz again.
reboot.
and...
Writing SMS and writing in the google search app...
most of the orange special letters are messed up.
y and z are like in QWERTY and not QWERTZ.
i use QWERTY again.
there is only Y and Z changed. the orange letters are normal.

Original comment by Katzen...@gmail.com on 26 Apr 2011 at 12:44

GoogleCodeExporter commented 9 years ago
OK. I have checked V20D's eve_qwerty.kcm
but there is no difference between v20G's kcm with v20D's
---
> i use QWERTY again.
> there is only Y and Z changed. the orange letters are normal.

OK. the default QWERTY mapping is almost same as (V20G, KH-5200) keyboard 
mapping.
(KH-5200 is GW620 variant in Korea)

this is a new keyboard mapping based on V20G's keyboard mapping
(and I also have attached the kcm source)

Original comment by wkp...@gmail.com on 26 Apr 2011 at 1:16

GoogleCodeExporter commented 9 years ago
oops!

this is a correct qwertz.kcm

Original comment by wkp...@gmail.com on 26 Apr 2011 at 1:34

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you very much.
I love you for your help.
Hope this works now. :)
Pushed it on my Device and restart it now.
And....

The same bad behaviour. :(

Hmm.
This error can't be in the layout files.
It must be in the code that loads these files. :(

Original comment by Katzen...@gmail.com on 26 Apr 2011 at 1:53

GoogleCodeExporter commented 9 years ago
erm. the sourcecode was wrong or boot files were wrong?
i try it again.

Original comment by Katzen...@gmail.com on 26 Apr 2011 at 1:56

GoogleCodeExporter commented 9 years ago
Same bad behaviour.
Nothing changed.

Original comment by Katzen...@gmail.com on 26 Apr 2011 at 1:58

GoogleCodeExporter commented 9 years ago
It works fine for me. It just swap Z<=>Y.

you can attach your working *.kl / *.kcm.bin
I will check the difference between originals

Original comment by wkp...@gmail.com on 26 Apr 2011 at 2:18

GoogleCodeExporter commented 9 years ago
Okay. I put it together in a .7z-File.

Original comment by Katzen...@gmail.com on 26 Apr 2011 at 2:28

GoogleCodeExporter commented 9 years ago
check points

 1. check persist.sys.kcm.eve_qwerty property

   adb shell getprop persist.sys.kcm.eve_qwerty ("eve_qwerty" is device name)

    eve_qwerty_qwertz

 2. check persist.sys.kl.eve_qwerty

   adb shell getprop persist.sys.kl.eve_qwerty

    eve_qwerty

 3. or reset persist.sys.kl.eve_qwerty property

   adb shell setprop persist.sys.kl.eve_qwerty eve_qwerty

 4. check your eve_qwerty.kl

   ...
   key 21    Y
   ...
   key 44    Z

Original comment by wkp...@gmail.com on 26 Apr 2011 at 2:29

GoogleCodeExporter commented 9 years ago
On the 2. Part
 adb shell getprop persist.sys.kl.eve_qwerty
I get NO message back.
only empty line.

Original comment by Katzen...@gmail.com on 26 Apr 2011 at 2:32

GoogleCodeExporter commented 9 years ago
> no message back

that's ok. the default value is "eve_qwerty.kl"

what is your working good setting for "Keyboard Mapping"
(no matter what "Y/Z")

"QWERTY" or "QWERTY(GW620)" ?

Original comment by wkp...@gmail.com on 26 Apr 2011 at 2:41

GoogleCodeExporter commented 9 years ago
and did you have installed this update zip ?

http://code.google.com/p/openeve/issues/detail?id=3#c41

you have to install update-gb-110414.zip under recovery mode (using clockwork 
recovery.img(gb-recovery.img) or everarecovery.img)

Original comment by wkp...@gmail.com on 26 Apr 2011 at 2:50

GoogleCodeExporter commented 9 years ago
I installed the last Kernel update. Thought that was included in it.
I will install now this patch and look if it will work.

Original comment by Katzen...@gmail.com on 26 Apr 2011 at 2:54

GoogleCodeExporter commented 9 years ago
I mean the last Boot image. This last testing boot image that must be installed 
as .zip..

Original comment by Katzen...@gmail.com on 26 Apr 2011 at 3:00

GoogleCodeExporter commented 9 years ago
update-gb-110414.zip is not boot image. it is keyboard/layout related update
it contains fixed Settings.apk / fixed *kcm / default eve_qwerty.kl etc.

Original comment by wkp...@gmail.com on 26 Apr 2011 at 3:21

GoogleCodeExporter commented 9 years ago
Thank you and the patch-maker very much!
it works now.
great job. :)
now my mobilephone is 10% bug free (only the features I use are 100% bugfree 
now. sometimes a bug happens. ^^).

Original comment by Katzen...@gmail.com on 26 Apr 2011 at 6:51

GoogleCodeExporter commented 9 years ago
I recompiled a *.kcm.bin file for LG GW620 with Arabic letters. could you 
please include it in future updates

Now any blue letter can be used correctly by the alt key even if it is an 
Arabic letter. every Arabic letter in white can be accessed by Alt+Shift.

I have tested it and I can now write Latin and Arabic letters with correct 
symbols

Original comment by zoza...@gmail.com on 7 May 2011 at 9:55

GoogleCodeExporter commented 9 years ago
@zoza // good job. thanks :)
why don't yo attach the source of kcm.bin with your comments ?

Original comment by wkp...@gmail.com on 7 May 2011 at 10:10

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Here is the source eve_qwerty_arabic.kcm. I used unkcm.py to decompile then 
kcm.exe to recompile. 

Note:

I also added the "\" symbol to the "." button by pressing shift+"." because it 
is missing from this physical layout. 

Original comment by zoza...@gmail.com on 7 May 2011 at 2:26

Attachments:

GoogleCodeExporter commented 9 years ago
zoza>>> .. works great  thanks .. 

Original comment by justsad.eng@gmail.com on 7 May 2011 at 2:29

GoogleCodeExporter commented 9 years ago
@zoza // It has no comments it just decompiled source. :)

you can even add your contact name / email address / date ... etc. to this kcm 
source.

e.g.)

# author zoz ...
# date : 2011/05/08
# changelog
# * blah blah..
# url : http://code.google.com/p/openeve/issues/detail?id=3
#

Original comment by wkp...@gmail.com on 7 May 2011 at 5:54

GoogleCodeExporter commented 9 years ago
Ok I'm not a developer so I wouldn't know. I added what you suggested and I 
recompiled the file after discovering that I missed an Arabic letter.

Please find the attached updated files

Original comment by zoza...@gmail.com on 8 May 2011 at 10:01

Attachments:

GoogleCodeExporter commented 9 years ago
OK!
this is update for GB 2.3.4 (not for GB 2.3.3)

http://code.google.com/p/openeve/downloads/detail?name=update-gb-sensor-110509.z
ip

Original comment by wkp...@gmail.com on 9 May 2011 at 2:58

GoogleCodeExporter commented 9 years ago
Arabic keyboard mapping by Zozanyo

https://github.com/wkpark/android_device_lg_eve/commit/b4e8d249b3630c51bb8e9a63e
29ce266381475a2

Original comment by wkp...@gmail.com on 11 May 2011 at 10:12

GoogleCodeExporter commented 9 years ago
This issue isn't fixed in system-gb-20110514a-snapshot.img: 

localhost / # getprop persist.sys.kcm.eve_qwerty 
qwertz
localhost / # getprop persist.sys.kl.eve_qwerty 
eve_qwerty-qwertz

So actually the settings are exchanged. The name for the keylayout should be 
the one for the character map and vice versa.

this will fix (well, yes, it's ugly) it: 
adb remount
adb shell
cp /system/usr/keylayout/eve_qwerty.kl 
/system/usr/keylayout/eve_qwerty-qwertz.kl
cp /system/usr/keychars/eve_qwerty-qwertz.kcm.bin 
/system/usr/keychars/qwertz.kcm.bin

Original comment by seeg...@gmail.com on 16 May 2011 at 6:24

GoogleCodeExporter commented 9 years ago
@seeg // OK. thanks. You have some kind of bug.

"persist.sys.kl.eve_qwerty property" property is not used.
(See als KeyboardMapping)

so you have to reset this property by following command.

 setprop persist.sys.kl.eve_qwerty ""

then reboot, thats all you have to do.

and retry to check your setting.
In Settings => Language & keyboard settings => Built-in keyboard => Keyboard 
Mapping.

after above resetting, you can use the qwertz kbd.

because:
 1. /system/usr/keychars/qwertz.kcm.bin is totally not readed. its name is wrong.
 2. /system/usr/keylayout/eve_qwerty-qwertz.kl is not readed after reset "persist.sys.kl.eve_qwerty"

Original comment by wkp...@gmail.com on 17 May 2011 at 12:36

GoogleCodeExporter commented 9 years ago

Original comment by wkp...@gmail.com on 21 May 2011 at 5:39