Add support for flash, get-device-details* and fresh-start-simulator.