ADB Opendir Failed,permission denied

Source: Internet
Author: User

Workaround

    1. [email protected]:/$cd/data
    2. cd/data
    3. [email protected]:/data $  RUN-AS  com.your.package  
    4. run-as  com.your.package  
    5. [email protected]:/data/data/com.your.package $ cd / data/data/com.your.package  
    6. cd /data/data/com.your.package  
    7. [email  protected]:/data/data/com.your.package $ ls  
    8. ls  
    9. Cache   
    10. databases  
    11. Lib  
    12. [email protected]:/data/data/ Com.your.package $ CD DATABASES  
    13. CD  databases  
    14. [email protected]:/data/data/com.your.package/databases $  ls  
    15. your.db  
    16. your.db-journal

Finally, copy the db file from the package directory you want to access to sdcard so that you can access the

$ cat preferences.db >/mnt/sdcard/yourpackagename.db

Reference: http://denniskubes.com/2012/09/25/read-android-data-folder-without-rooting/

For example:

ADB Opendir Failed,permission denied

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.