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)

matt12eagles 07-29-2010 02:02 AM

Re: Why sound isn't working on the TP2.
 
Well I tried it.... It broke sound in WM but idk about android... im trying to install it but it's been instaling for like 20 min. so i guess ill update you guys on what happens.

Well android won't even boot for me with the new audio .dll file.... no luck there.

shotcalla 07-29-2010 02:35 AM

Re: Why sound isn't working on the TP2.
 
Sprint Rhod400, Latest L3gion ROM...1st HPSL to be released..

No sound at all, in-call, system, nothing in Windows or Android

proxhack 07-29-2010 03:01 AM

Re: Why sound isn't working on the TP2.
 
tried on a rhod400
OS:WM6.5 Inferno
HSPL: 2.0

Didn't work, all sound was gone, even call sound.
I will try with a different rom and 1.3 HSPL

WoZZeR999 07-29-2010 03:21 AM

Re: Why sound isn't working on the TP2.
 
Causes endless reboots when cooked into the rom. Trying it recmodded just to test.

proxhack 07-29-2010 03:24 AM

Re: Why sound isn't working on the TP2.
 
Rhod400
W6.5 X rom 6-18
HSPL 2.0

Could not copy wavedev file, x protected the file.
Will try a different rom.

WoZZeR999 07-29-2010 03:32 AM

Re: Why sound isn't working on the TP2.
 
Recmodded and cooked in, device booted, but no sound.

jonpry 07-29-2010 03:40 AM

Re: Why sound isn't working on the TP2.
 
WoZZeR, you recmodded the file from your own ROM and cooked it back in your own rom, and then had it not work?

WoZZeR999 07-29-2010 03:58 AM

Re: Why sound isn't working on the TP2.
 
First I tried it as a module (reversmod) which caused the device to endlessly reboot. After that I tried the original file and got no sound. This was 2 separate tests.

jonpry 07-29-2010 04:03 AM

Re: Why sound isn't working on the TP2.
 
Could you extract a wavedev.dll from somewhere else so that when copied in the sound works? And post it?

WoZZeR999 07-29-2010 04:06 AM

Re: Why sound isn't working on the TP2.
 
1 Attachment(s)
I'm not sure what you mean, but here's the original wavedev.dll from OEMDrivers (I recmodded it so that it can be examined).

By cooking it into a rom, certs should not matter btw, incase you were thinking it was that.

jonpry 07-29-2010 04:11 AM

Re: Why sound isn't working on the TP2.
 
So if you copy this file you just posted over whatever is there. Then your sound starts working again? I want a file that causes sound to start working again.

WoZZeR999 07-29-2010 04:17 AM

Re: Why sound isn't working on the TP2.
 
I copied that file to the windows directory and sound still worked after a reboot, so that should fix anyone who tested your wavedev.

jonpry 07-29-2010 04:51 AM

Re: Why sound isn't working on the TP2.
 
Wozzer, that is great news. Unfortunately I can't pull the same trick on my phone. I think your Rom must be making it work. Which is good, that was the point of the test. I have a GSM rhod, so I can't use your rom. But perhaps you could give info on how you cooked it. What settings etc.

jonpry 07-29-2010 05:14 AM

Re: Why sound isn't working on the TP2.
 
1 Attachment(s)
The ultimate goal of this project involves a couple more steps. But since you have a working dll, and a phone that will load it. It should work. Copy that dll file to /Windows/wavedev.dlo Notice the 'o'.

Copy the attachment over wavedev.dll.

Change HKLM/Drivers/builtin/Speakerphone/Dll. to wavedev.dlo

Reboot and cross fingers. Always bootloops for me.

Change everything back.

Reboot.

Post wav.log

WoZZeR999 07-29-2010 05:36 AM

Re: Why sound isn't working on the TP2.
 
I can build one last rom before I fall asleep.

Original wavedev.dll -> wavedev.dlo

Wrapper -> wavedev.dll

