[Kenzo] Guide to Enable On-Screen Navigation Bar and Disable Hardware keys! [AOSP] - Xiaomi Redmi Note 3 Guides, News, & Discussion

Hello Guys, this Guide is for those who are on AOSP 5.1.1 Rom (May work on other ROMs) and want complete stock experience with On-Screen Navigation Bar for your Redmi Note 3 pro SnapDragon!
REQUIRMENTS:
1) Any Root File Manager (Here ES file explorer)
CAUTION: Editing system files is harmful, do it at your own risk.
GUIDE:
STEP 1 - Enabling Software keys
1.Open ES File Explorer, tap the menu icon from top left corner and expand Tools. In tools, enable the ‘Root Explorer’ option and grand full root access to ES explorer when prompted.
2.In ES explorer, open the Device (/) directory from Menu > Local > Device. Go to system folder and open the build.prop file with ES note editor.
3. Edit the file by selecting the edit option from top right corner. Then scroll down to the bottom and add the line qemu.hw.mainkeys=0
4. Go back and select ‘Yes’ to save the build.prop file.
5.Reboot the phone.
NOTE: If you see the on-screen keys only then proceed to next step!
STEP 2 - Disabling Hardware Keys
1) Open ES file explorer, go to Device > system > usr > keylayout directory. Open the file “ft5x06_ts.kl”, open it as Text and then select ES note editor. Edit the file and simply add the # prefix in front of the word key for all 4 keys.
In the end of that file there will be following four lines:
key 158 BACK
key 139 MENU
key 172 HOME
key 217 SEARCH
Add a '#' before each line so it would look like this:
#key 158 BACK
#key 139 MENU
#key 172 HOME
#key 217 SEARCH
2) Go back, Save file and Reboot.
3) Hardware Keys should now be disabled.
STEP 3 - Disabling capacitive key lights.
1)Download Capacitive Buttons app from Play Store.
2)Open it and grant root access.
3)Select the first option i.e no brightness.
4)Reboot.
All Done!

Dear tested on rmn3pro global stable 7.3.6 and it is working.

It worked for me
thank you

Its not working on redmi note 3 pro miui9.2. Please help.

anx.srv said:
Its not working on redmi note 3 pro miui9.2. Please help.
Click to expand...
Click to collapse
Same here. Does not work with MIUI 9.5

Not working in my stock rom.
I've tried this in custom rom.its worked.But in my Samsung j7 2015 stock rom, its not working.Is there any other method to enable on screen navigation bar?
Please Help!

Related

[TUT] making volume and home button viberate when pressed

firstly thanks to kenjilucas19 for finding this
CAUTION:- 1. the button you will make virtual can not be used on lockscreen
2. do not use this for power button else you will not be able to wake up your screen
you will need root for this
1. open any file manager with root access
2. go to /system/usr/keylayout
3. open aries-keypad.kl with text editor
4. change the word WAKE with VIRTUAL
5. save the file and reboot
you are done
it was done originally on galaxy mini, thread link:- http://forum.xda-developers.com/showthread.php?t=1667694
Its usr, not use .
sorry my keyboard app auto correct words

Guide to enable soft nav keys and disable capacitive keys in CM 12.1 (without xposed)

The CM devs are unable to include this functionality for our device (it is against CM design guidelines to enable soft keys, because zenfone's hard keys are not backlit and therefore cannot be hidden), so I thought I'd share my findings on a simple method to do it yourself.
(Disclaimer: while this does not involve anything difficult, you do have to make minor changes to important system files. Please proceed with caution and at your own risk. I cannot be held responsible for any problems that may result in following this guide.)
First, open the CM file manager and if you haven't done so already, give it root access (open the sidebar, press the gear icon at the bottom, then open "general settings" and scroll down to "advanced" and you'll find "Access Mode", which you set to root access).
To enable soft keys:
Use the file manager to navigate to the system folder, where you'll find the build.prop file. Tap it and select to use editor to open it. Then scroll down to the end of the file and add this line:
qemu.hw.mainkeys=0
Then click the disk icon up top to save the edited file. Reboot your device and you should have the soft keys.
If you want to turn them off temporarily just open the build.prop file again and add a # in front of qemu.hw.mainkeys=0 then save and reboot.
Next, how to disable the hard capacitive keys:
Again using file manager, navigate to system-usr-keylayout. Open the ftxxxx_ts.kl file with editor. Add a # to the front of the first three lines. They should look like this:
#key 158 BACK VIRTUAL
#key 102 HOME VIRTUAL
#key 139 APP_SWITCH VIRTUAL
Now save the file and reboot your device, and the hard keys should now be disabled.
If you want to enable them again just go back to the ftxxxx_ts.kl file and remove the three # marks that you added, and as usual save and reboot.
I have not tried this on rooted stock firmware, so don't know if the method is the same. Would be good if someone on stock could try and let us know. Think you need a 3rd party file explorer (something like ES Explorer) to do it in stock?

Swapping Back and Recent Apps Button - Exodus Rom

