HTC Home Today Plugin - Windows Mobile Development and Hacking General

Hi,
I’m trying to make the HTC Home Today plug-in on WM5 to work. With many try and a lot of will I was unsuccessful because ROM upgrade was not an option.
After many hours and days, I found out that there is an error when doing installation from the cab file. I was able to intercept the error. I found out that the HTCHome.dll doesn’t register on WM5.
I think there is maybe a reference in the DLL that looks to see witch version of windows mobile it’s on, and if the reference is ok then the file get registered, if not it doesn’t and fails to register.
Here I’m boys and girls, I need good soul that can help us (I say us because there is others that is dreaming) to get a workaround!
I’m at my limit knowledge to hack this DLL that’s why I writing this today.
Regards,
My phone is a HTC TITAN (P4000) with WM5
PS: the problem is not the phone model but the OS version…
Requirements to have this pluging working:
Windows Mobile 6 ( PocketPc).
HTC HomePlug: Today screen plug-in (Displaying Time/messaging notifications/Launcher), allowing quick changes of various options, such as weather, missed calls, sms/email notifications, time/alarm changing & program launcher.
Link to the current file:
http://www.megaupload.com/?d=8ZGSK4EE
http://rapidshare.com/files/36863085/HTC_Touch_Home_Plugin.cab

I didn't have time to look at this and don't know when or if at all I get the time, but if the problem is with the registry the solution should be easy:
Get a reg editor, got to HKLM\Software\Microsoft\Today\Items and manually create a key for the plugin. Check to see how other plugins are listed there and you will know what values to create (key name is what you see in the settings menu).
Other possibility is that the DLL is compiled with WM 6 SDK. Though I have not made many attempts with this it seems files compiled this way are not recognized as valid by earlier OS version.
This might be resolved by tweaking the DLL header.

levenum said:
I didn't have time to look at this and don't know when or if at all I get the time, but if the problem is with the registry the solution should be easy:
Get a reg editor, got to HKLM\Software\Microsoft\Today\Items and manually create a key for the plugin. Check to see how other plugins are listed there and you will know what values to create (key name is what you see in the settings menu).
Other possibility is that the DLL is compiled with WM 6 SDK. Though I have not made many attempts with this it seems files compiled this way are not recognized as valid by earlier OS version.
This might be resolved by tweaking the DLL header.
Click to expand...
Click to collapse
Thank for the reply!
YES i have done the registery edition in the today items and added the accorded strigs.
[HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\ HTC Home]
"Enabled"=dword:1
"DLL"="\\Windows\\HTCHome.dll"
"Order"=dword:0
"Flags"=dword:0
"Selectability"=dword:2
"Type"=dword:5
"Options"=dword:0
I think you have a good point with the DLL heathers.
Regards

any news about this?

HTC Touch home plugin
does it work on VGA?
Best regards
Deiota

There is a thread in this exact forum with a link to a working cab for WM5.

ok got it installed only one thing......im in reno nv and all the weather is in france and european places

Tregrad said:
ok got it installed only one thing......im in reno nv and all the weather is in france and european places
Click to expand...
Click to collapse
Have a look around for HTC Home Customizer

colonel00 said:
There is a thread in this exact forum with a link to a working cab for WM5.
Click to expand...
Click to collapse
can you please post a link...

Customization
http://forum.xda-developers.com/showthread.php?t=319308
6 buttoms - WM5
http://forum.xda-developers.com/attachment.php?attachmentid=51162&d=1190200940

thanks mate!

Anybody kind enough to provide a link for HTC Audio Manager for WM6 that is not in rapidshare format?
Thank you.

Related

CAB file version issues

Hi everybody!
(hi doctor nick)
I'm having a few little issues with CAB files on my pda2k.
maybe this should be in the blue angel thread, but it's to do with application development, so i put it here. I also tried the forum search, with no results.
i'm wanting to use all my customised cab files that i made for my XDA2, and use them on my new device, the PDA2K.
all of the cabs work, and all of my applications run.
however, upon installing the cab, a message comes up on my pda and says "the program you have installed may not display properly because it was designed for a previous version of windows mobile software"
i've checked the version nifo in all my .inf files.
i've compared them to newer cab files that don't give me that message.
the inf files look fine.
is this a registry setting perhaps, that i could change?
like i said, all the apps work, i just want to stop it from giving me that warning.
does anyone have any ideas?
thanks !
The warning is just about what it says: You are trying to run older (ie now specifically designed for SE) software.
Noithing to worry about when thing work as supposed.
You can get rid of the message by setting the OS verion inse the CAB files higher (but you need ie. WinCE Cab Manager by OCP Software for that) .
i know there isn't anything to worry about. the apps work.
it's just that for the purpose of creating an SOE, i don't want customers to have to click "ok" everytime they reset their device, all apps must install without prompt from beginning to end.
I have winCE cab manager, and have set the version and build number higher in the inf file, yet i can't seem to get rid of the message.
any other ideas ?
you have to set the lower version number to th version of WinCE youre using now.
Set some 'very high' value to the higher version number
There is another thread on this somewhere . . .thats where I got this info from
yeah, tried that too
i sset my version details like this:
[CEDevice]
ProcessorType=0
UnsupportedPlatforms="JUPITER","HPC"
VersionMin=3.0
VersionMax=10.00
BuildMin=0
BuildMax=100000
still no good.
anyways, i'll keep searching for the related thread. i new there would be such a discussion in here, just a matter of finding it.
I think it was versionMin=4.21
http://forum.xda-developers.com/viewtopic.php?t=15761
M4io said:
I think it was versionMin=4.21
http://forum.xda-developers.com/viewtopic.php?t=15761
Click to expand...
Click to collapse
thanks M4io,
that's the link i was looking for
ok, there seems to be something wrong here.
either that, or i'm doing it wrong (highly unlikely :lol: )hahha.
anyway, i've tried all different versions, i've tried all different build's.nothing. still won't work.
so i downloaded the latest operator settings for my device.
that cab ran no problems, so i extracted the inf, then i copied all the version info from that one, and dumped it into the inf that i'm trying to package. ran the cab on the device, and i still get that error !!
how can that be?
there must be something else in my cab, that governs version conflicts.
anyone
Hi Twinair,
please try to set it as follows:
[CEDevice]
ProcessorType=0
UnsupportedPlatforms="JUPITER","HPC"
VersionMin=3.0
VersionMax=4.21
BuildMin=0
BuildMax=-536870912
buzz
I've tried with the above settings buzz, but it still doesn't work.
does the CEsetup.dll, or setup.dll have anything to do with version control perhaps ?
could be, that you should use your own setup.dll
I really don't know now... I've never made a cab which was not complaining about the older version... (
Looked for it also in internet, but found nothing...
But if you download the trial ver of OCP CabManager, you can unpack cabs for SE and take a look there... my trial period is expired now...
Maybe you can try to use setup.dll out of such cab...
buzz
damn, still not getting anywhere.
i've put in the correct version info, i've used a setup.dll file from a known working cab file, i have the latest full version of cab manager.
i'm fresh out of ideas
back to the drawing board.
if i figure it out, i'll let you know.
This is what MSDN says at
http://msdn.microsoft.com/library/d...dnwm2k3/html/screen_orientation_awareness.asp
Installation Warning Messages
When a legacy application is installed on a Windows Mobile-based Pocket PC capable of screen rotation, the warning message will appear
This dialog is to advise the user that the application they are about to use may not be aware of square screens or screen rotation, and may not display properly in landscape mode. This dialog will only appear if the VersionMin value (which specifies the lowest OS revision number your app supports) file is less than 4.21.
Since setting VersionMin to 4.21 will prevent your application from installing on older Windows Mobile-based Pocket PCs, it is recommend that you disable this warning message by setting the BuildMax value (which is typically unused) equal to the following values:
BuildMax values
0xA0000000 Application supports square screens (240x240 pixels).
0xC0000000 Application supports screen rotation.
0xE0000000 Application supports square screens and screen rotation.
These parameters can be changed by editing the [CEDevice] section of the INF file which cabwiz uses to generate your CAB file.
so
[CEDevice]
VersionMin=4.21
VersionMax=4.99
BuildMax=0xE0000000
Should do the trick[/b]
@Shikra
...perfect man, let me test it... )))
THANX
buzz
GREAT!!! it works!!!
THANX
buzz

HTC Home Customizer Probs

Hi All,
Have searched forums and cant find an answer for my prob.
I am trying to get the HTC Home Customizer working on my Hermes (SPVM3100 with Duttys WinMob6 Ver 2 upgrade)
The HTC Home Plugin appears in my Today config, and the various files appear in Windows (HTCICON.dll, HTCPLU.exe etc).
However, when I run the homecust.exe file I get an error saying HTC Home Plugin is not installed? (It is!).
I have extracted the zipped HTC Home Customizer file directly onto a folder on my storage card as someone posted that it doesnt work when the files are extracted on the PC and copied across.
Any ideas?
Cheers
Mark
Markee said:
Hi All,
Have searched forums and cant find an answer for my prob.
I am trying to get the HTC Home Customizer working on my Hermes (SPVM3100 with Duttys WinMob6 Ver 2 upgrade)
The HTC Home Plugin appears in my Today config, and the various files appear in Windows (HTCICON.dll, HTCPLU.exe etc).
However, when I run the homecust.exe file I get an error saying HTC Home Plugin is not installed? (It is!).
I have extracted the zipped HTC Home Customizer file directly onto a folder on my storage card as someone posted that it doesnt work when the files are extracted on the PC and copied across.
Any ideas?
Cheers
Mark
Click to expand...
Click to collapse
There might be something of use here:
http://forum.xda-developers.com/showthread.php?t=319308
Mike
Thanks for your reply, Mike.
I have already been all the way through this thread with no joy.
I THINK it may be due to the version of HTC Plugin that is included with Duttys WM6 upgrade. The file sizes of the key files (HTCPLUG.EXE and HTCICON.DLL) have different dates and sizes.
Can anyone shed any light on this? Has anyone got the HTC Plugin Cusyomize App working on Duttys WM6 Ver 2?
Cheers
Mark
Markee said:
Thanks for your reply, Mike.
I have already been all the way through this thread with no joy.
I THINK it may be due to the version of HTC Plugin that is included with Duttys WM6 upgrade. The file sizes of the key files (HTCPLUG.EXE and HTCICON.DLL) have different dates and sizes.
Can anyone shed any light on this? Has anyone got the HTC Plugin Cusyomize App working on Duttys WM6 Ver 2?
Cheers
Mark
Click to expand...
Click to collapse
If you suspect it may be related to the HTC Plugin version, then try downloading the plugin version attached in the thread Mike linked you to.
As far as extracting files, that's the way you should do it: extract on pc then transfer the resulting folder.
With it not running for you, that means the version you are running doesn't have the reg key I'm checking for (location of HTCHome.dll). I'm always trying to make the customizer as compatible as possible, so could you let me know which version of the plugin you are running and possibly a link to it? (Even though you should install one of the cabs from my thread as previously mentioned, as they support all of the customizer's options)
Right, thanks for your help guys - think I have sussed it!
It seems I was getting confused with two different software applications:
HTC HomePlug - just gives some icons (a la PHM Traylaunch)
HTC Home - The big box jobbie with clock, weather etc.
Dont know if others having this confusion, or whether it's just me having noobitis!
Sussed when I realised the customizer application was looking for HTCHome.dll and I had HTCHomeplug.dll - two totally different things!
Thanks again, sussed and working now!
Markee

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.

XT9 Fix released on HTC asia :-D

