SNAP based ROM BT doesn't work!!?? Need help. - Windows Mobile Development and Hacking General

Hey all you pro chefs! I cooked an HTC SNAP based ROM for the HTC Cavalier. All went well and everything seems to work great except Bluetooth. I have tried SOOOOO many things such as:
- Swap SYS\Bluetooth folders
- Swap SYS\Bth* folders
- Swap OEM\OEMDRIVERS bt* files and modules
- Swap SYS\OS\btdrt.dll module with working one
- Played with provxml files and RGU edits
Bluetooth STILL won't turn on!!!?? Does anyone have experience on what the BT stack EXACTLY needs to turn on? Maybe a DLL isn't registering correctly? I've hit a wall and have no clue what to try next.
Another weird symptom is when I swap the btdrt.dll file/module in SYS\OS from one that worked in a different build, Comm Manager doesn't start and says it's "Not a Valid Windows CE Application"
Any help will be appreciated!!

Related

Typhoon wm5 new build developing

As many of you will be glad to hear, I've begun working on typhoon wm5 build 5.1.29.14847.2.0.0
now i've added almost all necessary files. some drivers are left yet, though - camera, sim toolkit and htc obex driver.
Now I need help of real gurus like mamaic and buzz. Here is the point: drivers are added, but still only keyboard works. drivers are added correctly, like modules. I Guess there's something to do with the security. maybe, regenerate packages.sof? but how? also, how to create dsm and how to change offsets in modules? actually, i only need to know how to create dsm and how to add them to registry, and how to create packages.sof. Strange that i boot the os and all the files and registry entries are present, but i see phone of on today screen and only keypad and display work.
Hi, Do you have any working (even bugy) WM5 ready to install? I need it to fix my phone and revert back to W2003.
Thanks
Inquiry
Hey Sp3Dev, just wanted to know whats going on with the new build you have been working on. Did you manage to get the help that you were looking for. I just got this device yesterday to use until my Artemis arrives, but I think I will end up keeping it to replace my d600 just because I love customizing my devices. Hope you are still working on a little somthing for my SP3i.
sp3dev said:
As many of you will be glad to hear, I've begun working on typhoon wm5 build 5.1.29.14847.2.0.0
now i've added almost all necessary files. some drivers are left yet, though - camera, sim toolkit and htc obex driver.
Now I need help of real gurus like mamaic and buzz. Here is the point: drivers are added, but still only keyboard works. drivers are added correctly, like modules. I Guess there's something to do with the security. maybe, regenerate packages.sof? but how? also, how to create dsm and how to change offsets in modules? actually, i only need to know how to create dsm and how to add them to registry, and how to create packages.sof. Strange that i boot the os and all the files and registry entries are present, but i see phone of on today screen and only keypad and display work.
Click to expand...
Click to collapse
I can help a little. I only use the files already listed in the packages.sof. I don't know how to read the file though. I use Bepe's kitchen. When you seperate the files into OS and LOC, you may find some folders only contain a .dsm file. These are extra folders and can be either deleted, or used for holding additional files. these files should already be listed in the packages.sof. You may have to test them one at a time by using the createOS.exe. Now to rebuild a .dsm file, put the your folder in the OEM folder, and createOS. This will automatically rebuild the .dsm files in the OEM folder. I'm sure there is a more elegant method, perhaps by using the kitchen tools directly, but i don't know how. I recently had to translate a chinese AKU 3.2 set into english, and thats basically the method i used. This post was written w/ the assumtion that you are familiar w/ Bepe's kitchen.
Regards,
Jason
Hello.
How are you trying to create this build? Have you started off with the original Typhoon WM5 Beta, or do you use a "true" WM5 build and try to incorporate Typhoon drivers? I suppose you are doing the latter, which I really hope you'll accomplish!
If you need any help betatesting and stuff, please say so

HTC Home 2.0

