title: python pure adb error: read-only file system. Xiaomi
body: <pre><code>from ppadb.client import Client
  from ppadb.client import *
  import os
  client = Client(host=&quot;127.0.0.1&quot;, port=5037)
  device = client.device(&quot;3147da30&quot;)
  directory = os.fsencode('C:\\Users\\User\\Desktop\\zxczxc')
  for i in os.listdir(directory):
      filename = os.fsdecode(i)
      if filename.endswith(&quot;.mp4&quot;):
          i = os.path.join('C:\\Users\\User\\Desktop\\zxczxc\\' + filename)
          device.push(i, &quot;\\sdcard\\DCIM\\Camera&quot;)
  </code></pre>
  <p>Error:</p>
  <pre><code>Error:  File &quot;c:/Users/User/Desktop/adb python project/app.py&quot;, line 12, in &lt;module&gt;
      device.push(i, &quot;\\sdcard\\DCIM\\Camera&quot;)
    File &quot;C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\ppadb\device.py&quot;, line 61, in push
      self._push(src, dest, mode, progress)
    File &quot;C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\ppadb\device.py&quot;, line 55, in _push
      sync.push(src, dest, mode, progress)
    File &quot;C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\ppadb\sync\__init__.py&quot;, line 64, in push
      self.connection._check_status()
    File &quot;C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\ppadb\connection.py&quot;, line 90, in _check_status     
      raise RuntimeError(&quot;ERROR: {} {}&quot;.format(repr(recv), error))
  RuntimeError: ERROR: 'FAIL' +couldn't create file: Read-only file system
  </code></pre>