yashsingh1/xdaforums huggingface dataset:
[8525, TyTN, MDA Vario II, JasJam ROM Development] MoritzN:
With own webserver, it works without patch!

Guys, here's my way without patching any DLL, and it also works for Manila/TF2D: :)

Custom weather locations on HTCHome and Manila2D without DLL-Hacking

Requirements:

- your phone :-)

- you need an own PHP webserver with own IP where you can edit the default directory (the one probably containing the index.html saying "This is a shared server bla bla") which is displayed when you just type your IP address in the browser [e.g. it is "/var/www/sharedip" with an ISPConfig machine]

On your Webserver

- go to the directory where the default (shown when IP is typed in browser) page is hosted

- create subdiretory widget, change into, and create subdirectory htc (if you started e.g. in "/var/www/sharedip", you now should be in "/var/www/sharedip/widget/htc")

- Copy the php-file from the server-side-script (http://weather.not2advanced.com/files/weathertranslator-0_2_5.zip) into here

- rename the php file to "forecast-data_v3.asp" (don't worry about the .asp-extension now!)

- in the same directory, create a file named ".htaccess" and paste that: "AddType application/x-httpd-php .asp" and save (without the quotes!) - that will parse the .asp-file with PHP (because it is!)

- test the script in your browser: http://YOUR.IP.ADD.HERE/widget/htc/forecast-data_v3.asp should give you a "No location code set." message

On your Phone

- install Pocket Host (e.g. from http://www.handango.de/PlatformProd...pe=2&catalog=0amp;sectionId=0&productId=54305)

- start Pocket Host, and add host "htc.accuweather.com" with your server's IP

- reboot device

now you can add your desired weather codes and they all work without patching any DLL!
[8525, TyTN, MDA Vario II, JasJam ROM Development] iferoporefi:
hi, i tryed it...

i'm using Manila 2D,i used your weather fix V21 and patched HTCHome.dll

i've insert my city ("Pisa, IT" "EUR|IT|IT016") but just show 0° C every day...

can someone help me?!
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
Funnily enough, that's how I did it in the first place ;-) Except rather than use the AddType, I used mod_rewrite to point the .asp file to a real .php file. I don't like setting one type to act as another. The big problem with this though is that this won't work for anyone on a proxy. You can read more about the problems with the old way that you described over the first few pages of this post. It's why I swapped it all over.

Also, for the record, this will only work with an Apache setup, and the particular instructions provided pertain to Linux/UNIX type servers. Windows/IIS machines require a little more messing about, although Windows/Apache isn't too dissimilar.
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
Hi GunsZ,

The problem isn't my server, it's the forecastfox feed. It seems to think this location doesn't exist. I'm investigating now.

Edit: I've looked up again, and the error the feed is giving is "Location does not exist.", so I'm afraid there's not a lot I can do about it. It seems to be on the AccuWeather site, but not on that particular feed for some reason.
[8525, TyTN, MDA Vario II, JasJam ROM Development] iferoporefi:
can someone help me?!
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
It's all working on my server end, I'm afraid it's down to the patch, which I've no involvement with.
[8525, TyTN, MDA Vario II, JasJam ROM Development] lern2lvewithit:
Hey there...I have the ATT Tilt and i was using Schens 2.1 on WM 6.0...i the weather where it work and i had no problem with it. Just a day ago i finally changed my rom to have WM 6.1 and i cant remember what i need to do to get my weather to work. I installed SDK certificates and also edited the HH 409 xml file to add my cities but just doesnt find it at all. I havent added Schens again cause i dont know if it works with WM 6.1 and im afraid of screwing the phone up. My cities are Boca Raton, FL and also Brooklyn, NY.

Please can someone help me out...what am i doing wrong or what am i forgetting? PLEASE HELP! Thanks!
[8525, TyTN, MDA Vario II, JasJam ROM Development] fagon:
I have HTC Touch Cruise ROM PTG-Original-Win 6 / 1 PTG and repeatedly tried to add new cities on my Portuguese HH_0816_WeatherCities.xml file where there was only 3 Portuguese cities ...

I had a CAB with only portuguese cities. I opened it in my PC and located within the file with Portuguese cities.

So I made a backup of my original HH_0816_WeatherCities.xml

I copied it to my computer, edit it with notepad, then pasted the Portuguese cities and save the modified file HH_0816_WeatherCities.xml (saved as UTF-8). Copy and replace my in HTC and I softreset.

The HH_0816_WeatherCities.xml lost property "ROM", but works well and now, I have Portuguese cities and also a large number of cities around the world.

:) And now, if I want add a new city, just edit it and add!

But if you try the same way forced, I do not assume any responsibility ...

Good luck!

(excuse my English)
[8525, TyTN, MDA Vario II, JasJam ROM Development] shawnjoslyn:
Verizon Samsung Omnia patches???

I've gone through the patch process several times with my i910 from Verizon and it still doesn't work. Has anyone been able to get this to work on TouchFlo 2D running on an i910? Thanks everyone.
[8525, TyTN, MDA Vario II, JasJam ROM Development] galochas:
For all of you that had problems

I was getting crazy only to put my home weather working on my htc touch p3450 BY GPRS , i used patches from avery site but i still couldn´t figure out why It dintn´t work. Finaly yesterday i did discover my solution, and i holpe this can solve your problems to.

THE PROBLEM WAS THAT THE CONECTINS SETTINGS ON MY PDA WEREN´T RIGHT SO I CORRECTED IT ,HERE IS A THE SITE THAT HELPED ME, IT´S IN PORTUGUESE http://www.portalppc.com/v2/forum/viewtopic.php?f=35&t=163&start=0 IF YOU ARE IN ANOTHER COUNTRY CALL YOUR NETWORK FOR INFORMATION AND SAY YOU WANT TO CONFIGURE YOUR GPRS SETTINGS ON YOUR PDA AND THAT SHOULD DO IT

NOTE: YOU HAVE ALSO TO INSTALL THE PATCH FROM THE BEGINING OF THIS THREAD
[8525, TyTN, MDA Vario II, JasJam ROM Development] Old faithful:
Many Thanks to N2A :)

Just wanted to express my gratitude to N2A for working out the secrets fo the HTC weather app and for so generously hosting the server to make it all work :)

