Changing system font files in EMUI - Huawei P9 Questions & Answers

Hi, I'm sorry but I'm not expert when it comes to flashing files but I do have some basic knowledge. I have a question. I'm running stick emui 4.0. And I wanted to change all the stock Roboto fonts in my phone to the San Francisco font. I know I could do it by applying a theme but I actually want all the typefaces, bold, medium, thin, light etc. So I found a zip file which was meant to be flashed on stock android roms and it had all the San Francisco fonts faces (Link at the bottom). So I extracted the zip file and within the /system/fonts directory of the extracted zip file are all the fonts I needed. So I was wondering if I root my device and access the root directory of my device and replace the all the fonts in the /system/fonts with the fonts I found in the zip archive. Will it damage my phone? Or brick it? Or cause any other problems? And as I'm running the stock emui 4.0 rom will it cause problems when I'm changing themes or change the font style by applying a theme? If there's anyone who has done this or has an huawei phone which they experiment on it would be great if someone could help me. Thanks and sorry about the long post
The font zip file is the last one in this thread named "San Francisco UI"
https://forum.xda-developers.com/android/themes/fonts-premium-flashable-font-zips-t3115033

Related

Help! Can't change fonts with froyo

I used to change fonts easily before froyo using the Root Explorer method but with Froyo when I reboot the N1 after changing the fonts it will get infinite loops!!
Is there any solutions to change fonts under froyo?
Works fine for me using metamorph.
Is it easy to do a font pack for metamorph?
If you want one of the fonts in this zip it's very easy:
http://forum.xda-developers.com/showpost.php?p=6666433&postcount=56
As far as adding a font and having metamorph recognize it in an xml and apply it, I'm clueless.
moved to the Q&A forum.
MSigler said:
If you want one of the fonts in this zip it's very easy: http://forum.xda-developers.com/showpost.php?p=6666433=56 As far as adding a font and having metamorph recognize it in an xml and apply it, I'm clueless.
Click to expand...
Click to collapse
I havent tried it on Froyo, but when I was running cyan 5.0.6 I replaced one of the fonts in the skaggz zip with a different one I wanted to use, applied it with metamorph and it worked fine. There was no need to edit any files unless I had wanted to change the name, but I just left it unchanged and my new font had the name of the one it replaced.

[Q] Problem changing font in miui

Hello I just started theming..
Anyway, first thing i wanted to do was change the fonts in a .mtz file.
So i took the .mtz changed it to .zip extracted it..
replaced the fonts in /fonts and renamed them the exact same names (Arial, Arial-Bold, and clockopia)
Zipped up the theme, renamed it to .mtz
the fonts however do not change.
I can see it in theme chooser, but my font does not change when I apply it...
and if it does, it just changes to the default font..
Why is this?
I have tried a few fonts, all with the same result. they are .ttf which I was under the impression was okay. Is there some fonts that just wont work?
From what I read I am not doing anything wrong...
Thanks in advance..

[FONT][WIP][HELP]Comfortaa font

so i've made a flashable zip of the comfortaa font, but for some reason it puts the phone into a bootloop upon flashing.
anyone wanna check the files out and point out what the problem is? thanks,
Cole
Are you rooted? If so, just use Custom Android Font or Font Installer from the Market. You will then have over 150 fonts to choose from, including Comfortaa.
Sent from my Nexus S 4G using xda premium
Post above this is probably a better and easier option, but looking at the zip, I'd pull out the DroidSansFallback, Clockopia, and DroidSansMono , then flash and see if u get the same results.
I haven't investigated fonts too much in ICS, but in previous builds (gingerbread), the flashable font zip really just needed to have DroidSans.ttf, DroidSans-Bold.ttf and Clockopia.ttf to replace your font.
HateMeILoveIt said:
Are you rooted? If so, just use Custom Android Font or Font Installer from the Market. You will then have over 150 fonts to choose from, including Comfortaa.
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
i was using one of those apps, but it sucked haha.
the default font is roboto correct?
i could just use adb to switch it, but i would like to know that i can make a working flashable zip
any help is appreciated
i just tried to re-do it like 5 times in a row, took out the fonts mentioned, pulled a different updater script and update binary and still no luck :/
the steps i'm taking are,
1. build all the files in the correct folders
2. zip all the files compression method Store with winrar
3. put the files in my SignApk folder
4. sign the files
5. take the zip and install via recovery
then i just boot loop :/
crzdcole said:
i just tried to re-do it like 5 times in a row, took out the fonts mentioned, pulled a different updater script and update binary and still no luck :/
the steps i'm taking are,
1. build all the files in the correct folders
2. zip all the files compression method Store with winrar
3. put the files in my SignApk folder
4. sign the files
5. take the zip and install via recovery
then i just boot loop :/
Click to expand...
Click to collapse
You don't have to do all of that, unless you're just trying to do the script yourself as a challenge .
Find a working flash able font zip (check evo themes section), use 7zip to replace and remove fonts, and see if that works. If it does, then u can go script happy from there, knowing that those contents worked at least.
•°NS4G • ICS°•

