Hi,
I've been trying to change the User Agent string in Internet Explorer so I can browse Vodafone Live! and watch Mobile TV on my P3600. Vodafone Live! can only be accessed by supported phone models, so one has to trick the website into thinking your unsupported phone is one of the supported models. In newer versions of Internet Explorer mobile, this is done by modifying the hardcoded User Agent string in the \Windows\browser.dll file, and various members have kindly released such modified files with different browser identifiers.
From visiting http://www.useragentstring.com/, we can see some extra custom data (found in the registry) is appended to the hard coded user agent string. I apologise if this has been suggested before, but instead of releasing many versions of browser.dll files to spoof different phones, why not erase the hard-coded string entirely and just use the custom data to set the User Agent from the registry. Here's what I did...
I extracted the browser.dll file from mun_rus' cooked rom: mUn_1.25.TE_AKU3.5.2_WWE, but I assume this file will be compatible with all AKU 3.5.2 builds (Someone please confirm this; if you are not using the same ROM, I would advise not to use the attached files until someone has confirmed it). Initially, the hard-coded string read:
"Mozilla/4.0 %s (compatible; MSIE 6.0; Windows CE; IEMobile %d.%d)"
I overwrote the entire string (apart from the %s) with 0x00's (Hex), saved the file and uploaded it to my phone.
Now if I set the value of the registry key "Custom", located at:
HKLM\Security\Internet Explorer\User Agent
to:
"Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 6.8) PPC; 240x320; HTC_P3600/1.0 Profile/MIDP-2.0 Configuration/CLDC-1.1"
The browser performs exactly as before. However, the advantage now is that when I want to watch Mobile TV or browse Vodafone Live, I can simply set the "Custom" registry key to:
"Nokia6233/2.0 (03.46) Profile/MIDP-2.0 Configuration/CLDC-1.1 RSS Reader 1.18, Nokia6233/2.0 (03.46) Profile/MIDP-2.0 Configuration/CLDC-1.1 UNTRUSTED/1.0"
I have shared some automated installer cab files which will make these modifications without having to go through all the trouble of extracting files from roms, and hex/reg editing. They are as follows:
[*]AKU352_dlls.zip: contains 2 files to be copied to your PPC.
Run modified_AKU352_browserdll.cab to replace the original browser.dll with one that does not have a hard coded user agent string.
Run orig_AKU352_browserdll.cab to restore your browser.dll with the original one from mun_rus' rom.
IE_HTC_P3600.cab : set the User Agent string to simulate a HTC P3600
IE_Nokia6233.cab : set the User Agent string to simulate a Nokia 6233 (which gives access to Vodafone Live!)
Now you can change between HTC_P3600 and Nokia 6233 by simply running a cab file, (which only changes some registry data)!
PS, if people think this is a good idea maybe mun_rus and lvsw could include this modification in their future cooked roms? Otherwise, i'll update this thread with new dll's when new roms are released
This is a very interesting topic. Thanks for your research and detailed post.
I was wondering if you ever tried the PIEPlus v2.2 plugin for MobileIE?
http://www.reensoft.com/PIEPlus/
The site discribes a Custom field selector for User Agent. If you have tried this, was it successful?
I too would like to use some cell provider content that is unavailable to my Trinity without spoofing the User Agent string.
Thanks for your free alternative. I would enjoy any feedback.
Sorry double post.
Hi,
Since AKU 3.3 and WM6, tools which change the user agent string (such as PIEPlus) have not worked due to the hard coding of the user agent string in the browser.dll file. I did try the new version of PIEPlus myself, but visiting www.useragentstring.com reveals that nothing is changed. Someone pointed out this fact in this thread. I also tried a number of other tools, and even changing the registy values manually myself, without any luck.
For now, it seems the only way is to modify the browser.dll file. I've given full instructions how to do this since I'm not sure whether it is safe or not to copy this file across different builds of Windows Mobile. Blanking out the hard coded string seems the most generic thing to do - that way you dont have to keep overwriting the dll when you want to spoof different phone models/browsers. Once the modified dll is in place, you can go along to the specified registry key and insert your own user agent string (incase the Nokia 6233 isnt the one you were after).
Hi,
Easy link to check your user agent is also available here:
http://uap.texto.cc
regards
Richard
These browser.dll's are not working on my TyTN II (WM6).
How did you extract and modify the browser.dll.
I want to extract and modify the browser.dll from my TyTN II, however i cannot copy it from the windows directory.
What program do you use to modify the file and waht do you change???
Thanx in advance
Hi John,
You will need to find the rom you flashed your phone with, then using the ImgFS tools, extract the relevant file from the rom. HexEdit the file as described, then use WinCE Cab manager to make a cab and replace the file in the windows directory on your phone.
Hope this helps,
Let me know if I can help further...
James.
jamesbest77 said:
Hi John,
You will need to find the rom you flashed your phone with, then using the ImgFS tools, extract the relevant file from the rom. HexEdit the file as described, then use WinCE Cab manager to make a cab and replace the file in the windows directory on your phone.
Hope this helps,
Let me know if I can help further...
James.
Click to expand...
Click to collapse
I think CustomBase must be changed isnt?
lucgas said:
I think CustomBase must be changed isnt?
Click to expand...
Click to collapse
No, dont change "CustomBase", only erase the parts I have described. This excludes the %s but includes the %d's
AKU352_dlls.zip works on my p3600 with WM6.
Dont have vodafone, but what used to be vodafone in sweden, and it works great . Thanks!
Raiker said:
AKU352_dlls.zip works on my p3600 with WM6.
Dont have vodafone, but what used to be vodafone in sweden, and it works great . Thanks!
Click to expand...
Click to collapse
That is very strange - but glad it worked!
I wouldn't recommend that anyone else try these dll's on their phone unless they are using AKU 3.5.2. Otherwise unpredictable things may start happenning...
jamesbest77 said:
That is very strange - but glad it worked!
I wouldn't recommend that anyone else try these dll's on their phone unless they are using AKU 3.5.2. Otherwise unpredictable things may start happenning...
Click to expand...
Click to collapse
hi i have tytn and i installed a cab file...but...it worked under GPRS but as soon as i was in 3g zone i couldnt connect to the net, it was saying that my modem has disconested. do u have any idea what i did wrong?
UserAgent patch attempt on HTC Universal
jamesbest77 said:
Hi John,
You will need to find the rom you flashed your phone with, then using the ImgFS tools, extract the relevant file from the rom. HexEdit the file as described, then use WinCE Cab manager to make a cab and replace the file in the windows directory on your phone.
Hope this helps,
Let me know if I can help further...
James.
Click to expand...
Click to collapse
Hi James,
I'm trying to do this exact same patch for the HTC Universal with a WM6 ROM. I succeeded in extracting the browser.dll:
alpinenbfdecode.pl -d nk.nbf nk.nba
mkdir files
rdmsflsh.pl -d files nk.nba
But when I copy the browser.dll (even unpatched) to the device and start Internet Explorer I get the error: iexplore.exe is not a valid application.
I've also noticed that all DLLs I have extracted differ a bit in size compared to the sizes they have on the PocketPC itself. Anyone has tips?
browser.dll for HTC Universal
Hi all,
I installed the browser.dll from MUN200SEwm6beta_dlls.zip and it worked on my HTC Universal with WM6. However, I didn't like the feature to enter the useragent in registry, so I changed the DLL and now it contains this useragent string:
Mozilla/4.0 %s (compatible; MSIE 6.0; Windows NT 5.1; Ruw. %d.%d)
The 'Ruw.' was just to fill up the string as I didn't want to change it's length to avoid unspecifed behaviour. Ruw is short for Ruwebit.net (my site).
It works perfectly with all sites. To install: just copy the browser.dll to /Windows. To uninstall: just delete it from /Windows and the original browser.dll from the ROM will re-appear.
user888 said:
It works perfectly with all sites. To install: just copy the browser.dll to /Windows. To uninstall: just delete it from /Windows and the original browser.dll from the ROM will re-appear.
Click to expand...
Click to collapse
Some sites don't seem to fully load with this DLL on a HTC Universal...
user888 said:
Hi all,
I installed the browser.dll from MUN200SEwm6beta_dlls.zip and it worked on my HTC Universal with WM6. However, I didn't like the feature to enter the useragent in registry, so I changed the DLL and now it contains this useragent string:
Mozilla/4.0 %s (compatible; MSIE 6.0; Windows NT 5.1; Ruw. %d.%d)
The 'Ruw.' was just to fill up the string as I didn't want to change it's length to avoid unspecifed behaviour. Ruw is short for Ruwebit.net (my site).
It works perfectly with all sites. To install: just copy the browser.dll to /Windows. To uninstall: just delete it from /Windows and the original browser.dll from the ROM will re-appear.
Click to expand...
Click to collapse
how do u copy it? when i try it it says acces denied
anyone tried this with an Ax3l rom?
i'm using AX3L_WM6_WWE_v3.1.2_Lite, should i give your dll a try? or it isnt going to work and i have to manually create the browser.dll for my rom? i'd like to avoid it if i can
whatever you do *dont* try these dlls on the wrong rom. you'll have to make your own for that particular rom i'm afraid - but it isnt hard at all, and you'll learn a lot
By the way, isnt there a new easier way to modify the User Agent string now? I've heard some people mention they used Schaps' Advanced Configuration tool....
hehe alright, i'll do that as soon as i get some time
i'll post my progress here
gurth4ng said:
hehe alright, i'll do that as soon as i get some time
i'll post my progress here
Click to expand...
Click to collapse
whats happeneing? i have wm6 on dopod383pro. really would like to use vodafone life especialy those foxtel chanels
Related
Hi i have the problem that i cannot copy the tapres.dll of my MDA Compact to my PC for modify. This has the "pressed" Buttons inside i have found tapres.dll for WM 2003 but i need the one with landscape graphic inside (WM2003 SE).
Can somebody help me to show me a way to copy this file to pc ... when i modify the registry for example tapres2.dll i can't copy the tapres.dll too!
Thx for your help
Snappy
here u go 8)
hmm, think this is not the same one like the one on my device, there is not the image inside like the tapres.dll from a wm2003 device ... perhaps you can show me a way to copy the tapres.dll from my device to my pc i need it in german too.
Thx for your help
Snappy
Snappy said:
hmm, think this is not the same one like the one on my device, there is not the image inside like the tapres.dll from a wm2003 device ... perhaps you can show me a way to copy the tapres.dll from my device to my pc i need it in german too.
Thx for your help
Snappy
Click to expand...
Click to collapse
You cannot copy/move/rename the ROM dlls. What you can do is to go to the ftp.xda-developers.com site, and perform a dumprom from the ROM images available on the site. To download dumprom and FAQ, goto wiki-xda-developers.com site and search for dumprom.
Bear in mind that if you then copy the new tapres.dll into the /Windows folder of your device, it exists as a run-time copy that the device manager will use instead of the original one in your ROM.
However, the new DLL cannot survive a hard-reset, and you must copy it back to the /Windows folder after a hardreset.
Last time, I think some of the drivers for Compact/Mini/JAM are customised for the hardware only. I'm not sure about taperes.dll, but you can try porting and see if it works. Good luck!
Anyway, here the tapres DLLs from a GERMAN ROM.
Thx alot for your help, i have found the graphic in the tapres.96.dll but i have only heard about a way to change the graphic by change the registry to a other dll...
Ok here an information for anybody who wants to create own skins for dialer on MDA3 and MDA Compact with Key Pressed graphic.
- modify the normal graphics with any graphic program
- extract the .ico files from the tapres.96.dll for example with "PE Explorer"
(Icon_Entry: 1 is for Standard and 2 is for Landscape graphic (3 is sqre))
- modify the .ico for example with "axialis icon workshop"
- replace the icon files with "PE Explorer" and save the .dll to a new name like tapres.97.dll
- modify the Registry Key HKEY_CURRENT_USER\ControlPanel\Phone\IcoFil to your filename "tapres.97.dll (original its tapres.dll)
- softreset
Thats all ;-)
Hav fun Snappy
I'm trying to delete BrandedBrowser.exe so I can replace it with iexplorer.exe but WM5 is refusing because it;s a protected system file. Howto go about deleting/replacing the file?
GIR said:
I'm trying to delete BrandedBrowser.exe so I can replace it with iexplorer.exe but WM5 is refusing because it;s a protected system file. Howto go about deleting/replacing the file?
Click to expand...
Click to collapse
Protected files cannot be removed AFAIK but you can 'replace' them with a file with the exact same name.
And how do I do that? Just copy over it? Like I sadi I'm trying to replace brandedBrowser.exe with iexplore.exe but when I try to copy iexlore.exe it sais access denied.
GIR said:
And how do I do that? Just copy over it? Like I sadi I'm trying to replace brandedBrowser.exe with iexplore.exe but when I try to copy iexlore.exe it sais access denied.
Click to expand...
Click to collapse
I don't understand: do you have both files on your PPC? And if so, why don't you simply create/edit a link that points to iexplore.exe?
Okay let me explain it. I have a T-Mobile MDA Vario which comes branded with alot of T-Mobile stuff.
Alot of good stuff but some bad and one really annoying one, everytime you start Internet Explorer a popup comes up asking "Do you want to connect to the internet" Ok/Cancel.
By looking at the cab files in the extended rom I've been able to disable this when you start iexplore.exe.
Now also the Vario comes with a custom T-Mobile today plugin which allows you do a few stuff one of which is start Internet Explorer.
What this plugin does is, when you click the internet icon, instead of starting iexplore.exe start BrandedBrowser.exe.
BrandedBrowser.exe is basicly the same as iexplore.exe but with a different icon and also it shows the annoying popup.
Now since BrandedBrowser.exe and iexplore.exe basicly do the same I want to replace BrandedBrowser.exe with iexplore.exe.
And yes both files are on the device under \Windows
I've tried editing HTCTodayScreen.dll with a resource editor but that doesn't work, I'm guessing the applications need to be signed or something.
If I were you, I would just upgrade to the latest (Qtek) Rom.
Then your problem is solved and you will be up-to-date and have a good (fast) Rom.
The thing is that I don't need the AKU2 stuff added in the latest ROM and I really like the added functionality of the T-Mobile ROM. And I dread that QTek bootscreen, it's horrible and there's no sollution to change the bootscreen of the AKU2 roms.
Can anybody help me with a problem
I want to autoinstall some cab files on a wm5 wizard. (Like tomtom does under wm2003)
Problem WM5 don't want to install!!!
I have used the 2577 folder and the autorun from tomtom, renamed my cabs to the tomtom names (ttn.cab, gps.cab etc) this works fine under wm2003 but will not install on wm5
Does Anybody have a hacked autorun.exe that installs cabs on wm5 or
a Hacked extended rom autorun.exe that reads the config from the storage card instead of the extended rom.
The second option would be better as then all i have to do is re-write the config for different sd-cards
Please Please Please help me all you programmers/hackers/reverse-engineers or whatever you would lke to be known as.
Many thanks in advance
Autorun reads the ini from the /ExtendedRom/ location and that is hardcoded..
I can't be changed because it will render the certificate invallid.
However you can use:
PocketPC Installer ( http://www.pocketpctoolkit.com/index.htm )
It will make an autorun.exe for you (to install cabs registry keys etc etc..)
the-equinoxe said:
Autorun reads the ini from the /ExtendedRom/ location and that is hardcoded..
I can't be changed because it will render the certificate invallid.
However you can use:
PocketPC Installer ( http://www.pocketpctoolkit.com/index.htm )
It will make an autorun.exe for you (to install cabs registry keys etc etc..)
Click to expand...
Click to collapse
Doesn't Autoconfig.exe just reads the Config.txt file from the same directory?
Just change the Config.txt so it fits your needs and I think you will be done.
Only problem is that every app will be installed to Main Storage.
I actually have to know this, but cannot try it right now, my device is flashing one of my test Roms
Molski
molski said:
Doesn't Autoconfig.exe just reads the Config.txt file from the same directory?
Just change the Config.txt so it fits your needs and I think you will be done.
Only problem is that every app will be installed to Main Storage.
I actually have to know this, but cannot try it right now, my device is flashing one of my test Roms
Molski
Click to expand...
Click to collapse
The one from orange (NLD) doesn't. It reads the one in the extended rom.
Have disassebled it with IDA-pro, there I saw the strings pointing to the extended rom.
After patching it I got a certificate error when I tried to run it..
Hi, I'm having a HTC Hermes, and since AKU3 and WM6 ROMs the Pocket Internet Explorer have a bug. It doesn't send the User Agent String anymore. This bug causes no access to provider-multimedia-content anymore.
On Trinity-HTC-ROMs the PIE does work, but I have no Trinity.
Can somebody please help and zip or rar the 4 hidden files in Windows Directory on Trinity starting with "ie"..
The files are in ROM-Memory, so you have to unhide and select the files and say Duplicate by tap&hold in Resco Explorer.
Then you get 4 files in Windows-Dir starting with "Copy of IE..."
These files can be copied outside of Windows to a zip and posted here if anybody want to help us Hermes-Owners.
PAPPL said:
Hi, I'm having a HTC Hermes, and since AKU3 and WM6 ROMs the Pocket Internet Explorer have a bug. It doesn't send the User Agent String anymore. This bug causes no access to provider-multimedia-content anymore.
On Trinity-HTC-ROMs the PIE does work, but I have no Trinity.
Can somebody please help and zip or rar the 4 hidden files in Windows Directory on Trinity starting with "ie"..
The files are in ROM-Memory, so you have to unhide and select the files and say Duplicate by tap&hold in Resco Explorer.
Then you get 4 files in Windows-Dir starting with "Copy of IE..."
These files can be copied outside of Windows to a zip and posted here if anybody want to help us Hermes-Owners.
Click to expand...
Click to collapse
I will do it just a minute
All the files start from IE is:
IECEExt.dll.0409.mui
IECEExt.dll
iexplore.exe
iexplore.lnk
I search in my dumped rom and in my ppc windows dir..
Did you whant those file's ???
YES YES, searching for them since weeks!!!
There it is....
Thank you very much.
I replaced the files, but still not working to connect to my Provider.
i tried to change the registry settings, where the User Agent is set, and now i changed the iexplorer.
What else can it be? The Internet Explorer still sending Mozilla/4.0 as User Agent, even if deleting all Mozilla/4.0 Strings!
PAPPL said:
Thank you very much.
I replaced the files, but still not working to connect to my Provider.
i tried to change the registry settings, where the User Agent is set, and now i changed the iexplorer.
What else can it be? The Internet Explorer still sending Mozilla/4.0 as User Agent, even if deleting all Mozilla/4.0 Strings!
Click to expand...
Click to collapse
that's a standard header on all User-Agent Strings... I suggest you get the regular one for IE from WM5 and port it across.
Hi,
Does anyone now how to get the Vodafone Live portal with mobile tv working for my S730???
Many, many thanks!
Jaspar
you can't (yet) because they say it's not supported yet for the S730.
So you can wait or you can tweak your browser (surf google)
anyone knows how to change the USER AGENT string from IE then??
Is there still no solution to this problem? I even changed my browser.dll to get the N95 User Agent string, but its still not working.
I've been trying to get the browser.dll to modify but it seems to be unable to be modified or even copied to my PC to be edited?
Could this be simply because it is security locked?
How did you copy the browser.dll to your PC and then back again after you'd modified it?
I finally made it work!
I finally can use Mobile-TV and Vodafone Live on the S730. Here are my settings. (sorry this is for the german OS)
1. Connections->GPRS
Name: Vodafone live!
Verbindet mit: Büro
Zugriffspunkt: wap.vodafone.de
2. Connections->Proxy
Name: Vodafone live!
Verbindet Von: Büro
Verbindet Mit: WAP-Netzwerk
Proxy: 139.7.29.1:80
Typ:http
3. Settings->GPRS Authentifikation
CHAP
4. Streaming Media->Optionen
Verbindung über:Büro
5. Internet Explorer->Options->Connection
Network: WAP-Netzwerk
6. copy attached browser.dll to Smartphone/windows folder
->overwrite old file
7. change registry-key
HKLM/Security/Internet Explorer/User Agent->Values „Custom“:
String „Vodafone/1.0/HTC_Mercury/1.20.162.3/Mozilla/4.0“
After this steps vodafone live works for me.
Do I copy all the details literally to my S730 or do I need to modify to English first?
How its possible to change dlls. I didn't see this files in th explorer of Windows Mobile on the HTC S730. And I have no permissions to edit this file in Windows Vista when the phone is connteced...
Did everything, but when i start Pocket IE i get the warning that the program is not digitally signed with a trusted certificate.... how can i change this????
Ok, I got this warning too (in another forum they say this is because of the changed checksum of the dll), but I was able to select OK (or continue) and then it worked for me.
To get the dll was a little bit more complicated (it took me about 5 hours and a lot of Google, but if you know how to cook a ROM it will be easier for you) because you have to dump the original ROM from your phone. I used the information from here
and here But you have to add a blocksize parameter to the pdocread.exe-tool, (I think it was "-b 0x800") to be able to read the ROM data.
After the whole dumping of the ROM you have all the original files from the ROM on your pc.
But I hope this dumping is not necessary for you because the browser.dll should be nearly the same for all languages (the only issue is that the Pocket IE recognize that this file was changed, but it should start afterwards). I even tried a browser.dll from tytn II and the IE started (but the softkeys didn't work then) By the way, if you want to restore the original browser.dll simply delete the modified one and the the smartphone will get the original one from the ROM of the phone.
I hope anbody else will be sucessful with this whole vodafone-live issue, because for me it was definitely worth the trouble (especially because of CNN-mobile tv).
Sorry for my bad English, I try to give my best to make me understandable.
I forgot one thing. When I opened the registry I had two values under HKLM/Security/Internet Explorer/User Agent, I think it was "custom" and "custombase". I deleted "custombase" and changed "custom" to „Vodafone/1.0/HTC_Mercury/1.20.162.3/Mozilla/4.0“. So now I only have one value there.
I have done everything mentioned in the post from Miffmaster above including replacing the browser.dll (had to copy it to my storage card first and then used Resco Explorer to copy it to the Windows folder as it wouldn't let me overwrite directly to the Windows folder from my PC)
I have also changed the user string and GPRS, Proxy settings etc...
Now when I start Internet Explorer I get "Access Denied. This program cannot start because it is not digitally signed with a trusted certificate" and the only option is OK with ends the program!!!
Is there a workaround for this or have I done something wrong?
Maybe you could try change the following registry value to "1":
HKLM\Security\Policies\Policies
valuename '00001001' was set to dword:2, change it to dword:1
This should give you permission to run unsigned certificates. (see here
What WM version are you using, 6.0 or 6.1? Because my browser.dll came from the original 6.0 Standard ROM.
I'm using the cooked WM6.1 and when I checked, the policies dword was already set to 1 unfortunately!
I don't really want to go back to 6.0 as 6.1 is much faster in general.
Anyway, why should that make a difference to Internet Explorer which is almost certainly the same version anyway???
Have you considered moving to 6.1 yourself and re-doing the browser.dll if you think it will be different?