is there a way to add options when we long press the power button? optionto not only shutdown the phone but also reboot.
The CyanogenMod (CM7) ROM, does this. If you can live with that ROM (or any ROM based on that), I can highly recommend this one from wgspoelstra.
does it have the 64RAM hack (freeing up an extra 64 mb ram)
Yes, CM7 uses the vorkKernel which has this hack.
thanks! i have the WGSPOELSTRA on my phone, working great, i am on v.26, i haven't updated to the latest because i'm seeinig some negative feedback on the release
It would be great to use the volume buttons to unlock the screen.
Anyone knows if it could be plausible?
i can't find it again...i knew i found an option that does that... now i'm not sure if it's in the slick custom roms or the WGSPOELSTRA's
Graffin said:
It would be great to use the volume buttons to unlock the screen.
Anyone knows if it could be plausible?
Click to expand...
Click to collapse
CM7 has this functionality.
yan go to CM7 settings --> input --> and volume rocker wake option
baste07 said:
is there a way to add options when we long press the power button? optionto not only shutdown the phone but also reboot.
Click to expand...
Click to collapse
Whilst it is possible with stock it's a lot of framework edits. I took a look and hacked together a reboot proof of concept... you have to call an existing function and LG have obfuscated this function in their framework...
Graffin said:
It would be great to use the volume buttons to unlock the screen.
Anyone knows if it could be plausible?
Click to expand...
Click to collapse
WidgetLocker supports this.
baste07 said:
yan go to CM7 settings --> input --> and volume rocker wake option
Click to expand...
Click to collapse
Brilliant. I love LG 2X but the power button at the top and volume buttons on the right are a big fail in my opinion. I might be too use to the layout on SGS.
Having said that I don't mind if there is a workaround and this for me is perfect. Thanks.
I saw threads remap the g-key to camera. But I want to map it to a volume app.
Thanks for the help.
Here is what i found;
1.Firstly, you need a rooted LG Optimus Black.
2.Find the file“TWL4030_Keypad.kl”, it’s in /system/usr/keylayout/
3.Backup the file, copy or rename.
4.Then open the “TWL4030_Keypad.kl”, scroll down to 3rd line from the bottom, it should be “key 95 GESTURE”.
5.If you want to use your phone’s “G Button” as camera button, change it to “key 95 CAMERA WAKE_DROPPED” (Once you launch the camera app, you can press the “G button” to take a picture immediately)
6.If you want to use use your phone’s “G Button as power/lock button, change it to “key 95 POWER WAKE_DROPPED”
7.Save the changes and reboot the device.
also found in here : http://forum.xda-developers.com/showthread.php?t=1194058
You get the trick right? With a little luck you can remap it to anything you want. You can write volume i guess... But volume has 2 options "+" and "-". So even if you manage to do it you will only be able to remap one of them. It's either "volume +" or "volume -" Since G is only one button.
Thanks a lot man!
The Volume i mean is just an ordinary app from the market called "volume toggle free". So an instruction about remapping the gkey to any app should work. How?
BoyBawang2 said:
Thanks a lot man!
The Volume i mean is just an ordinary app from the market called "volume toggle free". So an instruction about remapping the gkey to any app should work. How?
Click to expand...
Click to collapse
Sorry for the confusion. I just saw the volume part. But no need to get excited, i just wanted to help. I'm sure someome knows it and will post it. Good day, man...
do you how to change "g" key to wake up the screen. I'm using marvel 4
Hey guys, i have a captivate and im running ICS AOKP with nova launcher prime. My power button is near broken. It always sticks and requires multiple presses before a response. Is there a way to open power options (you know, it brings up the shutdown, airplane mode and reboot options) without pressing the actual power button with nova launcher or a google play app?
Eh...
I dont know of anything. That darn power button is a problem for SOO soo many people. However, something that may help you is going into setting, go to display, and hit volume rocker wake. This will allow you to wake up the device by pressing the volume buttons. Also, if you need to go into reboot options, try rom manager. You can access recovery from there. This is the easiest method I have heard about this issue.
Thanks for your advice. To be more specific, i wanted to be able to shutdown when i wanted. I had forgotten about the rom manager thing.
Also, something cool: If you use Nova launcher, you can change a setting to make the phone wake with the vol up/down. Also, if you buy the donate version and pair it with the app "screen off and lock", you can sleep and lock your device by tapping anywhere on the home screen twice. Its really nifty. Doing that makes you not even need to press the power button anymore....except when you want to shutdown, restart, or take a screenshot.
psm510 said:
Hey guys, i have a captivate and im running ICS AOKP with nova launcher prime. My power button is near broken. It always sticks and requires multiple presses before a response. Is there a way to open power options (you know, it brings up the shutdown, airplane mode and reboot options) without pressing the actual power button with nova launcher or a google play app?
Click to expand...
Click to collapse
There are several roms floating around in the development section that have extended toggles. Usually this feature has reboot, recovery, and power off as options. I can't say which (if any) of the ICS roms have the extended power menu.
I can also say that MIUI's standard toggles have reboot and power on it.
Could you use QuickBoot for rebooting options?
Use my latest ROM
It has Search button remapped as Power. Both short and long press work!
I don't even use Power button anymore - Volume buttons to wake up!
Additional bonus - Search now works as Camera shutter!
ROM is in my sig.
Hi fellow users,
My D415 died awhile ago so therefore I cannot make nor test any new zips. I can add any of your zips to this thread as long as you PM me the zip and another user can verify that your zip works. Have fun and be safe!
I made some zips to remap the button layouts on the LG L90 to replace the menu with recents, and to remap the button above the volume keys to a play/pause media or camera. With these zips, you do not need to remap the keylayout files yourself, reboot, or mess something up. I've used these for myself when flashing a new rom, and the zips are in attachments.
Use these zips at your own risk. I am not responsible for anything you do(or don't do). If there is an issue, please tell me so I can try to help you.
NOTE: This has only been tested on the D415 and the D405n(thanks to @razoract) with Temasek's rom so it should work with any custom LP and MM (confirmed by @brossovitch with CM 13) rom, and probably won't work for the D410.
DO NOT USE WITH KITKAT ROMS OR STOCK. AFAIK THEY DO NOT WORK
Have custom recovery and unlocked bootloader...
Instructions: 1. Go into your custom recovery [CWM or TWRP]
2. Flash zip of your choice [download default zip just in case of failure]. Make sure signature verification is disabled. Zips found below...
3.???
4. Profit
D410, KitKat, and/or other users, If you PM me what button corresponds to button number(through CWM button test and I don't know what else unfortunately), I can make a set of zips for you.
Descriptions:
Note: There is no need to use the Modified zips to use recents button on SlimLP based roms because there are settings to change the Menu button to recents and flashing the Modified zips will disable long press and double tap options
Default: Use this to revert to default keylayout [no play/pause, camera button, nor recents remap]
Modified: Remaps the Menu button to Recents and adds the play/pause button
Modified camera: Same as Modified but with camera button
Modified Samsung Style: Remaps Menu to Back and Back to Recents with play/pause button, like most current Samsung devices
Modified Samsung Style Camera: Same as Modified Samsung Style but with camera button
Play/Pause: Simply adds Play/Pause button to rom [no recents remap]
Camera: Simply adds Camera button to rom [no recents remap]
Super: Maps the Quick button to Recents
Duper: Maps the Quick button to Menu and the Menu button to Recents
Brightness: Maps the Quick button to turn brightness up
Brightness Modified: Maps the Quick button to turn brightness up and the Menu button to Recents
Brightness Samsung: Maps the Quick button to turn brightness up and the Menu to Back, and the Back to Recents
Power App Switch: "Quick Button (top left button) to Power (lock, unlock and turn off) and the Power Button (right button) to App Switch (shows the running apps)". Thanks to @937foy
...
..Reserved..
Attention D410 Users
I need you guys to test this zip and see what it does (The MODIFIED-D410.zip)
I remapped the menu button to recent button, and I think I remapped the SIM button to Search and made the Home button to wake up the screen.
There shouldnt be any danger to your device, but if it doesnt work flash the DEFAULT-D410.zip and all should be fine.
Also, if this turns out to work, I'm sure that I can make a set of universal zips
Happy Flashing!
I'm sure that 99% of you have experienced the pure agony of stepping outside and your brightness is waaay too low and you fumble to turn the brightness back up [Aaaaah], but you can't see a darn thing [noooooooo!].
I have remapped the Quick Button to turn brightness up so that this doesn't happen as melodramatically as I described it. Just press the button and the brightness goes up quickly
Tested on my D415 and it should work for the D405(N) [Sorry D410 users]
Same bat instructions, same bat warnings
How would I accces the in app menus if I flash the"Modified: Remaps the Menu button to Recents and adds the play/pause button" zip, besides for using the nav bar?
mosimchah said:
How would I accces the in app menus if I flash the"Modified: Remaps the Menu button to Recents and adds the play/pause button" zip, besides for using the nav bar?
Click to expand...
Click to collapse
Most app menus are found in the top right corner and its also the menu button is defunct in material design guidelines, and a lot of phones don't even come with a menu button If you are running UberSlim or SlimLP you don't need to flash the modified because you can just remap the button in settings. So the only way to enable the menu button is with the nav bar or choose a different zip.
Sent from my LG-D415 using XDA Forums
ardentis said:
Most app menus are found in the top right corner and its also the menu button is defunct in material design guidelines, and a lot of phones don't even come with a menu button If you are running UberSlim or SlimLP you don't need to flash the modified because you can just remap the button in settings. So the only way to enable the menu button is with the nav bar or choose a different zip.
Sent from my LG-D415 using XDA Forums
Click to expand...
Click to collapse
Yeah, I know about the settings in uberslim, but I am considering switching ROM's again because of all of the random reboots. So which zip would turn the menu button into the recent key and still allow me to access hidden or non hidden menus. Or is Xposed the only viable option besides for the nav bar? Also, some apps hide the menu if they detect that the device has a menu key, so in that case either the nav bar has to be present (I know that it could be hidden) or one has to use the menu key. Personally I find that sometimes it is easier to just press the menu key rather than fish for the settings button.
Here I got an idea, thanks to @mosimchah
I just made these zips.
The Super zip remaps the Quick button to Recents and keeps the Menu button
The Duper zip remaps the Quick button to Menu and maps the Menu button to Recents
You should know what to do now..
Hi all,
I plan to make more zips (and/or improving my current ones) but I still need your help with testing the D410 zips as I have not received any input what-so-ever..
Anyways I have a new set of keymappings for you to test out. Below I have included zip mods for Stock Lollipop for the D415 (thanks to @lerner17 for providing the default.kl from Stock Lollipop) . It likely works for the D405 and probably doesn't work on the D410.
These zips are only for Stock Lollipop. Flashing these zips on Stock KitKat or any other rom will make buttons inoperable. If you have any doubts, copy your generic.kl found in /system/usr/keylayout/ and make sure your file manager has root access and is accessible without pressing any button (place it on a home screen). If buttons are inoperable, replace the generic.kl with the one you backed up.
The Stock.zip has the default keylayout and will undo the Stockified layout.
The Stockified.zip should remap the quick button to play/pause media and the Menu button to Recents.
Again, have custom recovery (CWM or TWRP) and flash zips. I assume no responsibility for whatever you do to your device or whatever you don't do to your device.
And as always, I'm open to input (and criticism) and welcome it
@ardentis
Thank you for this. The button remap flash is so convenient and easy. Works on all custom ROMs that I've tried. (CM12.1, CM13, Orion-LP) So amazing. Thank you!
Side note. The button allows pictures to be taken, but hold for video video.
Hey can you make a .zip that can work with google on tap in cm13 but have the same effect that the duper zip does? Also how do I uninstall this
yasiro500 said:
Hey can you make a .zip that can work with google on tap in cm13 but have the same effect that the duper zip does? Also how do I uninstall this
Click to expand...
Click to collapse
I can try making an on tap zip but no promises. You can uninstall a zip with another zip but if you want the default keymap flash default.zip
Now on tap can't be activated by a key command so I cant make a zip for it. :/
The button mod no longer opens camera on SlimROM (6.0.1). It does toggle shutter while camera is open.
Still great work man.
Sent from my SM-T230NU using XDA-Developers mobile app
brossovitch said:
The button mod no longer opens camera on SlimROM (6.0.1). It does toggle shutter while camera is open.
Still great work man.
Sent from my SM-T230NU using XDA-Developers mobile app
Click to expand...
Click to collapse
Hmm weird. It might be some sort of code change so I dont think I can help unless you can give me the default.kl. Isnt there an option to remap the button to open the camera in SlimRom? Or is it just CM13 ?
Hi !
Thank you for this buttons remap ! Now is more confortable use CM13 bith the recent apps in the menu button, and Google Now on Tap on the home.
Great job !
Enviado desde mi LG-D405n mediante Tapatalk
ardentis said:
Hmm weird. It might be some sort of code change so I dont think I can help unless you can give me the default.kl. Isnt there an option to remap the button to open the camera in SlimRom? Or is it just CM13 ?
Click to expand...
Click to collapse
Actually, neither have that option. Hence why I use your zips. It's not a big deal. There's the double tap power button to open camera. Works fine. One of my L90s has a jammed/broken quick button anyhow. So I use the power button option on it instead.
Thank you for the great work, BTW.
Sent from my LG-D415 using XDA-Developers mobile app
I have remapped the Quick Button (top left button) to Power (lock, unlock and turn off) and the Power Button (right button) to App Switch (shows the running apps).
Tested using aosp-6.0.1-20160519-w7 on LGD415d52789b.
Code:
key 102 HOME
key 116 APP_SWITCH
key 250 POWER
Ill email the file to @ardentis
937foy said:
I have remapped the Quick Button (top left button) to Power (lock, unlock and turn off) and the Power Button (right button) to App Switch (shows the running apps).
Tested using aosp-6.0.1-20160519-w7 on LGD415d52789b.
Code:
key 102 HOME
key 116 APP_SWITCH
key 250 POWER
Ill email the file to @ardentis
Click to expand...
Click to collapse
Its up
thanks a lot
i want to give you thanks, i was seaching something else because some xposed apps doesnt works. thank you by this job.
I flashed the Modified zip for the d410 but the home button doesnt' work, it shows the recent apps.
The buttons work like this: Back Button/Back - Home Button/Recent Apps - Menu Button/Search - Sim Button/Nothing.
I dont like the default [Vol Down] + [Power] to trigger screenshot but cant seem to find a way to turn this off. Is there an easy way to do this and for that matter control functions of all hw buttons that doesnt involve ROOT or another launcher ?? (Knuckle for screenshot is great btw !). Thanks in advance for any suggestions.
I'm constantly making screenshots too.