Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1675075
  • 博文数量: 311
  • 博客积分: 7778
  • 博客等级: 少将
  • 技术积分: 4186
  • 用 户 组: 普通用户
  • 注册时间: 2009-11-09 19:59
个人简介

蓝点工坊(http://www.bluedrum.cn) 创始人,App和嵌入式产品开发。同时也做相应培训和外包工作。 详细介绍 http://pan.baidu.com/s/1y2g88

文章存档

2012年(3)

2011年(115)

2010年(170)

2009年(23)

分类: 嵌入式

2011-08-23 14:29:40

Andrew Huang  

如果是一个ARM-Linux的开发者,不难很快分析出来的Android的分区。

关于分区,可以看一下如下文章:
<>
   
<>
<>

一.检测Android 手机各种信息

   首先安装HTC的USB 驱动。

   基本上用Android SDK自带的命令行工具adb 就可以分析各个分区了.
   运行如下命令进入Android精减的shell : toolbox 
    adb shell
  
  下面是直接执行相应命令,这个应当是LINUX开发者比较熟悉一些指令了。
  
   查看Nand flash的分区(即一般人称为ROM)的分区,这是我的HTC G8的分区
    adb shell cat /proc/mtd
    
  1. E:\huisen\android\sdk\tools>adb shell cat /proc/mtd
  2. dev: size erasesize name
  3. mtd0: 000a0000 00020000 "misc"
  4. mtd1: 00420000 00020000 "recovery"
  5. mtd2: 002c0000 00020000 "boot"
  6. mtd3: 0fa00000 00020000 "system"
  7. mtd4: 02800000 00020000 "cache"
  8. mtd5: 0af20000 00020000 "userdata"
   
查看所有分区adb shell cat /proc/partitions
  
  1. E:\huisen\android\sdk\tools>adb shell cat /proc/partitions
  2. major minor #blocks name
  3. 31 0 640 mtdblock0
  4. 31 1 4224 mtdblock1
  5. 31 2 2816 mtdblock2
  6. 31 3 256000 mtdblock3
  7. 31 4 40960 mtdblock4
  8. 31 5 179328 mtdblock5
  9. 179 0 1921024 mmcblk0
  10. 179 1 1920000 mmcblk0p1
 显示CPU信息adb shell cat /proc/cpuinfo

 
  1. E:\huisen\android\sdk\tools>adb shell cat /proc/cpuinfo
  2. Processor : ARMv6-compatible processor rev 2 (v6l)
  3. BogoMIPS : 478.41
  4. Features : swp half thumb fastmult edsp java
  5. CPU implementer : 0x41
  6. CPU architecture: 6TEJ
  7. CPU variant : 0x1
  8. CPU part : 0xb36
  9. CPU revision : 2
  10. Hardware : buzz
  11. Revision : 0081
  12. Serial : 0000000000000000
  
显示运行设备结点
  1. E:\huisen\android\sdk\tools>adb shell cat /proc/devices
  2. Character devices:
  3. 1 mem
  4. 5 /dev/tty
  5. 5 /dev/console
  6. 5 /dev/ptmx
  7. 10 misc
  8. 13 input
  9. 29 fb
  10. 81 video4linux
  11. 90 mtd
  12. 108 ppp
  13. 128 ptm
  14. 136 pts
  15. 200 ttySA
  16. 216 rfcomm
  17. 245 BtPort
  18. 246 msm_camera
  19. 247 ttyHSUSB
  20. 248 adsp
  21. 249 ttyHS
  22. 250 ttyHS
  23. 251 ttyHS
  24. 252 ttyMSM
  25. 253 oncrpc
  26. 254 smd
  27. Block devices:
  28. 259 blkext
  29. 7 loop
  30. 31 mtdblock
  31. 179 mmc
  32. 254 device-mapper

查看运行中进程 adb shell ps
 

  1. E:\huisen\android\sdk\tools>adb shell ps
  2. USER PID PPID VSIZE RSS WCHAN PC NAME
  3. root 1 0 348 260 ffffffff 00000000 S /init
  4. root 2 0 0 0 ffffffff 00000000 S kthreadd
  5. root 3 2 0 0 ffffffff 00000000 S ksoftirqd/0
  6. root 4 2 0 0 ffffffff 00000000 S watchdog/0
  7. root 5 2 0 0 ffffffff 00000000 S events/0
  8. root 6 2 0 0 ffffffff 00000000 S khelper
  9. root 7 2 0 0 ffffffff 00000000 S async/mgr
  10. root 8 2 0 0 ffffffff 00000000 S suspend
  11. root 9 2 0 0 ffffffff 00000000 S sync_supers
  12. root 10 2 0 0 ffffffff 00000000 S bdi-default
  13. root 11 2 0 0 ffffffff 00000000 S kblockd/0
  14. root 12 2 0 0 ffffffff 00000000 S kmmcd
  15. root 13 2 0 0 ffffffff 00000000 S bluetooth
  16. root 14 2 0 0 ffffffff 00000000 S kondemand/0
  17. root 15 2 0 0 ffffffff 00000000 S smd_tty
  18. root 16 2 0 0 ffffffff 00000000 S qmi
  19. root 17 2 0 0 ffffffff 00000000 D rpcrouter
  20. root 18 2 0 0 ffffffff 00000000 S krpcserversd
  21. root 19 2 0 0 ffffffff 00000000 S microp_work_q
  22. root 20 2 0 0 ffffffff 00000000 S button/0
  23. root 21 2 0 0 ffffffff 00000000 S detect/0
  24. root 22 2 0 0 ffffffff 00000000 S button/0
  25. root 23 2 0 0 ffffffff 00000000 S detect/0
  26. root 24 2 0 0 ffffffff 00000000 S khungtaskd
  27. root 25 2 0 0 ffffffff 00000000 S kswapd0
  28. root 26 2 0 0 ffffffff 00000000 S aio/0
  29. root 27 2 0 0 ffffffff 00000000 S crypto/0
  30. root 42 2 0 0 ffffffff 00000000 S cabc_work_q
  31. root 43 2 0 0 ffffffff 00000000 S panel_on/0
  32. root 44 2 0 0 ffffffff 00000000 S msm_serial_hs
  33. root 45 2 0 0 ffffffff 00000000 S msm_serial_hs
  34. root 46 2 0 0 ffffffff 00000000 S kadspd
  35. root 47 2 0 0 ffffffff 00000000 S mtdblockd
  36. root 54 2 0 0 ffffffff 00000000 S rmnet/0
  37. root 55 2 0 0 ffffffff 00000000 S msm_hsusb
  38. root 56 2 0 0 ffffffff 00000000 S usb_mass_storag
  39. root 57 2 0 0 ffffffff 00000000 S gs_tty
  40. root 58 2 0 0 ffffffff 00000000 S synaptics_wq
  41. root 60 2 0 0 ffffffff 00000000 S ls_wq/0
  42. root 61 2 0 0 ffffffff 00000000 S curcial_wq
  43. root 62 2 0 0 ffffffff 00000000 S kstriped
  44. root 63 2 0 0 ffffffff 00000000 S binder
  45. root 64 2 0 0 ffffffff 00000000 S krfcommd
  46. root 65 2 0 0 ffffffff 00000000 S sd-qd
  47. system 67 1 852 300 ffffffff 00000000 S /system/bin/servicemanage
  48. r
  49. root 68 1 3884 616 ffffffff 00000000 S /system/bin/vold
  50. root 69 1 3888 580 ffffffff 00000000 S /system/bin/netd
  51. root 70 1 712 260 ffffffff 00000000 S /system/bin/debuggerd
  52. radio 71 1 13308 1248 ffffffff 00000000 S /system/bin/rild
  53. root 72 1 101804 34060 ffffffff 00000000 S zygote
  54. media 73 1 34272 5452 ffffffff 00000000 S /system/bin/mediaserver
  55. bluetooth 74 1 1300 712 ffffffff 00000000 S /system/bin/dbus-daemon
  56. root 75 1 852 324 ffffffff 00000000 S /system/bin/installd
  57. keystore 76 1 1760 452 ffffffff 00000000 S /system/bin/keystore
  58. root 77 1 832 296 ffffffff 00000000 S /system/bin/ipd
  59. compass 78 1 756 344 ffffffff 00000000 S /system/bin/akmd
  60. shell 80 1 3440 204 ffffffff 00000000 S /sbin/adbd
  61. root 101 2 0 0 ffffffff 00000000 D snd_rpc
  62. system 103 72 242956 47416 ffffffff 00000000 S system_server
  63. root 118 2 0 0 ffffffff 00000000 D audmgr_rpc
  64. root 160 2 0 0 ffffffff 00000000 S iscan_sysioc
  65. root 161 2 0 0 ffffffff 00000000 S dhcp_sysioc
  66. root 162 2 0 0 ffffffff 00000000 S ap_sysioc
  67. root 163 2 0 0 ffffffff 00000000 S dhd_watchdog
  68. root 164 2 0 0 ffffffff 00000000 S dhd_dpc
  69. root 165 2 0 0 ffffffff 00000000 S dhd_sysioc
  70. app_62 174 72 140896 27212 ffffffff 00000000 S com.google.android.inputm
  71. ethod.pinyin
  72. radio 179 72 175388 35808 ffffffff 00000000 S com.android.phone
  73. app_10 181 72 297052 64644 ffffffff 00000000 S android.process.acore
  74. wifi 183 1 2088 1064 ffffffff 00000000 S /system/bin/wpa_supplican
  75. t
  76. nobody 188 72 167132 37228 ffffffff 00000000 S com.htc.launcher
  77. system 197 72 140184 25568 ffffffff 00000000 S com.android.settings
  78. app_4 258 72 146636 27276 ffffffff 00000000 S com.google.process.gapps
  79. app_5 268 72 155508 30236 ffffffff 00000000 S com.htc.bgp
  80. app_10 348 72 150828 27600 ffffffff 00000000 S com.android.htccontacts
  81. app_5 357 72 128016 24052 ffffffff 00000000 S com.htc.bg
  82. system 365 72 123940 20172 ffffffff 00000000 S com.htc.RosieUtility
  83. app_1 372 72 123804 19408 ffffffff 00000000 S com.htc.music
  84. app_7 377 72 122672 22784 ffffffff 00000000 S com.htc.android.worldcloc
  85. k
  86. app_5 383 72 122184 19952 ffffffff 00000000 S com.htc.android.Stock
  87. app_13 396 72 132152 23176 ffffffff 00000000 S com.google.android.gm
  88. app_19 408 72 123164 18992 ffffffff 00000000 S com.htc.fm
  89. app_22 414 72 122540 20024 ffffffff 00000000 S com.htc.opensense.pluginm
  90. anager
  91. app_25 423 72 121052 18976 ffffffff 00000000 S com.htc.htcMessageUploade
  92. r
  93. app_27 429 72 126040 21640 ffffffff 00000000 S com.esmertec.android.jbed
  94. app_33 438 72 134936 22696 ffffffff 00000000 S com.android.mms
  95. app_34 449 72 144620 18816 ffffffff 00000000 S com.google.android.partne
  96. rsetup
  97. app_43 474 72 122784 20412 ffffffff 00000000 S com.htc.newsreader
  98. app_45 481 72 122068 20032 ffffffff 00000000 S com.android.updater
  99. app_57 492 72 136844 24996 ffffffff 00000000 S com.google.android.apps.m
  100. aps:FriendService
  101. app_86 504 72 122364 21972 ffffffff 00000000 S com.google.update
  102. app_66 511 72 122528 21064 ffffffff 00000000 S com.fd.httpd
  103. app_78 516 72 123900 22480 ffffffff 00000000 S com.alan.translate
  104. app_53 522 72 129400 23400 ffffffff 00000000 S com.android.vending
  105. app_84 532 72 171732 30292 ffffffff 00000000 S com.tencent.qqphonebook
  106. app_69 550 72 129900 22536 ffffffff 00000000 S gpc.myweb.hinet.net.TaskM
  107. anager
  108. app_54 565 72 125272 21540 ffffffff 00000000 S com.android.browser
  109. app_5 575 72 124664 21448 ffffffff 00000000 S com.htc.android.footprint
  110. s
  111. app_2 583 72 124116 20116 ffffffff 00000000 S com.google.android.apps.u
  112. ploader
  113. nobody 595 72 140308 19912 ffffffff 00000000 S com.htc.widget.clockwidge
  114. t
  115. app_67 601 72 170196 25712 ffffffff 00000000 S com.wd.AndroidDaemon
  116. app_28 651 72 148176 23464 ffffffff 00000000 S com.htc.android.htcime:pr
  117. ovider
  118. 9997 709 72 128724 20876 ffffffff 00000000 S com.htc.android.mail
  119. app_21 721 72 124900 21200 ffffffff 00000000 S com.google.android.google
  120. quicksearchbox
  121. app_14 756 72 130712 22072 ffffffff 00000000 S android.process.media
  122. app_84 839 532 736 356 ffffffff 00000000 S logcat
  123. root 869 2 0 0 ffffffff 00000000 D audmgr_rpc
  124. app_84 903 532 736 356 ffffffff 00000000 S logcat
  125. app_84 1050 532 736 356 ffffffff 00000000 S logcat
  126. app_15 1093 72 135484 26208 ffffffff 00000000 S com.android.camera
  127. app_84 1374 532 736 356 ffffffff 00000000 S logcat
  128. dhcp 2550 1 896 416 ffffffff 00000000 S /system/bin/dhcpcd
  129. root 3295 2 0 0 ffffffff 00000000 S flush-31:0
  130. shell 3352 80 780 336 c006371c afd0e82c S /system/bin/sh
  131. shell 3353 3352 928 344 00000000 afd0d91c R ps
  132. E:\huisen\android\sdk\tools>



查看/dev设备结点文件 adb shell ls -l /dev
 
  1. E:\huisen\android\sdk\tools>adb shell ls -l /dev
  2. drwxr-xr-x system system 2011-08-23 14:22 cpuctl
  3. drwxr-xr-x root root 2011-08-23 14:22 msm_camera
  4. crw-rw---- radio vpn 108, 0 2011-08-23 14:22 ppp
  5. drwxr-xr-x root root 2011-08-23 14:22 mtd
  6. drwxr-xr-x root root 2011-08-23 14:22 input
  7. drwxr-xr-x root root 2011-08-24 15:43 block
  8. drwxr-xr-x root root 2011-08-23 14:22 oncrpc
  9. crw------- root root 200, 105 2011-08-23 14:22 ttySA1
  10. crw------- root root 200, 104 2011-08-23 14:22 ttySA0
  11. crw-rw-rw- root root 5, 2 2011-08-24 16:30 ptmx
  12. crw------- root root 5, 1 2011-08-23 14:22 console
  13. crw-rw-rw- root root 5, 0 2011-08-23 14:22 tty
  14. crw------- root root 254, 27 2011-08-23 14:22 smd27
  15. crw------- system system 254, 9 2011-08-23 14:22 smd9
  16. crw------- root root 254, 1 2011-08-23 14:22 smd1
  17. crw-r----- radio radio 254, 0 2011-08-24 15:43 smd0
  18. crw------- root root 1, 11 2011-08-23 14:22 kmsg
  19. crw-rw-rw- root root 1, 9 2011-08-23 14:22 urandom
  20. crw-rw-rw- root root 1, 8 2011-08-23 14:22 random
  21. crw-rw-rw- root root 1, 7 2011-08-23 14:22 full
  22. crw-rw-rw- root root 1, 5 2011-08-23 14:22 zero
  23. crw-rw-rw- root root 1, 3 2011-08-23 14:22 null
  24. crw------- root root 10, 21 2011-08-23 14:22 system_bus_freq
  25. crw------- root root 10, 22 2011-08-23 14:22 network_throughput
  26. crw------- root root 10, 23 2011-08-23 14:22 network_latency
  27. crw------- root root 10, 24 2011-08-23 14:22 cpu_dma_latency
  28. crw------- root root 10, 25 2011-08-23 14:22 htc-portlist
  29. crw-rw---- radio radio 10, 26 2011-08-23 14:22 btdiag
  30. drwxr-xr-x root root 2011-08-23 14:22 log
  31. crw-rw-rw- root root 10, 31 2011-08-23 14:22 binder
  32. crw------- root root 10, 32 2011-08-23 14:22 device-mapper
  33. crw-r----- compass system 10, 33 2011-08-23 14:22 akm8973_aot
  34. crw-r----- compass system 10, 34 2011-08-23 14:22 akm8973_daemon
  35. crw-rw-r-- system radio 10, 35 2011-08-23 14:22 alarm
  36. crw-r----- system system 10, 36 2011-08-23 14:22 lightsensor
  37. crw-rw---- system bluetooth 10, 223 2011-08-23 14:22 uinput
  38. crw------- root root 10, 37 2011-08-23 14:22 keychord
  39. crw-r----- compass system 10, 38 2011-08-23 14:22 cm3602
  40. crw-rw---- radio radio 10, 39 2011-08-23 14:22 diag_arm9
  41. crw-rw---- radio radio 10, 40 2011-08-23 14:22 diag
  42. crw-rw---- adb adb 10, 41 2011-08-23 14:22 android_adb_enable
  43. crw-rw---- adb adb 10, 42 2011-08-23 14:22 android_adb
  44. crw-r----- vpn vpn 10, 200 2011-08-23 14:22 tun
  45. crw-r----- compass system 10, 43 2011-08-23 14:22 bma150
  46. crw-rw---- system camera 10, 2 2011-08-23 14:22 pmem_camera
  47. crw-rw---- system audio 10, 1 2011-08-23 14:22 pmem_adsp
  48. crw-rw---- system graphics 10, 0 2011-08-23 14:22 pmem
  49. crw-rw-rw- root root 10, 44 2011-08-23 14:22 ashmem
  50. crw-rw---- media media 10, 45 2011-08-23 14:22 perflock
  51. crw-rw---- system audio 10, 46 2011-08-23 14:22 htc-acoustic
  52. crw------- root root 10, 47 2011-08-23 14:22 voc_tx_playback
  53. crw------- root root 10, 48 2011-08-23 14:22 voc_tx_record
  54. crw------- root root 10, 49 2011-08-23 14:22 voc_rx_playback
  55. crw------- root root 10, 50 2011-08-23 14:22 voc_rx_record
  56. crw-rw---- system audio 10, 51 2011-08-23 14:22 msm_snd
  57. crw-rw---- system audio 10, 52 2011-08-23 14:22 msm_pcm_ctl
  58. crw------- root root 10, 53 2011-08-23 14:22 msm_aac
  59. crw-rw---- system audio 10, 54 2011-08-23 14:22 msm_mp3
  60. crw-rw---- system audio 10, 55 2011-08-23 14:22 msm_audpre
  61. crw-rw---- system audio 10, 56 2011-08-23 14:22 msm_pcm_in
  62. crw-rw---- system audio 10, 57 2011-08-23 14:22 msm_pcm_out
  63. crw------- root root 10, 58 2011-08-23 14:22 smem_log
  64. crw-r----- radio radio 10, 59 2011-08-23 14:22 qmi2
  65. crw-r----- radio radio 10, 60 2011-08-23 14:22 qmi1
  66. crw-r----- radio radio 10, 61 2011-08-23 14:22 qmi0
  67. crw------- root root 10, 62 2011-08-23 14:22 radio_feedback
  68. crw------- root root 10, 63 2011-08-23 14:22 rfkill
  69. drwxr-xr-x root root 2011-08-23 14:22 adsp
  70. drwxr-xr-x root root 2011-08-23 14:22 graphics
  71. crw------- root root 247, 2 2011-08-23 14:22 ttyHSUSB2
  72. crw------- root root 247, 1 2011-08-23 14:22 ttyHSUSB1
  73. crw------- system system 247, 0 2011-08-23 14:22 ttyHSUSB0
  74. crw------- root root 252, 2 2011-08-23 14:22 ttyMSM2
  75. crw------- bluetooth bluetooth 249, 0 2011-08-23 14:22 ttyHS0
  76. drwxr-xr-x root root 2011-08-23 14:22 socket
  77. drwxr-xr-x root root 1970-01-01 08:00 pts
  78. E:\huisen\android\sdk\tools>adb shell ls -l /dev/msm_camera
  79. crw-rw---- system system 246, 2 2011-08-23 14:22 frame0
  80. crw-rw---- system system 246, 1 2011-08-23 14:22 config0
  81. crw-rw---- system system 246, 0 2011-08-23 14:22 control0
显示支持文件系统
  1. E:\huisen\android\sdk\tools>adb shell cat /proc/filesystems
  2. nodev sysfs
  3. nodev rootfs
  4. nodev bdev
  5. nodev proc
  6. nodev cgroup
  7. nodev tmpfs
  8. nodev debugfs
  9. nodev sockfs
  10. nodev pipefs
  11. nodev anon_inodefs
  12. nodev inotifyfs
  13. nodev devpts
  14. ext3
  15. ext2
  16. nodev ramfs
  17. vfat
  18. yaffs
  19. yaffs2

实际文件系统使用情况
 
  1. E:\huisen\android\sdk\tools>adb shell cat /proc/mounts
  2. rootfs / rootfs ro,relatime 0 0
  3. tmpfs /dev tmpfs rw,relatime,mode=755 0 0
  4. devpts /dev/pts devpts rw,relatime,mode=600 0 0
  5. proc /proc proc rw,relatime 0 0
  6. sysfs /sys sysfs rw,relatime 0 0
  7. none /acct cgroup rw,relatime,cpuacct 0 0
  8. tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
  9. none /dev/cpuctl cgroup rw,relatime,cpu 0 0
  10. /dev/block/mtdblock3 /system yaffs2 ro,relatime 0 0
  11. /dev/block/mtdblock5 /data yaffs2 rw,nosuid,nodev,relatime 0 0
  12. /dev/block/mtdblock4 /cache yaffs2 rw,nosuid,nodev,relatime 0 0
输入设备信息
  1. E:\huisen\android\sdk\tools>adb shell cat /proc/bus/input/devices
  2. I: Bus=0000 Vendor=0000 Product=0000 Version=0000
  3. N: Name="h2w headset"
  4. P: Phys=
  5. S: Sysfs=/devices/virtual/input/input0
  6. U: Uniq=
  7. H: Handlers=cpufreq event0 keyreset keychord
  8. B: EV=3
  9. B: KEY=84 0 38 0 e0800 0 0 0
  10. I: Bus=0000 Vendor=0000 Product=0000 Version=0000
  11. N: Name="projector_input"
  12. P: Phys=
  13. S: Sysfs=/devices/virtual/input/input1
  14. U: Uniq=
  15. H: Handlers=cpufreq event1
  16. B: EV=b
  17. B: KEY=400 0 4 0 0 0 0 0 0 0 0
  18. B: ABS=11030003
  19. I: Bus=0019 Vendor=0123 Product=5220 Version=0100
  20. N: Name="projector-Keypad"
  21. P: Phys=input2
  22. S: Sysfs=/devices/virtual/input/input2
  23. U: Uniq=
  24. H: Handlers=cpufreq event2
  25. B: EV=3
  26. B: KEY=40008800 40 0 0 0
  27. I: Bus=0000 Vendor=0000 Product=0000 Version=0000
  28. N: Name="synaptics-rmi-touchscreen"
  29. P: Phys=
  30. S: Sysfs=/devices/virtual/input/input3
  31. U: Uniq=
  32. H: Handlers=cpufreq event3
  33. B: EV=b
  34. B: KEY=400 0 4 0 0 0 0 0 0 0 0
  35. B: ABS=650c00 0
  36. I: Bus=0000 Vendor=0000 Product=0000 Version=0000
  37. N: Name="proximity"
  38. P: Phys=
  39. S: Sysfs=/devices/virtual/input/input4
  40. U: Uniq=
  41. H: Handlers=cpufreq event4
  42. B: EV=9
  43. B: ABS=2000000
  44. I: Bus=0000 Vendor=0000 Product=0000 Version=0000
  45. N: Name="buzz-keypad"
  46. P: Phys=
  47. S: Sysfs=/devices/virtual/input/input5
  48. U: Uniq=
  49. H: Handlers=cpufreq event5 keyreset keychord
  50. B: EV=3
  51. B: KEY=10000 0 0 0 0 1c0000 0 0 0
  52. I: Bus=0000 Vendor=0000 Product=0000 Version=0000
  53. N: Name="buzz-nav"
  54. P: Phys=
  55. S: Sysfs=/devices/virtual/input/input6
  56. U: Uniq=
  57. H: Handlers=cpufreq event6
  58. B: EV=1
  59. I: Bus=0000 Vendor=0000 Product=0000 Version=0000
  60. N: Name="lightsensor-level"
  61. P: Phys=
  62. S: Sysfs=/devices/virtual/input/input7
  63. U: Uniq=
  64. H: Handlers=cpufreq event7
  65. B: EV=9
  66. B: ABS=100 0
  67. I: Bus=0000 Vendor=0000 Product=0000 Version=0000
  68. N: Name="curcial-oj"
  69. P: Phys=
  70. S: Sysfs=/devices/virtual/input/input8
  71. U: Uniq=
  72. H: Handlers=cpufreq event8 keyreset keychord
  73. B: EV=7
  74. B: KEY=10000 0 0 0 0 1680 0 0 0
  75. B: REL=3
  76. I: Bus=0000 Vendor=0000 Product=0000 Version=0000
  77. N: Name="compass"
  78. P: Phys=
  79. S: Sysfs=/devices/virtual/input/input9
  80. U: Uniq=
  81. H: Handlers=cpufreq event9
  82. B: EV=9
  83. B: ABS=307ff
  84. E:\huisen\android\sdk\tools>

查看完整的启动信息,因为太长了,重定向到c:/hxy/dmesg.txt 查看

adb shell dmesg > c:/hxy/dmesg.txt

阅读(2628) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~