I found it actually eassier to patch my own DLL with your server address using XVI32 and SignCode than figuring out what patches to download ;).

For the HH_0409_WeatherCities.xml file, after working a couple of hours painstakingly with DOS Edit, I broke down, downloaded Crimson Editor and it was indeed much faster and easier from then on :)

I ended up with all kinds of different HH_0409_WeatherCities.xml versions ;)

I added many custom cities, mostly those where my friends and relatives live, using the format lifted from accuweather website address bar after a successful city search :)

Of course, it took me the better part of the day to get the bugs out of my xml files, get used to the xml syntax and get the typos out and of course, looking up all kinds of custom cities (it's amazing how many accuweather has listed!), even experimenting with accented characters (yes, you can have fancy characters such as Köln instead of Koln or Koeln, Germany), finally building a list of favourites that I added to the top of the OEM list with a "land= "Favourites"" for easy category selection ;)

I bet I'll be tweaking it for the next couple of hour still ;)

Thanks, N2A!

It was a day well spent, considering the miserable, wet, cold weather :)

Hey, did you know it's -31C and partly cloudy at McMurdo in Antarctica at this time? :D

Here you go if you want to add it ;)

<city name="McMurdo, Antarctica" loca="ANT|AQ|AQ---|MCMURDO STATION" land="Antarctica"/>
[8525, TyTN, MDA Vario II, JasJam ROM Development] michelecb:
Hi Man! After one day of hard work to search the htc bad link to weather upgrade, i've hexedited the exe file of manila and now upgrade of new city work on my T.I.R. v11k rom..."i don't know if it work also on another manila2d"

