Removing YouTube link from Internet TF3D tab - Touch Diamond, MDA Compact IV General

Ok - I admit it - I am indeed seemingly the only person in the world who doesn't regularly view YouTube!
Therefore I'd like to remove it from my Favourites list on the Internet tab of TF3D.. although from what I can see this one is hardcoded (and not an Opera Favourite, indeed this link actually opens up the YouTube client and no Opera).
However.. while on the subject.. has anyone figured out how to control the ordering that these Favourites are displayed on the TF3D tab? From what I can make out, while within Opera they are alphabetic, in TF3D they are listed in the order they were created.
All ideas/suggestions welcomed! Thanks.

youtube...
No, you're not the only person. I don't watch youtube too. I'd like to remove it complete from the device. Any chance?

Well.. I've removed the whole internet tab from TF3D altogether (using TF3D config).
It's nothing but a globe and some links.. which I can also get from the programs tab. Ya might wanna try removing this whole tab and adding the opera link into your programs tab instead

I do not use it 2

I also had a problem with the internet tab. In my case (MDA compact IV) the opera favorites weren't displayed on the tab.
I've been searching the diamond and found some xml files in the following directory:
\Application Data\manila
There are several xml-files, choose the one for your own language-country combination. This file determines the contents of the internet tab.
1) Make a backup of the xml-file
2) Clear the read-only and the system flags of the xml-file.
3) Make the necessary changes.
4) Save and you are ready.
To remove the you-tube link, You'll have to delete the <link .... > entry from the <OperatorLinks> section.
P.S.
While you're there, you can also remove the <banner > field to get rid of the logo, and remove/change/add OperatorLinks ( e.g. the Search link), and detrmine wether you want to display the opera favorites.

By Christ. Removing the internet tab just to get rid of a bookmark is a bit bloody over the top!
Just delete the bookmarks you don't want from opera and they disappear.
How hard do you really need to make it??
Sheesh!!!
I realise that t-mobile and the other networks may have screwed with the touchflo to bugger it up, but if you have an HTC branded one then just edit the opera bookmarks!!

@Mods: perhaps someone could merge all these threads as they are all about the same topic:
http://forum.xda-developers.com/showthread.php?t=408035
http://forum.xda-developers.com/showthread.php?t=408641
The solution posted above and in the other threads seems only to work for the MDA compact IV but not for the Diamond. Does anybody know how to change the internet tab on the Diamond?

Many thanks to all - I'd given up hope after my first ask
It's nice to be able to add icons for the operator links (only 62x62 tho')

Patrickw_mdav said:
I also had a problem with the internet tab. In my case (MDA compact IV) the opera favorites weren't displayed on the tab.
I've been searching the diamond and found some xml files in the following directory:
\Application Data\manila
There are several xml-files, choose the one for your own language-country combination. This file determines the contents of the internet tab.
1) Make a backup of the xml-file
2) Clear the read-only and the system flags of the xml-file.
3) Make the necessary changes.
4) Save and you are ready.
To remove the you-tube link, You'll have to delete the <link .... > entry from the <OperatorLinks> section.
P.S.
While you're there, you can also remove the <banner > field to get rid of the logo, and remove/change/add OperatorLinks ( e.g. the Search link), and detrmine wether you want to display the opera favorites.
Click to expand...
Click to collapse
Did anybody notice that this doesn't work anymore with the new 1.93 HTC Rom?
Any new trick to remove the youtube link?

Any more ideas?
Begin to hate youtube

rhedgehog said:
Just delete the bookmarks you don't want from opera and they disappear.
How hard do you really need to make it??
Sheesh!!!
I realise that t-mobile and the other networks may have screwed with the touchflo to bugger it up, but if you have an HTC branded one then just edit the opera bookmarks!!
Click to expand...
Click to collapse
Hey retard, why don't you shut up and go back to kindergarten! He can't DO THAT. It is NOT an Opera bookmark and you can't just delete it. If it was he would have done that - don't assume everybody is as stupid as you.

XDA II said:
Did anybody notice that this doesn't work anymore with the new 1.93 HTC Rom?
Any new trick to remove the youtube link?
Click to expand...
Click to collapse
I just deleted the entire OperatorLinks section and that worked fine.

Kermode said:
I just deleted the entire OperatorLinks section and that worked fine.
Click to expand...
Click to collapse
It's not working here. I removed the also the whole OperatorLinks section and you tube still there. I've tried to remove the read only flag and the system flag of the file. Try to softreset and deactivating touchflo3d before changing the file. Nothing works for me. Also i've searching the whole windows directory for other occurencies of the text 'you tube' and found nothing related. Additionaly I tried to changed the text 'you tube' in the OperatorLinks section, but the text didn't changed in the touchflo3d after restarting.
I'm using 1.93.

I, too, am interest in this! I'm sure there has to be a registry entry to remove it. Oh registry wizards?! Where art thou???

This variant worked on Touch diamond 1.93.
I thought I was the only one that didn't see youtube as the meaning of life and the Internet. It appears that we are at least a handful.
I did something VERY similar to the above and it worked (first shot) on a TD with 1.93.
But since the above didn't work for all, I better describe EXACTLY what I did:
1) By activesync copied the XML-file to PC
2) Removed RO-fileattribute
3) Opened it with notepad
4) Renamed the <Banner to <BBanner
5) Renamed (both halfs) of <OperatorLinks> to <OOperatorLinks>
6) Saved the file
7) Copied it back to another dir on th TD
8) Removed RO on original
9) Used TotalCommander to copy my changed file over the running.
10) Pressed the red reset-button
And look and behold. After boot It worked. The globe also went.
I noticed that the .qtc files mentioned in the .xml doesn't exist at the location given. e.g.
DefaultImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner.qtc"​Nor anywhere else?
Actually the whole structure
"\Windows\HTC\​doesn't exist!
Nor is there anywhere a directory or registry entry "InterNetPortal" nor "Assets"!! So this is all very strange...
But the interesting thing is that the widget now only shows my favorites.
Hope it works for others as well.
I must emphasize that I didn't try the original method, so that might also have done the trick.
After change, the file looks like this
<?xml version="1.0" encoding="utf-16"?>
<InternetPortal>
<IncludeUserFavorites>True</IncludeUserFavorites>
<BBanner
DefaultImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner.qtc"
SelectedImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner_selected.qtc"
Text="Start webbrowser"
Width="480"
Height="215" />​ <OOperatorLinks>
<Link
Text="YouTube"
Executable="\windows\youtube.exe"
ImagePath="\Windows\HTC\Assets\Images\InternetPortal\youtube.qtc"​ />​ </OOperatorLinks>​</InternetPortal>​
----
After some more testing, I found out that the very odd values for "DefaultImagePath" and "SelectedImagePath" are MAGIC words! They could be replaced with 'any' picture-file. If the path or filename is invalid/nonexistent the picture is omitted. If these two magic values are used the standard globe will be used. The picture is scalable by height/width

