I have a non-rooted Nexus 5 on Android 5.1. I've tried multiple solutions described here Android ADB access to application databases without root in order to pull a debugable app database from the file system, but to no avail. Has anybody managed to make it work on 5.1 ?
When trying to copy to sdcard, I get cp: /sdcard: Permission denied
When trying to pull the file directly, I get remote object '/data/data/packagename/databases/name.db' does not exist