Steps to Install Custom Fonts on rooted Android Device
Step #1 Select a Font for Android device - To properly display font in bold, make sure that a font you want to replace also has a bold version and then replace the normal and bold DroidSans files accordingly. If you make two copies of a single .ttf file and rename them DroidSans.ttf and DroidSans-Bold.ttf it will lose some of the bold formatting.
Step #2 So after you selected the font you want, renamed it to DroidSans.ttf and DroidSans-Bold.ttf
Step #3 Create a folder on your SD card called “n_android_font” (or any other of your choice) and paste both files there.
Step #4 Then create another folder called “o_android_font” (or any other of your choice) so you can have some place to put the original .ttf files so you can restore them later.
Step #5 Rename your fonts file in /system/fonts to DroidSans.bak or similar if you choose, I prefer to store them on the SD card.
Step #6 From an ADB shell:
view source
print?
01. su
02. mount -o remount /dev/mtdblock4 /system
03. mount -o remount /dev/mmcblk0 /sdcard
04. cat /system/fonts/DroidSans.ttf > /sdcard/o_android_font/DroidSans.ttf
05. cat /system/fonts/DroidSans-Bold.ttf > /sdcard/ o_android_font/DroidSans-Bold.ttf
06. cat /sdcard/n_android_font/DroidSans.ttf > /system/fonts/DroidSans.ttf
07. cat /sdcard/ n_android_font/DroidSans-Bold.ttf > /system/fonts/DroidSans-Bold.ttf
08. mount -o ro,remount /dev/mtdblock4 /system
09. sync
10. reboot
Step #7 From Terminal:
view source
print?
1. su
2. mount -o remount /dev/block/mtdblock4 /system
3. cat /system/fonts/DroidSans.ttf > /sdcard/o_android_font/DroidSans.ttf
4. cat /system/fonts/DroidSans-Bold.ttf > /sdcard/o_android_font /DroidSans-Bold.ttf
5. cat /sdcard/n_android_font/DroidSans.ttf > /system/fonts/DroidSans.ttf
6. cat /sdcard/n_android_font/DroidSans-Bold.ttf > /system/fonts/DroidSans-Bold.ttf
7. mount -o ro,remount /dev/block/mtdblock4 /system
8. sync
9. reboot
You must change the font only after creating a Nandroid back-up, especially if you doing so from Terminal. You will absolutely have to restore the back-up or adb in to restore the original font if you accidentally delete it or replace it with something incompatible
Read more: http://www.gadgetsdna.com/custom-fonts-installation-on-rooted-android-device/696/#ixzz10mlYpodV
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment