Android - Enable Navigation Bar in emulator

     Ever landed up with an emulator without Navigation bar and needed it to be enabled quickly?
Well, start the emulator as usual and once its ready ensure that the system partition is mounted for write access.

       adb shell mount -o rw,remount /system

  Next, pull the build.prop from /system and edit it to include this property and push it back to /system

      qemu.hw.mainkeys=0

Finally, reboot the framework process,

     adb shell ps system_server
     adb shell kill <pid>

And voila, we have the navigation bar enabled.

No comments: