Android Tablets Forum banner
1 - 3 of 24 Posts

· Registered
Joined
·
1,352 Posts
Discussion Starter · #1 ·
Standard disclaimer: I'm not responsible for anything this may do, perform at your own risk, etc,etc. In the absence of a working softkey solution, I went ahead and modded the hardware volume keys. Currently I have them remapped to Menu and Back. I tried Menu and Home, but Home doesn't work for unknown reasons. I have successfully appled and reverted the fix multiple times with these files.I've attached the modded files for people who are lazy and/or not good with shell commands and just want to have it done. These files MUST be dropped into your adb directory with adb.exe. Again, DO NOT DROP THEM INTO A SUBDIRECTORY BELOW ADB.EXE, they must be in the same directory.Feel free to try tweaking gpio-keys.kl if you want to try mapping the two volume keys to other stuff. (I would really like to see why Home doesn't work). Volume up is key 5 in the file, Volume down is key 4.So anyways, "mod_volume_keys.bat" will1) Mount system partition rw2) push over file gpio-keys.kl.menu_and_back to /system/usr/keylayout/gpio-keys.kl3) Fix permissions and ownership4) Reboot deviceOnce your device reboots, you'll have the remapped keysIf you don't like the change, "revert_volume_keys.bat" will1) Mount system partition rw2) push over file gpio-keys.kl.orig to /system/usr/keylayout/gpio-keys.kl3) Fix permissions and ownership4) Reboot deviceand you'll be back to your original setup.
 

· Registered
Joined
·
1,352 Posts
Discussion Starter · #19 ·
Yeah, I wouldn't use this anymore. I mean, you still USE it, but this was one of the first hacks, when there wasn't much else. Now other people have taken this and folded nicely into larger consolidated install scripts.
 
1 - 3 of 24 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top