Jump to content


Photo

[How To] Manually Change System (And Other) Fonts


  • Please log in to reply
8 replies to this topic

#1 c_live_lee

c_live_lee

    Member

  • Members
  • PipPip
  • 159 posts
  • Twitter:c_live_lee
  • Google+:116609432208837778358
  • LocationGeorgia

Posted 21 August 2012 - 10:52 AM

Hello all, I'll start this off with the usual...

If you break your $!#7, it ain't my fault! No one twisted your arm here. ;)


Anyway, I've noticed a few instances in these forums where someone will have questions about changing fonts so, I thought I would reprise my old

Sense 3.0/3.5 Thunderbolt tutorial from xda for those who would like to know the ins and outs of it. Of course, it's not necessary to go the manual route but, I think it's beneficial to anyone in the sense that it can give you a slightly more intimate understanding of how things work behind the scenes, AND it will allow you to show more consistency, when changing your fonts, than you would while using an app such as Rom Toolbox or the more specialized font changing apps.


A quick warning here, before you get started:

You SHALL find yourself in a bootloop if you fail to follow instructions!!

But, this is absolutely nothing to worry about, as long as you're prepared. Create a backup in SafeStrap prior to moving forward, if you haven't already. Should you find yourself in the bootloop, of which you were warned, there are merely two things you need to do:


1. (And this is HUGELY important) Shut the hell up! I hear you blaming me! I promise, YOU screwed up! lol


2. All you need to do is to perform an advanced restore from SafeStrap. Simply restore the System partition and don't worry about anything else. This should take less time than a full restore, which is unnecessary here.


So, here we go...


You'll need a root-enabled file explorer to do this. Root Explorer is my old stand-by but, Rom Toolbox also has one included. Another excellent option (coincidentally, a FREE option) is ES File Explorer. Any of these will work fine here.




To begin, I'll give you an idea of what you'll see in the "System/fonts" folder, as well as, offer an explanation for the purpose of the ones I know.

Posted Image

  • AndroidClock.ttf = Stock Digital Clock Widget & Dock/Desk Clock ("Clock" in App Drawer).
  • AndroidClock_Highlight.ttf = Lock Screen Clock.
  • AndroidClock_Solid.ttf = Unsure of its purpose.
  • Clockopia.ttf = Former Stock clock font but, seems unused by the system in Android 4.0+.
  • DroidSans.ttf = Apparently unused in Android 4.0+. System font from previous Android versions.
  • DroidSans-Bold = Apparently unused in Android 4.0+. Bold system font from previous Android versions.
  • Roboto-Regular.ttf = This is the one always referred to as the "System Font." It yields the most noticeable results and, is the one all the font changer apps alter. Affects almost all text on your device.
  • Roboto-Bold = The bold version of Roboto. Not seen everywhere but it is seen. Opening your Gmail app to an email in your inbox will allow you to see Regular and Bold in the same occurrence. The sender's name will be in bold and their address will be in Regular. I recommend changing if you have a bold version of your replacement font.
  • Roboto-Italic = Unsure of its frequency of use but, it's not often. However, if you have a matching Italic font, it can't hurt to use it.
  • Roboto-BoldItalic = Unsure of its frequency of use but, it's not often. However, if you have a matching Bold Italic font, it can't hurt to use it.
  • There are also various other languages of the Roboto font in the "System/fonts" folder. If a particular language is your default, I'm sure it's obvious what adjustments you would need to make with regards to font replacement.
Now that you have an idea of the fonts you may want to replace, you've reached a crossroads. If you ONLY feel the need to change Roboto-Regular, then you may want to consider aborting here and using one of the apps.
If however, you want more, this may be your thing. Here's what you do next. And it doesn't have to be done this way precisely but, I've found it to be much simpler than the alternatives.

1. You'll want to open your file explorer and navigate to the root of your SD-Ext card. Here you'll create a folder. Name it something you'll remember. It will contain copies of your personal fonts that you'll be wanting to use - just the ones which correspond to the System fonts you wish to be changed. Make the copies of your fonts and place them in this folder.

2. Re-name your fonts to PRECISELY match the names of their System font counterparts. P-R-E-C-I-S-E-L-Y! ;)
IMPORTANT NOTE: Android DOES NOT recognize fonts with the "otf" or "open type font" file extension. It ONLY recognizes fonts with the "ttf" or "Truetype Font" file extension. In my experience though, you may simply change "otf" to "ttf" while re-naming them and they'll work fine.

Just so we're clear, here's an example.




If you're replacing Roboto-Bold.ttf,

with a font named Neutraface-Bold.otf,

you don't JUST change it to "Roboto-Bold.otf". You change it to "Roboto-Bold.ttf"


3. Now that you have all your fonts re-named to match their System Font counterparts, it's time to multi-select them all and either copy or move/cut (COPY is safer).

4. Navigate to the System folder, which is ABOVE the root of your SD card in the hierarchy. Within this folder, you'll find the "fonts" folder. Make sure your file explorer is set to "R/W" or "Read/Write" rather than the "RO" or "Read Only" setting. Once you've done this, paste your fonts within the "fonts" folder. When it asks you, select the box that says something to the effect of "do this for all" then allow it to overwrite the existing files.

