yashsingh1/xdaforums huggingface dataset:
[8525, TyTN, MDA Vario II, JasJam ROM Development] jorgec86:
Manilla 2d

Hi. I want to know if this patch works with manilla 2d (touchflo).

'Cause i cant configure SAM|CO|CO000|RAFAEL NUNEZ| Rafael Nunez, Colombia. Which is the airport of my city, as my city is not listed in accuweather.

Thanks
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
Sorry, but I can't get much simpler than providing CAB files to install, or alternatives should the cab files not work on your device...

This is xda-developers, not xda-newbies :rolleyes:

"Changing a few command codes"? What do you mean?
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
Hi.

First of all, the IP address method was deleted months ago, I'm not sure where you've got the information about that one - you need to use one of my cabfiles, or use the patcher/package creator. That's your problem! *chuckle*
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
I've not tried to patch the touchflo system, but it's perfectly possible in theory if you alter the internal HTTP request string and re-sign it. I believe someone earlier in another thread managed. Beyond the scope of what I've done though.
[8525, TyTN, MDA Vario II, JasJam ROM Development] omar207:
JEESH, no need to be condescending....

I must have missed the easy to use cab files that we just download and extract to install....maybe you could point out that downloadable cab for me?

you were a newbie at some point, I was simply asking for a little help because I was overwhelmed by all the instructions on your pages (here at xda, and the linked page); was just looking for simpler instructions (see above)

"command codes": clearly I'm a NEWBIE, that's what it says in the tag on my profile, next to the part that says I've made all of 5 or 10 posts. Once again, just looking for some help, maybe with a registry editor, or config tool. My mistake. I should have forgone the attempt at technical jargon and just asked for help...like a downloadable cab file.

Do you think maybe you can point me in the right direction, maybe give me a little help here? I'd really like to get that HTC weather thingy goin:(
[8525, TyTN, MDA Vario II, JasJam ROM Development] omar207:
There *IS* An Easier Way!

actually I found this page much MORE USER FRIENDLY...with CONCISE and EASY to FOLLOW INSTRUCTIONS :)

http://xdaforums.com/showthread.php?t=368903

(Ironically this page is based on your methods and has links to your pages....but "bpapa9013" GETS IT when it comes to keeping important and sometimes confusing things like instructions short and sweet so that people can actually understand them...whether for the NEWBIES or whomever!) :cool:
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
What can I say - if you look back through the last 120 pages, I've answered a lot of questions, and I thought I'd summarised the instructions reasonably on the instruction pages under "How do I use this, and customise my cities?" I've been beaten down with a lot of newbie questions. And yes, I was a newbie once... but long before I came to this site, and I did my research first - even if it meant trawling through a hell of a lot of pages :(

Also, doing the registry hack they suggest means that you are unable to change to multiple locations. If you change it, you'll have to hack the registry again to get the one you want back.
[8525, TyTN, MDA Vario II, JasJam ROM Development] y0himba:
N2A: I have been trying to get your PHP to work on my server, but whenever I point the .dll to it (thanks for the hex edit instuctions, very easy and works quick), the data cannot be downloaded. I have no way to debug the requests...

What do you suggest? Does it need it's own subdomain? I.E: weather.y0himba.net? It's based on a Windows server? Is there the possibility to edit it for Linux servers?

What information can I give you to help?

BTW: It is working perfectly using your server.

For those with problems using a city with a space in it, try using %20 like San%20Diego
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
Hi y0himba,

It's currently running on a FreeBSD server, so it should work natively on a Linux server. Or a Windows one for that matter, everything is processed in memory.

The *only* thing that really matters is that the total URL length before the locCode=.

http://htc.accuweather.com/widget/htc/forecast-data_v3.asp?ac=TR2cra9U&locCode=

and

http://weather.not2advanced.com/htcweather/forecastdata.php?ac=XDADevs&locCode=

are the same length (79 characters). If you can pad it to the same using the ac=XDAdevs variable (example:

http://www.y0himba.net/weather/forecastdata.php?ac=XDADevs012345678901&locCode=

) then it should work fine.

Also, make sure that the PHP script is working okay by accessing it manually via a browser - it requires certain PHP extensions to run correctly, so if it barfs trying to run it in a browser, it's no chance on the phone ;-)

Hope that helps. The ac=XDAdevs is purely padding data (the variable isn't used anywhere at the moment in my script), so hopefully that's the quick easy fix.
[8525, TyTN, MDA Vario II, JasJam ROM Development] webbhawk:
I just want to say to N2A, YOU ROCK!!!!

Thank you sooooo much!

I am definitely a noob at this and I figured out pretty quickly.

Thanks:)
[8525, TyTN, MDA Vario II, JasJam ROM Development] sananda:
hello :D

just wanted to ask if there's any way to get you to

make a patch that works on manilla2D?

i've tried it with the universal patcher but it won't work.

i also tried various manila2D.exe but Touchflo won't start after

installing the patch.

I've also tried a "Manila Patch" witch won't work...

i have a samsung omnia with manila2d buildin in the rom. (i guess thats the source of the evil *gg*)

sorry for my bad english but it's been a long time i learned it in school *gg*

greets
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
*laughs* I guess it's time for me to get off my backside and write a new patch system, isn't it?

I'll get something sorted for everything that uses the weather that I can find. I'll actually write a proper universal patch system like I meant to ages ago!

Hang tight. I'm on it. ;-)
[8525, TyTN, MDA Vario II, JasJam ROM Development] vibez:
Hi,

I have a new HTC touch 3G and i'm trying to add a city to the touchflo weather tab. Its seems HTC have changed the configuration slightly.

I wonder if you could have a look at the steps here and see where I am going wrong

Disable touchflo

Copy HH_0407_WeatherCities.xml from the /windows folder to your pc.

Edit the xml to include your new city.

Copy it back to the phone into somewhere like "My Documents" then use resco explorer to move it to /windows and overwrite the original file.

Copy manil2d.exe from windows to your pc,

download XVI32 from http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm

download sign code from N2A's site http://weather.not2advanced.com/files/SignCode.zip

Open manila2d.exe in XVI32 and do a search for "weather.manila1.htc.com" ( make sure Unicode check box is checked )

You will see the update URL in unicode , which means that if you want to replace it , there has to be a hex 00 between every letter !

It needs to be changed to something like weather.not2advanced.com/htcweather/forecastdata.php?locCode=%s%s%s

save manila2d.exe and sign it using N2A's batch file

Copy it back to the phone into somewhere like "My Documents" then use resco explorer to move it to /windows and overwrite the original file.

Now I have the new city listed but when I update, all the temperatures = 0

I'm not sure what I have done wrong but I think the URL is wrong.

Any ideas?
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
Not sure. What's the city code you're using?
[8525, TyTN, MDA Vario II, JasJam ROM Development] Garfield1970:
Hi N2a , how are you ?

I got a PM from Vibez and have looked a bit into their issue with the touch 3G

It seems HTC changed the xml format required by Manila to display the weather :-((

You can clearly see the differences between the following two outputs :

http://weather.not2advanced.com/htc...hp?locCode=EUR|DE|GM011|AACHEN&ac=XDADevs1234

Is the Diamond ( and other device ) compatible format that your site outputs

http://weather.manila1.htc.com/widg....asp?locCode=EUR|DE|GM011|AACHEN&?ac=TR2cra9U

Is the Diamond ( and other device ) compatible format that HTC outputs using the forecast-data_v3.asp script

and this one which is the Touch 3g's script named forecast-data.asp invoked on HTC's site :

http://htc.accuweather.com/widget/htc/forecast-data.asp?ac=TR2cra9U&locCode=EUR|DE|GM011|AACHEN

The output is formatted completely difeerently as you can see :-( Seems HTC tried to reinvent the wheel one more time :-)

So I recon the only chance for those guys to get their custom weather is a modified script that outputs this different format or what do you think ?

Greetings from Luxemburg ,

Claude
[8525, TyTN, MDA Vario II, JasJam ROM Development] vibez:
Garfield1970, sorry to repeat myself but I will mention that I have it working on the Touch 3G via a version of manila2d.exe from another rom. As far as I can tell, N2A's xml format is just fine as it contains all the required elements. It seems although N2A's xml format has additional fields, it does not us cause any problems.

To me the problem seems to be with the patching of our particular version of manilla2d.exe. Although i'm willing to be proved wrong :)
[8525, TyTN, MDA Vario II, JasJam ROM Development] Garfield1970:
Hold it N2a

Looks like we have a confusion on the Update url used in Touch 3g's .. We'll clarify that first before stealing some of your time :-)))

I'm checking it with vibez

cheers,

