New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
BinaryDroid
Old
(Last edited by BinaryDroid; 8th April 2010 at 07:28 PM.)
#1  
Member - OP
Thanks Meter 5
Posts: 45
Join Date: Oct 2009
Location: Philadelphia
Default SUCCESS! De-Bricking Dreams - Complete JTAG Testpoints! UPDATE! 04/07/10

I figured this should be in its own thread so those working on a solution can now focus on the software side of things.



These are the JTAG connection points I traced from the CPU to their test points. i'm almost 90% sure the Primary is still usable. Auxilary JTAG port is Very very hard to get too and i'd imagine even for the technicians that reprogram them at the repair center. I didnt have much luck getting a connection made due to mu lack of JTAG knowledge and incorrect type of JTAG circuit(working on another though). i'm posting up the complete testpoints I spent MANY MANY countless hours and sleepless nights tracing so someone who has done this before can get a recovery procedure made to fix all bricked HTC-dreams. The reason I am doing all of this is not specifically for the Dream but because in the field of work im in, and the type of work I do I could benefit from it both for my personal phones and at work. I did research over the years but could never quite understand how JTAG is used until now. I took my spare fully working beater G1 and unsoldered the CPU with an IR Rework Station(T-870A) at home with the intentions of placing the CPU back on when done. took ALOT longer than I hoped and because of the fact that i had to hold test probes on the contact pads tight so I could flip the board and trace their also, it killed a couple of the pads so thats when I decided to say screw it, still have all the spares for my main Dream, now I can REALLY find the rest of the pins....and a few extras that might be used in the future to add features.

********Technical Notes*******

Their are 4 Mode control pins listed in the pictures.
Mode 3 is under the SIM slot, accessing requires de-soldering 4 points holding the SIM carrier to the board.
Mode 0 is NOT a testpoint, but a solder point were a resistor could go to ground. it is VERY hard to solder too directly.
Watchdog pin can simply be grounded with a resistor in place or with a needle through the shielding which would be ground. its a single solder point.
Primary JTAG is next to the LCD connector.


When you see were the pins for AUX are located you will see why I think thats not were the focus should be...their scattered in odd places, also have to remove the sim slot to access the last one which took forever to find.
Trackball has a hidden test point for the return clock as well, otherwise you need to solder directly to the connector on the main board.

Note: Return Clock is missing in the Picture for the AUX_JTAG connector...it is located at the top right testpoint just above the trackball pad, otherwise you will need to solder directly to the connector on main board.

if you need any more just let me know, if anyone wants to add to this please feel free.
Images are NOT MINE, they are the property of whomever took them, I only traced and added the labels, if their is a problem with using them let me know!





IF anyone wants to donate a bricked G1 board for experimenting or donate in general please feel welcome! email@ irenep@binarytechzone.com
The Following 4 Users Say Thank You to BinaryDroid For This Useful Post: [ Click to Expand ]
 
CrazyEye
Old
#2  
CrazyEye's Avatar
Senior Member
Thanks Meter 0
Posts: 256
Join Date: Jul 2009
Location: Vegas, Nevada
Great job, I hope someone with the knowledge can jump on this because even if my phone isn't bricked (which its not) there's always a chance it could get bricked. This is a pretty good find in my opinion.
A clearer picture might be needed though if its possible.
Please get off your high horse
 
innerspace
Old
#3  
innerspace's Avatar
Senior Member
Thanks Meter 7
Posts: 380
Join Date: Jun 2009
Default nice find!

I'll be watching this as it "develops".
2 x Sensation - S-OFF -CM7 SelfKanged2
Hacks: Volume+, OVPN/CIFS, GTALK w/ Video

Rooted G-Slate
TAKE MY ADVICE, DO NOT BUY ANY LG PRODUCTS.
LG LOCKED THE BOOTLOADER ON THE G-SLATE AND REFUSES TO TALK TO DEVELOPERS ABOUT IT.
LG CAN KISS MY ASS.


Retired
HTC Dream
 
scholbert
Old
(Last edited by scholbert; 30th November 2009 at 10:38 PM.)
#4  
Senior Member
Thanks Meter 530
Posts: 1,218
Join Date: Aug 2007
Hey BinaryDroid,

that's great stuff!!
Excellent finding, now we need some software
Maybe someone should check out accessing the phone with QMAT!

BTW, here's a picture stolen from the Phonewreck team.
I just inserted the testpoints you found. Hope it's O.K.!
If not tell me and i will delete the picture immediately

