[ICS]Font Change Guide - Galaxy S II General

Hi All,
This is a small guide or may just information to most devs out there.. But this is for people who wanna mess around with thier fonts..
But they end up using Font Changer or Font Installer or ROM Toolbox to change the fonts.. And still end up stuck with Roboto Bold coming here and there..
And changing would cause a bootloop in ICS (Trust me. .Nandroid backup will be ur friend once you start changing the Roboto Bold Font)
So i googled and saw this RootzWiki thread..
[How to] Make Font Packs that Work on ICS/JB
Well essentially after reading that thread I found out that in ICS.. The Fonts actually read meta data unlike in GB.. So that why changing Roboto Bold/Bold Italic/Italic Fonts give a bootloop.. We need to change the fonts at metadata level for ICS to accept it..
So in order to over come this.. We need to change the metadata of the Font using any Font Changer App..
Here are the steps from the Rootzwiki thread in a nutshell
1.) Open the .ttf file
2.) Go to Format > Settings
3.) Under the Classification tab, make sure the weight is correct
Normal(Regular) for Regular and Italic
Bold for Bold and Bold Italic
4.) Make sure the Font Design (Windows) and Mac Style are correct
Regular for Regular,
Bold for Bold,
Italic for Italic,
Bold AND Italic for Bold Italic
5.) Click OK.
6.) Go to Format > Naming.
Make sure all the fonts you want to use use the same Font Family ("Roboto" in the case of Roboto, etc).
Make sure Full Font Name and Postscript Name are correct ("Roboto Regular" for Roboto Regular, etc., "Roboto-Regular" etc. for Postscript Name)
And after that is done. We just need to create a folder called system and then we need to create another Folder named fonts and place the fonts that you have edited under these names
Roboto-Bold.ttf
Roboto-BoldItalic.ttf
Roboto-Italic.ttf
Roboto-Regular.ttf
So its like Normal font in Regular, Bold font in Bold, So on and so forth..
Put the "system" folder in the same folder as your META-INF folder (use an updater-script made for ICS).
Zip up the META-INF and system folders into a normal ZIP file.
Flash the zip using CWM..
And Viola.. You're new font is here..
For some fonts you get a Symbol '[]' like this in some places.. The guy in the rootzwiki thread also gave an answer to this (Awesome Guy ).. Its cause of the glyph for .notdef. It will show up in places where the item gets abbreviated.
So once you're making mods for your fonts.. Make sure to remove that glyph. (For better user experience)
And there you go.. You're own custom fonts.. Entirely.. :good::good:
Credits to ThugEsquire from RootzWiki
EDIT:: If you want to modify the clock that comes in the lockscreen. then you should modify the AndroidClock*.ttf.
But make sure you fonts are proper, otherwise it will cause a distortion in the lockscreen. Specially if you use AOKP and have the carrirer label.
I attached one of my Font Mods. Its only normal font without Italics. So if you like Italics, then i suggest you dont use this.
The Font is Romance Fatal Serif
If you found this post helpful.. Please hit thanks

Related

REQUESTING HELP Editing and creating NEW flipfont APKs

