Disabling Soft Navigation Keys on Android


I have a 410c with Android 5.1.1 on board. I am trying to disable the soft navigation keys on screen. I have modified the /system/build.prop to add the line qemu.hw.mainkeys=1 and reboot the device.

I still have the navigation keys on screen, and when I use adb to shell into the system and run the command “getprop qemu.hw.mainkeys” it returns with a 0.

Is there a location that this property is being overridden in someplace?


Adding the line to build.prop didn’t work for me either, but adding setprop qemu.hw.mainkeys 1 to /etc/init.qcom.post_boot.sh did as a workaround.