X1 Weather Panel forgotten city - solved - XPERIA X1 General

SE Panel supports weather.
Unfortunately some city is forgotten.
SOLUTION:
1) You need to know you City Code for your city:
- go to ULR: http://www.accuweather.com/us-city-list.asp?partner=netweather
- search your city NAME in the right input field
- check the URL reached after pressed the search button (example: last part of my URL is "loccode=EUR|IT|IT007|ROME")
Now you have found your City Code (in my example it is "IT007").
2) Browse on your X1: "\Programs\Panels\SonyEricssonPanel" to check "CITY.dll".
3) Copy the DLL on your PC and open it with a Resource Explorer/Editor like "XN Resource Editor"
4) There is just one resource: a CSV (comma text) file called "101" in "Japanese" language.
5) Export the resource and save it in an CSV file where you want on your PC
6) Open the CSV file with Notepad and edit it adding your City Cod. Please see other rows to use same format:
Example of one row: "1886,Roma,Italia,3600,EUR|IT|IT007|ROMA"
7) Save the CSV file
8) Delete existent resource "101 - Japanese" from the Resource Editor
9) Add a new resource to DLL (use "Import User Resource" if you are usint "XN Resource Editor") and browse to your new modified CSV file.
10) Change resource's language to "Japanese" (as you have found previous one) and change its name to "101" (it can be different, so you need to recreate the same previous internal resource's structure)
11) Save it!
12) Make a backup of original X1 "CITY.dll" and replace it with your modified one
13) Soft Reset!
That's it!

Thank you, this sounds fantastic.
Just tried it out but it doesn't seem to work.
When I copy the new CITY.dll into the panel folder, there are no cities to chose from anymore in the panel's options.
The whole list is empty.
I made exactly what you've written so I can't find the problem

The same for me, not even one entry is visible in list

Not Working....
I tried to add Cape Town, have no idea why SE left this one out....

Try REPLACING an existing city in the file instead of just adding a new one and make sure the length of the string you insert is the same ( ->Filesize before and after should be the same). Can't guarantee that it'll work, it's just a suggestion for you guys

My ****in' PC just doesn't let me save any files with XN Resource Editor. It always sais System Error 19. 'read only'

de Wolfe said:
My ****in' PC just doesn't let me save any files with XN Resource Editor. It always sais System Error 19. 'read only'
Click to expand...
Click to collapse
So, now I managed it to save my new CITY.dll. When I replace the original one with the modified one I also cannot choose between any cities anymore... there is just nothing in the list anymore...

SE "Lost" City's
Hi Firefall
I have done both, new city and replace, both have the same result.
When i want to look up a city, there is none in the list.

SE "Lost" City's
I have mannaged to do this, and it works
You will need to have the following tools befor you start.
a. Total commander for WM, this will help to copy "CITY.DLL" to you mem. card - NB. The PANEL must not be in use, else you will not be able to copy and re-name the file
b. Hex editor - your choice.
c. Multiple file Signer - to digitally re-sign the finished dll.
d. CITY.dll with digital signature removed, i have done this for you, see attached file.
Here is a step by step How To.
1. Do "emandt's 1st step - get ino from : http://www.accuweather.com/us-city-l...ner=netweather
2. Open the CITY.dll in you editor - DO NOT EDIT IN ASCI, USE HEX - and take note of the format where the CITY information is stored - DO NOT ADD TO THE FILE -
3. Find a "city" that you can ammend, note the formatting and ammend the line with your required data. - DO NOT EDIT IN ASCI - make sure that the "Space" between the Chrs. are 0x00 and NOT 0x20
4. If there is additional charicters left after, DO NOT DELETE THEM, replace them with 0x00 not "space - 0x20" DO NOT ADD TO THE FILE .
5. Save the file and "Sign" it with Multiple file Signer - see .txt file if the "Sign" was done.
6. On your phone - "\Programs\Panels\SonyEricssonPanel\" re-name "CITY.dll" to "CITY.dll.bak" - your safety net, backup of original file
7. Copy signed file to "\Programs\Panels\SonyEricssonPanel\".
You may now find your "City" listed. - Take that SE for not listing my city!!!
I added "Cape Town" to my list and it works 100%