change registery back to original file (wavedev.dlo)?

Edit: On my previous test (post #212, I overwrote an already working dll, but since it replaced it, it shouldn't matter). Building new rom now.

WoZZeR999 07-29-2010 06:03 AM

Re: Why sound isn't working on the TP2.
 
1 Attachment(s)
Here you go, hope it helps.

loader187 07-29-2010 01:15 PM

Re: Why sound isn't working on the TP2.
 
i would like to try this but i am kind of confused with the files. so what are the stpes to test this?

1. take the orignal wavedev.dll and rename it to wavedev.dlo
2. take the wavedevicerapper.dll and rename that to wavedev.dll?

please let me know if i am missing something or completely wrong

jonpry 07-29-2010 01:33 PM

Re: Why sound isn't working on the TP2.
 
1 Attachment(s)
Loader, that is correct. And change the registry entry.

Lioric or ACL. I have an updated wavewrapper source code that I need compiled.

Thanks!

PPCFreak 07-29-2010 02:27 PM

Re: Why sound isn't working on the TP2.
 
so with the wavedev.dll, you are getting both speaker sound and incall sounds?
Does this affect winmo sound after you boot back to winMo?

loader187 07-29-2010 03:19 PM

Re: Why sound isn't working on the TP2.
 
jonpry. what happens if i accidentally overwrote the original wavedev.dll

kriddle04 07-29-2010 03:31 PM

Re: Why sound isn't working on the TP2.
 
I am not sure where to write the files? They are on my storage card but where to afgter that?

flyers2114 07-29-2010 04:02 PM

Re: Why sound isn't working on the TP2.
 
I am just gonna put this out there....if your not sure what do from reading here...then my suggestion is dont do it...or you are gonna be back here trying to figure out what went wrong...just mho

WoZZeR999 07-29-2010 04:08 PM

Re: Why sound isn't working on the TP2.
 
If you overwrote your original wavedev.dll, the easiest way to fix it is to goto the windows directory, delete wavedev.dll and the rom should restore the original back.

kriddle04 07-29-2010 04:18 PM

Re: Why sound isn't working on the TP2.
 
just wanted a little more instructions... thanks for the help though.

zather 07-29-2010 04:51 PM

Re: Why sound isn't working on the TP2.
 
Tried wavedev.dll file and no sound in winmo and nothing in android buhu ;(

[ACL] 07-29-2010 06:11 PM

Re: Why sound isn't working on the TP2.
 
no one said this will fix sound in android.. we are simply gathering data in wince.

[ACL] 07-29-2010 10:32 PM

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

Originally Posted by jonpry (Post 1888389)
Loader, that is correct. And change the registry entry.

Lioric or ACL. I have an updated wavewrapper source code that I need compiled.

Thanks!


You are getting really good.. only one line change this time :-)

MMDRV_MESSAGE_PARAMS *pMsg = (MMDRV_MESSAGE_PARAMS*)pBufIn;

http://hotfile.com/dl/58402497/6d42ad0/waveDev.dll.html

jonpry 07-29-2010 10:37 PM

Re: Why sound isn't working on the TP2.
 
Thanks [ACL]. Wozzer, could you cook one with the new wavedev from [acl] and post the wav.log?

WoZZeR999 07-29-2010 11:31 PM

Re: Why sound isn't working on the TP2.
 
Is this a wavedev.dll replacement, or another wrapper?

Edit: It's 4K right, so I'm assuming it's a wrapper/loader?

Edit2: Flashing now, I'll let you know in a few minutes if it worked.

Edit3: I seem to have lost sound from this one. It does not create any sort of long as well. I'll try reflashing it again and see if it works on a second try.

Edit4: I've got VS2008 installed with the Smart device SDK installed, do you have the source code, or the fixed code that I can try to compile? (I want the source from a known working version, so I know if I screwed something up or not)

jonpry 07-30-2010 12:05 AM

Re: Why sound isn't working on the TP2.
 
It is another wrapper/loader. Same deal with renaming the old wavedev.dll and changing the reg entry.

WoZZeR999 07-30-2010 12:07 AM

Re: Why sound isn't working on the TP2.
 
Tried a second flash, still no sound coming from the device. I used the exact same stuff I did for the first wrapper (with the new .dll, old .dlo)

jonpry 07-30-2010 12:16 AM

Re: Why sound isn't working on the TP2.
 
Here is the source for the first version. I hex edited it to change wavedev.dll to wavedev.dlo. so you probably want to search and replace. To get something that works.

http://hotfile.com/dl/57925210/ffa24...evice.zip.html

The newer source is http://hotfile.com/dl/58402497/6d42ad0/waveDev.dll.html
Just looking over the source i noticed i didn't change all of the .dll to .dlo. But those functions aren't really called so i don't know that the deal is.

a different person did compile this one. so maybe the .def file wasn't used or something.

BTW, that's clever about deleting the dll to restore the one in rom. Hadn't thought of that.

WoZZeR999 07-30-2010 12:18 AM

Re: Why sound isn't working on the TP2.
 
That's probably the case (about not using the def), since the new dll has no exports. I'm trying to see if I can figure out how to compile this myself now.

[ACL] 07-30-2010 12:32 AM

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

Originally Posted by jonpry (Post 1889376)
Here is the source for the first version. I hex edited it to change wavedev.dll to wavedev.dlo. so you probably want to search and replace. To get something that works.

http://hotfile.com/dl/57925210/ffa24...evice.zip.html

The newer source is http://hotfile.com/dl/58402497/6d42ad0/waveDev.dll.html
Just looking over the source i noticed i didn't change all of the .dll to .dlo. But those functions aren't really called so i don't know that the deal is.

a different person did compile this one. so maybe the .def file wasn't used or something.

BTW, that's clever about deleting the dll to restore the one in rom. Hadn't thought of that.

ahh i need to heck the def file again. I know its in the vc project but i'm not sure it was compiled in.. i'll check in a bit..

proxhack 07-30-2010 12:44 AM

Re: Why sound isn't working on the TP2.
 
Hello Everyone,

I am able to do more testing tonight, is there a particular file that you would like me to use at this point?

WoZZeR999 07-30-2010 12:53 AM

Re: Why sound isn't working on the TP2.
 
I think I've got the code compiled correctly. I'm rebooting now (if that doesn't work, I'll try a re-flash). I've got the exports in dll. Fingers crossed.

Edit: Didn't work just moving it to the /windows folder. Building and flashing now with my compiled dll.

[ACL] 07-30-2010 01:02 AM

Re: Why sound isn't working on the TP2.
 
ok i see where i went wrong. Switching from debug to build didnt carry the def file with it.

Also im getting a warning that the def export doesnt match the dll. The def has waveDeviceWrapper as the library name where the dll is wavedev. Want me to recompile or Wozz got it?

WoZZeR999 07-30-2010 01:07 AM

Re: Why sound isn't working on the TP2.
 
1 Attachment(s)
Nope, I think I managed to get it. Attached is the wav.log of me just adjusting the sound level.

If this gets sound working, could the same thing theoretically be done for 3d as well?

[ACL] 07-30-2010 01:10 AM

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

Originally Posted by WoZZeR999 (Post 1889437)
Nope, I think I managed to get it. Attached is the wav.log of me just adjusting the sound level.

If this gets sound working, could the same thing theoretically be done for 3d as well?

Join us in the chat room if you can

#htc-linux on freenode

jonpry 07-30-2010 05:55 AM

Re: Why sound isn't working on the TP2.
 
Wozzer, here is a new file. Logs more stuff. Hopefully enough :-).

http://pastebin.com/XpL1LcXy


All times are GMT -4. The time now is 07:15 AM.

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


Content Relevant URLs by vBSEO 3.6.0