How to make changes to HTC homescreen... - HTC Wings

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

Related

shortcut icon for all control panel applets

I am sorry if it's a super N00b question... However, I searched high and low (in Google) but can not find any solution yet...
I am using UltimateLaunch and try to create a tab with all control panel applets. I know how to make a shortcut for each applet (instructions here: http://www.ppcsg.com/index.php?showtopic=51882)
, however, they all show up same default icons.
I tried also to add "?/windows/ctlpnl.exe,-5000" inside the .lnk file, however, this trick works only last century (WM2003) and WM6.0 seems use a complete different number/mechanism since I can never guess the number index right!
I tried to use tools mentioned here: http://forum.brighthand.com/showthread.php?t=176117 but none works for Kaiser. Is there a better tool or way to extract the icon or assign a shortcut with icon? (I know all those icons are stored in ctlpnl.exe, however, how to get the index is the key question)
Or is there a easier way to get out the ctlpnl.exe and use Resource hacker to find the index? (the only way I know of is to download a Rom image and it's hell lot of works!)
Thank in advance!
Here's also a thread about shortcuts, maybe you'll find the answer to your questions there....
This is what I use.
I too have Ultimate Launch. I just create a link to the attached exe. It opens up the setting folder just as WM6 would. Unfortunately the link posted above doesn't have a way to open the settings root (at least not that I saw).
Also included in that zip file are some other useful exe's. I particulaly like wisSystem.exe for seeing quick system info.
Thanks for the link as well as those useful small utilities, I think I can add some more functionality to my Kaiser.
However, since I would like to directly link to the control applet in the UltimateLaunch with a valid icon on the Today screen, I still need a way to get the icon to make it more visual plesant. Right now I am using the "text icon" of UL to get by....
Thanks anyway!
lssong99 said:
Thanks for the link as well as those useful small utilities, I think I can add some more functionality to my Kaiser.
However, since I would like to directly link to the control applet in the UltimateLaunch with a valid icon on the Today screen, I still need a way to get the icon to make it more visual plesant. Right now I am using the "text icon" of UL to get by....
Thanks anyway!
Click to expand...
Click to collapse
Wisbar Advance Desktop allows that.
http://lakeridgesoftware.com/products/pocketpc/WisBarAdvanceDesktop/
Not Free but both of Chirs McKay's programs are WELL worth the 10 bucks each. IMHO

Removing YouTube link from Internet TF3D tab

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!

How to not show all folders in Album view!?

I have allot of program folders with grafix in them on my phone, and I don't want to scroll thrue all of them when I'm using Camera -> Album...
I know how to add folders to the Ignored list in registry...
HKLM\Software\HTC\HTCAlbum\Ignored\
but I cant get it to work with folders in the 'Storage card'...
Anyone that can help me?
'I just want to say BIG thanx to everybody in this forum!! Without you I would be completely lost!'
I have the same problem. Plus, I would like to open a picture in HTC album from file explorer, but it always just opens the default album, not the picture I want to open.
Any help is appreciated!
Yeah, I would be lost without the forum as well!
laser21 said:
I have the same problem. Plus, I would like to open a picture in HTC album from file explorer, but it always just opens the default album, not the picture I want to open.
Any help is appreciated!
Yeah, I would be lost without the forum as well!
Click to expand...
Click to collapse
make a .lnk file with the following:
20#"Windows\htcalbum.exe" -directory:\my documents
if you want another folder just replace my documents with what ever you want
NisseDILLIGAF said:
I have allot of program folders with grafix in them on my phone, and I don't want to scroll thrue all of them when I'm using Camera -> Album...
I know how to add folders to the Ignored list in registry...
HKLM\Software\HTC\HTCAlbum\Ignored\
but I cant get it to work with folders in the 'Storage card'...
Anyone that can help me?
'I just want to say BIG thanx to everybody in this forum!! Without you I would be completely lost!'
Click to expand...
Click to collapse
The ignore list doesnt work for me I put in \internal storage\blabla
but the folder is shown anyway...I tried a soft reset afterwards...
Hi Laser 21,
Did you ever find a solution to this problem?
Thanks,
Ross.
no. Anyone else?
laser21 said:
no. Anyone else?
Click to expand...
Click to collapse
No, nothing here either
Can block all folders except in Internal Storage..
Hello,
the only solution I'm aware of is to set the 'hidden' attribute on the folders which should not be visible in the HTC-Album.
In my experience each individual image has to have the hidden attribute set, rather than the folders.
http://forum.xda-developers.com/showthread.php?t=424784
Hello Dave,
yes, you're right.
I used "Total Commander/CE", and tried to set the hidden-attribute on a folder called "Musik", and selected "Recurse subdirs". Then I checked some subfolders an saw that the folders were not marked "hidden" (that does work with "Total Commander 32" on my PCs). But after a reboot, HTC-Album didn't list any of the subfolders inside the "Musik"-folder. So I thought it was enough to mark the top-folder hidden to hide all subfolders, too.
I just checked the folder again and saw that Total-Commander/CE had marked all files 'hidden'.
So it's not as easy as I thought.
DeltaVictorLima said:
So it's not as easy as I thought.
Click to expand...
Click to collapse
It's easy enough from a desktop computer in USB disk drive mode.
I don't generally use HTC Album but this is a fix I have to do with my music album art in order to keep the program actually usable. It's a really flawed bit of software IMO.

How do I link ifonez icons to built in apps?

Hi
I am new to this forum and to HTC. I have set up my new phone with S2UL, Ifonez and Icontact. I have got a number of my apps working fine from Ifonez but I cant seem to find the files or commnads to load Windows Mobile 6 built in applications such as the following
Communication Manager
Task Manager
Programmes.
I have been searching through Google and these forums in order to find out but cant seem to find anything, so sorry if this is an obvious question.
I am also using Icontact Burt edition which is mostly working fine. However I am finding one or two contacts are displaying underneath the top bar so that I cannot really make out the entry. I only discovered it by searching for an entry that I knew was there but couldn't see in the list. Icontact seems to display a screen at a time rather than a continuous list so I am finding it difficult to see who these entries relate to. Is this a bug or am I missing something?
Thanks in advance for any help.
Greg
this thread may help you...
http://forum.xda-developers.com/showthread.php?t=340974
strikeone said:
this thread may help you...
http://forum.xda-developers.com/showthread.php?t=340974
Click to expand...
Click to collapse
Thanks for the quick reply.
If I understand this correctly I create a text file with the appropriate code in it and then rename the file with the extension lnk. Then I point one of ifonez launch icons towards this file. Is that correct?
If it is I still cant seem to see a code for Communication Manager or to open the Programs folder. Have I misunderstood?
You would simply make a .txt file with the "data" of the thing you want to link to, save the file, and then change the extension of the file from .txt to .lnk.
For example, to create a shortcut to Settings>System>Memory>Main, you would make a text document with this in it:
20#ctlpnl cplmain.cpl,4
Save the file as "Memory", and then use a file explorer/manager to change the extension from "Memory.txt" to "Memory.lnk"
The link to the Comm Manager is: 39#"\Windows\CommManager.exe"
The link to the Programs folder [in the Start Menu] is 40#"Windows\Start Menu\Programs\"
Sorry for the delay in replying, I have been caught up with work and unable to look at this forum until now. So thanks for your reply it was really helpful.

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.

Categories

Resources