Found Kaiser.HTC.Home.v2.0.814.722-schen.cab in the Hermes forum:
http://forum.xda-developers.com/sho...hlight=Kaiser.HTC.Home.v2.0.814.722-schen.cab
Versin 2.0 allows you to add a diffrent number to favorite People (1.5 defaults to the mobile thus you need to create a new contact to use the Office number.).
Well that is the good news, the bad is that I cant get it to work on my BA
It installs well.
Under Start - Settings -Today - Items - It adds a HTC Home Tab.
The tick boxes work fine (fast as well JOKE).
And on the Today screen it adds Nothing.
I have done a old uninstall, new install, wait, softreset, wait.
This is a patched version based on the thread so may be the clean version would work.
So has anybody got Version 2.o to work on a BA ??
That's v 2.0.720719.
2.0.814.722 is here: http://forum.xda-developers.com/showthread.php?t=327646
DANDANA said:
That's v 2.0.720719.
2.0.814.722 is here: http://forum.xda-developers.com/showthread.php?t=327646
Click to expand...
Click to collapse
SOME PICTURES PLEASE!!
I didn't try it and MDAIIIUser said isn't working on BA....yet
It looks the same as 1.5 with aditional options, but i can't get it to work either, i install needed certificates but still nothing
xplode said:
It looks the same as 1.5 with aditional options, but i can't get it to work either, i install needed certificates but still nothing
Click to expand...
Click to collapse
2.0.xxx.xxx work much better than v 1.5....thrust me.
Are you able to get v2.0.7xx.xxx to work?
You can see that v 2.0.8xx.xxx and v 2.0.7xx.xxx and v1.5.xxx.xxx all using DIFFERENT certificate to sign. That is my experimenting on the certificates thing. All work OK with my Hermes. Maybe it is certificate thing...maybe it is other matter that prevent the new version from working correctly for BA. But really I DONT see any reason other than certificate. You can try to sign the dll with other certificates to see if it work or not.
I only patch the dll to enable instalation outsite of windows directory and to fix the brightness shortcut. Other than that nothing. So, this should not be the issue
Congratulation guys WM6 finally arrived for BA and Hima user. I should have hold my thrustworthy Hima longer I dont have to upgrade, BUT Hermes ROCKS, no regret.
Thanks schen for your input, i have tryed al the 2.0.x versions with the same certificates (looked mainly into hermes forums) provided for hermes, but the home settings show in today options and the plugin just does not load. I agree that this is certificate error i will try to sign them with difrend certificates to see what will happen
regards xplode
Edit: I have tryed both 2.0 versions on clean hard resseted rom with both certificates installed and none ot them does not work for some reason, now i will try to sign the dll's with sdk certificate to see the results
Anyone have any luck with Home 2.0 on BA?
Same problem with HTC Plus.
I think the problem is certificate sign.
Just to let you know that this issues is just not with your devices, we are also seeing the same problems with the Apache running Helmi's port of WM6. It shows in settings, but nothing on Today screen. Have tried certs and signing as well.
However, both 2.x versions work fine with the Titan running WM6. My thought was that there were some remnants from the WM6 port that were still using WM5.
maybe you are right, because i signed all files with one certificate and then with another ans it is the same result
If you guys have install the sdkcerts.cab before installing home then I dont think it is certs problem...it is more like device specific security setting problem
Maybe you guys can take a look at the WM5 security...each of the ROM might have different default setting. Some device even dont allow security setting to be change.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/wmsecurity.asp
I will also try copying the SampleDevPrevCert.pfx to the device and click on it. It will add the root cert to the thrusted certificate store. It may work it may not but very simple and worth a try.
Bottom line, if you try the "No Security" setting which allow all signed or unsigned apps to pass and the HTC Home still not working then I dont have any idea anymore.
Please try....
Out of curiosity why v2 of HTC home working on certain device and rom and not working on others, I have resigned all the dll, exe, and mui files with my own certificate.
Installation note in the Readme file inside the zip.
I am looking for some people to try if the cab work. As soon as 2-3 report still not working I will delete the attachment.
Test it, i couldn't install at all; "installation of ... was unsuccessful"; thanks anyway Schen.
Now installing, will keep you posted in few minutes
the instalation of the cab is unsuccessful (the home cab)
DANDANA said:
Test it, i couldn't install at all; "installation of ... was unsuccessful"; thanks anyway Schen.
Click to expand...
Click to collapse
Same error message for me
schen said:
Out of curiosity why v2 of HTC home working on certain device and rom and not working on others, I have resigned all the dll, exe, and mui files with my own certificate.
Installation note in the Readme file inside the zip.
I am looking for some people to try if the cab work. As soon as 2-3 report still not working I will delete the attachment.
Click to expand...
Click to collapse
I tried 3-4 times, but always installation of HTC Home cab was unsucessfull
Hi Schen,
Thanks for your help with this issue. I can confirm DANDANA's results on my Apache (Helmi's WM6 AKU .7) with no prior version of HTC Home installed. Your cert cab installs OK but the Kaiser.HTC.Home.v2.0.814.722.Resigned-schen.cab fails to install.
I believe this is due to the mui files (from my own experience in trying to unsign/resign them I think the certificate table gets corrupted somehow).
I sent you a PM earlier, but would it be possible to obtain a copy of all of the original HTC Home 2.0.814.722 PE files (prior to any hex editing & re-signing)? Helmi would like to take a look at it since it seems to be an issue with his WM6 ROMs (also affects his AKU .42 release for APAC).
Thanks again!
i have removed flags in cab for the self registering and shared for WmpPluginToday.dll and now it installs but it still does not work
xplode said:
i have removed flags in cab for the self registering and shared for WmpPluginToday.dll and now it installs but it still does not work
Click to expand...
Click to collapse
Yes....I forgot to remove the self registering of the plugin, that is the cause of installation unsuccessfull....Earlier I tested this on my hermes manually coying the files and it work OK.
I have remove the cab. AT least I am convince by now it is not the certs thing.
Luv...got your PM...I will have to look for the original HTCHome.dll if I still have it. As I said before....the hack I did was just to change the default directory (\windows) to (\HTCHome) for the graphics AND change it to call HTCUti1.dll instead of HTCUtill.dll...They are unicode hex editing only. You could hex edit and change "\HTCHome" back to "\Windows" and "HTCUti1" back to "HTCUtill", resign it and everything is back to original. The mui files came unsign. I have to sign the mui files to get it to work for hermes.
In the mean time....the main difference between v 1.5 and v 2.0 is the "PROFILE" Tab...Try to install, disable the "Profile", reset if necessary to see if it work. The attached cab only enable the Home tab by default...if it work, you can enable all other tabs one by oneto see which tab is causing the problem.

correct order of cabs?

hi everyone!
as there are many various cabs flying around here (eg. cab & cab2 from xplode, Addon cabs on Helmi_C's WM06 rom, various HTC plugins, etc.), i wonder if there is a correct or some kind of "best" order to install them!
how does everyone's install sequenz look like?
are there any known problems, which result from installing in a wrong order?
or is it totally nonrelevant...?
regards,
krz
AFAIK the only cabs to be installed in a order are:
1. ArcsoftMMS4.2.8.1.cab
2. MMS_enable.cab
from Xplode cabs2
DANDANA said:
AFAIK the only cabs to be installed in a order are:
1. ArcsoftMMS4.2.8.1.cab
2. MMS_enable.cab
from Xplode cabs2
Click to expand...
Click to collapse
QFE
You are right about that
thanks for your answers!!
i knew about the MMS cabs...
i just wondered, because the first time I upgraded to WM2006, everything worked totally fine. I hab no problems no matter what, wifi worked like it should, bluetooth as well, no turning on here and turning on there again (HTC Home Prob), ...
now, after i have downgraded to WM2003, merged the ExtROM and upgraded to WM2006 again, i am experiencing loads of problems!!
the "turn wifi on"-bug occured, i could not turn wlan adapter on with one simple click on the icon in CommManager...
then, after a softreset, the device froze while booting (there is some other thread about that problem). so i had to perform a hardreset again...
i configured my device again and installed the various cabs again, but in the end my device turned out to be totally screwed... turning on wlan was a pain, message-windows in which u can normally choose one of the available wifi spots were text-less (just empty window, only headlines visible...)...
so, i had to hard reset my blueangel the second time today and am now sitting in front of a fresh install of WM2006, thinking about what to do.....
what cabs should i install?
which HTC Home cab is actually the "best"?
any known problems regarding PPCContacts Manager?
do you thinkl, that those problems are somehow connected to merging ExtROM?
disappointed,
krz
ps: can anyone recommend a good backup problem, which saves me from setting up all settings all over again after eacah hard reset(timezone, regional settings, device id, reg tweaks, ...) ??

[SOLVED] Damned ringtones!!!

I hope someone of you could help me! I'm cooking roms for xperia X1 with last EVK on windows XP!
I'm now using build 23568 or 23569 and a strange thing is occurring:
I've cooked successfully a pair of rom and then I needed to change something.... after that all my roms with that builds suffer by strange trouble:
when selecting a ringtone for the incoming call (I can preview its sound) and then hit OK to confirm it all the ringtones roll up and down for a second on the screen and then the default ring (windows-phone) is autoselected and no chance to close that window....... so I can't select different ringtones.
I've tried to revert back the change I made but the same happens. If I try to cook an older build I have in EVK it's working fine!!! I've tried to completely remove 23569 build and put it on from beginning but the same thing happens.....
Please help me! This is driving me crazy!!! I've searched up and down on this and other forum but nobody seems had this issue before.....
Does windows media player work? If it doesn't then it's a XIP issue: make sure you used the latest msxipkernel package.
I had that issue twice long ago. One time is was xip issue, the other time a bad lockstreamdrm package
Thanks a lot for the help! It was a xip issue..... I don't know why the msxipkernel had been modified.... restored the original one and it works!!
Thanks again.
Another XIP-file case solved!
I am having this exact same problem.....
i replaced the XIP and lockstreamdrm on first boot i was able to go into phone options and hear the ring tone without the corrupt error... but after just a bit i get a phone call and its silent....
i go back to phone options and try to play the ringtone and get the corrupt error...
After that i was doing some bmp replacements within the phcanimages and phcanimages2 and after replacing those to dll's on my device (they were the same as the ones cooked in, just updated bmps) i can choose ringtone without error and it rings on incoming calls...
any ideas?
did a clear storage and when phone came up i was able to select ringtone without error... was not able to try a call then because i had to activate phone..
after soft reset i am able to choose and hear when call is coming in..
so maybe the clear storage did it? i will report back after cooking again
This is most likely due to using the Lockstream DRM packages in EXT without the corresponding registry entries at the bottom of boot.rgu. Don't ask me why they put reg. entries from one program in two different places.
jwzg said:
This is most likely due to using the Lockstream DRM packages in EXT without the corresponding registry entries at the bottom of boot.rgu. Don't ask me why they put reg. entries from one program in two different places.
Click to expand...
Click to collapse
How can i fix?
after a few hours of ringtones working fine, i tried to go back into ringers and get the same corrupt error.......
Delete the Lockstream DRM packages (NOT Lockscreen) out of your ROM and see if it works normal.
jwzg said:
Delete the Lockstream DRM packages (NOT Lockscreen) out of your ROM and see if it works normal.
Click to expand...
Click to collapse
gotcha
trying now
I removed the Lockstream DRM packages from my kitchen recooked and still same error...
i also put fresh SYS & XIP's into kitchen...
im using the same kitchen i always have and didnt change anything that i havent changed before.... been cooking my BigMaxsense ROM for months now without this problem..
Thanks for any help
Okay just wanted to post what was causing my problem
i stripped my ROM clean and only put the essentials into it and started adding things a few at a time..(guess i should have done this to start with)
found out that Microsoft.Voice.Command.v1.6.21725 was the root of the problem.. removed it and everything works fine..
thanks to all that helped!

HD2 Leo 3.14 Custom ROM freezing after standby

I have build a custom hd2 rom with oskitchen and xip/sys 28244.
It's working very well.
Now I have added some ext packages found here that seems to be useful. And now the new rom has the following issue: After leo goes to standby by itsself or by pressing the off key and some time later it will not wake up. Buttons are lightened but screen stays black. I have to put the battery out or to reset. Than rom is working again until next standby.
It happens only, if device is in standby for some time. If you press off and then wake up device immediately, all is working well.
Any idea, if this can be result of some added package or some component of the xip/sys build?
Have now found out something:
If I remove the following ext packages from my built rom, the rom works without freezing after going to standby:
HTC Tweaks
AMEBA
Opera Mini 5.1
Google Maps 4.1.1
But If I install those apps as cabs, the rom is working well after installation.
Can it be that they conflict with some built-in package of leo which causes the freezing issue, which is not there if installing the packages?
thunder141, not sure what you mean by HTC Tweaks but if you increased system cache (as it proposed to do somewhere in Leo related threads) to absolutely huge unacceptable meaning - your phone just tries to cache memory...
Get rid of that tweak, or check your Storage Card (maybe format will help) - possibly the system is trying to cache to it and it's fragmented or just too slow....
i mean the app hd2 tweak with standard configuration converted to an ext from the cab
thunder141, am I supposed to know what does that mean - "app hd2 tweak with standard configuration "?
I tweak my roms by myself and never try to have fun with someone's "tweaks compilations"
Can you be more specific? Give me a link to the cab or attach your package for me to have a look.....
sorry ;-) I thought it is a known prog cause i found it here at xda.
http://forum.xda-developers.com/showthread.php?t=452505
But I misspelled it. Its hd tweak not hd2 tweak.
I imported the cab with oskitchen's import feature. And when I cook it in, my rom freezes after going to standby. If left it out, rom works fine.
I attach the ext, oskitchen created for me
Its not a spelling problem but the fact that those tweaks are made for HTC HD not HD2.
I suggest you to dont use it, simple solution.
thunder141 said:
sorry ;-) I thought it is a known prog cause i found it here at xda.
http://forum.xda-developers.com/showthread.php?t=452505
But I misspelled it. Its hd tweak not hd2 tweak.
I imported the cab with oskitchen's import feature. And when I cook it in, my rom freezes after going to standby. If left it out, rom works fine.
I attach the ext, oskitchen created for me
Click to expand...
Click to collapse
af974 said:
Its not a spelling problem but the fact that those tweaks are made for HTC HD not HD2.
I suggest you to dont use it, simple solution.
Click to expand...
Click to collapse
No, at his page there are hd tweak for other device and hd2 tweak for hd2 (leo). (http://www.montecristoff.com/hd2tweak.htm)
But, as I said, its not only this ext pkg but the others mentioned make my device freeze, too. And if used by cab install, not. And I do not understand the difference for those apps, if they worked when not cooked in.
I decided to put them in my uc_net folder for now and left them out of my rom, so my device won't freeze
before my hd2 got bricked due to my stupidity, i was trying to find solution to freezing issues.
i found out that if cad.dll and wavedev.dll are excluded, no death occurs after sleep. (of course, these dlls are vital for sound, so we cannot exclude them).
so my suggestion would be to first exclude these 2 dlls and include your packages to see if this clash is causing problem and then find compatible version of your packages with these 2 dlls or find compatible dll.
personally, i think these 2 dll have some odd bug with certain versions of windows system.

Categories

Resources