yashsingh1/xdaforums huggingface dataset:
[TouchPad General] syrupofwood:
Solution on UBUNTU 16

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)
[TouchPad General] TPuser32:
Hi,

can|t tell what I am doing wrong, but I cannot get fastboot and dfu-util installed. I tried so many things that I am simply clueless what to do next. I tried with ubuntu 12.04, 12.10, 16 and the latest I could download. Always the same issue. Is it possible that dfu-util, fastboot etc are simply not available for download any more??

I tried the following

ubuntu@ubuntu:~/Downloads/tpdebrick-v004$ sudo apt-get install dfu-util

Reading package lists... Done

Building dependency tree

Reading state information... Done

E: Unable to locate package dfu-util

ubuntu@ubuntu:~/Downloads/tpdebrick-v004$ sudo apt-get install fastboot

Reading package lists... Done

Building dependency tree

Reading state information... Done

E: Unable to locate package fastboot

ubuntu@ubuntu:~/Downloads/tpdebrick-v004$ sudo apt-get install android-tools-adb android-tools-fastboot

Reading package lists... Done

Building dependency tree

Reading state information... Done

E: Unable to locate package android-tools-adb

E: Unable to locate package android-tools-fastboot

ubuntu@ubuntu:~/Downloads/tpdebrick-v004$ sudo apt-get install android-tools-fsutil

Reading package lists... Done

Building dependency tree

Reading state information... Done

E: Unable to locate package android-tools-fsutil

Oh, please advise ... maybe I am missing something essential because I am a windows user?

By the way - 'sudo apt-get update' works ...

I also tried both, full ubuntu installation from disc as well as from USB stick.

Over time all my three Toupads went 'offline' so I really hope that I get at least one or two up and running ...
[TouchPad General] shumash:
Try 11.04 on a livecd.
[TouchPad General] TPuser32:
I tried with quite some versions (also on live-usb) .... but now with a clean install of the latest ubuntu on harddisk I could proceed finally!

The clue is to enable in software and updates the flag to allow downloads from ubuntu community.

Now actually I get tpdebrick running with the adapted tpdebrick from 5th page (post#51, thanks to syrupofwood for that) of this thread.

Unfortunately I get this output from my 1st Touchpad, also discussed in the post #11 to #20:

....

Writing 1024 bytes to 0x2a028000; 1156 bytes left.

Writing 1024 bytes to 0x2a028400; 132 bytes left.

Writing 132 bytes to 0x2a028800; 0 bytes left.

Executing file...

Checking QDL mode...

Writing file tz.mbn ...

Sending MAGIC...

MSG: Qfprom Fuse List: Blowing FAILED

MSG: Failed Fuse addr:

MSG: 0x00000000

MSG: Error Status:

MSG: 0x00000000

Sending secureMode...

Sending openMulti ...

MSG: Open multi failed, unknown error

ERROR: Open multi failed, unknown error

Invalid openMulti response.

Cannot write file tz.mbn

Aborted.​

And this from my 2nd Touchpad (yes, I am pressing all 3 bottons):

a@a-P6620:~/Downloads/tpdebrick-v004$ sudo ./tpdebrick 32

checking doc files ...

Connect Touchpad then hold Power+Home+VolumeDown for 30 seconds ...

QDL mode not found

Aborting.
​

Getting late here - will continue tomorrow.

Thanks for reading - I would appreciate all helpfull suggestions
[TouchPad General] d0u8l3m:
Im having issues with the bad kex for the diffe helman scheme still even with the modified script. I've tried editing the ssh_config file and adding the scheme in there manually but i cant get it to work in 12.04 still any ideas?
[TouchPad General] d0u8l3m:
So I actually got it working using Linux Mint which is based off ubuntu so idk what was up with that but it worked first go, and my touchpad is back in business!!!! now on to try and get the playstore working lol
[TouchPad General] ashbinder:
Hi there,

The rootzwiki link is down; is there an alternate link? I have an Touchpad with CM10 on it that hasn't been used in a year and it's entirely dead, even after charging for a day. Was hoping the TPDebrick would work.

Thanks!
[TouchPad General] moejarv:
I was able to get the tpdebrick-v004 file from here:

https://data.file-upload.net/downlo...origname=tpdebrick-v004.zip&valid=81838058720
[TouchPad General] fastness:
I got the exact same problems at your

My two HP touchpads were on EV14 and CM14. It was good in the evening, but won't turn on in the morning and stays at Qcom download mode. On MS Windows, Devices management, detected them as "RELINK HS-USB QDLoader 9008 COM3". But the screen won't light up. Another day, another TP died in the same way. Now I have two bricks.

Back to 2012/2013, ppl found and studied this problem. The LiPo battery comes with a A6 controller. When the battery is drained too much, the A6 controller will refuse to start, the battery won't take a charge and the tp is playing dead. ppl flash the A6 firmware regularly with TPtoolbox for this issue. Now I need to jump start the battery.

I install a clean Ubuntu 14.04 32bit at laptop, and ADB & fastboot + Dfu-util. I tried Ubuntu12.04 32bit first, but can't find the ADB/fastboot under 12.04.

Download/ save those two files.

/home/user/Downloads/tpdebrick-v004/tpdebrick

/home/user/Downloads/webosdoctorp305hstnhwifi.jar

user@laptop:~/Downloads/tpdebrick-v004$ sudo ./tpdebrick 32

checking doc files ...

Requesting SoftwareVersion...

Version: PBL_DloadVER1.0

Requesting Params...

Params: 06 01 01 00 90 00 00

Uploading file 'emmcbld.bin' to QDLOAD...

Writing 1024 bytes to 0x2a000000; 164996 bytes left.

...............

Writing 1024 bytes to 0x2a028400; 132 bytes left.

Writing 132 bytes to 0x2a028800; 0 bytes left.

Executing file...

Checking QDL mode...

Writing file tz.mbn ...

Sending MAGIC...

MSG: Qfprom Fuse List: Blowing FAILED

MSG: Failed Fuse addr:

MSG: 0x00000000

MSG: Error Status:

MSG: 0x00000000

Sending secureMode...

Sending openMulti ...

MSG: Open multi failed, unknown error

ERROR: Open multi failed, unknown error

Invalid openMulti response.

Cannot write file tz.mbn

Aborted.

user@laptop:~/Downloads/tpdebrick-v004$

Where can I find a typescript of a successful tpdebricking?

Someone revived their bricked touchpads by trickle charging with non-HP cellphone chargers,

My bricked HP touchpad was plugged to a cellphone charger 1A/5V, with a USB voltage/current meter in the middle. I found something interesting.

When I pressed power + volume up + home for 30 seconds, sent this hp touchpad to Qcom download mode. Under the Qcom download mode, it drew 70mA/5V. After 24 hours, nothing changed.

I run the tpdebrick command, get that failing message, "Cannot write file tz.mbn, Aborted.", don't push any button, and plug it to a cellphone charger. It's drawing ~150mA/5V. Let's see what will happen after 48 hours (48 hours=6000mA/150mA x 1.2 )
[TouchPad General] OrlandoAlex:
When you say it was fried, do you mean there was something physically wrong that you could see examining it?
[TouchPad General] a40dayflud818:
Since the RootzWiki page is down, is there another link someone can share that shows the step-by-step process? My TP will not turn on. >.<
[TouchPad General] shumash:
It's not down. You have to log in before you can view it. If you don't have a rootzwiki account, good luck getting one.
[TouchPad General] rebel_scum:
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!
[TouchPad General] a40dayflud818:
I've been getting this error:

E: Unable to locate package android-tools-fastboot

install fastboot failed

Aborted.

I have held the buttons down. Tried different cables. Tried different computers. I don't know how to fix this error! I opened the TP up (carefully) and the battery did not seem swollen.
[TouchPad General] rebel_scum:
You need to enable downloading software from community sources. Follow this from marcustaz:

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-fsutils"
[TouchPad General] a40dayflud818:
I don't see the option for Software & Updates on 12.04. That's the one that JC Sullins had suggested to use. I'm thinking I'll go ahead and get the latest version of Ubuntu and give that a shot. I just saw where he had stated over and over to use 12.04

I'm also encountering another oddity. Another forum post had suggested pushing the golden button on the motherboard to do a reset. I gave that a shot. Now when I am on my PC and I connect it, it makes the Windows noise and the new devices bubble comes up. There is still nothing on my display despite my attempts to do the resets again. Any clue there?

UPDATE: So I used Ubuntu 16.04.2, checked the community maintained box, did the commands rebel suggested, downloaded the tpdebrick.zip file that had the legacy drivers, and started the process by jcsullins. This time it went all the way thru! I know it says to plug it in to a HP Touchpad charger for hours but I do not have any left (thanks to the kids ruining the cables). It is currently sitting on a charger with the home button blinking.....actually as I type this, it is giving me the battery low symbol with the "To reliably charge , use the cable" message! I think it's working now! I'll keep updating as it progresses.
[TouchPad General] rebel_scum:
Glad it worked for you! I'm still trying to get an answer on my other error. I'm going to run 12.04 32bit and see if that works for me.
[TouchPad General] a40dayflud818:
I appreciate your help. However, it came to a bitter end I think. My Touchpad is up and operational, taking a charge and running Android like it always had. HOWEVER, there are spots on the touchscreen that are nonresponsive. :rolleyes: Its really weird, some spots work fine, some spots I have to press harder, some spots not at all. Not even sure what to do at this point.
[TouchPad General] rebel_scum:
Well, I finally got mine to work. I wish I could tell you what worked for me, but I really don't know! :) After the A6 failure from above I went back to 12.04 32bit. I tried it again and it couldn't find fastboot. I tried adding the other sources, but that was already selected, so I added a few different repositories and tried again and that seemed to work. I used the script to revive two dead touchpads. Once had been dead for about 3 years, the other just died a week ago. The 3 year one charged for about 12 hours before it finally turned on. I ran TP toolbox and brought them both up to android only. Back up and running! Thanks everyone for your help!
[TouchPad General] longknives:
TP Debrick-v004

Just to update this thread with my experience. I was able to run the tp debrick-v004 on a 32GB TP using Linux Mint 18.1 "serena" 32 bit, but alas it was all for naught. I got the "Qfprom Fuse List: Blowing FAILED" kiss of death, maybe I can find a MOBO for a good price and see if that will bring it back to life. :(
[TouchPad General] longknives:
Update

I've moved to phase 3 open the TP :cyclops: and have a look inside, ( phase 1=button gymnastics, phase 2=tp debrick ). The battery was pretty puffy and showed 1.8 volts. Ordered a replacement battery and then hooked up an Accucell 6 and got low battery message, switched it to NiMh and charged it at .8 amps till the charger was showing 3.6 volts and then switched to LiPo mode and charged to 3.88 volts, battery was cool and showed no additional puffiness.

Re-assembled, tried button gymnastics with no responce and moved to debrick with no responce, re-checked battery voltage with multimeter and got 2.89 volts, 24hrs later battery still shows 2.89 volts. Waiting on the new battery to arrive and re-try phase 1 & 2. If it still fails tp debrick phase 4 is next ( new MOBO ) hopefully it will come back to life at that point. :confused:
[TouchPad General] Emba4:
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:

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

[MENTION=4595446]longknives[/MENTION]

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
[TouchPad General] longknives:
Final Update..........................it's terminal.

Emba4 thanks for the heads up, I installed the new battery and took your advice and ran Kali Linux with tp debrick-V005 and the results were the same Qprom fuse failed. At this point I don't want to throw any more money at it to try another motherboard, this TP is terminated and relegated to parts donor status.

I still have 2 cruising along just fine, one 16GB running Evervolv 7.1.2 and the other a 32GB running JC Sullins CM11. At least I became proficent at opening em up and working on them.:cool:
[TouchPad General] asiliat:
For me to get past this error, adding the diff*sha1 did not work. However, here's what I ended up doing - which did.

In Terminal, navigate to /etc/ssh/

sudo gedit sshd_config

At the very bottom of host file, I added

#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

Save file

In Terminal, type: ssh-keygen -A

Re-run tpdebrick script. My Touchpad is completely out of battery, but the button has the charging indicator lights!
[TouchPad General] pconstants:
Thanks for this. Have substituted the code in the 'tpdebrick' file for that in your attached 'diffie-modded-scripts.zip' file and I'm able to get as far as this but when trying to run the above line, i get the following message:

root@kali:~/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
dd: can't open '/tmp/emmc_appsboot.mbn': No such file or directory

I'm a complete noob, but my guess is that this means that 'emmc_appsboot.mbn' cannot be found on the touchpad? Any ideas?

Am using tpdebrick-v005 on Kali 2017.1 32bit live USB to (try to) revive an HP Touchpad 32GB - battery completely flat but home button flashes alternately when plugging into AC.
[TouchPad General] omzart:
i was having problem with deffie hellman etc, but then i used your file and it was okay, just have to change the head tool stuff from v004 to v005 if you use tpdebrick v005, then everything was perfect, currently getting his battery charged.

thanks

try the tpdebrick from this post , open it and look for head, you'll find a line about it, but in version v004 change it to v005, if you use tpdebrick v005, (otherwise you'll get an error about it not being found), then the process will just go on normally and ALL DONE
[TouchPad General] mtmtumbo:
Just wanted to login and thank you for putting these steps together - when I finally got to the point to run tpdebrick under sudo, it never finished and ran into the same error some are getting suggesting HW failure:

Executing file...

Checking QDL mode...

Writing file tz.mbn ...

Sending MAGIC...

MSG: Qfprom Fuse List: Blowing FAILED

MSG: Failed Fuse addr:

MSG: 0x00000000

MSG: Error Status:

MSG: 0x00000000

Sending secureMode...

Sending openMulti ...

MSG: Open multi failed, unknown error

ERROR: Open multi failed, unknown error

Invalid openMulti response.

Cannot write file tz.mbn

Aborted.

Is there anything else that can be done about this, or is my TP now toast?
[TouchPad General] sitaulash:
I get this message. any help would be really helpful.

Executing file...

Checking QDL mode...

Sending MAGIC...

MSG: Qfprom Fuse List: Blowing FAILED

MSG: Failed Fuse addr:

MSG: 0x00000000

MSG: Error Status:

MSG: 0x00000000

RESETTING DEVICE ... (ATTEMPT #1)

Requesting Reset...

Waiting for QDL Mode...

QDL mode not found

RESET SUCCESS???
[TouchPad General] shumash:
From a Google search:
[TouchPad General] ranjib:
I ended just with the error: A6 firmware update failed.

Due to a "permission denied" error when running PmA6Updater.

Other operations went fine....

Any hints, what I can do?

Ah, I chmod +x the Updater. Hope it works now... some permissions did not survive copying onto fat usb-stick...

Ahhhh!

Yes, I got it up and running! It is now charging on the touchstone.
[TouchPad General] mikec_ca2:
scp as well

hi,

I downloaded your script and it didn't work me. However, I quickly realize the problem.

The modification you added needs to be applied, in addition to the "ssh" command, also to the "scp" command. In your script, right above where you begin to modify the ssh command, are two scp commands relating to

echo "Copying A6 files..."

and

echo "Copying bootloader files..."

Adding the modification you suggested to these two scp commands, I was able to complete the script.

Now, whether it charges is a different story....:) *knock on wood*

---------- Post added at 10:31 PM ---------- Previous post was at 10:25 PM ----------

hi,

using this 005 debricking script (with the ssh/scp modification), I was able to complete the script on one of TWO HP touchpad I have. On the second Touchpad, however, I encountered the following problem:

Waiting for fastboot mode...
(after a minute or two)
fastboot mode not found
Aborted.

Does this mean that this Touchpad is completely gone?

any help is very much appreciated,
[TouchPad General] deafasheck:
We'd be lost without you guys here on XDA.. thanks so much..
[TouchPad General] deafasheck:
Hi Shumash, it's me again Margret! lol.. I am wanting to try the TPdebrick, my TP wont turn on although the venter button shows its getting charge, am I to instal Ubuntu 12.04 32-bit onto my PC as a program? I found several results in search one says desktop Download Ubuntu Desktop | Download | Ubuntu.. one says Ubuntu 12.04.5 LTS (Precise Pangolin)

releases.ubuntu.com/12.04/

and there is a Alternative downloads | Ubuntu.. which would I need ?

as said mine will not power on although I have the nocom and tptb installed on pc already, I just cant find the Instructions on the steps to debrick.. besides what I found in this link > https://xdaforums.com/showthread.php?t=2126307&page=4 <

thanks and Happy new years!
[TouchPad General] shumash:
Ubuntu isn't a program; it's a operating system. Download the 32-bit 12.04 live cd for whatever operating system you're currently using. Burn it to a dvd or usb flash drive using the instructions here. You'll then have to boot off the dvd or usb drive you create. DON'T INSTALL UBUNTU FROM THE DVD OR USB, AFTER YOU BOOT IT. JUST USE IT FOR TPDEBRICK!
[TouchPad General] deafasheck:
Thanks I've got the iso and needing to ask, how it is I can boot off the USB and use the tpdebrick? sorry , but I have the iso and the other files, but it says 1. Click "Try Ubuntu"

2. Click the Wifi icon in top right of screen all I see in the USB is Instasll Ubuntu!?
[TouchPad General] deafasheck:
Getting there

Hi, I have ran the program it never completeted, but here is the log, seems I am missing someting? took a dozedn times in terminal to get it as was to be, and it ran great last time, but failed on the last step, here is the log, if I have saved it correctly? I finally got the command types practically memorized.. ha ha .. from looking at my attachment can you advise?
[TouchPad General] deafasheck:
I can get all commands to complete except the last one. > "sudo ./tpdebrick 32" I have tried al combinations of entering it, with and without "'s.. I thought I saved the screen shot, but it only saved to the unbunto once rebooted I lost it. I could go and re-do it and save it, but like said only Issue is the type sudo ./tpdebrick 32 how am I not entering it right? I am this close- to getting the final steps, just one command off. thanks for the help..
[TouchPad General] deafasheck:
I still get stuck on the sudo command seems I cant get it to run the command.. I'm thjinking on trying your solution,

#!/bin/sh

while !(sudo ./tpdebrick 16)

do

sudo perl qdload.pl --lreset

sleep 1

done

﻿ubuntu@ubuntu:~/Downloads/tpdebrick-v004$ cat > tpauto

#!/bin/sh

max=999

for i in 'seq 1 $max'

do

echo "Try #$i"

sudo ./tpdebrick 16

sudo perl qdload.pl --lreset

sleep 1

done

Copy tplup to the tpdebrick-v004 folder.

Type chmod +x tplup

Type sudo ./tplup

This runs the scrip automaticly and stops it when you have a succesful install. //

I'm gonna wait for my buddy's input on a prior post.. I think this tp is savable..
[TouchPad General] deafasheck:
I have a 32 thats decided not to boot to.. I was in the process of debricking the other, am currently waiting on reply from that Issue, seems it goes sweet untill I get to the sudo-v004 in put then it stops..

gonna try again this week and I just upgraded to Windows 10, so maybe that'll help? two tp's down only had one to fix.. glad I've got the third.

I keep getting unable to load fastboot and sanged if I can find how to save the type list of the terminal ?
[TouchPad General] deafasheck:
Inserting code in ubunto termial

Hi, how do you insert the code ? I keep getting failed to load fastboot and some other error, I am trying to find out how to up load the teminal read out, so I can share it here in XDA..

---------- Post added at 06:22 PM ---------- Previous post was at 06:02 PM ----------

where do I get the 005 ? or do I just type it in instead of v004?