[Q] Can we change the User Agent string? - Bada Software and Hacking General

Hi,
what do you think, is there any solution to change the browser's user agent string to gain acces to (for exmaple) iPhone optimized webpages? Or is it hard-coded into the browser?

I saw several times UA String somewhere... maybe in *.ini files.
Best Regards
Edit:
Found in ffs in several Widgets *.js
SAMSUNG; SAMSUNG-GT-S8500/S8500SXJD1; U; Bada/1.0; en-us) AppleWebKit/533.1 (KHTML, like Gecko) Dolfin/2.0 Mobile WVGA SMS-MMS/1.2.0 OPN-B"

http://forum.xda-developers.com/showthread.php?t=906966
You need to flash RC2 file with MID in the name... to activate this menu.
Best Regards

Here is a list of UAgent if it can help
http://www.handsetdetection.com/properties/vendormodel/Samsung/GT S8500

Go to your stock browser.
In the address bar type about:debug
press go.
Then press your menu button and then settings. Awhole lot of options open up.
Choose your desired ua string at the bottom.
enjoy!
Hit thethanks button if i have helped!

Go to your stock browser.
In the address bar type about:debug
press go.
Then press your menu button and awhole lot of options open up.
Choose your desired ua string, reload your desired page.
enjoy!
Hit thethanks button if i have helped!

I have tried this on my g1 g2 zoom and galaxy tab with 2.2 2.2.1 and 2.3.3
it has worked for all.
Currently i am on the leaked gingerbread rom with overcome beta 1
Maybe bada cannot do it.
Ps my uploading isnt working will try later to post a pic of what u should do and see

Dokugogagoji said:
Yeah...bada browser is not Dolphin...it is dolFin ...Samsung wants to confuse their bada users ahah
Click to expand...
Click to collapse
Try it in stock browser

Hi today I found a file which has one line:
"nUser-Agent: Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_2 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile / 7D11 Safari/528.16 \ r \ n "
Maybe we can change this user agent. File is located in: "\ SystemFS \ User \ Br \ RmConfig \ iphone.ini" (strange name)
Also in this file there is still a pretty interesting line: "ACCEPT_EXT_DOWNLOAD =" I think it defines extensions for download.
Sorry for my English

Yes the iphone.ini comes from the WebKit, it is no longer a secret that samsung uses some Apple relevated things for bada.
But this ini is part of the ported WebKit, for they that don't knows what WebKit is:
It is a HTML-Rendering-Engine, Browsers like Dolfin, Dolphin, Safari are all based on it.
By the way the Bada WebKit from 1.2 is terrible. But iphone sites working just I know, you only need to find the correct link of the page, some sites have different features for iphone and android wich goes through javascript, this sites checks if their web client connects to the site, if not they block scrolling and things like that. This is a blocking feature for other clients and browsers. The creators don't wont that the content can be used without their app.
The best sample of one of this sites is imo.im this is one of this sites where only a certified app can scroll on it, and so on.
While developing Voluntas i have seen some such sites, maybe it could be possible to add such checks in the application so that everyone can use such sites.
Manipulating the Ugent string would be a good way for that, but for me it doesn't worked on even this site written below.

frxbg said:
Hi today I found a file which has one line:
"nUser-Agent: Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_2 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile / 7D11 Safari/528.16 \ r \ n "
Maybe we can change this user agent. File is located in: "\ SystemFS \ User \ Br \ RmConfig \ iphone.ini" (strange name)
Also in this file there is still a pretty interesting line: "ACCEPT_EXT_DOWNLOAD =" I think it defines extensions for download.
Sorry for my English
Click to expand...
Click to collapse
Yeah, even I thought that was extensions for download. I added all the MIME/ Internet media type extensions for different formats. I flashed the the FFS file which had the modified iphone.ini file. But it didn't work.

Hi,
did anyone have success already in editing the useragent-string? Currently I'm living in Japan and I am not able to use my Wave-S8500 with my messaging-flat.
The reason is, that the provider Softbank checks the User-Agent String when sending MMS and if the phone was sold by them, the connection is blocked . I found several tutorials to fit the string with android and valid ones for softbank, but I found no way to do that with bada...
I really would like to use my Wave again instead of the crappy phone I got from softbank...
Best regards,
Chris

Ok, yesterday I stumbled on the answer in another forum (Thanks to mylove90 from sammobile-forum).
You can change the User Agent String as following:
-First enter *#33284*# and change the Debug-Level to Middle
-After reboot, enter *#7092463*#, then go to Module Settings>Browser>UAgent and just change the string (it would be a good idea to note the orginial one first )
-If wanted, enter *#33284*# and change the Debug-Level to Low again
My Wave is working now with SoftBank, after changing the User Agent String to one from a SoftBank Phone
Chris

