#!/system/bin/sh
logcat -d > /data/local/tmp/tnglog.txt
grep -E '7500|exited cleanly|Process my.com.tngdigital|TngRoot|UserLogin|FATAL|Abort message|tombstone|blocked syscall|has died' /data/local/tmp/tnglog.txt | tail -120 > /data/local/tmp/tnglog2.txt
wc -l /data/local/tmp/tnglog2.txt
