Beispiel #1
0
 def do(self):
     # hard boot from recovery  to main OS
     relay_utils.select_ros_menu_item(
         self.relay,
         mode=statics.Device(serial=serial).ros_menu_entry[option])
     self.relay.press_power()
     time.sleep(1)
     # accept the factory reset
     self.relay.press_volume_down()
     self.relay.press_power()
Beispiel #2
0
 def do(self):
     # hard boot from recovery  to main OS
     relay_utils.select_ros_menu_item(self.relay, mode=self.menu_position)
     self.relay.press_power()