gong-gy / connectbot

Automatically exported from code.google.com/p/connectbot
Apache License 2.0
0 stars 0 forks source link

HTC_IME virtual keyboard does not work properly on HTC Magic #152

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Just connect and try to send a pipe on the virtual keyboard.

What is the expected output? What do you see instead?
Im expecting to see a pipe in the terminal but nothing happens.

What version of the product are you using (you can see this by using Menu
-> About in the Host List)?

ConnectBot 1.5.2(r316 2009.06.17)

What type of system are you trying to connect to?
FreeBSD atom0.xserv.dk 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1
07:18:07 UTC 2009    
root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

OpenSSH_5.1p1 FreeBSD-20080901, OpenSSL 0.9.8e 23 Feb 2007

If you are able to connect, what is the output of "echo $TERM", "uname -a",
and any other relevant information on the host?

$TERM = screen

Original issue reported on code.google.com by lbl%unoc...@gtempaccount.com on 18 Jun 2009 at 4:04

GoogleCodeExporter commented 8 years ago
Hm, I'm not sure what's going on there. It works for me and there haven't been 
any
relevant changes since that release. Do you still have this problem? Are you 
using
UTF-8, ASCII, or something else?

Original comment by kenny@the-b.org on 30 Jun 2009 at 11:33

GoogleCodeExporter commented 8 years ago
Not to mention the type of the host.  You can't even type a pipe in local on a 
HTC
Magic.  BTW my SSH host:
$ uname -a
Linux xxxx 2.6.28-13-generic #44-Ubuntu SMP Tue Jun 2 07:57:31 UTC 2009 i686 
GNU/Linux

OpenSSH 1:5.1p1Ubuntu1

Original comment by tak...@gmail.com on 3 Jul 2009 at 6:47

GoogleCodeExporter commented 8 years ago
Just to make sure, you're pressing the button that the mouse cursor is on in 
this
screenshot, right?

Original comment by kenny@the-b.org on 3 Jul 2009 at 8:41

GoogleCodeExporter commented 8 years ago

Original comment by kenny@the-b.org on 3 Jul 2009 at 8:48

Attachments:

GoogleCodeExporter commented 8 years ago
I'm wondering if you guys have special virtual keyboard layouts. If you do, 
please
let me know which ones you have. If this isn't an issue, I'd also like to know.

Original comment by kenny@the-b.org on 5 Jul 2009 at 2:11

GoogleCodeExporter commented 8 years ago
I'm going to close this since there's been no updates. If you're still 
experiencing
this issue, feel free to respond to the questions above.

Original comment by kenny@the-b.org on 15 Jul 2009 at 7:09

GoogleCodeExporter commented 8 years ago
Sorry for delayed answer. It still dosent work. Demonstration attached.

Its an HTC magic bought in Denmark.

/Danny

Original comment by actionpa...@gmail.com on 16 Jul 2009 at 2:47

Attachments:

GoogleCodeExporter commented 8 years ago
I can confirm that the phone used in the video above is the stock HTC Magic 
sold in
denmark.

So there is no special keyboard layout on it.

/lbl

Original comment by lbl%unoc...@gtempaccount.com on 16 Jul 2009 at 7:53

GoogleCodeExporter commented 8 years ago
Okay, that looks like a different keyboard than what is on the VK stuff that 
comes
with Google Ion phones themselves and what's on the emulator.

Could you guys check to see what the name is of this keyboard? The package names
themselves, a system.img from an nandroid backup, or a pointer to an update.zip
equivalent for the Denmark phones would be great.

Original comment by kenny@the-b.org on 16 Jul 2009 at 8:03

GoogleCodeExporter commented 8 years ago
I just found the HTC_IME.apk looks like the keyboard shipped with your phone, 
but I
don't have any problems pressing | on that keyboard... hummm...

Original comment by kenny@the-b.org on 16 Jul 2009 at 9:26

Attachments:

GoogleCodeExporter commented 8 years ago
Seems odd.

That looks like the keyboard.

We are 8 people at work who got the same phone, so i will see if i can get some 
stuff
tommoro.

My phone is completly unhacked, and i woud like to let it stay that way.

/lbl

Original comment by lbl%unoc...@gtempaccount.com on 16 Jul 2009 at 9:55

GoogleCodeExporter commented 8 years ago
You could also send a request to tre.se if they have made any modifications or 
ask on
the http://swedroid.se website whether someone has some stock firmware from 3 
Sweden.

I was searching around for some clue of why it's different for you guys and the
closest I got was daldroid's dump of the system.

Perhaps you could even just do an "adb pull /system/app/HTC_IME.apk" from the 
phone...

Original comment by kenny@the-b.org on 17 Jul 2009 at 2:49

GoogleCodeExporter commented 8 years ago
Here is the file from the HTC Magic phone bought in Denmark.

Original comment by actionpa...@gmail.com on 17 Jul 2009 at 1:51

Attachments:

