The following trick will teach you how to install Android M on your Nexus device. The new Android operating system is currently available for the following devices Google Nexus 5, Google Nexus 6, Google Nexus 9, and Google Nexus Player.