Worked for me too, and i'm no computer wizz!...
cheers,

To my greatest surprise,
after 1 month my X1 came back to successful weather update.... By itself.
Have no idea how.

It worked! That's awesome, this has been annoying me for 6 months. Pretty shoddy work from SE though, the dll file seems barely half-finished.
Good work, thanks.

Zodiac69 said:
I have mannaged to do this, and it works
You will need to have the following tools befor you start.
a. Hex editor - your choice.
b.Multiple file Signer - to digitally re-sign the finished dll.
c. CITY.dll with digital signature removed, i have done this for you, see attached file.
Here is a step by step How To.
1. Do "emandt's 1st step - get ino from : http://www.accuweather.com/us-city-l...ner=netweather
2. Open the CITY.dll in you editor and take note of the format where the CITY information is stored - DO NOT ADD TO THE FILE -
3. Find a "city" that you can ammend, note the formatting and ammend the line with your required data. - DO NOT EDIT IN ASCI - make sure that the "Space" between the Chrs are 0x00 and NOT 0x20
4. If there is additional charicters left after, DO NOT DELETE THEM, replace them with 0x00 not "space - 0x20".
5. Save the file and "Sign" it with Multiple file Signer - see .txt file if the "Sign" was done.
6. On your phone - "\Programs\Panels\SonyEricssonPanel\" re-name "CITY.dll" to "CITY.dll.bak" - your safety net, backup of original file
7. Copy signed file to "\Programs\Panels\SonyEricssonPanel\".
You may now find your "City" listed. - Take that SE for not listing my city!!!
I added "Cape Town" to my list and it works 100%
Click to expand...
Click to collapse
Hi
I'm also from CT, could you post your CITY.dll, i've been unsuccessful in updating mine.
Thanks

Panel with Weather for missing cities
Hi, you can download a panel which lists the weather for cities not found on the SE Panel.
The link is
http://wap.sonyericsson.com/fun/mxh...category=FD_Panels&cc=US&dn=x1&filter=4&lc=en
Select the Spb Mobile Shell panel.

achilles2 said:
Hi, you can download a panel which lists the weather for cities not found on the SE Panel.
The link is
http://wap.sonyericsson.com/fun/mxh...category=FD_Panels&cc=US&dn=x1&filter=4&lc=en
Select the Spb Mobile Shell panel.
Click to expand...
Click to collapse
Can not be found.

My apologies, try -
http://www.sonyericsson.com/fun/wxh...;startIndex=15;phoneId=-1;contentItemId=34685

thx
Very easy, just added Cape Town

hey Zodiac69, thanks for the info. I'm still struggling with mine tho, the cities list just comes up empty after the change, so I'm clearly doing something wrong... Would you be able to upload your CITY.dll file though, seeing as I see you're from CPT too...
thanks

CITY.dll with Cape Town
To all the Cape Town X1's
Please find attached the DLL that has Cape Town included

Thanks Z, you saved me a whole lot of trouble

Related

WM6 Pro modifying autocorrect.0409.txt

