Check for errors from adb, may not work on all systems.