[LG Optimus Black] nestoor23:
Hello everyone, I am starting writing in xda but I have some knowledge because I read a lot in HTCMania.

I see that many people dont know what to do with the famous "Button G" of our LG Optimus Black.

Play/Pause

Explanation for GB:

The file that you have got to modify is in the next directory: /system/usr/keylayout. The file ''TWL4030_Keypad.kl'' has got to be changed. In the third line beginning for the end, you can see:

key 95 GESTURE

And you have got to write this:

key 95 HEADSETHOOK WAKE_DROPPED

Here you can see a picture of how it has to be:

If you dont want to change it by yourself, here is the zip that you have got to flash in CWM (make a backup for any thing):

https://www.box.com/s/yb9bjkr542juq0e5f13u

Warning! If you choose to do it by yourself (manually), you have goto to reboot your phone to see the change.

Explanation for ICS:

The file that you have got to modify is in the next directory: /system/usr/keylayout. The file ''TWL4030_Keypad.kl'' (with capital letters, no “twl4030_keypad.kl") has got to be changed. You can see:

key 95 GESTURE

And you have got to write this:

key 95 MEDIA_PLAY_PAUSE WAKE_DROPPED

Here you can see a picture of how it has to be:

If you dont want to change it by yourself, here is the zip that you have got to flash in CWM (make a backup for any thing):

https://www.box.com/s/yty2ir4sh0b7kzb8q19d

Warning! If you choose to do it by yourself (manually), you have goto to reboot your phone to see the change.

Explanation for CM10:

The file that you have got to modify is in the next directory: /system/usr/keylayout. The file ''Generic.kl'' has got to be changed. You can see:

key 95 NUMPAD_COMMA

And you have got to write this:

key 95 HEADSETHOOK WAKE_DROPPED

Here you can see a picture of how it has to be:

If you dont want to change it by yourself, here is the zip that you have got to flash in CWM (make a backup for any thing):

https://www.box.com/s/flqy5u3eharedaa7udy2

Warning! If you choose to do it by yourself (manually), you have goto to reboot your phone to see the change.

Lock/Unlock

Explanation for GB:

(THIS OPTION DOESN'T UNLOCK YOUR PHONE IF YOUR PHONE IS IN DEEP SLEEP)

The file that you have got to modify is in the next directory: /system/usr/keylayout. The file ''TWL4030_Keypad.kl'' has got to be changed. In the third line beginning for the end, you can see:

key 95 GESTURE

And you have got to write this:

key 95 POWER WAKE_DROPPED

Here you can see a picture of how it has to be:

If you dont want to change it by yourself, here is the zip that you have got to flash in CWM (make a backup for any thing):

https://www.box.com/s/jexhn14tg24lai40djhm

Warning! If you choose to do it by yourself (manually), you have goto to reboot your phone to see the change.

Explanation for ICS:

The file that you have got to modify is in the next directory: /system/usr/keylayout. The file ''TWL4030_Keypad.kl'' (with capital letters, no “twl4030_keypad.kl") has got to be changed. You can see:

key 95 GESTURE

And you have got to write this:

key 95 POWER WAKE_DROPPED

Here you can see a picture of how it has to be:

If you dont want to change it by yourself, here is the zip that you have got to flash in CWM (make a backup for any thing):

https://www.box.com/s/la4xugjvncgzaax7wnx5

Warning! If you choose to do it by yourself (manually), you have goto to reboot your phone to see the change.

Explanation for CM10:

The file that you have got to modify is in the next directory: /system/usr/keylayout. The file ''Generic.kl'' has got to be changed. You can see:

key 95 NUMPAD_COMMA

And you have got to write this:

key 95 POWER WAKE_DROPPED

Here you can see a picture of how it has to be:

If you dont want to change it by yourself, here is the zip that you have got to flash in CWM (make a backup for any thing):

https://www.box.com/s/ndv0d0m73u8ff4dzz7d3

Warning! If you choose to do it by yourself (manually), you have goto to reboot your phone to see the change.

Take photos with the Camera

Explanation for GB:

The file that you have got to modify is in the next directory: /system/usr/keylayout. The file ''TWL4030_Keypad.kl'' has got to be changed. In the third line beginning for the end, you can see:

key 95 GESTURE

And you have got to write this:

key 95 CAMERA WAKE_DROPPED

Here you can see a picture of how it has to be:

If you dont want to change it by yourself, here is the zip that you have got to flash in CWM (make a backup for any thing):

https://www.box.com/s/yfbn2oo4ityseno398bv

Warning! If you choose to do it by yourself (manually), you have goto to reboot your phone to see the change.

Explanation for ICS:

The file that you have got to modify is in the next directory: /system/usr/keylayout. The file ''TWL4030_Keypad.kl'' (with capital letters, no “twl4030_keypad.kl") has got to be changed. You can see:

key 95 GESTURE

And you have got to write this:

key 95 CAMERA WAKE_DROPPED

Here you can see a picture of how it has to be:

If you dont want to change it by yourself, here is the zip that you have got to flash in CWM (make a backup for any thing):

https://www.box.com/s/jg6emxu0injhyi33eyf9

Warning! If you choose to do it by yourself (manually), you have goto to reboot your phone to see the change.

Explanation for CM10:

The file that you have got to modify is in the next directory: /system/usr/keylayout. The file ''Generic.kl'' has got to be changed. You can see:

key 95 NUMPAD_COMMA

And you have got to write this:

key 95 CAMERA WAKE_DROPPED

Here you can see a picture of how it has to be:

If you dont want to change it by yourself, here is the zip that you have got to flash in CWM (make a backup for any thing):

https://www.box.com/s/l1hornfnp2g5z96c5dds

Warning! If you choose to do it by yourself (manually), you have goto to reboot your phone to see the change.

Thanks to Jes0411 because he made some zips. Greetings!