You cannot. Unlike in PC world, a phone's OS has to be fully configured and customized to run with a particular hardware so only phone manufacturers can device to put the OS on a particular phone. If the phone hardware is good enough to support the OS to begin with.