How to change fonts in Android without font management tool?

android_logoThis HOWTO talks about how to change the default fonts in Android mobile without any font management tool. The system fonts are available in /system/fonts directory. DroidSans.ttf is the main font used in most of the applications. Overwriting the fonts in this directory with your fonts will change the fonts in the Android mobile.

This involves two steps. One is to get the /system/fonts directory in read-write mode and another one is transferring your fonts to /system/fonts directory.

1. Make /system/fonts with read-write permission. Follow my previous post of Mounting /system partition in read-write mode in Android to get it done.

2. Backup the existing fonts and copy the new fonts using adb tool. Here # is the adb root prompt.

# mv /system/fonts/DroidSans.ttf /system/fonts/DroidSans_org.ttf

Repeat the above command for the fonts you are going to overwrite as a backup.

# exit

$ exit

C:\android-sdk-windows-1.1_r1\tools>adb push c:\downloads\fonts\myfont.ttf /system/fonts/DroidSans.ttf
1145 KB/s (0 bytes in 73292.000s)

The above command will copy the new fonts. Repeat this command for all the fonts you want to overwrite.

C:\android-sdk-windows-1.1_r1\tools>adbshell

$ su

# reboot

Once your mobile rebooted, you can see your shining new fonts.

WARNING: Default font is tailor made for Android mobile to fit perfectly with all the controls and screen. There is a chance of imperfectness in your font for Android. In this case, you can revert back any time by following the above process.

Enjoy!





More posts in this category


7 Comments on “How to change fonts in Android without font management tool?”

You can track this conversation through its atom feed.

  1. Nathan and his Open Ideals » links for 2009-11-19 says:

    [...] How to change fonts in Android? – Black God This HOWTO talks about how to change the default fonts in Android mobile. The system fonts are available in /system/fonts directory. DroidSans.ttf is the main font used in most of the applications. Overwriting the fonts in this directory with your fonts will change the fonts in the Android mobile. (tags: hack android) [...]

  2. Nathan and his Open Ideals » The Droid’s Dharma: Supporting the Tibetan Language on Android says:

    [...] to the authors and developer behind the following posts upon whose work this effort was based: karuppuswamy.com: How to change fonts in Android? karuppuswamy.com: Mounting /system partition in read-write mode in Android android-devs.com: Adding [...]

  3. Alvin B. says:

    Better way to do it if you’re rooted – the above skips a couple of things.

    1) You can simply do an adb “pull” to backup the font on the device. adb pull /system/fonts/DroidSans.ttf DroidSans.ttf

    Before the push, you must remount, or you’ll get an error. that’s done by:
    adb remount

    Then finally, rebooting can be done over adb too!
    adb reboot

  4. Anyone know how to get Arabic font support on this phone? - Droid Forum - Verizon Droid & the Motorola Droid Forum says:

    [...] is in the market, I think it was around 3 bucks though. There are manual instructions here: How to change fonts in Android? – Black God But I'm not sure that's what you are looking for. I haven't come across anything for adding [...]

  5. Ziv says:

    Hello, I have a problem changing the fonts.
    I rooted my device (HTC-Desire 0.80) successfully.
    when trying to change the files in /system/fonts I receive: ‘write: No space left on device.’
    I remounted the /system as read write.
    please advice.

    Thank you.

    1. Black God says:

      Ziv,
      Did you check the space on /system? try “df” command to know there is some space or not (I believe this command works in adb shell)

  6. Post your Android Desktop - Page 15 - Android Forums says:

    [...] you did, or stock to your device? Thanks. This is from a Nexus One, and the guide I used is at How to change fonts in Android without font management tool?. The font in these screen shots is DreamerOne, found at one of the free font sites. When picking a [...]

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

RSSSubscribe to Comments on this post



Educate Elevate!

Well said!

If you have to gain all these other "soft skills" or business skills in order to just be a regular software engineer, then why keep working for someone else? One of the main reasons for being an employee is because it's (supposed to be) both easier and safer than striking out on your own. Instead of long hours and having to wear many hats, you can just concentrate on your own skill, and leave the business stuff to the people who specialize in that. Anyone familiar with the idea of specialized labor should understand this. The downside is (supposed to be) your pay is lower than it could potentially be by owning and operating your own business. If today's corporations want their regular rank-and-file employees to wear many hats, be multi-talented, and have a lot of business skills, then they're simply not doing their own jobs correctly. - Grishnakh (Slashdot user)

Archives

Google Page Rank

Creative Commons License
Black God by KaruppuSwamy Thangaraj is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Based on a work at www.karuppuswamy.com.
Permissions beyond the scope of this license may be available here