yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] colin23er:
Cubot S222 problem

Hi

Cubot S222 KitKat 4.4,2 kernel 3.4.67, baseband and build V6_CQ_4139C_D1BOM_V0.0.9_20141201

Installed Button Remapper to reverse the Back (158) and Menu (139) to be the same as my other Android's (No's from Tracker )

When I open Remapper the only options are media ones 200 , 201 , 166 , 163 , 165 , 168 , 208

Any Ideas

Colin
[Android Apps and Games] endryee:
Pleass elf my samsung galaxy s4 pleass update lolipop
[Android Apps and Games] xswordcrash:
can I uninstall this application without removing the remaps?
[Android Apps and Games] syhrzl:
for samsung note3, is it posible to change longpress action ?
[Android Apps and Games] IAmLucky:
hello, I would like to ask if it is possible to remap power button I games, in example, in some fps games there are 3 positions, walk, aim, shoot, but problem is we have only 2 thumbs, so is it possible to remap it so in game I could use power button for shooting? would be soon cool, but probably this needs some game edit too, but still looking if anyone knows how can I make fps games more comfortable.
[Android Apps and Games] shakoshk:
cant find button

helo, i have amazon fire phone with slimkat mod, this phone have camera buton but this mod dont uses it i want to remap button so whan i press it it will opens google play music, or otehr player, i install remaper and find that camera button is 358 but i cant find it in remapper, can you help me? sory for my bad english, and thanx for this great app :):)
[Android Apps and Games] apfo:
Can you choose long press the home button (hardware keys) to use Now on Tap? Thanks in advance
[Android Apps and Games] tikreen:
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
[Android Apps and Games] ziaulh.ch:
Can anyone tell me what is the key number for power button on HTC ONE M9? I need to disable that button. its faulty. I cant use the phone until I do it. TYI
[Android Apps and Games] Sagehorn:
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
[Android Apps and Games] stangri:
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!
[Android Apps and Games] tikreen:
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.
[Android Apps and Games] rigattoni:
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
[Android Apps and Games] ITAdmin:
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!
[Android Apps and Games] mdmaher:
Will it work for Grand Prime SM-G530FZ (5.0.2 /LOLLIPOP) ?
[Android Apps and Games] glados19965:
it doesnt work on zte blade 3 ı try everything but nothing changed
[Android Apps and Games] Nicholas.K:
Wrong thread, sorry, deleted
[Android Apps and Games] alereita:
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 :)
[Android Apps and Games] 1asbak1:
Would it be possible to include pinch to zoom gestures?
[Android Apps and Games] Veestaai:
Used to remap power button to camera. Now the phone(Oneplus 3t) is in bootloop plz help
[Android Apps and Games] sirdoha:
Can someone instruct me how to make a hard button execute two functions at the same time? appelflap
[Android Apps and Games] Amar 721:
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
[Android Apps and Games] kingoftaruus:
i guess im too new to see where to download the actual butonremmaper apk?

advice plz
[Android Apps and Games] PFnove:
I also can't download the apk file, and it's impossible to find on the Play Store

Help?
[Android Apps and Games] rigattoni:
There is nothing to download. The dev is inactive since 2018.
[Android Apps and Games] PFnove:
I've seen apps from 2010 still working on Android 13, if there was a download it would work
[Android Apps and Games] rigattoni:
You really want to use an abandoned app which is now nearly 15 years old? Really???

If yes, look at the first page of this thread. There is somewhere the original APK available...
[Android Apps and Games] appelflap:
My program exactly uses one of the files in that folder.

Not all layout files are used by the system (for example qwerty.kl is just a standard android layout file, it only will be used when a device manufacturer didn't define it's own layout file or when it is just missing. Otherwise it isn't used). The trick is to find out which one is used by the system. The editting itself with or without a app is a piece of cake.
[Android Apps and Games] ljjehl:
It must not be the file my system uses, as I see your program working with only the "apply" button visible.....
[Android Apps and Games] ljjehl:
what's the name of the .kl file your program accesses?
[Android Apps and Games] appelflap:
It's different for every device and it can also be different for every build or rom. I track the file by parsing some driver files.
[Android Apps and Games] appelflap:
Can you make a logcat? Would be very nice. The purpose of this beta is to make this tool generic.

You can use a tool called logcat for this. It's on the market. Start logcat and than start the buttonremapper app. Save the logcat and post it as a txt file in this thread.

That would be very nice, with it you help yourself and others. Thanks
[Android Apps and Games] ljjehl:
ahh, I see. It's probably why the program doesn't see the drivers on my device...it's not a true Android, booting natively. It boots off haret.....
[Android Apps and Games] ljjehl:
I will do this...give me a few minutes to get everything setup...thanks for your support and making this a realistic goal!! There's a whole XDA section of HD2 users interested in this.......
[Android Apps and Games] ljjehl:
Here you go....hopefully this helps....
[Android Apps and Games] appelflap:
Always like to help community where I started here on xda-dev :)