Posted Image


5. We're almost there now! Next thing to do is to change permissions (Usually a long-press option) for each of the pasted font files. Right now their permissions read something like this - "rwxr-x".
It needs to read like this - "rw-r-r".

Bringing up the permissions options will probably look like nine check boxes arranged neatly in a square or rectangular pattern. That's three rows of three boxes.


Posted Image

Currently it looks like this:
x= a check
o= unchecked

o o o
x x x
x o x

OWNER= No Permissions
GROUP= Read and Write and Execute
OTHERS= Read and Execute

It needs to look like this when you're done. And it needs to be done for EVERY file you pasted in this folder.

x x o
x o o
x o o

OWNER= Read and Write
GROUP= Read
OTHERS= Read

6. Reboot and enjoy your triumph over The Man!
  • humbleopus likes this

Posted Image


#2 Memnoch73

Memnoch73

    ~The Devil~

  • Smod
  • 5,016 posts
  • Google+:memnoch73@gmail.com
  • LocationRochester, NY
  • Current Device(s):Pixel 3XL

Posted 21 August 2012 - 12:05 PM

Nice work man... Lots of good info here and pretty straightforward.

I think I noticed a typo. In your example of what to change it to I think you used Roboto on the last line and your meant the new font name. :)
  • c_live_lee likes this

Bluesig3_zpsfd248ca4.png

 


#3 c_live_lee

c_live_lee

    Member

  • Members
  • PipPip
  • 159 posts
  • Twitter:c_live_lee
  • Google+:116609432208837778358
  • LocationGeorgia

Posted 21 August 2012 - 06:15 PM

Nice work man... Lots of good info here and pretty straightforward.

I think I noticed a typo. In your example of what to change it to I think you used Roboto on the last line and your meant the new font name. :)


Thanks man! I doubt it will see much action over here but, maybe it will help a couple of people. I double checked what you said and, it was right. I did go back and put some emphasis on "just" so I'm more clear about what I'm saying. That particular part was more about the file extension than the file name.

Posted Image


#4 Guest_24v_*

Guest_24v_*
  • Guests

Posted 21 August 2012 - 06:43 PM

This is great. Good work!
  • c_live_lee likes this

#5 humbleopus

humbleopus

    n00b

  • Members
  • Pip
  • 20 posts
  • LocationGeorgia

Posted 31 August 2012 - 07:10 AM

Hello all, I'll start this off with the usual...

If you break your $!#7, it ain't my fault! No one twisted your arm here. ;)


Anyway, I've noticed a few instances in these forums where someone will have questions about changing fonts so, I thought I would reprise my old

Sense 3.0/3.5 Thunderbolt tutorial from xda for those who would like to know the ins and outs of it. Of course, it's not necessary to go the manual route but, I think it's beneficial to anyone in the sense that it can give you a slightly more intimate understanding of how things work behind the scenes, AND it will allow you to show more consistency, when changing your fonts, than you would while using an app such as Rom Toolbox or the more specialized font changing apps.


A quick warning here, before you get started:

You SHALL find yourself in a bootloop if you fail to follow instructions!!

But, this is absolutely nothing to worry about, as long as you're prepared. Create a backup in SafeStrap prior to moving forward, if you haven't already. Should you find yourself in the bootloop, of which you were warned, there are merely two things you need to do:


1. (And this is HUGELY important) Shut the hell up! I hear you blaming me! I promise, YOU screwed up! lol


2. All you need to do is to perform an advanced restore from SafeStrap. Simply restore the System partition and don't worry about anything else. This should take less time than a full restore, which is unnecessary here.


So, here we go...


You'll need a root-enabled file explorer to do this. Root Explorer is my old stand-by but, Rom Toolbox also has one included. Another excellent option (coincidentally, a FREE option) is ES File Explorer. Any of these will work fine here.




To begin, I'll give you an idea of what you'll see in the "System/fonts" folder, as well as, offer an explanation for the purpose of the ones I know.


Posted Image

  • AndroidClock.ttf = Stock Digital Clock Widget & Dock/Desk Clock ("Clock" in App Drawer).
  • AndroidClock_Highlight.ttf = Lock Screen Clock.
  • AndroidClock_Solid.ttf = Unsure of its purpose.
  • Clockopia.ttf = Former Stock clock font but, seems unused by the system in Android 4.0+.
  • DroidSans.ttf = Apparently unused in Android 4.0+. System font from previous Android versions.
  • DroidSans-Bold = Apparently unused in Android 4.0+. Bold system font from previous Android versions.
  • Roboto-Regular.ttf = This is the one always referred to as the "System Font." It yields the most noticeable results and, is the one all the font changer apps alter. Affects almost all text on your device.
  • Roboto-Bold = The bold version of Roboto. Not seen everywhere but it is seen. Opening your Gmail app to an email in your inbox will allow you to see Regular and Bold in the same occurrence. The sender's name will be in bold and their address will be in Regular. I recommend changing if you have a bold version of your replacement font.
  • Roboto-Italic = Unsure of its frequency of use but, it's not often. However, if you have a matching Italic font, it can't hurt to use it.
  • Roboto-BoldItalic = Unsure of its frequency of use but, it's not often. However, if you have a matching Bold Italic font, it can't hurt to use it.
  • There are also various other languages of the Roboto font in the "System/fonts" folder. If a particular language is your default, I'm sure it's obvious what adjustments you would need to make with regards to font replacement.
