Hello Guys, this Guide is for those who are on Beta Miui Rom,Eu ane Miui pro Rom (May work on stable ROMs) and want Full Screen Display or On-Screen Navigation Bar for your Redmi Note 4 or other Mi phones 
DISCLAIMER: :angel: I will not responsible if anything goes wrong like bricked or bootloop of your mobile due to your stupidity
REQUIREMENTS:
1) Any Root File Manager (Here ES file explorer) or Build Prop Editor
Note: Mount the system from the Root Explorer option in ES Explorer
CAUTION: Editing system files is harmful, do it at your own risk.
GUIDE:
STEP 1 - Enabling Software keys or Full Screen Display Gestures
1. Open ES File Explorer, tap the menu icon from top left corner and expand Tools. In tools, enable the ‘Root Explorer’ option and grant 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. In Build Prop Editor Add Line as 'qemu.hw.mainkeys' and value as 0
5. Go back and select ‘Yes’ to save the build.prop file.
6. Reboot the phone.
NOTE: If you see the on-screen keys only then proceed to next step, otherwise check it by alternate methods mention...
STEP 2 - Enable Full Screen Display Gestures
1) Go to Settings, there will be option as Full Screen Display, Tap it
2) There will be 2 options of Buttons and FSG, Tap on FSG
NOTE: If you want FSG with hardware buttons then don't proceed, enjoy FSG on Miui
STEP 3 - 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 4 - 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.
:good::good::good:
All Done!
DISCLAIMER: :angel: I will not responsible if anything goes wrong like bricked or bootloop of your mobile due to your stupidity
REQUIREMENTS:
1) Any Root File Manager (Here ES file explorer) or Build Prop Editor
Note: Mount the system from the Root Explorer option in ES Explorer
CAUTION: Editing system files is harmful, do it at your own risk.
GUIDE:
STEP 1 - Enabling Software keys or Full Screen Display Gestures
1. Open ES File Explorer, tap the menu icon from top left corner and expand Tools. In tools, enable the ‘Root Explorer’ option and grant 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. In Build Prop Editor Add Line as 'qemu.hw.mainkeys' and value as 0
5. Go back and select ‘Yes’ to save the build.prop file.
6. Reboot the phone.
NOTE: If you see the on-screen keys only then proceed to next step, otherwise check it by alternate methods mention...
STEP 2 - Enable Full Screen Display Gestures
1) Go to Settings, there will be option as Full Screen Display, Tap it
2) There will be 2 options of Buttons and FSG, Tap on FSG
NOTE: If you want FSG with hardware buttons then don't proceed, enjoy FSG on Miui
STEP 3 - 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 4 - 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.
:good::good::good:
All Done!
Last edited: