Advertisement
Guest User

Untitled

a guest
Apr 19th, 2012
1,902
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.91 KB | None | 0 0
  1. [root@twin-rockets spectrum_root_linux_osx]# ./run.sh
  2. ./run.sh: line 22: [: too many arguments
  3. chmod: cannot access './adb.linux': No such file or directory
  4. [*]
  5. [*] LG Spectrum Root Exploit (Linux version)
  6. [*] by Dan Rosenberg (@djrbliss)
  7. [*]
  8. [*] Before continuing, ensure USB debugging is enabled and that your phone
  9. [*] is connected via USB.
  10. [*]
  11. [*] Press enter to root your phone...
  12. [*]
  13. [*] Waiting for device...
  14. [*] Device found.
  15. [*] Rebooting device...
  16. [*] Waiting for device to reboot...
  17. [*] Rebooting device again...
  18. [*] Waiting for device to reboot...
  19. [*] Attemping persistence...
  20. remount succeeded
  21. making virgin dumps
  22. Android Debug Bridge version 1.0.29
  23.  
  24. -d - directs command to the only connected USB device
  25. returns an error if more than one USB device is present.
  26. -e - directs command to the only running emulator.
  27. returns an error if more than one emulator is running.
  28. -s <serial number> - directs command to the USB device or emulator with
  29. the given serial number. Overrides ANDROID_SERIAL
  30. environment variable.
  31. -p <product name or path> - simple product name like 'sooner', or
  32. a relative/absolute path to a product
  33. out directory like 'out/target/product/sooner'.
  34. If -p is not specified, the ANDROID_PRODUCT_OUT
  35. environment variable is used, which must
  36. be an absolute path.
  37. devices - list all connected devices
  38. connect <host>[:<port>] - connect to a device via TCP/IP
  39. Port 5555 is used by default if no port number is specified.
  40. disconnect [<host>[:<port>]] - disconnect from a TCP/IP device.
  41. Port 5555 is used by default if no port number is specified.
  42. Using this command with no additional arguments
  43. will disconnect from all connected TCP/IP devices.
  44.  
  45. device commands:
  46. adb push <local> <remote> - copy file/dir to device
  47. adb pull <remote> [<local>] - copy file/dir from device
  48. adb sync [ <directory> ] - copy host->device only if changed
  49. (-l means list but don't copy)
  50. (see 'adb help all')
  51. adb shell - run remote shell interactively
  52. adb shell <command> - run remote shell command
  53. adb emu <command> - run emulator console command
  54. adb logcat [ <filter-spec> ] - View device log
  55. adb forward <local> <remote> - forward socket connections
  56. forward specs are one of:
  57. tcp:<port>
  58. localabstract:<unix domain socket name>
  59. localreserved:<unix domain socket name>
  60. localfilesystem:<unix domain socket name>
  61. dev:<character device name>
  62. jdwp:<process pid> (remote only)
  63. adb jdwp - list PIDs of processes hosting a JDWP transport
  64. adb install [-l] [-r] [-s] <file> - push this package file to the device and install it
  65. ('-l' means forward-lock the app)
  66. ('-r' means reinstall the app, keeping its data)
  67. ('-s' means install on SD card instead of internal storage)
  68. adb uninstall [-k] <package> - remove this app package from the device
  69. ('-k' means keep the data and cache directories)
  70. adb bugreport - return all information from the device
  71. that should be included in a bug report.
  72.  
  73. adb backup [-f <file>] [-apk|-noapk] [-shared|-noshared] [-all] [-system|-nosystem] [<packages...>]
  74. - write an archive of the device's data to <file>.
  75. If no -f option is supplied then the data is written
  76. to "backup.ab" in the current directory.
  77. (-apk|-noapk enable/disable backup of the .apks themselves
  78. in the archive; the default is noapk.)
  79. (-shared|-noshared enable/disable backup of the device's
  80. shared storage / SD card contents; the default is noshared.)
  81. (-all means to back up all installed applications)
  82. (-system|-nosystem toggles whether -all automatically includes
  83. system applications; the default is to include system apps)
  84. (<packages...> is the list of applications to be backed up. If
  85. the -all or -shared flags are passed, then the package
  86. list is optional. Applications explicitly given on the
  87. command line will be included even if -nosystem would
  88. ordinarily cause them to be omitted.)
  89.  
  90. adb restore <file> - restore device contents from the <file> backup archive
  91.  
  92. adb help - show this help message
  93. adb version - show version num
  94.  
  95. scripting:
  96. adb wait-for-device - block until device is online
  97. adb start-server - ensure that there is a server running
  98. adb kill-server - kill the server if it is running
  99. adb get-state - prints: offline | bootloader | device
  100. adb get-serialno - prints: <serial-number>
  101. adb status-window - continuously print device status for a specified device
  102. adb remount - remounts the /system partition on the device read-write
  103. adb reboot [bootloader|recovery] - reboots the device, optionally into the bootloader or recovery program
  104. adb reboot-bootloader - reboots the device into the bootloader
  105. adb root - restarts the adbd daemon with root permissions
  106. adb usb - restarts the adbd daemon listening on USB
  107. adb tcpip <port> - restarts the adbd daemon listening on TCP on the specified port
  108. networking:
  109. adb ppp <tty> [parameters] - Run PPP over USB.
  110. Note: you should not automatically start a PPP connection.
  111. <tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
  112. [parameters] - Eg. defaultroute debug dump local notty usepeerdns
  113.  
  114. adb sync notes: adb sync [ <directory> ]
  115. <localdir> can be interpreted in several ways:
  116.  
  117. - If <directory> is not specified, both /system and /data partitions will be updated.
  118.  
  119. - If it is "system" or "data", only the corresponding partition
  120. is updated.
  121.  
  122. environmental variables:
  123. ADB_TRACE - Print debug information. A comma separated list of the following values
  124. 1 or all, adb, sockets, packets, rwx, usb, sync, sysdeps, transport, jdwp
  125. ANDROID_SERIAL - The serial number to connect to. -s takes priority over this if given.
  126. ANDROID_LOG_TAGS - When used with the logcat option, only these debug tags are printed.
  127. Android Debug Bridge version 1.0.29
  128.  
  129. -d - directs command to the only connected USB device
  130. returns an error if more than one USB device is present.
  131. -e - directs command to the only running emulator.
  132. returns an error if more than one emulator is running.
  133. -s <serial number> - directs command to the USB device or emulator with
  134. the given serial number. Overrides ANDROID_SERIAL
  135. environment variable.
  136. -p <product name or path> - simple product name like 'sooner', or
  137. a relative/absolute path to a product
  138. out directory like 'out/target/product/sooner'.
  139. If -p is not specified, the ANDROID_PRODUCT_OUT
  140. environment variable is used, which must
  141. be an absolute path.
  142. devices - list all connected devices
  143. connect <host>[:<port>] - connect to a device via TCP/IP
  144. Port 5555 is used by default if no port number is specified.
  145. disconnect [<host>[:<port>]] - disconnect from a TCP/IP device.
  146. Port 5555 is used by default if no port number is specified.
  147. Using this command with no additional arguments
  148. will disconnect from all connected TCP/IP devices.
  149.  
  150. device commands:
  151. adb push <local> <remote> - copy file/dir to device
  152. adb pull <remote> [<local>] - copy file/dir from device
  153. adb sync [ <directory> ] - copy host->device only if changed
  154. (-l means list but don't copy)
  155. (see 'adb help all')
  156. adb shell - run remote shell interactively
  157. adb shell <command> - run remote shell command
  158. adb emu <command> - run emulator console command
  159. adb logcat [ <filter-spec> ] - View device log
  160. adb forward <local> <remote> - forward socket connections
  161. forward specs are one of:
  162. tcp:<port>
  163. localabstract:<unix domain socket name>
  164. localreserved:<unix domain socket name>
  165. localfilesystem:<unix domain socket name>
  166. dev:<character device name>
  167. jdwp:<process pid> (remote only)
  168. adb jdwp - list PIDs of processes hosting a JDWP transport
  169. adb install [-l] [-r] [-s] <file> - push this package file to the device and install it
  170. ('-l' means forward-lock the app)
  171. ('-r' means reinstall the app, keeping its data)
  172. ('-s' means install on SD card instead of internal storage)
  173. adb uninstall [-k] <package> - remove this app package from the device
  174. ('-k' means keep the data and cache directories)
  175. adb bugreport - return all information from the device
  176. that should be included in a bug report.
  177.  
  178. adb backup [-f <file>] [-apk|-noapk] [-shared|-noshared] [-all] [-system|-nosystem] [<packages...>]
  179. - write an archive of the device's data to <file>.
  180. If no -f option is supplied then the data is written
  181. to "backup.ab" in the current directory.
  182. (-apk|-noapk enable/disable backup of the .apks themselves
  183. in the archive; the default is noapk.)
  184. (-shared|-noshared enable/disable backup of the device's
  185. shared storage / SD card contents; the default is noshared.)
  186. (-all means to back up all installed applications)
  187. (-system|-nosystem toggles whether -all automatically includes
  188. system applications; the default is to include system apps)
  189. (<packages...> is the list of applications to be backed up. If
  190. the -all or -shared flags are passed, then the package
  191. list is optional. Applications explicitly given on the
  192. command line will be included even if -nosystem would
  193. ordinarily cause them to be omitted.)
  194.  
  195. adb restore <file> - restore device contents from the <file> backup archive
  196.  
  197. adb help - show this help message
  198. adb version - show version num
  199.  
  200. scripting:
  201. adb wait-for-device - block until device is online
  202. adb start-server - ensure that there is a server running
  203. adb kill-server - kill the server if it is running
  204. adb get-state - prints: offline | bootloader | device
  205. adb get-serialno - prints: <serial-number>
  206. adb status-window - continuously print device status for a specified device
  207. adb remount - remounts the /system partition on the device read-write
  208. adb reboot [bootloader|recovery] - reboots the device, optionally into the bootloader or recovery program
  209. adb reboot-bootloader - reboots the device into the bootloader
  210. adb root - restarts the adbd daemon with root permissions
  211. adb usb - restarts the adbd daemon listening on USB
  212. adb tcpip <port> - restarts the adbd daemon listening on TCP on the specified port
  213. networking:
  214. adb ppp <tty> [parameters] - Run PPP over USB.
  215. Note: you should not automatically start a PPP connection.
  216. <tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
  217. [parameters] - Eg. defaultroute debug dump local notty usepeerdns
  218.  
  219. adb sync notes: adb sync [ <directory> ]
  220. <localdir> can be interpreted in several ways:
  221.  
  222. - If <directory> is not specified, both /system and /data partitions will be updated.
  223.  
  224. - If it is "system" or "data", only the corresponding partition
  225. is updated.
  226.  
  227. environmental variables:
  228. ADB_TRACE - Print debug information. A comma separated list of the following values
  229. 1 or all, adb, sockets, packets, rwx, usb, sync, sysdeps, transport, jdwp
  230. ANDROID_SERIAL - The serial number to connect to. -s takes priority over this if given.
  231. ANDROID_LOG_TAGS - When used with the logcat option, only these debug tags are printed.
  232. Android Debug Bridge version 1.0.29
  233.  
  234. -d - directs command to the only connected USB device
  235. returns an error if more than one USB device is present.
  236. -e - directs command to the only running emulator.
  237. returns an error if more than one emulator is running.
  238. -s <serial number> - directs command to the USB device or emulator with
  239. the given serial number. Overrides ANDROID_SERIAL
  240. environment variable.
  241. -p <product name or path> - simple product name like 'sooner', or
  242. a relative/absolute path to a product
  243. out directory like 'out/target/product/sooner'.
  244. If -p is not specified, the ANDROID_PRODUCT_OUT
  245. environment variable is used, which must
  246. be an absolute path.
  247. devices - list all connected devices
  248. connect <host>[:<port>] - connect to a device via TCP/IP
  249. Port 5555 is used by default if no port number is specified.
  250. disconnect [<host>[:<port>]] - disconnect from a TCP/IP device.
  251. Port 5555 is used by default if no port number is specified.
  252. Using this command with no additional arguments
  253. will disconnect from all connected TCP/IP devices.
  254.  
  255. device commands:
  256. adb push <local> <remote> - copy file/dir to device
  257. adb pull <remote> [<local>] - copy file/dir from device
  258. adb sync [ <directory> ] - copy host->device only if changed
  259. (-l means list but don't copy)
  260. (see 'adb help all')
  261. adb shell - run remote shell interactively
  262. adb shell <command> - run remote shell command
  263. adb emu <command> - run emulator console command
  264. adb logcat [ <filter-spec> ] - View device log
  265. adb forward <local> <remote> - forward socket connections
  266. forward specs are one of:
  267. tcp:<port>
  268. localabstract:<unix domain socket name>
  269. localreserved:<unix domain socket name>
  270. localfilesystem:<unix domain socket name>
  271. dev:<character device name>
  272. jdwp:<process pid> (remote only)
  273. adb jdwp - list PIDs of processes hosting a JDWP transport
  274. adb install [-l] [-r] [-s] <file> - push this package file to the device and install it
  275. ('-l' means forward-lock the app)
  276. ('-r' means reinstall the app, keeping its data)
  277. ('-s' means install on SD card instead of internal storage)
  278. adb uninstall [-k] <package> - remove this app package from the device
  279. ('-k' means keep the data and cache directories)
  280. adb bugreport - return all information from the device
  281. that should be included in a bug report.
  282.  
  283. adb backup [-f <file>] [-apk|-noapk] [-shared|-noshared] [-all] [-system|-nosystem] [<packages...>]
  284. - write an archive of the device's data to <file>.
  285. If no -f option is supplied then the data is written
  286. to "backup.ab" in the current directory.
  287. (-apk|-noapk enable/disable backup of the .apks themselves
  288. in the archive; the default is noapk.)
  289. (-shared|-noshared enable/disable backup of the device's
  290. shared storage / SD card contents; the default is noshared.)
  291. (-all means to back up all installed applications)
  292. (-system|-nosystem toggles whether -all automatically includes
  293. system applications; the default is to include system apps)
  294. (<packages...> is the list of applications to be backed up. If
  295. the -all or -shared flags are passed, then the package
  296. list is optional. Applications explicitly given on the
  297. command line will be included even if -nosystem would
  298. ordinarily cause them to be omitted.)
  299.  
  300. adb restore <file> - restore device contents from the <file> backup archive
  301.  
  302. adb help - show this help message
  303. adb version - show version num
  304.  
  305. scripting:
  306. adb wait-for-device - block until device is online
  307. adb start-server - ensure that there is a server running
  308. adb kill-server - kill the server if it is running
  309. adb get-state - prints: offline | bootloader | device
  310. adb get-serialno - prints: <serial-number>
  311. adb status-window - continuously print device status for a specified device
  312. adb remount - remounts the /system partition on the device read-write
  313. adb reboot [bootloader|recovery] - reboots the device, optionally into the bootloader or recovery program
  314. adb reboot-bootloader - reboots the device into the bootloader
  315. adb root - restarts the adbd daemon with root permissions
  316. adb usb - restarts the adbd daemon listening on USB
  317. adb tcpip <port> - restarts the adbd daemon listening on TCP on the specified port
  318. networking:
  319. adb ppp <tty> [parameters] - Run PPP over USB.
  320. Note: you should not automatically start a PPP connection.
  321. <tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
  322. [parameters] - Eg. defaultroute debug dump local notty usepeerdns
  323.  
  324. adb sync notes: adb sync [ <directory> ]
  325. <localdir> can be interpreted in several ways:
  326.  
  327. - If <directory> is not specified, both /system and /data partitions will be updated.
  328.  
  329. - If it is "system" or "data", only the corresponding partition
  330. is updated.
  331.  
  332. environmental variables:
  333. ADB_TRACE - Print debug information. A comma separated list of the following values
  334. 1 or all, adb, sockets, packets, rwx, usb, sync, sysdeps, transport, jdwp
  335. ANDROID_SERIAL - The serial number to connect to. -s takes priority over this if given.
  336. ANDROID_LOG_TAGS - When used with the logcat option, only these debug tags are printed.
  337. pulling them to your computer (THIS WILL TAKE A WHILE)
  338. remote object '/sdcard/system.img' does not exist
  339. remote object '/sdcard/boot.img' does not exist
  340. remote object '/sdcard/recovery.img' does not exist
  341. going back to rooting, thanks gents :)
  342. 547 KB/s (22364 bytes in 0.039s)
  343. 6078 KB/s (1867568 bytes in 0.300s)
  344. 7349 KB/s (843503 bytes in 0.112s)
  345. [*] Cleaning up...
  346. [*] Rebooting...
  347. [*] Exploit complete!
  348. [*] Press any key to exit.
  349. [root@twin-rockets spectrum_root_linux_osx]# ls -l
  350. total 2676
  351. -rwxr-xr-x 1 windscape users 843503 Feb 18 19:07 Superuser.apk
  352. -rwxr-xr-x 1 windscape users 1867568 Feb 18 19:07 busybox
  353. -rwxr-xr-x 1 windscape users 2727 Apr 19 18:00 run.sh
  354. -rwxr-xr-x 1 windscape users 22364 Feb 18 19:07 su
  355. [root@twin-rockets spectrum_root_linux_osx]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement