{
"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:
Related
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
Hello Guys,
I was just getting bored so decided to share some of my knowledge regarding compiling and editing .9.PNGs using draw9patch tool from Android SDK and xUltimate 9PatchCompiler. This is based on what I learnt when I created my Ice Cream Sandwich Theme.. This is not for N00BS. It's just for people who are willing to learn new things.. There are easy methods to do this but I like this one.
I am not responsible for any damages caused due to following this guide.
WHAT YOU NEED -
Click to expand...
Click to collapse
1. The Android SDK ( It contains Draw9Patch Tool ) (requires JDK for installation)
2. xUltimate 9PatchCompiler
3. Photoshop/GIMP (For Resize)
4. APK Manager (For Decompiling APKs)
5. Common Sense
6. Lots of Patience and some experience in de-compiling APKs
HOW TO -
Click to expand...
Click to collapse
1. De-compile the APK whose .9.PNG you want to re-size using APK Manager (you need to decompile as you need Raw APK for resize otherwise it will look weird). Browse to that decompiled .9.PNG. You will notice Black LINES/DOTS are in border of that .9.PNG (see the example Pic Below)
{
"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. Now carefully observe these lines and remember how it looks. You need to remember the pattern on how these lines are drawn. Every Line/Dot is important and if you fail to realize you will end up with an error during last few steps.
3. Suppose you need to re-size the APK to a x b px resolution then open up Photoshop/GIMP or any editor and re-size the image to a+2 x b+2 px resolution.
4. You will notice some Lines/Dots will disappear. It's all fine.
5. Now browse to directory where you have installed Android SDK and go to TOOLS folder in it and fire up the file named draw9patch, when you are done it will open like image below.
6. Now go to File and click Open 9Patch and then open the .9.PNG you just resized to a+2 x b+2 px , it will look something like
7. Now construct the missing lines on basis on the pattern you memorized before re-sizing image. Be careful, and draw cautiously. To draw you just need to drag mouse while left-clicking. You can delete lines by pressing shift button and and left clicking and dragging.
8. When done, go to file again and save the image.
9. Go to directory where you image was there and copy it.
10. Navigate to directory where you have extracted 9Patch Compiler ZIP and paste the .9.PNG to GO-INSIDE/res/drawable-mdpi.
11. Go back to main folder and click xUltimate-COMPILER this will generate a folder done in same directory if you have drawn lines properly.
12. Go to /done/GO-INSIDE/res/drawable-mdpi and you will find there is your .9.PNG compiled with no black Lines/Dots.
YOUR 9.PNG is ready for use.
reserved for something i forgot..
a good video for the 9.png is found here:
http://www.youtube.com/watch?v=IfrXE2R2nqM&feature=related
it´s a bit long with a lot of text, but it is worth to view and to get a good start with this guide.
A better example would be one a picture with a letter or a pattern in it, a uni color png is not very good for a graphical explanation for what the black lines are good for and what the effect will be.
No offense bro, just a tick to improve this topic.
cheers
qaysed
As much as I appreciate your work, but there's already a more detailed tutorial available here:
[TUTO] Create your 9.png !
you have done a good work friend but there are optimizer software's better and makes easy just suggestion
venkat kamesh said:
you have done a good work friend but there are optimizer software's better and makes easy just suggestion
Click to expand...
Click to collapse
Yeah, I know.. Just in case somebody wanted to learn I made this coz I had to struggle a lot to learn this coz there werren't good tutorials..
Android App Theming Guide(Self)
This is my guide on how to create themes for Android Apps.
First lets start with desktop preparation.
Tools you need
Decompiling tool : apktool
Image Editor : Adobe Photoshop(paid) or Photoscape(Free)
IDE : Notepad++ (one of the best code reading tool)
Tools and SDK : Android SDK with any API(API-10 if you want to theme only for SGY)
1.Download apktool and extract the files in windows root directory (windows) or add the directory where aptool files are in to PATH
2.Navigate to directory where the apk file is using cmd and type
Code:
apktool -v d filename.apk destinationdir
4.Now you have the folder with all the xml files and images which are now in human readable format.
Reserved
Image files
First, Lets start with editing the image files..
Before that android uses png image files mostly as this format contains transparency and alpha stored in image and it is light.
The two most used image files are .png and .9.png.
The file .png can be edited by the photo editor i have posted but the .9.png requires a seperate care.
For editing .9.png first you have to use normal photo editor to edit the image and then drag the resulting png image into the draw9patch file in sdkdirectory/tools.
So What is this .9.png????
Unlike normal png files this .9.png files contain information for expansion of the image according to the content inside.
With the draw9patch draw black borders to the edges what you feel that has to be expanded.
This is how the draw9patcher screen looks like
{
"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"
}
XML Files
Now the second part is the xml files..
These are present in res folder.
Android uses xml files for the user interface part of the app and Java for the logic.XML files are the very important files used by an Android App.
XML files are for Layout,Manifest values..etc
We are not going to tamper with these xml files a lot.
The basic operations using XML files are editing the layout and animations or drawables etc.Also Xml editing is used to change string values in APP.
You can also add additional image to android apps.This can be exactly done by,
Choose the required image and put it in /res/drawable folder.
Now open the folder values inside res and open public.xml using Notepad++ and go to the last line of type drawable (incase of image) or any other depending on resource and create a new line like
HTML:
<public type="drawable" name="imagename" id="" />
In the place of id put the id of your previos line incremented by 1.It is in HEX so for example if my previous line ID is 0x750395f then the id for this line will be 0x7503960
SMALI FILES
smali files are present in the folder src.This is somwhat tricky part as these are dalvik-bytecodes which are of low level language and are similar to the java files you write.These are the files you have to modify in order to change the app permissions or if you want to mod the app by customising features and adding additional features.You can find more information of smali here
Tip:If you find smali difficult just write your code in java and build it.After that decompile the resulting apk and take the smali code from it...
Now once you are ready with all just build app by
Code:
apktool b WorkingFolderName appname.apk
Pls dont forget to sign your app
Press Thanks is this was helpfulll :good:
Thanks and Gud luck
optimus
Nice guides
ROM EVOLUTION X3
KERNEL HELL FUSION
ALINS JB THEME + EVOLUTION S3 STATUS BAR.
Thanks
Really needed it.
Sent from my GT-S5360 using xda app-developers app
Nice guide
PHONE SLOW CLICK ME?
_____________________________________
"No one lives in the slums because they want to. It's like this train. It can't run anywhere except where its rails take it."- Cloud[FFvii]"
Is there a more simpler way of creating themes? Like using drag and drop method? Can someone provide a link?
nice, will try it on my phone but it is s6312
hope that it works
So, if I want to change my stock ROM pop up look like ICS, I must edit 9.png ?
metalhead\m/ said:
nice, will try it on my phone but it is s6312
hope that it works
Click to expand...
Click to collapse
Nice Guide
hi friends
today im here again with a new Thread
in xperia phones , Stock SMS app is very great and perfect , and i love that , but i was always looking for a way to change StockSMSapp Smileys , i use google and and XDAsearchtool but i couldent find any thread about this, that can be used for xperia phones sms app
i test many many ways and finally i could find a way >> i can now replace ANY EMOJI that i want to original smileys
but how ??
im here to share this , with you guys and i hope that be useful for you
{
"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"
}
Follow this Steps :
1. COPY YOUR Conversetion.apk from System/App to >> your pc
2. make a copy of Conversetion.apk and rename it to Conversetion2.apk (for example)
3. change Conversetion2.apk to >>> Conversetion2.zip
4. extract the Conversetion2.zip and find this 3 folders in "res" :
drawable-hdpi
drawable-xhdpi
drawable-xxhdpi
Your current smiley are in this 3 folders
5. copy your favorite smiley(like Viber Smiley) to somewhere
6. see the name of smiley in this 3 folder and change the favorite name to them , etc :
for example the sad smiley name in default app is : conv_smiley_no_speak.png
change the your favorite smiley's name, that you want to replace with default smiley , to this >> conv_smiley_no_speak.png
and do it for ALL OF SMILEYS
7. then you should copy and replace all of the Renamed Smileys to that 3 folder to replace with default smileys
how do it ??? go to step 8
8. open WinRAR.exe !!! drag and drop Conversetion.apk to winrar ! you see META-INF and res folder and other files that are in apk file , ok ?
now in winrar , open the res , find this 3 folder :
drawable-hdpi
drawable-xhdpi
drawable-xxhdpi
enter to them Turn to turn and drag+drop all smileys in folders
your smiley must be replaced in all of this 3 folders
now its done :victory:, close winrar window and copy Conversetion.apk to your System/App and changed primission to Rw-r-r
reboot device and enjoy from New Smileys
Related Point :
1. if you want any app's smileys , just do it : anyapp.apk > rename to > anyapp.zip
and extract anyapp.zip !!! you can find the app's smiley in one of the folders ! good luck :victory::victory::victory:
2. if you want change smiley in Keyboard too , so do this guide for Xperia keyboard apk file :good:
Nice post but..
Smiley's won't appear on the receiver phone Because they need to have same Conversation.apk
right ??//
zaryab said:
Nice post but..
Smiley's won't appear on the receiver phone Because they need to have same Conversation.apk
right ??//
Click to expand...
Click to collapse
thanks
yes Of course ! after changing the conversation apk just you can see changed smiley !
but it is good point ! >> for example i dont like default smily and i love viber smiley , but maybe you dont like vibers emoji ! and you Prefer Default smiley ! so its good because both of us can see our favorite smiley
if you want your friend see changed smiley too , you have send him your edited conversation
{
"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