-
01-24-2012 12:28 PM #1
HOW-TO remap hardware button in ICS
I wanted to remap the HOME button on Bmorn V99 (Allwinner) to BACK function as there is no hardware BACK button.
I tested the ButtonRemapper from XDA but it wont do the trick.
I did some research and found a way to remap the hardware keys and i will share it here.
These instructions are for Bmorn V99 running 4.0.1 but same method cold be applied to any ICS device, you just need to find the right files to edit.
Short version:
1. Fire up adb
2. Edit the key mapping file /system/usr/keylayout/sun4i-keyboard.kl
on second line change HOME to BACK
Long version (coming tomorrow, its 2AM)Last edited by andropos; 01-24-2012 at 03:53 PM.
Samples Clearance Sale - Tablets and TV sticks
*** Next Uhost2 Group Deal for 49USD ***
* Best 3D Games * Best dual-core CPU * Best Android Apps
* Help fight spam -> How to report spam * Blacklisted Sellers
* Contact me on IRC * Donate Bitcoin - 1NBYdyoeq45QN5RtVX6E95gKFXUrU1LTbU
> Tablets on hand: Ramos W30 | Ainol Novo 10 Hero II | SmartQ U7H
-
01-27-2012 04:20 PM #2
1.6 Donut
***
- Join Date
- Dec 2011
- Posts
- 204
- Points
- 2,271.42
One note before mucking about in your key mapping file, make sure you have everything you need backed up. Alternatively you can always reflash as well, but in that case make sure you have are able to reflash. A good point to add is regardless of how you wish to restore yourself it is always a good idea to keep the original version of your sun4i-keyboard.kl file (maybe make a copy and rename it to sun4i-keyboard.kl.BAK)
I'm unsure why Button Remapper wasn't able to work for him as it's basically doing the same thing as he's doing by hand (editting the key mapping file). It maybe because he doesn't have SuperUser and the root settings correct yet? I have tried this on my Onda Vi30W and it seems to work fine.
-
02-19-2012 11:42 AM #3
Yes, i was not able to use the app to remap cos of the permissions. SuperUser and other rooting apps didnt work as well. So editing via adb was the only way it worked for me.
Thanks for pointing out the backup which should be a standard practice when hacking your device.Samples Clearance Sale - Tablets and TV sticks
*** Next Uhost2 Group Deal for 49USD ***
* Best 3D Games * Best dual-core CPU * Best Android Apps
* Help fight spam -> How to report spam * Blacklisted Sellers
* Contact me on IRC * Donate Bitcoin - 1NBYdyoeq45QN5RtVX6E95gKFXUrU1LTbU
> Tablets on hand: Ramos W30 | Ainol Novo 10 Hero II | SmartQ U7H
-
02-22-2012 03:29 PM #4
Beta
**
- Join Date
- Jan 2012
- Posts
- 18
- Points
- 253.15
there is a app for that
-
05-25-2012 05:18 PM #5Samples Clearance Sale - Tablets and TV sticks
*** Next Uhost2 Group Deal for 49USD ***
* Best 3D Games * Best dual-core CPU * Best Android Apps
* Help fight spam -> How to report spam * Blacklisted Sellers
* Contact me on IRC * Donate Bitcoin - 1NBYdyoeq45QN5RtVX6E95gKFXUrU1LTbU
> Tablets on hand: Ramos W30 | Ainol Novo 10 Hero II | SmartQ U7H
-
05-26-2012 03:31 PM #6
Beta
- Join Date
- Nov 2011
- Posts
- 9
- Points
- 91.82
I have remapped my T05A tablet's buttons with this app: https://play.google.com/store/apps/d...d.allwinnermod
From Google Play description:
Good luck!Change what the physical buttons do, for example you can change the BACK button to VOLUME DOWN, start APP SWITCHER or to start the CAMERA application
-
05-27-2012 08:59 AM #7Samples Clearance Sale - Tablets and TV sticks
*** Next Uhost2 Group Deal for 49USD ***
* Best 3D Games * Best dual-core CPU * Best Android Apps
* Help fight spam -> How to report spam * Blacklisted Sellers
* Contact me on IRC * Donate Bitcoin - 1NBYdyoeq45QN5RtVX6E95gKFXUrU1LTbU
> Tablets on hand: Ramos W30 | Ainol Novo 10 Hero II | SmartQ U7H


LinkBack URL
About LinkBacks
Reply With Quote


