yashsingh1/xdaforums huggingface dataset:
[EVO 4G Q&A, Help & Troubleshooting] conductive:
I looked in bin and there were many links to the tool box that appeared to be associated with error logging. With this in mind it seems to me that this link is part of the recovery/installation process.

I would try to correct the permissions.
[EVO 4G Q&A, Help & Troubleshooting] batman722:
I was able to do a hard reset and my phone booted up rooted still..so I restored my apps from Titanium Back up.

Right now I can shut my phone off, restart it, no problem. If I go into recovery, problem.

I need to get rid of clockwork asap, I've read about Amon_ra's recovery but I don't think I have enough knowledge yet on how to install. I've tried installing from a zip but I'm just not doing it right. I can go into folders on my phone (root explorer), should I just delete clockwork anywhere I find it ? I just don't want to go blindly deleting files, that would be dumb.

I need recovery back...this is scary

suggestions ?
[EVO 4G Q&A, Help & Troubleshooting] cb7tuner93:
I have been into Android modding since My G1 from day ONE, I bricked a friends G1 and had to swap internal stuff and fixed it so I have never had a problem I could not solve till now, Like the guy above I cannot boot into my ROM. I have running Myn's Roms since his(their) first release with ZERO problems until RLS5. I started getting random reboots so like any other time when this happened with anyone elses ROM I did the Recovery, Wipe Dalvic Cache, Wipe Cache reboot and that was that, However today my Evo would not stop rebooting every 5-10 minutes so I wiped from scratch even my sd card was wiped, then reflashed Myn's RLS5 got it to boot once and after finishing SETUP it was on for like 2 maybe 3 minutes and again REBOOT!!! this time staying on the white screen, So I pulled the battery and went to recovery and wiped dalvic and cache rebooted and from then on It does not get past the white screen, I can still get into Fastboot and Recovery but it DOES NOT boot into the ROM, I am now Flashing MYN'S Z 2.2 and praying it boots. Do you guys think VIRUSES are now affecting OUR EVO's????
[EVO 4G Q&A, Help & Troubleshooting] batman722:
I just need to get rid of clockwork and I'm still stuck on that...
[EVO 4G Q&A, Help & Troubleshooting] batman722:
help ... :(
[EVO 4G Q&A, Help & Troubleshooting] teh roxxorz:
Attached is amon_ra 2.3 boot into the bootloader and apply update, reboot, boot into recovery and clockwork will be gone. :)
[EVO 4G Q&A, Help & Troubleshooting] batman722:
ok, I just want to be clear.

First, I'm sorry if I'm noobish

next, I'm gonna put that PC36IMG on my SD card (just anywhere on the card) then go into the bootloader, choose apply update, then boot into recovery, then done, correct ?

side note, I've read around that it should be put on the root of the card, I don't have a root folder on the card, but there is one in the internal system file (found it in root explorer).

just want to clarify before I loose everything again.
[EVO 4G Q&A, Help & Troubleshooting] teh roxxorz:
You are correct, and the "root" of the sdcard means to just be on the sdcard, not inside any folders. Also don't extract the zip file.
[EVO 4G Q&A, Help & Troubleshooting] batman722:
solved.

you sir, are my hero.

you have solved my problem, I'm speechless and so freakin excited right now.

I sincerely thank you and owe you.
[EVO 4G Q&A, Help & Troubleshooting] jozanich:
Would this work for the Incredible as well? I have the same issue (tried to flash clockwork recover but can't get into it on the phone). Also cannot get into the ROM, so stuck at the boot screen and nearly every command brings me back to it...

Thanks
[EVO 4G Q&A, Help & Troubleshooting] plainjane:
You would have a different method - the zip file would be named something else. I don't know what recoveries you have available for your phone, so you might just want to try reflashing ClockworkMod.

Search the Incredible subforums or ask your question there for the exact process.
[Captivate Q&A, Help & Troubleshooting] miahsoul:
I have the drivers and everything and mount has worked before, but after a clean wipe and master clear I can't mount anything/or continue downloading through download mode because my computer can't seem to detect when my device is plugged it. It makes no sound, as if it weren't plugged in at all. WTF is happening!

nvm fixedqq
[Epic 4G General] Top Nurse:
Has anyone modified their desktop doc so it can be used to transfer files via the USB connection? I have given up on Samsung making good on the sound output and have opened up the little beastie so I can see what's going on. Headed to electronics shop tomorrow to see about getting a female micro USB connector because I want to ditch the whole circuit board.

Will post some pics of the innards later tonight. Any help or comments are appreciated. :)

Sent from Bonsai 6
[Epic 4G General] Kcarpenter:
Theres a fix for audio.... O_0
[Epic 4G General] Top Nurse:
Well, who needs audio. ;) It is in pieces now and going to wire it up so it will charge in the dock, use USB, work with my case on, and have the LED light on.

Got used to this kind of behaviour with my Treo and miss it. :D

Sent from Bonsai 6
[Epic 4G General] latinmaxima:
Did you ever do this? Also can you post pics of the dock taken apart. I want to mod mine to accept the extended battery.
[Epic 4G General] arashed31:
PICTURES PLEASE!!! :D

Also, how did you get it open? It seems tricky.
[Epic 4G General] dwallersv:
I'll have to pile on too -- any pics, Top Nurse?

Or even just a quick outline in how you opened it (presumably without damaging it). I can't figure it out -- at least, so long as I'm not willing to start prying in seams with a screwdriver.

My interest in this has peaked because of the awesome mod that someone (can't find the thread to thank him!!!!) put together -- SGS_Dock_Audio_Fix.apk -- that makes the audio out on the docks work automatically, like they should... insert the Epic, audio switches to the dock jack. Remove it, audio switches back to the speaker.

However, the audio is absolutely horrible. I mean, unlistenable, for me at least.

I suspect this is an artifact of the electronics in the dock -- I'm assuming it's not a direct analog transfer of the signal over the USB datapins, but rather a more "standard" use of the dock as a USB audio device as per USB spec, and therefore the actual D/A conversion is happening on a board inside the dock.

I want to mess with it and see if a) I'm right, and b) if I can fix it.

Otherwise, despite the (once again) correct fix for this from one of our community members, it's still for the most part unusable, thanks to Samsung.

Geez, this whole debacle with the dock-out audio for the Galaxy line is becoming ridiculously pathetic and incompetent. Unbelievably so.
[Epic 4G General] bmasephol:
Did anyone ever have any luck looking into the issues with the dock. When I use the one I have if I have the charger plugged in the audio has static and if I unplug the charger the audio is better but it seems like I'm loosing a lot of the bass. I might try tearing mine apart to get a look this weekend but if you guys have already done some work and there is no way to fix it then I'd not attempt it.
[Epic 4G General] kynolin:
That's a great idea. I'm so frustrated with how much Samsung charged for a dock that doesn't work at all out of the box. I'd also like to see pictures. I'm using mine right now to cover up the power light on my computer, while I play Skyrim. It's the most useful it's been yet; it's a perfect fit, and I can still see the HDD light flash. :p
[Epic 4G General] bmasephol:
I tore mine apart last night, and actually didn't damage it. I'll have some pictures later to show how to take it apart and what it looks like.

I'm pretty green when it comes to electronics but the internal board is very simple and it really looks like the output from the epic's usb has the audio on a couple pins, then power on a pin and then ground on another. I think the issue may be that everything is sharing the same ground, the headphone jack and the charging circuit share a ground which might be causing the static.

Like I said, I'll get some pictures posted and maybe somebody out there will have an idea on how to isolate the two circuits better... if it is even possible.
[Epic 4G General] colo-natas:
Very interested in this. I haz 3 x desk docks (one each bedside for my wife and me and one for my desk at work) and a car dock. I was hella pissed when the line out on the car dock didn't work because I was tying it into the car kit. Been thinking of drilling through the dock's slider on the car dock to hack in a 3.5mm jack but if I can hack the board in it instead that will be a lot cleaner.
[Epic 4G General] bmasephol:
Ok I got some pictures taken. Some are good some are not so good.

