yashsingh1/xdaforums huggingface dataset:
[Epic 4G General] bmasephol:
Glad to have some input from others.

I just finished my first go at tracing through some of the board. What I found is that a lot of the surface mout stuff is all related to getting the blue LED on the front of the dock to turn on when the phone is placed on the dock. I'll try to diagram that below. The interesting part of that is if you look where the dock connector wires are soldered to the board you'll see 6 wires, standard micro USB is only 5 wires. They have (5V, G, D-, D+ and ID) the 6th wire is labeled CHA and is connected to the case of the usb connector on the dock where you plug in your phone. Yes, it is connected to the metal shell of the connector, which makes sense as they are using this to complete a circuit to turn on the blue LED. I don't fully understand how they do it, I'm not that advanced with electronics but I give it a fair shot.

Some definitions

5V - (tied to the 5V used for charging the phone, comes in from the micro USB connector on the back of the dock which you power with a charger/usb cable)

G - the common ground that is tied to the phone, same as the 5V, it connects to the micro on the back and the G that goes to the dock connector.

LED - blue LED on the front of dock that lights up when the phone is connected and a power plug is plugged into the back of the dock. Note that the dock phono jack works with no power plugged in. The phone doesn't charge but the audio is redirected out the dock. When you do this the hissy/static is gone but the bass/tinny is still there.

L+ - Wire label that runs to blue LED

L- - wire label that runs to blue LED

The LED circuit.

CHA --- R2 [103 (10k)] --- C2 [Cap] --- R1 [222 (2.2k)] ---| |
| |--- R4 [222 (2.2k)] --- [L+] --- LED BULB -----
5V ---| | | |
|--- C1 [Cap] --- [L-] ---
|
G

I would love it if someone would help me understand how this works... I have a good idea but it gets a little confusing after the transistor. My guess is that when you connect the phone it opens the transistor to all 5V to pass to the LED, resistors are used to limit current to the LED to not burn it out and caps are used to smooth out the voltage.

Also there are D1, D2, etc labeled all over the place, which I would guess are diodes, but not a single spot has anything soldered there. I don't know exactly what a diode would do but its weird the board was designed with those spots and not used.

So for everything to make sense the metal housing of the USB connector on the top of the phone must be connected to ground as well, somehow through the phone internals, that way when CHA is grounded by the phone plugging in it will complete the circuit.

That pretty much takes care of 90% of the SMD's on the board. One other resistor comes out to be the needed 365K (SMD code is 55D). This is tied into I believe the ID pin so that it triggers the phone to go into dock mode.

What I'm going to try tomorrow or Wednesday is to cut a USB cable, identify ID and put 365K on it, use the phono plug I bought today to hook to D- and D+ and ground everything necessary. I'm assuming I'll get the non hissy/staticy audio but it will be tinny and no bass.

It's a start.
[Epic 4G General] dwyw42:
I had some ideas while you were writing that post and it pretty much confirmed them. I can't make out your circuit description on the app (you might need to draw it up in paint or something for it to display correctly on the boards). CHA is chassis which is the metal body of the device, which is usually tired to ground. So when the phone is connected, the CHA point goes to ground, which causes the transistor to activate (how it does so depends on the type of transistor, which I might be able to tell based on the circuit, but it really doesn't mean much - it's just an LED lol).

I also think you're dead on with the ID. It seems they're using a specific resistance to enable proprietary functionality - disabling the data pins altogether and using them for audio output. This explains why you can't transfer files when the external usb is connected to the PC. In fact it appears these lines on the external connector aren't even connected on the pcb.

I think you're also right about the static caused by the shared ground. They really should have included a ground loop isolation circuit since they have two different grounds in the system. I'm not sure that just hooking up a resistor will work, though, because the circuit might depend on the 5v from the external connector. But I guess it's worth a shot. You should either get no audio or static free audio!

Edit: I guess the easy answer there is - does the dock audio work without the external usb connected?
[Epic 4G General] bmasephol:
Yes the audio works without the external USB connected.

In my mind there are 2 problems.

1) Static/Hissy noise when the external USB is connected. This is caused by having the external USB connected and I believe is related to the shared ground in the whole system.

2) Tinny/Weak Bass audio output in the audio out over the D- and D+ lines.

I'm not sure if there is anything I can do about #2 but I'd love to somehow fix #1 so that I can charge the phone and listen to my music at the same time.