For Install, deactivate touch element in settings - system - today, next copy the 2 files (or only the exe if you have xml file of new city)in windows folder on your device, next make a soft reset and reactivate touch element in today settings. Now you will have all city in database and now upgrades will work perfectly!!!!!!!!!!!

This is link:

http://rapidshare.com/files/238332615/MeteoFixManila2d_by_michelecb.rar.html

Enjoy!!!! ;)

Ps: sorry for my english...

In Italian

Ragazzi dopo 1 giorno intero in cui mi sono sbattuto per capire come inserire tutte le città nel manila2d e permettere l'aggiornamento con il collegamento all'indirizzo giusto, sono riuscito ad hexeditare il file exe di manila e permettere il funzionamento nella rom v11 k..."non so se questo exe funge anche per altre rom"

Per l'installazione è facile, disattivate il touch in impostazioni - sistema - oggi - elementii, collegate il telefono al pc e copiate i 2 file estratti nella cartella windows del vostro dispositivo, fatto ciò fate un soft reset e riattivate il touch sempre in impostazioni - sistema - oggi - elementi. Ora avrete tutte le città italiane da inserire e non avrete più problemi di aggiornamento!!!!!!!!!!!

Spero apprezzate questo mio primo lavoro per Pocket PC, e siccome oggi è giusto una settimana che ne ho uno spero di sfornare presto nuovi lavori :-)

Eccovi il link del rar necessario:

http://rapidshare.com/files/238332615/MeteoFixManila2d_by_michelecb.rar.html

Fatene Buon uso mi racc...e in caso postate in altri siti o forum se x favore potreste citare l'autore "michelecb"...grazie mille a tutti voi per le numerose guide ke mettete a disposizione!!!
[8525, TyTN, MDA Vario II, JasJam ROM Development] cavani:
hallo everybody,

i have htc touch hd, i use wap connection and i cannot found Weather\Settings in registry, so i have manila, not manila2d, what i need to work weather with wap,

sorry for my english,

help me!!

Edit/Delete Message

ciao a tutti,

ho un htc touch hd non riesco a settare il wap per l'aggiornamento meteo..come devo fare aiutatemi!!!!
[8525, TyTN, MDA Vario II, JasJam ROM Development] stylez:
N2A,

Just wanted to say thankyou.

Now have custom weather version using b4 wouldn't allow :)

Peace.
[8525, TyTN, MDA Vario II, JasJam ROM Development] makbil:
I believe it will only work with Internet over GPRS, 3G or Wi-Fi. You should call your operator and get the correct settings.
[8525, TyTN, MDA Vario II, JasJam ROM Development] Murcielago:
Hi N2A,

I've been using your method for a long time, manually editing and patching my own HTCHome.dll but ever since I've upgraded my HTC Hermes with Josh's Manilla2D's ROM, I'm totally unable to use either your full patcher or manual method.

The problem is that I don't find the string http://htc.accuweather.com/widget/htc/forecast-data_v3.asp?ac=TR2cra9U&locCode= in the HTCHome.dll file.

Do you have a solution to this ?

I've patched the file with your Universal patcher and it allows me to use my HH_409xxx file but that's all. It's unable to find the weather data.

I'm attaching the original HTCHome.dll file in case you can help me with this.

Thanks
[8525, TyTN, MDA Vario II, JasJam ROM Development] m8cca:
I just found this weather patch utility and your server and thanks a bunch for creating this utility and keep the server up for the rest of us to get localized weather.

Sorry for replying to this old post but seeing that you are converting from Celcius to Fahrenheit which result in the gaps in scale in F (no 53F, 56F, 58F, 60F, 62F, 65F, etc will ever be returned) since F scale has smaller steps. I think the problem can be addressed if the script converts from F to C instead.

