Disable HTC M7 capacitive buttons? - One (M7) Q&A, Help & Troubleshooting

Hey guys, is there any easy way to disable the M7s capacitive buttons? As I'm using the onscreen keys. P.S I'm using ViperOne 6.1.0.
Sent from my HTC One using XDA Free mobile app

So you want to completely disable all function of capacitive buttons?
If so, using a file explorer (I recommend ES File Explorer), navigate to /system/usr/keylayout and find two files named "himax-touchscreen.kl" and "snyaptics-rmi-touchscreen.kl"
open up those files as text and put a hash symbol (#) to every line of those files
Example, in himax-touchscreen.kl, it should look like this in the end:
Code:
#key 102 HOME
#key 158 BACK
Save it and do the same for the other file. Reboot and the capacitive buttons should stop functioning now. If you want to get the capacitive buttons back, just remove the # symbols on those files and reboot

Hey, I tried to do this method but, it just wouldn't save and also I couldn't find the himax file, I have enabled show hidden files, help would be appreciated
Sent from my HTC One using XDA Free mobile app

Sent from my HTC One using XDA Free mobile app

Did you mount system?
Enable root mode in ES File Explorer and mount system first, then do the edits
EDIT: What ROM are you on? If you can't find himax-touchscreen, skip that and just do the synaptics one and report back if it worked
Also, is that what your snyaptics-rmi-touchscreen.kl shows by default? It looks like you just copied and pasted the stuff I written before If so, you don't need to copy/paste, just add the "#" symbol in front of every line

It worked thanks for the help
Sent from my HTC One using XDA Free mobile app

ShaheenXE said:
Hey guys, is there any easy way to disable the M7s capacitive buttons? As I'm using the onscreen keys. P.S I'm using ViperOne 6.1.0.
Sent from my HTC One using XDA Free mobile app
Click to expand...
Click to collapse
Are the onscreen buttons a feature of ViperOne? Do they work well?
Edit: Nevermind, I answered my own question by trying it out myself.

ZeroInfinity said:
EDIT: What ROM are you on? If you can't find himax-touchscreen, skip that and just do the synaptics one and report back if it worked
Click to expand...
Click to collapse
running google play edition. the only file that exists is snyaptics-rmi-touchscreen.kl and commenting out the two keys does the trick.
thanks!

Related

[Q] Modify build.prop

I i want to modify build.prop, will i need a program to find it in my phone? i found the one in root file explorer but it wont let me modify it so i can make icons bigger . Any help for the noob. Only asking as new thread because i have friends who want to find out too...
If you long press on the file in root explorer you can thumb down to: open with text editor...
Then after you save it it automatically makes a copy of the original file just in case you need to revert
Sent from my HERO200 using XDA App
Vandelay007 said:
If you long press on the file in root explorer you can thumb down to: open with text editor...
Then after you save it it automatically makes a copy of the original file just in case you need to revert
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Correct, also make sure you're in r/w, not r/o otherwise it won't let you edit or save
Very true my friend! I forgot to mention that!
Sent from my HERO200 using XDA App
How do I switch to that?: -)
Sent from my HERO200 using XDA App
When you open root explorer you will see a box at the top that says Mount RW...tap on that
Sent from my HERO200 using XDA App
It ends up that I don't have root explorer and can't buy it. Is there another program like that, that I can use.
Sent from my HERO200 using XDA App
If your running cm6 estrongs file explorer has a root privileged mode
Well I screwed with it till 178 looked good. My phone looks amazing now with nothing really list in apps...... yet. Thanks!
Sent from my HERO200 using XDA App
andronut said:
Well I screwed with it till 178 looked good. My phone looks amazing now with nothing really list in apps...... yet. Thanks!
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
No problem, glad you got it looking like you want
Sent from my hero running froyo... take that Sprint!
someone knows hot to modify build.prop from pc before flashing a rom? It works if i use the block note?
Bologna said:
someone knows hot to modify build.prop from pc before flashing a rom? It works if i use the block note?
Click to expand...
Click to collapse
Even though you're on another phone, if your rom is in a zip format. You can simply:
- Unzip the rom
- Locate the build.prop
- Open it with wordpad or notepad++
- Edit it
- Save it
- Rezip the rom
- Flash
Well he would also have to edit the update script if he doesn't use a program like winrar or 7zip. Simply extracting the rom zip and making edits to the bp then rezipping the rom won't work. When he goes to flash it if I'm not mistaking it will give the update script error.
Root/Hack_Mod-Always*

[Q] Change recent app to original button

I installed the Volume key long press media control from einstein.frat and noticed that i cannot view my recent app. Someone mentioned a solution which is, Go to /system/usr/keylayouts and find this file synaptics-rmi-touchscreen.kl .Open it in text editor and file this line key 249 MENU . Change MENU to APP_SWITCH .Then save and reboot.
However when i tried to save the changes to the text file it says:
'Can't write file:/system/usr/keylayout/synaptics-rmi-touchscreen.kl open failed:EACCES (Permission denied)'.
The permission for the text file is rw-r--r--. Im running the Nameless ROM v7.2 Build 5.
On xplore or es file go to settings then mount as root, then you could modify files.
Sent from my HTC Desire C using xda premium
Recent apps is long press home key on nameless, if you want to change it, use nikhil's AROMA Customiser. hope I helped!
Sent from my HTC Desire C using xda app-developers app
I like the change in Nameless because I used to accidentally touch the recent app from time to time. Now I only load it when I really need it.
einstein.frat said:
On xplore or es file go to settings then mount as root, then you could modify files.
Sent from my HTC Desire C using xda premium
Click to expand...
Click to collapse
Thanks it worked. It was so obvious should have though of that
uchihasparky said:
Recent apps is long press home key on nameless, if you want to change it, use nikhil's AROMA Customiser. hope I helped!
Sent from my HTC Desire C using xda app-developers app
Click to expand...
Click to collapse
by default its long press home key, figured that out when i was messing around with the buttons. But in my case when i installed the mod the recent apps button doesn't come back

[Q] Software buttons?