Order of Opera favorites on widget, opera6.adr format
The favorites are shown on the widget in the order they appear in opera6.adr.
Opera6.adr is a rather plain text-file. But please note that by default the unix-style <LF>-only is used as line separator.
So if possible avoid editing with windows notepad, or change the <LF>'s
In vista-notepad <LF>'s are treated as zero-width blanks(!!), so it's VERY easy to get confused and mess things up. I wasted a lot of time, thinking it was a proprietary format, before I discovered the <LF>'s...
Opera Hotlist version 2.0
Options: encoding = utf8, version=3
#URL
ID==12
NAME==Google
CREATED==1223404383
URL==http://google.co.uk​#URL
ID==13
NAME==About:blank
CREATED==1223404383
URL==about:blank​​
The second dummy-link
About:blank​is useful when the globe is removed from the widget, just to open the browser. I recommend it as link number FIVE, to get it as the lowest of the five shown on the widget without swiping.

eske.rahn said:
The favorites are shown on the widget in the order they appear in opera6.adr.
Opera6.adr is a rather plain text-file. But please note that by default the unix-style <LF>-only is used as line separator.
So if possible avoid editing with windows notepad, or change the <LF>'s
In vista-notepad <LF>'s are treated as zero-width blanks(!!), so it's VERY easy to get confused and mess things up. I wasted a lot of time, thinking it was a proprietary format, before I discovered the <LF>'s...
Opera Hotlist version 2.0
Options: encoding = utf8, version=3
#URL
ID==12
NAME==Google
CREATED==1223404383
URL==http://google.co.uk​#URL
ID==13
NAME==About:blank
CREATED==1223404383
URL==about:blank​​
The second dummy-link
About:blank​is useful when the globe is removed from the widget, just to open the browser. I recommend it as link number FIVE, to get it as the lowest of the five shown on the widget without swiping.
Click to expand...
Click to collapse
How did you edit it finally?
Vista WordPad?
EDIT:
I stopped touchflo, removed read only and system checkmarks on the file. Copied it over to the PC. Used Vista wordpad to open it. Edited it and when finished clicked save. Copied the new file over to the phone, replacing the one there. Started up touchflo and it worked!

FuzzyLogic_FC said:
How did you edit it finally?
Click to expand...
Click to collapse
Well when I discovered the LF's it was easy. Just replaced LF with CRLF, this can be done in many editors.

Timbermill said:
Many thanks to all - I'd given up hope after my first ask
It's nice to be able to add icons for the operator links (only 62x62 tho')
Click to expand...
Click to collapse
How'd you manage to add icons for the operator links and are they limited to 62x62 simply due to the available space? Can icons be added for the favorites too?

"thank you for pasting the original xml file" helped me in restoring the default globe and removing telstra wap links especially the bigpond image!

Related

How to make changes to HTC homescreen...

