younglo / androidiani-openrecovery

Automatically exported from code.google.com/p/androidiani-openrecovery
0 stars 0 forks source link

[Enhancement] An option to change keyboard's layout ? #28

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

First, thanks for the amazing work done on this recovery.
Would it possible to add an option to change the keyboard's layout (QWERTZ, 
QWERTY, AZERTY, EURO QWERTY) ?

It seems like nadlabak wrote a script (which is used in GOT's OR) for that and 
since he/she recommends your OR for his/her CyanogenMod port for Milestone, I 
thought he/she would be ok if you add it to your OR also.

Hope it can be done cause it's so easier to change the layout through recovery 
instead of using ADB or terminal.

Thanks :D

Original issue reported on code.google.com by Brice....@gmail.com on 19 Oct 2010 at 1:02

GoogleCodeExporter commented 8 years ago
It's "he" :).
The simple script is here: http://android.doshaska.net/kblayout

Original comment by kabal...@gmail.com on 19 Oct 2010 at 3:11

GoogleCodeExporter commented 8 years ago
Ok thank you and thank him so :)

If I understand correctly, all I have to do is
- unzip the keyboard script and copy its content to the 'bin' and 'keychars' 
folders in OR,
- run the script through the dedicated menu in OR.

If this assumption isn't correct, could you please give me a short how to ?
Thx  =)

Original comment by Brice....@gmail.com on 19 Oct 2010 at 3:45

GoogleCodeExporter commented 8 years ago
Ok, it worked except that it also changed the recovery main menu and I lost 
some tweaking options ... I guess this has something to do with the fact that I 
replaced the 'init_recovery.sh' file with the one from the keyboard script.

Is it ok to not replace this file ? Will I keep the "complete" recovery menu 
and still be able to permanently change the keyboard layout ?

Original comment by Brice....@gmail.com on 19 Oct 2010 at 4:31

GoogleCodeExporter commented 8 years ago
Do not replace the whole init_recovery.sh file, only add this line to your 
existing file (somewhere between the other main menu init echo commands near 
the end of the file, before the echo "Done."):

echo "Change Keyboard 
Layout:scripted_menu:keyboard_layout.menu:menu_keyboard_layout.sh" >> 
"$MAIN_MENU_FILE"

Original comment by kabal...@gmail.com on 19 Oct 2010 at 5:58

GoogleCodeExporter commented 8 years ago
Ok, I'll add the line to the init shell file (didn't thought it could be as 
simple).
Thanks again for explanations :)

Original comment by Brice....@gmail.com on 19 Oct 2010 at 6:08

GoogleCodeExporter commented 8 years ago
Will add this in v. 3

Original comment by colaiann...@gmail.com on 19 Oct 2010 at 7:42

GoogleCodeExporter commented 8 years ago
too late for v.3
will add it tomorrow in 3.1

Original comment by colaiann...@gmail.com on 26 Oct 2010 at 10:11

GoogleCodeExporter commented 8 years ago
my bad, is in v.3 under settings :)

Original comment by colaiann...@gmail.com on 26 Oct 2010 at 10:18

GoogleCodeExporter commented 8 years ago
Ha ha.
I see that you are doing the same error as was in GOT OR 2.0 (recently fixed in 
their 2.01).
You are replacing not only sholesp2a-keypad.kcm.bin, but also 
sholesp2a-keypad.kl.
Any reason why? All the sholesp2a-keypad.kl files are exactly the same for 
different layouts. But the sholesp2a-keypad.kl from moto test 2.2.1 firmware 
will break the hw keyboard on CM6 (TOGGLE_LANGUAGE on line 17 is not defined in 
standard AOSP/CM6).
Please don't touch the sholesp2a-keypad.kl, thanks :).

Original comment by kabal...@gmail.com on 28 Oct 2010 at 3:52

GoogleCodeExporter commented 8 years ago
Keyboard layout stupidity still included in 3.1?
Come on, guys :).

Original comment by kabal...@gmail.com on 29 Oct 2010 at 10:12

GoogleCodeExporter commented 8 years ago
Just an addition. If I may suggest, use the attached file for the euro_qwerty 
layout instead of the Motorola's original, so the $ can written by alt+shift+4.

Original comment by kabal...@gmail.com on 29 Oct 2010 at 11:15

Attachments:

GoogleCodeExporter commented 8 years ago
Done in 3.11 :D

Original comment by colaiann...@gmail.com on 29 Oct 2010 at 2:39

GoogleCodeExporter commented 8 years ago
The issue is back in 3.2

Original comment by florent....@gmail.com on 18 Nov 2010 at 12:48