Congratulations to Cicadaman & co. for getting Froyo running on the Nook Color! Visit the nook Color portal!
See Rooting new hardware FIRST if you have a nook original with a 1003* serial# or above.
NookColor Remap volume buttons for back and menu
From nookDevs
Part of the NookColor portal
|
A ClockworkMod Flashable version of this for CM7 and Honeycomb builds is availiable here. It may work on Froyo or Stock builds as well, but hasn't been tested.
The NookColor Key information is stored in /system/usr/keylayout you can modify this to make the volume buttons act as back and menu (or any other button). This method uses ADB but you could probably use root explorer.
- adb pull /system/usr/keylayout/TWL4030_Keypad.kl
- adb pull /system/usr/keylayout/omap_twl4030keypad.kl
- edit 'TWL4030_Keypad.kl' and 'omap_twl4030keypad.kl' with a unix line ending aware text editor (Notepad++, gedit, vi)
- replace 'VOLUME_DOWN' with 'BACK' and replace 'VOLUME_UP' with 'MENU' in each (or vice-versa)
- adb shell
- mount -o rw,remount -t ext2 /dev/block/mmcblk0p5 /system
- exit
- adb push TWL4030_Keypad.kl /system/usr/keylayout/TWL4030_Keypad.kl
- adb push omap_twl4030keypad.kl /system/usr/keylayout/omap_twl4030keypad.kl
- adb shell
- cd /system/usr/keylayout
- chmod 644 omap_twl4030keypad.kl
- chmod 644 TWL4030_Keypad.kl
- exit
- adb reboot
Basic instructions taken from this thread. I just removed a few extraneous steps and recorded them here for posterity.
Newbie .. Some changes (for my nookcolor) because the code before didn't work fine --------
Thanks to those who know how to make clean stuff to correct this
My version is:
- adb pull /system/usr/keylayout/qwerty.kl
- edit 'qwerty.kl' with a unix line ending aware text editor (Notepad++, gedit, vi)
- replace 'VOLUME_DOWN' with 'BACK' and replace 'VOLUME_UP' with 'MENU' in each (or vice-versa)
- adb shell
- mount -o rw,remount -t ext2 /dev/block/mmcblk0p5 /system
- exit
- adb push qwerty.kl /system/usr/keylayout/qwerty.kl
- adb shell
- cd /system/usr/keylayout
- chmod 644 qwerty.kl
- exit
- adb reboot
and btw, the file TWL4030_Keypad.kl does not exist on my noocolor but I have twl4030-keypad.kl The changes on that file didn't do anything