[GUIDE] Install custom fonts via flashable zip on AOSP 4.3 ROMs
I posted this in a ROM thread, but figured it might be useful to others who run 4.3 custom ROMs and want to change their stock system font (apparently users have been getting bootloops when trying to use an app to change the font).
1. Must be rooted.
2. Must have a custom recovery for flashing the zip (so, at this time, only devices with pre-MF3 firmware).
1. Download the font changer flashable zip template that I put together here: http://www.mediafire.com/?3xqzzuov9uhunr5
2. Get a hold of the font you want to change to, making sure it's in *.ttf format.
3. Rename the font to Roboto-Regular.ttf
. If the font you downloaded has a Bold variant, download it rename it to Roboto-Bold.ttf
4a. If you're on your computer, use 7Zip/WinRAR to drag and drop the fonts you just renamed to the "system/fonts" folder within my template. If you renamed them precisely as I specified above, they should overwrite the two existing files of the same name. If your font doesn't have a Bold variant, you don't need to worry about the existing Roboto-Bold.ttf file in the archive (it's the stock bold font from 4.3 ROMs).
4b. If you're doing this from your phone (like I always do), either use Zarchiver (Free app in the Play Store) to perform the same process as described in Step 4a, or just use Root Explorer or something similar to unzip the entire template zip, drop the new fonts in the respective folder, and re-zip the template.
5. Flash away!
I've been using this method (within a custom GAPPs package that I maintain for myself with other customizations like clear GAPPs, etc.) for awhile now, and it's always worked without fail.
In case you're curious, the "custom" font that I use is just the Roboto-Light.ttf that is already included in the stock 4.3 /fonts folder. It's just a bit thinner than the stock font, and just looks cleaner IMO. If you want to try this one out, just flash my template zip without making any changes
Originally Posted by 1313SAM
Please don't encourage dirty flashing. Dirty flashing is like unprotected sex. Yes it may feel better and take less work, but who knows what may happens later. Even though sometimes you still get surprises when you do things right. At least you know you took precautions and where to look for problems.