Advertisement
Guest User

How I *think* I actually bricked my Kindle Fire

a guest
Apr 25th, 2012
571
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.70 KB | None | 0 0
  1. Jason-Howells-Mac-Pro:/ raygun$ cd KindleFireRootMacLinux/
  2. Jason-Howells-Mac-Pro:KindleFireRootMacLinux raygun$ mkdir ~/.android
  3. mkdir: /Users/raygun/.android: File exists
  4. Jason-Howells-Mac-Pro:KindleFireRootMacLinux raygun$ cp adb_usb.ini ~/.android
  5. Jason-Howells-Mac-Pro:KindleFireRootMacLinux raygun$ ./adb-mac kill-server
  6. Jason-Howells-Mac-Pro:KindleFireRootMacLinux raygun$ ./adb-mac devices
  7. * daemon not running. starting it now *
  8. * daemon started successfully *
  9. List of devices attached
  10. 4F50000600000001 device
  11.  
  12. Jason-Howells-Mac-Pro:KindleFireRootMacLinux raygun$ cd /
  13. Jason-Howells-Mac-Pro:/ raygun$ cd Users/
  14. Jason-Howells-Mac-Pro:Users raygun$ cd raygun/
  15. Jason-Howells-Mac-Pro:~ raygun$ cd Downloads/
  16. Jason-Howells-Mac-Pro:Downloads raygun$ cd Kindle\ Fire\ Root/
  17. Jason-Howells-Mac-Pro:Kindle Fire Root raygun$ ls
  18. fbmode su
  19. fbmode-0.9.zip u-boot-firefirefire-1.2.zip
  20. openrecovery-twrp-blaze-2.1.1.img
  21. Jason-Howells-Mac-Pro:Kindle Fire Root raygun$ adb push fbmode /data/local/fbmode
  22. adb server is out of date. killing...
  23. * daemon started successfully *
  24. 2193 KB/s (510876 bytes in 0.227s)
  25. Jason-Howells-Mac-Pro:Kindle Fire Root raygun$ adb shel chmod 755 /data/local/fbmode
  26. Android Debug Bridge version 1.0.29
  27.  
  28. -d - directs command to the only connected USB device
  29. returns an error if more than one USB device is present.
  30. -e - directs command to the only running emulator.
  31. returns an error if more than one emulator is running.
  32. -s <serial number> - directs command to the USB device or emulator with
  33. the given serial number. Overrides ANDROID_SERIAL
  34. environment variable.
  35. -p <product name or path> - simple product name like 'sooner', or
  36. a relative/absolute path to a product
  37. out directory like 'out/target/product/sooner'.
  38. If -p is not specified, the ANDROID_PRODUCT_OUT
  39. environment variable is used, which must
  40. be an absolute path.
  41. devices - list all connected devices
  42. connect <host>[:<port>] - connect to a device via TCP/IP
  43. Port 5555 is used by default if no port number is specified.
  44. disconnect [<host>[:<port>]] - disconnect from a TCP/IP device.
  45. Port 5555 is used by default if no port number is specified.
  46. Using this command with no additional arguments
  47. will disconnect from all connected TCP/IP devices.
  48.  
  49. device commands:
  50. adb push <local> <remote> - copy file/dir to device
  51. adb pull <remote> [<local>] - copy file/dir from device
  52. adb sync [ <directory> ] - copy host->device only if changed
  53. (-l means list but don't copy)
  54. (see 'adb help all')
  55. adb shell - run remote shell interactively
  56. adb shell <command> - run remote shell command
  57. adb emu <command> - run emulator console command
  58. adb logcat [ <filter-spec> ] - View device log
  59. adb forward <local> <remote> - forward socket connections
  60. forward specs are one of:
  61. tcp:<port>
  62. localabstract:<unix domain socket name>
  63. localreserved:<unix domain socket name>
  64. localfilesystem:<unix domain socket name>
  65. dev:<character device name>
  66. jdwp:<process pid> (remote only)
  67. adb jdwp - list PIDs of processes hosting a JDWP transport
  68. adb install [-l] [-r] [-s] <file> - push this package file to the device and install it
  69. ('-l' means forward-lock the app)
  70. ('-r' means reinstall the app, keeping its data)
  71. ('-s' means install on SD card instead of internal storage)
  72. adb uninstall [-k] <package> - remove this app package from the device
  73. ('-k' means keep the data and cache directories)
  74. adb bugreport - return all information from the device
  75. that should be included in a bug report.
  76.  
  77. adb backup [-f <file>] [-apk|-noapk] [-shared|-noshared] [-all] [-system|-nosystem] [<packages...>]
  78. - write an archive of the device's data to <file>.
  79. If no -f option is supplied then the data is written
  80. to "backup.ab" in the current directory.
  81. (-apk|-noapk enable/disable backup of the .apks themselves
  82. in the archive; the default is noapk.)
  83. (-shared|-noshared enable/disable backup of the device's
  84. shared storage / SD card contents; the default is noshared.)
  85. (-all means to back up all installed applications)
  86. (-system|-nosystem toggles whether -all automatically includes
  87. system applications; the default is to include system apps)
  88. (<packages...> is the list of applications to be backed up. If
  89. the -all or -shared flags are passed, then the package
  90. list is optional. Applications explicitly given on the
  91. command line will be included even if -nosystem would
  92. ordinarily cause them to be omitted.)
  93.  
  94. adb restore <file> - restore device contents from the <file> backup archive
  95.  
  96. adb help - show this help message
  97. adb version - show version num
  98.  
  99. scripting:
  100. adb wait-for-device - block until device is online
  101. adb start-server - ensure that there is a server running
  102. adb kill-server - kill the server if it is running
  103. adb get-state - prints: offline | bootloader | device
  104. adb get-serialno - prints: <serial-number>
  105. adb status-window - continuously print device status for a specified device
  106. adb remount - remounts the /system partition on the device read-write
  107. adb reboot [bootloader|recovery] - reboots the device, optionally into the bootloader or recovery program
  108. adb reboot-bootloader - reboots the device into the bootloader
  109. adb root - restarts the adbd daemon with root permissions
  110. adb usb - restarts the adbd daemon listening on USB
  111. adb tcpip <port> - restarts the adbd daemon listening on TCP on the specified port
  112. networking:
  113. adb ppp <tty> [parameters] - Run PPP over USB.
  114. Note: you should not automatically start a PPP connection.
  115. <tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
  116. [parameters] - Eg. defaultroute debug dump local notty usepeerdns
  117.  
  118. adb sync notes: adb sync [ <directory> ]
  119. <localdir> can be interpreted in several ways:
  120.  
  121. - If <directory> is not specified, both /system and /data partitions will be updated.
  122.  
  123. - If it is "system" or "data", only the corresponding partition
  124. is updated.
  125.  
  126. environmental variables:
  127. ADB_TRACE - Print debug information. A comma separated list of the following values
  128. 1 or all, adb, sockets, packets, rwx, usb, sync, sysdeps, transport, jdwp
  129. ANDROID_SERIAL - The serial number to connect to. -s takes priority over this if given.
  130. ANDROID_LOG_TAGS - When used with the logcat option, only these debug tags are printed.
  131. Jason-Howells-Mac-Pro:Kindle Fire Root raygun$ adb shell /data/local/fbmode
  132. Jason-Howells-Mac-Pro:Kindle Fire Root raygun$ adb reboot
  133. Jason-Howells-Mac-Pro:Kindle Fire Root raygun$ fastboot -i 0x1949 flash bootloader u-boot-firefirefire-1.2.zip
  134. sending 'bootloader' (126 KB)...
  135. ERROR: usb_read failed with status e00002ed
  136. FAILED (status read failed (No such file or directory))
  137. finished. total time: 420.770s
  138. Jason-Howells-Mac-Pro:Kindle Fire Root raygun$ fastboot flash bootloader u-boot-firefirefire-1.2.zip
  139. sending 'bootloader' (126 KB)...
  140. OKAY [ 0.035s]
  141. writing 'bootloader'...
  142. OKAY [ 0.063s]
  143. finished. total time: 0.099s
  144. Jason-Howells-Mac-Pro:Kindle Fire Root raygun$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement