[Q] Remapping the G as a On/Off ~ - LG Optimus Black

Please delete.. i found a similar thread.. thanks

JastaPein said:
my 2 year old son messed up my wife's OB and now its too damn hard to turn it On/Off using the dedicated button on top of it.
i would like to ask if i can remapp the G Button to ACT as a On/Off Button.. .
Anyone? Thanks in advance
Click to expand...
Click to collapse
Use the search... You will find the thread related to that config

Related

[q] {request} a screen position change< plz >

Hi guys,
So, as the thread says, i am having a problem with screen positioning, its landscape mode and i want it to go portrait mode, BECAUSE i have a damaged X1, some microchip is damaged, and the only buttons working is the turn on button and the camera button, but everything which goes for the touch is working perfectly.
SO, when i start ANDROID system, i always get it in landscape mode, and as none of my buttons work, i cant just "slide out and slide in" the telephone to change the view, so is there any way to change the default starting view ? maybe to change some kind of code or line in settings ?
tads999 said:
Hi guys,
So, as the thread says, i am having a problem with screen positioning, its landscape mode and i want it to go portrait mode, BECAUSE i have a damaged X1, some microchip is damaged, and the only buttons working is the turn on button and the camera button, but everything which goes for the touch is working perfectly.
SO, when i start ANDROID system, i always get it in landscape mode, and as none of my buttons work, i cant just "slide out and slide in" the telephone to change the view, so is there any way to change the default starting view ? maybe to change some kind of code or line in settings ?
Click to expand...
Click to collapse
It will be hard to use android without "OK" button (back in android) and Left softkey (Menu in android)...
radzix27 said:
It will be hard to use android without "OK" button (back in android) and Left softkey (Menu in android)...
Click to expand...
Click to collapse
Yes , it will be, but i tried to repair it, i repairmans told, that this device is unrepairable... So i either throw it away or manage to use android ... Can anyone help ?
On some of the iPad knockoffs running android, they put only the home button on the device, and put software buttons for back and menu in the top right of the screen. Maybe you can find some way to get that?
ref:
http://www1.dealextreme.com/productimages/sku_42070_1.jpg
As for the rotate, when I press the menu button on the home screen, it seems to realise that the keypad is in fact closed and rotate the correct way. So if you can get the menu button up there, then press that on the homescreen and it should rotate to the correct orientation.
Mic159 said:
On some of the iPad knockoffs running android, they put only the home button on the device, and put software buttons for back and menu in the top right of the screen. Maybe you can find some way to get that?
As for the rotate, when I press the menu button on the home screen, it seems to realise that the keypad is in fact closed and rotate the correct way. So if you can get the menu button up there, then press that on the homescreen and it should rotate to the correct orientation.
Click to expand...
Click to collapse
Nice idea , but how to get the menu button on screen? (sorry , i know i am a newbie...)
tads999 said:
Nice idea , but how to get the menu button on screen? (sorry , i know i am a newbie...)
Click to expand...
Click to collapse
BUMM, ANYONE WILL HELP ?
tads999 said:
BUMM, ANYONE WILL HELP ?
Click to expand...
Click to collapse
omg ? maybe developers, do sth ?
tads999 said:
omg ? maybe developers, do sth ?
Click to expand...
Click to collapse
nice, some kind of guy wrote, that it will be hard , and thats it ? U [email protected][email protected][email protected][email protected] thx for that idea , with ipod and back button, maybe i will find an answer somewhere...
You can maybe remap the keys like this:
Camera focus = back
Camera = home
Power = menu
But I don't know how to do it.
Sent from my MSM using XDA App
Camera focus is already mapped to back button in "Froyo FRG83 - Android 2.2.1 Beta-Release [06-11-2010] from neopeek", but camera is mapped to turn off.
Also with that configuration, how would you turn off your device or put it into standby?
@tads999 calm down dude. Remember that YOU need help, not us. So don't yell at guys that want to help.
matejdro said:
Also with that configuration, how would you turn off your device or put it into standby?
Click to expand...
Click to collapse
Take out the battery to turn off.
Have a timer that enters standby after some minutes if nobody touch it and listen to all working keys so he can exit standby.
And if I would have his X1 I would be pleased if it could run Android.
Sent from my MSM using XDA App
matejdro said:
Camera focus is already mapped to back button in "Froyo FRG83 - Android 2.2.1 Beta-Release [06-11-2010] from neopeek", but camera is mapped to turn off.
Also with that configuration, how would you turn off your device or put it into standby?
@tads999 calm down dude. Remember that YOU need help, not us. So don't yell at guys that want to help.
Click to expand...
Click to collapse
Ye, sorry, i just thought, that it will be the forum where no one replies with any help DDD sorry, well, for home and another buttons i have 5 buttons working properly, like power button, volume down, volume up buttons, and camera , camera focus. Hm, maybe i should write to the guys, which created the android for x1 ?
tads999 said:
Ye, sorry, i just thought, that it will be the forum where no one replies with any help DDD sorry, well, for home and another buttons i have 5 buttons working properly, like power button, volume down, volume up buttons, and camera , camera focus. Hm, maybe i should write to the guys, which created the android for x1 ?
Click to expand...
Click to collapse
i mean, asking to remap the keys for me,
LOL, got a brilliant idea, i will try to remap the key which enters when u slide ur phone out and in, if this will work, i will be able to run android perfectly ;D

[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

[Q] How to turn the G button to power key and other function key?

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///

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

Answer with softkeys?

Hello Guys!
I was wondering one thing, you can answer incoming calls with a button softey?
When I had the i9003 Galaxy scl, I remember there was an option that allowed you to answer calls, via home button.
You can have such a thing even on the dual?
With CyanogenMod 7, you can unlock the phone by pressing the menu button, then in some way I can set the buttons to respond more quickly?
Thank you all for your support!
davibs said:
Hello Guys!
I was wondering one thing, you can answer incoming calls with a button softey?
When I had the i9003 Galaxy scl, I remember there was an option that allowed you to answer calls, via home button.
You can have such a thing even on the dual?
With CyanogenMod 7, you can unlock the phone by pressing the menu button, then in some way I can set the buttons to respond more quickly?
Thank you all for your support!
Click to expand...
Click to collapse
Nothing?
Hi.. I don't think there is such an option in cm7... I could be wrong tho.. have you tried opening the dialer and clicking the menu button then settings.. could be in there. Hope this is of some help
Sent from my LG-P990 using xda app-developers app
darenb4 said:
Hi.. I don't think there is such an option in cm7... I could be wrong tho.. have you tried opening the dialer and clicking the menu button then settings.. could be in there. Hope this is of some help
Sent from my LG-P990 using xda app-developers app
Click to expand...
Click to collapse
No, there isn't that option.
:/

Categories

Resources