EDIT: Deleted attachment, because of copyright issues

Very nice work!

Cheers,
scholbert
 
lbcoder
Old
#5  
Account currently disabled
Thanks Meter 83
Posts: 2,649
Join Date: Jan 2009
Quote:
Originally Posted by BinaryDroid View Post
...their scattered in odd places, also have to remove the sim slot to access the last one which took forever to find.
Trackball has a hidden test point for the return clock as well, otherwise you need to solder directly to the connector on the main board.
If necessary, removing the sim slot and trackball is a small price to pay to bring one of these back from the dead.

But wow, I gotta say.... I wasnt expecting those primary points to be *SO EASY* to get at.
 
BinaryDroid
Old
(Last edited by BinaryDroid; 30th November 2009 at 03:57 PM.)
#6  
Member - OP
Thanks Meter 5
Posts: 45
Join Date: Oct 2009
Location: Philadelphia
Yea they were easy to trace, also over this past weekend I did manage to find the mode control pins and Watchdog pin, NAND write protection enable pin..basicallly searching for anything that might be helpful. I got the wires all soldered to the board also and the phone does recognize theirs something connected to the port but the data its returning dont seem like its correct. with nothing plugged in I get "no cable connected", after plugging the cable in i'm getting "Phone did not enter debug mode, reset?" This was before I found the mode pins using only what is posted so far and on a perfectly working phone in blue light mode which I dont think matter because it does the same thing with the phone off so long as a battery is in, does not work at all with no battery. I just went out and purchased a new camera for clearer pictures so pointing out the remaining pins is easier. I believe we may see a solution!

BTW i'm using OCD commander, plan on purchasing QMAT with JTAG this week since it tailors to HTC phones, once everything is figured out i'm sure we can use whats available free with a little modding.

@Scholbert, I thought about using those picures myself but didnt want to cause any copyright issues, I am going to put up a better picture anyhow. once thats up can you please remove the image so no one complains?
 
lbcoder
Old
#7  
Account currently disabled
Thanks Meter 83
Posts: 2,649
Join Date: Jan 2009
OpenOCD, OpenOCD, OpenOCD.

Did I mention OpenOCD?

http://openocd.berlios.de/web/

Would be great...
 
BinaryDroid
Old
#8  
Member - OP
Thanks Meter 5
Posts: 45
Join Date: Oct 2009
Location: Philadelphia
Quote:
Originally Posted by lbcoder View Post
OpenOCD, OpenOCD, OpenOCD.

Did I mention OpenOCD?

http://openocd.berlios.de/web/

Would be great...
Hehe yea I didnt try that one yet since my Ubuntu install was killed by the latest update so I had to install windows first, gonna install Ubuntu sometime this week and try the tools available their.
 
goldenarmZ
Old
#9  
goldenarmZ's Avatar
Senior Member
Thanks Meter 1
Posts: 711
Join Date: Oct 2008
Location: Sheffield

 
DONATE TO ME
Quote:
Originally Posted by BinaryDroid View Post
my Ubuntu install was killed by the latest update
You're not the only one 9.10 is a car crash.
Samsung Galaxy S3 GT-I9300 | Stock 4.1.2
HTC Desire Z | SPL: 0.84.2000 S-OFF | Radio: 26.03.02.26_M | Recovery: Clockwork | OS: Stock WWE rooted *retired*
T-Mobile G1 UK (HTC Dream) | SPL: 1.33.0013d | Radio: 2.22.28.25 | Recovery: RA1.7.0 | OS: EzTerry's MT3G w/GDE Onyx theme *retired*
O2 Mini-S (HTC Wizard G4) | SPL: Hard | Radio: 2.71.11 | OS: Custom build from WizFlo 6.1.2.2 *retired*
The Following User Says Thank You to goldenarmZ For This Useful Post: [ Click to Expand ]
 
tubaking182
Old
#10  
tubaking182's Avatar
Senior Member
Thanks Meter 11
Posts: 1,088
Join Date: Mar 2008

 
DONATE TO ME
off topic: 9.10 wrecked my mouse on my laptop, my wifi, my screen doesn't function properly, and sound is messed up.

On-topic: great job on this, i'm glad we might have a way to fix the bricked phones soon, my phone works fine but there is always that chance, and i have been meaning to get off the stock SPL
XDA has become a playground for morons and script kiddies

Tags
jtag