Related

user Agent string reg edit won't work on WM6.. JJ?

I've used many other roms, including Vp3Gs' and lvsw, but the "BLACK" roms are the only ones that enable me to log into my Wells Fargo because all other go to the page where it says that the IE is not compatible... is there any reason this happens? is there any ways to fix this on other roms?.. thanks
google user agent string
then find out how to change it in pocket ie. its a reg hack
I second this. You change that string and you can do the same on any ROM.
Proxy setting
I have 'disabled' proxy setting, and this has allowed me to use IE.
Hope this helps!
there was/is a app out there that basicly hides the fact that you are using a phone to acces the web i think it was tweak lite??? this was from a while back in the wm2003 days so i am not sure it is still around.
i stopped using my phone for heavy web browsing a while back and lost the cab for it. seemed like all it was is a reg hack.
maybe you can get one of the fantastic cooks around here to slap one together.
or buy opera i hear that it also does the same thing.
Buy Opera
If you get the paid for version of Opera, you can change it to identify itself as the "Desktop Version". This works well for me on the UK's National Rail website, which insists on giving me the rubbish cut-down version.
Well I've tried the desktop association with Opera, but I still can't access my online account with Wellsfargo because it is not a supported browser... I tried the user agent hack from WM5, but it won't work with WM6.. anyone out there... JJ? care to enlighten?
Changing the PIE User Agent is not as simple as a regedit anymore. The later builds of WM5 and all WM6 builds have the User Agent hard coded into the browser.dll in the \Windows folder. The User Agent string in the registry is now only for OEM's / Telco's to add any specific customisations.
The only way to edit the full User Agent string is to hex edit the browser.dll. If you search across all the Hermes forums (not just Wm6) there are numerous posts covering the topic.
Cheers
EDIT: Thanks for the below update PAPPL, seems my info was a bit out of date
Download "Schaps Advanced Configuration 0.9" here at xda-devs.
There you can simply change the User Agent in a User Interface!
The new WM6 Builds do have a UserAgent registrykey again. It's called "CustomBase"
Schaps Tool replaces this string.
browser.dll doesn't need to be hexedited anymore for WM6!
Only WM5 Aku3.x+ needs hexediting!
Thanks.. PAPPL.. I'm using schaps rom and have just been living with the fact that I can't do it..
Would I just have to change where it says Mozilla/4.0 to MSIE 6.0?
sry, but I browsed around and that all that had to be done with the registry but it doesn't seem to work with the advanced config tool... maybe I need to change the whole string to something else?
PAPPL said:
Download "Schaps Advanced Configuration 0.9" here at xda-devs.
There you can simply change the User Agent in a User Interface!
The new WM6 Builds do have a UserAgent registrykey again. It's called "CustomBase"
Schaps Tool replaces this string.
browser.dll doesn't need to be hexedited anymore for WM6!
Only WM5 Aku3.x+ needs hexediting!
Click to expand...
Click to collapse
So the "custombase" is a reg key? Where?
Jas - if you're still crusing by here... this would be a useful customisation in your Pimp toolset....
wpbear said:
So the "custombase" is a reg key? Where?
Click to expand...
Click to collapse
WM5 (max. AKU2.3): [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Internet Settings\5.0\User Agent] Default="Your Useragent String"
WM6: [HKLM\Security\Internet Explorer\User Agent] Custombase="Your Useragent String"
http://www.fiddlertool.com/useragent.aspx
Your string is shown in IE/PIE (User Agent:...)
PAPPL said:
WM5 (max. AKU2.3): [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Internet Settings\5.0\User Agent] Default="Your Useragent String"
WM6: [HKLM\Security\Internet Explorer\User Agent] Custombase="Your Useragent String"
http://www.fiddlertool.com/useragent.aspx
Your string is shown in IE/PIE (User Agent:...)
Click to expand...
Click to collapse
Thanks, I have been using a really old browser.dll to get CV to work guess I can stop doing that now.
Still doesn't work properly
I've done the registry change in CustomBase, but it still doesn't fix the problem
Useragentstring.com still reports my browser as Windows CE and I still get the WAP crap on some sites.
Using Opera set to "Desktop" fixes it, although Opera has other compatibility issues -and it's not compatible with my wallet.
WM6 is obviously still reading either the "Platform" setting in the WM5 key area, or it's doing something else equally creative.
I think the browser.dll hack is the only thing that is going to fix it, at this stage, anyway.
Anyone with any other ideas?

Help - No BBC iplayer streaming after flashing

