View Single Post
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#1
Hi all,
Is there any method to change the user agent of the stock browser on N9 running PR1.2 to android or iOS?

The previous method of editing the grob file doesn't work anymore as the existing file can't be replaced via terminal or via ssh (permission denied even though logged in as devel-su).

All help is greatly appreciated.

Edit: the following solves the issue:

- first backup your grob file from /usr/bin to your MyDocs directory
- then download a modified grob file http://db.tt/ULDickkp
- install inception
- install opensh via inception (follow instructions from inception thread)
- in terminal enter devel-su
password (rootme)
opensh
cp -R /home/user/MyDocs/(path to modified grob) /usr/bin/

that's it you have android 4.0.1 as your UA now.

the above renders the stock browser unusable after a reboot.
to workaround do the following:
open terminal
devel-su
password (rootme)
opensh
cp -R /home/user/MyDocs/(path to original grob) /usr/bin/
cp -R /home/user/MyDocs/(path to modified grob) /usr/bin/

hope it works for you.

P.S. before replacing the original grob with my file do a check to see if the modified file is the exact same size as your original grob down to the singular byte (1,286,392 bytes)


Credit to legoman666 for showing the way to modify grob


---------------

04/12/12: For PR1.3 please refer to this thread or simply use Tweak M from N9QTweak.

For PR1.2 the grob above still works and can be made permanent by using refhashlist.pl from this thread

Last edited by thedead1440; 2012-12-04 at 06:17.