Advertisement
graffixnyc

Untitled

Mar 17th, 2011
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.67 KB | None | 0 0
  1. ? fastboot
  2.  
  3. C:\android-sdk-windows\tools>fastboot flash recovery recovery.img
  4. sending 'recovery' (4416 KB)...
  5. OKAY [ 0.472s]
  6. writing 'recovery'...
  7. OKAY [ 1.279s]
  8. finished. total time: 1.751s
  9.  
  10. C:\android-sdk-windows\tools>fastboot reboot
  11. rebooting...
  12.  
  13. finished. total time: 0.001s
  14.  
  15. C:\android-sdk-windows\tools>fastboot devices
  16.  
  17. C:\android-sdk-windows\tools>fastboot devices
  18.  
  19. C:\android-sdk-windows\tools>fastboot devices
  20.  
  21. C:\android-sdk-windows\tools>fastboot devices
  22. ? fastboot
  23.  
  24. C:\android-sdk-windows\tools>fastboot flash recovery recovery.img
  25. sending 'recovery' (4416 KB)...
  26. OKAY [ 0.470s]
  27. writing 'recovery'...
  28. OKAY [ 0.483s]
  29. finished. total time: 0.953s
  30.  
  31. C:\android-sdk-windows\tools>fastboot reboot
  32. rebooting...
  33.  
  34. finished. total time: -0.000s
  35.  
  36. C:\android-sdk-windows\tools> cd..
  37.  
  38. C:\android-sdk-windows>cd plator~1
  39. The system cannot find the path specified.
  40.  
  41. C:\android-sdk-windows>DIR
  42. Volume in drive C is OS
  43. Volume Serial Number is 204D-4189
  44.  
  45. Directory of C:\android-sdk-windows
  46.  
  47. 02/26/2011 06:51 PM <DIR> .
  48. 02/26/2011 06:51 PM <DIR> ..
  49. 02/12/2011 09:45 AM <DIR> add-ons
  50. 02/26/2011 06:43 PM <DIR> docs
  51. 02/22/2011 04:32 PM <DIR> Drivers
  52. 01/07/2011 04:02 PM 16,628,105 Drivers.zip
  53. 02/22/2011 05:25 PM <DIR> google-market_billing
  54. 02/22/2011 05:25 PM <DIR> google-market_licensing
  55. 02/12/2011 09:45 AM <DIR> google-usb_driver
  56. 03/09/2011 01:50 PM <DIR> platform-tools
  57. 02/26/2011 06:52 PM <DIR> platforms
  58. 02/26/2011 06:44 PM <DIR> samples
  59. 01/19/2011 06:45 PM 361,758 SDK Manager.exe
  60. 01/20/2011 02:31 PM 1,129 SDK Readme.txt
  61. 02/26/2011 06:53 PM <DIR> temp
  62. 03/16/2011 07:21 PM <DIR> tools
  63. 02/12/2011 09:25 AM 70,966 uninstall.exe
  64. 4 File(s) 17,061,958 bytes
  65. 13 Dir(s) 306,034,851,840 bytes free
  66.  
  67. C:\android-sdk-windows>CD PLATFO~1
  68.  
  69. C:\android-sdk-windows\PLATFO~1>adb shell
  70. 'adb' is not recognized as an internal or external command,
  71. operable program or batch file.
  72.  
  73. C:\android-sdk-windows\PLATFO~1>ls
  74. 'ls' is not recognized as an internal or external command,
  75. operable program or batch file.
  76.  
  77. C:\android-sdk-windows\PLATFO~1>dir
  78. Volume in drive C is OS
  79. Volume Serial Number is 204D-4189
  80.  
  81. Directory of C:\android-sdk-windows\PLATFO~1
  82.  
  83. 02/26/2011 06:52 PM <DIR> .
  84. 02/26/2011 06:52 PM <DIR> ..
  85. 02/22/2011 05:14 PM <DIR> android-10
  86. 02/26/2011 06:52 PM <DIR> android-11
  87. 02/22/2011 05:24 PM <DIR> android-2
  88. 02/22/2011 05:23 PM <DIR> android-3
  89. 02/22/2011 05:22 PM <DIR> android-4
  90. 02/22/2011 05:21 PM <DIR> android-5
  91. 02/22/2011 05:20 PM <DIR> android-6
  92. 02/22/2011 05:18 PM <DIR> android-7
  93. 02/22/2011 05:17 PM <DIR> android-8
  94. 02/22/2011 05:16 PM <DIR> android-9
  95. 02/22/2011 05:13 PM <DIR> android-Honeycomb
  96. 0 File(s) 0 bytes
  97. 13 Dir(s) 306,034,851,840 bytes free
  98.  
  99. C:\android-sdk-windows\PLATFO~1>cd..
  100.  
  101. C:\android-sdk-windows>cd platfo~2
  102.  
  103. C:\android-sdk-windows\PLATFO~2>DIR
  104. Volume in drive C is OS
  105. Volume Serial Number is 204D-4189
  106.  
  107. Directory of C:\android-sdk-windows\PLATFO~2
  108.  
  109. 03/09/2011 01:50 PM <DIR> .
  110. 03/09/2011 01:50 PM <DIR> ..
  111. 02/26/2011 06:41 PM 5,381,520 aapt.exe
  112. 02/26/2011 06:41 PM 410,911 adb.exe
  113. 02/26/2011 06:41 PM 96,256 AdbWinApi.dll
  114. 02/26/2011 06:41 PM 60,928 AdbWinUsbApi.dll
  115. 02/26/2011 06:41 PM 1,344,051 aidl.exe
  116. 02/26/2011 05:37 PM 2,827 build.prop
  117. 02/24/2011 11:58 PM 3,492 build_mt.prop
  118. 02/26/2011 06:41 PM 422,962 dexdump.exe
  119. 03/08/2011 06:25 PM 391 dsmesg.txt
  120. 02/26/2011 06:41 PM 2,682 dx.bat
  121. 11/30/2010 03:10 AM 411 embedwpthis.pl
  122. 12/11/2010 09:57 AM 134,401 gfree
  123. 12/11/2010 09:57 AM 20,506 gfree.c
  124. 12/06/2010 12:22 AM 8,552 gopt.c
  125. 12/06/2010 12:23 AM 2,576 gopt.h
  126. 12/11/2010 09:57 AM 7,732 gopt.o
  127. 03/04/2011 08:30 PM 1,048,576 hboot_dhd.nb0
  128. 02/26/2011 06:41 PM <DIR> lib
  129. 12/01/2010 09:07 PM 35,147 LICENSE
  130. 02/26/2011 06:41 PM 15,424,512 llvm-rs-cc.exe
  131. 02/26/2011 06:41 PM 10,800 NOTICE.txt
  132. 12/13/2010 04:12 AM 2,720,988 poweramp.apk
  133. 12/13/2010 04:12 AM 25,103 powerampunlock.apk
  134. 02/26/2011 06:52 PM 840,827 sl4a_r3.apk
  135. 02/26/2011 06:41 PM 301 source.properties
  136. 12/09/2010 05:43 PM 416,175 wpthis.h
  137. 12/09/2010 05:30 PM 109,259 wpthis.ko
  138. 26 File(s) 28,531,886 bytes
  139. 3 Dir(s) 306,034,847,744 bytes free
  140.  
  141. C:\android-sdk-windows\PLATFO~2>ADB SHELL
  142. Android Debug Bridge version 1.0.26
  143.  
  144. -d - directs command to the only connected USB devic
  145. e
  146. returns an error if more than one USB device is
  147. present.
  148. -e - directs command to the only running emulator.
  149. returns an error if more than one emulator is r
  150. unning.
  151. -s <serial number> - directs command to the USB device or emulator w
  152. ith
  153. the given serial number. Overrides ANDROID_SERI
  154. AL
  155. environment variable.
  156. -p <product name or path> - simple product name like 'sooner', or
  157. a relative/absolute path to a product
  158. out directory like 'out/target/product/sooner'.
  159.  
  160. If -p is not specified, the ANDROID_PRODUCT_OUT
  161.  
  162. environment variable is used, which must
  163. be an absolute path.
  164. devices - list all connected devices
  165. connect <host>[:<port>] - connect to a device via TCP/IP
  166. Port 5555 is used by default if no port number
  167. is specified.
  168. disconnect [<host>[:<port>]] - disconnect from a TCP/IP device.
  169. Port 5555 is used by default if no port number
  170. is specified.
  171. Using this ocmmand with no additional arguments
  172.  
  173. will disconnect from all connected TCP/IP devic
  174. es.
  175.  
  176. device commands:
  177. adb push <local> <remote> - copy file/dir to device
  178. adb pull <remote> [<local>] - copy file/dir from device
  179. adb sync [ <directory> ] - copy host->device only if changed
  180. (-l means list but don't copy)
  181. (see 'adb help all')
  182. adb shell - run remote shell interactively
  183. adb shell <command> - run remote shell command
  184. adb emu <command> - run emulator console command
  185. adb logcat [ <filter-spec> ] - View device log
  186. adb forward <local> <remote> - forward socket connections
  187. forward specs are one of:
  188. tcp:<port>
  189. localabstract:<unix domain socket name>
  190. localreserved:<unix domain socket name>
  191. localfilesystem:<unix domain socket name>
  192. dev:<character device name>
  193. jdwp:<process pid> (remote only)
  194. adb jdwp - list PIDs of processes hosting a JDWP transport
  195.  
  196. adb install [-l] [-r] [-s] <file> - push this package file to the device and i
  197. nstall it
  198. ('-l' means forward-lock the app)
  199. ('-r' means reinstall the app, keeping its data
  200. )
  201. ('-s' means install on SD card instead of inter
  202. nal storage)
  203. adb uninstall [-k] <package> - remove this app package from the device
  204. ('-k' means keep the data and cache directories
  205. )
  206. adb bugreport - return all information from the device
  207. that should be included in a bug report.
  208.  
  209. adb help - show this help message
  210. adb version - show version num
  211.  
  212. DATAOPTS:
  213. (no option) - don't touch the data partition
  214. -w - wipe the data partition
  215. -d - flash the data partition
  216.  
  217. scripting:
  218. adb wait-for-device - block until device is online
  219. adb start-server - ensure that there is a server running
  220. adb kill-server - kill the server if it is running
  221. adb get-state - prints: offline | bootloader | device
  222. adb get-serialno - prints: <serial-number>
  223. adb status-window - continuously print device status for a specifie
  224. d device
  225. adb remount - remounts the /system partition on the device re
  226. ad-write
  227. adb reboot [bootloader|recovery] - reboots the device, optionally into the boo
  228. tloader or recovery program
  229. adb reboot-bootloader - reboots the device into the bootloader
  230. adb root - restarts the adbd daemon with root permissions
  231. adb usb - restarts the adbd daemon listening on USB
  232. adb tcpip <port> - restarts the adbd daemon listening on TCP on th
  233. e specified port
  234. networking:
  235. adb ppp <tty> [parameters] - Run PPP over USB.
  236. Note: you should not automatically start a PPP connection.
  237. <tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
  238. [parameters] - Eg. defaultroute debug dump local notty usepeerdns
  239.  
  240. adb sync notes: adb sync [ <directory> ]
  241. <localdir> can be interpreted in several ways:
  242.  
  243. - If <directory> is not specified, both /system and /data partitions will be u
  244. pdated.
  245.  
  246. - If it is "system" or "data", only the corresponding partition
  247. is updated.
  248.  
  249. environmental variables:
  250. ADB_TRACE - Print debug information. A comma separated list
  251. of the following values
  252. 1 or all, adb, sockets, packets, rwx, usb, sync
  253. , sysdeps, transport, jdwp
  254. ANDROID_SERIAL - The serial number to connect to. -s takes prior
  255. ity over this if given.
  256. ANDROID_LOG_TAGS - When used with the logcat option, only these de
  257. bug tags are printed.
  258.  
  259. C:\android-sdk-windows\PLATFO~2>adb devices
  260. * daemon not running. starting it now on port 5037 *
  261. * daemon started successfully *
  262. List of devices attached
  263. 027c100941001517 recovery
  264.  
  265.  
  266. C:\android-sdk-windows\PLATFO~2>adb shell
  267. ~ # su
  268. su
  269. /sbin/sh: su: not found
  270. ~ # ls -l /dev/block
  271. ls -l /dev/block
  272. brw------- 1 root root 7, 0 Mar 17 06:56 loop0
  273. brw------- 1 root root 7, 1 Mar 17 06:56 loop1
  274. brw------- 1 root root 7, 2 Mar 17 06:56 loop2
  275. brw------- 1 root root 7, 3 Mar 17 06:56 loop3
  276. brw------- 1 root root 7, 4 Mar 17 06:56 loop4
  277. brw------- 1 root root 7, 5 Mar 17 06:56 loop5
  278. brw------- 1 root root 7, 6 Mar 17 06:56 loop6
  279. brw------- 1 root root 7, 7 Mar 17 06:56 loop7
  280. brw------- 1 root root 179, 128 Mar 17 06:56 mmcblk2
  281. brw------- 1 root root 179, 129 Mar 17 06:56 mmcblk2p1
  282. brw------- 1 root root 179, 192 Mar 17 06:56 mmcblk3
  283. brw------- 1 root root 179, 193 Mar 17 06:56 mmcblk3p1
  284. brw------- 1 root root 179, 202 Mar 17 06:56 mmcblk3p10
  285. brw------- 1 root root 179, 203 Mar 17 06:56 mmcblk3p11
  286. brw------- 1 root root 179, 204 Mar 17 06:56 mmcblk3p12
  287. brw------- 1 root root 179, 205 Mar 17 06:56 mmcblk3p13
  288. brw------- 1 root root 179, 206 Mar 17 06:56 mmcblk3p14
  289. brw------- 1 root root 179, 207 Mar 17 06:56 mmcblk3p15
  290. brw------- 1 root root 179, 208 Mar 17 06:56 mmcblk3p16
  291. brw------- 1 root root 179, 194 Mar 17 06:56 mmcblk3p2
  292. brw------- 1 root root 179, 195 Mar 17 06:56 mmcblk3p3
  293. brw------- 1 root root 179, 196 Mar 17 06:56 mmcblk3p4
  294. brw------- 1 root root 179, 197 Mar 17 06:56 mmcblk3p5
  295. brw------- 1 root root 179, 198 Mar 17 06:56 mmcblk3p6
  296. brw------- 1 root root 179, 199 Mar 17 06:56 mmcblk3p7
  297. brw------- 1 root root 179, 200 Mar 17 06:56 mmcblk3p8
  298. brw------- 1 root root 179, 201 Mar 17 06:56 mmcblk3p9
  299. drwxr-xr-x 4 root root 80 Mar 17 06:56 platform
  300. ~ #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement