This is my first attempt to make a themer theme. It's for 800x480 resolution.
I've attached the zip for those who want to try it, but you need to change all texts because are in my native language.
Related
I am aware that there are other ways to edit the fonts on our phone, by replacing renaming the default font. This is NOT what I would like to accomplish.
Since the Galaxy S is the first android phone to use Flipfont, I think we should take advantage of it. It gives us a nice preview of the font in the built in menu option and is thus superior to the other methods.
I originally purchased the Bauhaus font from the market and made a backup of it through ASTRO. After pulling the file from my phone and putting it on the computer I started editing the file with Apk Manager 4.8 found here
Steps preformed
Copied original apk into place-apk-here-for-modding folder
Run script.bat and choose option 9 ***this maybe where the issue is as I may need to choose option 10 and include the dependancy if there is one for the flipfont apk.
replace bauhaus.ttf with a .ttf font of my choosing
edit all XML, yml and smali files to include the font name or font.ttf depending on the entry in the original file *** I did not change any of the other coding so again this maybe where the problem is, as I may need to change something else to have the font act properly.
Edit the last folder name in the smali folder tree from bauhaus to the name of my font
Replace font with custom font and replace the preview image with my own
Compile apk
Sign apk
Rename apk
install apk on my phone
After putting the apk on my phone and installing the file it shows up as expected in settings>Sound and Display>Font style. The font thumbnail shows up properly as does the font preview. The preview does show up a little larger then the other fonts and may be a sign that the font is not optimized properly or that I missed something in the XML.
After applying the font and restarting, the phone is extremely slow and the font does not show up, it shows the default font instead.
If anyone that knows more about XML or apk editing/creation can help it would be great.
I have included the edited font apk if you would like to download it and run it through Apk Manager 4.8. If you want to try it with the bauhaus or one of the other fonts you will need to buy it from the market and back it up. (trying not to break any rules here.)
CAUTION THE FOLLOWING FILE IS NOT MEANT FOR USE AND WILL CAUSE YOUR PHONE TO RUN SLOW!!!
Download Font APK
here is my contribution to the fonts package. I find these to be usable fonts in the Vibrant Android system.
When you wrote the apk and after installing a font, how it had slowed down the system on you and didn't change the font, well did you try writing a different font into it? i ran into a couple of fonts that said were applied using typefresh, but when the phone rebooted, it was just slow, and had gone back to the default system font.
renegadedj said:
here is my contribution to the fonts package. I find these to be usable fonts in the Vibrant Android system.
When you wrote the apk and after installing a font, how it had slowed down the system on you and didn't change the font, well did you try writing a different font into it? i ran into a couple of fonts that said were applied using typefresh, but when the phone rebooted, it was just slow, and had gone back to the default system font.
Click to expand...
Click to collapse
Well I have tried two different fonts so far, both .ttf and they both caused the system to slow down/hang when applied and restarted.
I will try some of the fonts you supplied and see if it makes a difference.
There must be something about certain fonts that causes the problem. I need to see if I can track that down as it will be important for writing the tutorial.
[EDIT][More info] Ok I took a closer look at the font that came with the Bauhaus akp
In the discription of the font it list:
OpenType Layout, Digitally Signed, TrueType Outlines
I know that opentype is a new format and that alot of the fonts for OpenType that I find are made by Monotype, the same people that make the fonts available for download. I think this may have something to do with it or maybe Im just grasping. :ºp
ritalin said:
Well I have tried two different fonts so far, both .ttf and they both caused the system to slow down/hang when applied and restarted.
I will try some of the fonts you supplied and see if it makes a difference.
There must be something about certain fonts that causes the problem. I need to see if I can track that down as it will be important for writing the tutorial.
[EDIT][More info] Ok I took a closer look at the font that came with the Bauhaus akp
In the discription of the font it list:
OpenType Layout, Digitally Signed, TrueType Outlines
I know that opentype is a new format and that alot of the fonts for OpenType that I find are made by Monotype, the same people that make the fonts available for download. I think this may have something to do with it or maybe Im just grasping. :ºp
Click to expand...
Click to collapse
well you may be on to something, because TypeFresh does not allow me to see ANY OpenType Fonts (.otf) and only TrueType. :-D
Ok so I was curious and did a little test. I took the bauhaus font from the apk and opened it up in FontCreator 5. I then took on of the fonts that had previously given me an issue and opened it up as well. Then I copied all of the fonts for each key from the problematic one and replaced the fonts in bauhaus with them. I saved the file with a new name and then went through all of the steps to create the APK file.
After the file was installed, I selected it and then rebooted. HAZA, it works. Well it kinda works. The font size is way too big, and its still running slow. I have a feeling that the proformance hit is caused by the size of the font.
I am going to resize all of the letters, numbers and symbols in FontCreater and try again. Will post back with results.
Few steps forward, few steps back.
First off I will say that the font is a little hard to read and too light, but this is just for testing so its not that big a deal right now.
Ok so I got hold of a font that about the same size as the Bauhaus font. After doing everything in the above posts and installing the font, the restart was a LITTLE bit faster. It still seems to choke for about a minute or so after the desktop first appears and the pass based lock screen is sometimes unresponsive on first try. Overall its running much better, but still not perfect.
Also some words see to get clipped off for no reason as you can see in the image attached on the text for the Astro bluetooth icon. Not sure why this is happening.
Ok, I'm going around in circles trying to find out if I can theme a rom. I've done themes, icons, UI (just the images, not the xml's or codes) I would love to create my own theme for a rom, but how does it work?
I wanted to create a rom but its difficult when you're not a code person. but I am good with photoshop. Can somebody tell me how to start a theme. There are so many good ones for other phones and I would love to create a nice one for the Eris.
what i would do is grab one of the themes that are available and take it apart and see how it was done, but best of luck man,
I personally have not made any themes but i do like to tweak things where i can, and that would be a step i take to figure something out.
snyluc13 said:
what i would do is grab one of the themes that are available and take it apart and see how it was done, but best of luck man,
I personally have not made any themes but i do like to tweak things where i can, and that would be a step i take to figure something out.
Click to expand...
Click to collapse
thanks. I wanted to theme like the phone dialer, calculator, and maybe the drop down screen. Is that possible?
You can theme phone, kb, notification panel, etc...anything really
To theme the "system" stuff you need to modify framework-res.apk (can be found in /system/framework)
To theme anything else you just need to modify the .apk files, i.e. to theme the phone dialer you need to modify phone.apk and contacts.apk
To theme anything you will need to change the file extension to .zip (.apk changed to .zip) and then extract the file so that you can explore what is inside. Most image and xml files are stored in /res/drawable-mdpi
Once you have modified .png and xml files you will need to zip the file and then sign it so that it can be used on android. There are a number of tools for signing .apk files, just google it.
Hope this helps a little...
So if I make a custom theme in UOT kitchen, I can just make it a theme to use in Theme Chooser?
Do I still have to flash anything in Recovery?
And I thought boot animations couldn't be changed with a Theme Chooser theme...
Edit: OK so I got the zip, and does appear that yes I need to flash it, since its more than just an .apk. But is all of the mods done in Theme Chooser or are some independent (ex. boot animation).
Also, read somewhere else that flashing a new ROM build won't undo the custom mods. True?
Edit 2: "This theme was improperly compiled and cannot be applied. Please report this incident to the theme author"
There something special we have to do out of the norm?
YouArePoop said:
So if I make a custom theme in UOT kitchen, I can just make it a theme to use in Theme Chooser?
Do I still have to flash anything in Recovery?
And I thought boot animations couldn't be changed with a Theme Chooser theme...
Edit: OK so I got the zip, and does appear that yes I need to flash it, since its more than just an .apk. But is all of the mods done in Theme Chooser or are some independent (ex. boot animation).
Also, read somewhere else that flashing a new ROM build won't undo the custom mods. True?
Click to expand...
Click to collapse
You can technically make a theme Chooser APk. But it never worked for me. I had to use the zip way. And had to use every workaround to get it to work. Its true that it does modify things other than theme Chooser files. But flashing a new rom wipes everything.
Sent from my HTC Vision using XDA Premium App
You can pull the .apk out of the zip file and apply it using theme chooser.
I have had the best success using the empty theme apk available from the UOT site, just make sure you uncheck the "Theme chooser preview" box on the upload tab and choose CM7 theme.
It won't apply the boot animation, but you can also extract the bootanimation.zip and apply the boot animation through romtools.
ykameron said:
You can pull the .apk out of the zip file and apply it using theme chooser.
I have had the best success using the empty theme apk available from the UOT site, just make sure you uncheck the "Theme chooser preview" box on the upload tab and choose CM7 theme.
It won't apply the boot animation, but you can also extract the bootanimation.zip and apply the boot animation through romtools.
Click to expand...
Click to collapse
Even with 'theme chooser preview' it still fails for me. did a straight .zip from files and most all works. Did battery, animation, and font fine. Icons didn't seem to take however
Edit: Scratch that, icons took too. Just had to undo the 'Bionic Blue' theme and go back to 'System'
Im just wondering and am trying to build my first theme now. thanks
What exactly are you trying to do?
The SystemUI.apk holds a lot of elements for a theme. Themes for notifications and statusbar icons are in the SystemUI.apk. The other main files to theme are framework-res.apk and com.htc.resources.apk.
(You need these 3 if you are going to do a theme in uot kitchen)
haha no i mean like an HTC sense theme.. like the skins
oh the skins can be both a system (the built in skins) and data apps (ones downloaded from the market).
Is that what you meant?
yea so if i install it from an APK then its not concitered a system APK correct? so when i am asked if i want to retain signature or re-sign i should resign it right?
are you doing the theme on one of the stock ones I think its bluesky.apk or burgandy.apk? if so, they are system so then you will want to retain it. If you changed the name and manifest to reflect your own named apk, then yes resign it.
Hello everyone, I'm trying to finish up a theme in widgetlocker but I'm running into an issue. I want to change the image for an ICS style slider. The image I found online is 256x256. I tried resizing it with Gimp to 162, 132, and even 102 but everytime I zip the folder and put it on my phone, it shows up as the huge 256x256 size. In the file properties for the resized image it shows as whatever I have resized to. Why will it not shrink in my theme? Any ideas?