yashsingh1/xdaforums huggingface dataset:
[Touch GSM ROM Development] captainstu72:
Hey,

Likewise, every suggestion I could find had no luck, which I why I decided to dig deeper.

I did come across GallegoT's thread, however, I sent him a PM to see if he had got anything sorted, but I have never heard back - So I created a new one.

I was going to keep this thread posted, don't worry, I was only going to PM you when it was finished - to save you keep checking it :)

Had a few issues with it last night, tried soldering to the board, but my soldering iron doesn't get hot enough, hasn't got a thin enough tip, and my hands weren't steady enough - Also the wires I was using were fairly wide, I have swapped these for a thinner Kynar wire, and will more then likely be remaking the whole of my setup to make it easier.

Just so you have an idea - I currently have an LPT (male to male) cable which I have taken the end off, and soldered wires to 2 3 4 6 11 and 18-25. 18-25 link then into one wire, as this is to ground the device. 2 3 4 6 and 11 are connected to 100Ω resistors each. These are then connected to wires, which are ready to be connected to the device.

Thats the basics of the device - I do not have an image of what I have planned out avaliable, but you can get the idea of it from what is in this post, and using my image posted earlier.

Maybe you guys have better tools - soldering equipment etc then I do.

When this is done you need to run a program called HJtag, and NoIce. I have an idea on what to do for these, however, I have not tested it yet to want to post it on here.

Like I have said though, I will be making a guide that is as full as I can.

I will try some more tonight, to get the cables connected, and hopefully then will be able to give the whole process a go.

Thanks for your interest in this thread, even if I only manage to help one person, at least then I feel as though I will be giving something back to the community on this site.

(I'll point out now - I did not have a clue about Jtag before now - but I also have some links I will post which make some interesting reading!)

Stu
[Touch GSM ROM Development] captainstu72:
Hey to anyone who is still watching this.

I have just got my elfin all wired up, ready to go, circuit is fully continuous and there are no bridges (I haven't soldered for more then 8 years!)

However, I have been a bit stupid, my pc doesn't have a parallel port. I'm going to buy one tomorrow and get going - very annoyed about this set back, i'm such an idiot for not checking!

I'll try it tomorrow night hopefully, worst case would be friday/saturday - A long time since starting this projct, but my hopes are high and I really hope I can help some of you guys out there!

Just thought I should update you all, I don't want this thread to become dead... like our elfs :P

Stu
[Touch GSM ROM Development] bombom81:
LOL..no need to worry that your thread is dead.

I'll visit this thread everyday to see how it's going :)

BTW...do we really need the LPT Socket to do the JTAG? if so, then I will have to ask my IT man in my company to find me a "no-used" LPT socket, lucky I have an old Pentium 3 PC that I might be able to use it for this JTAG matter.

Please update the step-by-step tutorial here with photos so I can follow you easily. FYI, I am blind in this JTAG matter, so please do not mind to answer my next "silly questions".

Keep going! Thanks :)
[Touch GSM ROM Development] captainstu72:
Parallel is the only interface I have found to do it on - I would have much prefered usb or something more up to date, but we can't always have what we want.

Below are a few links that I read through before doing anything, just so I could get a vague understanding. I'm workign on the guide today on my lunch - the last part will have to be in theory.

Jtag Introduction

Someone Jtag'd an Ipaq (not the same but the concept)

Has some links to JTAG

Program we will be using for the jtag

NoIceDebugger - A program I will be using

What I think our Processor is

OMAP 850

Again, I will be making a an actual guide, this is just some reading before hand that i did that may be useful!

Stu
[Touch GSM ROM Development] captainstu72:
hey, well, i have a parallel port and have attempted the jtag.

It didn't work.

My guess is i was using too long cables, or something has come loose. My continuity tester has now died so i will be testing again on the weekend.

I'm going to post the guide i am working and what i did tomorrow. Maybe someone (bom81) would be able to give it a go and do well as i'm sure he will.

