[Q] How to turn the G button to power key and other function key? - LG Optimus Black

Hi! I Have an Optimus Black P970.
But I found that the G button on the Internet can be change to Power Key, Lock Key or even Camera Slot key. However, it always said need rooting.
However, I found that the procedure quite hard for me as i am new to android.
So, is there any means with NOT rooting? any widgets? any apps to do so?
Sorry for my poor English...
Thanks a lot.

sonicpeter said:
So, is there any means with NOT rooting? any widgets? any apps to do so?
Sorry for my poor English...
Thanks a lot.
Click to expand...
Click to collapse
No way without root. You may want to explore your abilities to root the phone, since CM and then MIUI are coming to our LG. These are far superior goods than GingerBread from LG.
Sent from my LG-P970 using Tapatalk

You need root to do that, because it's change the configuration at read-only system partition /system/usr/keylayout, which mean that you must mount R/W to change that.
and AFAIK that G for power button is just for standby/wake, it can't press to power up from off position.
CMIIW.

maludroid said:
No way without root. You may want to explore your abilities to root the phone, since CM and then MIUI are coming to our LG. These are far superior goods than GingerBread from LG.
Sent from my LG-P970 using Tapatalk
Click to expand...
Click to collapse
sorry, I DO care about with the battery and RAM problem. Can these problem solved after custom ROM release?
Now...I play with the game called "mega jump" and "cookie dozer"is so lag. however, the situation is totally different from Samsung i9003. i just want to know the changes from custom ROM.Thanks

So, my phone is rooted, but how can I change the g-key function now? I want it to just wake up on press. Thx a lot!
Sent from my LG-P970 using Tapatalk

Paracetamol100 said:
So, my phone is rooted, but how can I change the g-key function now? I want it to just wake up on press. Thx a lot!
Click to expand...
Click to collapse
The guide: http://forum.xda-developers.com/showthread.php?t=1194058

redy2006 said:
You need root to do that, because it's change the configuration at read-only system partition /system/usr/keylayout, which mean that you must mount R/W to change that.
and AFAIK that G for power button is just for standby/wake, it can't press to power up from off position.
CMIIW.
Click to expand...
Click to collapse
I think I've managed to power off from G key by long pressing it. I copied the configs on the power button.
Sent from my Optimus Black using xda premium

gabwerkz said:
I think I've managed to power off from G key by long pressing it. I copied the configs on the power button.
Click to expand...
Click to collapse
Perhaps it can power off, but not power on. Because the real button is wired hardware to switch on, and the G button accessible via software.
CMIIW.

Thx redy!
Sent from my LG-P970 using Tapatalk

Unfortunately waking up my optimus black with g-key didn't work for me. I followed the tutorial carefully, phone is rooted and of course I restarted. I should have add, that I use knzo's Nova Rom.
Any suggestions? Thx
Ps: I wasn't able to post in the related thread, I think I haven't enough userrights yet.
Sent from my LG-P970 using Tapatalk
Sent from my LG-P970 using Tapatalk

Paracetamol100 said:
Unfortunately waking up my optimus black with g-key didn't work for me. I followed the tutorial carefully, phone is rooted and of course I restarted. I should have add, that I use knzo's Nova Rom.
Any suggestions? Thx
Click to expand...
Click to collapse
You cant wake up phone with g button

Paracetamol100 said:
Unfortunately waking up my optimus black with g-key didn't work for me. I followed the tutorial carefully, phone is rooted and of course I restarted. I should have add, that I use knzo's Nova Rom.
Click to expand...
Click to collapse
Wake up from what? G button can set to standby/sleep and wake up. But it CAN'T "wake up" from off/dead position, because the main power button is hardwired to the hardware, and G button only accessed with Android system.
CMIIW.

To unlock the phone. Suddenly it works perfectly. Thx!
///lg P970 optimus black///

Related

[APP] Instant Screen Off (for rooted phones only)

I have make small app, which switching off screen.
Instant, without any waits or faking switching off by set brightness to zero.
It's simulate pressing of power button.
Maybe this one will be interest for somebody
root needed
Nice! I'd be more interested if you could do unlock via soft keys as we had in Hero , i.e. home and menu, as I find the power button is too recessed for easy access.
Not sure if softkeys would be too easy to trigger by mistake tho ??
pinn___________ said:
Nice! I'd be more interested if you could do unlock via soft keys as we had in Hero , i.e. home and menu, as I find the power button is too recessed for easy access.
Not sure if softkeys would be too easy to trigger by mistake tho ??
Click to expand...
Click to collapse
There is a hack for this but the menu key etc on the hd are not active when the screen is locked so it doesn't work. I did it today but you have to press power then the keys become active and you can use menu etc to unlock. Pointless as you still need to use power button first. The hero's keys were hard buttons as is the desire. It worked great on the desire. Unless anyone knows a way to have them active while locked? My power buttons a nightmare as it's not very clicky and really recessed. My wife's hd power button is much easier to use. Anyone know a way to have the soft keys active all the time?
Sent from my Desire HD using Tapatalk
Thanks for this app, i was waiting for.
Power button isn't as practical as your app to power down the phone.
Thank you mate.
Very Nice.... I like it.
But can you please Chance the Icon for me?
Im not able to do this myself.
I would like something like that.
Back and white with a bit gray or shaded would be very nice
Hi,
does it possible to work on unrooted phones?
thx
gervasius said:
Hi,
does it possible to work on unrooted phones?
Click to expand...
Click to collapse
No, only rooted. Su permission requried :-(
Korny89 said:
But can you please Chance the Icon for me
Click to expand...
Click to collapse
I can, but i'm need final icon in resolution 72x72px, can you draw it?
Srry, but can someone explain to me in technical terms how this actually works and what are its benefits. Thank you.
r0cky.Da.3v0.SU.
r0cky0790 said:
Srry, but can someone explain to me in technical terms how this actually works and what are its benefits. Thank you.
r0cky.Da.3v0.SU.
Click to expand...
Click to collapse
In technical terms,yes- it would circumvent the process of having to use one's digit to find aforementioned hard power button and then depress said button.
pinn___________ said:
In technical terms,yes- it would circumvent the process of having to use one's digit to find aforementioned hard power button and then depress said button.
Click to expand...
Click to collapse
Lol, maybe I didn't want the technical version after all. Dumb it down so I can understand. I'm have it installed but I don't see it doing anything. I have an Evo. How does this work (explain normal).
r0cky.Da.3v0.SU.
Its just a app to lock the phone and turn the screen off. Not sure if it works on evo
Ok thanks buddy, Uninstalling.
r0cky.Da.3v0.SU.
Dunno if this is doable but have you seen the screen lock on the new nexus that was seen at recent web 2.0 summit. Its kinda like the effect you get when u turn off an old crt TV. Could you implement that instead of the current fade effect? Ta
here i send you the perfect icon for me.
I hope you can do this. This would be very great.
Can you make the white corners transparent?
If you cant please make it black...
Im looking forward to you work
Korny89 said:
here i send you the perfect icon for me.
Click to expand...
Click to collapse
Done.
Look first post for update.
Hello, thanks a lot. its look very very sexy.
The only problem i have is with the "More Icons Widget"
That shows me the old symbol.
I think thats not you Problem. So i will check that.
thanks!
Thank you exidler for this useful app. I am just wondering if you can make use of the accelerometer sensor to turn off the screen ( for example by putting the phone upside down) . Thanks again.
Sent from my Desire HD using XDA App
"Thank you exidler for this useful app. I am just wondering if you can make use of the accelerometer sensor to turn off the screen ( for example by putting the phone upside down) . Thanks again."
i also agree ! that would be a perfect app and since most people do not check their sms upside down it would also be extremely practical
+1
Benjyk said:
I am just wondering if you can make use of the accelerometer sensor to turn off the screen ( for example by putting the phone upside down)
Click to expand...
Click to collapse
I'm busy now, but will look for your feature request in few days. Most of everything is possible

CM9 G Button remap

hi, I open this thread to show you how to remap the G button, on the FOP rom it is assigned as a comma so it's totally useless, but all you have to do is using root explorer go to:
system\usr\keylayout
and modify the files "generic.kl" and "TWL4030_Keypad.kl" and search for "key 95".
On the "generic.kl" it will say something like insert comma, change that to one of this options:
APP_SWITCH it will make the g button open the recent apps
CAMERA well it's obvious it will open the camera
and on the "TWL4030_Keypad.kl" it will say "POWER WAKE_DROPPED", just erase that and type one of the options I said (you MUST assign the same option to BOTH files)
Hope it would be usefull ^^ I recomend using the button for the recent apps, since the camera can be accessed from the lockscreen and the camera isnt working right now
If you need to, I can make a CWM flashable zip to modify those 2 files, I didn't did that because this is way too easy to do manually...
Remember to mount R/w so you can edit the files
After doing that just reboot
You should mount r/w not r/o
Sent from my phone via tapatalk
A flashable file would be great!
You forgot reboot...neway thanks m8..it worked just fine :highfive:
RomWiz said:
You should mount r/w not r/o
Click to expand...
Click to collapse
thanks, for correcting me
strider2023 said:
You forgot reboot...neway thanks m8..it worked just fine :highfive:
Click to expand...
Click to collapse
ohh right jeje sry
Already there but imcomplete:
http://forum.xda-developers.com/showthread.php?t=1194058
koila33 said:
Already there but imcomplete:
http://forum.xda-developers.com/showthread.php?t=1194058
Click to expand...
Click to collapse
I saw this one when trying to do this, and it is really weird the tutorial so I decided to do this one, also it only says how to use as camera and lock button... could you consider adding this to the FOP rom?
Melin Leos said:
I saw this one when trying to do this, and it is really weird the tutorial so I decided to do this one, also it only says how to use as camera and lock button... could you consider adding this to the FOP rom?
Click to expand...
Click to collapse
If you guys find it useful we can add that feature, but it is easy to add this feature, so if you guys want, you guys can add by yourself.
koila33 said:
If you guys find it useful we can add that feature, but it is easy to add this feature, so if you guys want, you guys can add by yourself.
Click to expand...
Click to collapse
I know it's easy to add but the thing is that right now the g button on fop rom is completely useless
This works on CM7?
zortheck said:
This works on CM7?
Click to expand...
Click to collapse
Yep, tecnically it works on all roms, but I can't say exactly since Idont know which file you have to modify on cm7
zortheck said:
This works on CM7?
Click to expand...
Click to collapse
On cm7, you have to edit /system/usr/keylayout/qwerty.kl - delete key 212 line and add key 95 POWER WAKE_DROPPED or the line about camera - save and reboot
Sent from my LG Optimus Black using xda premium
My Power button is dead and i cannot turn on the phone manually. Ineed to use usb cable,enter the battery charging state and need to push the button frequently(hopefully it detect) till it reboot.Then i try to remap the power button to G button. still cannot on even at battery charging state... This phone is screwed.. wonder if anyone want to buy my phone.. haha..
My power button is not in the best condition too. First I remaped G button (key 95 POWER WAKE_DROPPED) and then I use SoftPower app to wake it because it even has sometimes problems to wake up with the remaped G button and I'm fine. OK that doesn't help when it's completly switched off but then it seems to work rather good and I nearly never switch it off anyway. I use AnReboot for some time, it is fast for reboot and good for getting in recovery.
SaschaKH said:
My power button is not in the best condition too. First I remaped G button (key 95 POWER WAKE_DROPPED) and then I use SoftPower app to wake it because it even has sometimes problems to wake up with the remaped G button and I'm fine. OK that doesn't help when it's completly switched off but then it seems to work rather good and I nearly never switch it off anyway. I use AnReboot for some time, it is fast for reboot and good for getting in recovery.
Click to expand...
Click to collapse
Getting to the recovery is not the problem as i can use the adb command. The worst part is when i want to call someone urgently and the phone cannot wake the screen. So softpower app can help in these kind of situation? As when the phone is completely dead, there nothing we can do to turn it on as some people said that the power button is hardwire.
Yes SoftPower wakes my phone up all the time without any problem. I haven't even activatet the adminstrator, because it is only needed for turning the screen off and I use G button for that. (Need the search button for something else anyway.)
BTW if you remap the G button it even shows the power menu like you get it for long pressing power button (at least with some ROMs).
Thanks man, i will try that software. I just open this phone and found out that the usb port and the power button is integrated with each other. So, it's kinda hard to repair it.
Thanks.... I modify G Button as Camera and its working awesome on CM10..
Sent from my LG-P970 using xda premium
Please
And if I want both answering and ending a call with G button, how can I add that to the file?
Maybe for wake up and turn off the device too? I guess it's applicable for multiple actions, isn't it?
atillaahun said:
And if I want both answering and ending a call with G button, how can I add that to the file?
Maybe for wake up and turn off the device too? I guess it's applicable for multiple actions, isn't it?
Click to expand...
Click to collapse
I tested it.I modify G button as CALL WAKE_DROPPED
With this I can receive the call but can't end call with G Button.
And also
Device wakes but can't turn off.
Sent from my LG-P970 using xda premium

[MOD]Enabled soft keys/Disabled Cap buttons **7.29 update posted**

This mod enables onscreen soft keys (THANKS TO LEONARDOARAUJO for the modded framework-res) and disables all cap keys except for menu. cap keys still are illuminated, but home, back, and search are disabled as well as haptic feedback for the 3. as i cannot as of yet get a search key remap working i decided to try n make this.I kinda like it btr even tho i lose a lil real estate cuz soft keys are cool..tested and working fine.
25b/27
http://db.tt/xgjybJJi
7.29
http://db.tt/MTzyaNk7
7.29
disable ALL cap keys by quetzalcoat12345 (Does not include the framework files, just the keymap files, so it should be good for all future releases.)
DisableAllCapacitiveKeys.zip"]https://dl.dropbox.com/u/19567156/DisableAllCapacitiveKeys.zip"]DisableAllCapacitiveKeys.zip
here is a flashable zip to reverse the mod (25b/27 only) by leonardoaraujo:
http://www.mediafire.com/?ch4kxk9heylr0v5
Until the backlight params editing is backported to CM10, you might want to try Screen Filter. I used that app since CM9 to disable the backlights on the capacitive buttons. Cheers!
Edit: Scrap that. It seems that it doesn't work (yet) on CM10. I'll try searching for something else.
Edit 2: Success! Adjbrightness works flawlessly!
quetzalcoatl2435 said:
Until the backlight params editing is backported to CM10, you might want to try Screen Filter. I used that app since CM9 to disable the backlights on the capacitive buttons. Cheers!
Edit: Scrap that. It seems that it doesn't work (yet) on CM10. I'll try searching for something else.
Edit 2: Success! Adjbrightness works flawlessly!
Click to expand...
Click to collapse
imma try it now, although i may leave them on only cuz my.menu key is active still..thx for the tip!
edit..works great.wish i could kill all but menu..but i suppose people in hell want icewater too
[m]atRix
Yeah, I noticed you left the menu button enabled. I've edited mine to disable the menu button as well, so it's all off for me.
quetzalcoatl2435 said:
Yeah, I noticed you left the menu button enabled. I've edited mine to disable the menu button as well, so it's all off for me.
Click to expand...
Click to collapse
i left mine on cuz there are times and places i need to enter menu but the 3 dots aren't there. maybe leo can add menu to the soft keys, ill ask.
In what app(s) does that occur? I haven't checked every app on my phone, but it's all good so far. The 3 dots show up either next to the soft buttons or on the actionbar.
quetzalcoatl2435 said:
In what app(s) does that occur? I haven't checked every app on my phone, but it's all good so far. The 3 dots show up either next to the soft buttons or on the actionbar.
Click to expand...
Click to collapse
actually now tht im paying attn, i think its mainly from home screen using apex. i can set a shortcut but i jus kinda like having menu access rt there. works for me
edit: ur right..menu 3 dots thing is there anytime there is a menu to access, EXCEPT apex home screen. but sometimes its up on top. i thought about disabling menu but decided to keep it as its nice to have rt there, i guess for the same reason i like the search key to recents remap..more easily accessible.
What if we want to revert back to using the softkeys after flashing this? is there a way to reverse it?
zefir738 said:
What if we want to revert back to using the softkeys after flashing this? is there a way to reverse it?
Click to expand...
Click to collapse
just reflash CM10 without wiping data, should bring everything back to stock.
need not apply the full rom, to undo everything (including navigation buttons):
http://www.mediafire.com/?ch4kxk9heylr0v5
ps: op, add to the 1st post ..
is the softkeys able to change functions? such as adding screen lock button or other applications in the nav bar
and can we enable the 4 capactivie buttons in the modded framework?
bu14 said:
is the softkeys able to change functions? such as adding screen lock button or other applications in the nav bar
and can we enable the 4 capactivie buttons in the modded framework?
Click to expand...
Click to collapse
not as of now. well i cant anyway, maybe leo can..
as far as screen lock button, i use widgetsoid for tht
rickriego said:
not as of now. well i cant anyway, maybe leo can..
as far as screen lock button, i use widgetsoid for tht
Click to expand...
Click to collapse
how can i contact him?
bu14 said:
how can i contact him?
Click to expand...
Click to collapse
search the forums for leonardoaraujo his profile will pop up a few lines down. u can pm from there
I hope you update your zip to the new epinter
Sent from my MB860 on CM10
i will, already talked to leo abt the framework..
[m]atRix
mod works w/ epinters current release!
[m]atRix
rickriego said:
mod works w/ epinters current release!
[m]atRix
Click to expand...
Click to collapse
Update the OP.
Sent from my Nexus 7
Soldier-2Point0 said:
Update the OP.
Sent from my Nexus 7
Click to expand...
Click to collapse
aye aye captain!
edit: done
[m]atRix
Soldier-2Point0 said:
Update the OP.
Sent from my Nexus 7
Click to expand...
Click to collapse
Geez soldier lol
Sent from my MB860 using Tapatalk 2