I'm hopefully going to do some more testing tonight or tomorrow night and then post back on the board.

I used the CODE tag to post the circuit because it was the only way to keep the spacing correct. That tag might now work in the xda app.
[Epic 4G General] J3ff:
In my car I use a 5 dollar ground loop isolator to get rid of #1, works like a charm.
[Epic 4G General] bmasephol:
Interesting, I wonder if there is anything I can do internally in the dock to just fix the problem. I'll have to research the ground loop isolators a little, or when I finish the entire schematic maybe somebody can identify where the issue is or where I can add something in to take care of the problem.
[Epic 4G General] dwyw42:
The easiest thing would be to get a headphone ground loop isolator, which has a 3.5mm plug on one end and a 3.5mm jack on the other. Then you just attach it to the dock output and plug your speakers into the plug end.

I doubt there would be enough room to put it in the inside of the dock because they use a transformer, but if there is, you'd have to cut the ground pin on the dock's headphone jack then solder the headphone jack ground to one end of the isolator and the other end to the cut pin on the pcb our some other ground pin. If you do cut the pin, you need to make sure with a multimeter/continuity tester that it is no longer grounded, as there might be multiple ground points.

I don't see any other solution to the problem, because the issue is 2 different grounds - the pc ground and the phone battery ground. In theory tying them together should be sufficient but in reality the resistance of the wires can cause current flow which causes noise. And since the usb only has one ground line you can't separate the audio and charging grounds.
[Epic 4G General] dzl:
I have the ground loop isolator - one of these guys http://www.ebay.com/itm/PAC-SNI-1-3...787?pt=LH_DefaultDomain_0&hash=item3cb587e4cb

dock output still sounds like poop.
[Epic 4G General] bmasephol:
It has been a while but I still am working on this as time permits. I got a breakout micro usb board and phono jack and wired up a simple dock activation circuit and tested the sound from the phone without using any of the desk dock parts. No hissy but also same audio levels as using the dock without the external usb (power) hooked up. Still sounds nothing like the head phone jack on the phone.

I think my next goal is going to see if I can figure out how to isolate the two circuits on the dock to allow charging at the same time as listening to music.

I'm also going to see if playing the audio through another device (with an amp) gives better audio. Does anybody know how to build a simple audio amp circuit? Would it do me any good?

Included are some pictures of the breadboarding I did. Nothing complicated. As a side note I used a 1k resistor since it was handy.
[Epic 4G General] bmasephol:
Ok a little teaser...

I had a friend and and friend of the friend help me build out a simple amplifier circuit that I then routed the usb audio out through from the phone. The initial results are very promising and the audio sounds a lot better, to the point where I could stand using it at work to listen to music.

I have some parts on order and when they get here next week I'm going to attempt to figure out how to integrate the amp circuit into the dock along with the existing board. The amp can be powered from the USB power input. It is designed for a small boost for headphone use. My best guess is that I will be able to cram everything inside the dock although it might be ugly on the inside.

I will post more details/pics next week when I get some of the initial work done.
[Epic 4G General] J3ff:
please let us know!
[Epic 4G General] Mykon:
Does the phone charge during any of the other usb functions (like during file transfers?) If the phone's bus controller is designed to send audio when sensing 365K or 1K or 619K there might be a hardware or closed source driver limitation to consider.
[Epic 4G General] zman519:
So is R8 the resistor that controls the dock being a Desk dock or Car dock?

I found this about the Car dock its says R1 on the car dock goes to pin #ID & its 624ohms on the one he measured.

Any one know what the impedance of R8 is?
[Epic 4G General] zman519:
Yes please do. I was just starting on the same thing.

Sent from the Drivers Seat of my Suby txting and Driving doing 100MPH+ in a school zone! Ha.
[Epic 4G General] lost_:
Nice and thanks for sharing. Would love to see the schematic & parts list.
[Epic 4G General] Mykon:
Would you post a comparative spectrogram to show the differences?

Use a high quality wav (rip a CD track or something) and zoom in on the spectrogram view (instead of waveform) in Audacity.

Play the same wav from your phone headphone jack and record to computer line in from Audacity.

Then play the wav again from the dock and record again.

You will end up with 3 tracks that you can align and zoom to capture a single screenshot showing a comparison.

Please post a picture of the bottom of the amp or a schematic (if you want to share it.)

Congrats on taking the project to this point. This might not be a marketable design improvement due to the age of the Epic... but it looks like the market has responded to the need for alternatives for newer devices. Check out this Galaxy Note dock for $1.50 wholesale (retailing $10-$13) http://www.alibaba.com/product-gs/534094005/OEM_Desktop_Dock_Charging_for_Samsung.html
[Epic 4G General] bmasephol:
I never though of recording on the computer to compare the headphone jack and the output of the dock. I wish I would have done it with the dock prior to modifying it.

Anyways, I built the dock at home and tested it there. Brought it to work yesterday and had terrible noise when I tried to listen to music. Did some testing with different brands of chargers here at work and it got no better. Took it home last night and everything was back to sounding fine.

I'm working with a couple friends to try to figure out what at work might be causing all the interference.

I will say I work in an old building where we have cubes as far as you can see and tons of computer equipment running. I might have to redesign or rework the power filter or figure out a way to put something on the ground to reduce noise on the headphones.

I'm going to work on a part list and circuit diagram tomorrow, my wife has surgery so I'll be sitting around all day with her at home.
[Epic 4G General] lecapitan:
I'm kind of steamed after buying this stupid dock and not being able to connect the phone to my computer :( Guess it's my fault for not researching it more thoroughly.

If I rewired this to just be a USB passthrough (skipping the board completely) could I hook up the LED in the front somehow still?
[HD2 General] hugojungle:
Hallo,

if you turn the HD2 into Landscape Mode while using the HTC Calculator, it switches over to the scientific mode.

Now I observed a strange behaviour:

If you type in 1 + 1,5 => this works

if you type in 1,5 + 1,5 => well, you can't type in the decimal point

if you type in 1 + 1,5 + 1,5 => you can't type in the decimal point of the third operand.

Is this only my phone???

Does anyone else observe this behaviour?

Is there a solution out there?

Hugo the JungleDyret
[HD2 General] martasman:
I dont have problem with calculator, works fine.

I have EnergyRom...Which Rom do You using?
[HD2 General] T-Macgnolia:
You are not crazy LOL!!!!!!!

HA HA HA HA HA............Sorry I find that kind of funny but anyway.

I just done the equations you posted and fully replicated your results man. That is wierd, but no you are not crazy. :D
[HD2 General] hugojungle:
Specifications

Sorry, I forgot to add the specification:

HTC Stock Rom 3,14 GER

and in this is the Calculator Version 1.1 (2017.1114)

Which Spec has your calculator?

Hugo the JungleDyret
[HD2 General] T-Macgnolia:
I am on the current stock T-Mobile stock ROM 3.14.531.1

My calculater is version 1.1 (Build 2017.1114)
[HD2 General] hugojungle:
Calculator Build version

Hallo,

so we have identified now, that the HTC Calculator Version 1.1 Build 2017.1114 has this bug.

Question:

- which other builds are out there and do they have the bug as well?

If we identify a bugfree version... How to replace the buggy calculator?

And whilst analysing this issue... as HTC is a Korean company, maybe somebody could explain me how Korean mathematiks works...

I have somehow the feeling that we have to recheck the results of the last PISA-Tests...

Hugo the JungleDyret
[HD2 General] Mister B:
Mmm version 1.0 builds work fine.

If you find a cab for a different build you can check the cab files & overwrite required files in ROM
[HD2 General] Franky24:
1.1 Build 2016.1322 (in ROMeOS ROM 5.01) doesn't have that bug.

Get that ROM (http://xdaforums.com/showthread.php?p=11856768).

Besides you get a really great ROM.

Cheers, Franky
[HD2 General] Franky24:
...and here's the file.

Regards, Franky
[HD2 General] hugojungle:
Solved!

Thanks to Franky24, who provided the previous build (bugfree) of the calculator, the issue is solved now.

=> just extract the ZIP container and copy the file in the Windows folder of the HD2

Nevertheless -- HTC Shame on you!!!!!

Hugo the JungleDyret
[Android Software/Hacking General [Developers Only]] abhishek_turbo911:
I really cant understand how to configure setcpu properly. Ive a rooted legend on 2.2 , 3.15 build. My doubts are:

1.What is userspace, ondemand and performance scaling ?

2.On the main menu of the setcpu if slided the bars way down to 19 max and 19 min , but it still shows 600max 480min as default as the speed ...

3. What does the "set On boot" option do ? Set the values on the sliders after booting ? But that does not happen.

4. I also want to overclock my legend. After installing the kernel , is it so that that the sliders' max value will increase ?

5. Also what is the difference between the 3.5 and th 4 kernel version and why do people recommend the 3.5 version ? (btw i wanna oc to 768)

-e-

My 2nd query is solved. i disabled the perflock and it went according to the sliders. But please explain the differences between userspace , performace and ondemand scaling
[Android Software/Hacking General [Developers Only]] abhishek_turbo911:
Any help guys ?
[Android Software/Hacking General [Developers Only]] bates060:
its easy, set on boot means what it says.

select autoconfig or recommended

drag slides to max speed and lowest speed

triggers are such as if the battery goes below say 15% it will lower the speed

;)

Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
[Android Software/Hacking General [Developers Only]] bates060:
sorry forgot to mention that performance keeps it at the max speed and on demand keeps it at lowest speed until more is needed