Hey guys, I need a tiny bit of help. I'm running Exodus ROM, which is my favorite. Only issue is it doesn't have the option to swap the back and recent apps button. I'm left-handed so I have to have that switched. When I had my OnePlus One I was able to switch the buttons by editing the corresponding system files. So I'm trying to do the same for my OnePlus 2, but need confirmation on which files to swap.
Here's where I'm at so far.
Using ES File Explorer I've navigated to:
system --> usr --> keylayout
then opened --> Generic.kl (in text editor)
From there I see that --> key 139 is the menu and --> key 158 is the back button. So I believe those are the two that I need to swap. Can someone confirm this? As on the Oneplus One it was slighty labeled differently.
Edit----------------
Okay I tried swapping 139 and 158 and those weren't it. So I need help identifying which to swap. Thanks
Edit --------------
Nevermind. I used the option to change short press action. For any other left-handers that may stumble on this thread if you're using Exodus ROM navigate to:
Menu --> Hardware --> Action Rebinding --> Back --> Single Press Action --> and change to "Recent Apps"
Then click on App Switch --> single press and action change to "Navigate Back"
ImHavenHart said:
Hey guys, I need a tiny bit of help. I'm running Exodus ROM, which is my favorite. Only issue is it doesn't have the option to swap the back and recent apps button. I'm left-handed so I have to have that switched. When I had my OnePlus One I was able to switch the buttons by editing the corresponding system files. So I'm trying to do the same for my OnePlus 2, but need confirmation on which files to swap.
Here's where I'm at so far.
Using ES File Explorer I've navigated to:
system --> usr --> keylayout
then opened --> Generic.kl (in text editor)
From there I see that --> key 139 is the menu and --> key 158 is the back button. So I believe those are the two that I need to swap. Can someone confirm this? As on the Oneplus One it was slighty labeled differently.
Edit----------------
Okay I tried swapping 139 and 158 and those weren't it. So I need help identifying which to swap. Thanks
Edit --------------
Nevermind. I used the option to change short press action. For any other left-handers that may stumble on this thread if you're using Exodus ROM navigate to:
Menu --> Hardware --> Action Rebinding --> Back --> Single Press Action --> and change to "Recent Apps"
Then click on App Switch --> single press and action change to "Navigate Back"
Click to expand...
Click to collapse
Not in Generic.kl but in Syanptics.kl
Also reboot after changing.

[howto] Disable capacitive buttons and enable software buttons

I find the capacitive buttons hard to use so after a bit of trial and error i found a way to enable software keys and disable the capacitive buttons.
To enable software keys :-
With root file editor, edit the build.prop and add the following to the very bottom
qemu.hw.mainkeys=0
Reboot and the soft keys should now now be showing! They auto-hide as well when required.
WARNING: If you install a ROM update that changes the build prop it will disable the softkeys.
You can usually still navigate to edit the build prop again and then save and reboot though.
To disable capacitative buttons
Use root file explorer and navigate to /system/usr/keylayout
edit the mtk-tpd file and put a # in front of the lines for home, back, menu, app switch
e.g
# key 172 HOME VIRTUAL
# key 139 MENU VIRTUAL
# key 158 BACK VIRTUAL
# key 580 APP_SWITCH VIRTUAL
Reboot and the capacitive buttons no longer work!
tested working on Androium rom so far
f1ux said:
I find the capacitive buttons hard to use so after a bit of trial and error i found a way to enable software keys and disable the capacitive buttons.
To enable software keys :-
With root file editor, edit the build.prop and add the following to the very bottom
qemu.hw.mainkeys=0
Reboot and the soft keys should now now be showing! They auto-hide as well when required.
WARNING: If you install a ROM update that changes the build prop it will disable the softkeys.
You can usually still navigate to edit the build prop again and then save and reboot though.
To disable capacitative buttons
Use root file explorer and navigate to /system/usr/keylayout
edit the mtk-tpd file and put a # in front of the lines for home, back, menu, app switch
e.g
# key 172 HOME VIRTUAL
# key 139 MENU VIRTUAL
# key 158 BACK VIRTUAL
# key 580 APP_SWITCH VIRTUAL
Reboot and the capacitive buttons no longer work!
tested working on Androium rom so far
Click to expand...
Click to collapse
thanks for the tip.
please i want to know if it is possible to change the arrangement of the soft keys, possible switch the back soft key and the recent task soft keys
becleanstayclean said:
thanks for the tip.
please i want to know if it is possible to change the arrangement of the soft keys, possible switch the back soft key and the recent task soft keys
Click to expand...
Click to collapse
I haven't found a way, but I haven't looked either so far.
A quick Google says xposed can modify the nav bar

enable fingerprint click pic

can anyone tell me how to enable to take pics in oreo 8.1 roms using fingerprint just like miui 8.5
What yu mean? Make a photo with fingerprint sensor?
Yes.
Follow whis steps.
First you must have root.
Senond follow this
1. Goto /system/usr/keylayout folder
2. Find a file called Generic.kl
3. Open Generic.kl with text editor (QuickEdit)
4. Search for key 353
5. If you find any line starts with key 353, comment it with # i.e. add # symbol before that line
6. Add a new line with following
Code:
key 353 CAMERA
Third find this file "uinput-fpc.kl" in directory above open it with editor and delete "#" before "key 353 camera".
Should work fine.
an24mas said:
What yu mean? Make a photo with fingerprint sensor?
Yes.
Follow whis steps.
First you must have root.
Senond follow this
1. Goto /system/usr/keylayout folder
2. Find a file called Generic.kl
3. Open Generic.kl with text editor (QuickEdit)
4. Search for key 353
5. If you find any line starts with key 353, comment it with # i.e. add # symbol before that line
6. Add a new line with following
Code:
key 353 CAMERA
Third find this file "uinput-fpc.kl" in directory above open it with editor and delete "#" before "key 353 camera".
Should work fine.
Click to expand...
Click to collapse
thanku bro but sadly this didnt work for me I get this paid app
https://play.google.com/store/apps/details?id=com.nyelito.dactyl
for free from blackmart and cracked its licence varification. This workes like a charm.

Categories

Resources