Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,771,243 Members 52,087 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE] Changing lockscreen and clock font.

Tip us?
 
seshmaru
Old
(Last edited by seshmaru; 4th May 2011 at 12:18 AM.)
#1  
Senior Member - OP
Thanks Meter 353
Posts: 1,251
Join Date: Aug 2009
Default [GUIDE] Changing lockscreen and clock font.

I just wanted to give you guys who aren't proficient with modding themselves a chance to change the lockscreen and taskbar clock font (which I personally don't like) to in this case match the rest of the honeycomb fonts.

The end result of this quick guide:



First you will need to have adb set up, if you don't know how to set up adb follow the guide http://theunlockr.com/2009/10/06/how...droid-devices/ to get adb up and running.

Requirements:
  • adb
  • Asus PC Sync Software link
  • USB Debugging turned on in settings
  • a .ttf font file (only required if you want another font than used in the guide)

Step one: pulling the original clock files for back up

We'll start simple, the idea here is that if you ever want to revert back to the original font, you will have a back up of the font just in case. Lucky for you I will however also be providing a back up of the original font files at the end of this post.
  1. Open up cmd (or terminal on OSX).
  2. navigate to your android-sdk\tools folder through the terminal (if you do not know how to do this check the adb set up guide linked earlier in this post).
  3. Now to allow modification of the system files we will enter the command "adb remount".
  4. Now we will pull the font files which are located within /system/fonts/ by entering these 3 commands: "adb pull /system/fonts/AndroidClock.ttf", "adb pull /system/fonts/AndroidClock_Highlight.ttf", "adb pull /system/fonts/AndroidClock_Solid.ttf"
  5. On your computer go to the android-sdk/tools folder and move the AndroidClock, AndroidClock_Solid and AndroidClock_Highlight to wherever you want to store these (these are the original back up) and make sure to remove them from the android-sdk\tools folder.

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

Step two: replacing the original clock font with your own

In this step we will pull the font used for all the other type in honeycomb called DroidSans and replace the original clock font files with this font as to fool honeycomb into thinking it is actually the original font.
  1. while having adb open, enter the command "adb pull /system/fonts/DroidSans.ttf".
  2. Now navigate to your android-sdk\tools folder again and make 3 copies of DroidSans.ttf in the tools folder.
  3. Name one of the files AndroidClock, name another AndroidClock_Solid, and name the last AndroidClock_Highlight.
  4. now go back to adb and enter these 3 commands: "adb push AndroidClock_Solid.ttf /system/fonts/", "adb push AndroidClock.ttf /system/fonts/", "adb push AndroidClock_Highlight.ttf /system/fonts/".
  5. Reboot your transformer and voila you're done.

If you want to replace the lockscreen font with your own font and not DroidSans, simply skip bullet point 1 and 2 of step 2 and copy your own .ttf font file to your android-sdk\tools folder and make 3 copies of that.

I hope you guys enjoy this guide, and if you have any suggestions as how to simplify this guide even further, feel free to post your suggestion.

EDIT: the original font files are in the .zip file!
Attached Files
File Type: zip Clock fonts.zip - [Click for QR Code] (4.2 KB, 550 views)
The Following 8 Users Say Thank You to seshmaru For This Useful Post: [ Click to Expand ]
 
N23
Old
#2  
Senior Member
Thanks Meter 16
Posts: 144
Join Date: Mar 2007
Don't forget to remount /system as rw ("mount -o rw,remount /system") so you can modify the font files.
 
seshmaru
Old
#3  
Senior Member - OP
Thanks Meter 353
Posts: 1,251
Join Date: Aug 2009
Quote:
Originally Posted by N23 View Post
Don't forget to remount /system as rw ("mount -o rw,remount /system") so you can modify the font files.
adb remount is easier
 
mike6200
Old
#4  
Senior Member
Thanks Meter 1
Posts: 102
Join Date: Dec 2007
I cant find the asus pc sync. Here or on asus website
 
seshmaru
Old
#5  
Senior Member - OP
Thanks Meter 353
Posts: 1,251
Join Date: Aug 2009
Quote:
Originally Posted by mike6200 View Post
I cant find the asus pc sync. Here or on asus website
Go to the transformer product page on the asus website then to the download tab (http://www.asus.com/Eee/Eee_Pad/Eee_...F101/#download), select your OS and it should be under utilities.
The Following User Says Thank You to seshmaru For This Useful Post: [ Click to Expand ]
 
seshmaru
Old
#6  
Senior Member - OP
Thanks Meter 353
Posts: 1,251
Join Date: Aug 2009
Here's a screenshot of the clock as well.

 
ithunter
Old
#7  
ithunter's Avatar
Senior Member
Thanks Meter 223
Posts: 1,244
Join Date: Jul 2010
Location: Kathmandu
Default need this wallpaerp

please give me this wallpaper
 
thegorde
Old
#8  
Junior Member
Thanks Meter 17
Posts: 26
Join Date: Nov 2010
Location: Zürich
Quote:
Originally Posted by ithunter View Post
please give me this wallpaper
https://dl-web.dropbox.com/get/iPad/...jpg?w=a2f6070e

Here! But i only have the iPad resolution...
 
seshmaru
Old
#9  
Senior Member - OP
Thanks Meter 353
Posts: 1,251
Join Date: Aug 2009
I forgot where I got it from sorry ):
 
HamSummit
Old
#10  
Junior Member
Thanks Meter 1
Posts: 18
Join Date: Jun 2009
Quote:
Originally Posted by thegorde View Post
https://dl-web.dropbox.com/get/iPad/...jpg?w=a2f6070e

Here! But i only have the iPad resolution...
is it possible to load it up somewhere else, cause I cant get it on Dropbox.. would be nice

The Following User Says Thank You to HamSummit For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes