PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Titan (http://forum.ppcgeeks.com/forumdisplay.php?f=44)
-   -   Rom developers... the BT stack on the Touch works- (http://forum.ppcgeeks.com/showthread.php?t=11258)

dishe 11-07-2007 04:41 PM

Rom developers... the BT stack on the Touch works-
 
UPDATE: I THINK WE DID IT!!!
Ok folks, we've had a great group of guys working on this almost non-stop for the last few days/weeks, testing theories, hacked drivers, and infinite possibilities of ROM blends... and I'm very happy to announce that we have what appears to be a SOLID, STABLE RELEASE!


It turns out that the Touch BT drivers weren't the secret after all... they only worked when dropped into the 2.16 rom, which still had the same problems (d-pad lockups, bt shuts off, device freezes, etc).

However, combining 2.09 with a newer AKU virtually eliminates the Bluetooth quality issues that everyone complained about, and 2.09 never had the issues that the later roms introduced.

The result seems to be the best combination possible:
-BT seems stable, stays on
-BT does not freeze device when in standby even when headset disconnects
-D-pad does not get locked up
-Devices wakes up on BT command
-Voice Quality problem appears to be gone

Known issues:
-Alarm problem is still there since that existed in 2.09.

However, some of the team think that its possible to package that up and extract the fix from the later builds. So, stay tuned for a new release soon.

In the mean time, please test the current release here:
ftp://ppcgeeks:ezupload@up.ppcgeeks....nkwegotsit.rar
Please post any problems here, with as much detail as possible!

Thanks to everyone who made this possible with your insight and tireless trial-and-error patience:
DogGuy, Jtrag, and sfaure03, for being the original determined members of our group. I simply couldn't keep up with all the work these and the rest of the team put into researching the problem. These guys are driven.
no2chem for the XIP and contributions to testing and theories.
Sonny, bepe, tadzio, DCD, IMCokeMan, for the sage advice and helpful suggestions.
double0four for the "universal" rom used to port to our device, and
The PPCGeeksDevelTeam, and the members/users of this forum.

For more info, see discussion in this thread.

UPDATE 11/21:
This rom seems to fix BT quality and stability for the most part, however after spending a few days with it, I feel that it is not yet perfect.
It has many of the setbacks that the original 2.09 rom that it is based on had, more specifically the device turns on by itself randomly (something that happened when roaming on the other roms as well, however not quite as often), and in some bizzare situations, the screen hue will change slightly when the display is tapped or the scroll wheel is used. It also seems to be a little bit less snappy than roms based on the later builds.


Still, if BT is important to you, this is really the best option at the moment!
There are more options being looked into...

Original post follows (for continuity):
Quote:

I know there's been some discussion about this on the chat, but I figured there should be a post in case anyone with the skills or know-how could see it and help.

Basically, no ROM fixes BT completely- they all get close, but one seems to freeze when BT disconnects (alltel), some randomly shut off BT (Sprint 2.16), others work but had awful quality to the point that its useless (stock 2.08 and 2.09 Sprint).

Word on the street is that the Touch has NO problems with its bluetooth operation, and it is very similar to the Mogul under the hood.

So, my plea is to help figure out how we can implement whatever works on the Touch to the Mogul. Clearly Sprint and HTC are capable of getting things right sometimes, since it works on their newest device. Lets work together and get this fixed...

For more info on the current state of what we've found, please pm some of us who are working together, for example sfaure03, DogGuy, or myself... or find any of us in the chatroom.

dcd 11-07-2007 05:53 PM

does the touch use MSM7500 chipset?
i am pretty sure, it is not hard at all to grab those drivers, assuming they are for the exact same hardware.

diomark 11-07-2007 06:17 PM

Quote:

Originally Posted by dishe (Post 116194)
I know there's been some discussion about this on the chat, but I figured there should be a post in case anyone with the skills or know-how could see it and help.

Basically, no ROM fixes BT completely- they all get close, but one seems to freeze when BT disconnects (alltel), some randomly shut off BT (Sprint 2.16), others work but had awful quality to the point that its useless (stock 2.08 and 2.09 Sprint).

Word on the street is that the Touch has NO problems with its bluetooth operation, and it is very similar to the Mogul under the hood.

So, my plea is to help figure out how we can implement whatever works on the Touch to the Mogul. Clearly Sprint and HTC are capable of getting things right sometimes, since it works on their newest device. Lets work together and get this fixed...



I can confirm that the touch's bluetooth is awesome!
-mark

mezozoy 11-07-2007 06:18 PM

CPU is the same.
 
Both are using the same Qualcomm MSM7500 CPU/Chipset and BT chip is TI BRF6300 (http://forum.ppcgeeks.com/showthread.php?t=7991). Also there are references to BRF6300 in TIInit_4_2_38.bts - file in Titan 2.16 and Touch/Vogue firmware. BTW TIInit_4_2_38.bts is not present in Altell or old 2.09 Titan ROMs- just in Touch and new Titan.

There are few other files like BT_FIR_Param.txt, BT_Init_Script_TI_*.txt, BT_Name_INFO.txt etc. that looks very interesting.

I was able to port all of SYS and most of OEM from Touch to Titan successfully (some of OEMDrivers are not compatible), but not BTHCI.dll... Still have hope :-)

drunken_monky 11-07-2007 06:29 PM

I really hope that something can be done. i mean havent gone back to 2.09 since bt is choppy (I just deal with it).


please ppc gods give us a miracle, since HTC nor sprint want to

no2chem 11-07-2007 06:45 PM

I tried this - It worked, and then messed up the dpad so it didn't work anymore - unfortunately I don't seem to have time for anything lately so I didn't look into it more.

dishe 11-07-2007 06:49 PM

Quote:

Originally Posted by mezozoy (Post 116306)
Both are using the same Qualcomm MSM7500 CPU/Chipset and BT chip is TI BRF6300 (http://forum.ppcgeeks.com/showthread.php?t=7991). Also there are references to BRF6300 in TIInit_4_2_38.bts - file in Titan 2.16 and Touch/Vogue firmware. BTW TIInit_4_2_38.bts is not present in Altell or old 2.09 Titan ROMs- just in Touch and new Titan.

There are few other files like BT_FIR_Param.txt, BT_Init_Script_TI_*.txt, BT_Name_INFO.txt etc. that looks very interesting.

I was able to port all of SYS and most of OEM from Touch to Titan successfully (some of OEMDrivers are not compatible), but not BTHCI.dll... Still have hope :-)

Nice find! Progress...

dcd 11-07-2007 07:06 PM

i am also thinking this is good news for bt users in general. if the touch has a working bt solution with identical hardware, the manufacturer will deploy the same thing for titan. if not, id be really confused as to why.

now, do we have a dump of the retail touch? i have a prerelease dump but id rather start with current.

sprintdude07 11-07-2007 08:20 PM

Quote:

Originally Posted by dcd (Post 116344)
i am also thinking this is good news for bt users in general. if the touch has a working bt solution with identical hardware, the manufacturer will deploy the same thing for titan. if not, id be really confused as to why.

now, do we have a dump of the retail touch? i have a prerelease dump but id rather start with current.

maybe on htc's site?

sprintdude07 11-07-2007 08:23 PM

Quote:

Originally Posted by dcd (Post 116344)
i am also thinking this is good news for bt users in general. if the touch has a working bt solution with identical hardware, the manufacturer will deploy the same thing for titan. if not, id be really confused as to why.

now, do we have a dump of the retail touch? i have a prerelease dump but id rather start with current.

what about the mms? what software is the touch using for mms?

sfaure03 11-07-2007 09:01 PM

sprintdude07:

Right now i'd take a copy of the pre-release if you have it.. Please upload

no2chem 11-07-2007 10:17 PM

Quote:

Originally Posted by mezozoy (Post 116306)
Both are using the same Qualcomm MSM7500 CPU/Chipset and BT chip is TI BRF6300 (http://forum.ppcgeeks.com/showthread.php?t=7991). Also there are references to BRF6300 in TIInit_4_2_38.bts - file in Titan 2.16 and Touch/Vogue firmware. BTW TIInit_4_2_38.bts is not present in Altell or old 2.09 Titan ROMs- just in Touch and new Titan.

There are few other files like BT_FIR_Param.txt, BT_Init_Script_TI_*.txt, BT_Name_INFO.txt etc. that looks very interesting.

I was able to port all of SYS and most of OEM from Touch to Titan successfully (some of OEMDrivers are not compatible), but not BTHCI.dll... Still have hope :-)

just so you know, the BT stack in the sys folder "BLUETOOTH" is the same for all builds of CE OS 5.2.

livejazz 11-07-2007 10:44 PM

For all it's worth and if anyone thinks it's valid you folks might want to try this: http://forum.ppcgeeks.com/showthread...538#post116538

I am not near as savy as some of you gurus, but this is working for me and thanks to
8notime for pointing me in the right direction.

matt

waruy0i 11-08-2007 01:51 AM

@dcd
 
I have the shipped ROM (2.13) for the Touch... which file do you want? The whole exe file or just the RUU_Signed.nbh??

Here's what I've dumped so far... but don't know what to do from this point... http://www.megaupload.com/?d=PZSMBNZY

dishe 11-08-2007 02:43 AM

Ok, thanks to sfaure03, we've started testing the Touch BT drivers... apparently, they can just be copied from the Touch dump... no porting needed!
Volume is reported to be better, and it passed the "force BT to crash" test.

Now we need more testing, and if everything goes well, this should be a required addition to every custom rom!

slypher 11-08-2007 08:30 AM

Quote:

Originally Posted by dishe (Post 116725)
Ok, thanks to sfaure03, we've started testing the Touch BT drivers... apparently, they can just be copied from the Touch dump... no porting needed!
Volume is reported to be better, and it passed the "force BT to crash" test.

Now we need more testing, and if everything goes well, this should be a required addition to every custom rom!

I am very excited about this new discovery and hope that these BT drivers fix the many BT issues with the Mogul.

One thing that worries me though is that the Touch does not have WiFi. This may be why the BT works better.

If i remember correctly, the Mogul's WiFi radio and the BT radio are somehow linked...right?

I guess only time will tell.

Can't wait to see the new BT drivers in action!

-s

sfaure03 11-08-2007 09:45 AM

well, i WILL say, that wifi impacts bluetooth. If you're using wifi you're bt exp will be lessseened.. I think that is more driven by cpu load tho.

biglee 11-08-2007 10:44 AM

I would say someone should the Touch drivers into the 2.09 rom or even the 2.16 rom and see if it flys. I would be willing to give it a good test if you need a tester. I use WIFI and BT frequently

NissanGuy01 11-08-2007 11:15 AM

I would love to test as well. I tend to have some free time here at work to tinker with my phone and could test it on the way home talking to my gf.

sfaure03 11-08-2007 11:18 AM

hmm.....

lets see ftp site, its a titan, i'm a user, i'm sfaure03....

Titan/Users/sfaure03/2.16-{touch}?? .rar..

I forget the name. but if you crawl up there, you might find a jewel... Least one I like.

Remember this is a HUGE hack and is NOT advisable to use it or depend upon it until we get more testing in.

If you want to test, well go for it.

bigray327 11-08-2007 11:39 AM

Thanks, sfaure03... but are you sure that's 2.16? It appears to me a WM5 ROM. Maybe I screwed something up.

sfaure03 11-08-2007 11:55 AM

yes i am its 2.,16

winmobilelawyer 11-08-2007 12:09 PM

So if testing goes well, doesn't this mean developers could make a CAB of the touch BT drivers, just like superdave did for the Alltell keyboard drivers???

That would be... well.. amazing.

sfaure03 11-08-2007 12:12 PM

not 4 a lawyer u miight sue me snicker seriously yes.. we prollly can. IF this pans out.

dishe 11-08-2007 12:18 PM

Quote:

Originally Posted by winmobilelawyer (Post 116910)
So if testing goes well, doesn't this mean developers could make a CAB of the touch BT drivers, just like superdave did for the Alltell keyboard drivers???

That would be... well.. amazing.

Doesn't necessarily mean that. The keyboard issue wasn't as deep-seeded in the OS as the Bluetooth drivers are... the keyboard patch simply changed the status of the keyboard (from the character lock always being on) in certain situations- ie, the keyboard's OPERATION didn't change, only its status those cases. Its not like you would hit a Q and get a W, or press the caps lock and bring up the call history... that would mean the keyboard driver is messed up and probably require more than just a patch to fix.
The bluetooth drivers are not changing the status of Bluetooth, but changing the way bluetooth inheirently works. It may be technically possible, but its much more complicated than the KB fix patch is.

I think I explained this when the 2.16 rom came out in the first place, and everyone started asking why no one made a cab for all the fixes it came with...

fiya 11-08-2007 12:19 PM

is it possible to just install the files without flashing? (I re flashed yesterday, I'm a day late!, lol and i'm being lazy...but thanks for porting it over to the titan, impressive stuff...

nuguy 11-08-2007 12:19 PM

I'm sure I'm not the only one wondering how this may fare on the 6700 as well, I will have to crawl around and give it a shot later today, or tomorrow...

dishe 11-08-2007 12:32 PM

Quote:

Originally Posted by nuguy (Post 116923)
I'm sure I'm not the only one wondering how this may fare on the 6700 as well, I will have to crawl around and give it a shot later today, or tomorrow...


DON'T!!!!
WHY WOULD YOU DO THAT??????

Perhaps you're not familiar with the situation, but the Mogul introduced some new hardware to Windows Mobile, and the Bluetooth drivers didn't work as well as expected. The touch, which uses the same hardware as the Mogul, fixed it. So, we're applying the same fix.

The 6700, however, uses the older hardware, and as far as I know works just fine. So, not only do you not need this "fix", this would probably bork your device because you don't have the same chipset!

THIS ONLY APPLIES TO HTC TITAN OWNERS WHO ARE UNHAPPY WITH THE BT PERFORMANCE!!!

winmobilelawyer 11-08-2007 12:38 PM

Quote:

Originally Posted by sfaure03 (Post 116912)
not 4 a lawyer u miight sue me snicker seriously yes.. we prollly can. IF this pans out.

Sue you? Nahhhh... well maybe, how much money do you have??? hahaha:mrgreen:

Quote:

Originally Posted by dishe (Post 116917)
Doesn't necessarily mean that. The keyboard issue wasn't as deep-seeded in the OS as the Bluetooth drivers are... the keyboard patch simply changed the status of the keyboard (from the character lock always being on) in certain situations- ie, the keyboard's OPERATION didn't change, only its status those cases. Its not like you would hit a Q and get a W, or press the caps lock and bring up the call history... that would mean the keyboard driver is messed up and probably require more than just a patch to fix.
The bluetooth drivers are not changing the status of Bluetooth, but changing the way bluetooth inheirently works. It may be technically possible, but its much more complicated than the KB fix patch is.

I think I explained this when the 2.16 rom came out in the first place, and everyone started asking why no one made a cab for all the fixes it came with...

Thanks for the response! How is the testing going so far? What do you think the final process will be for us Mogulians, will we have to flash the BT stack or move some files around and soft reset or what?

I would help testing but My mogul is my only phone and I have a huge paper for law school due monday and so I can't fiddle with it right now. Plus I'm more of a graphic designer anyways lol.

diomark 11-08-2007 12:41 PM

6700's bluetooth wasn't anywhere as good as the touch's... (I always sounded 'soft' on that phone.. whereas I've heard complaints of being too loud on the touch..)
-mark

dcd 11-08-2007 12:52 PM

the drivers are modules and would have to be converted to files to be packaged in a cab, which would affect performance, and possibly stability.

yangers 11-08-2007 01:05 PM

Quote:

Originally Posted by dcd (Post 116965)
the drivers are modules and would have to be converted to files to be packaged in a cab, which would affect performance, and possibly stability.

But a Flash File (NBH) could be done just for flash the BT files like the Radio 1.40 or the Welcome Screen?

dcd 11-08-2007 01:08 PM

Quote:

Originally Posted by yangers (Post 116979)
But a Flash File (NBH) could be done just for flash the BT files like the Radio 1.40 or the Welcome Screen?

no, you would need to flash an entire ROM that includes the drivers.

yangers 11-08-2007 01:15 PM

Quote:

Originally Posted by dcd (Post 116982)
no, you would need to flash an entire ROM that includes the drivers.

Thanks for the prompt answer, I think there is nothing else to do, just install and test the only ROM with this option (sfaure) for now.

sfaure03 11-08-2007 01:17 PM

well, to date, i'm kind of waiting on people who have done just that to tell me i'm full of it.. snicker..

We shall see.

dcd 11-08-2007 01:31 PM

im trying to get mine to work.

sfaure03, i compared the BT*.txt and the files appear to be different.

jaytv 11-08-2007 02:13 PM

Sfaure, which radio do you recommend?

sfaure03 11-08-2007 02:21 PM

it shouldnt matter, but i'm using the 1.47

jaytv 11-08-2007 02:23 PM

I just flashed the 1.47 radio out of curiosity...along with your ROM...should be interesting
Perhaps my Touch willl show up today and make this all moot, but I am so temped to stay with the Mogul if we can fix this beast...

sfaure03 11-08-2007 03:23 PM

i looked over a touch yesterday... I dont WANT it.


All times are GMT -4. The time now is 09:32 AM.

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


Content Relevant URLs by vBSEO 3.6.0