Claude
[8525, TyTN, MDA Vario II, JasJam ROM Development] vibez:
Garfield1970 is correct and has now provided us with a working URL length. Thanks N2A for your site and Garfield1970 for the help :)
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
Heh, glad I'm of service ;-)
[8525, TyTN, MDA Vario II, JasJam ROM Development] jasmas:
Help patching HTCHome.dll

I have upgraded my Verizon XV6900 to Windows Mobile 6.1 and I am having issues patching my HTCHome.dll. I have bricked my phone at least ten times today trying every dll out there. I am attaching my orginal dll and when I use the universal patcher here is my error:

Created by N2A @ XDA-Developers.com

For all questions, please see the thread at XDA-Developers

and the site at http://weather.not2advanced.com/files/

============================================================

The system cannot find the file specified.

File not found - unpatched.dll

grep: unpatched.dll: No such file or directory

Performing patch...

Reading from unpatched.dll...

Error opening input file unpatched.dll

Could Not Find C:\Documents and Settings\jmace1\Desktop\N2A-Patcher\N2A-Patcher\

tools\unpatched.dll

Could Not Find C:\Documents and Settings\jmace1\Desktop\N2A-Patcher\N2A-Patcher\

tools\patched.dll

=======================================================================

Process failed! Unable to patch the HTCHome.dll file correctly.

Either this file has already been patched, or something has gone wrong.

If you are sure the file is not pre-patched, please report this error

on the XDA-Developers forums, using the link from

http://weather.not2advanced.com/files/

=======================================================================
[8525, TyTN, MDA Vario II, JasJam ROM Development] jpcrailjr:
Can't Make a Cab

Here is what I get when I try to run the patcher on the eOS 4.888.FIRE ROM HTCHome.dll.

<<============================================================

N2A's Automatic Weather Patched DLL Package Creator

Created by N2A @ XDA-Developers.com

For all questions, please see the thread at XDA-Developers

and the site at http://weather.not2advanced.com/files/

============================================================

Performing patch...

Reading from unpatched.dll...

Re-signing file...

Packing file...

Preparing cabinet install...

The system cannot find the file specified. <---WHAT???

=======================================================================

Process is complete, and was successful! <---WHAT??? Again....

Install the cabfile which has been placed in this folder to your phone.

=======================================================================

Press a key to exit.

>>

Unfortunately, no .cab file exists....

Upon further review....

The problem was that the program was too deeply nested. I made the cab and ran it. It took several attempts to get it to install over the HTC Home installed.

Now, despite all the HTML editing I can do, to include pasting a the "Fort Belvior" line into the HH_0409_WeatherCities.xml I have no cities visible in the chooser except the ones provided. I've tried Zip Codes for US cities, I've tried making them show up exactly like the Accuweather International Page shows them, and nothing.... I only have the original cities to choose from.

Any help would be appreciated. I'm got the rom running smoothly otherwise on my AT&T Tilt.

Thanks!

Jim
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
AHA! This could be the "bug" I've been looking for - I'll set up a way to work around this shortly.

I'll come to the other issue tomorrow, when I've got some sleep.

Will also get the previous user's requested DLL created. It could well be that this was the problem all along for a lot of people, and I was just left scratching my head as to what the issue was. Too long a path... I'd have never have thought about it.
[8525, TyTN, MDA Vario II, JasJam ROM Development] timmymarsh:
Hi N2A,

Thanks for trying to sort this, i too am having the same problem and have tried other solutions on xda to try and get custom city to work. Mine is EUR|JE|JE---|JERSEY and just cant get it to work with Vincents manila rom. I had no problems with his diamond 2 rom, so i am looking forward to you hopefully resolving it:D Thanks for your hard work!
[8525, TyTN, MDA Vario II, JasJam ROM Development] got2bjoey:
Do you have a Fix for HTC Touch Diamond

I recently bought an HTC Touch Diamond from Sprint and I love the phone, but I cant seem to set the weather for my city because there is no option to select by zip. Just the preloaded list of cities. I tried to find an xml file or something that had the list of those cities but no luck. When I try the edit the weathercities in the registry it just goes back to the preset cities. Let me know if you have a fix for the Diamond Touch.

Thanks
[8525, TyTN, MDA Vario II, JasJam ROM Development] Genesis3:
Hi!

I'm trying to patch the new Manila2D.exe application, and the replacement string you're using is too long. There are TWO calls, with the second being to an HTC address that is a CNAME, and the "ac" field is missing - this means your replacement won't work as it doesn't fit.

I've downloaded the php program and stuck it on my server on a "short" URL, which should make it patchable virtually anywhere - but I am getting an error:

