A high level API for using the recovery partition