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.
So far I've found a lot of helpful threads on boot animations... I am simply modifying the existing one on my phone...
what I'm trying to do...
when a thunderbolt boots up it says "HTC"
then it says "HTC quietly brilliant"
then the thunderbolt clip with BAMF in the bottom right corner...
I WANT to replace the .PNG file that has "HTC quitly brilliant" to "HTC quietly rooted" with a pic of an android eating an apple...
THATS IT... I have made the picture i want in photoshop, named it the same name...
I have copied the zip off my phone, put that picture (png file) over the existing one in the .zip.... then renamed the bootanimation.zip file in my phone to bootanimation_original.zip and copied the new verizon to the same file as bootanimaton.zip... the phone boots... says "HTC" then its black and goes straight into the thunderbolt boot thing...
the only thing i can think is that the file is too big... the original is about 14kb the new one is 26kb... I tried saving it smaller but that was as small as i can get it through photoshop...
any help would be much appreciated!... (i also changed the file to 'read only' as the original was also)
please help!
thank you!
So if i understand correctly, you are seeing the rest of the animation.
If that's the case, then it has to be a problem with the image. It could be something as simple as the file name.
If you can't get it figured out, post it here as an attachment and I would be happy to take a look at it for you.
Sent from my B.A.M.F. Thunderbolt
I don't think the file size matters i have made a bunch of different ones. One thing to check is inside the bootanimation.zip file there is a text document called Desc.txt you have to adjust your desc file accordingly. Mainly you want your image width and height.
your desc should look something like this
"480 800 15p 1 45 androidp 1 1 VZWp 1 300 progress"
480 and 800 being you width and height, 15p is your frames per second, 1 is the number of times for the video to loop( change to 0 if you want that animation to loop to boot is complete), and not sure about the 45 i think how long to wait before starting images in the VZW folder. and same goes for numbers after VZWp. Also not sure on the progress most likely to hold last image till boot process is completed.
Edit:
Also when you re compress the ZIP file make sure you change the setting for compression method to "Store"
gadget! said:
So if i understand correctly, you are seeing the rest of the animation.
If that's the case, then it has to be a problem with the image. It could be something as simple as the file name.
If you can't get it figured out, post it here as an attachment and I would be happy to take a look at it for you.
Sent from my B.A.M.F. Thunderbolt
Click to expand...
Click to collapse
Correct, I CAN see the rest of the animation, just NOT that part I replaced... here's how I did it at first... at first I just copied the file out, made the adjustments I waned, and then dragged and dropped it back in the zip'd folder (I use windows XP if that makes any difference) it put my file over the existing one in the .zip.... then i put that in place of the bootanimation.zip on the phone...
THEN i tried downloading 7-Zip... i unzipped the whole file, put my file in, re-zipped my whole folder with NO compression... that killed the entire animation boot up thing all together... I'm using se explorer with root permissions to put these in the system/media folder...
so... yeah... not getting very far...
Tried attaching the .zip but it was 11mb and i can only post up to 8mb .zips... i'll post JUST the image, which is the correct width/height...
it is also named exactly what the other file was named...
I'm not sure what bootanimation file you are starting with but since you say it says BAMF I'll assume it's the bootanimation from the das BAMF ROM.
Actually, I made the bootanimations for the BAMF ROMS.
The only thing that confuses me is that it is only about 4MB in size?
Attached is the one from the BAMF ROM with your picture in it.
Just rename it to bootanimation.zip, put it on tour TB and see if that's the one you wanted.
I put it on my phone to test and it works as it should.
I realize this thread is a bit old, but I'm having a similar problem.
I'm using cyanogenmod on my thunderbolt, but since I like red, I thought I'd try changing the boot anim.
So I extracted the original boot anim and hue shifted the images, then re-zipped it and i get nothing at all. Putting the original back works fine. Is there maybe something that 7-zip does to make it not work, or maybe something that photoshop did to the images? I have opened the zip that i made on the phone and viewed the images there so the gallery can read the images once extracted from the zip. (If that makes a difference.)
Edit: Apparently my problem was that the only way to get it to show was to use store for the zip compression.
Hi guys. I have spent a lot of time to make a boot animation for a rom based on froyobread who some guys are making. But it wont work. I have make exacly like the old one. Same nane on the picture, maps and in the text dock. But it wont work. So i have post the boot animation here and perhaps some nice guy wil help me fix it. Bescause its a relly nice boot animation i think, so please help me. It will make my day
PS : when i put the bootanimation_by.Baronen.zip into media folder in my phone i renamne it to bootanimation_cm6.zip, just like the old one.
Can post download link :/
So i describe instead. I have made it exactly like the old one. And i have butted it where the old one was putted. In system>Media. But it wont work. PLEASE HELP IT WILL MAKE MY DAY
I have that problem too.. I have FroyoBread 23b and i CANT change my bootanimation to BIOS boot animation for xperia x8..
It not working
Denoo said:
I have that problem too.. I have FroyoBread 23b and i CANT change my bootanimation to BIOS boot animation for xperia x8..
It not working
Click to expand...
Click to collapse
froyo bread have 2 bootanimations named bootanimation-cm6.zip and bootanimation-cm7.zip! you need rename bootanimation.zip to bootanimation-cm6.zip and bootanimation-cm6.zip and replace it!
I know but it dont work . Please help :/
Sent from my X8 using XDA App
Place it to data/local
is your desc.txt correct?
240 320 30
p 1 0 part0
p 0 0 part1
Click to expand...
Click to collapse
Dark red is resolution
Dark Green is name ofthe first folder that plays just one, lime color is name of the folder that loops
"30" is fps.
Dare-Devil Inside said:
Place it to data/local
is your desc.txt correct?
Dark red is resolution
Dark Green is name ofthe first folder that plays just one, lime color is name of the folder that loops
"30" is fps.
Click to expand...
Click to collapse
it is correct the desc.txt (for xperia X8 its "320 480" without quotes) also the folders are correctly named and the zip file is in /data/local with the right permissions aswell.
using "adb push bootanimation.zip /data/local"
all that i end up with is a quick boot logo then black screen until the keypad for pin code comes up.
Here is the bootanimation file btw: Bootanimation.zip
UPDATE: saw now it said "part1" and "part2" in desc.txt even tho i didnt type that, so i changed that, pushed file and still same same but lil different =/
Btw ive searched all over XDA and i found a post that said it can be placed inside /system/customize/resource/
is that correct is it it way way waaaay off ?
Yeah we have tried alot off stuff but nothing helps. So please someone help us !!
Problem is your desc.txt
You need to use linux to edit it (or any editor that doesn't use CRLF for separating lines)
Don't make separate lines between the data.
Attachment may help.
I used the Text Editor in Root Explorer, but maybe the problem is, that the bootanimation.zip has to be a store-only-zip,compressed ones won´t work
doixanh said:
Problem is your desc.txt
You need to use linux to edit it (or any editor that doesn't use CRLF for separating lines)
Don't make separate lines between the data.
Attachment may help.
Click to expand...
Click to collapse
Thanks for help dx, tho it went to a complete black screen as before.
im using ubuntu 11 on a virtualbox inside wintendo btw.
no idea why this dont work as intended but curse the one who ever gives up, through hard times you learn
Use notepad++ (or Linux )
Use STORE method when creating zip.
@Baronen, I'm responding to your PM here so i can help others too.. the problem with the animation you sent me by PM is that it's compressed.. When you pack it you need to be sure that the compression is set to "0" or "store", depending on what program you are using..
quoting goonsquadx8
all that i end up with is a quick boot logo then black screen until the keypad for pin code comes up.
Click to expand...
Click to collapse
This happens when the desc.txt has an error or is malformed.. As DX said, you need to use a specific editor, notepad won't do it.. You can use notepad++ but you have to configure it so it treats text like unix.
PIC: http://img155.imageshack.us/img155/7074/notepadj.png
Some other tips:
Always convert your images to 256 colors
Don't use more than 12/15 FPS
Try not to use the native device resolution (320x480), even with low fps the animation will get slow.. take the ones on froyobread for ex, they are slow because the images are at 320x480 (yeah i will fix them when i have a bit of time)
EDIT: goonsquadx8, just saw your desc.txt file, you have blank lines between the arguments
Nikkopt said:
@Baronen, I'm responding to your PM here so i can help others too.. the problem with the animation you sent me by PM is that it's compressed.. When you pack it you need to be sure that the compression is set to "0" or "store", depending on what program you are using..
quoting goonsquadx8
This happens when the desc.txt has an error or is malformed.. As DX said, you need to use a specific editor, notepad won't do it.. You can use notepad++ but you have to configure it so it treats text like unix.
PIC: http://img155.imageshack.us/img155/7074/notepadj.png
Some other tips:
Always convert your images to 256 colors
Don't use more than 12/15 FPS
Try not to use the native device resolution (320x480), even with low fps the animation will get slow.. take the ones on froyobread for ex, they are slow because the images are at 320x480 (yeah i will fix them when i have a bit of time)
EDIT: goonsquadx8, just saw your desc.txt file, you have blank lines between the arguments
Click to expand...
Click to collapse
First of all im a married man with wife and son, but at this moment in time id frigging kiss ya and hug ya and then make wheel carts for about an hour.
thanks to you and doixanh it is properly working now, i used 0 compression and the desc.txt and its working now.
you two sir's/ma'am's are ma new god's *kneels down and make hail mary's*
goonsquadx8 said:
First of all im a married man with wife and son, but at this moment in time id frigging kiss ya and hug ya and then make wheel carts for about an hour.
thanks to you and doixanh it is properly working now, i used 0 compression and the desc.txt and its working now.
you two sir's/ma'am's are ma new god's *kneels down and make hail mary's*
Click to expand...
Click to collapse
LOl, i'll pass but it's the intention that counts xD
NOt work
Hello
this bootanimation:
http://forum.xda-developers.com/showthread.php?t=1064611
not working on my X8 with Froyobread 23b..
First i tried to put the two same folders named
bootanimation-cm6.zip
bootanimation-cm7.zip into system/media
then i rebooted, nothing happened..
then i get back to system/media and i removed the old
bootanimation-cm6.zip
bootanimation-cm7.zip files..
then i rebooted.. i see there is change! >>>
>>> I see android orange logo .. Then i see ,,android´´ logo..
Then i go to Xrecovery.. custom zip. and i install the x8-bios-boot(updated).zip
and reboot and NOTHING.. still the suck orange logo android.
HELP ME PLS!
Baronen said:
Hi guys. I have spent a lot of time to make a boot animation for a rom based on froyobread who some guys are making. But it wont work. I have make exacly like the old one. Same nane on the picture, maps and in the text dock. But it wont work. So i have post the boot animation here and perhaps some nice guy wil help me fix it. Bescause its a relly nice boot animation i think, so please help me. It will make my day
PS : when i put the bootanimation_by.Baronen.zip into media folder in my phone i renamne it to bootanimation_cm6.zip, just like the old one.
Can post download link :/
So i describe instead. I have made it exactly like the old one. And i have butted it where the old one was putted. In system>Media. But it wont work. PLEASE HELP IT WILL MAKE MY DAY
Click to expand...
Click to collapse
I usually put my animation in the media folder in froyo bread and it works...only thing I do is make a copy of the zip file and will name the two zip files bootanimation_cm6.zip and bootanimation_cm7.zip....and will keep these both files in system>media folder....
when making the animation I usually takes the dimensions of the picture around 256x256 pix...also in the text file I write 320 480 as my resolution...this will help to stretch my pic to full screen......
Okey thanks everyone it works fine now !!!!
XDA is the best
Denoo said:
Hello
this bootanimation:
http://forum.xda-developers.com/showthread.php?t=1064611
not working on my X8 with Froyobread 23b..
First i tried to put the two same folders named
bootanimation-cm6.zip
bootanimation-cm7.zip into system/media
then i rebooted, nothing happened..
then i get back to system/media and i removed the old
bootanimation-cm6.zip
bootanimation-cm7.zip files..
then i rebooted.. i see there is change! >>>
>>> I see android orange logo .. Then i see ,,android´´ logo..
Then i go to Xrecovery.. custom zip. and i install the x8-bios-boot(updated).zip
and reboot and NOTHING.. still the suck orange logo android.
HELP ME PLS!
Click to expand...
Click to collapse
I have edited you file and now its working in our x8.....
copy both the attached files to system>media folder...
make sure no other zip files is there in media folder other that these two...(I mean delete old animations).Restart your phone....hope it works for you!!!....take care
Orange logo will come...after that animation starts...
I tried your guide and that happened:
Sony ericcson logo
Orange android robot
,,android´´ logo
NOTHING WORKS
sandy4everyone said:
I have edited you file and now its working in our x8.....
copy both the attached files to system>media folder...
make sure no other zip files is there in media folder other that these two...(I mean delete old animations).Restart your phone....hope it works for you!!!....take care
Orange logo will come...after that animation starts...
Click to expand...
Click to collapse
Are you sure that they work? I haven't tried them but i noticed that the desc.txt files have blank lines between the arguments and i'm not sure if android likes those filenames... For ex, you named them xxxx_280x420.png and i think that the number sequence "xxxx" must be at the end of the name, although i can be totally wrong
Anyway, one thing you can do is to reduce the color number to 256 and those 3MB files will drop to half a kilobyte
I absolutely love the SGSII lockscreen on TSM Resurrection. But instead of AM/PM being displayed properly next to the time, I get Jan./Feb. instead. Looks like something inside the XML files inside framework-res.apk is messed up. I tried decompiling the APK and removing the AM/PM references in res/layout/zzz_keyguard_screen_clock.xml, but when I try to recompile and boot, the phone will get just hang at a black screen after the boot animation.
Any help would be appreciated.
Thanks.
sujaanj said:
I absolutely love the SGSII lockscreen on TSM Resurrection. But instead of AM/PM being displayed properly next to the time, I get Jan./Feb. instead. Looks like something inside the XML files inside framework-res.apk is messed up. I tried decompiling the APK and removing the AM/PM references in res/layout/zzz_keyguard_screen_clock.xml, but when I try to recompile and boot, the phone will get just hang at a black screen after the boot animation.
Any help would be appreciated.
Thanks.
Click to expand...
Click to collapse
it would actually be a resource id in android.policy.jar in one of the sgs2 lockscreen files....if i get a chance this week or next ill flash the rom and edit the file
No sweat, I know this is pretty far down on the list of priorities. If I can somehow figure it out before you do I'll post the file here. Thanks for the pointer. Trying to understand how this stuff works a little better...
OK, after decompiling android.policy.jar, I need to edit UnlockClockGB.smali to fix the AM/PM, but I don't know enough Java to figure out what's going on in there. I only know Python. I'd just remove the AM/PM reference, but don't know which method to change to remove it.
Just for your information, I'll keep working.
Hello. I'm using a Galaxy Y and no one there from the boards seems to know exactly how this stuff works so I thought I'd ask here. So I've picked a few icons from the Galaxy Ace which I think would look briliant and I thought I'd try replacing only the png files instead of downloading the apk file, replacing the icons with 7zip and such, signing (if needed?) and then sending back.
I'm asking how this works because I've stumbled upon a flashable zip which seems to only replace png's inside the apk files instead of replacing the whole apk file.
Here is an example of what I'm talking about:
http://www.mediafire.com/?xycxo8vvvwqr29t
^ I saw some apkreplacer file in there.
Now I removed all the icons there and only left the ones I want to use and I also edited the Icon.sh file and left out only the lines for the icons that I want to be replaced. Saved, signed, flashed, no changes. (Tried both CWM and stock Recovery)
Any tips on how to do this? All I want is the Touchwiz blue icon changed, the Phone icon and the SMS/MMS.