Did you tried to setup config_showNavigationBar to true in frameworks/base/core/res/res/values/config.xml ?
config_showNavigationBar
true
frameworks/base/core/res/res/values/config.xml