;)

Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
[Epic 4G Q&A, Help & Troubleshooting] iModMM:
All day today I have been trying to root my phone, I used the comprehnsive guide btw. I'm on 2.1 di18. And i used root checker and it says I don't have root access but busybox installed. Superuser is also installed. I use noobnl one click root exploit. Then I use the oneclick clockworkmod. so I keep running these bats over and over again and I got errors etc. The thing is when I shut off phone, it boots into clockworkmod recovery when I hold down volume down and camera. But I'm still not roted. Can someone help me. What am I misiing?? I'm new at this so bare with me. And I tried the update.zip wit noobnl update fix thing and tried flashing the clockworkmod kernel!! Please help thanks!!!
[Epic 4G Q&A, Help & Troubleshooting] raylusk:
Is this what you used to get root and install recovery? If not it should be.

http://xdaforums.com/showthread.php?t=770388
[Galaxy S I9000 Q&A, Help & Troubleshooting] darkness122:
1) when running CM7 beta, the only way to install swype is through the beta. are there any skins that work on it? i think the default beta skin is uglyyyyyy.

2) is there a working lockscreen like this for CM7?

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

these two features i get out of my current rom (bionix 1.3.1) are pretty awesome. if i could have these two things with cm7 then i have no reason to not use it.

thanks!
[Galaxy S I9000 Q&A, Help & Troubleshooting] darkness122:
please enter at least 10 characters
[Galaxy S I9000 Q&A, Help & Troubleshooting] kongmyy:
So I got my Galaxy S..used from a friend. it's a used unit and it's running eclair DXJG4 firmware. I've decided to upgrade it to froyo via odin (MTP Driver issue made me not use kies anymore)..At first I tried ticking repartition and flashed it and odin fails and the phone wont go past the galaxy S GT-I9000 screen. (I downloaded my DXJPA firmware from samfirmwares and I ticked both three PDA, PHONE and CSC and all of them are linked to the single tar). I tried the second time...repartition ticked AGAIN (I think this is the main problem cause now) and only ticking PDA. Odin passed. But phone still stuck at boot screen (the Galaxy S GT-I9000 screen). please help?

Ive read some topics..seems that I need to reflash it back to eclair JG4 firmware with repartition ticked and flash froyo without repartition? The most confusing part for me is whether to tick phone and CSC or not.
[Galaxy S I9000 Q&A, Help & Troubleshooting] jervis93:
hi heres a guide on dxjpa http://touristinparadise.blogspot.com/2010/11/samsung-galaxy-s-how-to-install-froyo.html

btw dxjpa isnt the latest, dxjpe is latest

guide to dxjpe:http://touristinparadise.blogspot.com/2010/11/samsung-galaxy-s-how-to-install-froyo.html
[Galaxy S I9000 Q&A, Help & Troubleshooting] electrotune1200:
You can try this.

When the phone is froze on the screen, connect it to the PC. If you can access your SD card from within Windows, format the sd card. Power down the phone, and power it back up. It should then boot past the screen.
[Galaxy S I9000 Q&A, Help & Troubleshooting] kongmyy:
i think the main problem is about im using a single tar for csc, phone and pda. might need to reflash though.

