Add one or more fonts to your system easily - LG G Flex

{
"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 ....

Related

[GUIDE] File format/location changes w/ MIUI v4 photoframe widget (and other themes)

So after searching the intarwebz for considerably longer than should have been necessary, I decided to write this up, hoping it might save someone else some time with this.
First of all, I really liked this one photoframe mod called StickyTape. After a while of searching (and a dozen or two dead download links later), I finally found a working link, only to see the MIUI theme manager not recognize it. Long story shot, it came down to two issues.
1) the mtz was in the wrong folder. For previous releases, I found somewhat conflicting info. One source said the photoframe should go in /sdcard/MIUI/gadget/. Another said it should go in /sdcard/MIUI/gadget/photo_frame. I also read sources that said the archive should be extracted into that folder, and others that said not to extract it. Both are wrong.
2) format of the files in the mtz was incorrect.
Here's how it works now.
1) For many of the current photoframe mods you might come across, the file structure will be pretty much the same. If you download an .mtz file, rename it to a .zip file. Then extract the contents of that zip file. (If you use 7zip, you should be able to right-click it and extract it using the 7zip options in the context menu without renaming the file extension.)
The files in this archive are always the same.
image.png
frame.png
filter.png
description.xml
a folder named "preview" with an image preview for the mod. for the photoframe, it will be one or both of these:
preview_photo_frame_big_0.png
preview_photo_frame_small_0.png
The problem is that many of the mods you currently may come across, will not have the files compressed. It will look 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"
}
2)What's different now is that the preview folder and xml file are not compressed, but the 3 images must be bundled into a zip file called "photoframe_2x2", where the 2x2 part changes, depending on whether it's a 2x2, 2x4, or 4x4 photoframe. Regardless of what frame it is, that is always the file name. The mtz that it's in, will tell you which one it is. This is true of other theme mtz files now as well. The content must be compressed in a zip file (with the .zip extension removed).
3) after you have extracted the images and made the changes you want to make, select the 3 images, right-click and select "Add to Archive." I'll continue with the StickyTape as my example:
For Archive Format, select zip. For compression method, I don't know if it matters, but I chose "Store." The default option is "Normal."
4) Once you have created the zip file, rename it by removing the ".zip" from the end of the file name. If it's not already names "photoframe_2x2" or whatever size it is, then do that as well. When you get a warning about changing the extension possibly making the file unusable, just tell Windows to shut up.
5) Now you should have 3 items. The preview folder, the description.xml file, and the photoframe zip archive that does not have a .zip file extension. For the description.xml file, it contains the following:
Code:
<?xml version="1.0" encoding="utf-8"?>
<photo_frame>
<!-- t: hxw 1: 1x2 2: 2x2 8: 4x4 -->
<type>2</type>
<title>StickyTape2x2</title>
<version>0</version>
<platformVersion>0</platformVersion>
</photo_frame>
The only thing you will need to change is the "type" option and the title. As indicated by the line above it, enter type "1" if it's a 1x2, "2" for a 2x2, etc.
Also, give the mod a name on the title line.
6) Now you'll do the same thing as you did in step 4 with these 3 items. Highlight all 3, right-click and "add to archive" and select zip.:
7) rename the zip file by changing the file extension from ".zip" to ".mtz"
8) Copy the mtz to /sdcard/MIUI/theme. the /MIUI/gadget folder is not used. On some builds (like the unofficial port for my Skyrocket) the location is /emmc/MIUI/theme as /emmc is the internal sdcard while /sdcard or /mnt/sdcard is the external sdcard. Now, just add a widget and select the frame you added and enjoy.
link for the StickyTape2x2 mtz:
https://www.dropbox.com/s/mhbfu390alhzb4d/StickyTape2x2.mtz

[GUIDE] Resizing/Editing ADW icons for Widgetsoid

