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

前端 未结 15 783
执笔经年
执笔经年 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 18:07

    $ adb shell
    $su
    # getenforce
    Enforcing
    

    now try

    adb shell
    su
    chmod 777 /path/to/yout_file
    

    exit from shell

    open new CMD and try adb pull /path/to/yout_file

    It will work fine now.

    you'll have security problems because of this any application will be able to access your database.

提交回复
热议问题