where? edit: ah, there :) Thanks
[Android Apps and Games] appelflap:
@ ljjehl

Is your data directory full? The problem is very weird. The app wants to create a file in its own file directory data/data/blabla.buttonremapper/files , but it can't. Can you check if you can create a file in that directory (or by copying one with for example astrid or rootexplorer)? Let me know how I can help with this when this is not straightforward for you.
[Android Apps and Games] ljjehl:
It seems to search for an uevent in /sys/devices/virtual/input/input4/uevent

file not found is the answer......
[Android Apps and Games] ljjehl:
I'll check it out now....
[Android Apps and Games] appelflap:
see my previous post. The app copies the file over to its own directory to do some processing, but it can't create a new file...

Edit (LOL): parallel writing isn't the best way to conversate :) I see you replied already to my previous post. Conversation seems to be a serial thing :P
[Android Apps and Games] ljjehl:
@Appelflap,

I am able to create a folder and also copy/paste a file in the above data directory you mentioned, there is 940.1 MB free space in this directory....
[Android Apps and Games] ljjehl:
sorry....the mind starts moving as fast as I read........LOL
[Android Apps and Games] appelflap:
Very, very interesting. Can you create a directory called "files" in the directory /data/data/blablabuttonremapper/ and run the app again? PM me with your results .. I narrowed the problem down to the fact that it can't create a "files" directory. I This is textbook android, so this is going to be interesting.

Let's do this over PM. Thanks
[Android Apps and Games] Luggruff:
The lockscreen should never be turned off unless you do it yourself. If it is, then there is something wrong with your ROM. Write about the issue to who ever made your ROM..

..and by the way, this app is for Android, not windows mobile (figured you use windows mobile, since your signature is specific about windows ROM and say nothing about android-build)
[Android Apps and Games] ljjehl:
@Appleflap, here's the catlog for you....
[Android Apps and Games] StDevious:
I don't see an option to remap the camera button on my Droid 1. Only 107 - power and 226 - headsethook available.
[Android Apps and Games] blink182fka6:
I'm on an Evo. I'm trying to remap my home button to turn on and off the display doesn't seem to work. I might be doing something wrong.
[Android Apps and Games] appelflap:
Thanks, I saw it. I come back to you tomorrow.
[Android Apps and Games] E_man5112:
Same for my captivate.

I'm not a programmer, but I remember taking a few semesters of C in college. I was always killed by those little things like that.

EDIT: Is there a way that, instead of reassigning menu button (which is used constantly) we can reassign menu long press (since a second search button is useless)?
[Android Apps and Games] Corias:
Works fine on XDAndroid Touch Pro.

Request: more mappable actions, the most wanted one is to swap keyboard character map files by key press.
[Android Apps and Games] darkamikaze:
oh cool.. i never knew if you're in the camera app already and you press the camera button again it will take a picture! how awesome..

maybe I'll switch the functions of my search key to the power button and the power button to camera haha

Although right now my captivate doesn't offer a power button change... lol hopefully it will work later on
[Android Apps and Games] :
tested on hd2 and: device is not supported
[Android Apps and Games] anti-pop:
appelflap: Would it be possible to completely disable a button using your app? (That is by assigning it to nothing/no action).

I'm looking to disable the search button on my Nexus One (short and long press). I never use it and the search screen popping out when I accidentally hit the search button (because of the Nexus One's digitizer bug) is an annoyance.
[Android Apps and Games] LexusBrian400:
For now, dont use this on Fascinate. Killed all of my softkeys, had to reflash a rom to get them back. Hopefully this works in the future! Would love to have it
[Android Apps and Games] creator2456:
Strange. Works fine on my Vibrant, and seems to work on another users Captivate. We just don't have complete customization as of yet, only the soft keys.
[Android Apps and Games] cabbieBot:
interesting app and ive been waiting for something like this.

Couple questions:

Can functions be assigned by long press in addition to normal tap (like the Handcent SMS app for a quick reply)? Also, can doubletapping enable a function (Like the Power Strip home replacement app does)

I could cram a ton of quick multitasking into my phone if this were possible.

