A few months ago the stock browser with my HTC android phone reported a "mobile" user agent string:
Mozilla/5.0 (Linux; Android 5.0.2; HTC6500LVW 4G Build/LRX22G) AppleWebKit/537.36 \ (KHTML, like Gecko) Version/4.0 Chrome 33.0.0.0 Mobile Safari/537.36
Auto update is enabled on this phone, and sometime over the last month that user agent string changed, it's now a "generic" string that no longer is recognized as being from a mobile device:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/33.0.0.0 Safari/534.24
This is the stock browser that comes with the phone. I also have Dolphin installed, and that still reports a mobile type device.
Anyone know why/how this happened and how to reverse it, get back a user agent string that reports the HTC device type? The browser is displaying pages as though they're desktop - very, very small features.
Hi,
Which version of the HTC ONE do you have?
Related
I was curious to see if there are different user-agents for the different firmwares on the G1 and if so can every please post what your user-agent string is? I'm running some tests and would love to be able to use all user-agents from Firefox to get these tests done ASAP.
Thanks in advance.
Just point your on device browser to:
http://whatsmyuseragent.com
Mozilla/5.0(Linux; U; Android 1.1; en-us Dream) ApplewebKit/525.10+ (KHTML, like Gecko) Version/3.0.4 Mobile Safari/523.12.2
192.168.0.61 - - [02/Feb/2009:22:00:16 +0100] "GET / HTTP/1.1" 200 56 "-" "Mozilla/5.0 (Linux; U; Android 1.1; en-us; dream) AppleWebKit/525.10+ (KHTML, like Gecko) Version/3.0.4 Mobile Safari/523.12.2"
The same User Agent is being transmitted by the Steel browser, indicating the same backend. Firmware is JF ADP1.1
Hello,
After a forum & google search I have found this solution (http://forum.xda-developers.com/showpost.php?p=3661716&postcount=49)
but apparently it does not work on 2.3.3
So I am asking here, is it possible to change the UAString to a custom string permanently on the nexus s?
(in my case, to this string: Mozilla/5.0 (Linux; U; Android 2.2.1; iw-il; GT-I9000 Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1)
thanks
Gonizahavy said:
Hello,
After a forum & google search I have found this solution (http://forum.xda-developers.com/showpost.php?p=3661716&postcount=49)
but apparently it does not work on 2.3.3
So I am asking here, is it possible to change the UAString to a custom string permanently on the nexus s?
(in my case, to this string: Mozilla/5.0 (Linux; U; Android 2.2.1; iw-il; GT-I9000 Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1)
thanks
--Goni Zahavy
Click to expand...
Click to collapse
in the browser type about:debug
then press menu, more, settings, go to the bottom and pick your user agent.
Thanks, but I already know about this method and it is not what I am looking for.
I need to change the user agent to the specific string I have mentioned in the first post.
(if you're asking why: because my network provider's website does not let me access his android features unless I am using a "supported phone".)
Gonizahavy said:
Thanks, but I already know about this method and it is not what I am looking for.
I need to change the user agent to the specific string I have mentioned in the first post.
(if you're asking why: because my network provider's website does not let me access his android features unless I am using a "supported phone".)
Click to expand...
Click to collapse
your only solution is to change the code yourself and compile a version of a ROM with the browser having that specific user agent string. or maybe you can convince the cyan team to add that one into it.
i dont know of any other easy ways you could do it.
Is it possible to recompile just the browser and not the complete ROM?
Hi,
'm experiencing a strange issue, 'm trying to work on a website routing script for mobile devices, and when I navigate it using my Xoom with Tiamat rom it is recognized as MacOSx instead of Android.
This is the UserAgent i'm able to log:
mozilla/5.0 (Linux; U; intel mac osx 10_6_3; 3.2; it-it; mz601 build/htj85b) AppleWebKit/534.13 (KHTML, like Gecko) Version/4.0 Safari/534.13
Is there a way to return to stock value for my Xoom?
uninstall the browser thru titianum, then drop the stock browser in /system/app.
should work, idid this in reverse before tiamat 2.3.0 came out
Hello, i was given the following code and i'm new to this so I cant figure out where to put it. I'm using Basic4Android and im trying to change the user agent for a webview, anyway... here's the code:
Code:
Mozilla/5.0 (Linux; U; Android 4.0.3; de-ch; HTC Sensation Build/IML74K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30
I know it probably sounds kinda noobish, i wanna know where to put that line of code...
any help would be greatly appreciated!!!
I'm using habit browser on my tablet and the User Agent PC string is giving me the old version of google search on the web.
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; ja-jp) AppleWebKit/533.16 (KHTML, like Gecko) Version/5.0 Safari/533.16
Anyone know what I need to change on this to get the newer version of google?