[Q] home botton not work

can me help someone i have a sgs i9000 home button worked well until i installed remics v5.0 and now wont work i dont know why .. I did a full factory reset , i installed the stock firmware but wont work ... sory for my english.
Maybe its just randomly broken... Its an old device and the homebutton is mostly mechanical so its not wear-free
Gesendet von meinem GT-I9000
darkztar1 said:
Maybe its just randomly broken... Its an old device and the homebutton is mostly mechanical so its not wear-free
Gesendet von meinem GT-I9000
Click to expand...
Click to collapse
but why works when i go into download mode or recovery mode ? :/
my hpme button doesn't work but i can still get into recovery/download mode with just pressing and holding volume up/down and power button! strange lol
pryerlee said:
my hpme button doesn't work but i can still get into recovery/download mode with just pressing and holding volume up/down and power button! strange lol
Click to expand...
Click to collapse
ohh i didn't know that
LikkiHalili said:
ohh i didn't know that
Click to expand...
Click to collapse
By the way, if you want to use that button or after repairs you don't want wear & tear
Use Button Savior from Play Store.
Play Store: Button Savior Link
Or if you are using ICS+ ROM (like CM9/10 or custom ROM), enable softkeys. (look like nexus softkeys)
hnkotnis said:
By the way, if you want to use that button or after repairs you don't want wear & tear
Use Button Savior from Play Store.
Play Store: Button Savior Link
Or if you are using ICS+ ROM (like CM9/10 or custom ROM), enable softkeys. (look like nexus softkeys)
Click to expand...
Click to collapse
i dont know how but the button works now
i didn't do anything .it's repaired by it self
LikkiHalili said:
i dont know how but the button works now
i didn't do anything .it's repaired by it self
Click to expand...
Click to collapse
Good. But I still recommend you to use button savior.
It gives virtual buttons On-screen and protects your Hardware buttons.
hnkotnis said:
Good. But I still recommend you to use button savior.
It gives virtual buttons On-screen and protects your Hardware buttons.
Click to expand...
Click to collapse
i will try thank u
LikkiHalili said:
i will try thank u
Click to expand...
Click to collapse
Glad to help you. Don't mention thanks. Just press the button.
Sent from my GT-I9001 Gadget of Mass Destruction with CM11 using XDA Developers App.

