PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Android On TP2 (http://forum.ppcgeeks.com/forumdisplay.php?f=179)
-   -   Why sound isn't working on the TP2. (http://forum.ppcgeeks.com/showthread.php?t=121743)

coolsilver 06-19-2010 12:07 AM

Re: Why sound isn't working on the TP2.
 
Quote:

Originally Posted by [ACL] (Post 1824032)
Yes, Haret is retardedly powerful. Dzo a while back released some scripts to help parse the dumps.


I remember using it back when trying to port linux to my Dell X30. Never happened then again everyone went to a smart phone or newer Dell Pocket PC.


I agree HARET is one epically awesome program.

gface2k 06-22-2010 11:44 PM

Re: Why sound isn't working on the TP2.
 
2 Attachment(s)
I found the data sheet for MSM7500 (CDMA Touch Pro) and MSM7600 (CDMA Touch Pro 2). Not sure if its useful.

sovereignty03 06-22-2010 11:56 PM

Re: Why sound isn't working on the TP2.
 
Quote:

Originally Posted by gface2k (Post 1831424)
I found a forum at this other website that has a link for a data sheet for the MSM7600. No sure if its of any use


http://www.omnia-repair.com/forum/to...-rhodiumw-jtag

very good document. unfortunately, a lot of us have learned the hard way that the 7201a is a lot different, along with other hardware on the rhodium...and so far there has not been a datasheet found...very good research, though

gface2k 06-23-2010 12:06 AM

Re: Why sound isn't working on the TP2.
 
Man you reply before I finished editing my post. I was under the impression that the community refers back to the older devices. I figure I might look for the data sheets of the TP2s predecessor.

variance 06-23-2010 01:02 AM

Re: Why sound isn't working on the TP2.
 
I've been scouring around looking for msm 7600a data sheets/info.
no dice yet. I started putting up reqs/threads in some chinese forums this last weekend. There should be some data sheets in english somewhere.

gface2k 06-23-2010 12:36 PM

Re: Why sound isn't working on the TP2.
 
Found more info on a qualcomm website.

http://www.qdevnet.com/dev/chips/msm...chipset-family

[ACL] 06-23-2010 12:47 PM

Re: Why sound isn't working on the TP2.
 
im pretty sure almost every dev out there has searched for info. Specially on a public website. So don't bother with that.

Any progress on haret?

JDM_SOHC 06-23-2010 03:38 PM

Re: Why sound isn't working on the TP2.
 
So has this gone from not possible at all, to maybe one day 1/10000 chance possible..??

Unknownforce 06-23-2010 04:06 PM

Re: Why sound isn't working on the TP2.
 
Quote:

Originally Posted by jdmsohc22 (Post 1832730)
So has this gone from not possible at all, to maybe one day 1/10000 chance possible..??

I don't remember this ever being not possible at all...

JDM_SOHC 06-23-2010 04:11 PM

Re: Why sound isn't working on the TP2.
 
Quote:

Originally Posted by Unknownforce (Post 1832792)
I don't remember this ever being not possible at all...

I just remember glazing over Slacksouls first post and reading
Quote:

The issue is quite complicated, and at this time it's agreed that the only way to make headway on the issue is to decompile the Rhodium's WinMo sound driver: wavedev.dll. Without the crucial information in this driver, we will never be able to get sound working in the TP2, decompiling drivers is a very tedious, time-consuming and complicated task, and none of the current devs are able to do it at the moment.

Unknownforce 06-23-2010 04:57 PM

Re: Why sound isn't working on the TP2.
 
Quote:

Originally Posted by jdmsohc22 (Post 1832801)
I just remember glazing over Slacksouls first post and reading

You have confused not possible and not able. Almost anything is possible given enough time and thought. You could make the phone sing and dance with the iphone OS running an emulated android in the background if you really wanted, granted it would probably require a SIGNIFICANT amount of time, not to mention some drastic modifications to the hardware to account for the dancing part... But it's still possible.

All he said there is that they need more information or ELSE it won't happen. Which is true about any aspect of any development process.

And what he said there isn't entirely accurate anyways, They can also go about it by hardware debugging rather than software disassembly... There are always ways to do things...

Again the issue comes back down to the same old story... Time... You guys have no idea how long it takes to disassemble even a little portion of a file let alone the entire thing... Even trained professionals that do this day in and day out struggle with it. And these are just people doing this in their spare time away from their own personal lives... (or in some cases, made this their personal lives ;) )

Again, it was never "Not possible." It's just that it takes a lot of time and trial and error and so on and so forth to even come up with any type of results at all and there are a limited amount of developers that actually know what their doing that are ACTIVE on the project as it is...

variance 06-23-2010 09:06 PM

Re: Why sound isn't working on the TP2.
 
Quote:

Originally Posted by [ACL] (Post 1832363)
im pretty sure almost every dev out there has searched for info. Specially on a public website. So don't bother with that.

Any progress on haret?

where can i find those parsing scripts you mentioned earlier?
I also pulled the trigger on the freelancer thing. they'll be getting started next week on the decompiling of the driver. I'll post up what they give me for verification. (Any quick/dirty way i can verify what they give me isn't worthless?)

[ACL] 06-23-2010 09:38 PM

Re: Why sound isn't working on the TP2.
 
Quote:

Originally Posted by variance (Post 1833483)
where can i find those parsing scripts you mentioned earlier?
I also pulled the trigger on the freelancer thing. they'll be getting started next week on the decompiling of the driver. I'll post up what they give me for verification. (Any quick/dirty way i can verify what they give me isn't worthless?)

script for parsing what exactly?

ok, so you got a freelancer to decompile ? No idea how to check. If i knew arm asm, id probably would have figured this out by now.

JDM_SOHC 06-23-2010 10:43 PM

Re: Why sound isn't working on the TP2.
 
Quote:

Originally Posted by Unknownforce (Post 1832924)
You have confused not possible and not able. Almost anything is possible given enough time and thought. You could make the phone sing and dance with the iphone OS running an emulated android in the background if you really wanted, granted it would probably require a SIGNIFICANT amount of time, not to mention some drastic modifications to the hardware to account for the dancing part... But it's still possible.

All he said there is that they need more information or ELSE it won't happen. Which is true about any aspect of any development process.

And what he said there isn't entirely accurate anyways, They can also go about it by hardware debugging rather than software disassembly... There are always ways to do things...

Again the issue comes back down to the same old story... Time... You guys have no idea how long it takes to disassemble even a little portion of a file let alone the entire thing... Even trained professionals that do this day in and day out struggle with it. And these are just people doing this in their spare time away from their own personal lives... (or in some cases, made this their personal lives ;) )

Again, it was never "Not possible." It's just that it takes a lot of time and trial and error and so on and so forth to even come up with any type of results at all and there are a limited amount of developers that actually know what their doing that are ACTIVE on the project as it is...

Cool story..

flofy22 06-23-2010 11:36 PM

Re: Why sound isn't working on the TP2.
 
exelent explaination ! hope you get complete the proyect some day mi donation its in waiting mode :P

hyperfire21 06-24-2010 09:09 AM

Re: Why sound isn't working on the TP2.
 
any chance the froyo build will help with the tp2 sound issue?

[ACL] 06-24-2010 10:27 AM

Re: Why sound isn't working on the TP2.
 
Quote:

Originally Posted by hyperfire21 (Post 1834318)
any chance the froyo build will help with the tp2 sound issue?

not at all.. android itself has nothing to do with the issue. its all kernel related.

veeeee 06-24-2010 02:11 PM

Re: Why sound isn't working on the TP2.
 
Quote:

Originally Posted by [ACL] (Post 1833557)
script for parsing what exactly?

I think he means for parsing the haret dumps

[ACL] 06-24-2010 11:43 PM

Re: Why sound isn't working on the TP2.
 
Quote:

Originally Posted by veeeee (Post 1834975)
I think he means for parsing the haret dumps

those haret memory dumps you can read with a binary viewer. or use the command below to parse em

od -v -A x -t x4 <my dump>

byrnsey88 06-25-2010 05:20 PM

Re: Why sound isn't working on the TP2.
 
Well today when I was setting up the latest xdaandroid on my device when I was clicking the onscreen buttons to configure my gmail account I could here the slightest beeps. They happened only when I clicked the button and not just when i touched anywhere on the screen. Was just something I noticed.

grymcent 06-28-2010 08:35 AM

Re: Why sound isn't working on the TP2.
 
Thanks for a great explanation, and all the work you all put in.

I used to be a programmer years ago, and new C+ but I'm a little outdated and wouldn't know where to start helping;
Anyone written up a quick and dirty guide to helping? Maybe if we throw enough programmes at it we will find it?

Grymcent

YnYng 06-28-2010 06:41 PM

Re: Why sound isn't working on the TP2.
 
any word from " freelancer thing. they'll be getting started next week on the decompiling of the driver" variance talked about?

Unknownforce 06-28-2010 11:54 PM

Re: Why sound isn't working on the TP2.
 
Quote:

Originally Posted by YnYng (Post 1842540)
any word from " freelancer thing. they'll be getting started next week on the decompiling of the driver" variance talked about?

Just thinking logically here... Next week, is this week, and he said they'll be getting started... so my guess is that it is going to take them some time to decompile/disassemble it all. Run it through a few verification processes, as any business that intends to stay in business would, and then submit the work back to the customer... I wouldn't expect anything until the end of the week at the VERY LEAST and that's a pretty damn short time for this kind of work. Just a guess.

proxhack 06-29-2010 12:01 AM

Re: Why sound isn't working on the TP2.
 
I am wondering if you know what's the expected freelance sound work is going to cost and how we can help?

YnYng 06-29-2010 12:44 AM

Re: Why sound isn't working on the TP2.
 
Quote:

Originally Posted by Unknownforce (Post 1843054)
Just thinking logically here... Next week, is this week, and he said they'll be getting started... so my guess is that it is going to take them some time to decompile/disassemble it all. Run it through a few verification processes, as any business that intends to stay in business would, and then submit the work back to the customer... I wouldn't expect anything until the end of the week at the VERY LEAST and that's a pretty damn short time for this kind of work. Just a guess.

gotcha. i guess im just impatient. nasty vice, impatience. =P

hyperfire21 06-29-2010 08:47 AM

Re: Why sound isn't working on the TP2.
 
Maybe someone can get in contact with Darch or Cyanogen.. they fixed sound problems on various kernels on android phones with the newer updates. they might have an idea on this.. just throwing it out there.

AmeiseMike 06-29-2010 11:11 PM

Re: Why sound isn't working on the TP2.
 
I'm assuming you've already ripped through all of the released Android Linux kernels on the HTC site?

http://developer.htc.com/

deechte 07-01-2010 09:13 AM

Re: Why sound isn't working on the TP2.
 
Thanks for the detailed explanation. I wish I could be of any help! I cross my fingers you ever get this to work on Rhodium and Topaz! Keep up the good work!

[ACL] 07-01-2010 12:15 PM

Re: Why sound isn't working on the TP2.
 
Ohh you can help.. raise funds to buy more devs tp2s.

JDM_SOHC 07-01-2010 10:12 PM

Re: Why sound isn't working on the TP2.
 
How would that help in development, it's not like the ones they're using are broken..??

Kinda shitty that half the statements in this thread have been sarcastic or useless..

[ACL] 07-01-2010 11:09 PM

Re: Why sound isn't working on the TP2.
 
pretty damn useless .. lol

not enough kernel devs have tp2s.

gface2k 07-02-2010 11:03 AM

Re: Why sound isn't working on the TP2.
 
I notice a while back that if I turn on my TP2 with the usb head set or head phones connected, I get no sound out of WinMo. This morning I tried it again and I get the same results. I even called some one and they could hear me but I couldn't hear them.

I can't remember the rom I was using when this first happen but right now I'm using Mr. X (not the latest, the one before).

Just an observation. Hopefully that might get some ones brain gears turning.

daddymikey1975 07-03-2010 11:37 AM

Re: Why sound isn't working on the TP2.
 
Quote:

Originally Posted by [ACL] (Post 1848348)
pretty damn useless .. lol

not enough kernel devs have tp2s.

I'd be happy to test stuff for the kernel devs. (I can't donate my device to science cuz it's my daily use phone) but I'd be more than happy to test packages, etc.

daddymikey1975 07-03-2010 12:35 PM

Re: Why sound isn't working on the TP2.
 
I did a search and found these free disassemblers/decompilers.

I'm currently playing with a couple of them and the wavedev.dll file.

daddymikey1975 07-03-2010 12:47 PM

Re: Why sound isn't working on the TP2.
 
1 Attachment(s)
I downloaded RecStudio from here: http://www.backerstreet.com/rec/recdload.htm

Then I ran the .dll file through the disassembler

Will any of this help ?

variance 07-05-2010 04:17 PM

Re: Why sound isn't working on the TP2.
 
just quick update. the chinese devs have already begun on the decompile. I'm getting a friend who's a BS compsci to look at the code they give me to verify quality of work and identify the calls and all that. thing is. he's also in third year med-school. I only get updates from him on the weekend.

daddymikey1975 07-05-2010 04:35 PM

Re: Why sound isn't working on the TP2.
 
Quote:

Originally Posted by variance (Post 1852235)
just quick update. the chinese devs have already begun on the decompile. I'm getting a friend who's a BS compsci to look at the code they give me to verify quality of work and identify the calls and all that. thing is. he's also in third year med-school. I only get updates from him on the weekend.

Thanks for the update :D

Your contribution is much appreciated. I'm really glad that there are some that have some resources to contribute. I wish my economical position were such that I could be as generous.

I'm truly thankful for all the devs and contributors of other resources (financial and testing) that have made this project what it is and what it will become.

THANK YOU :)