I have been working on this issue for most of the day over in the Vibrant forums.
I am posting here in hopes of getting someone who knows more about apk editing and fonts then I do to help out.
Link to the post on the XDA Vibrant forum here
Please post your response there. Once the issue is solved I will repost a walk-through on all Galaxy S forums.
Here is the start of my thread, please read the link to see the progress.
I am aware that there are other ways to edit the fonts on our phone, by replacing renaming the default font. This is NOT what I would like to accomplish.
Since the Galaxy S is the first android phone to use Flipfont, I think we should take advantage of it. It gives us a nice preview of the font in the built in menu option and is thus superior to the other methods.
I originally purchased the Bauhaus font from the market and made a backup of it through ASTRO. After pulling the file from my phone and putting it on the computer I started editing the file with Apk Manager 4.8 found here
Steps preformed
Copied original apk into place-apk-here-for-modding folder
Run script.bat and choose option 9 ***this maybe where the issue is as I may need to choose option 10 and include the dependancy if there is one for the flipfont apk.
replace bauhaus.ttf with a .ttf font of my choosing
edit all XML, yml and smali files to include the font name or font.ttf depending on the entry in the original file *** I did not change any of the other coding so again this maybe where the problem is, as I may need to change something else to have the font act properly.
Edit the last folder name in the smali folder tree from bauhaus to the name of my font
Replace font with custom font and replace the preview image with my own
Compile apk
Sign apk
Rename apk
install apk on my phone
After putting the apk on my phone and installing the file, it shows up as expected in settings>Sound and Display>Font style. The font thumbnail shows up properly as does the font preview. The preview does show up a little larger then the other fonts and may be a sign that the font is not optimized properly or that I missed something in the XML.
After applying the font and restarting, the phone is extremely slow, freezing quite often and the font does not show up, it shows the default font instead.
If anyone that knows more about XML or apk editing/creation can help it would be great.
I have included the edited font apk if you would like to download it and run it through Apk Manager 4.8. If you want to try it with the bauhaus or one of the other fonts you will need to buy it from the market and back it up. (trying not to break any rules here.)
[EDIT][More info] Ok I took a closer look at the font that came with the Bauhaus akp
In the discription of the font it list:
OpenType Layout, Digitally Signed, TrueType Outlines
I know that opentype is a new format and that alot of the fonts for OpenType that I find are made by Monotype, the same people that make the fonts available for download. I think this may have something to do with it or maybe Im just grasping. :ºp
Any font guys out there have any info on this?
CAUTION THE FOLLOWING FILE IS NOT MEANT FOR USE AND WILL CAUSE YOUR PHONE TO RUN SLOW!!!
Download Font APK

REQUESTING HELP Editing and creating NEW flipfont APKs

I have been working on this issue for most of the day over in the Vibrant forums.
I am posting here in hopes of getting someone who knows more about apk editing and fonts then I do to help out.
Link to the post on the XDA Vibrant forum here
Please post your response there. Once the issue is solved I will repost a walk-through on all Galaxy S forums.
Here is the start of my thread, please read the link to see the progress.
I am aware that there are other ways to edit the fonts on our phone, by replacing renaming the default font. This is NOT what I would like to accomplish.
Since the Galaxy S is the first android phone to use Flipfont, I think we should take advantage of it. It gives us a nice preview of the font in the built in menu option and is thus superior to the other methods.
I originally purchased the Bauhaus font from the market and made a backup of it through ASTRO. After pulling the file from my phone and putting it on the computer I started editing the file with Apk Manager 4.8 found here
Steps preformed
Copied original apk into place-apk-here-for-modding folder
Run script.bat and choose option 9 ***this maybe where the issue is as I may need to choose option 10 and include the dependancy if there is one for the flipfont apk.
replace bauhaus.ttf with a .ttf font of my choosing
edit all XML, yml and smali files to include the font name or font.ttf depending on the entry in the original file *** I did not change any of the other coding so again this maybe where the problem is, as I may need to change something else to have the font act properly.
Edit the last folder name in the smali folder tree from bauhaus to the name of my font
Replace font with custom font and replace the preview image with my own
Compile apk
Sign apk
Rename apk
install apk on my phone
After putting the apk on my phone and installing the file, it shows up as expected in settings>Sound and Display>Font style. The font thumbnail shows up properly as does the font preview. The preview does show up a little larger then the other fonts and may be a sign that the font is not optimized properly or that I missed something in the XML.
After applying the font and restarting, the phone is extremely slow, freezing quite often and the font does not show up, it shows the default font instead.
If anyone that knows more about XML or apk editing/creation can help it would be great.
I have included the edited font apk if you would like to download it and run it through Apk Manager 4.8. If you want to try it with the bauhaus or one of the other fonts you will need to buy it from the market and back it up. (trying not to break any rules here.)
[EDIT][More info] Ok I took a closer look at the font that came with the Bauhaus akp
In the discription of the font it list:
OpenType Layout, Digitally Signed, TrueType Outlines
I know that opentype is a new format and that alot of the fonts for OpenType that I find are made by Monotype, the same people that make the fonts available for download. I think this may have something to do with it or maybe Im just grasping. :ºp
Any font guys out there have any info on this?
CAUTION THE FOLLOWING FILE IS NOT MEANT FOR USE AND WILL CAUSE YOUR PHONE TO RUN SLOW!!!
Download Font APK
You only can use .ttf (true type font) any other type will not work,if you have a font u want to use but is not in .ttf then you need to convert it to .ttf, btw i prefer the Type Fresh app to manage and change my fonts is easier than the method you described.
Also, make sure the font has a full latin library. I learned the hard way from the TypeFresh app (which is a way better solution IMO). In its instructions which I only read the second time, one font (i believe its called DroidSansFallback.ttf) needs to have a COMPLETE set, including latin, I believe for certain coding going on somewhere. I bricked my phone within two hours of rooting it. Took three to get it back. (Backup people!)
Anyways, now I use TypeFresh, it gives you options on which system font to replace, and I never replace that one.
Hope this helps.