I have modified your php script to retrieve in imperial scale and convert to metric as appropriate and attached to this post. I don't have a server up and running so I didn't get a chance to test it though so I hope I didn't make any unintentional errors. Please take a look and see if it make sense to convert the server to run with this and perhaps the degree difference problem would show up less frequently.

cheers!

m8cca
[8525, TyTN, MDA Vario II, JasJam ROM Development] m8cca:
The URL is now embedded in Manila2D.exe. I just patched that file running on my Samsung Epix and it is working fine. Good luck.

m8cca
[8525, TyTN, MDA Vario II, JasJam ROM Development] tehbublitz:
Not working

I followed the steps and I cannot seem to get it working.

<city name="Fargo, US" loca="us|nd|fargo|58102" land="United States"/>

It shows 0 degress?
[8525, TyTN, MDA Vario II, JasJam ROM Development] mlgz:
I just find your post today and also the attached cab file

May I kiss you (on front) ?

THANKS (and thanks to the patch's father too)
[8525, TyTN, MDA Vario II, JasJam ROM Development] igor7:
Hi!!

The download link is dead... Can you upload those files one more time?

Thank you in advance.
[8525, TyTN, MDA Vario II, JasJam ROM Development] dazz245:
ok big problems...

I installed HTC Kaiser DLL Replacement Installer on my kaiser after the certificates and modifying the xml, and after installing it restarted, then i got to the today screen after that and there was no htc home then it restated and it wont stay on anymore, it keeps restarting . it is really laggy too at start aswell before it restarts.

i will be really pissed if i have to reflash, plz help this is urgent!
[8525, TyTN, MDA Vario II, JasJam ROM Development] olest:
Is forecastdata.php and weathertranslate.php the same

Hi,

After changing 2330fc3c_manila and patching manila.exe it works fine.

I consider to run the converter on my own server and want to know if forecastdata.php at n2a and weathertranslate.php 0.2.5 is the same file?
[8525, TyTN, MDA Vario II, JasJam ROM Development] FoxEye:
Hi all,

I've got an HTC Snap (WM6.1).

I've search but not found the htchome.dll or Manila*.exe ...

Is it possible to patch the snap ?

Sorry for my very poor english, thanks ; )
[8525, TyTN, MDA Vario II, JasJam ROM Development] FoxEye:
I try changing the host by setting htc.accuweather.com to the IP of N2A.

It does not work ..
[8525, TyTN, MDA Vario II, JasJam ROM Development] FoxEye:
Sorry for the flood, but I need help.
[8525, TyTN, MDA Vario II, JasJam ROM Development] Milaha:
Thank you! I just got it working on my new HTC touch. I did run into a few problems though and thought I would provide feedback in case you are still maintaining it.

I first went with the HTC Touch DLL Replacement Installer for simplicity sake, it worked, but my HTC home is actually different, it includes a 4th tab for quick setting of the ringer (on, silent, vibrate, automatic) which I find handy.

So I went back and tried the N2A Universal Patch Package. This failed completely, providing only an error. I then simply used the N2A Automatic File Patcher and manually installed the fixed DLL which worked great and I am now up and running without issue.

A few notes in case you want further details:

I am with a small regional carrier in the US, and thus am only running windows mobile 6.0 (debating trying to update w/ a larger carriers update and try to get it working)

My DLL went from 327kb to 129kb when patching, so I am guessing that the initial version was not compressed.

If anything else is of interest let me know, I am a pretty big newb when it comes to this stuff (this is my first smart phone, and I just got it 3 days ago), so I apologize if anything important was left out.

Again, Thank you for all of the information provided and providing the server, it made the process very painless!
[8525, TyTN, MDA Vario II, JasJam ROM Development] FoxEye:
Up again ; )
[8525, TyTN, MDA Vario II, JasJam ROM Development] kranor:
Anyone managed to get custom cities on an HTC jade? Specifically I am using the orange branded version
[8525, TyTN, MDA Vario II, JasJam ROM Development] bamaboy1217:
HTC OZone issues

