Add one or more fonts to your system easily - LG G2 Mini

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
My English is a little weak, drafting errors may occur.
Hi there. Old dilemma on how to expand the number of Android phones into a pre-made fonts (4-6-8 pieces which normally used to be) just a piece of your favorite font, or even at 20-40. There are several possibilities for this already; flash recovery from flash zip from the XDA,fonts changer applications in the Play Store, etc, etc. Our current solution for our good, that we can not install the fonts chosen by the type and number of pieces of others, but what we want, and as much as we want. Lollipop and KitKat operating system as well, so far I have tested LG phones. I did not feel harmful slowdowns or system errors after 30-40 font. Finding the appropriate fonts on the Internet will take much more time than the change itself. TTF fonts look for.
What it needs for this operation:
1: Root
2: Root file manager
3: Notepad ++
4: A new font or fonts lack, and a few minutes of your life
By default it looks something like the font selection menu, depending on your phone / rom 4-10 pieces chosen from the letter:
After the change is then this:
Take the letter or letters you want to use a file manager to copy the system / fonts folder, and then modify the permissions to this: rw- r-- r--. If you enter more letters copying, modification group should be done faster. Feel free to highlight all the letters as well. Do not just folders, folder if the fonts folder.
Now, you can edit the file fonts_lge.xml, which is located in the system / etc folder. Because even copying the letters in the fonts folder, depending on the system still will not see it, but after editing this file.
Notepad ++ looks like the original xml file's:
​
After the change this way:
​
As you can see, but that's all that we need so that we insert name of copied letters:
<family name="Arial">
<font weight="400" style="normal">arial.ttf</font>
<font weight="700" style="normal">arialbd.ttf</font>
<font weight="400" style="italic">arialbi.ttf</font>
<font weight="700" style="italic">ariali.ttf</font>
</family>
Since the type arial four species were also found, (normal, bold, italic, bold italic) should therefore enter and inserted into the original xml file. But where there are only two (normal, bold), there's this:
<family name="Tahoma">
<font weight="400" style="normal">tahoma.ttf</font>
<font weight="700" style="normal">tahomabd.ttf</font>
</family>
Which entries are nothing but a plain ttf, there is this:
<family name="Hwedding">
<font weight="400" style="normal">hwedding.ttf</font>
<font weight="700" style="normal">hwedding.ttf</font>
</family>
It may find that some letters than we can find only three kinds of (normal, bold, italic), the more so, enter:
<family name="Garamond">
<font weight="400" style="normal">GARA.ttf</font>
<font weight="700" style="normal">GARABD.ttf</font>
<font weight="400" style="italic">GARAIT.ttf</font>
</family>
The editing syntax pay attention to the layout, images and Notepad ++ help him. When you are done, you copy the modified xml file in the system / etc folder, but not before the original file, create a backup or just rename example fonts_lge.xm away. The new set fonts_lge.xml file permissions: rw-r--r--.
Here you only need to reboot the phone, and if everything went well, the letters appear. It is not hard on the whole, it can be done in a few minutes, and you can use any fonts out what we want .... enjoy ....

I only see a system_fonts xml file and not a fonts_lge xml file it doesn't have the same content
Enviado desde mi d625 using Tapatalk
Also sorry for my bad english

dani020110 said:
I only see a system_fonts xml file and not a fonts_lge xml file it doesn't have the same content
Enviado desde mi d625 using Tapatalk
Also sorry for my bad english
Click to expand...
Click to collapse
This is a G2 mini Lollipop screenshot (not mine, Karcub forum colleague). Here it is. You may use Cyanogen mode? There can be nothing else, yes. You could try to rewrite the system_fonts.xml file, but the way I see it to be different. Try, if you like, I think you can not mess up. Before that backup the full rom.

Meggyi said:
This is a G2 mini Lollipop screenshot (not mine). Here it is. You may use Cyanogen mode? There can be nothing else, yes. You could try to rewrite the system_fonts.xml file, but the way I see it to be different. Try, if you like, I think you can not mess up. Before that backup the full rom.
Click to expand...
Click to collapse
d625 doesn't have cyanogenmod or unlocked bootloader for recovery
Enviado desde mi d625 using Tapatalk
Also sorry for my bad english