Here's my situation.
I was able to stream iplayer thru opera mobile on my HD stock rom, bought from mobiles.co.uk.
Got into flashing last week but have had absolutely no joy with iplayer since. I have tried many different opera mobile builds. I have changed the user agent within but with still no joy. The closest I have managed, was to load the iplayer site only to be told my device is not supported (using the HD user agent).
Anybody got any pointers - please enlighten me.
I don't think the problem is related to flashing.
I am getting the same message for the last few days and I'm using original (Orange) ROM.
Is iplayer working for anyone else?
hi guys
yeah i had the same problem after flashing with Davideuck V1. I thought it was the build. I kept my old ORANGE ROMS, opera.ini file just in case but it still didnt work.
Looks like support for the Touch HD has been dropped by the BBC for now. LAthough it stills lists it on their site.
For now ive just used the "sgh-i900" hack in the user agent field in the opera.ini file and that seesm to work fine. If you do a search on here or at wmpoweruser you should be able to do this.
WTF says unsupported device now!!! thats maddness -- using duttys xtreme 1.9 (was working last week, spent the whole week getting it up and running)
bbc suck!
Here are the instructions for the fix mentioned above:
* Run Opera
* In the address bar enter opera:config (no http://)
* Scroll down to User Prefs and click
* Scroll down to Custom User-Agent and at the end of the pre-filled text add sgh-i900
* Scroll down some more and press Save. You will get a prompt which suggests you may need to reset the phone, but for this you don’t.
* Now point your browser to http://www.bbc.co.uk/mobile/iplayer/ and enjoy.
It worked for me.
THANKS!
Problem for me there is, I've got no pre filled text at all in the custom user agent.
Can anyone provide the complete string to fill in.
Thanks in advance.
Some custom ROMS have disabled flash in Opera for stability and speed. They usually include IE though which should work with iPlayer.
* Scroll down to Custom User-Agent and at the end of the pre-filled text add sgh-i900
So - can anyone post the full text string to type into the custom user agent. Mine's blank!
had the same problem a while back,just goto opera config and add standard Touch HD user agent then it should all work.
HTC_Touch_HD_T8282 Opera/9.50 (Windows NT 5.1; U; en)
_macca said:
HTC_Touch_HD_T8282 Opera/9.50 (Windows NT 5.1; U; en)
Click to expand...
Click to collapse
Sorry, my mistake. What I meant to ask for - does anynbody have the full string for the Samsung Omnia.
HD string just says unsupported device!
seems to give me playback error?? wtf is that about. but not this.... it did the same when the user agent said HTC_TOUCH_HD_T8282 Opera/9.50 (Windows NT 5.1; U; en)
is the sgh-i900 working on everyone elses??? or is it just my setup i have at the moment??? it opened up with WIFI and also streaming media app.

Anchorfree Hotspot Shield VPN access

Anchorfree gives on their website the procedure to access their VPN with an iphone.
Why can i not use these settings on my PPC ?
Does anyone have an idea ?
Thanks.
PS: Don't tell me that an iphone can do things that a Windows mobile device can't
http://www.anchorfree.com/
Ok, I see.
Just to get your attention ...
HotSpot Shield is a vpn that allows people in China, like me, to connect to youtube, facebook, an many other websites.
This is why i'm really looking for some help here
ThanX
You will have to change your default user agent, for opera you can do it straight from the browser.
For internet explorer i think you can do it in advanced configuration tool. there have been alot of threads covering how to do this, just use search, also to help you here is the default iphone user agent.
Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543 Safari/419.3
i would also like to find out ,,, tried to set it up but wasnt successful for me....
anyone mind to help ?

[Q] Change Mobile IE User Agent

Hi, does anyone know how to change WP7's IE user agent?
I've tried modifying registry [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\User Agent] with no luck at all, www.whatsmyuseragent.com still showing original Mobile IE7 user agent string.
Thanks a bunch.
hey guys, i've just tested the web browser with iPhone 4.1 Mobile Safari user agent string "User-Agent: Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_1 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8B117 Safari/6531.22.7"
The result is unacceptable in most occasions, so... guess we'll just have to wait for IE9 to come out
Please tell us how you changed this! I've been looking for a way to do it for some time.
GoodDayToDie said:
Please tell us how you changed this! I've been looking for a way to do it for some time.
Click to expand...
Click to collapse
It involves lots of needy greedy programming stuff. I basically create a browser with the built-in WebBrowser control and set the user-agent to iPhone 4.1 mobile safari user-agent.
I've attached the source code. But anyway MobileIE7 just isn't powerful enough to render those elements, e.g. it can't properly render Google to the formatting like iPhone safari.
Cheers
user agent switcher
Folks, just to bring closure to this thread and for the benefit of future Bing/Google searches, here is the marketplace-approved user agent switcher:
http://www.windowsphone.com/en-us/store/app/user-agent-switcher/65783cf3-4a4f-4a89-a315-7998fe1ced6e
On your WP7 phone, just type in "user agent switcher" into marketplace search. Using the Apple Ipad user-agent string seems to work really well with a lot of sites on WP7.8.
^^ Great app user agent switcher, and I am starting to use it, it is just what I am looking for.
But, it would be nice to integrate it in IE or better UC browser, that will be so great...
And offcourse text reflow in those web browsers!

Problem with Cool3D Sense 3.5 and all Sense 3.5 ROMS

Hey all, just a small problem I've encountered with all sense 3.5 ROM ranging from Seb15's to Cool3D sense 3.5.
Does anyone know how disable mobile view in the browser?
I've tried unticking the box in the settings but it still does not disable the mobile view as all the websites I go on, it automatically puts me into mobile view!
Does anyone know how to actually disable it?
Cheers
Dave
this may be silly but have you tried restarting after you unticked mobile view
Hi Dave,
That setting works for me on sebastiaan Runnymede fine. Just tried it on www diy com for example.
Yep, I've restarted when unticked. It won't move to desktop view. Such websites I have tried is Google, BBC, engadget, guardian and YouTube. I've tried "about:debug" to get the UA String option. When I change that to desktop I still can't get desktop mode to work!
Sent from my Brain using XDA App
Hi Dave,
This won't help you fix your problem I expect , but just sharing how it works for me.
Google. I have to click the Mobile or Classic link at the bottom of the page to get it to switch. It ignores the setting in the browser.
Endgadget and Guardian always gives me the mobile version, regardless of setting.
youtube and BBC gives me mobile or desktop depending on what I've ticked. I don't have to even restart my browser to switch I just change the setting and then type www youtube com in the address bar and it loads the "right" version.
Maybe it's to do with how the web site detects the browser, rather than a problem with Sense per se?
topgeardave said:
Yep, I've restarted when unticked. It won't move to desktop view. Such websites I have tried is Google, BBC, engadget, guardian and YouTube. I've tried "about:debug" to get the UA String option. When I change that to desktop I still can't get desktop mode to work!
Sent from my Brain using XDA App
Click to expand...
Click to collapse
beardymarrow said:
Hi Dave,
This won't help you fix your problem I expect , but just sharing how it works for me.
Google. I have to click the Mobile or Classic link at the bottom of the page to get it to switch. It ignores the setting in the browser.
Endgadget and Guardian always gives me the mobile version, regardless of setting.
youtube and BBC gives me mobile or desktop depending on what I've ticked. I don't have to even restart my browser to switch I just change the setting and then type www youtube com in the address bar and it loads the "right" version.
Maybe it's to do with how the web site detects the browser, rather than a problem with Sense per se?
Click to expand...
Click to collapse
All pre-sense 3.5 totally disabled the mobile setting. Sense 2.1 and 3.0 browsers when unticked let me access the web in desktop mode. I had to do no faffing around. I think I'll have to let the devs know because even when the UA string is changed to desktop it still presents me with mobile view.
I've done a bit of playing with my daily driver ROM, while looking at the User Agent String on www mybrowserinfo com.
On Seb15 Runny AIO ROM (Android 2.3.5, Sense 3.5) in mobile view :-
Mozilla/5.0 (Linux; U; Android 2.3.5; en-gb; HTC_Desire_A8181 Build/GRJ90) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
but in Desktop view it shows :-
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; HTC Desire; en-gb) AppleWebKit/533.16 (KHTML, like Gecko) Version/5.0 Safari/533.16
Don't need to restart the phone or the browser
On ICS in mobile view
Mozilla/5.0 (Linux; U; Android 4.0.1; en-gb; Full Android on Bravo Build/GRI40) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30
in desktop view
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.34 Safari/534.24
On Stock Froyo (Android 2.2 with Sense) in mobile view
Mozilla/5.0 (Linux; U; Android 2.2; en-gb; HTC Desire Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; en-us) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Safari/530.17
So the setting is definitely having a difference to how the phone presents itself to the web-site (which is also proved by how www diy com reacts to the setting for me). Maybe some web-sites are looking at different bits of info in the UA string to others, to determine which page to display?
Been looking into it, tried loads of UA strings in the browser settings when I typed in about:debug in the address bar.
Changed my UA string so many times, yet it still comes up the same as stock UA :/ This looks like a ROM problem!

Categories

Resources