code: def root_adb(self):
          
          self.adb.root()
          self.adb.wait_for_device(
              timeout=DEFAULT_TIMEOUT_BOOT_COMPLETION_SECOND)
docs: Change adb to root mode for this device if allowed.
  
          If executed on a production build, adb will not be switched to root
          mode per security restrictions.