[App] ButtonRemapper - Beta v0.2.4 (New Galaxy S version added)

tikreen

Member
Jul 26, 2015
5
0
0
Xperia Z3 Volume Keys

Hi, i read some, and have this Xperia Z3 here, with a Marshmallow Custom, if that is important. I cannot seem to remap the Volume Keys, they do not appear in the list. I tried the Keytracker apk, and there the volume rocker and camera button have numbers, the camera button even being half-pressed. In the Buttonremapper, there are many buttons appearing, starting from 28 Vendor TV center) until 401 (Prog blue) . It seems that this smartphone is recognized as a TV remote, or do I have a virus or something? Keytracker says 114 and 115, and I would like to map it with Dpad right or some scroll down effect, like having a TAB key on the laptop. But in Buttonremapper there is no 114/115. Thanks
 

Sagehorn

Member
Dec 14, 2014
12
0
0
can somebody help me? the button remapper will not be saved in accessibility settings and when the screen is off it also doesn't work. app is already protected
 

stangri

Senior Member
Dec 19, 2009
1,144
823
133
Burnaby
Keytracker says 114 and 115, and I would like to map it with Dpad right or some scroll down effect, like having a TAB key on the laptop. But in Buttonremapper there is no 114/115. Thanks
I'd second this question, with KeynrTracker I see 104 and 109 codes generated by the side (page turning) buttons on my Boyue T63, but ButtonRemapper doesn't list those. I figured out the way to achieve the result I wanted by manually editing /system/usr/keylayout/rk29-keypad.kl file, but would like a neater solution.

Thanks!
 

tikreen

Member
Jul 26, 2015
5
0
0
I'd second this question, with KeynrTracker I see 104 and 109 codes generated by the side (page turning) buttons on my Boyue T63, but ButtonRemapper doesn't list those. I figured out the way to achieve the result I wanted by manually editing /system/usr/keylayout/rk29-keypad.kl file, but would like a neater solution.

Thanks!
Thanks! I succeeded in making this "broken" touchscreen phone usable with your advice. In the XperiaZ3 it is the same folder but the gpio-keys.kl, I edited it with "es file explorer" note editor after enabling root explorer in the settings and mounting my /system R/W - able. Now one can "tab" through with the 114 volume_down replacing it with DPAD_DOWN etc. I also replaced 566 FOCUS with ENTER, but that is only for my needs. Keep on haxxing.
 
Last edited:

rigattoni

Senior Member
Apr 27, 2010
1,174
316
113
Fuerth
I have a question regarding ButtonRemapper.
I´m using the app on my Android TV box (Android 6.0.1) which is connected to my Pioneer AppRadio by HDMI and the touch is provided by BT. The AppRadio has 3 hard keys for <back>, <menu> and <home> and they are recognized by the exact button number in the KeynrTracker.apk, provided in the first posting.
I don´t get the home and menu button to work despite the fact that the buttons are correct mapped in the keymapper file which is opened automatically in ButtonRemapper.
do you have any idea how to get this fixed?

BR
 

ITAdmin

Senior Member
Sep 6, 2006
176
1
0
Philadelphia
I'm not sure if this thread is still active or bein monitored by the author but I will try anyway...

I just recently acquired a Note 4 from a friend which had 6.0.1 on it. I downgraded to 5.1.1. and rooted it and one thing that's driving me crazy is the multi window button I think it's called on the bottom left of the phone? I absolutely do not want all those apps running that I see when I press that button and I don't need them. Maybe I am stubborn to change, but it just seems like a useless button to me. I am use to having a sub menu button there, so can this app return that functionality? Thanks!
 

glados19965

Member
Mar 29, 2017
25
1
0
İstanbul
Important questions will be marked with the tag FAQ when they are answered in this thread. Search for FAQ with the "search this thread" button to fetch them.

-------- Update notes --------

Update (Jan 22): New, separate version for the Samsung Galaxy S (This version is not compatible with the Galaxy S variants like the Captivate and Vibrant. A version compatible with these devices will be posted soon)

A special version for the Galaxy Tab can be found here .



------ Initial Announcement --------

* Beta* for full rooted devices. (NAND unlocked. Full, permanent write access to the system dir is needed)

Tool to remap the hardware buttons. Or better: a generic tool to edit the key layout map file Android uses to map the keys. (For info about key layout files, see:
http://forum.xda-developers.com/showthread.php?t=695936 and
http://source.android.com/porting/keymaps_keyboard_input.html)

Supported devices: All, except Samsung Galaxy S variants (only partial support. Update: new, separate version for SGS attached to this post), Droid 2 and Huawei U8110/Android 2.1. On the Vibrate and Captivate only a few buttons can be remapped.
(If you have issues with your device, please let me know)



Functions that can be assigned:
Code:
            "Power",
            "Home",
            "Menu",
            "Back",
            "Search",
            "Volume up",
            "Volume down",
            "Camera",
            "Focus",
            "Endcall",
            "Call",
            "Media Play Pause",
            "Media Stop",
            "Media Next",
            "Media Previous",
            "Media Rewind",
            "Media Fast Forward",
            "Dpad center",
            "Dpad up",
            "Dpad down",
            "Dpad left",
            "Dpad right"
As it with all root apps a Nandroid backup is adviced, because you never know.

Tips
In generall, these are the codes of the keys on a standard Android device (for people who can also edit the keyboard codes of a hardware keyboard):
Code:
		102, // home button
		114, // Volume down
		115, // Volume up
		116, // Power
		139, // Menu
		158, // Back
		217, // Search`
		231, // CALL              
		232, // DPAD_CENTER      
		108, // DPAD_DOWN        
		103, // DPAD_UP           
		105, // DPAD_LEFT         
		106, // DPAD_RIGHT  
		211, // HEADSETHOOK
		212, // CAMERA
		242  // FOCUS

Attached is a little helper app (KeynrTracker.apk) to identify the keynumber you want to remap .

Faq

Q: can you do also other remappings with the buttons, like for example long pressing, double press, context sensitive remappings etc.
A: For now, this is pretty much it. Check out LaunchKey if you also want to remap the long-press search button.

Q: So this is it?
A: I do plan to add some more functionality and to update the interface, but when that will be I can't tell.

Reviews

Review by Android Police

Review by Gizmoninja

Changelog
v0.2.4: Fixed restore problem on some devices (Thanks ljjehl for noticing)

v0.2.3: Hasn't never been released :)

v0.2.2: * Added support for the Droid X (Thanks Doug for your feedback!) * added an option to hot reboot the device after applying a change, so one can almost change buttons on the fly.

v0.2 Fixed UI issues * Fix for Galaxy S Variants * added (camera) focus as an option to the "remap list"


--
If you like the app and/or wish to support this project consider buying the donation version from the market (Search term: ButtonRemapper). Don't feel obliged though!
it doesnt work on zte blade 3 ı try everything but nothing changed
 

alereita

New member
Jul 15, 2017
1
0
0
Nexus 5

Hi I tried to use it with my nexus 5, but it seems doesn't work :( i tried to switch the power button (226) with the volume up button (115) by putting volume up and power respectively also with all the possible wake configs and rebooting it. Am i doing it wrong?
Thanks :)
 

Amar 721

Senior Member
Jun 29, 2016
83
10
0
Because an app is obsuring request, settings cannot verify your response please help me with this i cannot enable the service from the accessibility menu i tried every thing like disabling drawing of other apps over apps and even installing an app which fixes all this but nothing worked please help me