Onscreen softkeys - LG Optimus 4X HD

Guys by any chance do you know how to disable the capacitive keys and enable the onscreen keys?
Sent from my LG-P880 using xda app-developers app

leortez said:
Guys by any chance do you know how to disable the capacitive keys and enable the onscreen keys?
Click to expand...
Click to collapse
Install a custom ROM with them in?

There's a guide around for that. Have a look at the index linked in my signature, it's in there.

muellersmattes said:
There's a guide around for that. Have a look at the index linked in my signature, it's in there.
Click to expand...
Click to collapse
Well i went on and gave it a search on that thread. I was unable to find anything related to it. I know that you can enable the soft keys with custom ROMs. I would like to do this with cm10.1.2. Which doesn't have the option built in, I did this with a previous phone I had and was able to disable to capacitive external keys. And enabled the onscreen. Which makes things a lot more comfortable. If anyone has any other ideas, would be very appreciated.
Sent from my LG-P880 using xda app-developers app

I'm afraid you'll have to put some lines into the build.prop. There's no option to enable them from the menu.
Gesendet von meinem LG-P880 mit Tapatalk 4

muellersmattes said:
I'm afraid you'll have to put some lines into the build.prop. There's no option to enable them from the menu.
Click to expand...
Click to collapse
Isn't it the old
Code:
qemu.hw.mainkeys=0
line?
Although this will just give default size buttons with no way to adjust the size.
[MOD][CM10/10.1] On Screen Buttons is for the Galaxy S, but might give you an idea where to start looking if you wish to try developing this yourself.
Or you could try SoftKey Enabler from the Play Store and see if that works on our device - I'm running Magic ROM v2 and love having capacitive buttons so have no interest in tryng this myself.

That's the one. And you can disable the capacitive buttons by editing a file, it's all described there. Of course it's not directly in the index, the guide is linked in the "guides" section. I'm on Tapatalk now, so no way to directly give the link to the right thread.
Gesendet von meinem LG-P880 mit Tapatalk 4

muellersmattes said:
That's the one. And you can disable the capacitive buttons by editing a file, it's all described there. Of course it's not directly in the index, the guide is linked in the "guides" section. I'm on Tapatalk now, so no way to directly give the link to the right thread.
Gesendet von meinem LG-P880 mit Tapatalk 4
Click to expand...
Click to collapse
here you go

Related

LG Touch LED Notifications for 4X HD

