How to add my own city to HTC Home - Touch Cruise ROM Development

I recently got myself a Polaris (original danish ROM), and would very much have my own city in the HTC Home Weather tab. I've tried to edit the Windows\HH_0406_Weather.xml. Couldn't edit it with Total Commander so I edited it on my pc and uploaded it to my device. This doesn't work, all I get is an error saing that it can't retrieve information at the time and i should retry. I also tried Shap's Advanced Configuration Tool, and added my city there, but that doesn't work either.
How can I add my city to HTC Home Weather tab?
Ps. My Accuweather code is: EUR|DK|DA009|STRUER

thats a bit tricky you have to patch your HTCHome.dll with a new URL which does not limit the Cities. I've done that i can upload this dll if you want.
If you've got an originial ROM then HTCHome Plugin is found in the programs folder otherwise most likely in the windows folder.
if you will use the patched DLL you have to switch off these things with singed drivers or software. otherwise execution will be prevented by windows.

Hey.
Can you please dump your rom then, i'm looking for an original danish rom.

Weather Cities
Read this link. It will explain how to do it.
http://forum.xda-developers.com/showthread.php?t=377770&highlight=n2a+weather

Related

HTC Home Today Plugin

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.

Htc Weather Plug

Hi,
I've just bought an Htc Cruise, and wanted to add Luxemburg to the Weather plugin, but without success.
I changed the HH_409_WeatherCities.xml buy adding Luxemburg.
<city name="Luxemburg, LU" loca="EUR|LU|LU003|Luxemburg" land="Luxemburg"/>
First I disabled the htc Home in the Settings.
Softreset.
I changed the hh_409_WeatherCities.xml.
Moved The hh_409_Weathercities.xml to Windows Folder.
I receive the message "Unable to retrieve data for selected city."
macmac.
Are you sure your internet connection is on Of course just at that moment accuweather.com may be unreachable. Try againt in 30 min and make sure you have correctly confured internet on the phone
TheOnly1 said:
Are you sure your internet connection is on Of course just at that moment accuweather.com may be unreachable. Try againt in 30 min and make sure you have correctly confured internet on the phone
Click to expand...
Click to collapse
The Internet connection is working.
When i'm selecting another city it works.
But with cities i added in the xml file it doesn't work.
macmac.
As I understand it, the HTC weather plugin actually routes it's requests through HTC themselves, and they only serve certain (ie: the default) cities. Have a look at this thread where the author claims to have found a solution:
http://forum.xda-developers.com/showpost.php?p=1843576&postcount=55
maclux said:
Hi,
I've just bought an Htc Cruise, and wanted to add Luxemburg to the Weather plugin, but without success.
I changed the HH_409_WeatherCities.xml buy adding Luxemburg.
<city name="Luxemburg, LU" loca="EUR|LU|LU003|Luxemburg" land="Luxemburg"/>
First I disabled the htc Home in the Settings.
Softreset.
I changed the hh_409_WeatherCities.xml.
Moved The hh_409_Weathercities.xml to Windows Folder.
I receive the message "Unable to retrieve data for selected city."
macmac.
Click to expand...
Click to collapse
Excuse me for my bad English ...
The file HH_409_WeatherCities.xml may be "read-only", "System" or "in ROM" and can not be rewritten?
@maclux
Look at the following site. I have made a little tool only for a german orbit2, but it may also work with others.
http://www.ppc-welt.info/community/showthread.php?t=122846&page=2
Look at post #61.
First you have to patch the HTCHome.dll, then you can change the xml-file.
greatings
ppcfox
I had the same problem myself, but i found that Resco Explorer can overwrite the file
Btw...the patching of the dll really works, and made the weather plugin work for me!
problems editing the file too
I am having problems editing the file to support my local weather. I have found by reading various post that its a very simple process. But my new WM6.1 ROM on my AT&T Tilt has set the file permissions to "ROM". I have already edited a new copy of the file only to find out its "in ROM" status keeps me from deleting or modifying the file.
I would love to know if I can edit a "in ROM" file.
Thanks in advance for any help.
megonzo said:
I am having problems editing the file to support my local weather. I have found by reading various post that its a very simple process. But my new WM6.1 ROM on my AT&T Tilt has set the file permissions to "ROM". I have already edited a new copy of the file only to find out its "in ROM" status keeps me from deleting or modifying the file.
I would love to know if I can edit a "in ROM" file.
Thanks in advance for any help.
Click to expand...
Click to collapse
I had the same problem, but it was solved patching the DLL after disabling the plug-in and copying the the XML file with the Resco. After that, all runs fine
PQillu
maclux said:
Hi,
I've just bought an Htc Cruise, and wanted to add Luxemburg to the Weather plugin, but without success.
I changed the HH_409_WeatherCities.xml buy adding Luxemburg.
<city name="Luxemburg, LU" loca="EUR|LU|LU003|Luxemburg" land="Luxemburg"/>
First I disabled the htc Home in the Settings.
Softreset.
I changed the hh_409_WeatherCities.xml.
Moved The hh_409_Weathercities.xml to Windows Folder.
I receive the message "Unable to retrieve data for selected city."
macmac.
Click to expand...
Click to collapse
Maybe I am wrong but you spell Luxemburg, but the link is LUXEMBOURG (OU) not (U). In brief you're missing a letter to the word Luxembourg
Just search for HTC Home Customizer - it'll do what you want.
HTC Home Weather Plug-in
Guys,
Firstly, unfortunately HTC home customiser cannot alter the original HTC home plugin (or i never got it to work ), you have to unistall the original and use the one downloaded by HHC, which has bugs (mail icon does not open mail but messaging etc etc)
I downloaded the fixed version of HTC home from here, which allows you to input user city via registry or using advanced config. Works for me and you can manually configure to how you wish it to look. Ive attached the diamond style clocks/icons should you wish to use them, thanks to varanusvincent
Sorry for repeat post, had trouble uploading files, see attached

HTC Home proxy patch and weather patch combined.

Idsk and N2A both have done great work to solve two different problems. Here are those threads:
http://forum.xda-developers.com/showthread.php?t=363417
http://forum.xda-developers.com/showthread.php?t=319187
1)
Idsk has made a ddl file witch reroutes HTC Home data traffic trough a proxy connection. For this to work you have to use a modified HTCHome.dll file. He has posted different versions of HTCHome in his topic, but it is impossible to post all modified versions of HTCHome.
The patch posted here should work on all versions of HTC Home, VGA versions included.
2)
N2A has come up with a generic solution for users who want to add there own city to HTC Home weather forecast, but his patch won’t work on devices with a proxy data connection as I experienced myself.
Now you can solve both issues in one go. Here is what you do.
*note: this will only work if you didn’t install a patched version of HTCHome from one of the treads mentioned above*
1. unzip 4tune-HTCHome-Patcher_idsk.zip or 4tune-HTCHome-Patcher_N2A.zip anywhere
2. most likely you must first install the included “SdkCerts.cab” on your device or the patched HTC home won't work correctly
3. copy HTCHome.dll, located in the Windows folder, from your phone to your PC
4. place HTCHome.dll in the folder created in 1. that says “place_htc_home_dll_here”
5. run 4tune-patcher.bat
6. copy the resulting “4tune Patched Home Plugin DLL.cab” to your phone
7. disable HTCHome on your phone
8. install 4tune Patched Home Plugin DLL.cab
9. enable HTCHome
10. it should work right away, if not, soft reset.
11. don’t delete the original HTCHome.dll you copied to your PC. It’s a backup in case things go wrong
--------
Attached are two versions.
1)
The idsk version is just for patching HTC Home to work with a proxy data connection and the original accuweather data server. It should patch all versions of HTC Home.
2)
The N2A version is the same except it uses N2A’s weather server in case you wish to add your own city to HH_0409_WeatherCities.xml” as described on the link below
Read down from the part that says “How do I use this, and customise my cities?”
Don’t patch HTC Home again, you’ve already done that!
http://weather.not2advanced.com/files/
---------
I’ve tested several versions of HTC Home and it all worked. If it doesn’t work for you I hope I can help but I’m not an expert and not always online.
Big thanks go to idsk and N2A.
Have fun.

How do you add a location to AccuWeather?

