리눅스 & 안드로이드2013. 2. 27. 15:52

출처: http://www.androidside.com/bbs/board.php?bo_table=501&wr_id=2610#c_2611


- 여러개의 device를 연결했을 경우 선택해서 사용할 수 있습니다.

adb -d logcat  (device)

adb -e logcat  (emulator)

adb -s emulator-xxx logcat   (device serial)


- 쉘

adb -d shell


- apk 설치

adb -d install test.apk

adb -d shell

# pm install /sdcard/test.apk


- 재설치

adb -d install -r test.apk


- 사인 문제로 재설치 안될 경우 오버라이트로 설치

adb -d push test.apk /system/app


- 텍스트 입력입니다. 주로 터치키보드로 긴 URL이나 긴 비밀번호 입력하기 힘들때 사용합니다.

adb shell input text "삼천궁녀"


- 디버깅 용도로 아주 가끔 사용합니다. 랜덤 이벤트로 테스트합니다.

adb shell monkey -v 1000 com.test.app1


- 특정 액티비티를 실행합니다.

adb shell am start -a android.intent.action.MAIN -n com.android.settings/.Settings


Posted by 세월의돌
디바이스 드라이버2013. 2. 25. 16:55

CONFIG_COMMON_CLK_DEBUG 옵션을 켜 주면,

CONFIG_COMMON_CLK_DEBUG=y 를 kernel config에 추가 해 주면,

clock tree를 확인할 수 있다.


Menu: System Type/Common Clock Framework

"DebugFS representation of clock tree"

Selects: DEBUG_FS,

Help Text

Creates a directory hierchy in debugfs for visualizing the clk
tree structure.  Each directory contains read-only members
that export information specific to that clk node: clk_rate,
clk_flags, clk_prepare_count, clk_enable_count &
clk_notifier_count.

File: drivers/clk/Kconfig line 26

Linux Versions: 3.6.11, 3.7

Posted by 세월의돌