Well, after I installed it, it doesnt default to Xt9 any more when I go to new messages
Sweet!
can't find this, can you send the link?
this is fantastic!
what ROM are you using ? will this work with any ROM (and ROM language) ?
i would appreciate the link also!
here is the cab file, it's actually just a registry setting fix.
HTC-DUAL-TOUCH-XT9-TO-ABC-FIX
The registry concerned is:
Code:
[HKLM\SOFTWARE\Tegic\eT9\IME]
CarrierDefaultTextMode=dword:0
(0 for ABC / 1 for XT9)
A friend gave me this link as I am also having a problem with the HTC site.
Enjoy!
oh my god it works !!!!
i cant believe how simple that was !!! thank you so much for the registry entry, i can use my phone to text again !!!
it's great!
this was the most anoying thing on my new dual.
tx a lot,
pirlone
Doesn't work for me
in fact it screws my device up!.. it shows the ABC being as the default input, but I can only type the first letter in each key, multiple presses just repeats the same letter
I guess I will have to reflash the OS.. otherwise I now cant use the text input on the keypad anymore!
works on mine. thanks, dtm for letting me know about this.
Maybe doesnt work on mine becos Im running the WM6.1 Nikki project OS ??
Anyone else that has installed this using this Version?
Can you help me? I am begiiner having Dual 2 days. XT9 is really anoying esp for NON english users.But I cannot fix it as it is described. Can you show me step by step what to do? Thanks
It does not work for me!
muzikfreakah said:
Well, after I installed it, it doesnt default to Xt9 any more when I go to new messages
Sweet!
Click to expand...
Click to collapse
Please help me. I am a new user having Dual 2nd day. I was trying to install it but it does not work. Can you describe step by step for the beginner what to do? XT9 is realy anoying esp for NON english users.
Hi, just copy the cab to the phone and install it. Maybe you need to softreset your Niki. (open the battery case, the reset button is left to the USB connector).
Cheers
Michael
I love this and it is working well for me. My only issue is when using the touch keypad software, when you type it highlights the letters and take a few micro seconds to move to the next so if I am typing a sentence, and press space,it deletes that entire word or atleast the last few letters that I typed :-( So the only way to solve this is not text that fast or use the hardware keypad.
Wow I noticed so many people reposting this when this was posted a long time ago.
Anyway, just wanted to confirm this is working on my wifes elf also
Finally there's something to kill XT9
Change Mode from ABC to XT9 or XT9 to ABC.
Hey everyone!
First, I wanted to start out thanking muzikfreakah for the link to the .cab file and the posting the Registry path that needs to be modified. I used these as a base reference for the work I completed on my phone. Instead of wanting to go from XT9 to ABC, I wanted to change my phone from ABC to XT9.
Initially I used PHM Registry Editor to make the necessary change to the Registry value you noted. Shortly thereafter, I updated my ROM to WM 6.1 so I had to reapply the settings manually. This got me thinking. Why not just create a quick .cab file for myself, saving me time in the future. This is exactly what I did!
Attached are two .cab's I created a while back (just never got around to uploading them). The first .cab (SP_Default_ABC_To_XT9.cab) modifies the appropriate Registry Key, setting it to 1 (defaulting to XT9). The second .cab (SP_Default_XT9_To_ABC.cab) does just the opposite, changing the value to 0 (defaulting to ABC).
Final notes before I part -
File Sizes: The file size of each of my .cab's is 1.07 KB, as it only contains the necessary Registry Key change. The link muzikfreakah provided brings you to "HTC+Touch+Dual-default-ABC.cab". This file size is 20.76 KB, as it appears to use a more complex method of making the necessary Registry changes.​Company and Application Name: After my .cab is installed, it will display in the Installed Programs list as "Seth_Polley Default_XT9_To_ABC" (or vice versa depending on .cab used). After installing the other .cab (HTC+Touch+Dual-default-ABC.cab), the following is displayed in the Programs list: "Customization Customize_Tool".​
In summary, either file will work for changing from XT9 to ABC. While 20.76 KB is nothing by today's standards, you can go smaller yet by using my .cab's (about 1/20th of the file size). Additionally, my .cab's provide a more descriptive name in the Programs list. Pick your poison! To 'install' the Registry modification, simply move the .cab to your phone, execute it, and follow the prompts.
Feel free to PM me if you have difficulties accessing/downloading the files. If you are concerned about using my files, feel free to open the .cab (can use an application like WinRAR) and review the contained "_setup.xml" file to verify this .cab will only make the changes I noted above.
Best Regards,
Seth
[Verizon HTC Touch (xv6900), currently running WM 6.1]
-=-=-
muzikfreakah said:
here is the cab file, it's actually just a registry setting fix.
HTC-DUAL-TOUCH-XT9-TO-ABC-FIX
The registry concerned is:
Code:
[HKLM\SOFTWARE\Tegic\eT9\IME]
CarrierDefaultTextMode=dword:0
(0 for ABC / 1 for XT9)
A friend gave me this link as I am also having a problem with the HTC site.
Enjoy!
Click to expand...
Click to collapse
Thanks ))
Thanx Man, I´ve searched this simple thing so long time...
Cheers Mate!!
I can now send SMS's again after unlocking!!
Simon

QuickGPS link on Today screen possible?

Hello to all,
QuickGPS updates via WLAN work fine for me (Michyprima's ROM WM6.1 v3.5), however I always have to open the program via its icon in the settings menu which does take some time.
Is there any way to create a link for it on the Today screen?
Any help is appreciated
In the programs options, you can have it give a notification in your calendar when it expires and that brings up the program if you click it from the today screen.
Hmm I already did this before but something didn't work...I will try again, thanks so far.
Hmm, didn't work so far. Is there any way to create a link from some system settings on the Today screen?
On my stock 7501 it is on the Today screen as part of the
HTC plugin.Have you tried to create a link using Total Commander
or another file app and place it in the Windows/Startmenu?
This would allow you access from 1st screen.
Thats's exactly my problem, bigtsr, since I don't know where to look for the original QuickGPS program/system setting in order to link it...
EDIT: Now I get the picture, according to the registry quickgps.exe should be linked within home launcher, however there is no quickgps.exe anywhere, only quickgps.exe.0409.mui...any help from the ROM experts (Michyprima R6.1 SPL3.5) would be appreciated.
Problem solved; in this ROM quickgps.exe has been renamed to SeaSGEE.exe, however all registry entries still refer to the original file name...I don't understand how quickgps could actually be started with a wrong registry link???
Very well, if anyone else has problems with quickgps on the latest ROM R6.1 from MichyPrima, it could be related to this.

Categories

Resources