Fatal error: Call to undefined function curl_init() in /usr/local/www/htcwx/wx.php on line 46

What I don't understand here is that I'm running php5 (on Freebsd) and it IS compiled with curl included; that's been part of the standard PHP distribution since 4.x!

I'm obviously missing something..... any hints?

If I can fix this I'll make the URL http://htcwx.org/wx.php accessible to anyone - that ought to be short enough to work for anyone, anywhere in the existing codebase.... but first I have to get this to work! :)
[8525, TyTN, MDA Vario II, JasJam ROM Development] Genesis3:
ADDRESSED.

If you're running a RECENT Manila version (e.g. the HyperDragon copy in the Kaiser area) or just want another place to pull from, here 'ya go. Read here: http://xdaforums.com/showthread.php?p=3041842

Operational now.
[8525, TyTN, MDA Vario II, JasJam ROM Development] bloody_chibi:
I've used this patch before on my TELUS HTC Touch and it worked like a charm.

But since I reflashed with their updated ROM (3.07) each time I try installing the fix it kills the Home plugin and freezes my phone as soon as Today makes the call to htchome.dll. The only solution to that is a hard reset.

Is there something special about the 3.07 Vouge ROM htchome.dll or am I just not getting it? I've tried the universal patch, manually editing and signing the .dll and installing the other versions randomly. All end in the same misfortune.

<edit>K, noob moment, I rechecked my .dll and mistyped the string while i was replacing the URL. Works perfectly now. </edit>
[8525, TyTN, MDA Vario II, JasJam ROM Development] seelion:
site down ? no weather
[8525, TyTN, MDA Vario II, JasJam ROM Development] Genesis3:
Go look at http://htcwx.org if you're looking for an alternative.

That one is definitely not down :)
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
Yeah, the server fell over earlier. It's been rebooted now, and is providing services again. :)

Sorry, occasionally happens ;-)
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
Hey, sorry about the delay in replying, I've been offline for the holidays... certainly a shock to the system ;)

As for the ac= etc, it's purely padding on my script, as you've probably gathered as you seem to have adapted it on your server. Credit where due would be nice though ;) *laughs*

Re the signing you mentioned on that post you've put up - yes, it's all signed - and the signing tools are available via the links on the first page if I remember correctly, along with a suitable certificate for the job.
[8525, TyTN, MDA Vario II, JasJam ROM Development] Murcielago:
Hi N2A,

I have install Josh's v15 Manilla 2D interface (see my signature).

Do you know if I can patch it and install the SDK and custom HH_409xxx.xml file I have used until now with my previous Schap's ROM ?

Thanks
[8525, TyTN, MDA Vario II, JasJam ROM Development] TransatlanticFoe:
I just tried installing this on my Kaiser and now it's starting up, then rebooting over and over. Is there anything I can do short of hard resetting it? I'd rather not lose everything.
[8525, TyTN, MDA Vario II, JasJam ROM Development] GRIMLOCKE:
Im having the same issue. This sucks. I cant understand why HTC insists on using there own server for the weather instead of just going directly through accuweather.