Sorry for the failure, but i am really optimistic that it will work, and that it didn't only because of something i may have wired wrong that someone else does right. I'm going to try and get a thirc elf to break and fix as well as it may just be the one i am doing is beyond repair.

Bom81, if you give this a go, good luck. I'm sure you'll have some luck!

If anyone else tries when i have the guide up, please please let this thread know, even if it doesn't work.

Stu
[Touch GSM ROM Development] bombom81:
Hi Stu..

Can you give me the russian forum that explain about this jtag on HTC Touch.

I'm going to learn it there.

BTW, how long have you made the cable? have you cut it shorter and try again the connection?

Try to read this thread : http://forum.gsmhosting.com/vbb/f98/htc-elf-dead-after-wrting-elfin-rom-650359/

This guy has the same problem with us but finally (or luckily?), the device could come to Bootloader mode. I'm going to try to PM him, so he can explain how did he get the device work.

Thanks for your try.

Regards,

Bom81
[Touch GSM ROM Development] captainstu72:
This is for the wizard - same omap 850 http://pda2u.ru/forum/index.php?showtopic=348

I can't find my link for the touch, it may be on my home pc, but it was on the same website iirc.

Cable was about 50cm's - Too long, so I am remaking it to around 15cms tonight, but will be fun as I do not have my continuity tester to make sure that the circuit has the right resistance etc. before I think I was going over by too much due to cable length.

I have started the guide, I just need a few files off my home PC, so I will do this tonight again.

It really annoys me when other threads/sites do not put everything down they have tried, the internet is for information, not for saying, "ha, i've done it!"

I'll try again tonight and tomorrow, I think I have my LPT PCB sockets waiting to be collected, all the way from China, so this will be easier for me to do ultimately.

I haven't yet given up hope, and I'm sure that if I get my document made, someone will be able to tweak it and further help us.

I just don't know how many people are using the Elf's anymore, its fine there being a thread saying we have 900's htc touch's, but how many still use them and are active on this community.... but I digress.
[Touch GSM ROM Development] bombom81:
I am really sorry that I am not good in Electronic thing, nor that I know how the electronic equipment works.

But I will try to learn from the website url you provided. Afterall, my HTC is already dead, it will not be a big problem if I make some experiments on it. If I'm lucky enough, I might wake a Frankenstein from his dead. LOL !!

Thanks,

Bom81
[Touch GSM ROM Development] ITCons:
JTAG HTC device

Thanks first of all for your effort captainstu72 and bombom81, very interesting thread.

I am also in the same situation - having a bricked device (flashed wrong ROM and/or wrong carrier) and thus also interested in getting a serial cable hooked up to it :) no bootloader - no reset. The device is therefore software-wise dead.

I would therefore also love to try your procedure to getting a JTAG connection to the device. I have not been dealing with soldering on electronic devices since I did this on commodore 64... quite a few years ago as you imagine ;) but therefore even more exciting.

I will check this thread and get a serial cable. Oh does the H-JTAG Software also run from linux since I only work on linux on this machine?

Thanks in advance and let me know if I can be of any help in this.

Oliver
[Touch GSM ROM Development] bombom81:
Hi Stu and ITCons (welcome to the thread)

I've read the Russian website and have made a translation of the thread from Russian to English using Google Traslate.

Unfortunately, as I said before, I have no competency in electronic, but I'll try to learn.

All credits for the compiled document will go to user id : MEDUSH and ARCC in the Russian Forum (PDA2U.Ru), as they mentioned this document might be reprinted by their copyright.

Please have a read to the document I attached...I'll come back if I'm finding out something (as this week I'll face my busiest week of the month, there are some reports in my daily jobs that I need to prepare to my Boss...LOL).

Thanks for your kind attention.

Regards,

Bom81
[Touch GSM ROM Development] captainstu72:
Thank you very much Bom81 :)