[ACL] 07-05-2010 04:41 PM

Re: Why sound isn't working on the TP2.
 
lol... disassembling alone wont help. I mean i have disassembled almost all the files needed for hardware 3d and have some basic understanding of it but i'm no ASM guru. Yall should read my open gl thread.. lot of asm there.

It would be nice if we were to get something more devs can dive into. For example tracing exactly what a call does from start to end. Asm bounces around a lot so its easy to lose track if you aren't a used to it.

can these guys conver the asm to C for us ? lol.. maybe too much to ask.

JDM_SOHC 07-06-2010 01:47 PM

Re: Why sound isn't working on the TP2.
 
Has anyone from the actual Android Development team chimed in on this at all..?? I'm sure they'd be able to lend a hand in decompiling, coding, etc... Although I still don't see this ever making it to 100%, it would be cool to get some more knowledgeable individuals involved, who actually know what files do what, and most importantly enough most of the Android dev's were most likely WinMo dev's at one point so they'd specifically know what to change and what not..

yoyo81 07-06-2010 02:27 PM

Re: Why sound isn't working on the TP2.
 
It is certainly possible to get a C/C++ implementation out of ASM for a particular architecture. Not sure if it would be prohibitively expensive (975 min order, )or whether the results would be any clearer/more understandable than ASM.

I'm with ACL on the need to do a trace. Didn't someone say they were willing to JTAG their TP2 and trace the runs? That might be helpful. What we need is a friend on the inside in HTC's dev group. :)

See:
http://www.mpsinc.com/assembly.html
For pricing info:
http://www.mpsinc.com/translation.html

Disclaimer: I do not work for this company, nor do i have any dealings with this company. They just came up first on a google search for ASM -> C cross compilers.


All times are GMT -4. The time now is 05:12 PM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0