#!/bin/sh # adb_log_unlocked.sh # 2024-01-19 # by Gernot Walzl # Shows when the device was unlocked (and locked). adb shell logcat -d -s -e "on_device_" keystore2:I \ | sed 's/\(.*\) .* .* - on_device_\(.*\)(user.*/\1 \2/'