I have found another thread on this forum as well in the gene section, which shows how they did it on the gene too (omap 850 processor as well) I have posted on there to ask if anyone can relink to the revised download, but so far, there has been no update.

I'm going to go through what you have posted tonight bom, it matches most of what I was going which is always good (from my point of view, as it means i wasn't chasing a lost cause)

Sorry for not posting the guide yet, i'm slacking! But now, obviously, it does not matter so much as bom has posted an excellent guide in his post.

ITcons - I have had a (very) quick look, I don't think HJTAG runs on linux, although I would be interested to see how it would work in cedega/wine (this is not something I can test personally), I hope it would be able to use the LPT ports etc correctly - but again, nothing I really have a whole lot of experience about.

I'll see how it goes tonight, hopefully I should have remade my circuit again, and will be ready to test once more! - This time I am using an LPT PCB Socket - hopefully easier to do as there will be less in the way of resistance from excess cables.

Stu
[Touch GSM ROM Development] captainstu72:
Hey,

I've not let this thread die! I've been busy with work and sorting a car out for my fiancee...

I have remade my circuit, and need to get this onto the phone tonight. I found out I also had a broken wire on my last setup, which was clearly going to be a bit of an issue.

My new circuit is about 10cms long, so will be good to see if this works!

Also, does anyone know if the wattage makes a difference on the resistors? I haven't seen anything yet that say. I am using 0.25w.

Have you guys tried this yet? Or are you awaiting my findings before you have a go?

Stu
[Touch GSM ROM Development] bombom81:
Hi Stu..I'm sorry..I've been very very busy this week. I even haven't a chance to take care my positions in Forex Trading this week, just doing set and forget (my hobby to watch prices move..LOL, small money in micro account...:p...hehehe...that's why I need to see my Touch alive so I can see prices wherever I go)

Ok, back to business...

So, I've read in an article that I have translated, that we can not make the cable longer than 30 cm (I guess?)

Is this your first problem before so you can't connect to your board?

Can you please post the photos of your activities with your experiment. At least I can know, how to do it? Sorry Stu, I am really blind on this, I need to learn from U.

Actually I tried to PM this Russian in that forum, but somehow, I can not send him PM (seems that he does not accept PM). If I can reach him, I'm sure our problem could be solved. The Logic is, there's no way that we can not reset this chip to its factory default. There's got to be a way.. I wish some HTC's Technicians read this thread and give us a clue, how to bring life to our dead ELF?

Regards,

bom81
[Touch GSM ROM Development] captainstu72:
Okay, so I have tried once more tonight, I have remade my circuit (pics will be posted tomorrow along with what I have tried) Alas, nothing has changed, the device is still bricked.

I am wondering if this Elfin is just Fubar... I do have a second, but i can't do that as it is a work phone!

Does anyone have a bricked elf they are willing to sell to me in the interest of research? I will be posting on the marketplace tomorrow the same. If so, please send me a PM and we can come to an arrangement - I can provide my ebay details etc so you can check out my feedback if you are concerned.

Sorry for the lack of results!

Stu

