Skip to content

Instantly share code, notes, and snippets.

View mul0w's full-sized avatar
🗺️
Remote

Stef' Virte mul0w

🗺️
Remote
View GitHub Profile
@mul0w
mul0w / ADB Demo Mode
Created February 21, 2022 16:45
Simple script to manage adb demo modes (initially found somewhere but don't remember where, so sorry for the credit! ;-))
#!/bin/sh
CMD=$1
if [[ $ADB == "" ]]; then
ADB=adb
fi
if [[ $CMD != "on" && $CMD != "off" ]]; then
echo "Usage: $0 [on|off] [hhmm]" >&2
exit