[MOD][GUIDE]Disable Galaxy Note 8 Capacitive Keys - Galaxy Note 8.0 (Tablet) Android Development

I take no responsibility for you breaking or causing issues on your tablet. Do this at your own risk!
Disable your Galaxy Note 8.0 Capacitive Keys
What you will need:
Root
Root explorer or similar program
and Be Careful
First:
Open your root explorer or similar app
navigate to system>usr>keylayout
Second:
Make backup of sec_touchscreen.kl
Third
This step has been, found to be not needed. Skip to step 4!
Fourth:
Open sec_touchscreen.kl
find line:
key 158 BACK WAKE_DROPPED
and place a # in front of it like:
# key 158 BACK WAKE_DROPPED
then find line:
key 139 BACK WAKE_DROPPED
and place a # in front of it like:
# key 139 BACK WAKE_DROPPED
Save your changes and close the file
reboot your tablet, and you are finished.
Your capacitive buttons will not respond to your fingers, but retain functionality with the s-pen.
ENJOY!
step 3 was not needed for this guide to work!

Hey ual4720, thanks for the great guide,this is the sort of stuff we need to get some development started for our tablet.

That's more of a how-to, a mod means flashing something

will there be custom roms coming?

Thai Damen said:
will there be custom roms coming?
Click to expand...
Click to collapse
I woud say yes, considering it's the same specs powering the Galaxy Note 10.1 (at least, i'm betting on this )
I'm actually sort of surprised someone hasn't tried flashing one of the Galaxy Note 10.1 roms on the Note 8 (I'm not recommending this, i'm not a developer. Just surprised no one (big kahuna's) tried this).

I can't wait until someone figures out how to make this a quick option on the drop down menu so we can toggle the keys on and off based on what we're doing
Sent from my SAMSUNG-SGH-I317 using xda premium

Just to be clear - this is only suppose to disable the capacitive function of the hardware buttons, not enable the virtual on-screen buttons or anything (the latter was what I was hoping for)? Don't mean to diminish the value of the first mod to appear on this forum - I just don't quite understand the use case for this. Thanks!

peng1can said:
Just to be clear - this is only suppose to disable the capacitive function of the hardware buttons, not enable the virtual on-screen buttons or anything (the latter was what I was hoping for)? Don't mean to diminish the value of the first mod to appear on this forum - I just don't quite understand the use case for this. Thanks!
Click to expand...
Click to collapse
I use my tablet in landscape a lot! I found it was hard to hold the tablet with both hands because I kept hitting the Capacitive keys. this is my way of solving that! I thought I would Share it.
Sent from my GT-N5110 using Tapatalk HD

I hope it didn't sound like I was criticizing the patch. I was genuinely interested in how people were using this - we all have our own ways of doing things. For example, the hardware buttons have turned out to be more convenient than I expected for me because I use the tablet in bed a lot, and I find it's easier to touch the buttons if I hold the tablet upside down, so the buttons are at the top. With virtual buttons, they'd just move themselves back to the bottom!

Thanks, working good with LMT launcher.

colhavoc said:
I woud say yes, considering it's the same specs powering the Galaxy Note 10.1 (at least, i'm betting on this )
I'm actually sort of surprised someone hasn't tried flashing one of the Galaxy Note 10.1 roms on the Note 8 (I'm not recommending this, i'm not a developer. Just surprised no one (big kahuna's) tried this).
Click to expand...
Click to collapse
Similar specs, but different. If you tried flashing a ROM you'd softbrick your device. There are a number of devs working on ports and I'm sure we will be seeing customs appearing soon in the future.
Sent from my GT-N5110 using XDA Premium HD app

Thanks a lot for sharing detail information about the Galaxy Note. This will be helpful for me to developing stuff.

Hello all,
after disabling capacitive keys, install GMD gesture control to get the same through customized swipes.
Now SNote will work without being annoyed by keys at the end of the page

Hi all,
I kinda like the HW buttons and I wished they were real buttons rather than capacitive.
Is there a way to disable them ONLY in certain apps? I would like them to be disabled when I use S notes only.
Also,
the mod mentions "Your capacitive buttons will not respond to your fingers, but retain functionality with the s-pen."
So I can actually still use the buttons using the Spen?
Thanks!

For those who tried this, I wonder what app do you use to simulate the "back" and "menu" button WITHOUT using the Stylus?
I'd love to disable the capacitive keys, but there are times when I need to bring up the menu or go back WITHOUT taking out the Stylus and drawing the gesture.

lanwarrior said:
For those who tried this, I wonder what app do you use to simulate the "back" and "menu" button WITHOUT using the Stylus?
I'd love to disable the capacitive keys, but there are times when I need to bring up the menu or go back WITHOUT taking out the Stylus and drawing the gesture.
Click to expand...
Click to collapse
i use apps gesture control. can get it from playstore. the free version is sufficient for daily use unless you want to make custom gesture. go for pro.

andrianarison said:
Hello all,
after disabling capacitive keys, install GMD gesture control to get the same through customized swipes.
Now SNote will work without being annoyed by keys at the end of the page
Click to expand...
Click to collapse
Good day. Could you explain "get the same through customized swipes?"
Do you mean it's possible to toggle the editing or renaming of the "sec_touchscreen.kl" file?
Even if you do this, will you need to restart every time?

theraker007 said:
I can't wait until someone figures out how to make this a quick option on the drop down menu so we can toggle the keys on and off based on what we're doing
Sent from my SAMSUNG-SGH-I317 using xda premium
Click to expand...
Click to collapse
I 2nd this.:good:

I'm using the unofficial CM 10.2 for the note and have deactivated both buttons, but they are still glowing. Is there a way to deactivate this too?

kingofcomedy said:
I'm using the unofficial CM 10.2 for the note and have deactivated both buttons, but they are still glowing. Is there a way to deactivate this too?
Click to expand...
Click to collapse
Try in the Setting, where you can disable it.

Related

Repurpose menu capacitive button when AOSP ICS roms are available?

I was thinking, for AOSP ICS roms, either an apk could be created, or flashed into roms, that repurposes the menu button as the task switcher button, like on the Galaxy Nexus (Prime). Since the menu "button" is essentially in the app itself, the menu capacitive button becomes superfluous. Also, I've never had a phone or rom where holding down the home button acts as quick as just pressing the TS button on the Nexus Prime.
So, instead of the following buttons:
Home/Menu/Back/Search
We would have:
Home/Task Switcher/Back/Search
I like the idea of making it an app, as some would want to leave the buttons the way they are, whereas others might think this is a good idea. I hope the Cyanogen considers this, and puts this in their "Cyanogen Settings" section.
Here are a couple of threads that talk about the same thing, albiet in different phone forums.
http://forum.xda-developers.com/showthread.php?t=1347998
http://forum.xda-developers.com/showthread.php?t=1315075
Maybe you could use the bottons as quick launch icons. Allow the user to pick apps that the buttons would launch.
i think thats a great idea. i felt the same way when i read the features of ics
it doesnt seem impossible. cm7 already has the option to set program shortcuts for long pressing the the menu or home buttons, etc
Why the menu Button why not the usual home button. Instead of replacing the menu function why not replace the small icons with the ICS running apps manager.
Home & Task Manager/Menu/Back/Search
scientist343 said:
Maybe you could use the bottons as quick launch icons. Allow the user to pick apps that the buttons would launch.
Click to expand...
Click to collapse
Exactly what I was thinking. Instead of having my 4 most used apps on the bottom of my home screen (Handcent, Facebook, gmail, market) that would be pretty sick to have the captivate button as quick launch buttons for those apps.
Support TrevE! Fah Q CIQ!!
I like the favorite apps at the bottom, id keep that, and even the home and menu and search the way they are, but id want my back button to bring up the multitasker menu when longpressing
Sent from my PG06100
I would say the search button. I never use it and ICS has a dedicated search bar. But yes I agree, now with ICS my next phone will have on screen controls. It looks so nice!
Sent from my PG86100 using xda premium
Personally, I think I'd rather have the screen real estate without the buttons moved to the screen, especially since we have the buttons anyway. That said, I'd be interested to see what could be done with a gesture area down there. Just so long as the on screen buttons are an option that can be turned off returning the capacitive button function.
Guys - We will have no "on-screen" buttons like the Galaxy Nexus does, ICS will use hardware buttons if they are present. So no, you will not have your 4 most used apps, you will have Home|Menu|Back|Search.
Have a good day.
moosh3 said:
Guys - We will have no "on-screen" buttons like the Galaxy Nexus does, ICS will use hardware buttons if they are present. So no, you will not have your 4 most used apps, you will have Home|Menu|Back|Search.
Have a good day.
Click to expand...
Click to collapse
^his larger, bold text, has hurt my feelings and trampled on my dreams. I kid, I kid. I like the hardware buttons anyway, the onscreen buttons for nexus ics would take up more room anyway. I got a taste of that using the ics launcher on the market.
moosh3 said:
Guys - We will have no "on-screen" buttons like the Galaxy Nexus does, ICS will use hardware buttons if they are present. So no, you will not have your 4 most used apps, you will have Home|Menu|Back|Search.
Have a good day.
Click to expand...
Click to collapse
Did you read the thread? This isn't about "on-screen" buttons. It is about changing the purpose of the existing capacitive buttons to somewhat mirror the functionality of the on-screen buttons on the Galaxy Nexus.
moosh3 said:
Guys - We will have no "on-screen" buttons like the Galaxy Nexus does, ICS will use hardware buttons if they are present. So no, you will not have your 4 most used apps, you will have Home|Menu|Back|Search.
Have a good day.
Click to expand...
Click to collapse
Stick with singing Mr. Bieber, trying to sound smart isn't your thing
Support TrevE! Fah Q CIQ!!

Capacitive buttons thought

Would it be possible that once community ICS ROMs start getting released like AOKP, and CM9, would the capacitive buttons be able to be disabled and then replaced by on screen buttons? I was having this thought because it doesn't have any physical buttons so it wouldn't be much of a big deal in terms of removing a physical key, it just removes redundancy.
I'm sure it's possible. I know that devs made the option available on Nexus S ICS ROMs, so I'm sure we'll see it on the Note ICS ROMs as well.
OMG...this would make using the S-Pen much more enjoyable. I the gestures...AKA pushing the button.
How hard would it be to implement? Would apps conflict? or is it just a simple deletion of something in system to make the buttons rendered useless? Could we permanently(untill we flash a ROM with them enabled normally) change the function to a notification light bar?
You can enable the on-screen buttons in ICS on the Note. I am not running ICS any longer so I can't remember if you can disable the capacitive ones but you can definitely enable the on-screen ones.
Sent from my GT-N7000 using xda premium
I use my Nook Colors all with Button Savior to simulate hardware buttons that do not exsist and very very rarely run into any issues. There's always the little itty bitty tab on the side that you tap to pop up the needed buttons, but stay out of the way the rest of the time. Link above goes to market (refuse to call it play, so stupid), you will need to have root to use it of course. Give it a whirl if you want on screen buttons. Not sure how to disable the hardware buttons yet, although a google search may reveal someone whos already done it or even an app that will do it for you.

Left handed users of GN2

Are you finding the "back" button to be annoyingly out of reach?
Is there a way to switch the menu button and back buttons?
Also another quick question about the keyboard "one handed" function. Is there a way to make it full screen again without going into the settings? that seems very anti intuitive #justsayin
Yes it socks having the back button so far away but eventually I'll get on screen buttons and disable the capacitive ones. I've been using swype which is working quite well for one hand use
Sent from my SCH-I605 using xda app-developers app
mwedemeier11 said:
Yes it socks having the back button so far away but eventually I'll get on screen buttons and disable the capacitive ones. I've been using swype which is working quite well for one hand use
Sent from my SCH-I605 using xda app-developers app
Click to expand...
Click to collapse
i am a lefty but have long enough thumbs that it is within reach. as far as going back to full keyboard, the only way i have found is to long press the key next to the space bar and it will bring up keyboard setting and then just tic the box for full screen
digiburd said:
Are you finding the "back" button to be annoyingly out of reach?
Is there a way to switch the menu button and back buttons?
Also another quick question about the keyboard "one handed" function. Is there a way to make it full screen again without going into the settings? that seems very anti intuitive #justsayin
Click to expand...
Click to collapse
If you "pinch out" or "reverse pinch" horizontaly on the keyboard it goes from one handed to two handed. Sometimes! It's difficult to get it to work. "ReƄerse pinch" just above the space bar and wait a second to see if it worked before trying again.
When it gets officially unlocked us southpaws wont have to worry, I believe it wont be any problem for a real good dev (we got several) to swap the back and menu button, what samsung ought to do is make it swappable for us lefties.
We will get fixed up soon, be sure to tune in to xda tv tomorrow for Adam Outlers note2 bootloader fix.
I also wish the spen was on the left side. There's needs to be a left handed specific device that caters to all of our needs!
Tap'n

Adding Navbar (softkeys)?

On previous phones including the S5 you could just change the build.prop or use gravity box to add them but every time I try on reboot I get system UI crashing non stop until I undo my changes.
Has anyone gotten them somehow?
What about the side key panel?
Sent from my SM-N910C using XDA Free mobile app
That's in the way and inconvenient. They should have just added pie
Use Xposed and install GravityBox and use Navigation Bar Tweak feature
pcboyy said:
Use Xposed and install GravityBox and use Navigation Bar Tweak feature
Click to expand...
Click to collapse
It doesn't work. My post says that It doesn't.
zgroten said:
It doesn't work. My post says that It doesn't.
Click to expand...
Click to collapse
Had same issue. Use dynamic navbar on playstore or lmt pie. I went for dynamic navbar it's amazing and can be customised to your absolute liking.
I've installed dynamic Navbar but can't seem to figure out how to make it work like a regular Navbar and not sit on top of items on the screen.
I am using lmt pie...loving it
Sent from my SM-N910C using Tapatalk
Nobody can get regular softkeys without system UI crashing?
nope, seems like there's some piece of code missing, so that every time you activate those softkeys it just bootloops. have tried a number of methods, haven't found one that works. missing that soft home button (
eydryan said:
nope, seems like there's some piece of code missing, so that every time you activate those softkeys it just bootloops. have tried a number of methods, haven't found one that works. missing that soft home button (
Click to expand...
Click to collapse
This is a shame. I figured this would be one of the first mods due to the popularity and convenience of on-screen buttons. The bezel on the Note 4 is so small at the bottom that it wouldn't even look like a waste of space to have a navigation bar. The capacitive buttons are so easily pressed due to the small bezel. I don't mind this, but I wish the option for on-screen was included by samsung. I also hate the "back" button on the right side because I'm left-handed and can't reach it with my dominant hand. That should be reversible as well. Is that possible?
I also recommend lmt. The back button is instant.
whittikins said:
but I wish the option for on-screen was included by samsung. I also hate the "back" button on the right side because I'm left-handed and can't reach it with my dominant hand. That should be reversible as well. Is that possible?
Click to expand...
Click to collapse
If device is rooted then you can remap back and menu key by editing generic.kl
Sent from my SM-N910G using xda premium
dr.ketan said:
If device is rooted then you can remap back and menu key by editing generic.kl
Sent from my SM-N910G using xda premium
Click to expand...
Click to collapse
Did exactly that as soon as I got it. Although I actually prefer back key on right, just find note too wide to reach across, being left handed. Turned off the key light, not to cause confusion, and I guess it took a day to train muscle memory.
Sent from my SM-N910W8
dr.ketan said:
If device is rooted then you can remap back and menu key by editing generic.kl
Sent from my SM-N910G using xda premium
Click to expand...
Click to collapse
Ah, thanks! What would I change to simply disable the Recent and Back keys completely? I have on screen keys now. I still want to keep the home button because I don't accidentally press it.
Actually, I just put a # in front of the line for app_switcher, which worked. What do I change or remove to disable the capacitive Back hardware key? Thanks!
EDIT: figured it out!
To disable the Recent and Back hardware keys (capacitive buttons), edit /system/usr/keylayout/Generic.kl and put a # in front of these 2 lines:
key 158 BACK
key 254 APP_SWITCH
Save and reboot!
whittikins said:
Ah, thanks! What would I change to simply disable the Recent and Back keys completely? I have on screen keys now. I still want to keep the home button because I don't accidentally press it.
Actually, I just put a # in front of the line for app_switcher, which worked. What do I change or remove to disable the capacitive Back hardware key? Thanks!
EDIT: figured it out!
To disable the Recent and Back hardware keys (capacitive buttons), edit /system/usr/keylayout/Generic.kl and put a # in front of these 2 lines:
key 158 BACK
key 254 APP_SWITCH
Save and reboot!
Click to expand...
Click to collapse
That's very useful!:good:
marvi0 said:
Had same issue. Use dynamic navbar on playstore or lmt pie. I went for dynamic navbar it's amazing and can be customised to your absolute liking.
Click to expand...
Click to collapse
What is this lmt pie?
kopkiwi said:
What is this lmt pie?
Click to expand...
Click to collapse
It's an amazing app here in xda developed by a recognized member that adds pie control to your phone
drmodify said:
It's an amazing app here in xda developed by a recognized member that adds pie control to your phone
Click to expand...
Click to collapse
The only thing about let and pie control in general is that it auto dissappear. When multiple back key is required, it is a pain.
Which is why I have resorted to using side key panel when I don't want to use capacitive. I edited settings database to add transparency to side panel menu as well as having a hint bar dissappear. I moved it to the comfortable zone for my thumb, and trigger it without fail. It says on till I press outside of the side menu.
It is working great for me. Although I would rather have standard nav bar for purely visual reasons as well as more modding options.
Sent from my SM-N910W8
I too am a lover of a static nav bar on my Galaxy Devices.
I now have a SM-N910P now and am frustrated as heck at not being able to get it functional here, on a rooted stock NK2. I used to run SlimKat 4.4.2 on my SPH-L710 and loved the navbar that they baked into the ROM. SlimLoli is maturing for the Note 4, but it doesn't yet have any S-Pen support baked in. This fact, when coupled with how well Samsung and Sprint have done with TouchWiz on the Note 4 have caused me to hold off on putting a custom ROM on the device.
So, what to do.?. Editing buildprop does indeed cause the looping system UI FC. UDN is an excellent solution barring one issue, and that it is doesn't have a means to dedicate a portion of the display to the nav bar. It just overlays on top of the launcher's/app's UIs. I'd be willing to pay for a solution that fixes this.
Pie controls have never really clicked with me. Not yet being willing to move away from NK2, I find that I am wondering if there is a way to force a portion of the bottom of the screen to be entirely dedicated to a specific app, all of the time. As depicted in this screeny, UDN overlays and it is frustrating as hell.
Anyone have any ideas yet?
-t

Remap App Switch To Menu

So ive been search around for a while now on how to fix this. And to anyone that chimes in and says why do you need the menu button obviously you don't use older apps, the new touch button on the screen is a huge annoyance especially since i've used my phones this way since my first S1. Regardless this is how i want it and so do many other people.
Currently this is only for a rooted phone
I have figured out how to remap the left soft key from the App Switcher/Multi window over to the old style menu key. Instructions for that can be found here
But now i don't have any way of switching to my currently open apps, after remapping the left key, the longpress now takes you to search. and long pressing on the home button also takes you to another variation of the search (both i dont use nor want). I want to be able to remap my left softkey on longpress to open up currently open apps (APP_SWITCH) and it would be nice if long pressing on Home could open the Task Manager as it did on my S3.
As far as i can tell editing of the longpress function is done via a Policy edit. Read about that HERE
Keep in mind that post is from 2014 so i have no idea if the internal code is still being handled the same way, i couldn't even find that file on my S6, but i did find a file called SEPOLICY in my root folder using ROOT EXPLORER. Do any of you know more about this and how I can go about changing this? im sure its a code level adjustment. Thanks
Long-press home button can be controlled without root easily.
Check out this app:
https://play.google.com/store/apps/details?id=com.spada.nowgesturetweaksfree
I use the long-press home to get to my last used app.
I wonder if I can remap my buttons to launch any other apps.. Will have to tinker around a bit.
Ewww.
@rbiter said:
Ewww.
Click to expand...
Click to collapse
if you have nothing useful to bring to this discussion then please get out
j1635 said:
if you have nothing useful to bring to this discussion then please get out
Click to expand...
Click to collapse
very useful. menu for navigation is long long outdate. software nave or 3 dots is the customary way to go. adding a secondary menu button is redudant and unnecessary. my little ewww comment brought a lot to the table. you tryingt to call me out on it is less useful.
@rbiter said:
very useful. menu for navigation is long long outdate. software nave or 3 dots is the customary way to go. adding a secondary menu button is redudant and unnecessary. my little ewww comment brought a lot to the table. you tryingt to call me out on it is less useful.
Click to expand...
Click to collapse
lol f off
If you guys use Dropbox, how do you get to the menu with SORT, etc.. without a menu key. This is making me crazy. I'm using nova launcher and there is no floating menu key. ????
The problem is if not every developer uses it, it's inconsistent.
It often helps if the options etc. In apps are on the top, so you don't have to fidget with your phone to reach the top or use two hands.
The menu button on every app is positioned somewhere else, so I find the op wanting it justified.
All in one gestures let's you remap every key, for some odd reason on my s4 I can remap the menu key, but on the S6 for some odd reason the option of the menu key has vanished in the same app:what:
Sent from my SM-G925F using XDA Free mobile app
Hi pal. Hope it helps. Make 254 button remap, then install nova launcher, in tab gestures select long press menu and then recent app. Profit! Now once tapped you have menu button, long pressed - recent apps.
So, i made it, i use it. It works.
j1635 said:
So ive been search around for a while now on how to fix this. And to anyone that chimes in and says why do you need the menu button obviously you don't use older apps, the new touch button on the screen is a huge annoyance especially since i've used my phones this way since my first S1. Regardless this is how i want it and so do many other people.
Currently this is only for a rooted phone
I have figured out how to remap the left soft key from the App Switcher/Multi window over to the old style menu key. Instructions for that can be found here
But now i don't have any way of switching to my currently open apps, after remapping the left key, the longpress now takes you to search. and long pressing on the home button also takes you to another variation of the search (both i dont use nor want). I want to be able to remap my left softkey on longpress to open up currently open apps (APP_SWITCH) and it would be nice if long pressing on Home could open the Task Manager as it did on my S3.
As far as i can tell editing of the longpress function is done via a Policy edit. Read about that HERE
Keep in mind that post is from 2014 so i have no idea if the internal code is still being handled the same way, i couldn't even find that file on my S6, but i did find a file called SEPOLICY in my root folder using ROOT EXPLORER. Do any of you know more about this and how I can go about changing this? im sure its a code level adjustment. Thanks
Click to expand...
Click to collapse
but if i want to change the long press from split screen to menu? how do i find that? will it work the same?
Delphinus3 said:
but if i want to change the long press from split screen to menu? how do i find that? will it work the same?
Click to expand...
Click to collapse
look at my Rom.. it needs changes in framework to get that working..and it is working
Alex-V said:
look at my Rom.. it needs changes in framework to get that working..and it is working
Click to expand...
Click to collapse
i saw your page.. there are 2 roms i seem to like, yours and EMPORIA but idk who is best. lol i haven't even bought the phone yet but yea the menu button will be missed for me. what i want in a rom? if its based on stock i like it as close to stock as possible (no bloatware), call recording, if there's an option for increasing camera performance thats awesome, better battery life than stock original. that's it basically. and if i only want to root, how can i change menu longpress? i hered theres like a toolbox root app for galaxy devices...
Delphinus3 said:
i saw your page.. there are 2 roms i seem to like, yours and EMPORIA but idk who is best. lol i haven't even bought the phone yet but yea the menu button will be missed for me. what i want in a rom? if its based on stock i like it as close to stock as possible (no bloatware), call recording, if there's an option for increasing camera performance thats awesome, better battery life than stock original. that's it basically. and if i only want to root, how can i change menu longpress? i hered theres like a toolbox root app for galaxy devices...
Click to expand...
Click to collapse
it's only my personal rom..means it's not made for making any profit or let's say thousands of users..
i think you must try it yourself for one or two days and compare..my is very clean

Categories

Resources