Im using the newest AT&T rom with an HTC tilt and just nothing I try can get this working :(

Guess its time for the FIFTH reset of the night.
[8525, TyTN, MDA Vario II, JasJam ROM Development] pogulnik:
need help on default weather server link

on the HTC HD i have installed weather database editor 1.2 by andreas.flake

it is a great tool to add cities to the weather database and also has an option

Weather.ServerURLOverride that can point the service to other weather server .

can someone please post original accuweather URL... :confused::confused::confused:

i have tried these 3 options but none works:

_http://htc.accuweather.com/

_http://htc.accuweather.com/widget/htc/forecast-data_v3.asp

_http://htc.accuweather.com/widget/htc/forecast-data_v3.asp?ac=TR2cra9U&locCode=

many thanks!
[8525, TyTN, MDA Vario II, JasJam ROM Development] pogulnik:
here is the answer:

original URL (sniffed traffic)

HTTP GET Host: weather.manila1.htc.com

URI: /widget/htc/forecast-data_v3.asp?ac=TR2cra9U&device=innovation&locCode=NAM|US|CA|IRVINE&version=1

Name: htc.accuweather.com

Address: 207.242.93.89

Aliases: weather.manila1.htc.com

_http://weather.manila1.htc.com/widget/htc/forecast-data_v3.asp?ac=TR2cra9U&device=innovation&locCode=NAM|US|CA|IRVINE&version=1

so, in the registry you can put

_http://htc.accuweather.com/widget/htc/forecast-data_v3.asp?ac=TR2cra9U&device=innovation&locCode=%25ls&version=1

additional information here
[8525, TyTN, MDA Vario II, JasJam ROM Development] Corax71:
Edit cities on S740/Rose

Hi there

Has anyone tried this city/place editing on a s740/rose?

I have the scandinavian S740 and cant seem to find the htc_home.dll in any directory. Also there is no xml file with the cities. However there are several .txt files in the windows directory which has similar names and contains the same info. I've tried to edit them according to the instructions and my new cities show up and may be chosen, but it wont download the weather data. I guess the "missing" downloading is because i havent done the first part with the dll file..

Any suggestions?

Pål Martin/Corax71
[8525, TyTN, MDA Vario II, JasJam ROM Development] ParrotSquawk:
the patch on pg 1 doesn't work for kaiser under wm6.1

I ran the patcher cab for the kaiser and it sent my phone into an endless soft loop.

I just need to get the damn weather working with MY cities.

Any suggestions as reset my phone for the umpteenth time?
[8525, TyTN, MDA Vario II, JasJam ROM Development] sledandski:
What did I do wrong??

I downloaded the files from N2A's site and put them on my phone, first I installed the certs cab, then the installed DLL cab for my sprint touch. restarted the phone at the prompt at the end of the install and the phone would not start all the way. Half way through loading the home screen the phone would lock up and that was it, nothing worked. I played with it for 30 minutes then said screw it and had to do a hard reset. What did I do wrong
[8525, TyTN, MDA Vario II, JasJam ROM Development] loryshoe:
anybody can fix my location, palu sulteng indonesian
[8525, TyTN, MDA Vario II, JasJam ROM Development] workaphobic:
THANK YOU

I pulled down your patcher and followed the instructions and the weather tab FINALLY works here!!

Works wonderful - I may actually get the php code and setup my own htc-wx server.
[8525, TyTN, MDA Vario II, JasJam ROM Development] Mastiff:
I'm slightly stuck here. I have managed to add one of the cities I would like to add, but the rest won't work. I have gotten them all from Accuweather.com, and I have installed the dll, patched with what's on the download site right now. The one I managed to add is this:

<city name="Arendal" loca="EUR|NO|NO002|ARENDAL" land="Norway"/>

But I could not get anywhere with these, even though the format seems right, and the codes should be correct:

<city name="Akland" loca="EUR|NO|NO002|AKLAND" land="Norway"/>

<city name="Mandal" loca="EUR|NO|NO018|MANDAL" land="Norway"/>

<city name="Gautefall" loca="EUR|NO|NO016|GAUTEFALL" land="Norway"/>

I'm using a PDAViet 6.1 ROM for my Atom Life, with Manila TouchFlo 2D. Any ideas would be appreciated!

I don't know if this means anything, but another version of the Manila that my son has on his Atom Exec has Arendal as one of the standard cities. Mine doesn't.
[8525, TyTN, MDA Vario II, JasJam ROM Development] networkdood:
I have a HyperDragon 4 IOLITE ROM on my TILT (turned TYNT). I am using (trying to...) a device patcher and loaded the cab file HTC Kaiser DLL Replacement Installer to my device storage. I also loaded the SDK Certs. I am using Crimson to mod the xml file. Normally, I edit the XML file and copy over the windows file using TotalCommander and this worked fine on my original ROM (using the HTC HOME 2.1 cab), but I it is not working for my cooked ROM. It cannot be the code as it worked on the same XML file for my original ROM. What do you think?

I figured it out following a post by scotchua and downloading a file from MSKIP....weather works great now....
[8525, TyTN, MDA Vario II, JasJam ROM Development] GunsZ:
Please, my weather is updated, but shows 0

<city name="Parabel, RU" loca="ASI|RU|RS160|Parabel" land="Russia"/>

could not you this do for me?

sorry my english...
[8525, TyTN, MDA Vario II, JasJam ROM Development] eloco:
Well, besides it's a little bit tricky putting this working i can now have my city weather. Hum, who knows if i don't make a bigger database with a lot more world cities. Thank you for you're good work and patitence to explain us all how to do.
[8525, TyTN, MDA Vario II, JasJam ROM Development] GunsZ:
N2A

please add my city on your server

<city name="Parabel, RU" loca="ASI|RU|RS160|Parabel" land="Russia"/>

thank you