Change user agent string - Nexus One General

Hi everyone,
I like to watch "Swisscom Mobile TV" (a swiss service) wich is only accessable for branded phones (like the htc magic).The nexus one isn't branded phone.
So i read on a forum that i have to change my default_user_agent in the "com.android.browser_preferences.xml" to the HTC magic one to make it work. But it doesn't work.
And finally, i read that i have to modify the browsersettings.java to make the change effective (http://github.com/Wysie/android_pac.../src/com/android/browser/BrowserSettings.java)
And i really don't know how to do this, if someone can help me?
And sorry for my bad english

Enter the URL "about:debug" into the browser, confirm the address, nothing happens. now go into the browser preferences, scroll waaaay down. some debug settings showed up. one allows you to change the user agent
ps: search function

FloOGB said:
Enter the URL "about:debug" into the browser, confirm the address, nothing happens. now go into the browser preferences, scroll waaaay down. some debug settings showed up. one allows you to change the user agent
ps: search function
Click to expand...
Click to collapse
it's not really what i wanted, i already read, don't worry i know how to use the search function
I have a nexus one and i'd like to set my user agent to "Mozilla/5.0 (Linux; U; Android 1.6; de-ch; HTC Magic Build/DRC92) AppleWebKit/528.5+ (KHTML, like Gecko) Version/3.1.2 Mobile Safari/525.20.1" instead of being recognize as a nexus one user

Related

Change PIE user agent string dynamically

I know you can change the user agent string with registry settings, but that requires a reboot to take effect. Anyone know of a way to change it dynamically, or even better yet, just for specific sites?
My bank now traps you if you're not using an "approved" browser and tells you that you can't log on. Setting the user agent to IE 5 fixes that, but then of course, many sites don't recognize you as a mobile device. Including PPC Thoughts. So then you're stuck with the standard version of that site.
Hi Carlos...
Did you ever resolve this dynamic PIE User-Agent issue?
I have a great need to do the same thing.
Need ability to dynamically change PIE User-Agent
based on which site is about to be accessed and
then, if need be, change it BACK to default
again on-the-fly.

Vodafone Live! on HTC Touch HD ..

Actual article present on my blog here.
I posted earlier about how to access the Mobile TV on HTC Touch HD on my blog here. But later I found out that method as an inadequate one to continue in normal usage. So I did some more R&D at home around this and found the perfect method of doing so !
So here you go now.
My HTC Touch HD has, L26 v9.0 WWE ROM and you need following software before proceeding further.
* AdvancedConfig – for doing the configuration changes on Internet Explorer User agent
* PHM registry editor – for making the changes to rtsp default player
Vodafone Live! runs primarily on S60 based devices and I had an excellent experience of it running on my earlier Nokia N95. So you need to try and ‘fool’ the system at Vodafone to assume your phone as a N95 instead of Internet Explorer running on a Windows Mobile phone. To do so, you need to change the ‘mobile’ user agent string of your Internet Explore browser to the one used for N95. Use the following steps to change the user agent string.
1. Run AdvancedConfig
2. Expand Internet Explorer option
3. Click on User Agent custom base
4. Change the value as follows
Mozilla/5.0 (SymbianOS/9.2; U; Series60/3.1 NokiaN95/11.0.026; Profile MIDP-2.0 Configuration/CLDC-1.1) AppleWebKit/413 (KHTML, like Gecko) Safari/413
Once you are done with this, to ensure that the change has worked, Open the internet explorer browser and go to the website http://www.useragentstring.com. Your browser should recognize your device as N95 using Mozilla Safari browser.
If this happens, then you have passed the first step!
Now go to Start –> Settings –> Connections –> Connections –> Advanced –> Select networks
Select “Contract WAP” as the default network and you are good to go.
Just to test if this works.. try accessing http://live.vodafone.co.uk via your Internet Explorer browser (in a Mobile mode, not Desktop mode) and see if it works for you.
It worked for me and I hope it would work for you.
However, I had one issue with HTC Streaming Media that the rtsp link would not play. Hence I had to go and change the default RTSP player to WMPlayer.exe by modifying the registry.
If you too are having similar issue, then open PHM registry editor and access the key \HKCR\rtsp\Shell\Open\Command. Change the default value from StreamingPlayer.exe to WMPlayer.exe “%1” and you should be able to view the streaming from your Windows Media player.
Try the above steps and let me know how it goes…
What .. no reply? :-(
Hey!
So, I have done exactly as you said, but no luck... the User Agent does not change. To be mentioned: I am using Dutty's XTREME v2.1. Perhaps the User Agent Code is stored in another place, not where AdvancedConfig expects to find it...
xerxes1 said:
Hey!
So, I have done exactly as you said, but no luck... the User Agent does not change. To be mentioned: I am using Dutty's XTREME v2.1. Perhaps the User Agent Code is stored in another place, not where AdvancedConfig expects to find it...
Click to expand...
Click to collapse
Dunno much about Dutty's ROM. I had it earlier and the above process did not work for me there .. probably because the Internet Explorer browser in there has a hard coded useragentstring in browser.dll
I tried the above on L26 ROM and it worked .. in fact to my surprise ... !
Hello!
Just an update. Everything works fine with Opera Mobile 6.5; there it is easyer to change the User Agent String. I replaced it with the string you gave and ... everything is working fine. Couldn't convince IEM6 to work, though! Ah, well... the procedure how to change to a Custom Agent String in Opera is described here: "In opera:config, User Perfs there is a setting called “Custom User-Agent”.". Good luck!
One question: where can I find this browser.dll in my device? Oh, and the quality of the live stream from VodafoneLive is lousy!
Thanks ...
I dunno about the browser.dll, supposedly in the Windows folder somewhere. I suggest you not to try and play with that, otherwise you will corrupt your IE forever.
I tried on IE first and it worked, so never bothered to try on Opera. Kept opera separately and in tact for web browsing ..
Youtube video added on http://sollerthoughts.co.uk/2009/03/26/video-guide-for-accessing-vodafone-live-on-touch-hd/

User Agent (UAString) change

I have an unlocked Rogers Magic running on AT&T. I have not rooted the phone, thus I am running the default software/firmware.
The phone and default image work great, with one exception. According to tools like useragent.org, my browser UAString is coded to "en-ca" (vs. what I would like it to be: "en-us"). This causes some sites to redirect to Canadian content (e.g. snapfish.com redirects to snapfish.ca), and it is driving me nuts.
I'm aware of the "about:debug" trick for faking other (but, not the above referenced portion of the string) aspects the reported User Agent. Further, I'm aware that I could download an alternate browser like Steel.
The default image and browser would be just fine for me if I could simply change what amounts to 2 characters in the User Agent string. Any ideas on the least invasive (i.e. vs rooting, new images.. etc. etc.) way of doing this? THX!
Have you tried going to settings - locale & text - Select locale and changing the language to English (United States)?
QwertyGraves said:
I have an unlocked Rogers Magic running on AT&T. I have not rooted the phone, thus I am running the default software/firmware.
The phone and default image work great, with one exception. According to tools like useragent.org, my browser UAString is coded to "en-ca" (vs. what I would like it to be: "en-us"). This causes some sites to redirect to Canadian content (e.g. snapfish.com redirects to snapfish.ca), and it is driving me nuts.
I'm aware of the "about:debug" trick for faking other (but, not the above referenced portion of the string) aspects the reported User Agent. Further, I'm aware that I could download an alternate browser like Steel.
The default image and browser would be just fine for me if I could simply change what amounts to 2 characters in the User Agent string. Any ideas on the least invasive (i.e. vs rooting, new images.. etc. etc.) way of doing this? THX!
Click to expand...
Click to collapse
sorry my reply won't help since my knowledge of android is still infantile. my rogers unit (to run an att usa) is due tomorow and hacking won't begin until surfing the device stock for a few days before "rooting" and rom swaps.
question: how branded is your interface experience? from startup screen and through the dailer, is rogers prominent?
spamlucal said:
Have you tried going to settings - locale & text - Select locale and changing the language to English (United States)?
Click to expand...
Click to collapse
Yes... I looked at 'locale & text' settings ... My options are "English" or "French".... no option for "English (United States)"
lpasq said:
sorry my reply won't help since my knowledge of android is still infantile. my rogers unit (to run an att usa) is due tomorow and hacking won't begin until surfing the device stock for a few days before "rooting" and rom swaps.
question: how branded is your interface experience? from startup screen and through the dailer, is rogers prominent?
Click to expand...
Click to collapse
Branding is minimal ... Based on research, I understand that to get rid of the splash on boot, you will need to root etc etc... For me, it's nbd because it is very rare that I turn the phone completely off and on again ... There are a few Rogers 'apps' (really simple URL links) that you can't remove (again w/o rooting etc etc), but I just don't include them on my desktop
Any ideas on my User Agent issue?
The disadvantages of the original Rogers ROM are adding-up:
1) Canadian user Agent
2) No Voice Search (Ugh! this one of the things I flet made a Keyboard-less phone more tolerable)
3) No ability to see/edit Custom words for type-ahead (usually found under Menu - Settings - Locale & text - User dictionary)
Assuming Rogers ever fixes any of these and send in over the air updates... will I get those using and unlocked phone on AT&T?
Any love out there on my questions? THX!

Changing Opera User Agent

I've searched the forums but haven't been able to find this. I'm coming from an iphone and so far loving the hd2 so much more, only gripe is i miss the way mobile safari renders mobile pages like gizmodo or engadget, it fills the whole screen and is much quicker than the desktop version. I've found the iphone's user agent string but in opera:config i don't see where to enter it. Anyone know how to do this or even if i'm going about it the wrong way? Any help would be appreciated, Thanks.
opera:config
user prefs (scroll past 'user agent')
Custom User Agent
Brilliant!! Thank you so much
how ro change user agent for opera 10?

Facebook Mobile

Hello everyone, I wonder if there is another version of facebook.But I'm pretty sure he is not in.
I think everyone agrees with me that this version is totally horrible. Why Facebook is for Windows phone so poorly made? Compared to that of android or iphone! I am ready to create a group for those who are prepared to 0.5 dollars per person for the dévellopers trying to create a true version of facebook for windows phone like android and iphone! Personally i am ready to invest in another version of facebook
What do you think? Thank you everyone, I hope I was clear
Open Opera --> www.facebook.com
Why complain about a stupid app that is totally unnecessary?
skycamefalling said:
Open Opera --> www.facebook.com
Why complain about a stupid app that is totally unnecessary?
Click to expand...
Click to collapse
that's your opinion, this post is dedicated to people who often uses facebook, and for these people, use opera + facebook.com is not terrible
there is a never version of the facebook app that is available, for free, from ms marketplace. It's versioned 1.2 as opposed to v1.1 that comes preinstalled but i do agree with the other posters, Use opera, but you may need to change the user agent string in the newer versions to get the full site instead of the mobile one (i certainly had to)
M3PH said:
there is a never version of the facebook app that is available, for free, from ms marketplace. It's versioned 1.2 as opposed to v1.1 that comes preinstalled but i do agree with the other posters, Use opera, but you may need to change the user agent string in the newer versions to get the full site instead of the mobile one (i certainly had to)
Click to expand...
Click to collapse
Hi,
What did you change the user string agent to?
Thanks.
de39 said:
that's your opinion, this post is dedicated to people who often uses facebook, and for these people, use opera + facebook.com is not terrible
Click to expand...
Click to collapse
Then try touch.facebook.com or m.facebook.com
There is a facebook for everyone.
And yes, I use it quite often and, as you see, the facebook app misses some important options.
So simply add a shortcut in the Internet tab and everything is fine.
morpheus1982 said:
Hi,
What did you change the user string agent to?
Thanks.
Click to expand...
Click to collapse
To change the Custom User Agent field in Opera's config.
Open Opera and goto the address bar
Enter opera:config (make sure there is no http etc)
Scroll down to User Prefs and open the section
Scroll down to Custom User Agent
Remove everything in the box and enter the following string:
HTC_HD2_T8585 Opera/9.7 (Windows NT 5.1; U; en)
Then scroll to the bottom of the list and there will be a save button, click it.
That works for me, I think the important part for whether its mobile or desktop version is in the brackets...
Another vote for touch.facebook.com
Starfury said:
To change the Custom User Agent field in Opera's config.
Open Opera and goto the address bar
Enter opera:config (make sure there is no http etc)
Scroll down to User Prefs and open the section
Scroll down to Custom User Agent
Remove everything in the box and enter the following string:
HTC_HD2_T8585 Opera/9.7 (Windows NT 5.1; U; en)
Then scroll to the bottom of the list and there will be a save button, click it.
That works for me, I think the important part for whether its mobile or desktop version is in the brackets...
Click to expand...
Click to collapse
Thanks for the confirmation. My instinct told me to go back and check the "Leo Hints and Tips" thread to change it back from the Touch HD settings. So I was right. Funnily enough, the status box on the full FB website now works again!
Thanks.
Starfury said:
To change the Custom User Agent field in Opera's config.
Open Opera and goto the address bar
Enter opera:config (make sure there is no http etc)
Scroll down to User Prefs and open the section
Scroll down to Custom User Agent
Remove everything in the box and enter the following string:
HTC_HD2_T8585 Opera/9.7 (Windows NT 5.1; U; en)
Then scroll to the bottom of the list and there will be a save button, click it.
That works for me, I think the important part for whether its mobile or desktop version is in the brackets...
Click to expand...
Click to collapse
Mine is actually set to make my phone look like it's running IE8 on windows 7. Works for me.
jdwrrzmm said:
Another vote for touch.facebook.com
Click to expand...
Click to collapse
Aye, +1 for touch.facebook.com
Far, far better than the standard app. Just like the Android version I'm used to.

Categories

Resources