Changing fonts in ICS

Has anyone had luck changing fonts in ICS? I've tried the obvious app solutions, as well as flashable .zip's, and even renaming the desired font to the same one as is in the /system/fonts folder and replacing it that way. Ideas?
...probably falls under your "tried all the obvious" courses of action, but the only way I've ever universally changed the fonts is through jrummy's "Root Tools" ...though I haven't tried it on AOKP yet.
LifeInAnalog said:
...probably falls under your "tried all the obvious" courses of action, but the only way I've ever universally changed the fonts is through jrummy's "Root Tools" ...though I haven't tried it on AOKP yet.
Click to expand...
Click to collapse
I think I finally got it. I had taken SonySketch (desired font) regular, bold, italic, and bold-italic, and masked each of them with the proper name found in the /system/fonts file and made them into a flashable .zip but this didn't fix it. Today, I just dropped all of them into a folder on my SD card, and used Root Browser to copy-paste them over from my SD to /system/fonts and rebooted...VIOLA! The entire phone has been changed. I'm going to try making a flashable .zip again though so that it's easier to share.
EDIT: Here are the new flashable .zip's. I just took the Steel Droid 5 .zip that was on my desktop and erased everything but the fonts file then duplicated it, keeping META-INF but replacing the stock fonts in the 2nd .zip with the renamed Sony Sketch fonts. Tell me how it goes if you're interested.
Absolute system or from toolbox will change your fonts to whatever you like
Sent from my XT862 using Tapatalk
olorolo said:
Absolute system or from toolbox will change your fonts to whatever you like
Sent from my XT862 using Tapatalk
Click to expand...
Click to collapse
Have you tried this in ICS though? Because JRummy's Font Installer doesn't do the trick. No font installer has (Root Tools, ROM Toolbox, Font Installer, etc.) has done the trick yet on ICS. Only my renaming trick has done it for me on ICS. I know all of the switchers work on GB.

[Q] How to change default Font?

Hi,
how do I change the default Font on the HTC One? I tried Font Installer, iFont and Root Toolbox, but none of them works. My device is rooted btw.
Thanks!
amorph said:
Hi,
how do I change the default Font on the HTC One? I tried Font Installer, iFont and Root Toolbox, but none of them works. My device is rooted btw.
Thanks!
Click to expand...
Click to collapse
Curious about this as well
i'm also curious about how this is possible..
My guess is that Sense is using it's own font from some HTC resources, rather than the usual Android system one. So the usual apps for switching this will be changing the wrong thing...
It'll probably require some Sense-decompiling stuff...
*Edit* well- maybe not. There's a whole bunch of Fonts in /system/fonts, maybe you're just changing the wrong one...
Try TrickDroid Roms Tweak package.There you can choose and install some Fonts.
You can change the default font before flash a custom rom.
I don't know how to make a update.zip so... here's my way(doing it on the PC).
1. Rename fonts which you want to use to;
"Roboto-Regular.ttf"
"Roboto-Bold.ttf"
"Roboto-BoldItalic.ttf"
"Roboto-Italic.ttf"
2. Open a custom rom with winrar.
3. Drag&Drop renamed fonts into system/fonts.
4. Flash.
If you use TrickDroid, skip 2,3,4 and do this;
1. Open TrickDroidThemes.zip with winrar.
2. Drag&Drop renamed fonts to additions/fonts/asap
3. Apply theme. (choose "asap", of course)
you can also disable the low battery beep sound
I hope it helps

Categories

Resources