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

appelflap

Inactive Recognized Developer
Feb 9, 2008
4,204
829
0
Utrecht
Having the same problem as creator. I'm on the captivate, so probably the same problem as on the vibrant. Used the 0.1.2b. I tried to get as much info as possible. I started the logcat, launched the app, changed the headset controls, saved it, and reverted. Made a long log though
Thanks for the logcat. Are you sure you tried 0.1.2b? Can you uninstall the app and reinstall it again? Maybe I've uploaded a wrong version, because what I see in the logcat shouldn't absolutely be possible with the 0.1.2b version.
 

creator2456

Senior Member
Jul 12, 2010
824
184
73
Chicago
Thanks for the logcat. Are you sure you tried 0.1.2b? Can you uninstall the app and reinstall it again? Maybe I've uploaded a wrong version, because what I see in the logcat shouldn't absolutely be possible with the 0.1.2b version.
I'm showing only the headset in 0.1.2b as I was in 0.1.2. Need to get to bed, will post complete set of logcats in the morning.
 

bartito

Inactive Recognized Developer
Dec 1, 2005
3,860
1,765
253
hello,

a very useful application and interesting. thanks!

I have a question:

my htc_desire have any problems with the volume down button and sometimes unresponsive. this button is used (along with the power button) to start the android in recovery mode.

If I use your application may assign the volume down function to another button and boot into recovery mode with another key combination, or that is not possible?
thanks

[email protected]
 

appelflap

Inactive Recognized Developer
Feb 9, 2008
4,204
829
0
Utrecht
When I use your app to try to remap a key, once I select what I want remapped...the "apply" button goes away...

Also, it is kinda annoying that when the device is rotated, it reloads the entire app.

......

Having the same problem as creator. I'm on the captivate, so probably the same problem as on the vibrant. Used the 0.1.2b. I tried to get as much info as possible. I started the logcat, launched the app, changed the headset controls, saved it, and reverted. Made a long log though
I'm showing only the headset in 0.1.2b as I was in 0.1.2. Need to get to bed, will post complete set of logcats in the morning.

Should all be fixed now in the new 0.2 version (@ creator and E_man: I should be ashamed of myself. I made a very fundamental java error. One that I just can't get out of my system. Other developers: are you also sometimes making the mistake to compare two strings with the == operator. Will never match! LOL)

hello,

a very useful application and interesting. thanks!

I have a question:

my htc_desire have any problems with the volume down button and sometimes unresponsive. this button is used (along with the power button) to start the android in recovery mode.

If I use your application may assign the volume down function to another button and boot into recovery mode with another key combination, or that is not possible?
thanks

[email protected]
Ai, I think that that should be possible. But why don't you use one of those "boot into recovery apps" so you can do it without any buttons.
 

appelflap

Inactive Recognized Developer
Feb 9, 2008
4,204
829
0
Utrecht
I rooted the phone with Visionary R14, that's the only root that it has.
Ok, then it will not work... (If you have hot reboot on your system it will).

Visionary doesn't unlock the NAND memory. For permanent changes to your system dir you should also do S-Off and unlock NAND.
 

bartito

Inactive Recognized Developer
Dec 1, 2005
3,860
1,765
253
Ai, I think that that should be possible. But why don't you use one of those "boot into recovery apps" so you can do it without any buttons.
my actual rom (opendesire) has the 4-reboot options menu.
but i'm interested on miui, and it seems not have this menu.
additionally, in some occassions, when i change the framework-res file,
the rom is not capable to reboot, and the volume-down action is needed in order to boot in recovery and flash a nandroid backup...
 

appelflap

Inactive Recognized Developer
Feb 9, 2008
4,204
829
0
Utrecht
my actual rom (opendesire) has the 4-reboot options menu.
but i'm interested on miui, and it seems not have this menu.
additionally, in some occassions, when i change the framework-res file,
the rom is not capable to reboot, and the volume-down action is needed in order to boot in recovery and flash a nandroid backup...
Aha, that's too bad. BTW I don't think the remapping will work before the kernel is loaded.
 

Jerommeke

Senior Member
Mar 28, 2008
203
7
0
Nice work appelflap!

Do you think there's a way to map the menu button of the HD2 to the lockscreen in lockscreenmodus? Or just disable it in lockscreenmodus? But leave it functional when not in lockscreenmodus?

The menu button disables the lockscreen when pressed, when in your pocket you can do a lot of harm.
 

ljjehl

Senior Member
Apr 6, 2008
3,569
3,251
253
SA,TX
Appelflap,

I tried running off my HD2 with Android build from SDcard, the app says my device is not supported at the moment? Is this because the system is not run from NAND? Or can this still be possible to remap??
 

ljjehl

Senior Member
Apr 6, 2008
3,569
3,251
253
SA,TX
Appelflap,

I tried running off my HD2 with Android build from SDcard, the app says my device is not supported at the moment? Is this because the system is not run from NAND? Or can this still be possible to remap??
Appelflap,

This remapping procedure is very interesting. I decided to check out this link:

http://forum.xda-developers.com/showthread.php?t=695936

and copy/paste the all the .kl files in this folder "system/usr/keylayout" to another folder. I renamed all copied files to .txt, then looked at them.

It seems I should be able to do some sort of "remapping" of the files (one at a time) to test what this will do. It would be easier if this was added to your program though, LOL.....

Here's my attached files from the keylayout folder.....
 

Attachments

appelflap

Inactive Recognized Developer
Feb 9, 2008
4,204
829
0
Utrecht
and and back to endcall...
with x10 this apk recognize only volume, mediaplayer and headsethook buttons
Can you make a logcat?

I will see what I can do in the future. I think I will have to merge all keylayout files. Now just one is recognized (didn't know that many devices more than one keylayout files are active).

The reason I made this a beta to experiment with was just because every device seems to be configured different (not all devices uses the same keymap files). I found a way to identify which ones are used and that's step one! Now the rest...

It seems things are coming together. Thanks, you guys, for the input. Keep it coming so this can be made a true generic remapping tool for all devices.