backup full sms/mms contents via adb
<p>I've been attempting to use adb to pull the sms/mms inbox in its entirety from the device but am having some trouble. The phone is rooted and I've tried the following commands:</p>

<p>Input</p>

<pre><code>./adb pull /data/data/com.android.providers.telephony/databases/mmssms.db
</code></pre>

<p>output</p>

<pre><code>Permission denied
</code></pre>

<p>Input </p>

<pre><code>./adb pull su /data/data/com.android.providers.telephony/databases/mmssms.db
</code></pre>

<p>Output</p>

<pre><code>The help menu
</code></pre>

<p>Am I flawed in my thinking that I can pull the sms inbox via commands similar to the ones I've tried? If it can be done what is wrong with my command?</p>

<p>Thanks</p>
