[ROOT] Get rid of the Pressure Sensitive Home Button - Samsung Galaxy S8 Themes, Apps, and Mods

I am done with the phone screen accidentally switching on in my pocket.
Here is my way to fix it, just like the Bixby Button.
Root S8, download Root Explorer, go to /system/usr/keylayout, find generic.kl, open editor, find "172 Home", delete that shxt(line) , save and exit. Now you are done, it still vibrates but no longer turn on your screen.
YAY!

I suppose you still can set a lower sensitivity of a screen press first to check if it works.

Hi.. did as recommended.. hope it works

Hello,i like this, but can someone make it as an apk file or something so i dont have to root the phone.
Thank you

Related

make the home key wake the device?

anyone have a mod that does this?
sorry if this is in the wrong place. i'm new here.
I don't know of a patch for that yet, but I'm sure it's possible.
If we had CyanogenMod for the Charge, it would be baked into the ROM.
Someday ...
I would like to see this. possibly even disable the quick press options of the power button and reassign them to another combination. I hit the button all the time trying to do other things on the phone and then I get locked out and have to redo my pattern etc.
Widgetlocker app can do this for you.
Using Root Explorer or possibly Estrongs file explorer:
>Go to system>usr>keylayout>s3c-keypad.kl
>modify key 50 to look like this: HOME WAKE_DROPPED
>Then reoboot
Now home key wakes device!
UPDATE: Seems after it is asleep for a period of time it won't wake it anymore, have to work this out.
What application do we use to edit the value? A text editor? What do you suggest?
I use Root Explorer Long press open in text editor,
I think you can do the same with estrongs file explorer.
>DARKMAN< said:
I use Root Explorer Long press open in text editor,
I think you can do the same with estrongs file explorer.
Click to expand...
Click to collapse
Sorry for the unnecessary request. I see it is in the other post.
It seems as though the front keypad module is not active once it goes completely to sleep, there for won't wake it.
If someone can figure this out, it will work just fine.
>DARKMAN< said:
Using Root Explorer or possibly Estrongs file explorer:
>Go to system>usr>keylayout>s3c-keypad.kl
>modify key 50 to look like this: HOME WAKE_DROPPED
>Then reoboot
Now home key wakes device!
UPDATE: Seems after it is asleep for a period of time it won't wake it anymore, have to work this out.
Click to expand...
Click to collapse
Definite thanks for looking into it. I'll try the app that bill mentioned and see if it makes a difference. I haven't yet rooted so I don't think I can do your version yet even if it works.
billku said:
Widgetlocker app can do this for you.
Click to expand...
Click to collapse
Are suggesting this because you have this on your Droid Charge and it is currently working correctly?
The reason I ask, is I tried a couple weeks back and could not get it working correctly.
I have it on my Charge. It works intermittently. I found that if the phone is asleep for a little while it usually does not work... occasionally it does work but no consistent pattern.
I'm also looking for a better fix than the app.
Suggestions are greatly appreciated!
The same thing happens when you just modify the key mapping, it's because the front keypad module is off when the phone sleeps.
So if it could be activated at all times that would fix it, but I imagine it may have some side effects to battery life.
This will disable the lock screen for good. After you do this fix you can wake up the Droid by briefly pressing the power button and it will go immediately to the home screen without any lock screen madness.
Go to Dialer and enter *#83786633, then press the home key
Go back into the Dialer, clear those numbers, then *#22745927
Now a screen will appear asking for the SPC Code, enter 000000
Press the Hiddenmenu Enable radio button, then press home button
To disable the lock screen (and power down pop up), go back into the Dialer and use the code *#7594#, select Shutdown and press the Home button. This, I have confirmed, does work on the Charge.

[MOD]disable Power or Home button screen wake