electro: I can't, its stuck in the galaxy S GT-I9000 screen. windows wont recognize it.
[Galaxy S I9000 Q&A, Help & Troubleshooting] jervis93:
redownload it from the link that i have gave u.have try using it and it definitely works
[Galaxy S I9000 Q&A, Help & Troubleshooting] kongmyy:
so I can just reflash it with the correct csc, pda files that is in the link you given and it will work? Or i need to downgrade to eclair first and then upgrade again. because I'm worried my last 're-partition' with the wrong files might need me to downgrade.
[Galaxy S I9000 Q&A, Help & Troubleshooting] kongmyy:
im downloading the files right now. wish it could be downloaded soon though, my connection is slow right now. :(
[Galaxy S I9000 Q&A, Help & Troubleshooting] jervis93:
which one u downloading dxjpa or dxjpe?

u have to enable repartition
[Galaxy S I9000 Q&A, Help & Troubleshooting] kongmyy:
dxjpa. okay i will enable. wish me good luck :)
[Galaxy S I9000 Q&A, Help & Troubleshooting] jervis93:
shouldnt have any problems if u follow the steps on the blog
[Galaxy S I9000 Q&A, Help & Troubleshooting] kongmyy:
tried it and now my phone works nicely. Thanks!
[Galaxy S I9000 Q&A, Help & Troubleshooting] jervis93:
probably think u should upgrade to dxjpb since it is actually based on dxjpa with some cleanups of the rom
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] johnnyboy8707:
:eek:i download the mini hd lockscreen on my hd2 and now i cant get in my phone. someone please help
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] T-Macgnolia:
Hard reset your phone. Cut it off and hold the volume up and volume down button down and the power button down and when the tri color screen comes up read the directions on the screen. (hint press the volume up button) :p

Edit: Have you tried cutting it off and then back on? This might be a better cboice.
[EVO 4G Q&A, Help & Troubleshooting] juanitobanano:
The new release has 4g ?? Or not yet, cause is awesome but no 4g damn
[EVO 4G Q&A, Help & Troubleshooting] _MetalHead_:
No 4G yet.
[Networking] saintsmmx:
So I am currently on a family plan, with no data. I am currently using an unlocked T-Mobile phone. Now I was wondering, I have read that ATT detects whenever the sim card has been inserted in a ATT branded smartphone, if I were to get an ATT smartphone such as an Inspire 4G, will ATT charge me for data or anything like that if I were to use my Sim card in it?

Mods, if this is in the wrong section, please feel free to move it.

Sent from the Heavens
[Networking] friend'scatdied:
Yes, they will provision you on to a smartphone data plan after a short period of time (anywhere between a couple of hours and a couple of days) even if you don't use any data features.
[Networking] saintsmmx:
Thanks for the response man.

Sent from the Heavens
[Networking] Sabobo0:
Yes I think So
[G2 and Desire Z Q&A, Help & Troubleshooting] c4c:
As I am new in this waters maybe my Q is stupid for experienced members and I apologize in advance.

Found successfully the downgrade process and files for rooting my model but somehow i got used to sense atm and going trough rooting and restoring to factory ROM isn t exactly the dream work for noob in Android.

Is there a way to make a decent backup of the phone without perm root ?

Any other use of temp root?

Answers or simple redirections to other similar posts welcome and thank you.

Alex
[G2 and Desire Z Q&A, Help & Troubleshooting] c4c:
bump

anyone ?

:o
[G2 and Desire Z Q&A, Help & Troubleshooting] nidza:
Anyhing changed in the meantime for 1.72? I also do not need root all the time, so temproot could be fine, but I see no solution so far.

Is it possible to keep phone officially updated and do temproot when needed?
[Wildfire General] hbm2679:
Why is there no hotmail widget for android? The mail app/widget we have is not of much help. I can't see the folders I have created and neither does it sync properly.

After reading mails on phone, it will be unread and if I delete it here on the phone, it will still be there when I use the web version. Any solution?
[Wildfire General] Kwen:
Setup hotmail using Exchange, google it up.
[Wildfire General] FireFly:
Configure your Exchange ActiveSync or use Gmail.

The mail viewer is much better
[Wildfire General] nicky041192:
can't view messages in html when you use activesync for hotmail :(
[Android Software Development] generalamerica:
I want to make an app that uses the internal GPS built into most phones, but I can't find a sdk example or anything like it that uses it. I'm not really sure how phone GPSes work.
[Android Software Development] PsHegger:
I didn't find any sdk examples, but you can learn it from books. Hello Android isn't too expensive and it's a really good for developers who are learning android programming
[Android Software Development] generalamerica:
I've read a lot of books and have made quite a few apps, I just don't know how a phone GPS actually works. I've never seen anything in a book talk about using the internal GPS either.