title: adb shell su works but adb root does not
body: <p>I rooted my unlocked Galaxy S3 (SGH-T999)</p>
  
  <p>Now, I'm trying to run <code>adb root</code> from Windows <em>Command Prompt</em>, however, I'm getting <code>adbd cannot run as root in production builds</code> error. So, the very first thing I checked was whether my phone was really rooted?</p>
  
  <p>So I tried the following:</p>
  
  <p>Open Command prompt</p>
  
  <pre><code>$adb devices // lists my device
  $adb shell //goes to shell
  $su // opens a 'SuperSu' prompt on my phone and I 'Grant' permission
  # // Before following the rooting instructions, I was getting 'no su command found' in the previous step. So, I believe my phone is ROOTED. **Correct me if I'm wrong.**
  </code></pre>
  
  <p>However, when I do <code>adb root</code>, I get <code>adbd cannot run as root in production builds</code> error.
  So, I thought, I might have to do some additional stuff beyond what I did above. I tried all the solutions in the following SO questions:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/8761992/launch-a-script-as-root-through-adb">Launch a script as root through ADB</a></li>
  <li><a href="https://stackoverflow.com/questions/13089694/adb-remount-permission-denied-but-able-to-access-super-user-in-shell-android">adb remount permission denied, but able to access super user in shell -- android</a></li>
  <li><a href="https://stackoverflow.com/questions/18369144/unable-to-run-adb-root-on-a-rooted-android-phone">Unable to run &#39;adb root&#39; on a rooted Android phone</a></li>
  </ul>
  
  <p>None of the above worked for me. All they do is give the ROOT access INSIDE of SHELL. I want <code>adb root</code> to work so that I can execute various adb commands WITHOUT going into shell.</p>