Now that you have an idea of the fonts you may want to replace, you've reached a crossroads. If you ONLY feel the need to change Roboto-Regular, then you may want to consider aborting here and using one of the apps.
If however, you want more, this may be your thing. Here's what you do next. And it doesn't have to be done this way precisely but, I've found it to be much simpler than the alternatives.

1. You'll want to open your file explorer and navigate to the root of your SD-Ext card. Here you'll create a folder. Name it something you'll remember. It will contain copies of your personal fonts that you'll be wanting to use - just the ones which correspond to the System fonts you wish to be changed. Make the copies of your fonts and place them in this folder.

2. Re-name your fonts to PRECISELY match the names of their System font counterparts. P-R-E-C-I-S-E-L-Y! ;)
IMPORTANT NOTE: Android DOES NOT recognize fonts with the "otf" or "open type font" file extension. It ONLY recognizes fonts with the "ttf" or "Truetype Font" file extension. In my experience though, you may simply change "otf" to "ttf" while re-naming them and they'll work fine.

Just so we're clear, here's an example.




If you're replacing Roboto-Bold.ttf,

with a font named Neutraface-Bold.otf,

you don't JUST change it to "Roboto-Bold.otf". You change it to "Roboto-Bold.ttf"


3. Now that you have all your fonts re-named to match their System Font counterparts, it's time to multi-select them all and either copy or move/cut (COPY is safer).

4. Navigate to the System folder, which is ABOVE the root of your SD card in the hierarchy. Within this folder, you'll find the "fonts" folder. Make sure your file explorer is set to "R/W" or "Read/Write" rather than the "RO" or "Read Only" setting. Once you've done this, paste your fonts within the "fonts" folder. When it asks you, select the box that says something to the effect of "do this for all" then allow it to overwrite the existing files.


Posted Image


5. We're almost there now! Next thing to do is to change permissions (Usually a long-press option) for each of the pasted font files. Right now their permissions read something like this - "rwxr-x".
It needs to read like this - "rw-r-r".

Bringing up the permissions options will probably look like nine check boxes arranged neatly in a square or rectangular pattern. That's three rows of three boxes.


Posted Image

Currently it looks like this:
x= a check
o= unchecked

o o o
x x x
x o x

OWNER= No Permissions
GROUP= Read and Write and Execute
OTHERS= Read and Execute

It needs to look like this when you're done. And it needs to be done for EVERY file you pasted in this folder.

x x o
x o o
x o o

OWNER= Read and Write
GROUP= Read
OTHERS= Read

6. Reboot and enjoy your triumph over The Man!


THanks for the info. I've been trying to chnge the stock fonts on my phone and only gettng a bootloop in ROM Toolbox. Have to give this a shot.
  • c_live_lee likes this
Ain't nothin' but a simple man... with a really cool phone

#6 lostsoul01

lostsoul01

    Member

  • Members
  • PipPip
  • 53 posts
  • LocationFrom the dark shadows of Texas
  • Current Device(s):OG RAZR MAXX

Posted 17 November 2012 - 09:10 PM

Nice layout!!! Love the endless font possibilities.. better than RTB app font installer. THANK YOU.
  • c_live_lee likes this

#7 lostsoul01

lostsoul01

    Member

  • Members
  • PipPip
  • 53 posts
  • LocationFrom the dark shadows of Texas
  • Current Device(s):OG RAZR MAXX

Posted 23 November 2012 - 09:52 AM

How can I change my font colors? I followed your tutorial above and now I want to change the color to red on new fonts. Is that possible?

#8 c_live_lee

c_live_lee

    Member

  • Members
  • PipPip
  • 159 posts
  • Twitter:c_live_lee
  • Google+:116609432208837778358
  • LocationGeorgia

Posted 01 December 2012 - 03:11 PM

How can I change my font colors? I followed your tutorial above and now I want to change the color to red on new fonts. Is that possible?


If there is any way to change the front colors, I have yet to discover such a method. Sorry I couldn't help you with that. Glad this tutorial was beneficial to you though! :)

Sent from my XT912 using Tapatalk 2

Posted Image


#9 usmcamgrimm

usmcamgrimm

    Berserker

  • Developer
  • 958 posts
  • Twitter:@usmcamgrimm
  • LocationMassillon, OH
  • Current Device(s):VZW G3

Posted 18 December 2012 - 04:43 PM

How can I change my font colors? I followed your tutorial above and now I want to change the color to red on new fonts. Is that possible?


There are xml files titled "colors" or something like that you can use to change your font colors.

Sent from my DROID RAZR using Tapatalk 2
  • c_live_lee likes this

  Exodus-Sig%204.png





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users