It would seem the HTC home has been updated, or I am just seriously dumb.

There is no longer a htchome.dll in the Windows Directory (or any other HTCHome type directory) there is also no longer any xml files; however, there is a doc file iwth the same name (HH_409_WeatherCities.doc) which I changed and got nowhere. There is also two text files HH_409_WeatherCities.txt and HH_0C0A_WeatherCities.txt, I have no edited them but I have to figure since hte doc file didn't work its pulling city data from here.

My issue is I can't get the patcher to work since there doesn't seem to be an HTCHome.dll, anyone figured out his issue?
[8525, TyTN, MDA Vario II, JasJam ROM Development] bamaboy1217:
Interesting Work Around

I never really looked to see what exactly the ways of doing this were before patching the dll; however, I stumbled across an interesting work around since I was frustrated by an apparent lack of HTCHome.dll on my OZone.

I reasoned that if I just duplicated the structure of htc.accuweather.com/widget/htc/forecast-data_v3.asp on another server then set the htc.accuweather.com in the host file it should work fine and it did.

I wrote a simplistic asp document that calls N2A's php document via a HTTPWebRequest (I was doing my own parsing of the xml but then decided why waste the time when its already done, in fact if I wasn't so lazy I would just install php on my IIS and let the asp script call the php page locally).

I then setup a new IIS website to accept traffic for the host htc.accuweather.com on port 80 and just made the directory structure widget/htc/ then set my forecast-data_v3.asp code in it.

Finally I added a host entry into the registry on my phone to change the dns of htc.accuweather.com to my server and bam it works like there were no changes, no patching required.

If anyone is interesting in this, I may be able to set something up similar to N2A or post my asp document.

PS: Still trying to figure out how to add a custom city on the OZone, there is no HH_*.xml only some docs and txt files still playing around with it though, for now I just set my city zip code in the registry and it seems to be working fine.
[8525, TyTN, MDA Vario II, JasJam ROM Development] bamaboy1217:
OZone Text Files

Just finished figuring it out, on the HTC OZone the cities are no longer stored in XML documents but instead in what essentially amounts to csv files with semi colons.

If you have an OZone look for HH_????_WeatherCities.txt (???? corresponding to your localized version, 0409 was for english and 0C0A was spanish on mine).

These txt files are hidden since they are system files in the rom you will need resco explorer or something else to access them, what I did was copy it to my desktop add a line (in my case for Auburn: Auburn, AL; 36832;United States) then put it back on the device root, and move it back to windows directory using resco.

This coupled with the host set to my own server means I never had to patch my DLL to get mine working for whatever city I want!
[8525, TyTN, MDA Vario II, JasJam ROM Development] j0ntown:
Just used the files as posted to get the weather working on my Verizon Touch/Vogue/Elf.

Thanks N2A!
[8525, TyTN, MDA Vario II, JasJam ROM Development] :
Here is another URL you can now link to, and it will work. I know this is working on HTC Manila builds.

But why is this one different. This one allows you to use Canadian Postal Codes to look up the weather. so it adds a lot of function to everything.

Also it is set to convert from F->C so its a little more accurate.

http://weather.conflipper.com/htcweather/weathertranslate.php?ac=CONFLIPPER&locCode=%ls&version= 1&device=innovation

for anyone interested in the new URL path I am using.

http://hofmann.accu-weather.com/wid...t/hofmann/weather-data.asp?metric=1&location=

I was able to get accuweather to make a new URL for me, that will accept both. so that is the new URL I am using, feel free to use it has you want, I thought I would post it here, maybe it will help some others in the future.

Thanks N2A for everything you have done for this. it really is great everything you have made this to be.
[8525, TyTN, MDA Vario II, JasJam ROM Development] fantumpro:
New in the neighborhood

