title: How can I get root permissions through the Android SDK?
body: <p>I'm learning Android programming, and I want to make an application which has to run as root. The logical thing would be to add a root permission in the Android Manifest.</p>
  
  <p>I saw <a href="http://developer.android.com/reference/android/Manifest.permission.html">this link</a> in the documentation, and especially noted <a href="http://developer.android.com/reference/android/Manifest.permission.html#FACTORY_TEST">the <code>FACTORY_TEST</code> permission</a>:</p>
  
  <blockquote>
    <p><code>public static final String FACTORY_TEST</code></p>
    
    <p>Since: API Level 1</p>
    
    <p>Run as a manufacturer test
    application, running as the root user.
    Only available when the device is
    running in manufacturer test mode.
    Constant Value:
    "android.permission.FACTORY_TEST"</p>
  </blockquote>
  
  <p>Is that the best way?</p>
  
  <p>If it's not possible using the SDK, how can I make a "root" application work?</p>