Change Qwertz set up on Pro Plus? - Droid Pro General

Hello just wondering if theres a way to change this. I had bought the phone through Amazon.de and it has a qwertz set up for the keyboard. Is there a way to swap the Z and Y?
Sent from my MB632 using XDA

HI,
Have the same question, is it possible to switch Y - Z behaviour via software?
Thanks!

Someone can help?

You have to root your phone and use button remapper or use another rom that had qwerty I also have qwertz changet to qwerty
Sent from my DROID Pro using xda app-developers app

Hey mulat666, check PM pls

So, finally I managed to find the solution. Button Remapper didn't work for me as it was possible only to modify 3 buttons (although rooted phone) and none of those was keyboard one.
I have switched the behaviour Y-Z and 6 and _ are at proper places now, i.e. "6" in a row with other numbers and "_" on the left bottom, next to shift. So full QWERTY now from QWERTZ layout on Motorola Pro+
How to:
1. Root your phone - solution found here: http://ivehadmine.blogspot.com/2012/05/root-motorola-pro-plus.html worked quick and with perfect result
2. In order to view and change system files I used Root Browser Lite (you need to give all superuser permissions)
3. Navigate to (use Root Browser) "system/usr/keylayout" and you'll see several files ending with"_keypad.kl". You will need to find out which one is responsible for your layout (e.g. mine was "surf_keypad.kl"). I modified each file one by one and after restarting device was verifying if change in respective file caused any change in QWERTZ layout. Before any modifications backup original files (e.g.copy to other destination but not in system folders)
3. Modification in .kl file is quick and simple - using text editor switch Y and Z positions, so now key 21 is assigned to Z and key 44 to Y. Save file and restart device (Quick boot app makes things quicker)
4. If you do it correctly, after restart you will have "semi" QWERTY layout. It means that pressing physical Z you will get Y, however alt+Z will result in "_" not "6". Same story with Y. To fix that you'll need to modify .bin file.
5. Go to "system/usr/keychars" and again you'll see several files with ".kcm.bin" extension. You have to find the one with same name as .kl file which you modified in step #3. In my case it was "surf_keypad.kcm.bin"
6. I modified ".kcm.bin" file on PC using XVI32 Hex editor (can be found here: http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm#download). After opening file modify following strings:
"Z 6 z Z 6 6 6" to "Z _ z Z _ _ 6" and "Y _ y Y _ _ 7" to "Y 6 y Y 6 6 7"
Save file and replace original system one. Remember to backup/copy original file! Restart device,
After reboot you should get QWERTY layout with proper 6 and _ placement :fingers-crossed:

Hi,
Is your solution should work on a droid 3 or 4 ?

Related

Unlock phone with optical joystick?

After searching I discovered this thread:
h t t p: / /forum.xda-developers.com/showthread.php?t=703539
What would need to be done to port this to the Incredible? I'd really like to be able to unlock the phone with the optical joystick (without using a 3rd party app, they don't work consistently).
Thanks for any info.
i would also love this feature in a rom if possible
We had the same idea i just started a thread on the same subject i'll delete mine if i get an answer. I believe I can get this to work I just don't know where to locate the keypad file on the incredible.
The keypad.kl file or are you talking about something else? I tried modifying the keypad.kl file but that doesn't do it.
I was talking about the keypad file i'm trying to edit it also right now.
It won't work. I was able to edit the file and get the settings to stick but my understanding is that file is for physical keyboards. I read somewhere (can't remember where) that it would need to be a kernel update to enable this setting.
well i can verify that editing the keypad file doesn't work. this was my first attempt at editing a file myself i got really excited when I found that other post about remapping the keypad because i hate using the power button. it was fun trying
Did you guys push the file over when you were in your phone or in recovery, if you did it when you are in the phone, nothing will stick.
I did it in recovery, before we even had unrevoked2 tool. I did this: renamed the original file and used cat /sdcard/incrediblec-keypad.kl > /system/usr/keylayout/incrediblec-keypad.kl to create the edited file in the correct directory. The changes stick after a reboot but hitting the joystick doesn't wake the phone.
The joystick seems to be controlled by a kernel setting, not this file.
I'd love to be able to do this, because the front buttons are much more accessible than the power button.
My change definitely took because the power button wouldn't work after I edited the file so I had to revert back to original file.
Wouldn't it be possible to have the power button work normally but also assign the wake function to the optical button as well?
Yes but it would require a kernel setting change. I have no clue how to modify kernels.

