The default browser for the 'Launch Browser' button on my Diamond's TouchFlo Internet tab is Internet Explorer. Is there a way to change it to Opera?
Also, completely different question, is there a way to have programs actually close when you hit the 'x'? Anytime I exit a program it still shows up in the task manager until I close it there.
Thanks for any info.
About closing tasks:
On Home screen tap the tasklist button. Choose the middle icon. A Settings dialog should pop up. Go to the 3rd tab and switch the setting about X button
kosherpig said:
About closing tasks:
On Home screen tap the tasklist button. Choose the middle icon. A Settings dialog should pop up. Go to the 3rd tab and switch the setting about X button
Click to expand...
Click to collapse
Thanks! I looked right at that tab and missed it
Nobody has any ideas on changing the browser? I've found a file in the appplication data/manila folder that has the internet portal as iexplorer.exe but it's and xml file that I can't seem to edit.
you can edit an xml by simply moving it to your comp and opening it in notepad and saving in xml then moving it back... I don't think this is the right file but go for the hold and give it a shot...just change it back if it fails.
You'll probably need freeware Total Commander to move the file though.
bugsykoosh said:
you can edit an xml by simply moving it to your comp and opening it in notepad and saving in xml then moving it back... I don't think this is the right file but go for the hold and give it a shot...just change it back if it fails.
You'll probably need freeware Total Commander to move the file though.
Click to expand...
Click to collapse
Make a copy of the file on your computer to edit, rename the file on your device and copy the edited file back to your device.
Thank you..
editting the xml file worked for me..
Now changed the browser and I also added some links in the internet-tab.
ties said:
Thank you..
editting the xml file worked for me..
Now changed the browser and I also added some links in the internet-tab.
Click to expand...
Click to collapse
Wow, it didn't seem to work for me. All I changed was "iexplorer.exe" to "OperaL.exe", is there something else I needed to change?
I just changed from:
<BrowserExe>\Windows\BrandedBrowser.exe</BrowserExe>
to:
<BrowserExe>\Windows\iexplorer.exe</BrowserExe>
after this a soft reset and it worked for me...
ties said:
I just changed from:
<BrowserExe>\Windows\BrandedBrowser.exe</BrowserExe>
to:
<BrowserExe>\Windows\iexplorer.exe</BrowserExe>
after this a soft reset and it worked for me...
Click to expand...
Click to collapse
I'll try it again. What was your default browser?
Well I tried it again, managed to get rid of some of the unwanted 'favourites' under the globe but it still launches internet explorer instead of opera even after changing the .exe line.
Default was Opera (in a Tmob-rom)..but i can not work with opera..
My complete new xml-file looks like this:
<?xml version="1.0" encoding="utf-16"?>
<InternetPortal>
<BrowserExe>\Windows\iexplore.exe</BrowserExe>
<IncludeUserFavorites>False</IncludeUserFavorites>
<Banner
DefaultImagePath="\Windows\ie7.jpeg"
NavigateUrl=""
Text=""
Width="400"
Height="123" />
<OperatorLinks>
<Link
Text="Startpagina"
NavigateUrl="http://startpagina.mobi/"
ImagePath="" />
</OperatorLinks>
</InternetPortal>
I also changed the picture and added a link: "startpagina"
Thanks for posting that ties.
Here's mine:
<?xml version="1.0" encoding="utf-16"?>
<InternetPortal>
<BrowserExe>\Windows\OperaL.exe</BrowserExe>
<IncludeUserFavorites>False</IncludeUserFavorites>
<Banner DefaultImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner.qtc" SelectedImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner_selected.qtc" NavigateUrl="" Text="Launch Browser" Width="480" Height="215" />
<OperatorLinks>
<Link Text="YouTube" Executable="\windows\youtube.exe" ImagePath="\Windows\HTC\Assets\Images\InternetPortal\youtube.qtc" />
</OperatorLinks>
</InternetPortal>
I guess it's starting Internet Explorer for some other reason since I've changed the target in this file. Weird that the other changes I made worked but the browser change didn't. Oh well, hopefully someone who knows about this sort of thing will chime in.
Finally found out how to get this working, someone on another forum suggested this:
HKCU\Software\HTC\Manila\DefaultBrowserIsIE = 0
I also have the xml file changed as above but not sure if that's required.
I tried just changing "HKCU\Software\HTC\Manila\DefaultBrowserIsIE = 0" and it did not work. I really don't feel comfortable changing the xml file. Is there a simple way of doing this?
micaman said:
I tried just changing "HKCU\Software\HTC\Manila\DefaultBrowserIsIE = 0" and it did not work. I really don't feel comfortable changing the xml file. Is there a simple way of doing this?
Click to expand...
Click to collapse
I just downloaded microsoft xml notepad to my pc (it's free), copied the original file from phone to pc, edited the file on pc, copied it back to the phone, soft reset, tada. Just be sure to keep a copy of the original, unaltered file (I kept a copy in a different directory on the phone).
Here is the file's location on a Rogers branded Touch Diamond:
\Application Data\Manila\InternetPortal-en-CA
Here is the original file contents (on my Rogers Touch Diamond):
<?xml version="1.0" encoding="utf-16"?>
<InternetPortal>
<BrowserExe>\Windows\iexplore.exe</BrowserExe>
<IncludeUserFavorites>False</IncludeUserFavorites>
<Banner
DefaultImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner.qtc"
SelectedImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner_selected.qtc"
NavigateUrl=""
Text="Launch Browser"
Width="480"
Height="215" />
<OperatorLinks>
<Link
Text="YouTube"
Executable="\windows\youtube.exe"
ImagePath="\Windows\HTC\Assets\Images\InternetPortal\youtube.qtc" />
<Link
Text="Do More"
NavigateUrl="http://mymobilehomepage.rogers.com/wmcontent/common/biz/domore/index.jsp"
ImagePath="\Windows\DoMore.qtc" />
<Link
Text="Rogers Mall"
NavigateUrl="http://mymobilehomepage.rogers.com"
ImagePath="\Windows\RogersMall.qtc" />
</OperatorLinks>
</InternetPortal>
Here's the file after I edited it:
<?xml version="1.0" encoding="utf-16"?>
<InternetPortal>
<BrowserExe>\Windows\OperaL.exe</BrowserExe>
<IncludeUserFavorites>False</IncludeUserFavorites>
<Banner DefaultImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner.qtc" SelectedImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner_selected.qtc" NavigateUrl="" Text="Launch Browser" Width="480" Height="215" />
<OperatorLinks>
<Link Text="YouTube" Executable="\windows\youtube.exe" ImagePath="\Windows\HTC\Assets\Images\InternetPortal\youtube.qtc" />
</OperatorLinks>
</InternetPortal>
Note that I also removed some of the carrier provided links that show up under the globe on the internet tab.
To be honest, I don't know what would happen if you screw up the file because it worked without any problems for me.
KevinRmr said:
I just downloaded microsoft xml notepad to my pc (it's free), copied the original file from phone to pc, edited the file on pc, copied it back to the phone, soft reset, tada. Just be sure to keep a copy of the original, unaltered file (I kept a copy in a different directory on the phone).
Here is the file's location on a Rogers branded Touch Diamond:
\Application Data\Manila\InternetPortal-en-CA
Here is the original file contents (on my Rogers Touch Diamond):
<?xml version="1.0" encoding="utf-16"?>
<InternetPortal>
<BrowserExe>\Windows\iexplore.exe</BrowserExe>
<IncludeUserFavorites>False</IncludeUserFavorites>
<Banner
DefaultImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner.qtc"
SelectedImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner_selected.qtc"
NavigateUrl=""
Text="Launch Browser"
Width="480"
Height="215" />
<OperatorLinks>
<Link
Text="YouTube"
Executable="\windows\youtube.exe"
ImagePath="\Windows\HTC\Assets\Images\InternetPortal\youtube.qtc" />
<Link
Text="Do More"
NavigateUrl="http://mymobilehomepage.rogers.com/wmcontent/common/biz/domore/index.jsp"
ImagePath="\Windows\DoMore.qtc" />
<Link
Text="Rogers Mall"
NavigateUrl="http://mymobilehomepage.rogers.com"
ImagePath="\Windows\RogersMall.qtc" />
</OperatorLinks>
</InternetPortal>
Here's the file after I edited it:
<?xml version="1.0" encoding="utf-16"?>
<InternetPortal>
<BrowserExe>\Windows\OperaL.exe</BrowserExe>
<IncludeUserFavorites>False</IncludeUserFavorites>
<Banner DefaultImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner.qtc" SelectedImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner_selected.qtc" NavigateUrl="" Text="Launch Browser" Width="480" Height="215" />
<OperatorLinks>
<Link Text="YouTube" Executable="\windows\youtube.exe" ImagePath="\Windows\HTC\Assets\Images\InternetPortal\youtube.qtc" />
</OperatorLinks>
</InternetPortal>
Note that I also removed some of the carrier provided links that show up under the globe on the internet tab.
To be honest, I don't know what would happen if you screw up the file because it worked without any problems for me.
Click to expand...
Click to collapse
i must have spent the last 2 hrs, with my pc, & total commander searching for this file to edit? in my application data folder i have,
AppToDate
GoogleMaps
HTC
MDS
Microsoft
MusicID
Sounds
Volatile
i cant find the manila folder or the InternetPortal xml, can anyone help me?!?
Same problem for me!! I can't find the xml file...
the opera that came with my touch diamond was the default. everytime i load skyfire it changed it to skyfire... to fix it in the address bar on opera type this opera:config look for something called "install" put a check next to default then click the button labeled default. then click save. completely exit the browser and it should work I know it does for me!
KevinRmr said:
I just downloaded microsoft xml notepad to my pc (it's free), copied the original file from phone to pc, edited the file on pc, copied it back to the phone, soft reset, tada. Just be sure to keep a copy of the original, unaltered file (I kept a copy in a different directory on the phone).
Here is the file's location on a Rogers branded Touch Diamond:
\Application Data\Manila\InternetPortal-en-CA
Here is the original file contents (on my Rogers Touch Diamond):
<?xml version="1.0" encoding="utf-16"?>
<InternetPortal>
<BrowserExe>\Windows\iexplore.exe</BrowserExe>
<IncludeUserFavorites>False</IncludeUserFavorites>
<Banner
DefaultImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner.qtc"
SelectedImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner_selected.qtc"
NavigateUrl=""
Text="Launch Browser"
Width="480"
Height="215" />
<OperatorLinks>
<Link
Text="YouTube"
Executable="\windows\youtube.exe"
ImagePath="\Windows\HTC\Assets\Images\InternetPortal\youtube.qtc" />
<Link
Text="Do More"
NavigateUrl="http://mymobilehomepage.rogers.com/wmcontent/common/biz/domore/index.jsp"
ImagePath="\Windows\DoMore.qtc" />
<Link
Text="Rogers Mall"
NavigateUrl="http://mymobilehomepage.rogers.com"
ImagePath="\Windows\RogersMall.qtc" />
</OperatorLinks>
</InternetPortal>
Here's the file after I edited it:
<?xml version="1.0" encoding="utf-16"?>
<InternetPortal>
<BrowserExe>\Windows\OperaL.exe</BrowserExe>
<IncludeUserFavorites>False</IncludeUserFavorites>
<Banner DefaultImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner.qtc" SelectedImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner_selected.qtc" NavigateUrl="" Text="Launch Browser" Width="480" Height="215" />
<OperatorLinks>
<Link Text="YouTube" Executable="\windows\youtube.exe" ImagePath="\Windows\HTC\Assets\Images\InternetPortal\youtube.qtc" />
</OperatorLinks>
</InternetPortal>
Note that I also removed some of the carrier provided links that show up under the globe on the internet tab.
To be honest, I don't know what would happen if you screw up the file because it worked without any problems for me.
Click to expand...
Click to collapse
I've managed to edit a new copy of the file but I can;t get it back on the phone. I'm getting an error telling me that i don;t have permission to create items when I try to replace the exiting XML file with the new one or an error telling me I don;t have permission to delete the file when I try to delete the file before copying the new one.
So Close!! Please help!
Don't remove the file. Just use Total Commander and go to the file then press the pen/paper icon at the bottom and you can edit it right there. here are the working lines:
Opera:
<BrowserExe>\Windows\OperaL.exe</BrowserExe>
IE is:
<BrowserExe>\Windows\iexplore.exe</BrowserExe>
SkyFire is:
<BrowserExe>\program files\skyfire\skyfire.exe</BrowserExe>
Iris is:
<BrowserExe>\program files\iris browser\irisbrowser.exe</BrowserExe>
Does anyone know how to get NetFront (Access) to work? I get a warning that it's not a trusted or signed certificate. Thanks
By the way, no soft reset is needed after changing the xml- the changes take effect immediately.
Hi,
I'm about flashing my first roms, works just great. Now I want to give the roms my own names. I worked out that it is possible to set the name / version through the registry:
Code:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\Software\OEM" translation="filesystem">
<parm name="ExtROMVersion" datatype="string" value="My name"/>
<parm name="ROMDate" datatype="string" value="01/01/09"/>
<parm name="ROMVersion" datatype="string" value="1.19.831.0 (25581)"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
But now I want to name the nbh file itself, so by extracting it, there will stand my name. Furthermore I want to change the numbers showing up while booting.
How is this possible?
Has nobody any ideas?
Haha..
I do it like this:
[HKEY_LOCAL_MACHINE\Software\OEM]
"ROMVersion"="HDV1 L26"
[HKEY_LOCAL_MACHINE\System\Versions]
"Aku"=".1.4.3 L26"
If you want to edit the .nbh you need to hexedit it, the specific offset I realy don't know.
Cheers and Happy New Year,
Leo
johnpatcher said:
Has nobody any ideas?
Click to expand...
Click to collapse
I am cooking my first ROM for the shift and have successfully packaged several cabs into the installation and changed some registry settings... my question is this:
How can I enable GPS in my rom?
How can I delete files such as the phone.lnk from "\Windows\Start Menu" Since the phone is not operational - I tried deleting the phone.lnk out of the SYS folder but it did not delete
If I have a _setup.xml file from a cab I have heard that I can put it into the OperatorPKG folder called mxipupdate_*.provxml so that it runs at startup... but it doesn't seem to
Thanks in advance
Kris
gps is enables by default if you start from a gps enabled rom, or from my rom kitchen.
the phone link comes from a prov xml in the oemdrivers folder.
can you tell me what line to delete the phone i can't find it in any - checked:
mxip_HtcApplications_HTCReplacer
mxipcold_OEMDRIVERS_100
mxipcold_OEMDRIVERS_101
mxipcold_OEMDRIVERS_102
mxipcold_OEMDRIVERS_103
mxipcold_OEMDRIVERS_601
couldn't find it in any of those xml files
Thanks
Kris
also how can i delete files and directories with a provxml I have tried the following with no success - the file is called mxipcold_i00.provxml but i have also tried merging it into an existing one also mxipcold_wpc_2.provxml since the other wasn't working both don't seem to work:
Code:
<wap-provisioningdoc>
<characteristic type="FileOperation"> <characteristic type="\Windows\Start Menu\Phone.lnk" translation="install">
<characteristic type="Delete">
<parm name="ForceDelete" />
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
So if you know why the above is not working and also how to delete directories it would be appreciated
thanks
Kris
Initially I was trying to find a way to replace the default dialer images based on the theme (TSK) I was currently using. I figured, since the TSK is simply a CAB installer and already replaces files like stwater_640_480.png, it should be able to replace files like dlrback_land.png.
The results from my previous tests showed that attempting to add additional files to the TSK caused it not to load.
Today I came across the following registry entry...
Code:
[HKEY_LOCAL_MACHINE\Security\AppInstall\TSKAllowed]
All of the files that you are allowed to install via TSK are listed here. I added the filenames of the files that I wanted to replace, but that still did not work.
Then I found mxipupdate_metabase_001.provxml (located in \SYS\OS\). This XML is run on first boot and it appears to change files properties for all of the files used by the Theme manager.
With all of this I was finally able to install an extra file via TSK. I am still having problems replacing the dialer images, but I think I am close.
Requirements:
In order to install/replace additional files via TSK, you need the following pieces in place.
- The filename needs to be added to [HKLM\Security\AppInstall\TSKAllowed]
Example:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\Security\AppInstall\TSKAllowed]
"8"=multi_sz:"picture.jpg"
- The file needs to exist on the phone originally (just a dummy file is fine) so that you can modify the properties.
Example:
Code:
<?xml version="1.0"?>
<wap-provisioningdoc>
<characteristic type="Metabase">
<characteristic type="FileOperation\%CE2%\picture.jpg\*" translation="install">
<parm name="datatype" value="string" />
<parm name="semantic-type" value="file" />
<parm name="rw-access" value="3" />
<parm name="access-role" value="88" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
Once you have the file on your phone (or a dummy of the same name), the properties set appropriately and the name added to the TSKAllowed list, you can replace it when changing themes.
Attached to this post are all of the files I used.
Picture.jpg is a dummy file (empty txt file renamed as picture.jpg)
picture.xml changes the properties (can be loaded by FDCSoft TaskMan)
TSKAllowed.reg adds picture.jpg to the TSKAllowed key
TSK_test.tsk is Ron Arad orange with picture.jpg added (picture.jpg is a picture of a car)
This may not be of any use to anyone, but I wanted to share the info either way.
Hey I have been trying out without success installing some additional files using the tsk. It has only now that I came upon your post. Thanks for the info. I'm just surprised no one else got interested on this...
I haven't spent much time on this recently myself. Feel free to post what type of results you get.
After reading this :
http://forum.xda-developers.com/showthread.php?t=748400
I had a look into framework-res.apk om my SGS and I found the same file:
res/layout/zzz_battery_alerting_popup.xml
I was wondering if the only way is to repack framework without that file, or is there any other option ?
AXMLPrinter2 output this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:gravity="0x00000011"
android:orientation="1"
android:id="@android:0102016C"
>
<TextView
android:textSize="18.0dip"
android:textColor="#FFFFFFFF"
android:gravity="0x00000003"
android:id="@android:0102020A"
android:paddingLeft="19.0dip"
android:layout_width="-1"
android:layout_height="-2"
>
</TextView>
</LinearLayout>
Where that message come from ? this define only layout! id like in-memory patch or hooking parent
husq510 said:
After reading this :
http://forum.xda-developers.com/showthread.php?t=748400
I had a look into framework-res.apk om my SGS and I found the same file:
res/layout/zzz_battery_alerting_popup.xml
I was wondering if the only way is to repack framework without that file, or is there any other option ?
AXMLPrinter2 output this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:gravity="0x00000011"
android:orientation="1"
android:id="@android:0102016C"
>
<TextView
android:textSize="18.0dip"
android:textColor="#FFFFFFFF"
android:gravity="0x00000003"
android:id="@android:0102020A"
android:paddingLeft="19.0dip"
android:layout_width="-1"
android:layout_height="-2"
>
</TextView>
</LinearLayout>
I use ApkManager (http://forum.xda-developers.com/showthread.php?t=695701) to decompile the apk and make code edits then recompile. But if you are looking to remove the xml file all together then just rename the .apk to .zip and open with 7zip in windows or in linux just double click to open. Then navigate to the file you wish to remove and delete it from the zip. This way you never actually extract the zip so everything stays in tact. When your done just rename it back to .apk
*** Just so you know if you remove that file it will remove the popup....but the phone locks up for a minute or two when the phones reaches its full charge. I am working hard on this and when I know more I will let you know.
Click to expand...
Click to collapse
okay, thanks alot. Wish to have good news from your soon.