I would like to add Galway(Ireland) to AccuWeather but I am finding difficult to add the Code for Galway! Found a thread that explains it for another htc model but I can not get round doing it on the Touch 3G!
Any suggestions?
Many thanks Woodie
Woodie464 said:
I would like to add Galway(Ireland) to AccuWeather but I am finding difficult to add the Code for Galway! Found a thread that explains it for another htc model but I can not get round doing it on the Touch 3G!
Any suggestions? Many thanks Woodie
Click to expand...
Click to collapse
You may have to edit this file in \windows : HH_0409_WeatherCities.xml
0409 (english) is your language code, other languages have different codes.
Ensure that your city (and corresponding codes, available from accuweather website) is in the list.
Hi,
As this topic is here, let me ask my trouble here;
I have WM6.5 w/ Manila2D, I have lost my selected cities from weather widget in Manila.
I can not add any city, even if all city lists exists and I am able to select. But it does not display weather widget screen..
This also happened before when I have had another Rom and Softreset is not useful at all..
Anyone has such trouble?
Anyone has resolution?
sas_sas said:
Hi,
I have WM6.5 w/ Manila2D, I have lost my selected cities from weather widget in Manila.
I can not add any city, even if all city lists exists and I am able to select. But it does not display weather widget screen.. This also happened before when I have had another Rom and Softreset is not useful at all..
Click to expand...
Click to collapse
Try this.. rename file \windows\HH_0409_WeatherCities.xml to HH_0199_WeatherCities.xml. (keep a copy of the original file somewhere)
azahidi said:
Try this.. rename file \windows\HH_0409_WeatherCities.xml to HH_0199_WeatherCities.xml. (keep a copy of the original file somewhere)
Click to expand...
Click to collapse
Ths azahidi..
Unfortunatelly, dealing (renaming, deleting, moving) with such file is impossible although while TFlo is not active..
Tried w/ Resco and extended File explorer (not seeing/showing), Total commander sees but not executes any command except copying..
Doing thru laptop with vista also sucks due to not showing windows files..
sas_sas said:
Unfortunatelly, dealing (renaming, deleting, moving) with such file is impossible although while TFlo is not active..
Tried w/ Resco and extended File explorer (not seeing/showing), Total commander sees but not executes any command except copying..
Doing thru laptop with vista also sucks due to not showing windows files..
Click to expand...
Click to collapse
I'm not sure why.. but I have renamed mine. The file should not be protected. It's not in ROM.
Try this.. disable TF ->> use TC, properties - uncheck "system" - rename.
It is Rom file..
Not possible to uncheck any box overthere..
Not possible to handle..
Hi all
Same problem here!
Here is what I have done so far
1. Copied HH_409 bla bla file to pc.
2. Edited file with correct data from accuweather.
3. Using total comander removed the read only state from the original file in /windows directory.
4. replaced standard 409 with my version.
5. soft reset
and........ I can choose the cities from the list now but they will not update.
So now I am stuck
if any of you (azahidi ;-) have managed to crack this problem please help me get further.
If you want to try one of my cities to ensure that it is not me doing it wrong here is the line from the xml for one city
Code:
<city name="Newquay, UK" loca="EUR|UK|UK125|Newquay" land="United Kingdom"/>
kranor said:
and........ I can choose the cities from the list now but they will not update. So now I am stuck
if any of you (azahidi ;-) have managed to crack this problem please help me get further.
If you want to try one of my cities to ensure that it is not me doing it wrong here is the line from the xml for one city
Code:
<city name="Newquay, UK" loca="EUR|UK|UK125|Newquay" land="United Kingdom"/>
Click to expand...
Click to collapse
I am not sure why, but I can add and update any city in the list, including many in the UK (e.g. Newbury, newport, newham, newcastle-under-lyme but unfortunately newquay is not). I'll try to add newquay in xml file and see what happens.. I'll post the result later.
btw can you try and do item #8 of first post and see.
This thread here may also be useful http://forum.xda-developers.com/showthread.php?t=476167&highlight=weather&page=2
Tried item 8 and lost control of most of the phone took 1 hour to dig my way back out.
kranor said:
Tried item 8 and lost control of most of the phone took 1 hour to dig my way back out.
Click to expand...
Click to collapse
Sorry for that. it was straightforward when I did it, and also for the other weather issues posted in this thread.
I rest my case.
No problem. Sorry for late reply been camping for a week in....newquay!!! really could ave done with those weather reports lol.
i cant even find the correct codes for my area if they even exist! lol
DJHicks said:
i cant even find the correct codes for my area if they even exist! lol
Click to expand...
Click to collapse
Cannot ? Even in http://www.accuweather.com ? Search for your city/town in "world" link
If found, the code is like this: http://www..... traveler=0&loccode=ASI|MY|MY004|LABUAN
Sorry if I'm telling the obvious.

[Solved] CHTrss widget - Manila 2021 -Unable to restart sense

Hi,
My cook rom is with last 2021 / 21690 040C and CHT2.
I've also a package for RssWidget for CHT2.
My problem is when I put the rss widget on home after if I put away tabs on the settings page, sense won't restart, need to do a sofreset.
When is not on the home page no problem even cook in.
I'm using rss and addon state links wiget
Does anybody have an idea ?
Hi,
After many search I think that's something in the parameters of CHT.
I don't find yet where, but I try with cht parameters from last HD2Owner rom and it's ok.
I've try so many things with different packages in the kitchen.
I join my backup of cht parameters if someone have an idea.
Thanks - Eric
I've also problems with the widget. After widget cooked in HTC Sense starts, but CHT isn't displayed
lcd4linux
Hi,
I've found a way to get it working, but need to have 3 widgets pages.
On my config I just have 1 widget page and 3 quicklinks pages.
On the hd2 of my wife it's the same config of mine without AddonStateLinks and it works.
So now error is found and is something to do with widget on CHT.
Just
About your widget, did you get correct manila file conversion for the slot number ?
For now I rebuilt a complete fresh kitchen and take to playing with the new options.
I haven't test yet but for my Addon_State_link, CHTI.AddonLinks was at slot1 and was nothing at slot0, may be need to correct manila file to have it at slot0.
But will continue this on CHT topic when I'll be ready as now I know it's don't come from some of my packages.
ct_moi said:
About your widget, did you get correct manila file conversion for the slot number ?
Click to expand...
Click to collapse
I don't know. I did it like Cookie posted in his thread. Mode9 and lua Files from cab in ManilaHash. I think they must by prepared for the Slot 0 before, no?
edit: I'm a dummy it's not the "real" path!
lcd4linux

Categories

Resources