Hello forum,
Am trying to copy a file that got created under /data/user/0/com.benchmark.app/files/ directory. Have tried the following methods, but no luck
Method1: Using adb pull
adb pull /data/user/0/com.benchmark.app/files/test1.binPermission denied
Method2: Using run-as to copy to /data/local/tmp or other directory
adb shell;
run-as com.benchmark.app cp /data/user/0/com.benchmark.app/files/test1.bin /data/local/tmp/
cp: /data/local/tmp/test1.bin: Permission denied
Is there any other alternate options to get this file without rooting the device.
Thank you,
rchakena