Hello!
I would like to make som changes to the preinnstalled homecreen on my HTC s730, but i don't know how. I like it as it is now, but the weather service and the top ten person i would like to cut away. Somebody who know how I can do that? Is it possible to do other changes on it too?
Yeah, theres an XML file in the windows dir I believe of the phone that you can edit and make changes too, I added the most used programs under my calander while I try to find something for that contacts bit I never use.
There was another thread where people were posting pics of what they had done and had more tips, but essentially you just edit that xml. I dont recall the name for sure but it was something like HTChome.xml or something like that, not at home ATM or I would be of more use lol...
the files have the suffix .home.xml
http://forums.sbsh.net/index.php?showtopic=5203
yep
i lost my htc home screem
can you help me and send me yours?
thanks
10332007 said:
Yeah, theres an XML file in the windows dir I believe of the phone that you can edit and make changes too, I added the most used programs under my calander while I try to find something for that contacts bit I never use.
There was another thread where people were posting pics of what they had done and had more tips, but essentially you just edit that xml. I dont recall the name for sure but it was something like HTChome.xml or something like that, not at home ATM or I would be of more use lol...
Click to expand...
Click to collapse
How did you do that? When I try to find the windows folder (via active sync) It won't show up on my pc screen, but when i use the HTC i fid the folder. How come is that? I can find the folder Home, with the preinnstalled windows homescreen bur not the HTC homescreen. It seems like it's not visible(?).
kjeg1 said:
How did you do that? When I try to find the windows folder (via active sync) It won't show up on my pc screen, but when i use the HTC i fid the folder. How come is that? I can find the folder Home, with the preinnstalled windows homescreen bur not the HTC homescreen. It seems like it's not visible(?).
Click to expand...
Click to collapse
Oh yea... they're hidden files... you have to enable viewing hidden files in windows explorer to see them.
What ^he said I always enable hidden file viewing every time I format so I didnt think to post it
bigflavor said:
Oh yea... they're hidden files... you have to enable viewing hidden files in windows explorer to see them.
Click to expand...
Click to collapse
Thanx
Now I've got another problem. Because the weather service and the top ten person is defined in the following file in reg. {B0C8Ac4B-CddC-4010-AAEB-076A2A6EB171}, but this file is just a path to another file HTCHome.dll. My problem here is that I can't find the file HTCHome.dll. I just find a bunch of HTCHome.dll files. All of them has an ending of *.mui. Like HTCHome.dll.0809.mui. and I can't open them eather. Somebody knows what to do?
And thanx for the help from everybody so far
Anybody please? I'm pretty green in this
Where are you seeing those? Are you sure your in the right section of the phones file system for the home screens?
Connect through active sync, then open "My window's based device" then go into application data, then Home and mine are all in there as .xml
10332007 said:
Where are you seeing those? Are you sure your in the right section of the phones file system for the home screens?
Connect through active sync, then open "My window's based device" then go into application data, then Home and mine are all in there as .xml
Click to expand...
Click to collapse
I have found the file HTC.home.xls and opend it, inside the xml document I find this line of code:
<plugin clsid="{B0C8AC4B-CDDC-4010-AAEB-076A2A6EB171}" name="HTCHome" height="100" />
I have managed to fint out (at least I think so) that it is this plugin who shows the clock, the weaterservice and the top ten persons. When I found the B0C8AC4B-CDDC-4010-AAEB-076A2A6EB171} in regedit the value of this key is HTCHome.dll. When i search the whole phone for this dll file i can't find the spesific file, just a bunch of "lookalikes" like HTCHome.dll.0809.mui. This file is located in the windows directory with 5 dll files like this one, but with different numbers at the end. (ex. *.dll.041D.mui and so on). Or am I totally wrong here? Maybe it's a easier way to do this? (Make the weater service and top ten in the homescreen disappear).
kjeg1 said:
I have found the file HTC.home.xls and opend it, inside the xml document I find this line of code:
<plugin clsid="{B0C8AC4B-CDDC-4010-AAEB-076A2A6EB171}" name="HTCHome" height="100" />
I have managed to fint out (at least I think so) that it is this plugin who shows the clock, the weaterservice and the top ten persons. When I found the B0C8AC4B-CDDC-4010-AAEB-076A2A6EB171} in regedit the value of this key is HTCHome.dll. When i search the whole phone for this dll file i can't find the spesific file, just a bunch of "lookalikes" like HTCHome.dll.0809.mui. This file is located in the windows directory with 5 dll files like this one, but with different numbers at the end. (ex. *.dll.041D.mui and so on). Or am I totally wrong here? Maybe it's a easier way to do this? (Make the weater service and top ten in the homescreen disappear).
Click to expand...
Click to collapse
Good work. Each CLSID is a different plugin. Each value nested within the CLSID is a modifier. If you want, say... the Most Recently Used items on your HTC home screen... take a look at the contents of one of the .home.xml files that has the MRU listed... and copy out the whole portion of the file that contains the information. They're even indented.
bigflavor said:
Good work. Each CLSID is a different plugin. Each value nested within the CLSID is a modifier. If you want, say... the Most Recently Used items on your HTC home screen... take a look at the contents of one of the .home.xml files that has the MRU listed... and copy out the whole portion of the file that contains the information. They're even indented.
Click to expand...
Click to collapse
Aha, this is really good to know =)
But what to do when I want to remove something in a plug in, is that possible at all? In the plug in i talked about in my last post, there is three functions.
Number one shows the clock and makes it easier to acsess the alarm setting directly (without have to do so via configuration -> clock and alarm),
number two is the HTC Home weather service
and number three is favourite persons.
I wan't to remove the two last functions in this plug in.
kjeg1 said:
Aha, this is really good to know =)
But what to do when I want to remove something in a plug in, is that possible at all? In the plug in i talked about in my last post, there is three functions.
Number one shows the clock and makes it easier to acsess the alarm setting directly (without have to do so via configuration -> clock and alarm),
number two is the HTC Home weather service
and number three is favourite persons.
I wan't to remove the two last functions in this plug in.
Click to expand...
Click to collapse
It's quite possible that there is no way to only display parts of the plugin... as this function would have to be programmed into the plugin itself.
Take a look at the other plugins... like the one that shows appointments... you will see that there are portions labeled "text" which is the place where the text would be... you could... in essence... remove this part and have it not display text, but the plugin would still be present.
I hate to say it... but without HTC having programmed a solution to handle your request... you're better off using Facade.
bigflavor said:
It's quite possible that there is no way to only display parts of the plugin... as this function would have to be programmed into the plugin itself.
Take a look at the other plugins... like the one that shows appointments... you will see that there are portions labeled "text" which is the place where the text would be... you could... in essence... remove this part and have it not display text, but the plugin would still be present.
I hate to say it... but without HTC having programmed a solution to handle your request... you're better off using Facade.
Click to expand...
Click to collapse
Okai, I just have to live with it the hehe.
I have finally found out how to use fascade in i properly way. I actually don't need to use the default fascade homescreen (who by the way is quite terrible), but I can just use the plug ins. Is there by the way any clock plug in (maybe in fascade?) who makes it possible to set the alarm easy without going thru configuration? If there is, I can just remove the whole plug in in HTCHome and replace it with this.
Hi..nice to see some Homescreen-Interested guys here.
First;
The HTC-Live Homescreen-Plugin is limited to his Functions (Time,Weather,Favs) and not customizeable, there maybe a solution to edit some images like Weather-Icons or the Time-Font,thats all...not like his big Brother on HTC Touch(better to configure,two more Functions, MRU and MusicPlugin).
Sorry.
You can add and move any plugin on your Phone by editing the XML, but dont ask me for an HowTo,please...look into the other xxx.home.xml, it is really easy to customize the HomeScreen.
Some Infos:
The Plugin itself is in /Windows/HTCHome.dll, the .mui Files are LanguageFiles, you can modify and rename them to translate the plugin into your own Language, the HH_WEATHER_01-44.png and all the other HH_blabla...png files are the Images for the Clock,WeatherIcons...,
Happy editing...
kjeg1 said:
Aha, this is really good to know =)
But what to do when I want to remove something in a plug in, is that possible at all? In the plug in i talked about in my last post, there is three functions.
Number one shows the clock and makes it easier to acsess the alarm setting directly (without have to do so via configuration -> clock and alarm),
number two is the HTC Home weather service
and number three is favourite persons.
I wan't to remove the two last functions in this plug in.
Click to expand...
Click to collapse
Me too, I wanted to remove those two services. I took some fiddling with the xml-file and several plugins, but I managed to make something that looks quite like the Htc Home screen but has just the functionality I want.
Big other advantage is that I now suffer a lot less of the famous memory leaks.
See the result below.
jvlerick said:
Me too, I wanted to remove those two services. I took some fiddling with the xml-file and several plugins, but I managed to make something that looks quite like the Htc Home screen but has just the functionality I want.
Big other advantage is that I now suffer a lot less of the famous memory leaks.
See the result below.
Click to expand...
Click to collapse
Please post your .home.xml file!
yeah - can you post the .home.xml for your fake HTC theme? it looks real nice!
thanks

