jcsullins latest TPDebrick v004

Search This thread

marcustaz

Senior Member
May 31, 2012
613
176
Hope This helps TpDebrick

Hope this helps you other Win7 64bit users as it's taken me over a week of searching and trial and error to get this issue sorted.


I was using ubuntu-14.04.3 64 bit version

If you get the following message:

ubuntu@ubuntu:~/Downloads/tpdebrick-v004$ script
Script started, file is typescript
ubuntu@ubuntu:~/Downloads/tpdebrick-v004$ sudo ./tpdebrick 16
dfu-util not installed
fastboot not installed
Aborted.
ubuntu@ubuntu:~/Downloads/tpdebrick-v004$

On the Ubuntu desktop screen:

Click system settings (on the left hand side) then click software & Updates

Then on the Ubuntu Software tab tick community maintained free ..... (universe)

Then go back to terminal and run (just copy and paste everything between the " " below and press enter)

"sudo apt-get update"

"sudo apt-get install dfu-util"

"sudo apt-get install android-tools-adb android-tools-fastboot"

"sudo apt-get install android-tools-fsutil"

Once these have been installed go back to the tpdebrick-v004 instructions and try again

It should now state Connect touchpad and Hold Power+Home+VolDown buttons on Touchpad for 30 seconds

Also note, when i did this it would not work so i pressed Power+Home+VolUP the touchpad then said now release buttons and away it went :grin:

All done it rebooted back into cyanogenmod boot screen and fired up as if nothing was ever wrong with it = Beauty! :grin:

Many thanks JCSullins I couldn't have fixed my Touchpad without you, by the way your Touchpad Toolbox is a masterpiece. Hope you keep adding to it in the furture.



We love our Touchpads, we've got 3 in our house and I've now got a happy 5 year old again who can now get back to playing Minecraft with his brother :emoji_u1f604:
 

quimbola

Member
Feb 25, 2008
28
0
I know this is an old thread bu I am so close to getting it figured out. This is my error.

ubuntu@ubuntu:~$ cd Downloadsd
bash: cd: Downloadsd: No such file or directory
ubuntu@ubuntu:~$ cd Downloads
ubuntu@ubuntu:~/Downloads$ dir
tpdebrick.v004 tpdebrick.v004.zip
ubuntu@ubuntu:~/Downloads$ cd tpdebrick.v004
ubuntu@ubuntu:~/Downloads/tpdebrick.v004$ sudo ./tpdebrick 32
sudo: ./tpdebrick: command not found

What am i missing?
 

jtornone

Senior Member
Sep 17, 2011
50
2
Near Greenville, SC
I know this is an old thread bu I am so close to getting it figured out. This is my error.

ubuntu@ubuntu:~$ cd Downloadsd
bash: cd: Downloadsd: No such file or directory
ubuntu@ubuntu:~$ cd Downloads
ubuntu@ubuntu:~/Downloads$ dir
tpdebrick.v004 tpdebrick.v004.zip
ubuntu@ubuntu:~/Downloads$ cd tpdebrick.v004
ubuntu@ubuntu:~/Downloads/tpdebrick.v004$ sudo ./tpdebrick 32
sudo: ./tpdebrick: command not found

What am i missing?
Which version of Ubuntu are you using? It needs to be 12.4 32bit It will not work on the 64bit version.
 

_litz

Senior Member
Oct 29, 2011
627
282
Alpharetta, GA
It's been eons since I touched the old touchpad ... it died over a year ago.

Pried it apart, discovered the battery was ... fried is being kind. Way, way, bad.

Ordered a new one (all of $30 on amazon), and after tpdebrick session, it came right back to life. Just amazing ...
 

marcustaz

Senior Member
May 31, 2012
613
176
Last edited:

Tracks650

Member
Nov 13, 2015
42
2
Here ya go brother tptoolbox_v42 :good:

https://drive.google.com/file/d/0B1hMj9wyICefVlNpMlZNalBvSWs/view?usp=sharing

And just in case you were hard bricked like me and nothing else worked:

tpdebrick-v004

https://drive.google.com/file/d/0B1hMj9wyICefbDEwVXh1Vm1WdGM/view?usp=sharing

What about the instructions??? It say online here to be sure to follow steps 11 through 23??? carefully but I don't see anywhere to a read me file with instructions?
Tx
 

shumash

Senior Member
Jun 1, 2008
1,782
2,813
Google Pixel 3
I've tried signing up a dozen times. It won't let me. Canadian address maybe?

Here's what it says:
jcsullins, on 30 Jan 2013 - 8:21 PM, said:
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

You can get most of what you need from here:
HPTP WebOS Essentials
 
Last edited:
  • Like
Reactions: Tracks650

Tracks650

Member
Nov 13, 2015
42
2
Perfect, Thanks, This is just what I was looking for.
Tonight if I get a chance I'll try Debricking it.
Thanks again.
 

shumash

Senior Member
Jun 1, 2008
1,782
2,813
Google Pixel 3
Thank you for your patience, this is all new to me.
I'm using Ubuntu 14.4. Packet doesn't seem installed. Did a search for it in software center, it isn't there.
The link above sent me to :https://developer.android.com/studio/index.html#tos-header:
Do I install theis package for windows?
or
Should I go back to 12?

The links go directly to some pages that give specific instructions on how to install the missing applications from the Linux command line (not Software Center). I have no idea how you got to the link you posted.

Pretty much everything in the Rootzwiki thread says to use Ubuntu 12.04 LiveCD to run TP Debrick. I have never run debrick nor would I know what trouble you are creating for yourself by running 14.04. You don't need to do anything other than run the LiveCD since it boots off the CD/DVD drive.
 

Tracks650

Member
Nov 13, 2015
42
2
Used the Ubuntu 12.04. process worked! Got the "ALL DONE" at the end. Woohoo!
Touchpad rebooted to boot menu, chose cyanogenmod 12, Android Icon showed up...............then it just hung
 

henry333

Senior Member
Feb 20, 2009
60
7
I was able to revive my dead touchpad. Thanks jcsullins!!!

I followed the instruction in the tpdebrick_v004.zip but ran into a few problems
1. I couldn't get ubuntu 11.4 to boot my two PCs (one won't boot and one have no wifi driver)
2. I ended up using ubuntu 16.4 (12.04 is probably a better choice)
3. I had to do "chmod 755 tpdebrick" before run it with sudo (probably unnecessary with 12.x)
4. I had to sear and run "Siftware & Update" and check all repository source (for next step)
5. I installed dfu-util and fastbook with
sudo apt-get install dfu-util
sudo apt-get install fastboot
6. I have to add a legacy option -oKexAlgorithms=+diffie-hellman-group1-sha1 to all scp and ssh commands in tpdebrick

At the end, i got the "ALL DONE" and I let the touchpad connected for another 10 minute before switching to USB charger and reboot it.

Now I have to figure out which android rom to (re)install.
 

heavyt

Senior Member
Aug 29, 2011
103
23
I was able to revive my dead touchpad. Thanks jcsullins!!!

I followed the instruction in the tpdebrick_v004.zip but ran into a few problems
1. I couldn't get ubuntu 11.4 to boot my two PCs (one won't boot and one have no wifi driver)
2. I ended up using ubuntu 16.4 (12.04 is probably a better choice)
3. I had to do "chmod 755 tpdebrick" before run it with sudo (probably unnecessary with 12.x)
4. I had to sear and run "Siftware & Update" and check all repository source (for next step)
5. I installed dfu-util and fastbook with
sudo apt-get install dfu-util
sudo apt-get install fastboot
6. I have to add a legacy option -oKexAlgorithms=+diffie-hellman-group1-sha1 to all scp and ssh commands in tpdebrick

At the end, i got the "ALL DONE" and I let the touchpad connected for another 10 minute before switching to USB charger and reboot it.

Now I have to figure out which android rom to (re)install.