If you follow them somewhat in the numerical order it shows the disassembly, I used a thin knife to pop the back plate off, from there it was removing a few small screws and then the front plate came off. After that it was removing a bracket that held the micro usb connector on the dock and then also removing a couple screws that hold the small PCB to the back plate. From there you can fish out the PCB and usb connector.

I did some tracing of the usb charger pins to the usb dock connector and from the headphone jack to the usb dock connector.

I've done some testing and it sounds like with everyting torn apart and plugging things in with the PCB laying on my desk the static on the audio is gone but it still sounds hollow. Note this test was run with power being supplied from a computer usb instead of using a wall plug.

I'm really intersted in the quality of the sound coming over the dock usb connector. I think I may pickup an additional headphone jack from the shack tomorrow and wire it to the correct pins and ground to see if the PCB is causing any interferance.

I need to get my wall plug out to test for static from it as well. Maybe there is a difference between using the Samsung one and my old HTC charger to which I've plugged in a micro usb cable.

I'm not sure what the purpose of the LED on the dock is but it did turn on for me when I had it plugged into the computer, I don't remember it coming on when I plugged it into the wall plug.

I'll update with more info when I do some more testing.

Another note is that you can see that my PCB's solder joints don't look all that uniform, seems some of them might have been reflowed and the PCB is kinda dirty for something that seems like it was pretty air tight when the case was all snapped together.
[Epic 4G General] bmasephol:
Found this good thread with information about how the phone knows that it has been inserted into the dock. Does some explaining as to what some of the resistors on the PCB are for. I'm making the assumption some of the other ones are for the LED that is used on the dock.

http://forums.androidcentral.com/epic-4g-accessories/64959-what-triggers-car-dock-mode.html

Looks like the source of that information was here on XDA...

http://xdaforums.com/showthread.php?t=980937
[Epic 4G General] bmasephol:
Just to follow up on this whole mess...

I finally did a kernel test when upgrading to EL30. Looks like the stock kernel does something to make the audio better (more bass, less tinny). Anybody know why the custom kernels make the audio not so enjoyable?
[Epic 4G General] bbelos:
The code I brought into the CM7 ShadowKernel must be just enough to get it functional. I will need to do more research and comparisons with the stock kernel code to see if there is more I can add to improve the sound.
[Epic 4G General] dzl:
ok so it doesn't look like there is much going on with that board, doesn't look like it could be a DAC at all. so its sending analog sound through the USB port? strange....would be awesome if we could use the voodoo sound stuff with it.
[Epic 4G General] notsosmrtgeek:
+1
[Epic 4G General] lost_:
bmasephol, you sure about that?

One of my E4Gs is on stock EL30. I used a pair of IEM to test this. The sound from the dock is tiny, lacking bass. I compared it side-by-side with another E4G running bbelos' MTD CM7 kernel and they sounded exactly the same. I then plugged the IEM directly to the phone's audio out, and the sound was much better as expected. This all says the USB audio route, as has been said elsewhere and here, doesn't go through the onboard DAC or least much less amplified than the headphone out.

But for me it's not a big deal. In the car, the head unit took care of it (just have to crank it up a bit), and at home, a small T-Amp can do the same.

Bbelos, beside xcaliburinhand's another kernel source, you might want to look at drhonk's CM7 Bali kernel. Roy also has other interesting stuff in some of his Galaxy kernels(like BLN!)
[Epic 4G General] bmasephol:
Yes - I may have spoke too soon. I did my tests while my dock was still torn apart. Now at work this morning the dock sounds like **** again...

I'm going to take it home and try again tonight. I swear last night while I was listening to it all torn apart it sounded way better.

