Jump to content

  1. 0
  2. 0
  3. 0/5

Rate this Topic

* * * * *
14 votes

TPDebrick v004

  • Please log in to reply

OP jcsullins

jcsullins

Developer

Posted 30 January 2013 - 06:21 PM #1

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 12.04 32-bit livecd (or liveusb). The instructions that follow
assume that you are booting an Ubuntu 12.04 32-bit livecd (or liveusb).

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.hel...05hstnhwifi.jar
7. Select "Save File"
8. Click OK
9. Download tpdebrick-v004 from the URL:
http://goo.im/devs/j...ebrick-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

Edited by jcsullins, 31 January 2013 - 07:04 AM.

  • 38 Likes

OP jcsullins

jcsullins

Developer

Posted 30 January 2013 - 06:38 PM #2

reserved
  • 1 Likes

reffu42

reffu42

Average Android

  • 3 posts

Posted 30 January 2013 - 06:58 PM #3

I get an error right after "writing file tz.mbn..."
./tpdebrick: line 255: 786432 \* 512 =: syntax error: invalid arithmetic operator (error token is "\* 512")

Is the \* intentional? I'm not on Ubuntu (running Arch on my laptop), would that be the cause of the problem, nothing else in the output looks suspicious or wrong.

Thanks.
  • 0 Likes

Remolten

Remolten

Android Lover

  • 224 posts

Posted 30 January 2013 - 07:02 PM #4

I get an error right after "writing file tz.mbn..."
./tpdebrick: line 255: 786432 \* 512 =: syntax error: invalid arithmetic operator (error token is "\* 512")

Is the \* intentional? I'm not on Ubuntu (running Arch on my laptop), would that be the cause of the problem, nothing else in the output looks suspicious or wrong.

Thanks.


It's might be a programming error. Either he wanted division or multplication possibly.
  • 0 Likes

bu3amraa

bu3amraa

Average Android

Posted 30 January 2013 - 07:12 PM #5

Dear sir, thank you very much for your great efforts.

However, I have encountered the following problem on this step:

23. Run "sudo ./tpdebrick XX" (where XX is the size of the TP: 16, 32 or 64)
The terminal comes back with a message says:

dfu-until not installed
fastboot not installed
Aborted.

How can i overcome this? Thank you so much in advance!
  • 0 Likes

ddog511

ddog511

Member

  • 49 posts

Posted 30 January 2013 - 07:23 PM #6

Dear sir, thank you very much for your great efforts.

However, I have encountered the following problem on this step:

23. Run "sudo ./tpdebrick XX" (where XX is the size of the TP: 16, 32 or 64)
The terminal comes back with a message says:

dfu-until not installed
fastboot not installed
Aborted.

How can i overcome this? Thank you so much in advance!


http://www.webupd8.o...roid-tools.html
http://www.seeedstud...m/wiki/Dfu-util

@JCSullins,

Thanks for your continued work on these issues. I am one of the ones that continued to get the cookie error, and it seems wiht this new method, I am still getting the same errors. I have attached my typescript for you.

Thanks,Attached File  typescript.txt   9.44KB   1109 downloads
  • 0 Likes

OP jcsullins

jcsullins

Developer

Posted 30 January 2013 - 07:46 PM #7

I get an error right after "writing file tz.mbn..."
./tpdebrick: line 255: 786432 \* 512 =: syntax error: invalid arithmetic operator (error token is "\* 512")

Is the \* intentional? I'm not on Ubuntu (running Arch on my laptop), would that be the cause of the problem, nothing else in the output looks suspicious or wrong.

Thanks.


Yes, it was intentional. It's a habit I have of escaping '*' when used with cmds like "expr 10 \* 10" so the shell does not think it's a filename wildcard.
The '\*' construct worked fine in my testing with Ubuntu and LinuxMint. However, it seems that whatever Arch uses for /bin/sh does not like it.

Anyway, I have changed it to just use '*' and (as you said on IRC) it now works in Arch and I have tested it still works on Ubuntu.

The zip file on goo.im has been updated.
  • 0 Likes

OP jcsullins

jcsullins

Developer

Posted 30 January 2013 - 07:52 PM #8

Dear sir, thank you very much for your great efforts.

However, I have encountered the following problem on this step:

23. Run "sudo ./tpdebrick XX" (where XX is the size of the TP: 16, 32 or 64)
The terminal comes back with a message says:

dfu-until not installed
fastboot not installed
Aborted.

How can i overcome this? Thank you so much in advance!


If you were using Ubuntu versions 11.04, 11.10 or 12.04 it would automatically install them for you.

So, you could boot an Ubuntu 12.04 32-bit livecd (as mentioned in the OP).

Or, you could ask the google what you need to do for your OS to install them.

For the least amount of trouble, I suggest using an Ubuntu 12.04 32-bit livecd install.

EDIT: Oops, had 11.04 when it should have been 12.04 (also 11.04 install of those pgms won't work properly until next version).

Edited by jcsullins, 31 January 2013 - 09:14 AM.

  • 0 Likes

bu3amraa

bu3amraa

Average Android

Posted 30 January 2013 - 08:06 PM #9

If you were using Ubuntu versions 11.04, 11.10 or 12.04 it would automatically install them for you.

So, you could boot an Ubuntu 11.04 32-bit livecd (as mentioned in the OP).

Or, you could ask the google what you need to do for your OS to install them.

For the least amount of trouble, I suggest using an Ubuntu 11.04 32-bit livecd install.


IT WORKED!! :lol: :lol:
THANK YOU SOOOO MUCH! you are a life savor :P
  • 1 Likes

OP jcsullins

jcsullins

Developer

Posted 30 January 2013 - 08:10 PM #10

Thanks for your continued work on these issues. I am one of the ones that continued to get the cookie error, and it seems wiht this new method, I am still getting the same errors. I have attached my typescript for you.

Thanks,Attached File  typescript.txt   9.44KB   1109 downloads


The opening of the emmc for writing is done with the 'openMulti' command.

So the "Open multi failed, unknown error" suggests to me an emmc (hardware) failure.
  • 0 Likes