Can you explain how you did step #6 please, thanks.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    http://rootzwiki.com/topic/38786-tpdebrick-v004/

    Jcsullins did it again, and has provided the touchpad community with a complete toolset and guide to fix a bricked touchpad. Hit it up if your touchpad has been bricked or your facing the dreaded questionmark of death.
    5
    Hi everyone - trying to revive my touchpad from the battery question mark problem. I am running TPDebrick and it's goes all the way until the end and aborts. Here is the end of the message file that fails:

    Checking/updating known_hosts...
    Copying A6 files...
    Unable to negotiate with 192.168.7.7 port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
    lost connection
    A6 files copy failed.
    Aborted.

    Any ideas??

    Thanks!

    It just so happens i do! i was a little bored this evening so i decided to try and resurrect my dead 32Gb TP and hit that same error, a little research revealed that diffie-hellman-group1-sha1 is disabled by default in current builds of openssh, so you have two options here, start by cracking open the debrick script in your favourite text editor and scroll down to the bottom section to get to the section where it failed,

    ooh look its right near the end, its practically begging to live! if you dont fancy a bit of random scrolling you can find the first ssh command on line 646 of the script, now you simply need to add the flag to enable the algo like such: -oKexAlgorithms=+diffie-hellman-group1-sha1 the whole line will look like this:


    ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -i ssh-key root@192.168.7.7 /tmp/PmA6Updater -x -d 0 /tmp/a6_firmware.txt.00


    so from here the choice is yours, you can just insert the command and copy paste each line into the shell (when asked for a password just hit enter) or mod the script by adding the command to any command that starts with ssh (if you dont want to start from scratch and continue with the device in netchip mode youll need to cut the script from line 557 down and run that) the outputs from the commands will vary but should look a little like this:

    Code:
    root@kali:~/Desktop/tpdebrick-v005# ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -i ssh-key root@192.168.7.7 dd if=/tmp/emmc_appsboot.mbn of=/dev/mmcblk0p7
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    Permissions 0766 for 'ssh-key' are too open.
    It is required that your private key files are NOT accessible by others.
    This private key will be ignored.
    Load key "ssh-key": bad permissions
    root@192.168.7.7's password: 
    89+1 records in
    89+1 records out
    45720 bytes (44.6KB) copied, 0.325275 seconds, 137.3KB/s

    once complete your touchpad should soar back to life like a phoenix from the flames. just in case anyone is feeling a bit lazy ive attached modded scripts, theres one for the full process and one that just does the netchip section. enjoy and of course thanks to jcsullins for his excellent work

    @longknives

    i got the Qfprom Fuse List: Blowing FAILED error but it didnt cause an issue running in the latest build of kali (running in a VM) and tpdebrick-v005
    3
    TPDebrick - my steps are slightly different/updated from original

    I'll leave it here and hope this will help someone else. My steps to debrick definitely a little different from original post. I've made it from memory and as n00b friendly as possible (I hope, cuz that's what I am!)

    Pre-check:
    Check that the HP Touchpad has a chance to live. After all the combinations of home+power, home+power+volUp and home+power+volDown fails
    - Plug microUSB cable into a Windows 10 computer, press and hold home+power+volDown
    - With the PC volume enabled, my Win 10 recognized that a Palm device has been plugged in, and in the Device Manager (right click on the Windows button > Device Manager) it will show a Palm device with invalid drivers.
    Result: That shows to me that it's not something more worrisome like a big HW failure.

    Preparation: Here are links that worked for me as of June 20, 2017
    WebOSDoctor 3.0.5: http://downloads.codefi.re/jcsullins/webos/doctors/original/webosdoctorp305hstnhwifi.jar
    TPDebrick-v005: http://downloads.codefi.re/jcsullins/tpdebrick/tpdebrick-v005.zip
    Ubuntu 16.04.2 LTS: https://www.ubuntu.com/download/ubuntu-kylin (SELECT 32-bit)
    For Windows users, download Universal-USB-Installer-1.9.7.8 at: https://www.pendrivelinux.com/downloads/Universal-USB-Installer/Universal-USB-Installer-1.9.7.8.exe
    Result: You have all the necessary initial binaries to get going.

    Get the OS ready:
    1. If you don't run Linux daily (I don't either), you need a USB stick
    ** NOTE: running a Linux USB means if you reboot the machine in anyway, all your configs/etc during the session will be gone. If you download any files while in linux, they're also gone.
    - Follow this guide to create the USB (mine was an 8GB stick): https://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/
    - TL-DR. Download Universal USB installer and Ubuntu 32bit ISO, run the installer. Select Ubuntu install, point it to the ISO you have, write to the USB key, confirm drive letter and OK!
    2. Reboot system and boot from USB
    - Restart machine, set your system BIOS to boot from a USB port before booting the HDD
    3. Select the very first option to boot from the USB stick (Cant' remember the actual wording)
    4. On the Ubuntu desktop, set either your WIFI and Ethernet
    - Click on the WIFI icon at the top right of the desktop, select your AP, provide credentials
    - for Ethernet, it should just work…
    5. Look on the buttons at the left of the screen and open System Settings (icon with wrench and gear) > Software & Updates
    6. Enable “Community-maintained free and open-source software (universe)” > Close > Accept any other prompts > Close System settings
    7. Open terminal (Shortcut key: CTRL+ALT+T)
    Result: You have a terminal.

    Get the Tools installed:
    1. In Terminal, type the commands below 1 line at a time, (no "")
    "sudo apt-get update"
    "sudo apt-get install openjdk-7-jre"
    "sudo apt-get install dfu-util"
    "sudo apt-get install android-tools-adb android-tools-fastboot"
    "sudo apt-get install android-tools-fsutils"
    2. You can now either copy TPDebrick and WebOSdoctor to the Home folder in Ubuntu GUI, or open Firefix and download them
    **NOTE: if you somehow reboot, all downloaded software in your USB Ubuntu will be gone, so I decided to download them via firefox.
    3. Drag and drop the files into the home folder
    4. In Terminal, do an "ls" (no quote) and ensure you see tpdebrick-v005.zip. and webosdoctorp305hstnhwifi.jar files
    5. Type: unzip tpdebrick-005.zip
    6. On the desktop GUI, copy the .jar file to the newly created tpdebrick-005 folder
    Result: You're almost ready to start. Get excited.

    Get the environment ready:
    1. In Terminal, type cd .. enough times until you see the prompt: ubuntu@ubuntu:~$
    2. Type cd /etc/ssh/
    3. sudo getit sshd_config
    4. Scroll to the bottom of the host file, add:
    #Legacy changes
    KexAlgorithms diffie-hellman-group1-sha1,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1
    Ciphers 3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr
    5. Save and exit
    6. In Terminal, type: ssh-keygen -A
    Result: You've added the legacy algorithms not enabled by default in Ubuntu.

    Ready to start debrick:
    1. Navigate back to the tpdebrick-005 directory in Terminal
    2. Run "script" (this will capture the output of the tpdebrick process)
    3. Run "sudo ./tpdebrick XX" (where XX is the size of the TP: 16, 32 or 64)
    4. Hold Power+Home+VolDown buttons on Touchpad for 30 seconds
    5 Follow any prompts and cross your fingers
    6. Find a way to charge the Touchpad back to 100%
    Result: Your device should be good to go. This worked for me after googling for a day.

    **NOTE: I used an iPad charger and a non-descript micro USB cable, and right now, it's charging to 7%

    Shoutouts:
    - jcsullins, Emba4, Pendrivelinux.com.
    2
    Solution on UBUNTU 16

    Can you explain how you did step #6 please, thanks.

    Hi all,

    I completed the process on an LIVE-USB Ubuntu 16 (64 bit).

    In order to work, you must add a legacy option -oKexAlgorithms=+diffie-hellman-group1-sha1 to all scp and ssh commands in tpdebrick.

    The attached zip has the tpdebrick executable already fixed (the option added). Otherwise here is how the tpdebrick looks like (remember to do a chmod 755 tpdebrick after you make manual changes)
    2
    I go to the Rootzwkiki page and I just get errors???
    Can anyone help?
    Tx

    Here ya go brother tptoolbox_v42 :good:

    https://drive.google.com/file/d/0B1hMj9wyICefVlNpMlZNalBvSWs/view?usp=sharing

    And just in case you were hard bricked like me and nothing else worked:

    tpdebrick-v004

    https://drive.google.com/file/d/0B1hMj9wyICefbDEwVXh1Vm1WdGM/view?usp=sharing