[REQUEST] Change SS button combination - Xposed General

Hi!
I have a galaxy s 4 mini and I'm used to take a screen shot using the combination power + home button. I've installed carbon rom and now combination is power + Vol. Down button. Is there any xposed modules to change that?
By the way, is there any chance to have modules updates to be notified on notification bar?

Related

[Q] open power options without pressing power button

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.

Invisible power button in KK

Any mod or port of sysui with invisible power menu
Xperia Z1 ihacker V4.1
walkwitmeinhel said:
Any mod or port of sysui with invisible power menu
Xperia Z1 ihacker V4.1
Click to expand...
Click to collapse
First of all what do you mean by invisible power button?
If you what to use the power button without pressing the power button use an xposed module called GravityBox
Under "Navigation keys actions" you can set actions like long pressing the back button brings up power menu etc.
yup owns Xperia Z1
Current Rom : CM11 with cwm as kernel
Bootloader: Unlocked
Also if I've helped you don't forget to hit THANKS - actions speak louder that words.
RealiableCandy4 said:
First of all what do you mean by invisible power button?
If you what to use the power button without pressing the power button use an xposed module called GravityBox
Under "Navigation keys actions" you can set actions like long pressing the back button brings up power menu etc.
yup owns Xperia Z1
Current Rom : CM11 with cwm as kernel
Bootloader: Unlocked
Also if I've helped you don't forget to hit THANKS - actions speak louder that words.
Click to expand...
Click to collapse
what he means is the usage of part of the screen (more than likely the nav bar) to have a lock screen button on it, so you don't always have to use the power button to turn the phone off.
It can be done afaik, i'm looking to do it myself and you've just reminded me.

Screenshot option to power button?

Does anyone know of a mod that would add a screenshot choice to the power button? I've had that in the past with other phones and really miss it.
In the stock ROM a screenshot is taken by pressing Power + Volume down. Is this kind of a solution for you?
No, I'm aware of that. With other phones on custom ROMs if you press the power button you get the option to power off, reboot, or take a screen shot. It was so much easier than having to hold in two buttons.
Would love ❤ if they had a gesture S shape to activate a screenshot
Via my NeXus™ 7FHD on XDA Premium app

[MOD] [ZIPs] Button remaps for the L90

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.

Remap power button

Does anyone know how to remap the power button? I want to remap power button single press to "back" function. Modifying key 116 value from "POWER" to "BACK" in /system/usr/keylayout/Generic.kl as well as several other layout files in that folder did not work. Phone ignores those changes after reboot, and uses default function of turning the screen on and off.
"Xposed Additions" Xposed module does have this capability, but this module doesnt work on Magisk version of MIUI Xposed... Any suggestions are welcome. TIA.
EDIT: Managed to install Xposed Additions - it doesn't have the option I'm looking for. It allows to assign very specific, limited number of functions to it, and BACK button isn't one of them.
i was able to remap the power button to answer phone call using xposed additions try it out, you need root + xposed though.
Re-read the 2nd paragraph of my question. It looks like you bluntly ignored it.

Categories

Resources