Customizing the autocorrection in WM6 has been done, but WM6Pro is a bit different. This is the "can't live w/out" feature for past BlackBerry owners which allows you to type something like "brb" in and email and have the system replace it with "I just stepped out, but will respond when i get back."!
Figgured out how to do this on WM6pro from the device itself. The easiest way is to use Total Commander (3rd party file explorer). WM6pro requires that the autotext.0409.txt file be saved in unicode. it also protects the file in 3 ways: it sets the ReadOnly bit; it sets the SystemFile bit; and it watches the file from boot to make sure you don't change/delete it, but it will allow you to rename it. After figguring this out, i came up with the following process to update it:
1) open Total Commander and navigate to and highlight the \Windows\autocorrect.0409.txt file
2) copy the file to the root folder
3) navigate Total Commander to the root folder and highlight the \autocorrect.0409.txt
4) in the properties of the file, turn the ReadOnly and System bits off
6) click the notepad icon at the bottom of Total Commander to open the file in notepad
7) make your changes to the file minding the required alphabetical ordering
8) save the file as a unicode text file with a slightly different name (autocorrect.0409new.txt)
9) copy or move the new file to the windows directory
10) rename the existing autocorrect.0409.txt file to autocorrect.0409orig.txt
11) rename the new autocorrect.0409new.txt to autocorrect0409.txt
12) reboot WinMobile6 Pro
13) if you want to clean up, you should now be able to remove the extra files we have created along the way.
items I added:
sm =
fr =
degs = [the degree symbol]
brb = I just stepped out, but will respond when i get back
ack = (sent from wireless device) I read your email and will respond as soon as I am able. Thanks!
keywords: ppc wm6 windows mobile autocorrect type ahead intellisense as you type keyboard shortcuts macro speed
very interesting, I'll give it a try !
thx for the tip !
1. Very useful and cool tweak, this will help me a lot! I am going to try and get it to work with dual languages and will report back, so for example I could type "CHbusy" and get "县在忙,一会儿给您回答“ to avoid having to change the SIP....great
2. THis will be a great prank, will wait until my bro leaves his phone unattended and go change things like "the=Nate, you are a jackass" it'll take him ages to figure it out!!

Customize Weather City in Home plugin.

