Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (14 sloc) 0.413 kB
# 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
Jump to Line
Something went wrong with that request. Please try again.