Related
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:blankis 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:blankis 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!
(Please correct me if I should ask submit such a request here or in the software forum.)
I exchanged my defective Tilt for a new one and unfortunately didn't back up my cab files I loaded. Through searching here I managed to get some back, but I'm lost on finding a few others. Can someone point me to the following cabs? Thanks.
Internet Sharing (To replace program ATT removed from new Tilt's)
Task Manager (i.e. made tasks icons on title bar)
Have you Checked P1Tater's or AllTheWay's 4Shared? Could even be in Scotchua's
I've looked at a number of threads, but I don't remember those. I'm new at this. Do I search for those terms to get there?
Also, I feel like a real putz, because I can't remember how I installed the cabs last go around. Can you tell me? For example I have the cab for Opera 9.5, but don't remember what to do with it. Thanks.
At the Top of the Threads list Click the One that says "READ THIS FIRST" It will have a link to their file repositories.
eljay said:
I've looked at a number of threads, but I don't remember those. I'm new at this. Do I search for those terms to get there?
Also, I feel like a real putz, because I can't remember how I installed the cabs last go around. Can you tell me? For example I have the cab for Opera 9.5, but don't remember what to do with it. Thanks.
Click to expand...
Click to collapse
1. To install a .cab, just plug in your phone, copy the .cab over to the Documents on your phone, then go into your phone, do Start Menu > Programs > File Explorer, go to My Documents, then click on the .cab
2. All those places are:
a. http://scotchua.4shared.com/
b. http://www.4shared.com/dir/5967433/ce903350/sharing.html
c. http://www.4shared.com/dir/6688844/3142cf2f/sharing.html
d. http://www.4shared.com/dir/5551593/20b4549a/sharing.html
Thread Answered
Thanks for Shopping XDA.
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.
Hi all
I was wondering how many people here would like to have some sort of way to build an xml which upon completion of a ROM update (which for some us are only day's apart) would change a load of settings to what we want for them
this is just a concept at the moment and i would like to work with someone or the community as a whole to produce a program to do this
the concept i have is as follows:
a simple windows exe Window which has inside it drop down menu's for all of the settings possible (cleartype/text size/regional settings/time zone/notification settings) fields (username for email/password/server addresses/screen name)
and if possible, something to allow us to drag and drop CAB file's into a window which would then also package up the cab's into a folder and spit out/generate the relevant SDCONFIG.txt file
is this at all possible? is there much interest in this?
I can go through and try to find as many of the settings possible and attempt to perhaps find the relevant registry settings even
i would really like to get the ball rolling with this, im sure it could work really well, not only on the raphael, but also on other devices perhaps
please post any interest on this project/concept here and i would really like to do something about this, im about to go and figure out the best way to even code this, however my coding knowledge is about zilch.lol!
.PROVXML files are the ideal place for last minute configuration changes. I'm just starting to explore this avenue and I've found tremendous flexibility in what one can change.
Have a look at the following information ... right from the source
Provisioning Using a ROM Configuration XML File
http://msdn.microsoft.com/en-us/library/bb737254.aspx
Configuration Service Provider Reference for Windows Mobile-Based Devices
http://msdn.microsoft.com/en-us/library/ms889539.aspx
There's also some excellent thread on XDA ... you'll have to do a bit of searching for them.
HTH,
have you looked at oemizer?
Assume this is the one you mean: http://tiermann.net
... takes the fun out of doing this the "manual way"
Cheers,
I don't use it personally. I came across it when I was learning with my M3100 (Hermes) and it provided a few useful insights at the time when I disected what it had created. I found a few problems and don't use it, but it seems like a similar attempt to what the OP is trying to achieve.
many thanks for the replies
im just looking into the oemizer that was posted and see how that works, however, i get the impression that its for rom cooking
Hi duke_stix,
That's where it's often used ... although, I have come across some posts about utilities that can re-initiate Provision XML files already present on the device or new ones placed on an SD card.
*EDIT* - Some examples
DotFred's Task Manager: http://www.dotfred.net/TaskMgr.htm
HTCustom: http://shadowmite.com/forum/viewtopic.php?f=28&t=2231&p=7890#p7890
Cheers,
I have not seen anything that does exactly what you suggest, but things to look at that are maybe related include
Sashimi
tier-autoinstall (or something like that)
They run the files but don't create them.
You can always just export the reg values and then import them after you flash...
or use a reg to xml program to add it to SDConfig
I'm working on a new app right now that might have the potential to cover what you're asking for, but the exact features necessary to pull off at least a part of it won't be available in the first release. Keep an eye out on the D&H forum in anywhere from a week to two weeks when I post it up there.
Hi Folks,
I'm sure the answers to my questions are somewhere on XDA, but I've not been able to find them. I've been trying to get some basic things working for a good few evenings now and I’m stuck
Using Erviuskitchen, packages creator 5.4 and EXT_PAckages_rebuilder I've been able to dump the HTC 6.5 base ROM to work from. Then put it all back together, pull some bits out, cook it and flash it to my phone....all went surprisingly well, my phone's still running and a bit more bloat-free!
What I'm stumped on though is adding things to my ROM, I'm good with packages found elsewhere, but nothing of my own.
I've got a bunch of .CABs which I'd like to 'cook in'... but when I create a package from the CAB file using packages creator 5.4 and EXT_PAckages_rebuilder and then flash it, I get no start menu icons. The app seems to be installed correctly, but without icons for it.
(my goal's to cook in a pre-configured copy of GuardMobile for if my phone's evey lost/stolen, but I'd like to be able to include other apps too).
What am I missing?
On a slightly different note: during my travels around here, I've seen various cooked ROMs which give you the option of uninstalling cooked-in apps as if they'd been installed using a .CAB file - how's this bit done?
Like I mentioned, I’m sure the these are pretty basic questions and the answers are around here somewhere, but I'm afraid my search-powers are failing me! (tbh, there's just too much info and I'm struggling to filter it down to what I need).
Any links or quick pointers would be greatly appreciated. Hey if my ROM turns out to be any good, I’ll put it up for others to use.
Thanks in anticipation!
'tunes
Most times when creating a package the shortcut created in the CAB is added to some .DAT file which you can edit using Notepad++ or any other text editor.
There should be some lines in this file like this:
Code:
Directory("\Windows"):-Directory("Start Menu\Programs")
Directory("\Windows\Start Menu\Programs"):-File("PROGRAMNAME.lnk","\Windows\SOURCESHORTCUT.lnk")
At least this is one way to do it. Con about this methode is that you need shortcuts (lnk) in your Windows folder to point to. Should be other ways. I use Mortscript in my ROM (not ready for release ) this allows me to create shortcuts without having shortcuts in my Windows folder.
EDIT:
Just did a quick search for you. THIS might help you (and us) out
Thanks mccune, I'll get reading...