[GUIDE] Add/Remove Languages to swype keyboard

How to add/remove languages to swype.
Preparation
* Get a tool capable of working in zip files. I use WinRar. WinZip, Total Commander or anything else should also work.
* Get a Swype Version which works on your device (QVGA for Galaxy 3). Install and test it! This is your base - it has to run propperly so you customize it. You can find swype keyboard swype inside a stock rom.
* Check your swype version & download a swype (With any resolution).
* When i refer to "dummyfile.apk", that is always meant without quotation marks.
Customization
* When you find your swype that suits to your device, we start. I refer to it now as "myswype.apk"
* Open "myswype.apk" in WinRar/Total Commander/Winzip/WhateverYouLike - we wont unpack it, we work inside it.
* Delete the "META-INF/" Folder inside "myswype.apk"
* Go to "Assets/Files" inside "myswype.apk"
* Each standard language consists of 3 Files here: "Language.htm", "Language-full.htm", "Language.le" - some complicated languages like korean may consist of up to 5 files.
* Delete the Languages you dont need.
* Dont delete anything else! Important files are "languages.lst", "license.dat", the two "Numbers-XX-Latin1.zkb.le" files, the four "QwertX-XX-Latin1.zkb.le" files and all .png's!
* Now copy additional languages from the other swype with the languages you want here. Of course it is in the same location: "theotherswype.apk/assets/files/" - remember: 3 files per language!
* Open "languages.lst" in any text editor - even notepad will do! (I use Notepad++)
* Write a list of Languages you wanna use here. The name to use is the name of the .htm file without .htm. This is case sensitive!
* The Contents of the original language.lst as an example: "EnglishUS,Spanish,Italian,PortuguesePT,German"
* Open "helplanguages.lst" in any text editor and repeat above steps
* Delete unneeded keyboards from "assets/keyboards/". The "SwypeRef*" are QWERTY default, the rest is self-explaining like QWERTY or AZERTY. There is no way to see what language needs what keyboard. You either know or you have to test.
* Delete chinese help-file from "res/raw/dict_pinyin.mp3". It's only needed if you use chinese.
* Recheck all your steps and close your zip-tool!
Optional: Customize Skin and Sound
* If you wanna change the skin, modify the .png files at "myswype.apk/assets/keyboards" - the other .png files in the .apk are only for tutorial and help.
* There are some skins at XDA forum, which already made it to a custom .apk file.
* The one and only soundfile, played when typing or finishing a word, is located at "myswype.apk/res/raw/beep.mp3" - change this if you like
Finalization
* Download a sign tool from xda (Auto-apk-tool v1.0.7 its nice)
* Open it and press "10". Drag "myswype.apk" to the command and press enter.
* A file will be created (myswype_signed.apk).
* Thats it! you are done! install the .apk and have a nice day!
Troubleshooting
* If you find your language not working, that usually got one of 3 Reasons:
* You messed something up. Recheck your "language.lst" and "helperlanguage.lst" file and see if you have all needed language files in "assets/files"
* Your language is not allowed by our included license file. That happens a lot with new languages like the Chinese in 2.10.52. Users reported workarounds with renaming the language to some supported language. Like renaming Serbian to Croation.
* The language files you got are not supported by the latest swype version. Rule of thumb is, 1.x swype language files wont work with 2.x language files, but 2.x language files are compatible with each other. As far as i know this rule applys in most but not all cases. So search for another swype version containing your desired language and try that file.
* We obtained another license file. Right now, it is unknown which languages it supports, but it is from swype 2.7 asia galaxy s. the license we currently use is 2.4.44 based. give it a try, it might work with your language. please also give feedback, which language works/doesnt work. copy it it "assets/files/" and overwrite the exiting license.dat
* Swype languages from swype 2.XX dont work on swype 3.XX!
kyrillos13 said:
* If you wanna change the skin, modify the .png files at "myswype.apk/assets/keyboards" - the other .png files in the .apk are only for tutorial and help.
Click to expand...
Click to collapse
Kyrillos,
is it enough to resize the keyboard images from the other APK, or is there other trickery?
debaj said:
Kyrillos,
is it enough to resize the keyboard images from the other APK, or is there other trickery?
Click to expand...
Click to collapse
I havent tried it but it will work
I have installed Swype 3.xx from official site and procedure. Licensed.
Worked at first but after reboot, it started giving FCs. Nothing else can be done with anything related to swype now. I do have the apk backed up. Using that backed up apk, i re-installed it but now it says Invalid License and will work with limited functionality. which is basically no swyping at all!!
How do I get it to work again???
I did a search for "Auto-apk-tool v1.0.7" but results showed me only earlier versions.
Where can I get the version you mentioned?
jinxskore said:
I have installed Swype 3.xx from official site and procedure. Licensed.
Worked at first but after reboot, it started giving FCs. Nothing else can be done with anything related to swype now. I do have the apk backed up. Using that backed up apk, i re-installed it but now it says Invalid License and will work with limited functionality. which is basically no swyping at all!!
How do I get it to work again???
I did a search for "Auto-apk-tool v1.0.7" but results showed me only earlier versions.
Where can I get the version you mentioned?
Click to expand...
Click to collapse
Hm, you installed the swype.apk? sign apk with the auto apk tool http://forum.xda-developers.com/showpost.php?p=13254186&postcount=2
Thanks. Will try n let u know...
used your guide to add engish uk to wqvga on us english only. it worked perfectly have now integrated this uk only swype into my jpq! ty!
kyrillos13 said:
Hm, you installed the swype.apk? sign apk with the auto apk tool http://forum.xda-developers.com/showpost.php?p=13254186&postcount=2
Click to expand...
Click to collapse
Not working.
Used AutoApkTool you provided. Signed my Swype 3.xx.apk. Got a resulting Swype 3.xx_signed.apk.
Copied to SD.
Then using Root Explorer, copied apk to /system/app
Went to Locale & Text...
Saw Swype Settings (but the was no "Enable Swype" checkbox)
Tried entering Swype Settings. Gives force close.
Uninstalled!!
Went to SD. Tried installing directly by clicking on the Signed.apk.
Installed like any normal app.
Went to Locale & Text...
Saw Swype Settings (this time, there was "Enable Swype" checkbox also)
Checked it.
Entered Swype Settings. Language, audio & vibration were grayed out, cant select (not that i want them though )
Went to text input box, new message compose.
Selected Swype as Input Method.
BACK TO SQUARE ONE. "Invalid License. Will have limited functionality"
Cant SWYPE at all!!!
Yeah. If you take swype beta, you need a licence (which mean you need a cracked swype 3 qvga). So you can take one from a rom, or you should find one (type "mobilism swype" in google)
kyrillos13 said:
Yeah. If you take swype beta, you need a licence (which mean you need a cracked swype 3 qvga). So you can take one from a rom, or you should find one (type "mobilism swype" in google)
Click to expand...
Click to collapse
haha. Oh. is it? LOL
KK. will try that again.
Would I need to sign the new apk from mobism?
And what install method would you prefer?
Click install or Root Explorer method?
Thanks for previous help and thanks in advance for reply.
kyrillos13 said:
Yeah. If you take swype beta, you need a licence (which mean you need a cracked swype 3 qvga). So you can take one from a rom, or you should find one (type "mobilism swype" in google)
Click to expand...
Click to collapse
haha. Oh. is it? LOL
KK. will try that again.
Would I need to sign the new apk from mobism?
And what install method would you prefer?
Click install or Root Explorer method?
Thanks for previous help and thanks in advance for reply.
EDIT:
It works! It works! It works!!!! Thanks man. U the MAN!!!
But I didnt use the QVGA, I used the WQVGA one.
Didnt sign it again as I saw it was already signed.
Installed it like any other app.
Exellent guide. 5 stars . Thanks
how can I get Swype Keyboard v3.25 from your rom? Do I have to install it first and then find swype on my Galaxy 3? Can sbd upload it here?
I know this thread is probably forgotten (which is a shame, its great) but I feel like responding regardless.
1. Extracting Swype from a rom:​
windows- "Disk internals linux reader" can do apparently do it for windows. Thanks -Vinne2-
linux-extract factroryfs.rfs from the rom .tar. in a terminal cd to the folder with the file, then run (as root)
Code:
#mkdir mount
#mount -o -loop factoryfs.rfs mount
now the folder mount will be like the system folder in yourt phone, so go to the folder app and copy Swype.apk somewhere else.
mac - I don't have mac experience, but I think there might be a method similar to the one above for linux
Phone
Flash the rom, copy the file from /system/app/ (of course)
Put factoryfs.rfs on your sd card, do the same as for linux (isn't it great when your smartphone can do something that windows cant )
2. Installing your Swype​If you want to install it as a system app, you also have to put libSwypeCore.so in /system/lib. You can find libSwypeCore.so in the Swype apk in the lib folder. If you do this you can also delete the lib folder from the apk to save more space!
You can install it like a normal app (will go to data).
3. Signing the apk / -linux​There is no auto apk tool for linux so I made this script (well I didn't actually make it, I stripped down APK manager, so credits to Daneshm90( java is required, and I guess a chmod 755 may be necessary.
Extract, place the apk as Swype.apk in the "Swype-signing" folder, then run the script
Code:
$chmod 755 Script.sh
$./Script.sh
P.S. There was something else I wanted to say,... oh yeah, I dont know if I can post Swype here so if somebody wants it, I can send them the one from kyrillos's cm7/gingy rom (the 20+mb one with a lot of languages), just pm me and hopefully I'll see it soon afterwards .
I still have the feeling that I'm forgetting something
eidt: forgot the attachment
edit 2: forgot that our phone is linux based, updated the part about getting Swype.apk from a rom
stubborn_d0nkey said:
I know this thread is probably forgotten (which is a shame, its great) but I feel like responding regardless.
1. Extracting Swype from a rom:​
windows- I dont know of any method. I dont think windows can access .rfs files.
linux-extract fa(...)
Click to expand...
Click to collapse
Try "Disk internals linux reader". http://forum.xda-developers.com/showpost.php?p=21569967&postcount=298
since I'm using Galaxy Tab 7.7, don't really know where to ask but here goes... My phone have Swype and I'd like to add additional language in Swype. How can I do this?
Followed all the steps, but
getting force close when trying to use
If i am trying to install from apk(and not by file delete and copy) I get "application not installed.
What can I do?
I want to add hebrew to my swype on Galaxy 3
Hey chaps,
the Swype that comes with any Samsung is version 3.26.92.39150, it comes with many language options but with no arabic. This guy has an earleir version of swype with arabic. http://forum.xda-developers.com/showthread.php?t=1588906
Can you please do me an apk file with arabic files from the link above into a swype of version 3.26.92.39150? Thanks. I tried the steps from the 1st post, but it aint working. I even tried this but did not work:
Rename arabic files to greek ones, and replace the original greek files, in a plan to select greek, but get arabic. but it aint working.
Please advise.
I have a Samsung Note 3 with Swype that allows me to download some additional languages, does anyone know where those language files are located? Thanks.
awdrifter said:
I have a Samsung Note 3 with Swype that allows me to download some additional languages, does anyone know where those language files are located? Thanks.
Click to expand...
Click to collapse
same question.
I'm trying to add portuguese language using swype "add language" function but every try show me "error" so I want to download manually the language dictionary and also add manually to the direction/file where could be located and be "readable" by swype.
Thanks in advance for your help

ICS Physical Keyboard Mappings for SEA.

My Desire Z (South East Asia version) never had correct keyboard mapping on ICS (either sym key didn't work or wrong mapping for alt+?), so I dug around the keymap files and found that it was mapped wrongly. Turns out the SEA version (at least the ones that I have seen) have exactly the same keyboard as the WWE version.
In short, to fix the keyboard mappings on your SEA Vision:
1. copy /system/usr/keychars/vision-keypad-wwe.kcm to /system/usr/keychars/vision-keypad-sea.kcm
2. copy /system/usr/keylayout/vision-keypad-wwe.kl to /system/usr/keylayout/vision-keypad-sea.kl
3. reboot.
4. ???
5. profit (alt+? = " and sym key works).
Files attached in case it is needed. Just extract and put vision-keypad-sea.kcm in /system/usr/keychars/ and vision-keypad-sea.kl in /system/usr/keylayout/.
I have tested this with Andromadus. It might work with Virtuous Quattro and other ICS ROMs, but I have not tested it with other ROMs other than Andromadus. Do so at your own risk and backup files before replacing.
Hope this helps.

Trying to change menu button to app switcher (Hyperdrive)q

I'm running the hyperdrive rom and would like to change the menu button to the recent apps button, and the longpress home to google now like S5. I found an xposed module that does this but only for the note 3. Anyone have a solution for this?
Jaydawgx7 said:
I'm running the hyperdrive rom and would like to change the menu button to the recent apps button, and the longpress home to google now like S5. I found an xposed module that does this but only for the note 3. Anyone have a solution for this?
Click to expand...
Click to collapse
I can change the menu key to recent apps but not sure about longpress home.
Using a root File Explorer open generic.kl in system/user/keylayout with a text editor.
Go to key 139 and replace 'MENU' with 'APP_SWITCH'. Reboot and you're done.
For google now it should just be a matter of finding the appropriate key.
marxses said:
I can change the menu key to recent apps but not sure about longpress home.
Using a root File Explorer open generic.kl in system/user/keylayout with a text editor.
Go to key 139 and replace 'MENU' with 'APP_SWITCH'. Reboot and you're done.
For google now it should just be a matter of finding the appropriate key.
Click to expand...
Click to collapse
Thanks for getting me in the right direction here. However, when I alter the generic.kl file at all, both capacitive buttons quit working after a reboot. I tried replacing the altered file with a backup i made, rebooted, and they still don't work. The only way to restore function of the buttons is to reflash the rom. Any idea as to why? This seemed like an easy change.... (also tried editing the file via notepad++ on the pc with the same result)
Jaydawgx7 said:
Thanks for getting me in the right direction here. However, when I alter the generic.kl file at all, both capacitive buttons quit working after a reboot. I tried replacing the altered file with a backup i made, rebooted, and they still don't work. The only way to restore function of the buttons is to reflash the rom. Any idea as to why? This seemed like an easy change.... (also tried editing the file via notepad++ on the pc with the same result)
Click to expand...
Click to collapse
What file explorer are you using? ES explorer?
After editing and especially if you're pasting in a back up you need to make sure the files permissions are set to rw-r--r--
I personally used the text editor from Rom Tool Box Lite . Make sure there aren't any extra spaces and there should be no # in front of the key.
I just remapped and put them back to normal a few times and I'm not having any problems.
Let me know how you get on.
marxses said:
What file explorer are you using? ES explorer?
After editing and especially if you're pasting in a back up you need to make sure the files permissions are set to rw-r--r--
I personally used the text editor from Rom Tool Box Lite . Make sure there aren't any extra spaces and there should be no # in front of the key.
I just remapped and put them back to normal a few times and I'm not having any problems.
Let me know how you get on.
Click to expand...
Click to collapse
Thanks! I was using ES file Explorer... I don't know what happened amongst text editors, but the rom tool box text editor did the trick... I appreciate your time and patience. Now it's time to figure out how to change long press home to Google now... Thanks again
Jaydawgx7 said:
Thanks! I was using ES file Explorer... I don't know what happened amongst text editors, but the rom tool box text editor did the trick... I appreciate your time and patience. Now it's time to figure out how to change long press home to Google now... Thanks again
Click to expand...
Click to collapse
All good, glad you got it sorted.
Another option is home2shortcut it uses double tap instead of long press, just tried it for kicks and it works really well, quite snappy

[GUIDE] [ROOT] How to make your headset buttons be recognized by the Operating System

This guide will show you how to make a custom keyboard layout file so your OS will correctly recognize your headset buttons. Other guides have focused on modifying the generic.kl file, but this guide will show you how to make the keyboard layout file specific for your headset device.
You will need to be rooted to use all of the tools and install the file.
For background information, please google "android keyboard layout file" The first hit should be an android developer page about keyboard layout files. (I'm not able to post links)
I'm using a Xiaomi Mi Max and a Xiaomi headset with three buttons, but the guide should work for any combination of phone or headset.
1. Download keytest.apk (you'll need to google it or look for it on github)
Open the app, plugin your headset and press the buttons. The most important information given is the scanCode. Write down the scanCode for each button.
These are the numbers I had:
Top Button = 257
Middle Button = 226
Bottom Button = 258​2. Download Kernal Adiutor from the play store.
Open Kernal Adiutor and go to the input tab. At the bottom of the list of input devices you should see something related to your sound card and hopefully see a Button Jack and Headset Jack.
I saw this device listed: msm8976-tashalite-snd-card Button Jack
Your device will probably have a different name.​3. Create the .kl file.
a. Naming of the file.
The naming of the file is very crucial and must be exactly as listed in the Kernal Adiutor. Mine was: msm8976-tashalite-snd-card_Button_Jack.kl
Spaces should be replaced with underscores and it does appear to be case sensitive.
b. Contents of the file.
The file only needs to have 3 lines:
Code:
key 257 MEDIA_PREVIOUS
key 226 HEADSETHOOK
key 258 MEDIA_NEXT
4. Install the file.
The file needs to be installed at /system/usr/keylayout using a root explorer. For example: ES Explorer, Total Commander. ​
5. Reboot
6. Download Jays Headset Control or Headset Button Controller or any of the other headset controller apps from the Play Store. The app will recognize the MEDIA_PREVIOUS and MEDIA_NEXT and you can give the button presses additional functions, even beyond the functions found in MiUI.
Edit: If you don't want to use a third party app, you can create the file so the top and bottom button control the volume directly.
Code:
key 257 VOLUME_UP
key 226 HEADSETHOOK
key 258 VOLUME_DOWN
scurrvy2020 said:
4. Install the file.
The file needs to be installed at /system/usr/keylayout using a root explorer. For example: ES Explorer, Total Commander. ​
Click to expand...
Click to collapse
and don't forget to check permissions on your .kl file they must be -rw-r--r-- and o root g root
Thank you so much! I searched for hours for a solution to my problem that my Xiaomi headset control buttons do not function properly on my Mi Max device running Lineage OS until I found this. This really rescued me out of great disappointment as I use the headset alot and Lineage OS is really nice that apart from the problem mentioned above that really upsets me . I don't know it is the OS or my headset that is the problem but it is fixed now. Btw the the second post about setting the permissions is crucial as well, I tried 2 times not realizing that I had to do that, and of course it didn't work. Thank you so much guys. I wish you a nice day! :good:
Hi.. I follow your steps but still I failed to recognize my headset button on my Mi Max running RR rom N.
And I would like to ask you about your 2nd post
"and don't forget to check permissions on your .kl file they must be -rw-r--r-- and o root g root"
Can you please explain this on an easy way. Thanks
enzy29 said:
Hi.. I follow your steps but still I failed to recognize my headset button on my Mi Max running RR rom N.
And I would like to ask you about your 2nd post
"and don't forget to check permissions on your .kl file they must be -rw-r--r-- and o root g root"
Can you please explain this on an easy way. Thanks
Click to expand...
Click to collapse
Ok i used for this ES File Explorer
i.imgur.com/3POnumx.png (can't post image now)
I'm Mi Max 2 user and tried to use this method on it. I tried with HavocOS 2.4 and HavocOS 2.9 unofficial. It doesn't work. Keytest recognizes vol up and down buttons when I press them (code for vol up and down is 114 and 115 respectively), but after creating file nothing happens. Permissions for file are correct. File created in Solid Explorer. What can be the solution? What I'm doing wrong?

Categories

Resources