Restricted Config in TF3d-Internet Tab by T-Mobile?

Hello there,
can anybody with T-Mobile MDA compact IV confirm, that there is no possibility to configure the favorites shown in the internet-Tab of TouchFlow 3D?
My german TMob MDAcIV shows only two favorites ("MobileTV" and "Suche") and i don't see any possibility to add more. I tried to add some within opera and within PIE and none of these are visible in TF3D. Plus i can't find any "normal" configuration-screen to add favorites / bookmarks here. Is there any Patch known for this, e.g. within the registry?
Thanks in advance,
Malte
Try editing opera6.adr in the Opera directory. By doing this you can add (backup) your site links and also change the order in which they appear on the Internet tab. The order isn't changed in Opera though as this is always displayed in alpha order.
I hope that helps you.
Sorry, but your answer doesn't help me. I can modify the bookmarks inside opera - either directly inside opera (via the "star"-button) or via editing the opera6.adr.
My problem is, that the bookmarks never appear on the internet-tab inside TouchFlow3d. I thought - as i remember the htc-launch-event-video right - i could see my bookmarks in the TouchFlow3d Tab and coud access them directly by pressing one and opera should be launched afterwards directly accessing the chosen url.
Or am i getting something wrong here???
anyone with any info on this?
bigbaloo said:
Hello there,
can anybody with T-Mobile MDA compact IV confirm, that there is no possibility to configure the favorites shown in the internet-Tab of TouchFlow 3D?
My german TMob MDAcIV shows only two favorites ("MobileTV" and "Suche") and i don't see any possibility to add more. I tried to add some within opera and within PIE and none of these are visible in TF3D. Plus i can't find any "normal" configuration-screen to add favorites / bookmarks here. Is there any Patch known for this, e.g. within the registry?
Thanks in advance,
Malte
Click to expand...
Click to collapse
I've got the same problem. I have a MDA Compact IV and on my Internet Tab it has a logo of web 'n' walk (the internet service of T-Mobile) and below it one favorite: Search. I've added a few favorites, but they won't show up in this tab. I do see them in Opera itself, but I'd like to have them in the TF3D tab also.
after debranding and reinstalling opera from rom you will still see web n walk icon but additional you'll find your opera bookmarks below.
klingklang113 said:
after debranding and reinstalling opera from rom you will still see web n walk icon but additional you'll find your opera bookmarks below.
Click to expand...
Click to collapse
What exactly is debranding? For example I'm currently using the TF3D Config and selected the HTC Black theme instead of my default T-Mobile theme. So basicly it's debranded or is debranding something else?
I had the same problem, and I found it very annoying.
I've been searching the diamond and found some xml files in the following directory:
\Application Data\manila
There are several xml-files, choose the one for your own language-country combination.
1) Make a backup of the xml-file
2) Clear the read-only and the system flags of the xml-file.
3) Change the value of the <IncludeUserFavorites> field to TRUE
4) Save and you are ready.
P.S.
While you're there, you can also remove the <banner > field to get rid of the logo, and remove/change/add OperatorLinks ( e.g. the Search link)
Patrickw_mdav said:
I had the same problem, and I found it very annoying.
I've been searching the diamond and found some xml files in the following directory:
\Application Data\manila
There are several xml-files, choose the one for your own language-country combination.
1) Make a backup of the xml-file
2) Clear the read-only and the system flags of the xml-file.
3) Change the value of the <IncludeUserFavorites> field to TRUE
4) Save and you are ready.
P.S.
While you're there, you can also remove the <banner > field to get rid of the logo, and remove/change/add OperatorLinks ( e.g. the Search link)
Click to expand...
Click to collapse
Wow, thanks a lot! That's exactly what I was looking for.
You saved my day!!! ;-)
Thanks a lot!
Greetings,
Malte
Somehow I do not have a manila in my Application Data folder... How can this be? I have an original HTC, is this just for the T-Mobile versions? What is the filename of these files? Perhaps a search could help or does anybody know where these files lie on the original HTC?
Thanks
Patrickw_mdav said:
I had the same problem, and I found it very annoying.
I've been searching the diamond and found some xml files in the following directory:
\Application Data\manila
There are several xml-files, choose the one for your own language-country combination.
1) Make a backup of the xml-file
2) Clear the read-only and the system flags of the xml-file.
3) Change the value of the <IncludeUserFavorites> field to TRUE
4) Save and you are ready.
P.S.
While you're there, you can also remove the <banner > field to get rid of the logo, and remove/change/add OperatorLinks ( e.g. the Search link)
Click to expand...
Click to collapse
THANKS !! it works only my icons are not the way i want yet.
Can you maybe also post a standard HTC Diamond opera xml file so we can adopt that in the MDA compact IV ?
same prolem here on my T-Mobile MDA Vario IV (Dutch) but i can't find xml files in my manila folder.. just the htcblack theme that i've installed..
help
do i have to use a special file browser to see the xml files?
hi guys, i am trying to remeove the bigpond logo and would like to change the default search option from sensis search to google.
i think i am in the right thread but cannot find the folder above. should i be looking in the registry or in the explore? either way i can't find the correct file to edit... help would be great
Code:
<?xml version="1.0" encoding="utf-16"?>
<InternetPortal>
<IncludeUserFavorites>True</IncludeUserFavorites>
<Banner
DefaultImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner.qtc"
SelectedImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner_selected.qtc"
Text="Launch Browser"
NavigateUrl="http://www.google.com" =======> THIS IS WHERE THE HOMEPAGE URL IS SET
Width="480"
Height="215" />
<OperatorLinks> ======================> FROM HERE TO....
<Link
Text="YouTube"
Executable="\windows\youtube.exe"
ImagePath="\Windows\HTC\Assets\Images\InternetPortal\youtube.qtc" />
</OperatorLinks> =====================> HERE, FAVOURITE LINKS ARE SET...
</InternetPortal>
So if you want to change the homepage URL to anything else, just type the URL you want.
And if you want to add or remove favourite links, jus add in the same order "YouTube" has been added. Remove? Then remove the whole code > "FROM HERE to HERE part"
If you want to add a link icon, you can do so, but be sure to set the right location of the "ImagePath"=
AND THE MOST IMPORTANT OF ALL, DONT USE Windows notepad, use Notepad++ (its jus ~5mb and free software, you can google and download)
WHY? Because the XML file is encoded in utf-16 and if you edit this file in notepad and press save, the encode maybe lost.
Of coz those who are familiar with notepad can do so...its ur wish

