Advertisement
Guest User

Untitled

a guest
Dec 15th, 2012
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.52 KB | None | 0 0
  1. [eugene@eugene ~]$ strace /home/eugene/sdk/platform-tools/adb
  2. execve("/home/eugene/sdk/platform-tools/adb", ["/home/eugene/sdk/platform-tools/"...], [/* 49 vars */]) = 0
  3. [ Process PID=15300 runs in 32 bit mode. ]
  4. brk(0) = 0x95b9000
  5. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf77e0000
  6. readlink("/proc/self/exe", "/home/eugene/sdk/platform-tools/"..., 4096) = 35
  7. open("/usr/lib64/freetype-infinality/libfreetype.so.6", O_RDONLY|O_CLOEXEC) = 3
  8. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\332\240\3752\0\0\0"..., 512) = 512
  9. close(3) = 0
  10. writev(2, [{"ERROR: ld.so: object '", 22}, {"/usr/lib64/freetype-infinality/l"..., 47}, {"' from ", 7}, {"LD_PRELOAD", 10}, {" cannot be preloaded: ignored.\n", 31}], 5ERROR: ld.so: object '/usr/lib64/freetype-infinality/libfreetype.so.6' from LD_PRELOAD cannot be preloaded: ignored.
  11. ) = 117
  12. open("/usr/lib64/freetype-infinality/libfreetype.so.6", O_RDONLY|O_CLOEXEC) = 3
  13. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\332\240\3752\0\0\0"..., 512) = 512
  14. close(3) = 0
  15. writev(2, [{"ERROR: ld.so: object '", 22}, {"/usr/lib64/freetype-infinality/l"..., 47}, {"' from ", 7}, {"LD_PRELOAD", 10}, {" cannot be preloaded: ignored.\n", 31}], 5ERROR: ld.so: object '/usr/lib64/freetype-infinality/libfreetype.so.6' from LD_PRELOAD cannot be preloaded: ignored.
  16. ) = 117
  17. access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
  18. open("/home/eugene/sdk/platform-tools/../lib/tls/i686/sse2/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  19. stat64("/home/eugene/sdk/platform-tools/../lib/tls/i686/sse2", 0xffffffffffc889e0) = -1 ENOENT (No such file or directory)
  20. open("/home/eugene/sdk/platform-tools/../lib/tls/i686/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  21. stat64("/home/eugene/sdk/platform-tools/../lib/tls/i686", 0xffffffffffc889e0) = -1 ENOENT (No such file or directory)
  22. open("/home/eugene/sdk/platform-tools/../lib/tls/sse2/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  23. stat64("/home/eugene/sdk/platform-tools/../lib/tls/sse2", 0xffffffffffc889e0) = -1 ENOENT (No such file or directory)
  24. open("/home/eugene/sdk/platform-tools/../lib/tls/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  25. stat64("/home/eugene/sdk/platform-tools/../lib/tls", 0xffffffffffc889e0) = -1 ENOENT (No such file or directory)
  26. open("/home/eugene/sdk/platform-tools/../lib/i686/sse2/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  27. stat64("/home/eugene/sdk/platform-tools/../lib/i686/sse2", 0xffffffffffc889e0) = -1 ENOENT (No such file or directory)
  28. open("/home/eugene/sdk/platform-tools/../lib/i686/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  29. stat64("/home/eugene/sdk/platform-tools/../lib/i686", 0xffffffffffc889e0) = -1 ENOENT (No such file or directory)
  30. open("/home/eugene/sdk/platform-tools/../lib/sse2/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  31. stat64("/home/eugene/sdk/platform-tools/../lib/sse2", 0xffffffffffc889e0) = -1 ENOENT (No such file or directory)
  32. open("/home/eugene/sdk/platform-tools/../lib/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  33. stat64("/home/eugene/sdk/platform-tools/../lib", 0xffffffffffc889e0) = -1 ENOENT (No such file or directory)
  34. open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
  35. fstat64(3, {st_mode=S_IFREG|0644, st_size=101445, ...}) = 0
  36. mmap2(NULL, 101445, PROT_READ, MAP_PRIVATE, 3, 0) = 0xf77c7000
  37. close(3) = 0
  38. open("/lib/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
  39. read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \311oL4\0\0\0"..., 512) = 512
  40. fstat64(3, {st_mode=S_IFREG|0755, st_size=42224, ...}) = 0
  41. mmap2(0x4c6fb000, 33324, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4c6fb000
  42. mmap2(0x4c702000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0x4c702000
  43. close(3) = 0
  44. open("/lib/libncurses.so.5", O_RDONLY|O_CLOEXEC) = 3
  45. read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200O\0\0004\0\0\0"..., 512) = 512
  46. fstat64(3, {st_mode=S_IFREG|0755, st_size=145584, ...}) = 0
  47. mmap2(NULL, 148724, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf77a2000
  48. mmap2(0xfffffffff77c5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22) = 0xf77c5000
  49. close(3) = 0
  50. open("/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
  51. read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\211rL4\0\0\0"..., 512) = 512
  52. fstat64(3, {st_mode=S_IFREG|0755, st_size=131156, ...}) = 0
  53. mmap2(0x4c723000, 102908, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4c723000
  54. mmap2(0x4c739000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15) = 0x4c739000
  55. mmap2(0x4c73b000, 4604, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4c73b000
  56. close(3) = 0
  57. open("/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
  58. read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0f\4\0004\0\0\0"..., 512) = 512
  59. fstat64(3, {st_mode=S_IFREG|0755, st_size=926280, ...}) = 0
  60. mmap2(NULL, 951828, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf76b9000
  61. mmap2(0xfffffffff7796000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xdd) = 0xf7796000
  62. mmap2(0xfffffffff779b000, 26132, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf779b000
  63. close(3) = 0
  64. open("/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
  65. read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p$\216L4\0\0\0"..., 512) = 512
  66. fstat64(3, {st_mode=S_IFREG|0755, st_size=212568, ...}) = 0
  67. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf76b8000
  68. mmap2(0x4c8de000, 172160, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4c8de000
  69. mmap2(0x4c907000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x29) = 0x4c907000
  70. close(3) = 0
  71. open("/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
  72. read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \0\0004\0\0\0"..., 512) = 512
  73. fstat64(3, {st_mode=S_IFREG|0755, st_size=114508, ...}) = 0
  74. mmap2(NULL, 117360, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf769b000
  75. mmap2(0xfffffffff76b7000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b) = 0xf76b7000
  76. close(3) = 0
  77. open("/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
  78. read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\7VL4\0\0\0"..., 512) = 512
  79. fstat64(3, {st_mode=S_IFREG|0755, st_size=2011688, ...}) = 0
  80. mmap2(0x4c547000, 1776316, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4c547000
  81. mprotect(0x4c6f2000, 4096, PROT_NONE) = 0
  82. mmap2(0x4c6f3000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1ab) = 0x4c6f3000
  83. mmap2(0x4c6f6000, 10940, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4c6f6000
  84. close(3) = 0
  85. open("/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
  86. read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320zqL4\0\0\0"..., 512) = 512
  87. fstat64(3, {st_mode=S_IFREG|0755, st_size=19780, ...}) = 0
  88. mmap2(0x4c717000, 16496, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4c717000
  89. mmap2(0x4c71a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0x4c71a000
  90. close(3) = 0
  91. open("/lib/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = 3
  92. read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`^\0\0004\0\0\0"..., 512) = 512
  93. fstat64(3, {st_mode=S_IFREG|0755, st_size=125232, ...}) = 0
  94. mmap2(NULL, 129200, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf767b000
  95. mmap2(0xfffffffff7698000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c) = 0xf7698000
  96. close(3) = 0
  97. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf767a000
  98. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7679000
  99. set_thread_area(0xffffffffffc88ea0) = 0
  100. mprotect(0x4c6f3000, 8192, PROT_READ) = 0
  101. mprotect(0xfffffffff7698000, 8192, PROT_READ) = 0
  102. mprotect(0x4c71a000, 4096, PROT_READ) = 0
  103. mprotect(0x4c907000, 4096, PROT_READ) = 0
  104. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7678000
  105. mprotect(0xfffffffff7796000, 16384, PROT_READ) = 0
  106. mprotect(0x4c739000, 4096, PROT_READ) = 0
  107. mprotect(0xfffffffff77c5000, 4096, PROT_READ) = 0
  108. mprotect(0x4c702000, 4096, PROT_READ) = 0
  109. mprotect(0x4c543000, 4096, PROT_READ) = 0
  110. munmap(0xfffffffff77c7000, 101445) = 0
  111. set_tid_address(0xfffffffff7679768) = 15300
  112. set_robust_list(0xfffffffff7679770, 12) = 0
  113. rt_sigaction(SIGRTMIN, {0x4c7283f0, [], SA_SIGINFO}, NULL, 8) = 0
  114. rt_sigaction(SIGRT_1, {0x4c728480, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
  115. rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
  116. getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
  117. uname({sys="Linux", node="eugene.home", ...}) = 0
  118. write(2, "Android Debug Bridge version 1.0"..., 36Android Debug Bridge version 1.0.31
  119. ) = 36
  120. write(2, "\n -d "..., 7197
  121. -d - directs command to the only connected USB device
  122. returns an error if more than one USB device is present.
  123. -e - directs command to the only running emulator.
  124. returns an error if more than one emulator is running.
  125. -s <specific device> - directs command to the device or emulator with the given
  126. serial number or qualifier. Overrides ANDROID_SERIAL
  127. environment variable.
  128. -p <product name or path> - simple product name like 'sooner', or
  129. a relative/absolute path to a product
  130. out directory like 'out/target/product/sooner'.
  131. If -p is not specified, the ANDROID_PRODUCT_OUT
  132. environment variable is used, which must
  133. be an absolute path.
  134. devices [-l] - list all connected devices
  135. ('-l' will also list device qualifiers)
  136. connect <host>[:<port>] - connect to a device via TCP/IP
  137. Port 5555 is used by default if no port number is specified.
  138. disconnect [<host>[:<port>]] - disconnect from a TCP/IP device.
  139. Port 5555 is used by default if no port number is specified.
  140. Using this command with no additional arguments
  141. will disconnect from all connected TCP/IP devices.
  142.  
  143. device commands:
  144. adb push <local> <remote> - copy file/dir to device
  145. adb pull <remote> [<local>] - copy file/dir from device
  146. adb sync [ <directory> ] - copy host->device only if changed
  147. (-l means list but don't copy)
  148. (see 'adb help all')
  149. adb shell - run remote shell interactively
  150. adb shell <command> - run remote shell command
  151. adb emu <command> - run emulator console command
  152. adb logcat [ <filter-spec> ] - View device log
  153. adb forward <local> <remote> - forward socket connections
  154. forward specs are one of:
  155. tcp:<port>
  156. localabstract:<unix domain socket name>
  157. localreserved:<unix domain socket name>
  158. localfilesystem:<unix domain socket name>
  159. dev:<character device name>
  160. jdwp:<process pid> (remote only)
  161. adb jdwp - list PIDs of processes hosting a JDWP transport
  162. adb install [-l] [-r] [-s] [--algo <algorithm name> --key <hex-encoded key> --iv <hex-encoded iv>] <file>
  163. - push this package file to the device and install it
  164. ('-l' means forward-lock the app)
  165. ('-r' means reinstall the app, keeping its data)
  166. ('-s' means install on SD card instead of internal storage)
  167. ('--algo', '--key', and '--iv' mean the file is encrypted already)
  168. adb uninstall [-k] <package> - remove this app package from the device
  169. ('-k' means keep the data and cache directories)
  170. adb bugreport - return all information from the device
  171. that should be included in a bug report.
  172.  
  173. adb backup [-f <file>] [-apk|-noapk] [-shared|-noshared] [-all] [-system|-nosystem] [<packages...>]
  174. - write an archive of the device's data to <file>.
  175. If no -f option is supplied then the data is written
  176. to "backup.ab" in the current directory.
  177. (-apk|-noapk enable/disable backup of the .apks themselves
  178. in the archive; the default is noapk.)
  179. (-shared|-noshared enable/disable backup of the device's
  180. shared storage / SD card contents; the default is noshared.)
  181. (-all means to back up all installed applications)
  182. (-system|-nosystem toggles whether -all automatically includes
  183. system applications; the default is to include system apps)
  184. (<packages...> is the list of applications to be backed up. If
  185. the -all or -shared flags are passed, then the package
  186. list is optional. Applications explicitly given on the
  187. command line will be included even if -nosystem would
  188. ordinarily cause them to be omitted.)
  189.  
  190. adb restore <file> - restore device contents from the <file> backup archive
  191.  
  192. adb help - show this help message
  193. adb version - show version num
  194.  
  195. scripting:
  196. adb wait-for-device - block until device is online
  197. adb start-server - ensure that there is a server running
  198. adb kill-server - kill the server if it is running
  199. adb get-state - prints: offline | bootloader | device
  200. adb get-serialno - prints: <serial-number>
  201. adb get-devpath - prints: <device-path>
  202. adb status-window - continuously print device status for a specified device
  203. adb remount - remounts the /system partition on the device read-write
  204. adb reboot [bootloader|recovery] - reboots the device, optionally into the bootloader or recovery program
  205. adb reboot-bootloader - reboots the device into the bootloader
  206. adb root - restarts the adbd daemon with root permissions
  207. adb usb - restarts the adbd daemon listening on USB
  208. adb tcpip <port> - restarts the adbd daemon listening on TCP on the specified port
  209. networking:
  210. adb ppp <tty> [parameters] - Run PPP over USB.
  211. Note: you should not automatically start a PPP connection.
  212. <tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
  213. [parameters] - Eg. defaultroute debug dump local notty usepeerdns
  214.  
  215. adb sync notes: adb sync [ <directory> ]
  216. <localdir> can be interpreted in several ways:
  217.  
  218. - If <directory> is not specified, both /system and /data partitions will be updated.
  219.  
  220. - If it is "system" or "data", only the corresponding partition
  221. is updated.
  222.  
  223. environmental variables:
  224. ADB_TRACE - Print debug information. A comma separated list of the following values
  225. 1 or all, adb, sockets, packets, rwx, usb, sync, sysdeps, transport, jdwp
  226. ANDROID_SERIAL - The serial number to connect to. -s takes priority over this if given.
  227. ANDROID_LOG_TAGS - When used with the logcat option, only these debug tags are printed.
  228. ) = 7197
  229. exit_group(1) = ?
  230. +++ exited with 1 +++
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement