title: How to unlock android phone through ADB
body: <p>My screen is dead and I want to unlock my phone so I can access it through Kies to backup my pictures.</p>
  
  <p>I locked the phone through Android Device Manager setting an easy password (was hoping for an Unlock option once I locked it) and tried various methods to unlock it for example:</p>
  
  <pre><code>adb shell input text 1234
  </code></pre>
  
  <p>Since I don't know what the lock screen look like I'm not sure of the correct inputs to unlock it.</p>
  
  <p>I know the phone is on and that it responds to adb. I am also able to run apps on it through Eclipse.
  It's a Samsung Galaxy S5 with Android 5.0.</p>