How to run adb push as root?

TianxiLiu picture TianxiLiu · Nov 26, 2012 · Viewed 28.4k times · Source

I want to use adb pull to pull a db file from Nexus 7 to PC.

My nexus 7 has been rooted.

If a use "adb pull /data/data/com.xx.xx/databases/xx.db .", it failed because of permission problem. But if I use ">adb shell; >su", but then I can't use "adb pull" command.

Answer