Hello everyone, I am new to the community and am seeking a little assistance with the weather issue on HTC Home Plugin. Where can I find a sufficient file manager for the Htc 6800, which will enable me to install the sdk certificates.:confused:
[8525, TyTN, MDA Vario II, JasJam ROM Development] fantumpro:
Weather fix error message

:confused:I recieved a message that said either the dll file was already patched or there were some other isssues going on. My weather always says 0 degrees celsius. I changed it to read fahrenheit and it always says 32 degrees fahrenheit, even after update. My city is recognized, I believe, however it will not display the correct temperature information. Should I uninstall and re-install a newer, fixed version, if there is one, and if so, where would I be able to find it. Thanks for any assitance you can offer me. Other than that the plugin works fine. I have installed the customizer also.
[8525, TyTN, MDA Vario II, JasJam ROM Development] FernBch:
Also new to the neighborhood. I have a question about this patch also. I just received a new HTC Ozone from VZW. Do these same instructions apply? My device is not a touch screen and I don't know how to disable the HTC plug in on my device. I have successfully edited the xml file, but need to do the rest of the items in order to make the weather work for my city.

Thanks in Advance,

Mike
[8525, TyTN, MDA Vario II, JasJam ROM Development] erorodic:
Unable to retrieve data

Please help me,

I changed HH_0409_*.* file in \Windows\ on the way, that I add:

<city name="Porec, HR" loca="EUR|HR|HR005|POREC" land="Croatia"/>

When I am going to check wheather via web it works perfect, but when I choose destination/location via my HTC, I receive message

"Unable to retrieve...."

I also add:

<city name="Novigrad, HR" loca="EUR|HR|HR005|NOVIGRAD" land="Croatia"/>

and get same message Unable.....

afterthat I choose

<city name="Rijeka, HR" loca="EUR|HR|HR013|RIJEKA" land="Croatia"/>

and works fine

What is a reason that both cities above don't work and Rijeka which was in original file works as well

Thank you a lot in advance

Br
[8525, TyTN, MDA Vario II, JasJam ROM Development] g400g400:
i am using Manila Touchflo 2.0.1919.1432

and i cannot find the htchome.ddl in the \windows\ directory, i even search the whole device using Total Commander also cannot find the filed...where the hack is that files? the weathere tabs works, just that i need it to update my loca cities..... anyone can help? btw i am using cooked rom by keyx on my hp612c wm6.5
[8525, TyTN, MDA Vario II, JasJam ROM Development] mederlock:
I just did your auto packager, and installed the SDK .cab, and then ran the N2A Patched Home Plugin DLL.cab, and now my phone wont load the today screen or anything. it doesnt respond to anything, and my desktop doesnt pick it up.

This is what i did.

1. ran the SDK .cab

2. got the HTChome.dll

3. Put that .dll in the N2A folder

4. Ran the batch file

5. took the cab and put it on my phone

6. Ran the cab

7. Phone froze

8. Hard resetted the phone9

9. The phone boots into windows, but won't respond to anything, no plugins on today screen start or anything, soft keys dont do anything.

Help? i kinda need my phone.

Thanks.

*EDIT*

I did a full reset, and its all good.
[8525, TyTN, MDA Vario II, JasJam ROM Development] veracity777:
my phone has crashed after instal

Hi. I installed the Files

Latest patched Schen 2.1 HTC Home:

With Hermes/TyTN Brightness Fix: UPX compressed file, restarted my phone and now it will go to the start screen and freeze...is there anything I can do besides hard reset?? I tried plugging it in to my computer to delete the files but my computer does not see my phone. the only thing that works is the backlight when I press the buttons. I really am hoping that I don't have to re-do everything over again!!

argh!! lol
[8525, TyTN, MDA Vario II, JasJam ROM Development] boog:
If your trying this on manilla, that might be why. It was designed for htchome.

If not, then I'm not sure. Either way, it's probably going to need to be cleared and started over.