(annoyed it didn't work!)
[Touch GSM ROM Development] captainstu72:
Attached are some photos of my setup. Hope these help.
[Touch GSM ROM Development] bombom81:
Stu..to do this JTAG, do we just need the motherboard only and we do not need any other components to be connected to the motherboard?

Also I read that doing JTAG is loading a fresh bootloader to the device. So, in your plan, where to download the bootloader for this device? Or our objective is just to make this device get into the bootloader?
[Touch GSM ROM Development] captainstu72:
Hey Bom, I'm not sure, this is something I treid to test, even modded my case to accomodate the cables better. But as I had no luck generally, I am not able to say, I'm trying to get hold of another to test some more, i'm even after some broken ones so that i know they work first to make sure the method does work. It could be worth trying either way, again what is the worst that is going to happen.

Stu
[Touch GSM ROM Development] bombom81:
Stu..just IMHO.

When I Plug in the charger to my device, the orange light even does not light on. Someone said to me, this could be happen if the IC Power is broken.

What about yours? When you plug the charger to your device, does the orange light turn on?

In my article, one of the symtomps said that the JTAG will do if the orange light is on when we plug in the charger. If this is the condition that must be met to do the JTAG, I'm worried that my device does not meet the requirement to do the JTAG.

What do you think?

BTW, I'll open my device tomorrow and try the JTAG as yours and I'll report what ever happen here. Actually I've got all I need, but sadly, I forgot to bring my tools to open the device today. ( i have no time at home, I plan to do this on the rest time of my working hours)

Ps : I found an interesting thing on my device. this morning I tried to charge my friend's battery using my dead ELF. there's no reaction on device. no light on, no response. But the battery getting warmer. After half an hour, I release the battery from my dead device, and put it on my friend's touch. The battery was 3% when I charge to my dead device, but after it's charged, it's 45% !!! means that my device can charge battery, but the device can not sense that there's a charge action being done on the device. I think that's because the OMAP Processor is on a dead state, so it can not detect there's that action. I don't know, this is the power failure on the board, or the OMAP Processor problem? but i'm quite happy, hopefully I'll be able to resurrect this dead elf.
[Touch GSM ROM Development] bombom81:
Hi Stu, I've read one of the link you have provided :

On step 3, the article said (someone JTAG his IPAQ) :

"Part 3 - Reflashing the Bootloader

We need to make the iPaq believe that the battery is present, or it will refuse to work. So you have to short the two leftmost pins of the battery connector on the mainboard, and hold down the battery switch with a piece of duct tape. Connect the power supply to the Ipaq. You need to connect the mainboard to the button board to do this, or you can use GND and the VCC pin directly. Connect the JTAG cable to your PC and the iPaq."

Have you consider this condition when you do the JTAG? May be you were fail because you did not "cheat" the Touch that the battery is present.

Regards,

Bom81
[Touch GSM ROM Development] captainstu72:
Thats the same as what I had on mine - a nice battery charger basically. it should be recoverable from that state (I think so anyways, or else this thread I started has no use!)

I did try with the battery in the device, completely assembled, to see if that was any use, no luck unfortunatly. This battery was fine, as I had charged ti to 100% and was showing as 4.14Vs, same as the one I have in my work(ing)ELF.

I'll give it another go with shorting them out, I'm also going to try another variation, with some 2.2k ohm resistors coming off the main 5 pins and then taking that to VCC.

I'm sure something will work with this, I'm hoping to get another device soon so that I can test some more, failing that, I may risk my working device. If I can do it with that, I know the other was dead, and then consequently helps you guys out too.

(If anyone reading has a spare elf thats just gathering dust.... PM me)

Stu
[Touch GSM ROM Development] captainstu72:
Well, I have now ordered a JTAG Interface from the internet, which I'm going to try when that turns up, to see if it is just how I am making the circuit. Hopefully this will arrive soon, hopefully by the weekend, so I can test then.

I am still trying to get hold of another ELF/Vogue to test this on as well to elimiate the fact my broken elfin is far to broken.

Bom, Let me know how yours goes, I do understand that you can only do yours in your working break.

Stu
[Touch GSM ROM Development] bombom81:
Stu !!!!

You're gonna really love this !!!

I'm connected to my processor using HJTAG and the circuit which using IC !

I am now going to No Ice :). hope everything will go smooth

But I am now confusing...what bootloader software I must load to my device? Is it IPL or SPL? I've made a thread in ROM Development Section but had not been answered yet :(
[Touch GSM ROM Development] captainstu72:
Fu***ng A!

Thats brilliant Bom, did you use the original circuit layout?

Okay, from here I was going to send it the SPL, I was going to try and use http://xdaforums.com/showthread.php?t=320155.