M2D Weather - Adding Custom Cities Tutorial

I just copied my other post to make it easier to find over here. Hopefully you will all find it useful and enjoy the information.
For those who might not understand how to do it, just wanted to post this guide here too.
What you need:
1) HH_0409_WeatherCities.xml file. I have attached one below which you can use, or alternatively you can copy the one from the your /windows folder.
2) If you don't have the version which is already patched then you will need the N2A patched file attached below as well.
Here are the steps:
1) Open HH_0409_WeatherCities.xml using Notepad.
2) You will see many cities listed like this:
<city name="Anchorage, US" loca="NAM|US|AK|ANCHORAGE " land="United States " /> (original)
<city name="Ketchikan, AK" loca="NAM|US|AK|KETCHIKAN" land="United States" /> (copied and edited)
Simply copy one of the cities from your country, or state and then edit the city information. You will notice in the example above i have changed "Anchorage, US" to "Ketchikan, AK" as this is just what will display on the screen. The section marked loca=con"CONTINENT|COUNTRY|STATE|CITY" must be typed in correctly or else you will not get any data.
3) Repeate step 2 for as many cities as you would like to add.
4) Disable touchflo on the today screen
5) Copy Manila2D.exe (if you are not using the version already patched), and your newly edited HH_0409_WeatherCities.xml file to the /windows folder.
6) Enable touchflo on the today screen again.
7) Go to weather and add new city, the new cities should be available to you. I would remove any old cities you had before as well.
Weather won't download via edge or 3g:
For those of you still having problems with the weather plug-in here is another thing I did to fix it:
1. Go to Settings - Connections - Connections - Advanced - Select Networks - Edit (MEdia Net) - Proxy Settings -> UNCHECK BOTH OPTIONS
2. Soft Reset
It should work fine
UPDATES
banzaiwolfe said:
As a side note, I was able to just use the Zip code instead of NAM|US|AK|KETCHIKAN.
Click to expand...
Click to collapse
polyrhythmic said:
Scotchua, nice tutorial. I've been using several of your fixes since I discovered them. However, the one note missing from your Manila2D Weather Custom Cities tutoria is how to determine the loca="NAM|US|AK|KETCHIKAN".
I have the solution! For most US locations, you can use the 5-digit ZIP code, but to determine ANY location, including outside the US, use this link to AccuWeather's RSS.
Simply put in your location as instructed in the 'Choose a location' field and click 'Set'. (For this example, I used Whistler, Canada.) The page then generates a URL for you, which looks like accuweather.com/rss/liveweather_rss.asp?metric=0&locCode=NAM|CA|BC|WHISTLER. The piece after locCode= (which I've hilited in Red) is what goes in the loca="" field in the XML file.
Then complete your tutorial, and choose the custom cities! Hope this helps someone else looking to make a quick fix.
Click to expand...
Click to collapse
Here's An Entirely New Method. I tried and it works on PDA V9 (Only one i tried it on).
macrossmerrell said:
Hi all,
Here is what I did to fix my the darn weather problem using my AT&T Tilt through MediaNet.
1. Make a copy of the HH_0409_WeatherCities.xml in the Windows folder.
2. Modify the file to include your info. (for me the zip code worked). See the examples below:
Code:
<city name="Idaho Falls, ID" loca="83406" land="United States"/>
<city name="Idaho Falls, ID, US" loca="NAM|US|ID|IDAHO-FALLS" land="United States"/>
3. Copy the HH_0409_WeatherCities.xml back to your device (your storage card or My Documents)
4. Disable TouchFlo in your Today Screen settings
5. Using TotalCommander overwrite the HH_0409_WeatherCities.xml file in the Windows folder
6. Go to Settings, Connections tab, Connections program and select the "Manage existing connections" option.
7. Click the Proxy Settings tab and uncheck the "This network uses a proxy server to connect to the Internet" option.
8. Click the OK at the top left.
9. Once again, select the "Manage existing connections" option.
10. Click the "Edit..." button for your MediaNet or ISP connection
11. Click Next, Next
12. Click the "Advanced..." button
13. Click the Servers tab at the bottom
14. Click "Use specific server address" and enter the two following addresses for DNS and Alt DNS:
208.067.222.222
208.067.220.220
15. Click OK at the top, then Finish at the bottom, click OK again at the top, then OK again.
16. Reenable TouchFlo in your Today options
17. Go to the Weather Tab and Add your city
18. Enjoy
I have tested the solution on are Garmin's ROMs, but it should solve proxy server issues and DNS issues relating to AT&T's seriously out of date default DNS servers (the proxy server uses an up to date DNS server).
The above DNS servers are from OpenDNS www.opendns.com
Please post and/or PM me if this solution works for you. I've been frustrated at the lack of working weather for my area, so this is the crazy solution I came up with!
Merrell
Click to expand...
Click to collapse
Any Suggestions
Hi, I've done everything. However when I try to copy the new file I created with the HH_0409 exe there's problems.
1) when i go into windows on my device and go the the HH_file it will not let me copy it or deleate it, so i could then put in the new file.
2) when I try to copy and paste my new file titled the same HH_0409_WeatherCities to the Windows in device I get a error message that reads (error copy file, cannot copy HH_4090_WeatherCities access is denied. Be certain that there is enough free storage memory that the destination is not write-protected and that the file is not currently in use.)
I have unchecked TouchFlo as stated and done everything as listed. I'd somehow had this working when using MD2 but now that I'm using the Solace 1.5 rom, I'll be darn that I can get this to work. I'm trying to put Millsboro, DE USA into the darn thing. If you have any suggestions I'd be greatly appreciative.
Thank you in advance.
Beachboyde/Jon
beachboyde said:
Hi, I've done everything. However when I try to copy the new file I created with the HH_0409 exe there's problems.
1) when i go into windows on my device and go the the HH_file it will not let me copy it or deleate it, so i could then put in the new file.
2) when I try to copy and paste my new file titled the same HH_0409_WeatherCities to the Windows in device I get a error message that reads (error copy file, cannot copy HH_4090_WeatherCities access is denied. Be certain that there is enough free storage memory that the destination is not write-protected and that the file is not currently in use.)
I have unchecked TouchFlo as stated and done everything as listed. I'd somehow had this working when using MD2 but now that I'm using the Solace 1.5 rom, I'll be darn that I can get this to work. I'm trying to put Millsboro, DE USA into the darn thing. If you have any suggestions I'd be greatly appreciative.
Thank you in advance.
Beachboyde/Jon
Click to expand...
Click to collapse
I use total commander (which i have added as an attachement to the first post) to copy the files. If you have tf2d, and done a soft reset, but still cannot copy the files using total commander then i really don't know why your files cannot be overwritten. I've honestly never had that problem before, so i just don't have anyway to help you.
I also got that same error when I was using file explorer but I did get it to work when I used Total Commander.
I downloaded the file to my desktop.
Then opened it with notepad.
Added my city
I then choose to save as and selected the file on my desktop to be overwritten.
I copied it to my storage card.
I then copied it using total commander to the windows directory with TF2d disabled.
soft reset
enabled TF2d and it was there.
Can you give example of with zip code. I tried it using the info off the rss feed hyperlink and still nothing. Thanks.
turcomora said:
Can you give example of with zip code. I tried it using the info off the rss feed hyperlink and still nothing. Thanks.
Click to expand...
Click to collapse
First Post Updated
NOt working for me
Scotchua, thanks for taking the time to put this together. I have edited my HH_0409... file and put the cities in. Now I am able to select the custom cities as new locations but I get the "unable to download..." message for those cities whil the original cities will download weather just fine.
Any ideas?
thanks.
good stuff
iamdamon said:
Scotchua, thanks for taking the time to put this together. I have edited my HH_0409... file and put the cities in. Now I am able to select the custom cities as new locations but I get the "unable to download..." message for those cities whil the original cities will download weather just fine.
Any ideas?
thanks.
Click to expand...
Click to collapse
you need to either copy the patched manila2d.exe file over to /windows or change the DNS server addresses. I tried both methods and they work. They're both in the instructions.
Thanks!
scotchua said:
you need to either copy the patched manila2d.exe file over to /windows or change the DNS server addresses. I tried both methods and they work. They're both in the instructions.
Click to expand...
Click to collapse
Hey I appreciate the help...I am up and running now. I had saved the Manila2D.exe file to my storage card--I thought I just had to run it like a .cab but obviously (I overlooked it before) you have to save it to /windows. (I didn't have to mess with the DNS settings and I was able to simply enter using the zip code method.)
Guys like you are an asset to the forum...
scotchua said:
I use total commander (which i have added as an attachement to the first post) to copy the files. If you have tf2d, and done a soft reset, but still cannot copy the files using total commander then i really don't know why your files cannot be overwritten. I've honestly never had that problem before, so i just don't have anyway to help you.
Click to expand...
Click to collapse
can you do a step by step using total comander, I stil get a message that the files can not be replaced
I have the same problem. I am using a touch cruise with chavon bravo's rom. Cant move the manila file to windows.
NOTE: OPEN THE XML WITH NOTEPAD, NOT WORDPAD.
Word pad will translate foreign characters and will corrupt the XML file.
I did the step by step instructions, copied both files to the windows folder, and then restarted touchflo. Wheni go to Select location, its completely blank. Any ideas on this one?
still nothing
i'm using hyperdragon IV IOLITE, with touchflo but same trouble, when i've update the XML the new location appears, but when i sync nothing comes, but if i overwrite the patched Manila2d.exe now doesn't come up the manilla.
i don't need the Connection setting, cuz i'm a Mexican user, i've my own settings.
any idea, anybody know if the Hyperdragon IV IOLITE has already the manilla patched version?
this is the change in the XML NAM|MX|MX019|MONTERREY, the original MONTERREY has MX005 and comes with other weather forecast not from my city
i've tried two ways, overtwritin' the original Monterrey item, and adding another as MonterreyNL, and as i told you, in both ways the new setting pops now but can't get weather and in the other locations JUST FINE!!
Custom M2D Weather
hi guys, maybe I have the definitive solution to setting new cities on M2D weather. (or at least on my Kaiser go on)
1) in M2D weather set one city whatever you want is indifferent.
2) disable touchflo in today setup
3) open REGISTRY EDITOR and go on HKEY_LOCAL_MACHINE
then open software, then open HTC, then open Manila2D, then open Weather here you have two choice "0" and "setting" in both of them there are two item: "Location" and "Location Code". (you have to modify the item in "0" and in "setting")
So, when you tap in Location, you have to insert a string like this:
Caprese Michelangelo, It (first city name and after the nation)
When you tap in location code, you have to insert a string like this:
eur|it|it016|Caprese Michelangelo
If you want repeat for other city. At the end enable touchflo on the today screen again and upgrade the weather.
Work fine for me on my Tytn II.
original manila
where can i get the original manila2d? cuz i dont like the patched one
pincopinco,
You the man!! Just tried it on my TyTNII and worked first time! Outstanding!
pincopinco said:
hi guys, maybe I have the definitive solution to setting new cities on M2D weather. (or at least on my Kaiser go on)
1) in M2D weather set one city whatever you want is indifferent.
2) disable touchflo in today setup
3) open REGISTRY EDITOR and go on HKEY_LOCAL_MACHINE
then open software, then open HTC, then open Manila2D, then open Weather here you have two choice "0" and "setting" in both of them there are two item: "Location" and "Location Code". (you have to modify the item in "0" and in "setting")
So, when you tap in Location, you have to insert a string like this:
Caprese Michelangelo, It (first city name and after the nation)
When you tap in location code, you have to insert a string like this:
eur|it|it016|Caprese Michelangelo
If you want repeat for other city. At the end enable touchflo on the today screen again and upgrade the weather.
Work fine for me on my Tytn II.
Click to expand...
Click to collapse
I seem to have deleted a DWORD in HKLM/SOFTWARE/HTC/MANILA 2D/WEATHER/SETTINGS because the keyboard was in the way and I rewrote a DWORD by mistake. Could anyone please list all DWORDS under HKLM/SOFTWARE/HTC/MANILA 2D/WEATHER/SETTINGS?
FINALLY a simple fix-Thanks!
pincopinco said:
hi guys, maybe I have the definitive solution to setting new cities on M2D weather. (or at least on my Kaiser go on)
1) in M2D weather set one city whatever you want is indifferent.
2) disable touchflo in today setup
3) open REGISTRY EDITOR and go on HKEY_LOCAL_MACHINE
then open software, then open HTC, then open Manila2D, then open Weather here you have two choice "0" and "setting" in both of them there are two item: "Location" and "Location Code". (you have to modify the item in "0" and in "setting")
So, when you tap in Location, you have to insert a string like this:
Caprese Michelangelo, It (first city name and after the nation)
When you tap in location code, you have to insert a string like this:
eur|it|it016|Caprese Michelangelo
Click to expand...
Click to collapse
Man, thank you, thank you, thank you! This is the first fix that worked easily without messing up something else. City data now updating like a charm on my Vogue. Thanks again for sharing.

