Go to navigation
last updated –
posted 2010-Nov-30, 9:38 pm AEST
posted 2010-Nov-30, 9:38 pm AEST
User #52985   1175 posts
Whirlpool Enthusiast
reference: whrl.pl/RcyCkO
posted 2010-Nov-29, 1:50 am AEST
posted 2010-Nov-29, 1:50 am AEST
O.P.

Got a DHD a few weeks ago, was just talking to a colleague about user agent strings (he has a sonyericson x8), and found something interesting.

On his x8 (running android 2.1), he has the following string:
Mozilla/5.0 (Linux; U; Android 2.1-update1; en-au; SonyEricssonE15i Build/2.0.1.A.0.47) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Mobile Safari/530.17

But on my DHD – stock rom, I have this:
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

No mention of android at all, it says I've got a MAC.

What's the go?

User #52985   1175 posts
Whirlpool Enthusiast
reference: whrl.pl/RcyHYy
posted 2010-Nov-30, 7:03 am AEST
posted 2010-Nov-30, 7:03 am AEST
O.P.

OK, anyone else with a DHD want to post what their user agent string is?

User #360561   956 posts
Whirlpool Enthusiast
reference: whrl.pl/RcyHZn
posted 2010-Nov-30, 7:13 am AEST
posted 2010-Nov-30, 7:13 am AEST

Mozilla/5.0 (Linux; U; Android 2.2; en-gb; HTC_DesireHD_A9191 Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 MobileSafari/533.1

That's mine...

User #360561   956 posts
Whirlpool Enthusiast
reference: whrl.pl/RcyHZG
posted 2010-Nov-30, 7:16 am AEST
posted 2010-Nov-30, 7:16 am AEST

Also I should've mentioned, I used: http://www.useragentstring.com/
and my current ROM on the DHD is LeeDroid 1.2

User #52985   1175 posts
Whirlpool Enthusiast
reference: whrl.pl/RcyH0r
posted 2010-Nov-30, 7:23 am AEST
posted 2010-Nov-30, 7:23 am AEST
O.P.

Thanks for that, I might mod mine to show the same... no idea why it says i've got a mac... hate macs.

User #25999   8822 posts
Whirlpool Forums Addict
reference: whrl.pl/RcyIf9
posted 2010-Nov-30, 8:50 am AEST
posted 2010-Nov-30, 8:50 am AEST

Zanthius writes...

But on my DHD – stock rom, I have this:
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

It depends on your browser. You may have set the agent string to "desktop", hence the above. Reset it to "Mobile/Android". UA string for DHD should be HTC_DesireHD_A9191

User #52985   1175 posts
Whirlpool Enthusiast
reference: whrl.pl/RcyLVx
posted 2010-Nov-30, 8:17 pm AEST
posted 2010-Nov-30, 8:17 pm AEST
O.P.

S-Murphy writes...

It depends on your browser. You may have set the agent string to "desktop"

Using stock default browser, and I've double checked that the string is set to android.

Well, changed it from android to iphone, then back again, now its showing correct... no idea what happened there. Now google is showing correctly too, it was defaulting to desktop mode all the time.

User #124298   82 posts
Forum Regular
reference: whrl.pl/RcyMcw
posted 2010-Nov-30, 9:12 pm AEST
posted 2010-Nov-30, 9:12 pm AEST

On my stock Desire HD from Voda

Mozilla/5.0 (Linux; U; Android 2.2; en-au; HTC_DesireHD_A9191 Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1

User #44330   93 posts
Forum Regular
reference: whrl.pl/RcyMkc
posted 2010-Nov-30, 9:38 pm AEST
posted 2010-Nov-30, 9:38 pm AEST

Stock DHD from Three

Mozilla/5.0 (Linux; U; Android 2.2; en-au; HTC_DesireHD_A9191 Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1