
tpdebrick v004 by jcsullins
===========================
TPDebrick is a suite of programs and files used to "debrick"
HP Touchpads. This process should allow the revival of Touchpads
that cannot boot due to corrupted raw partitions, corrupted bootloaders
or corrupted A6 firmware. Note that this should allow you to get
into bootie (webOS) recovery mode. Additional steps may be needed
after to restore the bootie configuration or OS (i.e. webOS doctor).

NOTE: If you can hold Power+Home+VolUP for 30 seconds and see a big USB symbol,
      then you SHOULD NOT do the following.

NOTE: Before attempting the following,
      you should make sure that the failure to boot isn't due to
	  a faulty USB cable or charger.

NOTE: The following should be considered a LAST RESORT.
      If the Touchpad isn't already "bricked",
      then the following may very well "brick" it.

NOTE: USE AT YOUR OWN RISK!!!!

TPDebrick has been designed and tested to work with an
Ubuntu 11.04 32-bit livecd. The instructions that follow
assume that you are booting an Ubuntu 11.04 32-bit livecd.

1.  Click "Try Ubuntu"
2.  Click the Wifi icon in top right of screen
3.  Click on your Wifi AP name to establish network connection
4.  Enter wifi password, if needed
5.  Click Firefox icon on left of screen
6.  Download the webOS 3.0.5 doctor from the URL:
    http://downloads.help.palm.com/webosdoctor/rom/touchpad/p305rod01122012/wd305wifi/webosdoctorp305hstnhwifi.jar
7.  Select "Save File"
8.  Click OK
9.  Download tpdebrick-v004 from the URL:
    http://goo.im/devs/jcsullins/tpdebrick/tpdebrick-v004.zip
10. Select "Save File"
11. Click OK
12. Wait for downloads to complete
13. Click "Dash Home" (icon in top left corner of screen)
14. Type in "Terminal"
15. Click on the "Terminal" icon
16. Click in the "Terminal" window
17. Run "cd Downloads"
18. Run "unzip tpdebrick-v004"
19. Run "cd tpdebrick-v004"
20. Connect touchpad
21. Hold Power+Home+VolDown buttons on Touchpad for 30 seconds
22. Run "script" (this will capture the output of the tpdebrick process)
23. Run "sudo ./tpdebrick XX" (where XX is the size of the TP: 16, 32 or 64)

The tpdebrick process can take from 5 to 10 minutes (or even more
if you have very slow network connection). It should end with "ALL DONE."
If the process hangs for more than 5 minutes, you can abort the process
by pressing Ctrl-\ (Ctrl key and key with '|' above '\').

24. Run "exit" (this will stop the output capture started with 'script')

25. If the 'tpdebrick' process did not end with "ALL DONE." you should
    upload the "typescript" file (the output capture) so that the cause
    of failure can be diagnosed. Regardless, it's a good idea to save
    this file somewhere for future analysis, if needed.

26. Click icon in far right corner of screen
27. Select "shutdown"
28. Select "shutdown" or "reboot"

29. Connect Touchpad to stock HP AC charger and allow to charge for
    several hours

