2018년 3월 4일 일요일

안드로이드 로그 분석(진동은 누가 생성 했나?)

가끔씩 나도 모르게 울리는 진동의 원인을 알고 싶어서 찾아봤습니다.

안드로이드 단말에서 로그를 취득하여야 합니다.
삼성 단말기라면 *#9900# 해서 로그 취득하면 되고
타 회사 단말기인경우 PC에 adb 툴을 설치합니다. android sdk 부터... 너무 복잡하네요.
adb bugreport > 파일이름.txt

파일이름.txt 으로 생성된 로그를 열어서 DUMP OF SERVICE vibrator 부분을 검색해 봅니다.
로그에서 opPkg 부분의 패키지명을 확인 합니다.

DUMP OF SERVICE vibrator:
Previous vibrations:
  timeout: 16, startTime: 161218106, pattern: null, repeat: 0, usageHint: 0, uid: 10188, opPkg: com.google.android.inputmethod.korean
  timeout: 16, startTime: 161218689, pattern: null, repeat: 0, usageHint: 0, uid: 10188, opPkg: com.google.android.inputmethod.korean
  timeout: 16, startTime: 161219017, pattern: null, repeat: 0, usageHint: 0, uid: 10188, opPkg: com.google.android.inputmethod.korean
  timeout: 16, startTime: 161219377, pattern: null, repeat: 0, usageHint: 0, uid: 10188, opPkg: com.google.android.inputmethod.korean
  timeout: 16, startTime: 161219572, pattern: null, repeat: 0, usageHint: 0, uid: 10188, opPkg: com.google.android.inputmethod.korean
  timeout: 16, startTime: 161219869, pattern: null, repeat: 0, usageHint: 0, uid: 10188, opPkg: com.google.android.inputmethod.korean
  timeout: 16, startTime: 161220283, pattern: null, repeat: 0, usageHint: 0, uid: 10188, opPkg: com.google.android.inputmethod.korean
  timeout: 16, startTime: 161220464, pattern: null, repeat: 0, usageHint: 0, uid: 10188, opPkg: com.google.android.inputmethod.korean
  timeout: 16, startTime: 161221388, pattern: null, repeat: 0, usageHint: 0, uid: 10188, opPkg: com.google.android.inputmethod.korean
  timeout: 16, startTime: 161221539, pattern: null, repeat: 0, usageHint: 0, uid: 10188, opPkg: com.google.android.inputmethod.korean
  timeout: 16, startTime: 161224917, pattern: null, repeat: 0, usageHint: 0, uid: 10188, opPkg: com.google.android.inputmethod.korean
  timeout: 16, startTime: 161225637, pattern: null, repeat: 0, usageHint: 0, uid: 10188, opPkg: com.google.android.inputmethod.korean
  timeout: 16, startTime: 161226262, pattern: null, repeat: 0, usageHint: 0, uid: 10188, opPkg: com.google.android.inputmethod.korean
  timeout: 16, startTime: 161231821, pattern: null, repeat: 0, usageHint: 0, uid: 10188, opPkg: com.google.android.inputmethod.korean
  timeout: 666, startTime: 161714247, pattern: null, repeat: 0, usageHint: 0, uid: 10237, opPkg: com.omnitel.android.dmb
  timeout: 666, startTime: 161715274, pattern: null, repeat: 0, usageHint: 0, uid: 10237, opPkg: com.omnitel.android.dmb
  timeout: 666, startTime: 161716287, pattern: null, repeat: 0, usageHint: 0, uid: 10237, opPkg: com.omnitel.android.dmb
  timeout: 666, startTime: 161717310, pattern: null, repeat: 0, usageHint: 0, uid: 10237, opPkg: com.omnitel.android.dmb
  timeout: 666, startTime: 161718326, pattern: null, repeat: 0, usageHint: 0, uid: 10237, opPkg: com.omnitel.android.dmb
  timeout: 666, startTime: 161719335, pattern: null, repeat: 0, usageHint: 0, uid: 10237, opPkg: com.omnitel.android.dmb
  timeout: 666, startTime: 161720338, pattern: null, repeat: 0, usageHint: 0, uid: 10237, opPkg: com.omnitel.android.dmb

저의 경우에는 com.omnitel.android.dmb 라는 어플이 저도 모르게 울리고 있었습니다.

댓글 없음:

댓글 쓰기