Skip to content
This repository
tree: d271e24308
Fetching contributors…

Cannot retrieve contributors at this time

file 18 lines (14 sloc) 0.413 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# p2p-adb
# https://github.com/kosborn/p2p-adb/
# @theKos
# kyle@kyleosborn.com




if [ $ISROOT -ge 2 ]; then
DATAPATH="/sdcard/Android/data/*/{shared_prefs,databases}/"
echo 'We are user shell!'
echo 'Whoever, we can grab contents for /sdcard/Android/data'
getData "$DATAPATH"
elif [ $ISROOT -le 1 ]; then
DATAPATH="/data/data/*/{shared_prefs,databases}/"
echo 'We are root...'
getData "$DATAPATH"
fi
Something went wrong with that request. Please try again.