GoogleCodeExporter commented 8 years ago
That's the exact same file from daldroid's image. There must be something else. 
How
about the files in /system/usr/keychars and /system/usr/keylayout? Here are the 
MD5
sums (md5sum) of the files in daldroid's image:

85cb526e147ab6460c402985da2e421e  system/usr/keychars/qwerty.kcm.bin
68d3b0afdd2038dee02f27c8f8e9138e  system/usr/keychars/qwerty2.kcm.bin
75bd8caa091c214bc226bc711977db6f  system/usr/keychars/sapphire-keypad.kcm.bin
c171358e1e13f71fb7c1c40e5cf060c5  system/usr/keylayout/AVRCP.kl
62c47e6a99087f8e6daff8060aa2cd45  system/usr/keylayout/h2w_headset.kl
76392713806bdbb27c65273c8118a6f6  system/usr/keylayout/qwerty.kl
daa07994653977dc93394a075d38f405  system/usr/keylayout/sapphire-keypad.kl

Original comment by kenny@the-b.org on 17 Jul 2009 at 3:20

GoogleCodeExporter commented 8 years ago
Also the output of "adb shell getprop | grep key"

The emulator right now is using qwerty; maybe you guys are using 
sapphire-keypad...

Original comment by kenny@the-b.org on 17 Jul 2009 at 4:34

GoogleCodeExporter commented 8 years ago
$ cd /system/usr/keychars
cd /system/usr/keychars
$ ls
ls
qwerty2.kcm.bin
qwerty.kcm.bin
sapphire-keypad.kcm.bin
$

$ cd /system/usr/keylayout
cd /system/usr/keylayout
$ ls
ls
AVRCP.kl
h2w_headset.kl
qwerty.kl
sapphire-keypad.kl

danny@filserv:~/android$ md5sum *.*
c171358e1e13f71fb7c1c40e5cf060c5  AVRCP.kl
62c47e6a99087f8e6daff8060aa2cd45  h2w_headset.kl
68d3b0afdd2038dee02f27c8f8e9138e  qwerty2.kcm.bin
85cb526e147ab6460c402985da2e421e  qwerty.kcm.bin
76392713806bdbb27c65273c8118a6f6  qwerty.kl
75bd8caa091c214bc226bc711977db6f  sapphire-keypad.kcm.bin
daa07994653977dc93394a075d38f405  sapphire-keypad.kl

I found this in getprop:

[ro.product.model]: [HTC Magic]
[ro.product.brand]: [generic]
[ro.product.name]: [htc_sapphire]
[ro.product.device]: [sapphire]
[ro.product.board]: [sapphire]
[ro.product.manufacturer]: [HTC]
[ro.product.locale.language]: [en]
[ro.product.locale.region]: [IE]
[ro.board.platform]: [msm7k]
[ro.build.product]: [sapphire]
[ro.build.description]: [2.16.401.5 146733 CL#33743 release-keys]
[ro.build.fingerprint]: [htc_europe/htc_magic/sapphire/sapphire:1.5/2.16.401.5/3
3743:user/release-keys]

You are properly right about the sapphire-keypad. You need more information?

Original comment by actionpa...@gmail.com on 17 Jul 2009 at 8:10

GoogleCodeExporter commented 8 years ago
Issue 166 and this one are awfully similar.

Original comment by kenny@the-b.org on 14 Aug 2009 at 5:57

GoogleCodeExporter commented 8 years ago

Original comment by kenny@the-b.org on 14 Aug 2009 at 5:57

GoogleCodeExporter commented 8 years ago
I'm seeing this same issue. Pressing the pipe-like key on my HTC Desire bought 
in Denmark produces a ¦ rather than | (whoever thought that was a good idea 
needs to be shot). This is apparently also the case for a HTC Legend bought in 
Germany.

Original comment by ras...@gmail.com on 4 Jul 2010 at 2:34

GoogleCodeExporter commented 8 years ago
Also the HTC Hero has wrong pipe character.

Original comment by honklask...@gmail.com on 13 Jul 2010 at 11:02

GoogleCodeExporter commented 8 years ago
HTC Legend - Confirmed

Same issue on HTC Legend. They keyboard has the ¦ character but not the |. 
This causes issues in the terminal. I was able to copy a | character from the 
web for a quick fix but it would be nice not to have to do this. I also tried 
entering the ascii code for pipe (|), by pressing the track ball twice and 
entering 124, but no character was returned.

Best of luck,

Original comment by Tus...@gmail.com on 29 Jul 2010 at 3:04

GoogleCodeExporter commented 8 years ago
I too can confirm this bug on the Legend, it gives the ¦ -character and not 
the | -charachter... Is there workaround to get the desired | character on 
screen???

Original comment by robinvan...@gmail.com on 5 Aug 2010 at 3:30

GoogleCodeExporter commented 8 years ago
I'm seeing the same issue on a Droid Incredible. The ¦ character rather then 
the pipe character. Keyboard screenshot looks the same as already posted so 
It's probably the exact same issue.

Original comment by L4nd0n...@gmail.com on 18 Nov 2010 at 2:12