any idea why this is happening?
eg i can click on the "cancel" but the install" word/icon there is no response.
i did change the ui, but again changed back to default but still the same
Disable halo
its a security feature, google does not allow overlays to run over that button - they could generate virtual clicks and install malware. pa's got a temporary "fix" against that, pac should either use it or instruct their users whats up with the button, since dragging halo over the red x for a sec is a possible solution, too.
Hey guys,
There have been a ton of people asking how to activate onscreen buttons and disable the capacitive buttons since CM12 builds have started rolling out. Obviously, at some point, these features will be rolled into the ROM, but until then, I figured it would be a good idea to simply present a step-by-step thread on the issue. There have been answers all over the place button nothing dedicated and centralized, so I figured I would help some guys out.
Things needed:
CM12 Build on any variety (currently K900 and bpear have "nightlies" available in development. Check em out.
Root access. Just flash SuperSU 2.16 (http://download.chainfire.eu/589/SuperSU/UPDATE-SuperSU-v2.16.zip) if you don't have it. Root is necessary.
Zip to turn of the backlights: http://www.mediafire.com/download/p385se5ia28cqab/noSoftkeyBacklight.zip (thanks @Moody for this)
1.) Activate On-Screen buttons
- Use a program such as BuildProp Editor (look it up on the Play Store) to create a new build.prop entry. Call it qemu.hw.mainkeys, and set it's value to 0. If you are doing this manually, just add the line "qemu.hw.mainkeys=0"
- Reboot.
2.) Deactivate Capacitive buttons
- Download Root Explorer or some other program that allows editing of system level files.
- Mount your system as R/W. In root explorer at least, when you get into the system, there is a button up top to do so.
- Navigate to /system/usr/keylayout. Open Generic.kl in with a text editor.
- Comment out the follow lines by inserting a pound sign (#) in front of the line:
key 158 BACK
key 172 HOME
key 139 MENU
After this, they will read:
# key 158 BACK
# key 172 HOME
# key 139 MENU
Therse are numerically ordered, shouldn't be hard to find within the document.
- Remount your system as R/O.
3.) Turn off the capacitve back lights
- Reboot into custom recovery and flash noSoftKey.zip file you downloaded earlier.
- Reboot.
That should do it! You should now have software buttons and your hardware buttons should seemingly not exist!
Any questions or comments, please leave them here.
Anyone know how to enable hardware home long press to get to Google now?
TjPhysicist said:
Anyone know how to enable hardware home long press to get to Google now?
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.phoenixstudios.aiogestures&hl=en
Added to OnePlus One index thread:
[INDEX] OnePlus One Resources Compilation Roll-Up
Transmitted via Bacon
Hi there, first of all, thanks. I am having a problem where after I disabled the capacitive buttons (Step 2) the power and volume buttons are not working. Thanks in advance.
You know how to enable menu key also?
Verstuurd vanaf mijn Nexus 7 met Tapatalk
Yes any chance of getting home button long press as search? Default is the menu button doing this.
Its not working bro
Tried and followed your steps , disabling capacitive keys works but enabling on screen keys not working even after changing build.prop , also i read in some post that enabling on screen key mod will not work in cm roms is that true can any one confirm me?
i am using following rom its CM12
http://forum.xda-developers.com/oneplus-one/development/devrom-cm12-scheduled-builds-t2938372
its very stable didnt experience any glitch till now , multi user and guest account works , all the other features are working too, try it out friends.
Pure awesomeness, many thanks for this guide. I'm back to my comfort zone, onscreen for me is just more intuitive.?
BTW, how to bring back the capacitive lights? I tried to remove the script at /etc/init.d and it only bootloops after reboot.
Edit: Nvm, found it, re-flashing the ROM brings back all to the default behavior including the capacitive backlights.
kmakiki said:
3.) Turn off the capacitve back lights
- Reboot into custom recovery and flash noSoftKey.zip file you downloaded earlier.
- Reboot.
That should do it! You should now have software buttons and your hardware buttons should seemingly not exist!
Any questions or comments, please leave them here.
Click to expand...
Click to collapse
For some reason this step isn't working for me. I tried wiping cache/dalvik and it didn't fix anything
Can anyone give a screenshot of the on-screen buttons?
Is this possible to do in hydrogen OS? I love that rom, but i switch back since there is no option to turn off hardwer keys and enable software key in system?
Sent from my A0001 using Tapatalk
How to add volume button onscreen by editing buid.prop
Currently running resurrection rom on asus t00j. Anyone knows how do I get that stock rom function where you can hold the recent apps key to take a screenshot? No recent key function is here. I have xposed. Anyone knows which xposed app can do the job for me?
Since u have xposed, then gravitybox will do the trick..(download it from repository inside xposed installer app (GravityBox-LP) )
Install it, go to navigation keys actions ,scroll down to "recents key" section and assign the "take screenshot" to the long press action....
Hope it will help...let me know after trying
The ultimate solution for assigning an action or application to the Bixby button
I found a trick to assign the Bixby button to an action, application and more... Support a single click, double-click and hold (also works the screen off)
Here are the functions you can assign to the Bixby button
Navigates: back, home, recent apps...
Controls: sleep/wake up, show power menu, shutdown, reboot, expand notifications panel...
Rotation control.
Media controls: play/pause, next, previous, stop...
Fast scroll: scroll to top/ bottom.
Edit: copy, paste...
Universal copy, one tap copy text every where.
Settings: auto brightness, rotation, wifi, mobile data...
Start app/shortcut/activity, finish activity, previous app/next app, kill app...
Freezer: freeze/thraw app.
Input gesture, key event, text...
Shortcut panel, app drawer, freezer drawer, side bar...
Floating widget.
Swipe adjust: swipe on the edge to adjust brightness, screen filter, volume...
Gesture pointer, extends your finger.
Notification, speech, toast.
Screen filter, torch.
Conditional: if screen on, keyguard on, wifi connected/disconnected, battery level, time period, wifi connected to, app focused...
Multi action, saved multi action.
...
Disclaimer:
I AM NOT RESPONSIBLE FOR ANY DAMAGE DONE TO YOUR DEVICE IF YOU DECIDE TO USE THIS GUIDE. IT'S PRETTY SAFE THOUGH BECAUSE I HAVE HEAVILY TESTED EVERYTHING THAT I WROTE.
Required
All Samsung rom custom Android 7.0, 7.1.x , 8.0, 8.1.x
A root access (preferably MAGISK)
TWRP (Exynos) or TWRP (Snapdragon) optional
Step 1
Remap Bixby Button
As in the article :
1. Go with any root Explorer (I'm using Solid Explorer) to /system/usr/keylayout
2. Rename the Generic.kl to Generic.txt
3. Open this file with an text editor
4. Search for 703 to get following entry: # input_fw Intelligent Key for Dream key 703 WINK
5. Change it to whatever you want. I simply tried following: # input_fw Intelligent Key for Dream key 703 ASSIST
6. Rename it back to Generic.kl (otherwise you won't be able to press any hardware button after reboot)
7. Check permissions
8. Restart your device
For now, Bixby is used Google Assitant with item display on the screen
Other order :
HOME - Homebutton
POWER - Powermenu
MUSIC - Starts your favorite music player
MEDIA_PLAY_PAUSE - Play pause media
VOLUME_UP - Sets volume up
VOLUME_DOWN - Sets volume down
VOLUME_MUTE - Volume media (set default media volume in phone setting)
CAMERA - Starts camera app
APP_SWITCH - Recent apps button
ASSIST - Google Assistant (with item display on the screen)
VOICE_ASSIST - Google Assistant (fast)
QPANEL_ON_OFF - Notification area
EXPLORER - Favorite internet browser
SYSRQ - Screenshot
PAGE_UP
PAGE_DOWN
CALCULATOR
CALENDAR
CONTACTS
CALL
If you want to be able to use more features such as double-clicking, long-clicking, launching an application, adjusting the vibrator or other, leave "ASSIST" and continue the steps.
Picture with the SEARCH function :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Source : https://forum.xda-developers.com/galaxy-s8+/how-to/root-remap-bixby-button-o-app-t3601061
Step 2
Install Xposed
Flash zip Xposed with Magisk Manager, TWRP or FlashFire.
If your phone is rooting with Magisk (best method) :
Launch Magisk Manager to search, download and install the "Xposed Framework (SDK 24)" for Android 7.0 and SDK25 is Android 7.1.x,for Oreo, SDK26 is Android 8.0 and SDK27 is Android 8.1.
or
How-to flash with TWRP :
1. Transfer the zip and apk to your phone.
2. Now boot into TWRP by pressing bixby+volume up+power on while phone is turned off
3. Go to "Install" menu of TWRP select the zip and flash the zip.
4. Restart the phone and Install the apk and run the application to verify that everything is green
or
How-to flash with FlashFire :
1. Transfer the zip and apk to your phone.
2. Install FlashFire
3. Start the application and press "+"
4. Choose "Flash ZIP or OTA" and select the zip
5. Select "Auto-Mount" and "Mount / system read / write" and validate
6. Press "Flash" and "ok" then wait until the phone restarts
7. Install the apk and run the application to verify that everything is green
Picture Xposed properly installed :
The link for the ZIP to flash (xposed) for 7.0
http://dl-xda.xposed.info/framework/sdk24/arm64/xposed-v89-sdk24-arm64.zip
The link for the ZIP to flash (xposed) for 7.1
http://dl-xda.xposed.info/framework/sdk25/arm64/xposed-v89-sdk25-arm64.zip
The link for the ZIP to flash (xposed) for 8.0
https://dl-xda.xposed.info/framework/sdk26/arm64/xposed-v90-sdk26-arm64-beta3.zip
The link for the ZIP to flash (xposed) for 8.1
https://dl-xda.xposed.info/framework/sdk27/arm64/xposed-v90-sdk27-arm64-beta3.zip
The link for the "Xposed Installer apk"
https://forum.xda-developers.com/attachment.php?attachmentid=4393082&d=1516301692
A link to uninstall Xposed in case of problem (zip to flash with TWRP):
https://dl-xda.xposed.info/framework/uninstaller/xposed-uninstaller-20180117-arm64.zip
Source Xposed Nougat :
https://forum.xda-developers.com/showthread.php?t=3034811
Step 3
Customize the Bixby Button
This module provides you Gesture control, Key control and other smart triggers. to trigger actions you want.
Next, download "Xposed edge" or "Xposed edge pro" from the Play Store and activate the "Xposed edge" module in "Xposed Installer" and then restart the phone.
1. Launch the Xposed Edge module and activate "Keys" and access it
2. Press Add and click on the Bixby button
3. Activate the newly assigned Bixby button (KEYCODE_ASSIST)
4. And with the arrow on the side assign an action for a single click, double-click and hold down
Do not forget to activate key control and the button assign
And now it will work
Bonus
Gesture for navigation with Xposed Edge:
https://www.youtube.com/watch?v=DkAGCtbJr-U&feature=youtu.be
You have the possibility to choose a side of the screen, and to assign an action with a slide in the desired direction
Device testing
Galaxy S8
Galaxy S9
Galaxy Note 8
Galaxy Note 9 (Not tested)
The sources that allowed me to realize this guide
Links to threads here :
https://forum.xda-developers.com/showthread.php?t=3034811 rovo89
https://forum.xda-developers.com/galaxy-s8+/how-to/root-remap-bixby-button-o-app-t3601061 redplate
Sorry for mistakes, I speak french
Works great for me. Too bad I can't remap the navbar buttons with this, but all's well that ends Bixby for good!
I'm on SM-G955U1
EDIT: Got the navbar buttons remapped using GravityBox (N). Many thanks to all the great devs it there!
Thx alot man, works great!
I'm running snapdragon, G950U, and tried flashing your zip and it froze my phone, gets stuck at the end of the boot screens
tychsy89 said:
I'm running snapdragon, G950U, and tried flashing your zip and it froze my phone, gets stuck at the end of the boot screens
Click to expand...
Click to collapse
The zip to uninstall Xposed if it still causes you problem :
http://fastkit.org/xposed/classic/Uninstaller/xposed-uninstaller-20170719-arm64.zip
Have you tried on which ROM and what version of Android?
And with what you flasher it TWRP or FlashFire?
Because it should not pose any problem even under the model on Snapdragon.
If you want to try again to install Xposed here is another threads :
https://forum.xda-developers.com/galaxy-s8+/how-to/unofficial-xposed-guide-snapdragon-s8-t3663728
This is the same procedure.
tychsy89 said:
I'm running snapdragon, G950U, and tried flashing your zip and it froze my phone, gets stuck at the end of the boot screens
Click to expand...
Click to collapse
Which carrier model do you have and on what firmware version? I have heard there are some issues with Xposed on perhaps the Sprint models? I have the Verizon S8+ and Xposed installed just fine for me.
I am using the AQGL sprint system file provided by sammobile and flashfire to install the zip. I haven't had the time to retest this, but was able to remap the bixby button with just a root explorer.
Sprint seems to be the last to get cool updates, so I wouldn't be surprised if this doesn't work for some reason just on our phones.
obedmaleka said:
The zip to uninstall Xposed if it still causes you problem :
http://fastkit.org/xposed/classic/Uninstaller/xposed-uninstaller-20170719-arm64.zip
Have you tried on which ROM and what version of Android?
And with what you flasher it TWRP or FlashFire?
Because it should not pose any problem even under the model on Snapdragon.
If you want to try again to install Xposed here is another threads :
https://forum.xda-developers.com/galaxy-s8+/how-to/unofficial-xposed-guide-snapdragon-s8-t3663728
This is the same procedure.
Click to expand...
Click to collapse
DarkXoa said:
Works great for me. Too bad I can't remap the navbar buttons with this, but also well that ends Bixby for good!
I'm on SM-G955U1
EDIT: Got the navbar buttons remapped using GravityBox (N). Many thanks to all the great devs it there!
Click to expand...
Click to collapse
Do you have the Sprint model?
obedmaleka said:
Do you have the Sprint model?
Click to expand...
Click to collapse
I'm on Verizon.
I added compatibility for android 7.1
I added Xposed Official
If i want to do this manually instead of with a module which key is long press for bixby in the generik.kl?
thank you man
you sir are a hero
Great job. Works perfect and the button response is so fast. Thanks for sharing.
kekistaneerefugee said:
If i want to do this manually instead of with a module which key is long press for bixby in the generik.kl?
Click to expand...
Click to collapse
I do not know any method to do it without application
Xposed Update
Xposed update Nougat, Oreo and Android 8.0 and 8.1
Great way to redo the Bibxy button.
Hm, i did just the first step with changing the generic file, and it launches camera (like I wanted), but it doesn't work with screen off. Is there anything else i should do, or it works just with screen on?
MrDusan said:
Hm, i did just the first step with changing the generic file, and it launches camera (like I wanted), but it doesn't work with screen off. Is there anything else i should do, or it works just with screen on?
Click to expand...
Click to collapse
There is a possibility to make it work, but you have to buy the Xposed edge pro app for that. After you have to program a condition that I put on video. I made the condition assuming you have a password to disguise the screen.
https://www.youtube.com/watch?v=HsBSFBOlP3U&feature=youtu.be