I'll update later tonight.
[Epic 4G General] dzl:
is our phone the only galaxy s that has this problem with audio out through the dock?
[Epic 4G General] rsage:
I'm going to propose a theory... feel free to shoot it down for those who have more knowledge about this than I do... I'm going back to knowledge I had 15 years ago when I used to work for a company that specialized in digital audio products...

A DAC (digital-to-audio converter) is an actual physical electronic component, which obviously converts a digital stream (1's and 0's) into an analog signal to the output jack. The DAC on the Epic 4g is a Wolfson DAC, pretty decent quality DAC with some nice features that apps like Voodoo Sound can tap in to.

The USB connector on the Epic 4g (which the desk and car docks plug into) is just that - a USB connector, which transfers *digital* information. Audio via USB is (I'm assuming) using some protocol which allows digital audio bits to be transfered over a USB connection. Therefore, the audio coming out of the USB connector is still digital, i.e. *not* being converted to analog inside the phone.

The small circuit board inside the dock has an attached headphone jack, and part of that component including the surrounding circuitry *is in fact a DAC*. In fact, I believe it's a totally crap DAC (compared to the Wolfson DAC used by the Epic's headphone jack). So the docks have their own crap DACs which do the digital-to-analog conversion outside the phone. Therefore, I think it's impossible (or nearly impossible) for a phone app to control the dock DAC (like Voodoo controls the Epic's on-board DAC). Only thing I can think of is to use a music player on the Epic that has a built-in EQ which would affect the sound before it hits the USB output. Either that, or try to replace the DAC on the dock's circuit board, or have a really awesome car stereo which can tweak the sound enough to make it tolerable ;)

If this has already been posted somewhere I apologize, there are a couple threads on this general topic and I haven't kept up with all of them...

Edit: if it's not clear that I'm implying this, another point: I don't think it's possible that the Epic's on-board DAC can possibly affect the audio coming out of the USB connector that the docks use
[Epic 4G General] bmasephol:
I'm glad someone besides myself gave this some thought. If you check the pictures of the dock I tore apart above you'll see that the circuit board in the dock is really simple, unless the DAC chip would be tiny and could be enclosed inside the 3.5mm headphone jack I don't know where it is on the board.

I thought from what the other posts I had found and linked above said is that the USB has 5 wires, when a resistor is placed between two pins it triggers in either Desk or Car dock mode internally on the phone and it fires some software event behind the scenes. That would leave 3 other pins... the phone charges itself when docked, I'm assuming it shares a ground with the one of the 2 pins it triggers dock mode with and then that would leave 2 pins left to carry analog audio (R and L channels).

Does that sound crazy?

Better than that... if you look at the pic of the back of the board it has the wires labeled...

5V = obvious

G = obvious

ID = ?

D+ = ?

D- = ?

I think ID would be used for activating dock mode... I guess I can try to trace it on the board and see if it runs to a resistor that is 619k. I would expect it to connect to the G at some point.

So that leaves D+ and D-. What i really want to do is tear apart a usb cable... plug the wires into my breadboard. mimic some of what the existing board does.... the dock has a blue LED that lights up when the phone is docked... we could skip that. And then see if just connecting headphones directly to the D+ and D- would give me audio.

I'm betting that because all 3 of the functions (charging, activating the dock mode on the phone, and playing music) share the same ground that possibly some feedback/interference is occurring on the analog side of things. But I'm not that good at electronics. And don't have tons of free time.
[Epic 4G General] rsage:
I don't think any of the wires/pins on a USB or micro-USB connector carry analog audio. You'd have to dig up the USB spec to be sure.

