title: redirect a data stream from adb to a local utility - Android
body: <p>I need to use the stream of data provided by a device under android in my utilities.</p>
  
  <p>Under a standard Linux distribution I would do the following:</p>
  
  <pre><code>util -input /dev/random
  </code></pre>
  
  <p>with <code>adb</code> and Android i would like to use a <code>/dev/random</code> from the Android device as input for my local <code>util</code>. How i'm supposed to create this pipe ?</p>
  
  <p>if i do</p>
  
  <pre><code>adb pull /dev/random random
  </code></pre>
  
  <p>adb just exits after dumping 1 complete copy but i need a constant pipe/stream.</p>
  
  <p>Thanks.</p>