dani020110 said:
d625 doesn't have cyanogenmod or unlocked bootloader for recovery
Enviado desde mi d625 using Tapatalk
Also sorry for my bad english
Click to expand...
Click to collapse
Um ... I do not know what's wrong. I do not know what makes the difference. Hungarian verzion on G2 mini: D620.
This is a CM rom for G2 mini, lge_fonts.xml no more, so I thought that CM was using.

I'm using stock kitkat (v10d) in d625 (Latin American variant)
Also, does anyone who have stock kitkat in other variants (d620, d618) have fonts_lge.xml file?
Enviado desde mi d625 using Tapatalk
Also sorry for my bad english

dani020110 said:
I'm using stock kitkat (v10d) in d625 (Latin American variant)
Also, does anyone who have stock kitkat in other variants (d620, d618) have fonts_lge.xml file?
Enviado desde mi d625 using Tapatalk
Also sorry for my bad english
Click to expand...
Click to collapse
Well, unfortunately, you're right. Not fonts_lge.xml under KitKat file. Only system_fonts.xml. Interesting. But it also could try to edit it.
(screenshot by Fakirr1) D620 KitKat Eurxxx Hungary

Related

Change Carrier Name in AOSP roms

How to create a custom eri.xml files to change the carrier name in AOSP roms.
Instructions lower are for making your own.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(((Prerequisites)))
1. Android Device (doesn't have to necessarily be a phone)
2. Root
3. Working adb connection to phone
4. 7zip
5. HxD or another hex editor
(((How To)))
1. Connect your phone and mount your it with adb.
2. use adb to pull the framework-res.apk file from the phone
3. open the framework-res.apk file with 7zip
4. go into the res/xml folder
5. pull eri.xml from the zip file and open with HxD or your favorite hex editor
6. scroll down until you find the provider name (usually sprint)
7. Change the name to whatever you want. WARNING! Depending on your phone you can have as little as 9 characters available all the way to 16. It depends on the phone. I have found that the Hero CDMA only has 9.
8. Save eri.xml, and copy it back into the zip file via drag and drop into 7zip.
9. Using adb, push the file back onto the phone. You may have to reset it to get it to show up.
I used 7zip and deleted the eri.xml file from framework-res.apk. I had found an eri.xml file from another ROM that is viewable in IE; after editing the file I pushed it to /data/. works fine and you don't have to mess with hex editors.
Tried it with my Hero and some of my custom Android 2.2 Froyo,but
don`t find provider name at "eri.xml"
Only this:
VersionNumber...NumberOfEriEntries...EriFileType...EriFile...1357...12...1...Id...CallPromptText...CallPromptId...0...CallPromptId0...CallPromptId1...2...CallPromptId2...RoamingIndicator...IconIndex...IconMode...EriText...AlertId...EriInfo...64...T-CDMA 64...65...T-CDMA 65...66...T-CDMA Ext 66...67...T-CDMA Ext 67...68...T-CDMA Roam 68...69...T-CDMA Ext 69...70...T-CDMA Roam 70...71...T-CDMA Ext 71...72...T-CDMA Ext 72...73...T-CDMA Roam 73...74...T-CDMA Ext 74...75...T-CDMA Roam 75.......`......
Click to expand...
Click to collapse
If you don't see it then it may just not have been set on build time. Did you build it yourself?
Either way it should be at this address in the hex edior:
Line: 000002D0
You have the column space from 02 to 0A to edit.
However I would side with TheDanimal on this. It would be easier to just find the xml that you can open in a text editor and then push to /data but I have never done this. Hey TheDanimal! does there need to be directory structure there like in metamorph?!
here is the contents of my eri.xml:
- <EriFile VersionNumber="1357" NumberOfEriEntries="1" EriFileType="1">
<CallPromptId Id="0" CallPromptText="CallPromptId0" />
<CallPromptId Id="1" CallPromptText="CallPromptId1" />
<CallPromptId Id="2" CallPromptText="CallPromptId2" />
<EriInfo RoamingIndicator="128" IconIndex="1" IconMode="0" EriText="Verizon Wireless" CallPromptId="0" AlertId="0" />
</EriFile>
I guess deleting it from framework-res.apk makes it look elsewhere for the file. I posted the eri.xml I use. I had to zip it because it won't let me upload a .xml
@TheDanimal - Awesome man! And this also lifts the 9char restriction! 10chars+ for u!
Now if I could just find out where to change the word 'Phone' for the center rosie button...
Hm,deleted "eri.xml" from framework and pushed framework back to
phone,then used attached "eri.xml" and pushed to /data/ but nothing.
Only deleting "eri.xml" the same,still T-Mobile there
You may have to use a hex editor then. I deleted the eri.xml out of framework before i zipped and signed my ROM. I'm also using an AOSP 2.1 build.
That works fine for a sprint phone. Any idea where Verizon is hiding the carrier name? Its not in eri.xml, I've looked.
sent by an Epic4g through the cosmos
@raiderep - AOSP is not carrier specific. Actually the carrier name is something of just a stickit really. I am on cellular south but it will say sprint by default cause thats what the builder put as the carrier name. Maybe the version your running is modified to have it shown somewhere else?
This method will work on European Milestone?
yurasts said:
This method will work on European Milestone?
Click to expand...
Click to collapse
Damn dude, sorry so late on posting, but yeah I think so.... I would definitely do a nandroid first before trying it
Followed ur method to a "T". reboot and its black. after unlocking the phone it just comes up with a bunch of forcloses.
May be something odd on that specific phone... Just to ask (cause I am sorry I didn't earlier) but are you runnin aosp or sense rom? I have never tried it with a sense rom so cannot confirm that it works....
This method doesnt work on milestone =[
hexskrew said:
May be something odd on that specific phone... Just to ask (cause I am sorry I didn't earlier) but are you runnin aosp or sense rom? I have never tried it with a sense rom so cannot confirm that it works....
Click to expand...
Click to collapse
Aosp 0992
10 Char
just edit /system/etc/spn-conf.xml.Change the name to whatever u want and adb shell stop then adb shell start
This method i guess will not work on GSM Phone but only CDMA Phones

Basic Framework Edits

this is a very basic guide to change colors and maybe icons if you've suitable icons..
I don't know anything about signing apks and stuffs but I did the following steps and it worked for me...
THINGS YOU'LL NEED :
7zip
Any Imaging Software that can handle PNG files(I use PHOTOSHOP)
FRAMEWORK-RES.APK file
STEPS :
Right Click on your framework-res.apk
Click 7-zip->Open Archive
go to res folder
Extract drawable-mdpi anywhere on your pc
edit the files you want with your imaging software and save them
now drag the modified files to the drawable-mdpi folder in the zip file
Open the drawable-mdpi folder in your zip file
select the modified files, hold and drag to the zip archive and leave it
it will ask you to add the files or not
just click yes
Click to expand...
Click to collapse
Close the file
Push your framework into your phone
(I use Xrecovery mode for pushing it, cuz its safe)
Code:
[B]busybox cp /sdcard/framework-res.apk /system/framework/framework-res.apk[/B]
---------------------------END------------------------------------------
IMPORTANT TIPS
if you're upto modifying colors than you may notice that some files have extension .9.png they need special way to edit (actually not so special lol)
just open them in your imaging program
you'll notice few black dots and black border
something like this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
keep those black things as they are, and mess around with the other colors
-----------------------------END QUOTE----------------------------------
for now I've just tested this with colors and few icons and it works
-------------------------------------------------------------------------------------
if anyone needs this framework (I changed the green color to orange, changed the lock symbol to stock it was too small and colored some of the network indicators from white to green lol)
FRAMEWORK-RES.APK.7z
Good. i tried to change the xml files. but the process needed me to use apktool to decompile the framework-res.apk.
when i used original framework-res-apk, it decompiled successfully, but when I used gingerbread framework-res.apk by pulpoff, errors about the .9.pngs occur.
propc said:
Good. i tried to change the xml files. but the process needed me to use apktool to decompile the framework-res.apk.
when i used original framework-res-apk, it decompiled successfully, but when I used gingerbread framework-res.apk by pulpoff, errors about the .9.pngs occur.
Click to expand...
Click to collapse
xml is just too advance for me lol
yes for editing xml files it needs to be decompiled....
maybe you need to edit 9.png files the way I did
why dont you give it a try
Thx
I searched for a TuT
Now i can give my cellphone my own looking
A question can i replace icons white icons form a X10 theme or so?
KINGMANI said:
Thx
I searched for a TuT
Now i can give my cellphone my own looking
A question can i replace icons white icons form a X10 theme or so?
Click to expand...
Click to collapse
yeah.. i used gingerbread theme's icons and they worked however you can only replace those which have the exact same name you know not everything is possible lol
nice work. can you explain how to change battery icon, i want it show percent, like 58% in front of the icon. i think that's what people need most
I see now, that in framework 'res' folder, in 'drawable-land-mdpi', we have stock layouts of Lock Screen (i mean, stock bar for unlock move and sound).
How can I set it to default? I don't like that SE original LockScreen theme...
Find all the icons named as SEMC_slidingtab and replace them the way you want
mercury_beta said:
nice work. can you explain how to change battery icon, i want it show percent, like 58% in front of the icon. i think that's what people need most
Click to expand...
Click to collapse
Most people use widgets for that.. lol
please follow the tutorial
how change icons
mislatero said:
please follow the tutorial
how change icons
Click to expand...
Click to collapse
use desktop visualizer for that.. its available for free in market

[Theme]Mod of AChep's Froyobread theme(06.11.2011)

Only tested on FroyoBread! Use at your own risk!
I guess this is my first attempt at a theme.
First of all thanks to Achep for posting his wonderful theme!
I started out thinking about changing the battery icon, to the round one, I'll post screenshots later. Anyways I changed some of the icons and the font. I guess this only counts as a mod.
The biggest problem with this is that I don't know how to change the font size, so the font looks a little bit weird at first. It's actually pretty small. If someone could teach me how to change the font size or change it by him or herself I will by utterly grateful. Thanks! If and only if you have succeeded in changing the font size, please send my a copy so I can update this thread!
To be fixed:
[*]Battery icon on the lockscreen. I'll find a way to get rid of it.(Or do you guys like it?)
[*]Font size
[*]Some bugs with Google Pinyin. Not sure about other IME's. Look at my screenshots to find out what I'm talking about.See how the character is against the top line? I believe that is because of the font size, but not so sure.
[*]Installation of font is irreversible unless you flash rom again.
[*]Reserved for bugs I have not found.
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Requirements:
1.Rooted
2.ADB installed.(If you want to go by the directions.You could use Root Explorer to manually copy if you want.)
3.Dx's Froyobread.
Installation:
1.Download "framework.zip" to computer.
2.Unzip all folders to desktop. Do not flash unless you have Clockworkmod Recovery! If you flash I do not take responsibility for anything!
3.In Command Prompt type
Code:
cd desktop
Well get to the desktop somehow.
4.Type in the following.
Code:
adb push fonts /system/fonts/
Enter
Code:
adb push system /system/
Enter(This is bootanimation. Something about the CIA.Not neccesary.
Code:
adb push framework /system/framework/
Enter
5.Reboot.
6.Enjoy and report bugs back!
UAL4588 said:
Only tested on FroyoBread! Use at your own risk!
I guess this is my first attempt at a theme.
First of all thanks to Achep for posting his wonderful theme!
I started out thinking about changing the battery icon, to the round one, I'll post screenshots later. Anyways I changed some of the icons and the font. I guess this only counts as a mod.
The biggest problem with this is that I don't know how to change the font size, so the font looks a little bit weird at first. It's actually pretty small. If someone could teach me how to change the font size or change it by him or herself I will by utterly grateful. Thanks! If and only if you have succeeded in changing the font size, please send my a copy so I can update this thread!
To be fixed:
[*]Battery icon on the lockscreen. I'll find a way to get rid of it.(Or do you guys like it?)
[*]Font size
[*]Some bugs with Google Pinyin. Not sure about other IME's. Look at my screenshots to find out what I'm talking about.See how the character is against the top line? I believe that is because of the font size, but not so sure.
[*]Reserved for bugs I have not found.
Screenshots:
View attachment 622841View attachment 622842View attachment 622843View attachment 622844View attachment 622845View attachment 622846View attachment 622847
Requirements:
1.Rooted
2.ADB installed.(If you want to go by the directions.You could use Root Explorer to manually copy if you want.)
3.Dx's Froyobread.
Installation:
1.Download "framework.zip" to computer.
2.Unzip all folders to desktop. Do not flash unless you have Clockworkmod Recovery! If you flash I do not take responsibility for anything!
3.In Command Prompt type
Code:
cd desktop
Well get to the desktop somehow.
4.Type in the following.
Code:
adb push fonts /system/fonts/
Enter
Code:
adb push system /system/
Enter(This is bootanimation. Something about the CIA.Not neccesary.
Code:
adb push framework /system/framework/
Enter
5.Reboot.
6.Enjoy and report bugs back!
Click to expand...
Click to collapse
Download Link:
http://cid-a9eebfda96ac580d.skydrive.live.com/redir.aspx?resid=A9EEBFDA96AC580D!174
UAL4588 said:
Battery icon on the lockscreen. I'll find a way to get rid of it.!
Click to expand...
Click to collapse
Remove icons "ic_lock..."
can we flash it with xRecovery?? and what's the name of thins font's or you can upload it here...
HAHAHA
Nice One bro......but i think i will not test it
rafcamora91 said:
can we flash it with xRecovery?? and what's the name of thins font's or you can upload it here...
Click to expand...
Click to collapse
No. It is scripted with edify and xrecovery uses admend.
AChep said:
Remove icons "ic_lock..."
Click to expand...
Click to collapse
Thanks! Will look into it.
nice one , but i dont know how to install it,
afifrohiki said:
nice one , but i dont know how to install it,
Click to expand...
Click to collapse
ADB commands. or copy using root explorer.

[GUIDE][ICS]Use PNG Images as Notification Background for Stock / Stock Based ROM

Now here's tutorial on how to put any PNG image as notification pulldown background..
Here I'm using lidroid's modified SystemUI, should work on other stock based SystemUI
First you need to decompile your SystemUI.apk
Open res/values/drawable.xml with any good xml editor (here I'm using NP++)
Delete this line:
Code:
<item type="drawable" name="notification_tracking_bg">#xxxxxxxx</item>
the #xxxxxxxx value maybe vary in each ROM, just delete the whole line )
Save
Prepare your desired .png file, can be opaque or transparent, and can be in any size/dimension (the system will resize it to match the screen)
Rename it to notification_tracking_bg.png and put it in res/drawable-hdpi
Recompile your SystemUI.apk, push to your phone and you are.......
Done !!
The result will be looked like these :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Remember to
ALWAYS MAKE BACKUP !!
before doing anything above..
I don't responsible of any negative things like bootloop, bricked device, burned SD card, you late to go to school, or the third world war caused by the guide above..
You have been warned !!
Click to expand...
Click to collapse
Good luck..
iiandskater said:
Now here's tutorial on how to put any PNG image as notification pulldown background..
Here I'm using lidroid's modified SystemUI, should work on other stock based SystemUI
First you need to decompile your SystemUI.apk
Open res/values/drawable.xml with any good xml editor (here I'm using NP++)
Delete this line:
Code:
<item type="drawable" name="notification_tracking_bg">#xxxxxxxx</item>
the #xxxxxxxx value maybe vary in each ROM, just delete the whole line )
Save
Prepare your desired .png file, can be opaque or transparent, and can be in any size/dimension (the system will resize it to match the screen)
Rename it to notification_tracking_bg.png and put it in res/drawable-hdpi
Recompile your SystemUI.apk, push to your phone and you are.......
Done !!
The result will be looked like these :
Good luck..
Click to expand...
Click to collapse
when i finished modifying and pushed the new systemui.apk to my phone, i lost my statusbar. which step i was wrong in ? i'm using JJ rom. Need your help to do this guide course im' very like this mod.
Jellybread v2 ROM systemUI.apk doesnt need to be modified, only change the background png, but thanks anyway
Oohhlala said:
when i finished modifying and pushed the new systemui.apk to my phone, i lost my statusbar. which step i was wrong in ? i'm using JJ rom. Need your help to do this guide course im' very like this mod.
Click to expand...
Click to collapse
Did you just recompile and push? Or did you do something between those?
Ticklefish said:
Did you just recompile and push? Or did you do something between those?
Click to expand...
Click to collapse
recompile then using winrar to extract .arsc file and add it back to recompiled apk with " store" option, copied to sdcard and using rootexplorer to move to system/app, reboot and lost the statusbar
Oohhlala said:
recompile then using winrar to extract .arsc file and add it back to recompiled apk with " store" option, copied to sdcard and using rootexplorer to move to system/app, reboot and lost the statusbar
Click to expand...
Click to collapse
You need to make sure the new apk is signed. Easiest way of doing this is copy the META-INF folder from the original into the new one.
Android won't run unsigned apps, you see.
Ticklefish said:
You need to make sure the new apk is signed. Easiest way of doing this is copy the META-INF folder from the original into the new one.
Android won't run unsigned apps, you see.
Click to expand...
Click to collapse
use winrar to add META folder ? which option of " compression method " have to chose ? " store " is right ?
when i dit it again, after modified i tried to compile but i had got this error ? can you tell me what wrong with me ? thanks
I'm able to do everything right up to recompile I always come up with an error could somebody help
Sent from my LT18i using xda premium

Add one or more fonts to your system easily

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
My English is a little weak, drafting errors may occur.
Hi there. Old dilemma on how to expand the number of Android phones into a pre-made fonts (4-6-8 pieces which normally used to be) just a piece of your favorite font, or even at 20-40. There are several possibilities for this already; flash recovery from flash zip from the XDA,fonts changer applications in the Play Store, etc, etc. Our current solution for our good, that we can not install the fonts chosen by the type and number of pieces of others, but what we want, and as much as we want. Lollipop and KitKat operating system as well, so far I have tested LG phones. I did not feel harmful slowdowns or system errors after 30-40 font. Finding the appropriate fonts on the Internet will take much more time than the change itself. TTF fonts look for.
What it needs for this operation:
1: Root
2: Root file manager
3: Notepad ++
4: A new font or fonts lack, and a few minutes of your life
By default it looks something like the font selection menu, depending on your phone / rom 4-10 pieces chosen from the letter:
After the change is then this:
Take the letter or letters you want to use a file manager to copy the system / fonts folder, and then modify the permissions to this: rw- r-- r--. If you enter more letters copying, modification group should be done faster. Feel free to highlight all the letters as well. Do not just folders, folder if the fonts folder.
Now, you can edit the file fonts_lge.xml, which is located in the system / etc folder. Because even copying the letters in the fonts folder, depending on the system still will not see it, but after editing this file.
Notepad ++ looks like the original xml file's:
​
After the change this way:
​
As you can see, but that's all that we need so that we insert name of copied letters:
<family name="Arial">
<font weight="400" style="normal">arial.ttf</font>
<font weight="700" style="normal">arialbd.ttf</font>
<font weight="400" style="italic">arialbi.ttf</font>
<font weight="700" style="italic">ariali.ttf</font>
</family>
Since the type arial four species were also found, (normal, bold, italic, bold italic) should therefore enter and inserted into the original xml file. But where there are only two (normal, bold), there's this:
<family name="Tahoma">
<font weight="400" style="normal">tahoma.ttf</font>
<font weight="700" style="normal">tahomabd.ttf</font>
</family>
Which entries are nothing but a plain ttf, there is this:
<family name="Hwedding">
<font weight="400" style="normal">hwedding.ttf</font>
<font weight="700" style="normal">hwedding.ttf</font>
</family>
It may find that some letters than we can find only three kinds of (normal, bold, italic), the more so, enter:
<family name="Garamond">
<font weight="400" style="normal">GARA.ttf</font>
<font weight="700" style="normal">GARABD.ttf</font>
<font weight="400" style="italic">GARAIT.ttf</font>
</family>
The editing syntax pay attention to the layout, images and Notepad ++ help him. When you are done, you copy the modified xml file in the system / etc folder, but not before the original file, create a backup or just rename example fonts_lge.xm away. The new set fonts_lge.xml file permissions: rw-r--r--.
Here you only need to reboot the phone, and if everything went well, the letters appear. It is not hard on the whole, it can be done in a few minutes, and you can use any fonts out what we want .... enjoy ....
When assigning italic fonts the font style should reflect that.
So "<font weight="400" style="normal">ariali.ttf</font>" is wrong, this should be "<font weight="400" style="italic">ariali.ttf</font>"
And, naturally, weight 400 is normal font and 700 is bold :good:
Pfeffernuss said:
When assigning italic fonts the font style should reflect that.
So "<font weight="400" style="normal">ariali.ttf</font>" is wrong, this should be "<font weight="400" style="italic">ariali.ttf</font>" :good:
Click to expand...
Click to collapse
Hi, thanks for your help! Fixed. If you see something else error, please let us know! thank you :good:

Categories

Resources