[HOW-TO] Change Galaxy Tab system font without FontFlip

Being one to never stop changing the look of any of my Android devices I wondered how to change the system font on my Tab. First result was the ability right within the system settings app itself, but more clicking on "Get more fonts" ended up with only pay options. My Tab is rooted with z4 so I though why not see if I can just swap out the files. A simple install of Root Explorer and some file renaming later I had a new font installed on my Tab that even sticks through reboot. Here is how I did it (quite simple really):
Requirements:
- A Galaxy Tab of course, rooted
- Root Explorer, paid market app or other means if you are so inclined
- Your new font in TrueType format on your sdcard with the needed ttf's for regular and bold (eg YourFont-R.ttf and YourFont-B.ttf, etc)
Steps:
1 - Using root explorer, navigate to /system/font and rename DroidSans.ttf and DroidSans-Bold.ttf (I just append ORIG to them)
2 - Still in that directory click the button "Mount as r/w" just under the notify bar on your screen
3 - Navigate back to where your new font is and copy the regular and bold ttf files to /system/fonts
4 - Rename each ttf file as DroidSans.ttf for regular fonts and DroidSans-Bold.ttf for bold fonts
5 - Go to Settings > Display > Set Font and set if to Default
NOTE If Default is already your selected font, select another font and apply then reselect Default and apply and your new font should be visible.
Your new font should now be used as the on screen display font. For reference my Tab is a Bell version and I used the attached font (Ubuntu font) as my new font.
Hope this helps some people.
Cheers
Thanks! Will try this out on my Sprint Tab later.
Any luck finding a way to do it without actually replacing the font? Surely if it allows market download of fonts then you can just add new ones and update some list somewhere...
Sent from my GT-P1000 using Tapatalk
alias_neo said:
Any luck finding a way to do it without actually replacing the font? Surely if it allows market download of fonts then you can just add new ones and update some list somewhere...
Sent from my GT-P1000 using Tapatalk
Click to expand...
Click to collapse
I didn't fully replace the original font as I renamed the original files. This is the way I was able to use the built in font switching tool without spending money on font packs. Only drawback for me is that the font list will only ever be 2 fonts for me, Default and Helvetica Neue Something. I originally changed it as I really like the Ubuntu font on my Desire and wanted to sue it on the Tab.
Or just grab any font apk from this thread!
alias_neo said:
Any luck finding a way to do it without actually replacing the font? Surely if it allows market download of fonts then you can just add new ones and update some list somewhere...
Sent from my GT-P1000 using Tapatalk
Click to expand...
Click to collapse
Create a new folder on sdcard (fonts) under that folder create 2 more 1) original 2) custom fonts or (what ever fonts u r using) go back to system/fonts and copy the original and save them on sdcard/original now download the fonts to (custom folder created)
Copy the fonts go to system/fonts and paste (Before you do this write the permissions )
After you paste change the permissions and you are done
Now go to display / fonts and/ change them to default
Happy fonting lol
bluemonde said:
Create a new folder on sdcard (fonts) under that folder create 2 more 1) original 2) custom fonts or (what ever fonts u r using) go back to system/fonts and copy the original and save them on sdcard/original now download the fonts to (custom folder created)
Copy the fonts go to system/fonts and paste (Before you do this write the permissions )
After you paste change the permissions and you are done
Now go to display / fonts and/ change them to default
Happy fonting lol
Click to expand...
Click to collapse
I'm not sure I follow your explanation here. Is there a way to just add fonts to the font folder and they show up?
Uprightmusic said:
I'm not sure I follow your explanation here. Is there a way to just add fonts to the font folder and they show up?
Click to expand...
Click to collapse
Hi the option to paste the font folder seems lost when I am opening the sd card ? Which program are you using to paste it into? Also I tried the first suggestion, renaming the fonts, but it says ...system file is read only? Your help is much appreciated.
Many thanks Devarsi
Hi the option to paste the font folder seems lost when I am opening the sd card ? Which program are you using to paste it into? Also I tried the first suggestion, renaming the fonts, but it says ...system file is read only? Your help is much appreciated.
Many thanks Devarsi
[/B]
bluemonde said:
Create a new folder on sdcard (fonts) under that folder create 2 more 1) original 2) custom fonts or (what ever fonts u r using) go back to system/fonts and copy the original and save them on sdcard/original now download the fonts to (custom folder created)
Copy the fonts go to system/fonts and paste (Before you do this write the permissions )
After you paste change the permissions and you are done
Now go to display / fonts and/ change them to default
Happy fonting lol
Click to expand...
Click to collapse
DAMN I forgot to change back the permission and now my Tab is looping boot.. AARRGGHHH
heavylildude said:
DAMN I forgot to change back the permission and now my Tab is looping boot.. AARRGGHHH
Click to expand...
Click to collapse
Boot into recovery and reflash your rom/kernel.
Tray this one, it's simple
using apk font
http://forum.xda-developers.com/showpost.php?p=12927086&postcount=6