Also DAC's aren't always necessarily "chips" as we think of computer chips, i.e. most cheap DAC's aren't chips that sit on a circuit board. DAC's can look like the audio jack that you're seeing on the dock's board. This is just what I'm remembering from my days of working with computer digital audio workstations 15 years ago. The connectors on those boards were obviously larger (1/4" compared to 3.5mm), but often times the DAC and the "jack" were parts of the same component, if that makes sense.

I searched around for a real spec of either of the Samsung docks and couldn't find one, not even on Samsung's website. That would tell us for sure.

Edit: I posed before you edited your post, interesting information, thanks for posting
[Epic 4G General] bmasephol:
That does it, I think I'm stopping at Radio Shack on my way home... See if I can grab a few things and maybe a cable to tear apart...
[Epic 4G General] J3ff:
Whatever you guys figure out, please report back, I'll tear the board apart to get a real working solution!!
[Epic 4G General] bmasephol:
Also just noticed I failed to reference the thread with the information about switching on Dock mode...

http://xdaforums.com/showthread.php?t=820275
[Epic 4G General] Mykon:
The pcb has "Octa Desk Mount" printed on it, which I find interesting.

Samsung: "While the original AMOLED touch screens were thin, they needed to have a touch sensor panel (TSP) layered on top of it, which resulted in an extra layer of glass. We saw room for improvement and began to work on the so-called Super AMOLED (On-Cell Touch AMOLED) display, which would eliminate the additional touch screen overlay and integrate the touch sensor onto the AMOLED panel itself." ... "Reflecting these additional improvements, we named the new screens Super AMOLED (the new OCTA displays) screens."

I'm guessing "Octa" didn't catch on because "Super AMOLED" was already catching on. They must have sent the engineering designs off to the factories long before names started catching on.

This leads me to believe the pcb is the same in most of the Galaxy S docks, at least those from the first generation. Maybe even that latest (Stratosphere) dock uses it.
[Epic 4G General] Mykon:
First step is to make a working schematic, which shouldn't be too hard if the pcb is only 2 layer. You can test continuity with a multimeter to confirm each trace. Then note the components and their values.

Here's a start:

J1 = USB power input (voltage, ground)

J2 = Analog audio output (left, right, ground)

D1 = diode polarity & drop?

D2 = diode polarity & drop?

D3 = diode polarity & drop?

D4 = diode polarity & drop?

D5 = diode polarity & drop?

D6 = diode polarity & drop?

D7 = diode polarity & drop?

D9 = diode polarity & drop?

Q1 = transistor type?

C1 = capacitor value?

C2 = capacitor value?

R1 = resistor (222k?)

R2 = resistor (103k?)

R4 = resistor (222k?)

R8 = resistor (550k?)

You need to be able to read the writing on the capacitors or use a capacitance meter for those tiny caps. Have fun soldering those back onto the pcb.

:D
[Epic 4G General] dwyw42:
Have no fear, the EEs are here to save the day!

Ok, maybe not save the day but at least clear some things up. To start, my professional experience lately is in software, I'm running on about 4 hours of sleep (yay newborn baby!), and I can't see the board very clearly on my phone (so someone more knowledgeable feel free to shoot me down in flames), but I don't see a DAC on the board and I would be very surprised if there was a DAC integrated with the headphone jack.

What I do see is a few capacitors, resistors, diodes, and a single transistor (which looks to be possibly filtering the external power?). From this, I think it's possible that they're piggy backing the audio on the data lines and separating the signals with simple high pass and low pass filters (a resistor and capacitor circuit designed to filter out low frequency [audio in this case] or high frequency [USB communications] and pass the rest down the line). With better quality pics and/or looking on my PC, I might be able to get a better idea of what's going on if I could see the traces on the board.

To answer the question about the USB wiring, 5v and ground are obvious of course, D+ and D- are the data lines for USB (it's a differential signal between the two), and the last is ID, which is used to signal host or slave on devices that support both (see the thread about porting USB host to the phone).

Finally, I don't own a dock, but the tinny/bass-less sound could be caused by the signal most likely being a line-out level signal, which needs to go into a line-in input for pre-amplification before being sent to speakers/headphones. If someone has a receiver, you could test this by hooking the dock to a line-in input and then plugging headphones into the receiver, then comparing to headphones directly to the phone.