Keep up the good work.
[Android Apps and Games] Stormwing:
Would it be possible to assign actions to double-press or long-press? I tend to use all my hardware buttons for their original purpose but being able to get more out of them would be awesome.
[Android Apps and Games] appelflap:
First I have to find a way to make this basic remapping work on all devices. But yes, it is possible to map some buttons to other functions, like apps and system tasks. I will build this in at the end of the current beta phase. (Probably I will integrate this app with another app called LauchKey)

I will post a test version later on (a couple of hours from now) to make it possible for all devices to remap all buttons.

There's a HD2 users in this thread who was succesfully running the current version. I'm in contact with another HD2 user, on which rom it didn't work to solve some problems.

I have to look into that, but my first guess is that it is pretty straightforward to make this work.

and

Long press would be only possible (in the future) for the home button and the search button. Maybe it is also possible to assign double tap and longpress to all buttons, but that's a big maybe.

For now I want to concentrate on making the basic remapping work on all devices.
[Android Apps and Games] appelflap:
Sorry to hear that.

It would be great if you can provide some details about what happened. Info that would be very helpfull for users who don't read your post.

First. What buttons did you reassign? What showed up in the table in the main screen?

Second, but very important, why didn't you use the option to restore the button remapping after boot? I have built in this safety measure exactly to prevent the situation you are describing. Didn't it work? Or didn't you use it?

Third, are you running a customized rom and/or kernel?

Thanks.
[Android Apps and Games] appelflap:
New update 0.2.1 - More devices supported now.

Read the tip in the first post about editting the buttons on your device if you can also edit a hardware keyboard layout.
[Android Apps and Games] StDevious:
still only 2 options on Droid 1.
[Android Apps and Games] appelflap:
I know. I made a note about that. It's gonna take some more time to get full button support for some devices.
[Android Apps and Games] StDevious:
ok, thank you.
[Android Apps and Games] el6006:
Droid Pro???

Can I use this app to remap the Droid Pros programmable side button to be the power button? Thanks
[Android Apps and Games] Forge94:
I bought a mini Bluetooth keyboard from Dealextreme, it hasn't arrived yet though but from what I've seen the layout isn't very good.

Will this app let me keys on the keyboard to Home,menu,back, with 2 keypresses?

For example, I wish to map Alt+z to home. Is this possible, or is it one keypress at a time..?

This means I could also remap a combination to take a picture wirelessly from a few metres away.

If so, sweet.
[Android Apps and Games] rye&ginger:
+1 for this idea. I am looking for some way to skip songs forward and back. Long press of volume buttons would be good for this as I only have 3 buttons on the Samsung Captivate.
[Android Apps and Games] Ezzy77:
This would be awesome on the G2/Desire Z that you could remap the HW keyboard.
[Android Apps and Games] agomiky:
Does it work with galaxy s?? i would change the camera button
[Android Apps and Games] ljjehl:
HD2 users

(For the HD2 users) At this time, be careful in changing too many parameters in your Button mapper configs. The notification at this time doesn't work to go back to default key setup.

Worst case scenario, the qwerty.kl will have to be replaced manually with the qwerty.kl.bu (delete qwerty.kl, copy and rename qwerty.kl.bu to qwerty.kl), then reboot..... (unless Appelflap has some reservations in what I just said)
[Android Apps and Games] Jerommeke:
Didn't update my signature, but I'm running Froyostone 3.4 on my HD2. I deleted the htclockscreen.apk so the top-down slider is replaced with the left-right one (like: pic).

The issue with this lockscreen on an HD2 is, you can enter your phone by pressing the menu button. So it has nothing to do with ROM's or whatever.

So my question wasn't that strange, hopefully there is a solution to this :)
[Android Apps and Games] ljjehl:
I use the latest mdj froyo sense version, nothing I try on all the buttons will get it past the lockscreen.....it sounds like a bug in your Android version......
[Android Apps and Games] Jerommeke:
Do you have the same lockscreen as in the pic I posted? 'cause I read about more HD2-owners with the issue I have ..

I don't have the issue with the top-down lockscreen, only with the left-right one.
[Android Apps and Games] ljjehl:
no, don't use that one.......sorry.....
[Android Apps and Games] appelflap:
the *.kl.bu file, in your case qwerty.kl.bu is the file that is restored when one presses the "restore buttons" notification icon.