[Q] root - change font jelly bean 4.2

Which app you recommend to do this?
Anyone??
I'd like to know as well
Sent from my Nexus 4 using xda premium
Font Installer, which is also part of ROM toolkit, has always worked for me to change system fonts.
https://play.google.com/store/apps/details?id=com.jrummy.liberty.toolbox&hl=en
Edit - It's come to my attention the above method is not ideal, yet.
Phil
^ thank God I made a nandroid back up right before I did it... Caused the phone to no longer boot, even after wiping caches
Sent from my Nexus 4 using xda premium
Nooo don't use any of the font installer app(s) just yet! most, if not all of them would cause your phone to be stuck in " X " loading animation.
I had to learn it the hard way, lol. ( I forgot to make a nandroid backup beforehand. >_< )
Good to know if you guys find any app that works please let know!
You can install fonts manually in the system/fonts folder but it takes time...
you need to find a font that has all the different font "states" (light, bold,
italic, condensed/ all combinations of these) and should be in .ttf format
*I used the Ubuntu font family*
So here's what you need to do:
1. Make a nandroid ! FIRST !
2. Download your font
3. Use a root browser and find system/fonts
4. Locate the main fonts the system uses (ICS & JB use roboto)
5. Write down all the font state names that begin with roboto (ie roboto-italic)
6. Rename the font states from your downloaded font to the corresponding roboto
font states (ie font-italic to roboto-italic) *Capitalization Matters*
7. Paste all renamed font states in system/fonts
8. Set permissions for each pasted font state (644 / rw-r--r--)
9. Boot into recovery and wipe cache/dalvik & fix permissions
10. Reboot and enjoy!
This method will use your font for most of the text in your phone although
there will be some apps that have their own fonts and/or uses a font from the
system that (currently) cannot be changed.
I want to use zekton font but I think it is just regular. Help
Where did you download ubuntu from?
blazefury said:
You can install fonts manually in the system/fonts folder but it takes time...
you need to find a font that has all the different font "states" (light, bold,
italic, condensed/ all combinations of these) and should be in .ttf format
*I used the Ubuntu font family*
So here's what you need to do:
1. Make a nandroid ! FIRST !
2. Download your font
3. Use a root browser and find system/fonts
4. Locate the main fonts the system uses (ICS & JB use roboto)
5. Write down all the font state names that begin with roboto (ie roboto-italic)
6. Rename the font states from your downloaded font to the corresponding roboto
font states (ie font-italic to roboto-italic) *Capitalization Matters*
7. Paste all renamed font states in system/fonts
8. Set permissions for each pasted font state (644 / rw-r--r--)
9. Boot into recovery and wipe cache/dalvik & fix permissions
10. Reboot and enjoy!
This method will use your font for most of the text in your phone although
there will be some apps that have their own fonts and/or uses a font from the
system that (currently) cannot be changed.
Click to expand...
Click to collapse
Where did you download ubuntu from? I have them in my ICS CM9 ROM.
You helped me get rid of the ugly, boring JB system font!
blazefury said:
You can install fonts manually in the system/fonts folder but it takes time...
you need to find a font that has all the different font "states" (light, bold,
italic, condensed/ all combinations of these) and should be in .ttf format
*I used the Ubuntu font family*
So here's what you need to do:
1. Make a nandroid ! FIRST !
2. Download your font
3. Use a root browser and find system/fonts
4. Locate the main fonts the system uses (ICS & JB use roboto)
5. Write down all the font state names that begin with roboto (ie roboto-italic)
6. Rename the font states from your downloaded font to the corresponding roboto
font states (ie font-italic to roboto-italic) *Capitalization Matters*
7. Paste all renamed font states in system/fonts
8. Set permissions for each pasted font state (644 / rw-r--r--)
9. Boot into recovery and wipe cache/dalvik & fix permissions
10. Reboot and enjoy!
This method will use your font for most of the text in your phone although
there will be some apps that have their own fonts and/or uses a font from the
system that (currently) cannot be changed.
Click to expand...
Click to collapse
Thanks!
I used the above above method in my Note's PA 2.99 installation to get my favorite system font (Rehotalko) in. Worked like a charm, and I didn't have to wipe any caches. Also, I did the permissions on the fonts after reboot, using Root Explorer. No hiccoughs at all.
It was a little fiddly editing 12 fonts to match the Roboto set so their properties would be correct (see http://forum.xda-developers.com/showthread.php?t=1952886 ), but it was worth it!:good::laugh:

How to change fonts on OOS 10?

hello!
the title says it all,
how can I change the font in latest oos 10?
i mean custom fonts, not just those two.
back in oos 9, I used type face font changer, it was working flawlessly, after oos 10 it's not working anymore.
I've also tried font changer module from magisk, but the dev deleted it and it was a server-based module, so I can't even use previous builds.
so.. can anyone suggest a working way to change the default font to a one of my choice?
Hi install this via the play store zfont https://play.google.com/store/apps/details?id=com.mgngoe.zfont you can create your own magisk module with your font I put a link http://dl.free.fr/k6oqzkanw to my font to install via magisk then restart then go to the fonts of the oneplus 5 and choose Noto Sans that's it
Ssmiles said:
Hi install this via the play store zfont https://play.google.com/store/apps/details?id=com.mgngoe.zfont you can create your own magisk module with your font I put a link http://dl.free.fr/k6oqzkanw to my font to install via magisk then restart then go to the fonts of the oneplus 5 and choose Noto Sans that's it
Click to expand...
Click to collapse
thanks man!
can u please guide me through this?
i mean a step by step, I don't want to brick my device doing this x)
which font do you want?
Ssmiles said:
which font do you want?
Click to expand...
Click to collapse
I've managed to successfully create my magisk font!
btw, when selecting what type of font to change, should I just use "Regular" or all?
cuz when I used regular, i got some squares on "Bold" font type.
what do you suggest?
oh man we use same accent color!
Here look this is my current font and look at the tutorial in the folder a .txt file
PS: Make a backup of your original fonts folder before http://dl.free.fr/oga3ekP2E
My pack 9 fonts: http://dl.free.fr/bb6mbmeCi
Awesome work Ssmiles! Wondering if you could walk me thru how you made all the different .tff files? I had font changer module, but it's been taken down.... I have some knowledge in rooting and such, but haven't fooled around in a while. Just wondering about the font I want to use, can I just use the one .tff file and rename it all of the roboto*.tff files I need? Thanks in advance!
Op7
Rooted
Magisk
10.3.7 GM57AA
Att
Sent from my GM1900 using Tapatalk
Hi, back up your original fonts folder in / system / fonts before you copy paste the 18 files of each font and overwrite the old files to restore your original fonts folder the day you want to go back! I use ChocoCooky or Galette or Jolly as a font.
Extract the compressed file then open it and select all the fonts then copy them then paste them in / system / fonts / then restart the phone then go to settings then personalization then fonts and choose the 1st Noto Sans font and validate that's it.
Screenshots : Font ChocoCooky
Ssmiles said:
Hi, back up your original fonts folder in / system / fonts before you copy paste the 18 files of each font and overwrite the old files to restore your original fonts folder the day you want to go back! I use ChocoCooky or Galette or Jolly as a font.
Extract the compressed file then open it and select all the fonts then copy them then paste them in / system / fonts / then restart the phone then go to settings then personalization then fonts and choose the 1st Noto Sans font and validate that's it.
Screenshots : Font ChocoCooky
Click to expand...
Click to collapse
Yes, I got that much. I would like to use either rosemary or f*ckbeans font. I'm wondering how to make all 18 files from either rosemary.tff or f*ckbeans.tff. can I use one of those to make the 18 files? Thanks again buddy!
Sent from my GM1900 using Tapatalk
► SYSTEM FONTS • Roboto-Regular.ttf: This font is the most widely used. It can be found almost everywhere, from application labels to menu texts. • Roboto-Bold.ttf: This is the "bold" version of Roboto. Unlike the classic version, we see it very little. • Roboto-Italic.ttf: This is the "italic" version of Roboto. • Roboto-BoldItalic.ttf: Some “bold” and “italics” from Roboto. All of these fonts are stored in the / system / fonts folder. For starters, it's best to tackle the Roboto-Regular.ttf file as this is the most common font. The general idea is to replace the system font files with new font files while keeping the same file names as the originals. The font characters in the file are different, but the name of the file is exactly the same. For example, if you want to use a TTF font file named Times_New_Roman.ttf instead of Roboto-Regular.ttf, you will need to rename Times_New_Roman.ttf to Roboto-Regular.ttf and then copy the renamed file to / system / fonts. IMPORTANT: always make a system or original file backup before any manipulation. If something goes wrong, you can always go back. Renaming the original file by adding the .bak extension will make it usable, it stays in the same directory and you can remove this extension to make it operational again.
---------- Post added at 07:22 AM ---------- Previous post was at 06:59 AM ----------
Rosemary-Fonts-ModuleMagic-v1.0_Sskulls.zip http://dl.free.fr/ijknBwSyP

Categories

Resources