I made some modification on LG Touch LED Notifications to support 4X HD.
Original thread http://forum.xda-developers.com/showthread.php?t=1125429
Root is needed.
Thanks xigzil / Martin Börjesson
If it is good enough I will send request to add to original app.
Later today I'm going to root it and try your app. Thanks
Sent from my LG-P880 using xda app-developers app
Works for me, except the default setting is "faded pulse", which seems to be unsupported.
muellersmattes said:
Works for me, except the default setting is "faded pulse", which seems to be unsupported.
Click to expand...
Click to collapse
It seems like 4X does not support front key brightness control.
Nice work!
Thanks!
Enviado desde mi LG-P880 usando Tapatalk 2
It works very well. It would be good if we could change the times for on and off.
Gesendet von meinem LG-P880 mit Tapatalk 2
antiself said:
It works very well. It would be good if we could change the times for on and off.
Click to expand...
Click to collapse
It's possible in the preferences.
Its working great!
Thanks
Sent from my LG-P880 using xda app-developers app
It's perfect!
Thanks
Just installed and it works perfectly but it serms to be draining my battery alot
works well with 4xhd and wathsapp.
Great job!
:thumbup:
Inviato dal mio LG-P880 con Tapatalk 2
Hi,
Do you know if there is an app that do approximatly the same (don't stay on, but lightning for a second) thing but with the rear flash led.
thank you.
sorry for my bad english.
theofficialpimp said:
Just installed and it works perfectly but it serms to be draining my battery alot
Click to expand...
Click to collapse
I only modified the LED interface part. Nothing I can do much about battery issue.
How to root?
How can I root my 4X?
See the thread in the development section. It shows u step by step how to do it
Sent from my MB865 using xda app-developers app
ilan_75 said:
Hi,
Do you know if there is an app that do approximatly the same (don't stay on, but lightning for a second) thing but with the rear flash led.
thank you.
sorry for my bad english.
Click to expand...
Click to collapse
I use the app NoLed , it works great and no need to root, you can set the time for how long the notification will stay on.
works great for me!
This app has been working great for me, thanks a lot atipon! However, I encountered a problem that might be caused by this app.
I did an update from V10D to V10F firmware and now the softbutton backlight wont stay on anymore, as set in the system settings. It has been working on V10D flawlessly, but with the new firmware, the lights will go out in a few seconds, no matter if they are set to always on.
Another user has reported, that this setting was working for him on the V10F firmware.
Uninstall app and check that problem still or not.
App does not make any permanent change on phone.
I just did that a second time (uninstall & reboot), but with no effect. Strangely every other setting of light-on durations seem to work, so staying on for 1.5, 3 and 5 seconds, but when set to always on, the light will keep going off after a few seconds.
I noticed, that there is some system file 'br_maintain_on' in the button backlight folder and its content is '0' - could it be related?
Thanks for your help! This issue is really annoying me.
EDIT: OMG, changing the content of this file to 1 did fix it instantly! I'm not sure, if this app caused this behavior to happen but if anyone has the same issue, the exact location of the file is:
/sys/devices/platform/button-backlight/leds/button-backlight/br_maintain_on
EDIT 2: the file will be set to '0' on each reboot, even with read-only permissions and when this app is not installed. It looks like this could be a firmware bug?
Gesendet von meinem LG-P880 mit Tapatalk 2

(Request ) app/mod for wakeing the phone to lock screen using soft keys/home button

I have an optimus 4x(just like all of us):screwy:, and the lock/unlock/power button is a bit awkward:banghead:...
All of the unlock apps present in market require pressing the power button.
Can any one developed an app/mod that will wake the phone without the use of power button!?
I myself would like try but don't know first thing about Android development. So if u lazy then please guide me in which direction to go
Sent from my LG-P880 using xda app-developers app
If you use holo locker from the market you can use the volume button to wake the screen. If that's any good?
Sent from my LG-P880 using xda premium
I know this is not your inteded answer, but would't the phone be unlocked all the time? I mean, those capacitive buttons are easily pressed, even through pockets. Plus, you'd need to power them all the time which would cause some battery drain.
On the old HTC Desire S we had "Sweep2Wake" - but that requires kernel modifications AFAIK. Maybe something for the future as it was quite a nice feature, and I don't like using physical buttons to wake my phone as it wears them out too quickly.
How about smart screen off pro from play store? It uses the proximity sensors and/or the light sensors to wake up your phone by put them out of the pocket or anything else...
Great app that I used by my self...
Gesendet von meinem LG-P880 mit Tapatalk 2
Blainstorm said:
How about smart screen off pro from play store? It uses the proximity sensors and/or the light sensors to wake up your phone by put them out of the pocket or anything else...
Great app that I used by my self...
Gesendet von meinem LG-P880 mit Tapatalk 2
Click to expand...
Click to collapse
Very useful app. Thank for sharing. It's solve problems with pressing the power button.
Really great app thanks for sharing
Sent from my LG-P880 using xda app-developers app
Hello.
You can try also "Auto Screen On" from Google Play. It works with the frontal sensor; it's perfect to have your phone turned on when getting out from your pocket. After trying similar apps, I prefer this

MOD - Working Headset Buttons -Alpha

Hey,
i just tryed fixing the Headset Buttons for Razr I...
It works for one button Headsets & I need someone trying it with 3 Button headsets
here are the files that have to be copied to
/system/usr/keylayout
don't forget to set rights!!!
U'll need an App like Headset Droid to configure Buttons for Next Button!!!! NOT for Play/Pause Button!!!
Modded Generic.kl
Modded intel_short_long_press.kl
Modded medifield_audio_Intel_R__MID_AUDIO_Jack.kl
Original Generic.kl
Original intel_short_long_press.kl
Original medifield_audio_Intel_R__MID_AUDIO_Jack.kl
Please give feedback
Hi mate. Cool idea, have beats headphones and always wanted to make control work with motorola. Had sensation xe before and it was great to control music by headphones.
Keep it up mate.
For me your mod doesn't work just recognised all 3 bottoms as "next track"
I used headset control app. Hope you'll figure it out and our headphones will be 100% useful again
Cheers mate.
Sent from my XT890 using xda premium
As workaround you can set all things to next key first of all.just define one click as play/pause and double click as next, press and hold as volume up and reset or as ever u like. Did you thought on rebooting the phone?
Gesendet von meinem XT890 mit Tapatalk 2
mgvinc32 said:
As workaround you can set all things to next key first of all.just define one click as play/pause and double click as next, press and hold as volume up and reset or as ever u like. Did you thought on rebooting the phone?
Gesendet von meinem XT890 mit Tapatalk 2
Click to expand...
Click to collapse
The first think was, the files you provided are *. txt instead of *. kl so had to rename it. Later I replaced files and set up program for 3 bottoms, one next track one start stop track and one previous track. The problem was all 3 bottoms was recognised as "next track"
This is strange
What do you think about it?? If you have any ideas what am I doing wrong please let me know mate. Cheers
Sent from my XT890 using xda premium
I gonna have a look on it tonight...at my place I should have headphones from apple.
Gesendet von meinem XT890 mit Tapatalk 2
Thx.. It workes perfect for me with pillama0.5 and walkman...
Gesendet von meinem XT890 mit Tapatalk 2
Did not work at all here
When I had my Defy, i just changed the "headsethook" entry in some file I cant remenber to "media_next" and all 3 buttons were used for that.
In Razr I cant even to that, using a keymap app when I press the buttons on my headset it won't even show up.
there is a way to enable "volume rocker?"
Yes gonna make a Script
Gesendet von meinem XT890 mit Tapatalk 2
lordvampire said:
Thx.. It workes perfect for me with pillama0.5 and walkman...
Gesendet von meinem XT890 mit Tapatalk 2
Click to expand...
Click to collapse
Mate what kind of earphones are you using?? It seems to not work with my beats headphones. They use to work with me sensation XE but motorola mess this up
Sent from my XT890 using xda premium
I can't not download, it say bad link
-------------------------------
never mind, its my phone that wont download
thx
Links checked -> online
My headset buttons doesnt even get recognized with keytest I'm using omar rom.
I used the same headset on my defy with cm10 and it was working.
Can anyone use keytest app to see if it is just me?
kelvinmorcillo said:
My headset buttons doesnt even get recognized with keytest I'm using omar rom.
I used the same headset on my defy with cm10 and it was working.
Can anyone use keytest app to see if it is just me?
Click to expand...
Click to collapse
anyone?
kelvinmorcillo said:
anyone?
Click to expand...
Click to collapse
With my earphones (beats from sensation xe) all 3 headset bottoms are recognised as one bottom
Sent from my XT890 using xda premium
highflights said:
With my earphones (beats from sensation xe) all 3 headset bottoms are recognised as one bottom
Sent from my XT890 using xda premium
Click to expand...
Click to collapse
In my experience the headphone doesn't get recognized at all, while in my old defy it still do This is a handy tool to use when you're commuting. :crying:
someone has tried this mod with a Samsung's GS3 headsets? they have 3 buttons
This will work with my headphones?
Bose mie2i

Software Buttons

A couple of days ago I asked in the Q&A forum if it was possible to disable your physical back home and menu buttons and enable the on screen buttons like on the nexus 4. A guy named: UncleRipper helped me by telling me how to do it, so I want to share it with you guys. But all props to UncleRipper! For an example of how it looks on my phone see the photo below.
So what we want to do is enable the on screen buttons, disable the physical buttons, and stop them from lighting up everytime you touch the screen. I know you can disable this in the settings if you're on lg's software, but I am running cyanogenmod 10.1 nightly.
So first enable the on screen buttons:
open a file manager with root ( Solid Explorer or Root Explorer), go to /system and open build.prop (backup it!!):thumbup:
add this line at the end of the file build.prop:
qemu.hw.mainkeys=0
restart your phone.
Now you got the on screen buttons, you want to disable the physical buttons:
Use "button remapper" (search it on google cause isn't on play store) and assign "focus" to home, back and menu buttons.
The app is simple to use and the values to change are last in the list.
After the physical buttons are disabled you want to stop them from lighting up when you touch the sceen:
Prerequisites:
Root
SManager (play store)
SManager widget (play store)
Your phone
this script: https://www.dropbox.com/s/iz6t5eql0w...tkeyscript.zip
First install the app SManager and accept the SU request.
Use a root file browser and move the script from the SD Card your system/etc/init.d folder
Go into SManager and locate the 2 scripts. Click on them and tap the little star button in the top left to make them a favorite. And click the little SU icon while your at it! (optional: click also on run on boot the gear near "su" command)
Add the widget to your home screen, run the script and turn off the display and then turn it back on.
If the physical buttons wernt visible id do this. But i find LMT launcher works great for when a can be bothered doing hand gymnastics to push the back button.
JoinTheRealms said:
If the physical buttons wernt visible id do this. But i find LMT launcher works great for when a can be bothered doing hand gymnastics to push the back button.
Click to expand...
Click to collapse
Yep, if the physical buttons went off, it would be good. Could You make it working? ;D
The physical buttons are disabled and they don't light up anymore, so you can't really see them anymore unless you take a really hard look. But hey, it's your choice rather to use it or not! I'm just saying it's possible ;D
Sent from my LG-P880 using xda app-developers app
hey thanks..
i use an apk that i find on 591forum on screen virtual button that do the same thing but now in jb do not runs..
so thanks..
EDIT hey link do not work for me..
seems uncomplete..dropbox say me link do not valid...
the link for me is hxxps://dropbox.com/s/iz6t5eql0w...tkeyscript.zip
zicoxx said:
hey thanks..
i use an apk that i find on 591forum on screen virtual button that do the same thing but now in jb do not runs..
so thanks..
EDIT hey link do not work for me..
seems uncomplete..dropbox say me link do not valid...
the link for me is hxxps://dropbox.com/s/iz6t5eql0w...tkeyscript.zip
Click to expand...
Click to collapse
Sorry, here I uploaded it with box myself this time, this should work:
https://www.box.com/s/1737jio230ig6wu0vgrs
luuk.vandeven said:
Sorry, here I uploaded it with box myself this time, this should work:
https://www.box.com/s/1737jio230ig6wu0vgrs
Click to expand...
Click to collapse
thanks..i download it..it's ok now
Why on screen button? If your device have the physical key so use it.also on screen button takes space in screen.
Sent from my LG-P880 using xda premium
Why not??
-you think it is beautiful and you like nexus software button?
-you apply the mod.
-you don't think that is great?
-don't install the mod...
i think that the software buttons are great and a 4.7" screen is very big. fill it with something...
sorry for my english.
Sent from my LG-P880 using xda app-developers app
UncleRipper said:
Why not??
-you think it is beautiful and you like nexus software button?
-you apply the mod.
-you don't think that is great?
-don't install the mod...
i think that the software buttons are great and a 4.7" screen is very big. fill it with something...
sorry for my english.
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
Couldn't agree more!
I seem to be having trouble with button remapper. The only option that I'm getting is for the power button and can't seem to access the home, menu, and back keys for some reason. Any help would be appreciated. Thanks.
Sent from my Optimus 4x HD using XDA Premium
Open /system/usr/keylayout/touch_dev.kl and remove/comment three lines from the almost end of the file (those with VIRTUAL word). Works, at least on PAC 23.0/CM10.1, not sure if in stock rom will also work. Then use the script from OP to disable lights (I'll try to find simplier way to do it all).
And of course add this:
Code:
qemu.hw.mainkeys=0
at the end of /system/build.prop
+1 thank you I got it all working now.
Sent from my LG-P880 using xda premium
Good job but i like the physical buttons ... And i just wnt to turn off the lights alone ...nd still use the physical buttons...
How do i turn off the physical button light alone ??
Sent from my LG-P880 using xda premium
jigga027 said:
Good job but i like the physical buttons ... And i just wnt to turn off the lights alone ...nd still use the physical buttons...
How do i turn off the physical button light alone ??
Sent from my LG-P880 using xda premium
Click to expand...
Click to collapse
Any Help?
Sent from my LG-P880 using xda premium
jigga027 said:
Any Help?
Sent from my LG-P880 using xda premium
Click to expand...
Click to collapse
only help i can be is to tell you that arararagi's CM has an option to disable button backlight. it's the only rom out of current custom ones that has implemented any control over our led, afaik.
Flying_Bear said:
only help i can be is to tell you that arararagi's CM has an option to disable button backlight. it's the only rom out of current custom ones that has implemented any control over our led, afaik.
Click to expand...
Click to collapse
So where is this arararagi CM... Where can i get de rom to dwnld
Sent from my LG-P880 using xda premium
jigga027 said:
So where is this arararagi CM... Where can i get de rom to dwnld
Sent from my LG-P880 using xda premium
Click to expand...
Click to collapse
under o4x android development subforum.
jigga027 said:
Any Help?
Sent from my LG-P880 using xda premium
Click to expand...
Click to collapse
jigga027 said:
Good job but i like the physical buttons ... And i just wnt to turn off the lights alone ...nd still use the physical buttons...
How do i turn off the physical button light alone ??
Sent from my LG-P880 using xda premium
Click to expand...
Click to collapse
make a init.d script with these lines
echo "0" >/sys/devices/platform/button-backlight/leds/button-backlight/max_brightness
echo "0" >/sys/devices/platform/button-backlight/leds/button-backlight/brightness
Click to expand...
Click to collapse
after reboot the light is gone :good:
jigga027 said:
Good job but i like the physical buttons ... And i just wnt to turn off the lights alone ...nd still use the physical buttons...
How do i turn off the physical button light alone ??
Sent from my LG-P880 using xda premium
Click to expand...
Click to collapse
Check post #6 for the script and then use smanager to run it on boot as root
Sent from my OptimusX4HD using xda app-developers app

modules menu item missing

Please see the attachments. Modules and Download menu items are missing. How do I get them? My device is rooted successfully.
Show your settings please.
Gesendet von meinem Moto G 2014 LTE mit Tapatalk
Attached. Thank you.
ynag said:
Attached. Thank you.
Click to expand...
Click to collapse
Disabled magic core only mode
I feel so stupid now. It's written right there below the Core only mode. I disabled the option and I see them. Thank you!
ynag said:
I feel so stupid now. It's written right there below the Core only mode. I disabled the option and I see them. Thank you!
Click to expand...
Click to collapse
Assumed that to be the issue but I'm laughing so hard right now.
Have a nice day though.
Gesendet von meinem Moto G 2014 LTE mit Tapatalk

Categories

Resources