The file that is backed up is the file the app encounters on its first run. So, if one has a modified keylayout file before the ButtonRemapper app is installed, that file will be backed up.
[Android Apps and Games] staticshadow:
I was just about to post wondering if there is a way to remap my camera and power buttons. This worked perfectly. Thanks for all you hard work. Keep devvin' and make Android more enjoyable for all of us.
[Android Apps and Games] Pickx:
I just used this program to change the user-definable keys on my HTC Desire Z to media controls (which is pretty much what I always wanted these buttons to do) and it worked well. Thank you for this!
[Android Apps and Games] appelflap:
Just a question: what are the keycodes (first column) of the user definable keys on the HTC Desire Z?
[Android Apps and Games] Pickx:
184 ("User1") and 185 ("User2") translate to Quick Key 1 and Quick Key 2 respectively... and I'd imagine T-Mobile G2 also has "User3" (it has 3 Quick Keys) which is probably 186.

Note that I'm using CyanogenMod RC3 and maybe stock ROM maps them differently! I doubt that, though.

Also I have 183 ("Func1") which I haven't tried changing yet and don't know what it maps to and 214 ("Quechar" which is most probably tilde).
[Android Apps and Games] appelflap:
Thanks! Problem is I have to make this app more intuitive, and I can't tell which definitions are possible with each device (there's no general specification for this. Each manufacturer or rom developer can create its own mappings). Thanks for your feedback.
[Android Apps and Games] Pickx:
Just for the sake of giving better information:

- 183 ("Func 1") is in fact the SYM key which replaces the G2's Quick Key 1. If pressed while editing text it pops up a box with extra symbols not otherwise available on the keyboard. Does nothing while a textbox isn't highlighted.

- 214 ("Quechar") is the question mark button. Now I see what 'que' stands for :rolleyes:

- For reference, this is the Desire Z keyboard and this is the G2 keyboard.

- Due to the keycodes and the location of the SYM key, I think it's pretty reasonable to assume 183-185 are Quick Keys 1-3 on the T-Mobile G2 (though you should probably ask someone with a stock ROM'd G2). But as you can see Quick Keys 1-2 on Desire Z are 184-185... so it seems like the better approach is giving a definition based on the second row of Button Remapper and not the keycode. Although the names may change from device to device, they should at least be the same across different versions of the same phone (for example the above G2/D-Z comparison or phones with QWERTY/AZERTY versions)
[Android Apps and Games] appelflap:
Thanks for the detailed info. This will certainly help. You are right, it is also my goal to base a definition table on the second column. From the input I got so far I can induce some general keycode-function bindings that are the same across all devices.

There are some open questions though about some keycodes that I can't identify For example: when I look at some keylayout files I see some redundant entries, like for example a double entry for the search key:

key 127 SEARCH WAKE_DROPPED

key 217 SEARCH WAKE_DROPPED

I know that keycode 217 is used for the search button directly on the device. I saw the Desire Z keyboard, can I assume that 127 corresponds to the search button on the hardware keyboard?

Also, when I look at the general file all devices will fall back upon when a manufacturer hasn't specified a specific keybinding I see three menu entries:

key 229 MENU WAKE_DROPPED

key 139 MENU WAKE_DROPPED

key 59 MENU WAKE_DROPPED

Again, the 229 code is the code for the button on the device. What is the code for the menu button on your keyboard? Is it 139?

Thanks
[Android Apps and Games] Pickx:
The result was kind of surprising - there's only one entry in Button Remapper for Search (keycode 217) and changing it affects both the physical and capacitive buttons. Same for Menu (keycode 139).

Again, this could be CyanogenMod-exclusive (there's an entry for Endcall which D-Z doesn't have - doesn't seem like the stock ROM would have that)
[Android Apps and Games] dsMA:
is there a way to map the power button for sleep?

Note I have a Sprint HTC Hero and am running cm6.
[Android Apps and Games] appelflap:
Thanks for testing. I guess the best way to go then is to introduce a standard mode and an advanced mode. In the standard mode I will offer the user the possibility to map the standard buttons, like menu, home etc. and if there are other keycodes one wants to map, there will be a second mode in which a table is displayed like in the current version.

I think sleep is the default mode for the power button. Does your powerbutton turns your device completely off? That's weird. How do you go into standby?

Anyway, in a later version one can assign some extra system functions, apps etc to some buttons. I guess that will do the trick for you. Right now the only functions that can be assigned are the ones in the list.
[Android Apps and Games] refthemc:
Finally, thanks OP been waiting ages for an app like this!
[Android Apps and Games] dsMA:
I have no idea what the power button actually does to the device other than turning the screen off.

I know there is a a setting in spare parts that allows you to change the function of the power button so that the phone goes to sleep but there is a note that that is for 1.5. Also there is a power control setting for sleep. This is what I usually do because I figure sleeping prob saves more battery.

Right now the screen turns off when I hit the power button but if it is going to sleep or standbye idk how to confirm that...on the same note when I hit the sleep button in power control I guess I also can't confirm if the phone is doing anything more then turning the screen off.