Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[GUIDE] Changing lockscreen and clock font.

OP seshmaru

3rd May 2011, 12:16 PM   |  #1  
OP Senior Member
Thanks Meter: 359
 
1,251 posts
Join Date:Joined: Aug 2009
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, 564 views)
Last edited by seshmaru; 4th May 2011 at 01:18 AM.
The Following 8 Users Say Thank You to seshmaru For This Useful Post: [ View ]
3rd May 2011, 07:27 PM   |  #2  
Senior Member
Thanks Meter: 16
 
145 posts
Join Date:Joined: Mar 2007
More
Don't forget to remount /system as rw ("mount -o rw,remount /system") so you can modify the font files.
3rd May 2011, 10:32 PM   |  #3  
OP Senior Member
Thanks Meter: 359
 
1,251 posts
Join Date:Joined: Aug 2009
Quote:
Originally Posted by N23

Don't forget to remount /system as rw ("mount -o rw,remount /system") so you can modify the font files.

adb remount is easier
4th May 2011, 01:13 AM   |  #4  
Senior Member
Thanks Meter: 1
 
102 posts
Join Date:Joined: Dec 2007
More
I cant find the asus pc sync. Here or on asus website
4th May 2011, 01:17 AM   |  #5  
OP Senior Member
Thanks Meter: 359
 
1,251 posts
Join Date:Joined: Aug 2009
Quote:
Originally Posted by mike6200

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: [ View ]
4th May 2011, 02:25 AM   |  #6  
OP Senior Member
Thanks Meter: 359
 
1,251 posts
Join Date:Joined: Aug 2009
Here's a screenshot of the clock as well.

5th May 2011, 07:16 AM   |  #7  
ithunter's Avatar
Senior Member
Flag Kathmandu
Thanks Meter: 223
 
1,252 posts
Join Date:Joined: Jul 2010
need this wallpaerp
please give me this wallpaper
5th May 2011, 10:20 AM   |  #8  
Junior Member
Flag Zürich
Thanks Meter: 17
 
26 posts
Join Date:Joined: Nov 2010
More
Quote:
Originally Posted by ithunter

please give me this wallpaper

https://dl-web.dropbox.com/get/iPad/...jpg?w=a2f6070e

Here! But i only have the iPad resolution...
5th May 2011, 02:57 PM   |  #9  
OP Senior Member
Thanks Meter: 359
 
1,251 posts
Join Date:Joined: Aug 2009
I forgot where I got it from sorry ):
6th May 2011, 10:13 PM   |  #10  
Junior Member
Thanks Meter: 1
 
18 posts
Join Date:Joined: Jun 2009
More
Quote:
Originally Posted by thegorde

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: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes