1

Android: shell script problems

view story
linux-howto

http://stackoverflow.com – I am making a shell script to remove my pattern unlock on an old phone that I use once in a while for varies stuff, and I am just interested in trying it out. This is what I have and throwing errors like gestureremover.sh[4] 4 I assumed its the line in the shell script, I checked line 4 and it was empty same with couple of other lines but here is the script, I am running this from adb on another android device echo $ISROOT if [ $ISROOT -le 1 ]; then $adb shell "rm /data/system/gesture.key" echo "PATTERN UNLOCK REMOVED" else echo $ISROOT fi (HowTos)