Active Topics

 


Reply
Thread Tools
Posts: 1 | Thanked: 2 times | Joined on Sep 2012
#1
This annoyed me since getting an N9.. tried to change CSS everywhere but with no avail, so here is something - hope it helps others!

1/ Enable all developer privileges so you can SSH into your phone and get a devel-su shell
2/ Copy the file /usr/lib/fenixplugin/libfenixmeegotouch.so to your PC
3/ Open up the file in a hex editor
4/ Locate the text snippet and change as follows:

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><style type="text/css">body, p, li { font-family: NokiaPureTextLight; }</style></head><body>%1</body></html>
What we will do is change this to another string which EXACTLY matches the size of the previous string. This is done by trimming the first line of the HTML (the <!doctype .. crap). So our new string is:

Code:
<html><head><style type="text/css">body, p, li { font-family: NokiaPureTextLight; font-size: 12px; }</style></head><body>%1</body></html><!-- padding...                                                           -->
Of course you could change any other part of the style you want too..

5/ Copy the file back to your phone, then move to /usr/lib/fenixplugin/libfenixmeegotouch.so (take a backup of the original!)

6/ Locate fenix processes and kill them (ps -axwf | grep -i fenix and then kill <pid>) .. fenix should come back straight away but with a new PID

7/ Your changes should now have taken effect


Enjoy!
 

The Following 2 Users Say Thank You to polandspring For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 04:56.