If you need a phone for developing your app, or if you are still a root and rom enthusiast the OnePlus 5 should be one of the first devices on your list. Alongside the release of the new phone yesterday OnePlus has already released the Kernel Source and device trees needed to develop custom roms. The kernel source is mandatory if Rom developers aim to create a fully stable rom with all features and hardware functioning. The device isn't even available to the public until June 27th. It is nice to see this OEM on the ball when it comes to developer friendliness. It would be nice to see more OEMs jump on board with this.
via XDA