And dump that in at the offset, its great to know that someone has got this to work. Shame I couldn't but at least I can pretty much guess that means my Device is well and truly broken. I'm still hunting another to be a test victim.

Great work Bom, I think you may have to make a guide :P (I'll post what I have on my lunch [1pm BST/12pm GMT], but as you have been successfull...)

Did you have the battery and whole device put together, or literally only the Motherboard will the cables to the LPT port?

Stu
[Touch GSM ROM Development] bombom81:
Stu.. I'm using this circuit :

And use this setting for your H-JTAG :

If you're soldering fine exactly like on the scheme above, and make the correct setting as above...I'm sure you''ll be doing good.

I've installed the NoIce Debugger..and I think I'm finally loading the SPL. But I can not make sure am I doing right? because still.......when I try to put on my charger, the orange light doesn't come out :(

When I connect the device to the LPT Port of the computer, I just plug in the charger to USB device, put a crocodile jack on + and -, and go on with H-JTAG. Come on Stu...I'm sure you can do it !!! The IC and Resistors only worth US$ 0,5, go make another circuit. i need to discuss with you when deciding which SPL I must try to load. :)

And one thing to confuse, after I load the boot loader, do I need to directly load the shipped RUU, or disconnect it first from the computer, and disassemble the JTAG Circuit, Re-Assembly all my device's parts and do the RUU? I kind like a confuse to disassemble the cable which had been soldered to the motherboard, because my Office Boy has alreday go home and I'm worried if I disassemble the cable now, and the Loader is fail, I'm going to wait till tomorrow to ask him soldering the motherboard, while I'm hating to wait til tomorrow.

What do you think Stu? Especially, on the case when I tried to plug in the charger and put the battery, the orange light still does not want to light on.

Here the picture of my component :

sorry for the bad quality picture :) It's from handphone :)
[Touch GSM ROM Development] captainstu72:
Hi Bom,

I don't know at which point the orange light will be alive again - haven't got that far myself :P I'd presume when the SPL has been loaded. This is taken from the post that started me off on this - it is in broken english, sorry.

This is after doing the dump in NoIce

I hope that helps,

I'm going to try again on the weekend (can't in the next few evenings) to see if I have any luck. This time hopefully I will be using a testboard to make my soldering easier, and reduce my habit of breaking wires!

Stu
[Touch GSM ROM Development] bombom81:
I really have no luck with this device ;(....it's still dead. I think there's a problem with the power issue (may be a power IC on the device is dead).

But anyway...here is my PDF Document showing step-by step on JTAG Process.

Hopefully someone can fix my error.

BTW..the SPL I loaded was from this thread :

http://xdaforums.com/showthread.php?t=320155

I loaded the "elf_spl_pof.nb" file, inside the folder :

ELF_USPL-v1\ELF_USPL\LOADER

Please correct me if I'm wrong with these steps..it really su*k to get this far but still, the "Frankenstein" doesn't want to wake up. :(

Big Thanks to Stu for your inspiration to do all this ;)

I'm waiting your result Stu :)

Good Day Everyone
[Touch GSM ROM Development] captainstu72:
Hi Bom,

I have had a look through and all seems to be right, as far as I know and perceive.

Did you mean the SPL loaded successfully onto the ROM of the device?

If so, your device should be CID Unlocked (I think thats what POF SPL does from memory.. Custom rom time!) and it may be able to accept a gold card? (Rom section Sticky) There is an .n file which is an unbricker which can get it into bootloader mode.

Hopefully the rest of my parts will turn up today or tomorrow and I can spend a decent amount of time on this over the bank holiday weekend.

Sorry I can't be more help yet, but I'm getting there!

And Bom, Thank you also for your help in testing this on your device as well, its nice to see other people getting involved in a project I wasn't sure would even get 2 hits on the thread! (1 would be me!)

I'll keep you posted, have a good weekend :)

Stu