FORUMS
Remove All Ads from XDA

{PRO} [Q&A] How to change physical keyboard layout on xperia mk16i

99 posts
Thanks Meter: 17
 
By Kiwyxda, Member on 3rd June 2012, 11:40 PM
Post Reply Email Thread
As I'm a newbie here, I'm not aloud to post this in the dev section.
So I'll explain how you can simply change you're physical keyboard layout on Gingerbread and ICS easily without flashing an appropriate kernel for the Xperia Pro mk16i iyokan.

-So first you need root access.

-second, you need to install a root explorer like ES file explorer.
activate the root access to /system in the option of ES file explorer.

-ones you're here, you need to identify all the layout you're rom got. they are listed as xml files in the directory:
/system/usr/keyboard-config/layouts
my rom contains almost all keyset imaginable.

-Now you've find the name of your keyset find the file :
/system/usr/keyboard-config/keyprint.xml

-edit it with the file explorer integrated file editor.

-you'll find a file formatted with a fanzy SE header and that:
HTML Code:
<Keyprint>
  <Script name="arabic" keylayout="arabic"/>
  <Script name="cyrillic" keylayout="cyrillic"/>
  <Script name="greek" keylayout="greek"/>
  <Script name="hebrew" keylayout="hebrew"/>
  <Script name="latin" keylayout="qwerty"/>
  <Script name="thai" keylayout="thai"/>
</Keyprint>
-Choose the alphabet you use and put the name of your layout without the xml file extension.
if you're europeen or american, I guest latin will be you're choice.
For arabic, greek, croatian russian... and every other languages using an another alphabet I let you choose
So for example if I want to change my latin layout from Qwerty to Qwertz
I replace the line

HTML Code:
  <Script name="latin" keylayout="qwerty"/>
by

HTML Code:
  <Script name="latin" keylayout="qwertz"/>
-so save the file and reboot you're phone, you should now get the right keyboard set for you're phone.

Or you can edit it with adb by pulling the file and pushing it after (but it's a bit more tricky

Have a good night and if anybody can move my thread in the good section I'll be very pleased

ps:
All credits and inspiration came from the original post of ameer1234567890 which provide a lot of flashable layout.
The Following User Says Thank You to Kiwyxda For This Useful Post: [ View ] Gift Kiwyxda Ad-Free
5th June 2012, 12:53 PM |#2  
ameer1234567890's Avatar
Inactive Recognized Developer
Flag Thulhaadhoo
Thanks Meter: 1,814
 
More
I think this works only on stock and stock based ROMs. Can someone please confirm if this works on a ROM like CM7 or CM9.
5th June 2012, 08:32 PM |#3  
Kiwyxda's Avatar
OP Member
Flag Around Paris
Thanks Meter: 17
 
More
I'd like to know too, because i used to use cm7 on htc dz but as cm7 or 9 are still in dev for mk16i I never tried them on mine for now
11th June 2012, 02:05 AM |#4  
Member
Flag riyadh
Thanks Meter: 4
 
More
Hey.can u be more specific? How to do this?
I got the file..and now what should i do?
Thnx

Sent from my MK16i using xda premium
11th June 2012, 10:45 PM |#5  
Kiwyxda's Avatar
OP Member
Flag Around Paris
Thanks Meter: 17
 
More
Quote:
Originally Posted by anamul.quader

Hey.can u be more specific? How to do this?
I got the file..and now what should i do?
Thnx

Sent from my MK16i using xda premium

I had an example in the tuto, if you still don't understand, I'll try to explain it again ;)

Good luck
12th June 2012, 11:08 AM |#6  
Senior Member
Thanks Meter: 33
 
More
This does not work in 3rd party apps (smart keyboard pro and swiftkey), also on some cases chrome will misbehave as well. I think chrome is bypassing the xperia keyboard when it's trying to be super-secure such as entering passwords.

Chrome won't show you virtual keyboard at all in such cases so I think it can be safely filed under BUG but that won't help if you can't sign in. Using opera mobile as a workaround works..

I'm pretty sure the stock gingerbread finnish firmware played nice with smart keyboard pro. There's a link in the "root" Xperia pro thread where you can download "hotfix" for Xperia pro. These claim to be keyboard layouts for various languages. These are NOT the text files you describe here but the actual android keymap files.

They did not work for me, though, boo. I'll have to try again. The files in keychars-folder (MAKE BACKUPS!!) are .kcm.bin while the originals are called .kcm. I would assume both are not used at the same time. In keylayouts (backup bro) the replacement files are .kl, same as original but smaller.
12th June 2012, 11:29 AM |#7  
Kiwyxda's Avatar
OP Member
Flag Around Paris
Thanks Meter: 17
 
More
3rd party keyboard has never been my point.
Stock android is handling physical keyboard a certain way, and virtual keyboard such as slide it or swiftkey do as they want with that kind of thing.
Switft never works correctly for me with stock rom or with custom rom.

Sorry if it doesn't work.
but if every software interprete keyboard there own way, we're damn lost. I never use Chrome but I guest it can also interprets keyboard layout its own way.

the flash fix you talk about is interesting, I'll try it asap. thks
12th June 2012, 07:39 PM |#8  
Senior Member
Thanks Meter: 33
 
More
Those keyboard layout/keychars files just make the HW keyboard stop working properly. I think they come from mini pro. Or at the very least they'd need some configury thingy somethere.

As a positive note, they DO make HW keyboard behave differently but swedish/finnish one definitely does not produce local chars.

Meh, I guess I need to fork up 2€ for wotanserver to get authentic finnish firmware.

FWIW I'm pretty sure stock finnish gingerbread firmware didn't have a problem with smart keyboard pro. And android + keyboard is a bit of a odd-man-out, we don't even get a forum..

Ed: Chrome works ok 95% of the time, I should file bug about text boxes where it goes crazy.
13th June 2012, 12:53 PM |#9  
Kiwyxda's Avatar
OP Member
Flag Around Paris
Thanks Meter: 17
 
More
That's too bad, that it doesn't work for you.
Fact is we are at the border of android with physical keyboard.
And ow with nexus 3 without physical button except for sound and power...
I think (not hope) that physical keyboard for phones is almost arrived at its end.
Regarding stock firmwares, my update to ICS made by official sony companion just put me a Qwerty layout :D so don't be so sure about stock firmwares ;)
28th September 2012, 03:23 PM |#10  
Junior Member
Thanks Meter: 0
 
More
Umlauts in quertz
anybody know how to fix the orders of the umlauts for qwertz layout in the pop-up and make the SYM-Button working?
flashing of files newer worked for me, or a could'nt more use the shortcuts like copy-paste...
see also this thread: http://forum.xda-developers.com/show...658959&page=20
26th October 2012, 10:16 PM |#11  
Member
Thanks Meter: 2
 
More
Battery Low Search trough the web for solution. nothing.
Physical keyboard has a driver, or own FW or sumthing?
And can i have the stock xperia physical keyboard app?
My sym button doesn't work, my direction arrows are weird, qwerty-stroke keyboard layout. But i accept the latin one too
Or where is this "driver"-stuff in the ROM? Can i copy from old ROM (which one is working), to ICS .587 (which don't)?

Thanks in advance
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes