Added PHONE_VERSION handling

Helpfully figured out at ca3c335aef3bdb5914b1b4fcd63701baea9de848