Is there any way how I can disable my 3 physical buttons, and trade them for 3 software buttons?
Please be more specific, at least tell us what ROM you're using...
luuk.vandeven said:
Is there any way how I can disable my 3 physical buttons, and trade them for 3 software buttons?
Click to expand...
Click to collapse
i think someone was able to do this by adding a code to the build.prop.
BlackDuty said:
Please be more specific, at least tell us what ROM you're using...
Click to expand...
Click to collapse
I'm running on cyanogenmod 10.1 nighty so android 4.2.2
a month ago I search for the screen buttons and there are the steps.
open a file manager with root ( Solid Explorer or Root Explorer), go to /system and open build.prop (backup it!!):thumbup:
add this line at the end of the file build.prop:
qemu.hw.mainkeys=0
restart your phone.
nicely done!
but i don't know how to disable physic buttons, someone know how?
sorry for my bad english
Sent from my LG-P880 using xda app-developers app
UncleRipper said:
a month ago I search for the screen buttons and there are the steps.
open a file manager with root ( Solid Explorer or Root Explorer), go to /system and open build.prop (backup it!!):thumbup:
add this line at the end of the file build.prop:
qemu.hw.mainkeys=0
restart your phone.
nicely done!
but i don't know how to disable physic buttons, someone know how?
sorry for my bad english
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
Thank you very much!
I will try this out tomorrow, but I found out how to disable the physical buttons in cyanogenmod 10.1, it's really east, you can just disable them in the phone settings. the only problem is that they will still light up when you're touching the screen, does somebody know how to disable that?
I'm running my o4x with cyanogenmod 10.1 so android 4.2.2
hit the thanks button please!!
I need that
Sent from my LG-P880 using xda app-developers app
---------- Post added at 10:36 AM ---------- Previous post was at 10:19 AM ----------
Prerequisites:
Root
SManager (play store)
SManager widget (play store)
Your phone
this script: https://www.dropbox.com/s/iz6t5eql0w2kzxd/softkeyscript.zip
First install the app SManager and accept the SU request.
Use a root file browser and move the script from the SD Card your system/etc/init.d folder
Go into SManager and locate the 2 scripts. Click on them and tap the little star button in the top left to make them a favorite. And click the little SU icon while your at it! (optional: click also on run on boot the gear near "su" command)
Add the widget to your home screen, run the script and turn off the display and then turn it back on.
Enjoy a light free phone
Sent from my LG-P880 using xda app-developers app
to disable the button remap they!
Use "button remapper" (search it on google cause isn't on play store) and assign "focus" to home, back and menu buttons.
The app is simple to use and the values to change are last in the list.
focus work only when you are on camera app.
Sent from my LG-P880 using xda app-developers app
UncleRipper said:
a month ago I search for the screen buttons and there are the steps.
open a file manager with root ( Solid Explorer or Root Explorer), go to /system and open build.prop (backup it!!):thumbup:
add this line at the end of the file build.prop:
qemu.hw.mainkeys=0
restart your phone.
nicely done!
but i don't know how to disable physic buttons, someone know how?
sorry for my bad english
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
Got it! Only having some trouble stopping the physical buttons from lighting up..
but what phone you have?
my buttons are different.:sly:
EDIT: you use a theme, don't you??
Sent from my LG-P880 using xda app-developers app
Haha, no I've got a 4x HD running cyanogenmod 10.1 with the alloy red theme (which looks very dope)
Sent from my LG-P880 using xda app-developers app
UncleRipper said:
hit the thanks button please!!
I need that
Sent from my LG-P880 using xda app-developers app
---------- Post added at 10:36 AM ---------- Previous post was at 10:19 AM ----------
Prerequisites:
Root
SManager (play store)
SManager widget (play store)
Your phone
this script: https://www.dropbox.com/s/iz6t5eql0w2kzxd/softkeyscript.zip
First install the app SManager and accept the SU request.
Use a root file browser and move the script from the SD Card your system/etc/init.d folder
Go into SManager and locate the 2 scripts. Click on them and tap the little star button in the top left to make them a favorite. And click the little SU icon while your at it! (optional: click also on run on boot the gear near "su" command)
Add the widget to your home screen, run the script and turn off the display and then turn it back on.
Enjoy a light free phone
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
I managed to get it right, and it works fine. The lights will still show about 5 seconds after boot, but when the script starts running they dissapear, so that's good to me. So thank you very much!

[Q]Hardware buttons not working ...need software buttons

Today while using my device the buttons started vibrating continuously and the they stopped working ...
I thought of getting soft keys on screen ..I searched net and found quem.hw.mainkeys=0 as the method to get soft keys ..I have rooted phone .I have busybox installed ..still on rebooting I don't get soft keys ...can anyone tell me what to do
Sent from my HTC Desire C using XDA Free mobile app
hardymall20 said:
Today while using my device the buttons started vibrating continuously and the they stopped working ...
I thought of getting soft keys on screen ..I searched net and found quem.hw.mainkeys=0 as the method to get soft keys ..I have rooted phone .I have busybox installed ..still on rebooting I don't get soft keys ...can anyone tell me what to do
Sent from my HTC Desire C using XDA Free mobile app
Click to expand...
Click to collapse
Hi,
You can enable soft keys if you install Xposed Framework and GravityBox-JB (Downloadable in the app)
Somewere ont he forum you can get the xposed .apk file.
Then somewhere is in the gravitybox settings you can enable navigation bar.
You can also set the vibrationtime of the hardware buttons with this frameworkModule
I don't know if you can use build.prop editor to toggle the quem.hw.mainkeys to 1.
But I don't have jellybean ...I am using ics ...can I still install Gravitybox-jb
Sent from my HTC Desire C using XDA Free mobile app
hardymall20 said:
But I don't have jellybean ...I am using ics ...can I still install Gravitybox-jb
Sent from my HTC Desire C using XDA Free mobile app
Click to expand...
Click to collapse
I don't know how to do that for jellybean.
Are you running the stock ICS? Maybe you can consider to flash cm10.
I don't think it is possible in the stock sence rom.
Maybe there is an app with hovering keys.
This one: https://play.google.com/store/apps/details?id=com.fatedevgroup.softkeyenabler&hl=nl
Haven't tested but ICS is 4.0.0 right?

Enabling softkeys on sense 6

Hi I'm trying to enable soft keys on my HTC one running android 4.4.3 sense 6. I've tried adding qemu.hw.mainkeys=0 to my /system/build.prop, but after a reboot its gone.
Does anyone know how to do this? I've added it using mi xplorer with root privileges.
Hoping to hear from you guys.
Best,
Olaf
Sent from my HTC One using XDA Free mobile app

Categories

Resources