How i add my little city in Home weather:
What we need?
A modded HTCHome.dll (This point another server because the original don't work) and put in Windows directory.
HTCHomeWeatherModifies.zip.html
HH_0XXX_WeatherCities.xml Where 0XXX are your language Ex:0410(Italy)
Point the browser at: Word City List
I fill in "International City Selection" and write my City,state
Example: Savona,Italy
If the city name are much than one click the link of your city.
Now see your navigation bar at your browser, can see a code to add to your HH_0XXX_WeatherCities.xml .
Example:
http://www.accuweather.com/world-index-forecast.asp?partner=accuweather&locCode=EUR|IT|IT008|SAVONA|&u=1
We need only this part: ( EUR|IT|IT008|SAVONA ).
Now have to open in your computer HH_0XXX_WeatherCities.xml and put in the string modified for your city:
<city name="Savona, IT" loca="EUR|IT|IT008|SAVONA" land="ITALIA"/>
Save the file and upload in Windows directory.
Before have to shut down from today HtcHome plugin or can't write dll in windows directory.
Thats is all.
Bye .
Hello , thanks for tips,
unfortunately this not work on my Dual touch.
The "HH_0XXX_WeatherCities.xml" file in the windows directory is a rom file write protected and it is not possible to change the read only set.
there is another way to add my city ?
thanks for feedback
In my case it was HTCHome.dll in ROM and protected.
Anyway, RescoExplorer did the trick and successfully overwrited the original dll.
The new dll works great and now i have my local weather in HTC home plugin.
Tnx guys,
pirlone
Hello,
I followed the instructions and had no issue modifying the .dll and .xml records, but i cannot get my city to download data.
i copied
<city name="Perth, AU" loca="OCN|AU|WA|PERTH " land="Australia"/>
and modified it to,
<city name="Kalgoorlie, AU" loca="OCN|AU|WA|KALGOORLIE " land="Australia"/>
i can select the city jsut can not download data.
can someone please point out where i have gone wrong.
Use total commander and can write all file you want...
Open Total Commander
select the file you want transfer and press copy
in the window write "\windows" and press copy.
bye.
da_fingerz said:
Hello,
I followed the instructions and had no issue modifying the .dll and .xml records, but i cannot get my city to download data.
i copied
<city name="Perth, AU" loca="OCN|AU|WA|PERTH " land="Australia"/>
and modified it to,
<city name="Kalgoorlie, AU" loca="OCN|AU|WA|KALGOORLIE " land="Australia"/>
i can select the city jsut can not download data.
can someone please point out where i have gone wrong.
Click to expand...
Click to collapse
Restart your phone and you can find your little city in the list...
Bye.
HTC Home today is gone!!!! help plz!!
I overwrote the original HTCHome.dll but after a softreset HTC Home doesn't appear anymore on the today screen after a soft reset.
Since I'm stupid I didn't make a backup of the original one
Plz can somebody post the original one?
Use only to niki.
Try to re-upload before.
Worked!!
I Thanks for the solution!!! It worked!
Now I can have one of two small cities: Ovar or S. Joao da Madeira - Portugal!!!
COOOOLLL

Adding a new city in the weather tab WM6.1

Hello, does anyone know how to add a city that is in the Accuweather site, but is not on the standard cities in the weather tab on the WM 6.1?? I would like to have the weather for Atyrau, Kazakhstan addes to the cities list...
HELP!!!! thanks in advance!!!!
Try this!
Hi,
Changing the weather on your HTC to map a city that is not listed is a little tricky....and well...sometimes these attempts are unsuccesful. You've basically got two options:
Method 1: Mask the closest city to show your weather
+++++++++++++++++++++++++++++++++++++++++
Software required: PHM registry editor
- First you need to find take a look at all the available cities and find out which is the city or town closest to yours geographically. I'm going to pick say 'Astana' since its already available.
- Select this city and set it as your preferred location.
- Now lauch PHM registry editor and navigate to the following location:
HKEY_LOCAL_MACHINE/Software/HTC/HTCHome/Weather/Settings
WARNING: ALWAYS BACKUP YOUR REGISTRY BEFORE MODIFYING IT!
-Now Under settings find dword 'Location'
-Modify it and type in Atyrau, KZ
-Hit ok
Voila! Now your today plug in will show you weather for your city!
Method 2: Manually enter your cities name in the HTC today plugin
+++++++++++++++++++++++++++++++++++++++++++++++++
This method is a little complicated and I wouldn't recommend this for newbies:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Your gonna need the following software:
1. Total commander
2. Pocket Hosts
Both are freeware and can be downloaded.
- If your ROM supports it, you can edit the HH_0407_WeatherCities.xml (you'll find this under the windows directory)
- Clear the read-only check box for the file.
- Using total commander navigate to the file and click on file-->edit.
-Insert a duplicated line of xml code and change it to look exactly like this:
<city name="Atyrau, KZ" loca="ASI|KZ|KZ005|ATYRAU" land="Kazakhstan" />
- Save the file now and close it.
- Now start pocket hosts and click on 'add'
- Under Host Name type: htc.accuweather.com
- Under IP Address type: 64.62.158.108
- Hit ok.
Soft reset your device then activate the plug in for Atyrau. Enjoy
Additionally you can take a look at the following thread:
http://forum.xda-developers.com/showthread.php?t=312795
Good Luck!
Unfortunately Total Commander says "out of memory" only 64KB files supported... when i try to edit the Weather "HH_0407_WeatherCities.xml" file.... why is this happening?
Can you help please?
I guess your rom wont allow you to make this change. This happens in certain types of roms. Have you made sure you unchecked read only under file attributes?
Try copying the weather xml file onto your desktop via activesync and make the changes on your desktop version and save it. Then rename HH_0407_WeatherCities.xml on your phone and save the desktop version of the file onto your phone under the default windows directory. Again this step wont work on all roms. Most of them wont allow you to change the name of a file. If that happens, its another dead end.
Use method 1, unfortunately I guess that's the closest you can get.

Custom city in Weather tab in TF3D

I wanted to add Luxembourg-City to the Weather tab in TouchFlow3D using either Joe's WeatherMaster or the WeatherDatabaseEditor, but nothing works. Did something change with this new device? WeatherMaster gives me a NullReferenceException and WDE does not seem to do anything. I can select a city and just exit, but not add this city to the database. Or am I not understanding how this program works?
petz79 said:
I wanted to add Luxembourg-City to the Weather tab in TouchFlow3D using either Joe's WeatherMaster or the WeatherDatabaseEditor, but nothing works. Did something change with this new device? WeatherMaster gives me a NullReferenceException and WDE does not seem to do anything. I can select a city and just exit, but not add this city to the database. Or am I not understanding how this program works?
Click to expand...
Click to collapse
Did anyone found a solution to this problem? Is it possible to add custom city in the TF2D weather tab? Or shall we install an other programm? The weather database editor doesn't work...
I now found a solution. It was the first one I tried, but didn't work because of a stupid error.
You have to edit the hh_0409_weathercities.xml in the Windows folder and add a line with the desired city. You can get the code from accuweather.com by searching for your city. The code's in form of CONTINENT|XX|XXXXX|COUNTRY. Delete the trailing bar (|) or else it won't work.
To edit that file, you first have to copy it to a PC, edit it, copy it back somewhere on the phone (not the Windows folder, it won't let you). Then use different file browser (I used GSFinder+) to finally move that file into the Windows folder. Be sure to make a backup of the original file!
petz79 said:
I now found a solution. It was the first one I tried, but didn't work because of a stupid error.
You have to edit the hh_0409_weathercities.xml in the Windows folder and add a line with the desired city. You can get the code from accuweather.com by searching for your city. The code's in form of CONTINENT|XX|XXXXX|COUNTRY. Delete the trailing bar (|) or else it won't work.
To edit that file, you first have to copy it to a PC, edit it, copy it back somewhere on the phone (not the Windows folder, it won't let you). Then use different file browser (I used GSFinder+) to finally move that file into the Windows folder. Be sure to make a backup of the original file!
Click to expand...
Click to collapse
Are you sure that you have to delete the trailing bar? All the codes in the xml(hh_0409_weathercities.xml) that you say are with trailing bars... And something else... How do you edit an xml file? Wich prog do you use?
You can edit an xml file with any text editor. It's a simple text file.
All the codes in my file don't have a trailing bar, so perhaps you've got to try both ways.
Have yuo try?
Deleting the trailing bar (|) it works?
With they it don't works...
need a differt city in wheather...
weather PATCH
I understand that we need to use a patch for the weather!
Someone can help me to find?
Thanks to all
It is really simple. Just like petz79 wrote. Except you have to keep that code from accuweather as is (only change %20 character to space). That is only thing you need.
EDIT: It isn't. New city appears in list, but no weather data are downloaded .
EDIT2: I found interesting fact. When I save into XML line bottom, everything was ok.
Code:
<city name="Praha, CZ" loca="EUR|CZ|EZ001|PRAHA" land="Czech Republic"/>
But when I added this, no data were downloaded:
Code:
<city name="Praha, CZ" loca="EUR|CZ|EZ005|PRAGUE" land="Czech Republic"/>
Now I have two "Praha" items in list, but only one is working. Therefore adding of other cities must be hidden somewhere else.
EDIT3: I got it. AccuWeather has two lists - "Favourite cities selection" and "all cities". Weather app on iolite works only with "favourite cities" list, therefore no other cities can be added. I will try to hack it somehow, but I am not programmer, so probably no solution from me for this.
I found the solution. -> http://forum.xda-developers.com/showpost.php?p=3833726&postcount=79
TorrentOnly, you saved me from going completely insane over this!
I couldn't get it to work for the life of me, until I found your Manila2D.exe patcher! Now it finally downloads the data!
anyway thank you very much, it finally worked and I'm happy
PS: first post
were can i find this file???? "hh_0409_weathercities.xml"???? because on windows filder of my phone i cant find this file!!!!!! please help!!!!!!
on my phone, connected with Active Sync right now, I have the file "hh_0410_weathercities.xml" in my windows folder.

How to CHANGE QuickMenu Folder Icons?

Okay, I searched for "change icons" and got two pages of threads on how to change program icons. Some provided great information; however, none addressed my need.
I'm interested in changing only FOLDER icons, and ONLY those in QuickMenu (see attached images). The folder icons are all the same except for two, the Games folder and the Office Mobile folder. They both have a small file inside the directory that's called "icon."
I would like to change any and all directories to whatever icon I choose, or design. Is this possible? If so, how?
Thanks,
Peter
Try PExplorer - it works magic!!!
http://www.heaventools.com/
Confused???
eenbox said:
Try PExplorer - it works magic!!!
http://www.heaventools.com/
Click to expand...
Click to collapse
Thanks for the quick reply. I had a look at that program, and the web site, and I'm completely confused. It looks like a program for my PC, and not my phone. Furthermore, I don't see anything mentioned on how to change an icon.
HELP!
ADDENDUM: Furthermore, as I said in my original post, I DO NOT want to change program icons, such as exe files or dll files. From what I can tell, PExplorer is desiged to modify the inner workings of exe and dll files, etc.
I want to change the icons for a directory (folder image). These are not programs or dlls.
Thanks,
Peter
Figured it out ...
I figured it out. It took a bit of thought, and some weird manipulation using Notepad, but now I can change any QuickMenu icon to almost whatever I want, as long as there's either an EXE or DLL file that contains the icon.
Cheers!
----------------------------------
Since I don't plan to return to this thread, and since there may be someone who wants to know what I did, here's my solution:
REMEMBER: This solution ONLY works if you want to change folder icons WITHIN the QuickMenu subset of folders. It does NOT work on program icons, or for any other icons for that matter (ONLY QUICKMENU FOLDERS).
01) Find an EXE or DLL file with the icon you want. If this file contains more than one icon, then you'll need to know the icon number within the program. This can be quite difficult to determine. However, for the purpose of this discussion, I'm assuming you want to use the MAIN icon, which is usually designated as icon "0" (zero) within the EXE or DLL file. We'll go with "0" for this discussion.
02) Your phone should already have at least one (probably two) folder icon files. The two in question are usually used for the Start Menu Games directory and for the Start Menu Office Mobile directory. Using Total Commander or any similar program (File Explorer will NOT work), make your way to either the Games or Office Mobile directory within the Windows\Start Menu. Whether it's the Games folder or the Office Mobile folder, you should find a shortcut file called icon. This is the file that determines how the folder will appear within the QuickMenu structure.
03) Copy this file to your PC. Anywhere will do as long as you remember where you put it. Make a second copy of it just in case you "ruin" your attempt to change the icon using these instructions. At least you can go back to what you had before.
04) Right click on this file and select Properties. In the General tab, uncheck the Read-only box. Click on Apply.
05) Open NotePad on your PC.
06) Within NotePad, click on File and then on Open. The Open dialogue box appears. At the bottom of this dialogue box are three horizontal white boxes. The second box has the title "Files of type." The default entry is "Text documents (*.txt). Click on the down arrow and change this to "All files." Now find the icon file you copied to your PC in (3) above and open it within NotePad.
07) You will see a line of instructions at the top of the file. These instructions tell your phone where to find the icon image. What we need to do, therefore, is change the instructions to another icon image.
08) Now let's assume that you have a Start Menu folder within QuickMenu called PDF files, and you would like that folder to have the Adobe Reader icon. To do this, change the line of instructions from what it currently reads to the following:
1#AdobeReaderLE.exe,-0
09) Make sure there's a carriage return after the final "0"
10) Re-save the file. The file name must not be changed. It must always remain as "icon."
11) Now copy this new file to the actual PDF directory within your phone's Start Menu. Soft reset your phone and the PDF folder will now have the Adobe icon.
DONE!
Here are some tips:
The above example assumes that the AdobeReaderLE.exe file is in your main Windows directory. If the EXE file you want to use is anywhere else, you need to direct the instructions appropriately. Here's an example for an EXE file contained on your Storage Card, and within the Program Files directory. Let's say you installed BsB Tweaks to the Storage Card, and you want to use the main BsB icon for one of your Start Menu folders. Here's how the instructions would look:
1#\Storage Card\Program Files\BsB\Tweaks\BsB Tweaks.exe,-0
Remember to always save the file with the name "icon." Always put the revised icon file inside the directory whose appearance you want to change.
Happy Changing!
Peter
P.S. Since I can't seem to add images to a post after the fact, I will submit another post shortly with images to show you what I did with my phone.
Before and After Images
As promised, attached (below) are images to show you what I did with my phone.
Peter
thanks alot man, i have been looking for days, to find a way to do this!!!!

Categories

Resources