Android OS Forum banner
1 - 20 of 1722 Posts

·
Developer
Joined
·
339 Posts
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.codefi.re/jcsullins/webos/doctors/original/webosdoctorp305hstnhwifi.jar
7. Select "Save File"
8. Click OK
9. Download tpdebrick-v004 from the URL:
http://downloads.codefi.re/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
 

·
Registered
Joined
·
3 Posts
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.
 

·
Registered
Joined
·
224 Posts
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.
 

·
Registered
Joined
·
3 Posts
Dear sir, thank you very much for your great efforts.

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

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

[background=rgb(245, 245, 245)]dfu-until not installed[/background]
[background=rgb(245, 245, 245)]fastboot not installed[/background]
[background=rgb(245, 245, 245)]Aborted.[/background]

[background=rgb(245, 245, 245)]How can i overcome this? Thank you so much in advance![/background]
 

·
Registered
Joined
·
49 Posts
Dear sir, thank you very much for your great efforts.

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

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

[background=rgb(245, 245, 245)]dfu-until not installed[/background]
[background=rgb(245, 245, 245)]fastboot not installed[/background]
[background=rgb(245, 245, 245)]Aborted.[/background]

[background=rgb(245, 245, 245)]How can i overcome this? Thank you so much in advance![/background]
http://www.webupd8.org/2012/08/install-adb-and-fastboot-android-tools.html
http://www.seeedstudio.com/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, View attachment typescript.txt
 

Attachments

·
Developer
Joined
·
339 Posts
Discussion Starter · #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.
 

·
Developer
Joined
·
339 Posts
Dear sir, thank you very much for your great efforts.

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

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

[background=rgb(245, 245, 245)]dfu-until not installed[/background]
[background=rgb(245, 245, 245)]fastboot not installed[/background]
[background=rgb(245, 245, 245)]Aborted.[/background]

[background=rgb(245, 245, 245)]How can i overcome this? Thank you so much in advance![/background]
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).
 

·
Registered
Joined
·
3 Posts
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!!

THANK YOU SOOOO MUCH! you are a life savor
 

·
Developer
Joined
·
339 Posts
Discussion Starter · #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, View attachment 36547
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.
 

·
Android Beginner
Joined
·
365 Posts
How would I be able to try out the open multi cmd on my tp that has bootie working but won't accept doctor or your tp img to reset the partitions. To see if my emmc is bad

Sent from my Galaxy Nexus using Tapatalk 2
 

·
Registered
Joined
·
1 Posts
So for v004, there is no need for QPST and the steps under Windows? I already did the Windows steps with the now deprecated TPDebrick v0.1. Then I was stuck somehow on the Linux steps. What can I do now?
 

·
Registered
Joined
·
3 Posts
After getting through the initial byte writing I receive this

Code:
Executing file...<br />
Checking QDL mode...<br />
Writing file tz.mbn ...<br />
Sending MAGIC...<br />
MSG: Qfprom Fuse List: Blowing FAILED	<br />
MSG: Failed Fuse addr:  <br />
MSG: 0x00000000<br />
MSG:	Error Status:  <br />
MSG: 0x00000000<br />
Sending secureMode...<br />
Sending openMulti ...<br />
MSG: Open multi failed, unknown error<br />
ERROR: Open multi failed, unknown error<br />
Invalid openMulti response.<br />
Cannot write file tz.mbn<br />
Aborted.
Anything I can do?
 

·
Registered
Joined
·
12 Posts
tpdebrick v004 by jcsullins

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.
I'm using a live USB stick with persistence, made from Canonical's own ISO of 11.04. Some minor issues with the tpdebrick script that I've hit so far.

Code:
<br />
--- .tpdebrick_2013-01-30 2013-01-31 03:36:06.000000000 +0000<br />
+++ tpdebrick 2013-01-31 08:50:18.000000000 +0000<br />
@@ -67,7 +67,7 @@<br />
   echo "Aborted."<br />
   exit 1<br />
  fi<br />
- add-apt-repository --yes ppa:nilarimogard/webupd8<br />
+ add-apt-repository ppa:nilarimogard/webupd8<br />
  if [ $? -ne 0 ];<br />
  then<br />
   echo "add-apt-repository failed"<br />
@@ -81,14 +81,14 @@<br />
   echo "Aborted."<br />
   exit 1<br />
  fi<br />
- apt-get --yes install dfu-util<br />
+ apt-get -y install dfu-util<br />
  if [ $? -ne 0 ];<br />
  then<br />
   echo "install dfu-util failed"<br />
   echo "Aborted."<br />
   exit 1<br />
  fi<br />
- apt-get --yes install android-tools-fastboot<br />
+ apt-get -y install android-tools-fastboot<br />
  if [ $? -ne 0 ];<br />
  then<br />
   echo "install fastboot failed"<br />
It appears that either the apt tools don't accept "yes" as an argument at all, or only the abbreviated form.

I believe I am stuck in the same place as under QPST on Windows. Is there anything more verbose that can be output in the Linux version to help diagnose this issue? Or are you folks pretty sure that it's a hardware failure in this situation?

Code:
<br />
.<br />
.<br />
.<br />
Writing 1024 bytes to 0x2a028000; 1156 bytes left.<br />
Writing 1024 bytes to 0x2a028400; 132 bytes left.<br />
Writing 132 bytes to 0x2a028800; 0 bytes left.<br />
Executing file...<br />
Checking QDL mode...<br />
Writing file tz.mbn ...<br />
Sending MAGIC...<br />
MSG: Qfprom Fuse List: Blowing FAILED  <br />
MSG: Failed Fuse addr:<br />
MSG: 0x00000000<br />
MSG:	Error Status:<br />
MSG: 0x00000000<br />
Sending secureMode...<br />
Sending openMulti ...<br />
MSG: Open multi failed, unknown error<br />
ERROR: Open multi failed, unknown error<br />
Invalid openMulti response.<br />
Cannot write file tz.mbn<br />
Aborted.<br />
Thanks jcsullins, darkspr1te, et. al.,
nido
 

Attachments

·
Registered
Joined
·
13 Posts
After getting through the initial byte writing I receive this

Code:
Executing file...<br />
Checking QDL mode...<br />
Writing file tz.mbn ...<br />
Sending MAGIC...<br />
MSG: Qfprom Fuse List: Blowing FAILED	<br />
MSG: Failed Fuse addr:  <br />
MSG: 0x00000000<br />
MSG:	Error Status:  <br />
MSG: 0x00000000<br />
Sending secureMode...<br />
Sending openMulti ...<br />
MSG: Open multi failed, unknown error<br />
ERROR: Open multi failed, unknown error<br />
Invalid openMulti response.<br />
Cannot write file tz.mbn<br />
Aborted.
Anything I can do?
Exactly the same problem


ps: thanks to jc for continued support
 

·
Registered
Joined
·
9 Posts
@jcsullins
not sure if you would see this in the old post so ...
http://rootzwiki.com...30#entry1093372
I followed TPDebrick-v004 and finished the process as instructed and got ALL DONE on Terminal.

After ALL DONE, the home button started flashing, I let it plugged with original A/C Charger for about 10 mins and got the battery symbol with a lightning inside the battery symbol.

I think it's a good because I was unable to power it on.

At this point, should I just keep charging it until it reboots automatically? Do I have to install WebOS myself? Please advice. Thanks!
 
1 - 20 of 1722 Posts
Top