This is such a simple (but useful) mod I'm surprised it hasn't been posted.
If like me you only use the home button to wake the screen, and don't want the power button waking the screen whilst in your pocket or when you try to adjust the volume. This is for you.
You need to be rooted and need a file manager that supports root (Root Explorer or Root Browser (LITE version works fine)).
On your phone navigate to system/usr/keylayout
open sec_key.kl in text editor (you can make a backup if you want by adding .bak to the end of the file name and saving - Root Explorer will do this automatically)
delete WAKE from either HOME or POWER (not both!)
save and reboot.
View attachment 815205
Was thinking about it myself, so props for the info, even if I don't really mind it turning on with power button as well, but I appreciate the tutorial
is it possible to totally disable a button?
is there any setting to disable "back" button? I find the back button annoying when we are using s-memo, as it oftentimes accidentally activated.
Thanks for this awesome little mod, which is veeery handy!!!
stjoemail said:
is there any setting to disable "back" button? I find the back button annoying when we are using s-memo, as it oftentimes accidentally activated.
Click to expand...
Click to collapse
Yes, in system/usr/keylayout
sec_touchkey.kl
I now have my back key set as SEARCH and use LaunchKey (paid version) to remap long press search as back. It works quite well, as search does nothing in most note/drawing apps.
market.android.com/details?id=com.beansoft.launchkey&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5iZWFuc29mdC5sYXVuY2hrZXkiXQ
Hopefully someone will figure out or develop a better way.
i saw inside sec_touchkey.kl the parameter Back WAKE, what should I change to make Back button to function as search?
thanks
brez said:
Yes, in system/usr/keylayout
sec_touchkey.kl
I now have my back key set as SEARCH and use LaunchKey (paid version) to remap long press search as back. It works quite well, as search does nothing in most note/drawing apps.
market.android.com/details?id=com.beansoft.launchkey&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5iZWFuc29mdC5sYXVuY2hrZXkiXQ
Hopefully someone will figure out or develop a better way.
Click to expand...
Click to collapse
Thank you for sharing this! Now for the not so bright question: does this mean if I accidentally hit the power button when making a call or playing a game, I won't be able to turn off the screen anymore?
TIA.
I disabled the wake for power button, it works for a sort press, but long press still wakes.
Any tips? I think this will avoid pocket button presses.
thanks
Edit= never mind, I didn't reboot, works now.
Sent from my GT-N7000 using Tapatalk
it been posted in sg2 thread.
found the solution, using buttonremapper I switched the menu and back button so no need to buy launchkey. now if i accidentally press the right button during using s-memo, it will not activate the back function but menu function, so can easily cancel without the apps closing.
stjoemail said:
i saw inside sec_touchkey.kl the parameter Back WAKE, what should I change to make Back button to function as search?
thanks
Click to expand...
Click to collapse
brez said:
This is such a simple (but useful) mod I'm surprised it hasn't been posted.
If like me you only use the home button to wake the screen, and don't want the power button waking the screen whilst in your pocket or when you try to adjust the volume. This is for you.
You need to be rooted and need a file manager that supports root (Root Explorer or Root Browser (LITE version works fine)).
On your phone navigate to system/usr/keylayout
open sec_key.kl in text editor (you can make a backup if you want by adding .bak to the end of the file name and saving - Root Explorer will do this automatically)
delete WAKE from either HOME or POWER (not both!)
save and reboot.
View attachment 815205
Click to expand...
Click to collapse
The file is write protected, root explorer don't allow me to modify it, any idea to do it?
Already in use said:
The file is write protected, root explorer don't allow me to modify it, any idea to do it?
Click to expand...
Click to collapse
Use es explorer with root enabled in the settings
Sent from my GT-N7000 using Tapatalk
drgopoos said:
Use es explorer with root enabled in the settings
Sent from my GT-N7000 using Tapatalk
Click to expand...
Click to collapse
Thx for your answer. ES File Explorer (in root mode) only start from the /sdcard/ directory, and doesn't go upper. System's directories are above if I'm right.
Why the hell root explorer tell me that this file (sec_key.kl) is write only protected (why as he is root too, he can't write on the file).
Others in this thread have try this whit rooted G Note XXKKA / CWM without problem, I don't get it...
Press and hold the star button on the top left
Sent from my GT-N7000 using Tapatalk
It work, thx m8!
Great hint, thank you!
Had some trouble getting the sec_key.kl edited though: Root explorer didn't want to edit / save changes / change permissions / create a new file (even on external_sd!). No idea why. My Note is rooted (obviously) and Superuser reports SU granted when I launch RE.
To finally do it I copied the file to the external_sd using RE, edited it using ES, moved it back to system\usr\keylayout (which strangely enough worked) with RE, adjusted the permissions (wich, again, strangely enough now was possible) with RE, rebooted.
this does not work with ICS 4.0.3
akyuznet said:
this does not work with ICS 4.0.3
Click to expand...
Click to collapse
+ 1
Gesendet von meinem GT-N7000
Nice info...but does anyone know how to make menu and back button working but without light?

Switch back and multitasking buttons - root required

A little tip for the ones who hold the phone in their left hand and need to switch the .back button with the multitasking one. I am right handed but, as a long time user of Note series phones, I usually hold the phone in my left hand and the stylus with the right one...Now with the s7 edge I miss the stylus, but still the phone is in my left hand.
Root required..
With your favourite root browser navigate to /system/usr/keylayout and open Generic.kl as a text file.
Move to key 158 and replace BACK with APP_SWITCH, then look for APP_SWITCH , that is key 254, and replace APP_SWITCH with BACK.
Just save and reboot.
Obviously it is fully reversible.
Please note that this is not the same result you can get with all in one gestures app, both because it continuously runs in the background (while my tip remaps the keys once forever) and, once you switch the two keys with such app, you loose the screen you usually get when you long press the multitasking button. I mean the screen that displays the app you are using in the upper part of the screen and the choice for the other apps in the lower part.
Not to mention that this solution still is cleaner than installing xposed framework and any dedicated module.
Simple and useful
If your rom settings don't have the choice to remove keys backlight, look for galaxy button lights 2.
For lazy people.
Flash in recovery.
lucaoldb said:
A little tip for the ones who hold the phone in their left hand and need to switch the .back button with the multitasking one. I am right handed but, as a long time user of Note series phones, I usually hold the phone in my left hand and the stylus with the right one...Now with the s7 edge I miss the stylus, but still the phone is in my left hand.
Root required..
With your favourite root browser navigate to /system/usr/keylayout and open Generic.kl as a text file.
Move to key 158 and replace BACK with APP_SWITCH, then look for APP_SWITCH , that is key 254, and replace APP_SWITCH with BACK.
Just save and reboot.
Obviously it is fully reversible.
Please note that this is not the same result you can get with all in one gestures app, both because it continuously runs in the background (while my tip remaps the keys once forever) and, once you switch the two keys with such app, you loose the screen you usually get when you long press the multitasking button. I mean the screen that displays the app you are using in the upper part of the screen and the choice for the other apps in the lower part.
Not to mention that this solution still is cleaner than installing xposed framework and any dedicated module.
Simple and useful
If your rom settings don't have the choice to remove keys backlight, look for galaxy button lights 2.
Click to expand...
Click to collapse
Thanks this working perfectly

925F fix malfunction of back button (Nov2016)

Dear all, I spent two days in internet too find this solution to fix back button which just showed recent apps, tried all solution here in this forum, nothing helped. Already want to give up, finally found at Android Hilfe by user barbaros1977 a solution which really fixed the problem 100%, hope it can help you:
install all in one guesture app. just leave it...
Root the Galaxy S6
Download and Install ES File Explorer
Launch ES File Explorer
Swipe in From the Left Side of the Screen
Scroll Down to the Tools Section
Enable Root
Grant Root Access to ES File Explorer
Browse to /system/usr/keylayout
Tap on the Generic.kl File
Tap on Text(to open as a text file)
Then Select Your Text Editor of Choice(I edit with ES Note Editor)
Tap the 3-Dot Menu at the Top Right
Tap on the ‘Edit’ Option
Locate the entry key254
Put a Pound Sign( # ) and a Space in Front of line
Tap the ‘Back’ Arrow at the Top Left
Tell ES File Explorer to Save the File
Reboot the Galaxy S6/S6 Edge
Then go back to all in one guesture app, deselect everything in HARD Keys, push home button to leave the app. Wait for some seconds..and try back button.
After this procedure, unbelievable....the back button of my phone works perfectly again. I am not specialist, just found this after long search and hope it is useful info.
Made Haico said:
Dear all, I spent two days in internet too find this solution to fix back button which just showed recent apps, tried all solution here in this forum, nothing helped. Already want to give up, finally found at Android Hilfe by user barbaros1977 a solution which really fixed the problem 100%, hope it can help you:
install all in one guesture app. just leave it...
Root the Galaxy S6
Download and Install ES File Explorer
Launch ES File Explorer
Swipe in From the Left Side of the Screen
Scroll Down to the Tools Section
Enable Root
Grant Root Access to ES File Explorer
Browse to /system/usr/keylayout
Tap on the Generic.kl File
Tap on Text(to open as a text file)
Then Select Your Text Editor of Choice(I edit with ES Note Editor)
Tap the 3-Dot Menu at the Top Right
Tap on the ‘Edit’ Option
Locate the entry key254
Put a Pound Sign( # ) and a Space in Front of line
Tap the ‘Back’ Arrow at the Top Left
Tell ES File Explorer to Save the File
Reboot the Galaxy S6/S6 Edge
Then go back to all in one guesture app, deselect everything in HARD Keys, push home button to leave the app. Wait for some seconds..and try back button.
After this procedure, unbelievable....the back button of my phone works perfectly again. I am not specialist, just found this after long search and hope it is useful info.
Click to expand...
Click to collapse
One more thing...After some hours and playing around...again the same problem with back button. I repeated the procedure and subsequently deactivated the all in one gesture app completely. It is now working again 100% perfect; however this also shows that this should be a software bug, the back button responds fast and correct as of a new phone.

[DELETEME] Workaround to bottom (capacitive) buttons not working

EDIT: this has noting to do with a software upgrade, but is a hardware problem on my device. This post can be deleted.
After an upgrade, I noticed my capacitive buttons were not working after a little while.
Only after a power cycle, they are usable again, but not for too long.
I suspect Android disable them when the "Helicopter home button" occurs.
I found some solutions:
Solution 1: Install "Soft keys" from the Play Store. The buttons are set on top of the display, and for some uses, they sometime get in the way (while using keyboard for example), and you have to reduce the size and have small fingers. It is possible to switch long press to change location.
Solution 2: Tell the system to use Nexus-like Buttons. That way, the buttons are not displayed on top of the screen, but, the screen resolution is reduced and the buttons are set below it. No app to install. Pro: the buttons don't get in the way.
I found a guide here: https://mgeeky.com/how-to-get-nexus-like-buttons-in-any-android-phone/
Add "qemu.hw.mainkeys=0" at the end of /system/build.prop, and reboot. You need an file explorer with an editor and root access. I use Cyanogenmod 12.1, the File explorer has all what's needed.
Optional: Turn Capacitive buttons Back-light off in the system menu. On my system, it is in "buttons"->"backlight"
Maybe it can help someone here.
sadly this does't work on Sense roms

Categories

Resources