HTC Weather, problem & fix

I thought I would add this here unless anyone else runs into the same problem. I broke my HTC Weather yesterday while trying to upload local cities into it. I am running the Dec 03 release of HyperDragon, but HTC Weather seems to be the same (at least in terms of files to edit) across different platforms.
After adding my local city, and uploading it back to the phone when I went into the weather tab to add a new city, I was unable to search for any cities. In fact the search screen contained no entries at all. Essentially, I corrupted the xml file, and the phone was unable to read it.
How I broke it:
Be careful what you edit with. I just opened the file with word pad in Vista to copy my new city information, but the xml file and word pad don't like each other. I found that the tilde ( ` ) <--- that character appearing over letters was unsupported in word pad. The xml file was unable to then read it. It saw it as corrupted data.
To fix it:
I just deleted the offending cities with tilde's in them. I didn't need them anyways. However, one could also just edit the file with a better program and re-upload it to the phone. Once I fixed the file, HTC Weather saw my new cities and was more than happy to read them.
Maybe someone else already went over this. I don't know. But I know I searched on the forum for quite some time without finding out what I did wrong.
AT&T tilt running Hyperdragon
The first mistake was editing an XML file with wordpad. Try using Komodo next time. Always use the proper software for certain editing functions.
Heres a link to the Freeware Komodo XML Editor.
http://community.activestate.com/products/Komodo
didnt I say that
SpiritOne said:
I thought I would add this here unless anyone else runs into the same problem. I broke my HTC Weather yesterday while trying to upload local cities into it. I am running the Dec 03 release of HyperDragon, but HTC Weather seems to be the same (at least in terms of files to edit) across different platforms.
After adding my local city, and uploading it back to the phone when I went into the weather tab to add a new city, I was unable to search for any cities. In fact the search screen contained no entries at all. Essentially, I corrupted the xml file, and the phone was unable to read it.
How I broke it:
Be careful what you edit with. I just opened the file with word pad in Vista to copy my new city information, but the xml file and word pad don't like each other. I found that the tilde ( ` ) <--- that character appearing over letters was unsupported in word pad. The xml file was unable to then read it. It saw it as corrupted data.
To fix it:
I just deleted the offending cities with tilde's in them. I didn't need them anyways. However, one could also just edit the file with a better program and re-upload it to the phone. Once I fixed the file, HTC Weather saw my new cities and was more than happy to read them.
Maybe someone else already went over this. I don't know. But I know I searched on the forum for quite some time without finding out what I did wrong.
AT&T tilt running Hyperdragon
Click to expand...
Click to collapse
Next time use notepad that is what i use...also the XML file is in my download section go there and download it open it in notepad and edit then move it into the windows folder...u should be good to go..
How did you manage to get adding cities to WORK?
I followed the instructions that have been posted around, but the URL fragment is NOT as displayed in those posts anymore on www.accuweather.com.
Going to htc.accuweather.com from my Kaiser gets me something that looks SOMEWHAT similar, but its not the same - if I try to use the same format that other US cities are in for mine, I can locate it in the list but it won't update.
Any help?
Genesis3 said:
How did you manage to get adding cities to WORK?
I followed the instructions that have been posted around, but the URL fragment is NOT as displayed in those posts anymore on www.accuweather.com.
Going to htc.accuweather.com from my Kaiser gets me something that looks SOMEWHAT similar, but its not the same - if I try to use the same format that other US cities are in for mine, I can locate it in the list but it won't update.
Any help?
Click to expand...
Click to collapse
I am not sure what you are asking...I just added my city like MOD Scotchua said to do and it worked...
http://forum.xda-developers.com/showpost.php?p=2644237&postcount=2366
Aha - I screwed up. Its working now
Spoke too soon..... it KINDA works.
The currnet Manila 2D executable will go back to the top screen (the home page) if you hit the END button twice. It also will mark an incoming SMS "read" if you sit on it on the top page for a few seconds.
The patched one does neither. It will not go back to home unless you navigate there, and SMS do not get marked read.
Is the patch involved (e.g. could I go in with a hex editor and make a change to the CURRENT Manila executable?)
Update to THAT....
I took a quick look at the executables and found the change, with the different URLs. However, it appears the new one is longer than the old, which means that a quick "patch in place" is unlikely to work (I have no idea what's AFTER that block of data - and it ain't zeros, and IS apparent UTF-8 text - so I'm likely to scramble something doing a quick overwrite.)
This in turn implies that you need a way to disassemble the exe file and replace the data, then reassemble it (e.g. to assembler, at least) assuming you don't have source.
So..... anyone have a tool for this or is this a case of "have lots of fun playing with something that can disassemble it, find a clean place in the data segment to put the new reference, and fix it that way" sort of game?
SpiritOne said:
didnt I say that
Click to expand...
Click to collapse
yep... just rubbing it in some more
I wouldn't use notepad either. I'd rather not get into a long discussion about editing xml files with notepad either
An XML editor is definitely the way to go.
Yet another update....
What's with the app here? I patched it with a string that fits using a hex editor.
What I wind up with refuses to run. Are these apps cryptographically signed?
Answer: Yep, and once modified, the signature is no good. I don't see anything in Advanced Config that can turn that protection off either; you can disable the requirement that CABs be signed, but I don't see where you can disable the requirement that APPLICATIONS be signed. My security policy settings are such that all security is off, but attempting to run the patched executable by hand elicits a complaint about the signature being invalid. I presume that a MISSING signature would be ok, but a CORRUPT one is going to get complained about - and I have no means to fix that.
Yet more....
I have found the code-signing tools after rooting around and re-signed the application.
It still fails to work; it appears there is a SECOND call to an HTC web site in the current Manila2D code which is NOT in the other patched file.
That one goes to: http://weather.manila1.htc.com/widget/htc/forecast-data_v3.asp?locCode=
DNS shows the address is a CNAME to htc.accuweather.com, and the worse news is that the replacement string that goes in the other place doesn't fit in there - its one byte too long.
It also looks like THIS is the one being called for updates, because changing the other, direct call to the htc.accuweather.com link doesn't change anything - the codes in the file that refer to places accuweather handles still work, but those that refer to other places do not.
Any ideas?
Final Fix - Read
Ok, here's what I've accomplished.
I patched the Manila2D.exe (the CURRENT copy from HyperDragon and others) and have re-signed the code (with a self-signed cert)
I also grabbed the php script and set it up on a VERY short domain name I registered this afternoon, htcwx.org - it exists ONLY for this purpose and is NOT a generic HTC web site.
I have modified the script as necessary, and the firmware as necessary. The replacement Manila2D.exe file is attached. To implement this simply replace the Manila2D.exe in your \Windows directory on the device with the one in this ZIP file. That's it; you can then add city codes at will in the weather file list and they will work.
The previously-posted version of Manila2D.exe has a couple of bugs that I consider show-stoppers, and patching the current version necessitated having a shorter URL as one of the places required to be patched would not allow the "not2advanced" url to fit.
Note that this weather reflector is being run by me, is OPEN and will remain indefinitely; I have a very high-bandwidth connection and expect no interruption in that service. Feel free to use it.
I now have WORKING HTC weather in Manila for virtually anywhere.... and you can too without the restrictions that existed in the previous patched copy (no return to home screen with the END key, and no SMS message marking)
This script "portal" should also work with any other patched HTC Home or HTC Manila applications; the complete url is http://htcwx.org/wx.php?
Note that there is NO general content on that web site.
Enjoy!
PS: As of this instant the .ORG TLD nameservers haven't picked the domain up yet from my registrar. That's abnormal; I see it on my infrastructure but not globally. It should be globally visible by morning.
There's just one thing left to say:
Thank you!
I've been fiddling with this for quite some time, and once I've found this thread everything worked as advertised!!
Happy new year!!
Glad it works for you! Happy New Year to you as well.
Hi Genesis3,
I have installed yesterday Josh's v15 M2D Plain 3G ROM and would like to customize the Weather and add my location.
Your Manila2D.exe is 1.1 Mo where the Manila2D.exe included in this ROM is only 410 KB .... Do you think I can change the original by your's ?
Thanks
That copy is PROBABLY compressed. If it is, the strings can no longer be patched.
You need to talk to the chef and get the uncompressed EXE file - if he has it.
Packed manila2d.exe
I haven't seen anyone post about this but the compressed manila2d.exe that I have uses UPX it worked for me to both unpack and repack the file.
Look into the file for "$Info" if it say's packed with UPX the link above may work for you too. (about 350h char's in)
ENJOY!
Genesis3 said:
That copy is PROBABLY compressed. If it is, the strings can no longer be patched.
You need to talk to the chef and get the uncompressed EXE file - if he has it.
Click to expand...
Click to collapse
As with everything here YMMV, make backups and if you blow it up don't blame anyone but the operator.

