title: 'adb devices' says unauthorized in TWRP
body: <p>I am in TWRP recovery, version - 3.0.2-0 (multirom)
  Android Version - 5.1.1
  OS - Cyanogen 12.1 - YOG4PAS1N0</p>
  
  <p>1.</p>
  
  <p>When I connect my phone via usb and try to run <code>adb devices</code>, I get -</p>
  
  <pre><code>List of devices attached
  624225fe        unauthorized
  </code></pre>
  
  <p>And after that when I try any command, I get error -</p>
  
  <pre><code>adb shell
  error: device unauthorized. Please check the confirmation dialog on your device.
  </code></pre>
  
  <p>No confirmation is being asked in my phone at this time.</p>
  
  <p>When my device is on (not in recovery) and then when I connect it via usb then everything works fine (drivers already installed in my PC, android debugging enabled in my phone).</p>
  
  <p>When I am in recovery then only it is throwing this error. </p>
  
  <p>Also in the TWRP recovery there is an option of 'Terminal' in 'Advanced' and there I am able to run each command of adb and others. </p>
  
  <p>How TWRP is not able to identify that permission has been granted already for adb.
  Is it a TWRP version issue?</p>
  
  <ol start="2">
  <li><p>when I am trying <code>adb pull /data/data/somefile</code> when my phone is on (not in recovery), its saying <code>error: device not found</code>. Did not get this as I have already used this command many times before also.</p></li>
  </ol>
  
  <p>Thanks.</p>