copy db file with adb pull results in 'permission denied' error

前端 未结 15 785
执笔经年
执笔经年 2020-12-13 17:13

I just rooted my Nexus 5 using this method: http://www.phonearena.com/news/How-to-root-Google-Nexus-5_id49014

I also enabled USB debugging in the developer options.<

15条回答
  •  抹茶落季
    2020-12-13 17:43

    This answer ended up working for me: https://stackoverflow.com/a/15559278/53001

    Backup to a file, pull the backup, and then convert it to a tarball and extract it.

    adb backup  -f myAndroidBackup.ab  com.corp.appName
    
    dd if=myAndroidBackup.ab bs=1 skip=24 | python -c "import zlib,sys;sys.stdout.write(zlib.decompress(sys.stdin.read()))" | tar -xvf - 
    

提交回复
热议问题