Opera favourites

Hi,
I have a wiered problem!
I copied my opera6.adr file from my Diamond 1 over to Diamond 2 in Windows/Opera9 folder but each time I start Opera application, the file gets overwritten.
It seems that I can't manually change the file, it kinda check it md5 checksum or something and reset the file to its original? Could that be the case?
Anybody has the same problem?
Yeah, I have a similar problem, but I'm trying to copy from Opera Desktop to mobile, I've tried every which way I can think of, but each time it reverts back to the previous file and previous (not stock original, but my edited) bookmarks.
I thought it might have something to do with either Opera staying resident in memory or the files not being compatiable.
Anyone had any sucess on the TD2 ??
fixed!
Found a solution
Actually Opera is running the background somehow "always"
Use TaskManager to kill the process and then copy your opera6.adr to Windows/Opera9.
DONE!
Let me know if it works for you also.
OMG it works...
I ended the opera.exe using the CleanRam program, as opera does not show up in the standard task manager, then copied the opera6.adr file to Windows/opera and it works... ...well nearly...
I had to edit my PC version adr file to match the mobile version, they are different:
PC Version
#URL
#URL
ID=17
NAME=Topaz - xda-developers
URL=http://forum.xda-developers.com/forumdisplay.php?f=478
CREATED=1247009761
VISITED=1247012417
DESCRIPTION=
UNIQUEID=475F336566DE1F4DBDE47851FC9A6747
Mobile Version
#URL
ID==13
NAME==BBC NEWS | News Front Page
CREATED==1246185130
URL==http://news.bbc.co.uk/
As you can see the mobile version has more = and the other info is different.
Before I altered it I was getting double folders appearing in the TD2, but after I edited the bookmarks in Word, using Find & Replace to add the extra = to all the = (then remove the extra = from the very top lines (Options))
Great I now have all my bookmarks, what a to do though.
good
Well, I didn't mean the buildt-in task manager! I mean Task Manager from FdcSoft which you can use to see all running processes etc..
But anyhow, great it works for you now
So many Task Managers !!!
Do you have an problem if you select Bookmarks from Touchflo itself rather than from inside Opera, if I click the Bookmarks softkey it locks up Touchflo (and most of the rest of the device)???
It might have something to do with the amount of bookmarks I've got!
Also, although I don't think this problem is related, the other softkey 'Menu' doesn't do anything when clicked, just highlights and thats it, very odd.
dont know
well, actually I dont use Touchflo as I like to see lots of things at once I use windows today plugins to see everything in one screen

Categories

Resources