easyHome for Samsung - touch home button instead of pressing

Hello together,
found an app for our device, called easyHome for Samsung. It let control your home button much more then even before (Without root).
You can just touch the home button to go home, or if you buy paid version, then you can unlock device without pressing. Or you can lock the device with holding the finger on home button without pressing. Cost not much 1.77€.
Free version: https://play.google.com/store/apps/details?id=com.jamworks.easyhome
Paid version: https://play.google.com/store/apps/details?id=com.jamworks.easyhome.pro
Google Plus Community
https://plus.google.com/communities/106296114061383426071
Just installed it. Working great so far. If it doesn't go screwy, I'll buy the paid version. Thanks!
Why does it require permission to access my Contacts/Calls?!
pankajxdx said:
Why does it require permission to access my Contacts/Calls?!
Click to expand...
Click to collapse
I am sorry, i can't tell you. I am not the dev. I just found it. But here is G+ community where you can ask about it, and opt in beta.
It is not like i thought in pro version. It doesn't unlock phone if you use fingerprint, but dev is working hard, maybe he will get it fixed.
https://plus.google.com/communities/106296114061383426071
anyone can tell me how does this work? is the home button always turn and will have drain battery issue? thanks
selferng said:
anyone can tell me how does this work? is the home button always turn and will have drain battery issue? thanks
Click to expand...
Click to collapse
Hey. This app makes your home button as capacitive as back and recents button. You dont need to press it to go home. The paid version also has unlock and wake up feature with touching home button but u will be able to use fingerprint unlock if you wanna use the 'unlock feature'. Battery draining is nothing in this case i think. :good:
I understand the software is trying to make home button capacitive but this is not how it works right? I doesn't work if ur phone doesn't have finger print function. Eg note3. So imo how it works is the fingerprint sensor on all the time. Which might cause battery drain issue. My 2 cent
selferng said:
I understand the software is trying to make home button capacitive but this is not how it works right? I doesn't work if ur phone doesn't have finger print function. Eg note3. So imo how it works is the fingerprint sensor on all the time. Which might cause battery drain issue. My 2 cent
Click to expand...
Click to collapse
Dunno anything about the note 3 or others. I have edge plus and it works normal. Fingerprint sensor always works or not just never mind. Im getting almost 7h sot. I need capacitive home button on my device and I have then. Worth it eventhough causes draining.
i tried it then got the paid version then found out it drains your battery bad so i uninstalled it o well
Mine gets killed after a while by Samsung's agresive ram management and I have to restart the app manually in order for it to work. Any idea how I stop it from getting killed?
Sent from my SM-G928F using Tapatalk
Settings>battery>app optimization (press detail)>press galaxy button lights and turn it off
reneftw said:
Mine gets killed after a while by Samsung's agresive ram management and I have to restart the app manually in order for it to work. Any idea how I stop it from getting killed?
Sent from my SM-G928F using Tapatalk
Click to expand...
Click to collapse
from the battery mangement, u off this task from being killed =)
---------- Post added at 04:42 AM ---------- Previous post was at 04:40 AM ----------
after upgraded to version 1.2, it was not responsive and randomly not working. reverted back to version 1.0 by aptoide. smooth butter =)
ZinoKad said:
Settings>battery>app optimization (press detail)>press galaxy button lights and turn it off
Click to expand...
Click to collapse
I don't have app optimization in battery menu
selferng said:
from the battery mangement, u off this task from being killed =)
Click to expand...
Click to collapse
Can you tell me where exactly can I find that?
Sent from my SM-G928F using Tapatalk
reneftw said:
I don't have app optimization in battery menu
Can you tell me where exactly can I find that?
Sent from my SM-G928F using Tapatalk
Click to expand...
Click to collapse
setting - battery - under app optimization - detail - turn off the easyhome from being killed.
btw, i believe u r using version 1.2 now? is better if u can install back version 1.0. smooth butter without any issue
selferng said:
setting - battery - under app optimization - detail - turn off the easyhome from being killed.
btw, i believe u r using version 1.2 now? is better if u can install back version 1.0. smooth butter without any issue
Click to expand...
Click to collapse
I don't have app optimization. The problem is that in the last 3 weeks I did not received any software update and I think that option comes with newer software versions.
Sent from my SM-G928F using Tapatalk

Categories

Resources