The how is simple, all devices will be required to be as locked as iphones. No apps on your device unless approved by the vendor. Open source is fine as long as you jump through the hoops to submit it for review.
so disable dev mode for all phones? This solution is far from simple.
As if one can just grab a PlayStation and start developing for it. The limiting tech already exists.