code: def root(self) -> None:
          '''Restart adbd with root permissions.'''
          output, _ = self._execute('-s', self.device_sn, 'root')
          if not output:
              raise PermissionError(
                  f'{self.device_sn!r} does not have root permission.'f root(self) -> None:
          '''Restart adbd with root permissions.'''
          output, _ = self._execute('-s', self.device_sn, 'root')
          if not output:
              raise PermissionError(
                  f'{self.device_sn!r} does not have root permission.')
docs: Restart adbd with root permissions.