Hello everyone, let me start off by saying I am new to the forum so any input, advice, or corrections are more than welcome and much appreciated. This thread is a step by step guide on how to edit icons primarily for Widgetsoid but also any other applications that use an ADW theme. The donate version of Widgetsoid has a feature for using ADW theme icons, however a standard 96x96 pixel icon will not fit right and won’t allow room for text below, they also appear to be sized for elderly people. So after a couple hours of reading online and tinkering with both windows and android I have found a way to edit the source PNG/Image files, replace the originals, and reinstall the apk file. So here are the programs and applications required…
-----Windows Programs Required-----
1. 7zip or alternative program (http://www.7-zip.org/)
2. Icon Set-Builder (http://iconsetbuilder.echtzeitig.de/download.html) Download the MSI file and install
-----Android Applications Required-----
3. ES File Explorer or alternative application (https://play.google.com/store/apps/details?id=com.estrongs.android.pop&hl=en)
4. ZipSigner 2 (https://play.google.com/store/apps/details?id=kellinwood.zipsigner2&hl=en)
Ok so once you have installed all of the above you are ready to begin editing the images inside your apk file. Here are the steps…
------------------------------------------------------------
1. Place the apk file on your desktop and make a copy
2. Right click the copy of the apk and select open archive with 7zip.
3. Find the source image files you wish to edit and drag the files/folder to your desktop. (if editing all files in a folder move the entire folder to your desktop, empty zip folders will be deleted automatically)
4. Open Icon Set-Builder and go to tools, then click “open file with explorer” a menu will then drop, select “assets”. Then open the “IconSets” folder and then the “My App Icons” folder.
5. Delete or move the icons from here and replace with the Image files you wish to resize/edit, then go to “Icon set” at the top of the program and select “My App Icons” (you should see the first image in the folder appear in the program)
6. Make any changes you desire, I believe Icon Set-Builder has additional plugins from their website for further customization. (Widgetsoid users, 64x64 pixels is 2/3 the size of regular adw icons and fits very well compared to standard 96x96 pixel adw icon)
7. Now simply click generate and it generates the images in a batch sequence, all in a matter of seconds.
8. Now it should open a folder with the edited files, if not go to tools, open w/explorer, and exports. Drag and drop the folder to your desktop.
9. Now open the apk again with 7zip and replace files/folder (do not extract, select "open archive")
10. Now create a folder on your desktop called META-INF, delete the META-INF folder from the apk and replace with the empty META-INF folder you just created (if there is an error close the archive and re-open, it should accept the empty META-INF folder now). Now replace the original images or original folder inside the application and replace them with your edited files/folder. Close 7zip and place the apk on your sd card.
11. Now using ZipSigner 2 type in the path to the edited apk file and rename the output file. Auto test key is the default setting and doesn’t need to be changed, now sign the file.
12. Open your file manager and install the apk file.
------------------------------------------------------------
Now the reason for signing the apk is because the file was edited and in most cases the signature will be broken and the apk will not install.
Here is a screenshot comparing my resized icons (left side) to a similar adw icon with original 96x96 pixel dimensions. (left icon is 64x64, right is 96x96).
{
"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"
}

Custom PhaseBeam Live Wallpaper! ;)

This is very simple&funny MOD to make our personal PhaseBeam livewallpaper with our preferred logos, 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"
}
We need:
- apktool (Dev-Host - [Window XP_7_8][GB_ICS_JB] Apktool and baksmaling + Signer v2 by ibanez7.zip - The Ultimate Free File Hosting / File Sharing Service)
- PhaseBeam.apk and framework-res.apk from Your ROM
(check my other guide for more info and links about apktool: http://forum.xda-developers.com/showthread.php?p=44997467#post44997467)
Let's start:
1) Copy the PhaseBeam.apk & Framework-res.apk to apktool folder and open cmd on this folder:
Simply hold down the Shift key and right-click a folder. The context menu will contain an entry, "Open command window here”
Once the command window has opened; you need to install the framework-res.apk… simply and easily type the following command:
Code:
[COLOR="#FF0000"]apktool if[/COLOR] framework-res.apk
You will see something like THIS:
Code:
I: Framework installed to: C:\Users\username\apktool\framework\1.apk
We will now decompile the PhaseBeam.apk file. To do this, type the following command:
Code:
[COLOR="#FF0000"]apktool d[/COLOR] PhaseBeam.apk
We will see something like this:
Code:
I: Loading resource table…
I: Loaded
I: Decoding file-resources…
I: Decoding values*/* XMLs…
I: Done
I: Copying assets and libs…
After you see that, you should notice that a new file has been added to the apktool folder, which should be named “PhaseBeam”. Inside that folder, you will observe the following folders/files; assets; build; dist; res; AndroidManifest.xml; apktool.yml. The files that we are worried about are in the “res” folder.
Navigate to drawable-nodpi and you'll find 3 files.
We need to modify dot.png
Here is, for example, how I modify this Dot:
You can add Your preferred logo inside the Dot... using Gimp, Paint.net... Just make sure to save new Dot mantaining .png format and bit-depth autodetection
Once done just compile back:
Code:
[COLOR="#FF0000"]apktool b[/COLOR] PhaseBeam
Now follow those important steps:
Once this is complete, navigate back to the apktool folder and to the PhaseBeam folder.
Now we need to navigate to
build/apk and look for the following files:
AndroidManifest.xml.
Now this is important, we need to replace this file with the AndroidManifest.xml file from the original unzipped PhaseBeam.apk located in apktool folder.
So open the original PhaseBeam.apk with 7-zip, and copy “META-INF” and “AndroidManifest.xml”.
Once you have those copied from the original unzipped PhaseBeam.apk, relocate back to the apktool folder/PhaseBeam/build/apk and paste both of them. If asked to replace, CLICK YES OR REPLACE ON ALL WARNINGS THAT POP UP!!!!
Now we need to back out to the PhaseBeam folder in apktool and click on the folder that is named “dist” where the freshly compiled PhaseBeam.apk is located once we type build command in the command prompt). Once inside the “dist” folder, you will see a PhaseBeam.apk file. DELETE IT…
We never use the first PhaseBeam.apk that we compile, because we needed to added the META-INF and AndroidManifest.xml files for signing purposes. Once you have the 1st compiled PhaseBeam.apk deleted, return to the command prompt and enter the compile command again and compile a 2nd PhaseBeam.apk.
Code:
[COLOR="#FF0000"]apktool b[/COLOR] PhaseBeam
The 2nd PhaseBeam.apk will appear in the “dist” folder and is the usable PhaseBeam.apk.
(thanks to APatte111 for this important part of the guide)
• Now just copy your personal PhaseBeam it under /system/App giving proper permissions rw rr... •​

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 ....

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 ....

Categories

Resources