[MetaMorph]Swype Themes: Voice Input only - Fascinate Themes and Apps

YOU MUST HAVE A SWYPE.APK LOCATED IN /SYSTEM/APP/ FOR THIS METAMORPH TO APPLY!
To summarize, when you type "ls /system/app" in your terminal on your phone, you should see a "Swype.apk" file located there. If not, go to the instructions right after this notice in the post.
====Theme Application Instructions============
You MUST have this file: /system/app/Swype.apk
The theme is designed to apply to Galaxy S phones where we already have a Swype.apk located there. If you are using an installed version, follow these steps to determine how to continue from here:
In Terminal type:
Code:
ls /system/app/
If you don't see a Swype.apk or a com.swype.android.inputmethod.apk listed, then type this:
Code:
ls /data/app/
If you still don't see a Swype.apk or a com.swype.android.inputmethod.apk, you're in the wrong thread
If you found that your Swype file is located in the system directory, then you are 3/4 of the way to being prepared for a metamorph theme. If this is you, but your file is named com.swype.android.inputmethod.apk, check the next step to get set up to apply the morph.
-------------------------------------------------------------------
In order for the morph to apply, the file HAS to be named Swype.apk.
So, to get to that point, do this:
In Terminal:
Code:
su
cp /system/app/com.swype.android.inputmethod.apk /system/app/Swype.apk
Now that you have the Swype.apk in your /system/app/ directory, continue on to the theme application step.
-------------------------------------------------------------------
If you are not one of the lucky ones to have Swype in your /system/app/ directory and it is in your /data/app/ directory, follow these steps to allow the file to be themed by metamorph:
In Terminal:
Code:
su
cp /data/app/com.swype.android.inputmethod.apk /system/app/Swype.apk
or
Code:
su
cp /sd-ext/app/com.swype.android.inputmethod.apk /system/app/Swype.apk
Basically, we want to get a copy of the Swype file in the /system/app/ directory, with the EXPLICIT name of Swype.apk, so that the theme will read it and apply it accordingly. Once you have done this, move onto the next step.
-------------------------------------------------------------------
APPLYING THE THEME
Now that you have a Swype.apk file in your /system/app/ directory, it's time to apply the Metamorph. If you have read this far, I'm assuming you already know how to use this application, so go through the usual steps and apply the theme, TWICE, ALWAYS TWICE!
If you have a themed Swype.apk, then you are ready for the next step, which will be replacing the normal Swype with the themed Swype.
-------------------------------------------------------------------
For those with Swype in /system/app/ :
Code:
su
mv /system/app/Swype.apk /system/app/com.swype.android.inputmethod.apk
Then Reboot.
For those with Swype in /data/app/ :
Code:
su
mv /system/app/Swype.apk /data/app/com.swype.android.inputmethod.apk
Then Reboot
==============================
Ok, in an effort to consolidate all of my threads in the Galaxy S forums, I am posting my WVGA Swype theme work here.
Most of the time I have to apply these themes twice in order for them to work correctly, so instead of getting ahead of yourself, or skipping over instructions in the OP, just APPLY THE THEME TWICE.
The images are only samples, and the on screen view is much clearer.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
WORD CHOICE WINDOW BLACK TEXT CORRECTION
The coloring outside the word choice window doesn't actually show in the theme, it's just compressed weird by 4shared
Blue
http://www.4shared.com/file/WCma2Zd3/Blue.html
{
"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"
}
Green
http://www.4shared.com/file/h7Wq88Ni/Green.html
Grey/Black
http://www.4shared.com/file/dG7dMVeZ/Grey.html
Orange
http://www.4shared.com/file/PlZxDT5q/Orange.html
Purple/Pink
http://www.4shared.com/file/802Kw-mF/Purpinkle.html
Red
http://www.4shared.com/file/j0gmvY2E/Red.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Currently, Voice Input ONLY is supported, Now that I have completed my Hoey Phone 7 theme, I will be finishing up my conversion of all themes to Non Voice Input.
Stock Revert Theme:
http://www.4shared.com/file/GfQobUNA/StockSwype.html
Galaxy S Green
http://www.4shared.com/file/kPlp_3T5/StockGreen.html
Galaxy S Red
http://www.4shared.com/file/PO4dpdRT/StockRed.html
HTC IME:
http://www.4shared.com/file/AY1TvDfp/HTC_IME.html
Naked Red
http://www.4shared.com/file/dXU8D3YW/NakedRed.html
Naked Blue
http://www.4shared.com/file/d30k_ywj/NakedBlue.html
Naked Green
http://www.4shared.com/file/rbszsak-/NakedGreen.html
Naked Gingerbread
http://www.4shared.com/file/xWKD-elj/NakedGingerbread.html
Naked White
http://www.4shared.com/file/_Bw9RAPK/NakedSwype.html
Naked White Blue
http://www.4shared.com/file/5oen08Mg/NakedWhiteBlue.html
Naked White Green
http://www.4shared.com/file/mGXGj477/NakedWhiteGreen.html
Naked White Orange
http://www.4shared.com/file/UnQ4u2HE/NakedWhiteOrange.html
Naked White Pink
http://www.4shared.com/file/J4_BVRA1/NakedWhitePink.html
Naked White Purple
http://www.4shared.com/file/FP2OB5Dq/NakedWhitePurple.html
Naked White Red
http://www.4shared.com/file/Ch8gYAfM/NakedWhiteRed.html
Naked White Yellow
http://www.4shared.com/file/5Uz8mYIC/NakedWhiteYellow.html
Black Glass
http://www.4shared.com/file/zMXvFHVr/BlackGlass.html
Hoey Phone 7
http://www.4shared.com/file/tdJQkar8/HoeyPhone7.html
Hoey Phone 7 Galaxy Flavored
http://www.4shared.com/file/sXRXsYsE/BlueHoeyPhone7.html
Hoey Phone 7 Red
http://www.4shared.com/file/pYtXTaWe/RedHoeyPhone7.html

Very nice. I want mine with a mic button for voice input if I choose.

How could I port these to the Nexus One? I tried and Metamorph gives me an error about it not being created correctly.

awesome job. What font do you use?

here is a screenshot of one of the keyboards i'm currently working on

Am I missing the Fascinate link ? I see all the other phones.
I'd love the blue one.
thanks!

fascinate just came out, so I haven't had a chance to get the files from system dump for names, etc... I'm also busy w/ other projects

these themes work on the fascinate but the mic button and swype button are a little off

OP updated with new themes (corrected Naked Swype, NakedBlue, and Stock)
more to come as I get back into the swing of things.

Black Glass is now on the OP
For those of you wondering about the themed Swype trail colors, this presents a unique problem for me, since Swype doesn't seem to want to allow simple hex code modification to their precious core library files. The Vibrant, Epic, Fascinate and Captivate all have DIFFERENT core libraries that the keyboard works from. The challenge, therefore, is that the different versions of Swype are difficult to theme, since I have 4 different library files, and about 8 colors I use. The Swype trail color hex code also controls the highlighted word in the word choice window, so if you add a red line theme, the highlighted word will also be red.
My solution, then, is to only offer a pay-by-theme sort of service. Releasing these library files requires way too much work to support like metamorph themes. I am thinking of how I can implement this, I'll get back to ya'll

Updated OP with correct links and screenshots. Made a few subtle changes to the existing themes, and threw in some new ones. got a few in the works as well

how do you install these?

Use a free application from the market called Metamorph.
You have to be rooted to apply them.

The links are dead for me. Really could use the stock swype back!

hoey2011 said:
Use a free application from the market called Metamorph.
You have to be rooted to apply them.
Click to expand...
Click to collapse
I downloaded that and I am rooted. It gave me an error about swype.apk does not exist. I use swype texting method, what does this mean?

Ok, then you should go into the terminal and type:
Code:
ls /system/app/
and this will give you a list that contains all your system applications. You have to have the Swype apk file in your system/app location in order for this theme to apply. Metamorph does not theme market apps (meaning if it's located in your data/app partition, it will not apply correctly.)
So, the best way to do this, is to use Root explorer, place a copy of your Swype.apk in /system/app, apply the metamorph, then replace the regular Swype.apk from /data/app with the themed Swype.apk from /system/app. make sense??

Ok guys, I just posted the Hoey Phone 7 and Galaxy S-Flavored HP7 themes!
I saw a guy somewhere online that had been designing the same sort of theme for Swype on Windows 6.1 phone or something, and all I could get from it was .cab files. I don't know what to do with a .cab file, and don't have much inclination to learn, so I just decided to start from scratch. I might post color variations of it besides the plain HP7 Grey and the Galaxy Blue, but right now, I will be turning my focus to making a full V.I. and non-V.I. theme set. That way, you can have your cake AND eat it
I worked extra hard on the HP7 theme, so please leave your feedback

hoey2011 said:
Ok, then you should go into the terminal and type:
Code:
ls /system/app/
and this will give you a list that contains all your system applications. You have to have the Swype apk file in your system/app location in order for this theme to apply. Metamorph does not theme market apps (meaning if it's located in your data/app partition, it will not apply correctly.)
So, the best way to do this, is to use Root explorer, place a copy of your Swype.apk in /system/app, apply the metamorph, then replace the regular Swype.apk from /data/app with the themed Swype.apk from /system/app. make sense??
Click to expand...
Click to collapse
i cant copy or move swype.apk to that folder, any ideas why?

Try this:
Open up your terminal application (if you don't have one, just download a Terminal Emulator app from the market).
Type this:
Code:
su
cp /data/app/com.swype.android.inputmethod.apk /system/app/com.swype.android.inputmethod.apk
Then, apply the metamorph to the Swype.apk. I usually apply it twice for good measure, for some reason there is a glitch that will occasionally cause the application to no longer appear to the system (Small problem with metamorph, but not a real problem). Once you applied the theme, then type this in your terminal:
Code:
su
mv /system/app/com.swype.android.inputmethod.apk /data/app/com.swype.android.inputmethod.apk
I typed the com.swype.android.inputmethod.apk name from memory, I'm not sure if the betas or official versions are all using the same .apk names. In order to determine EXACTLY what you need to type in that command line in the terminal.
Let me know if that works for you.

now swype is gone, i cant find it anywhere, and it wont let me reinstall it either...

Related

[Ref Tutorial] Changing the boot animation screen on google builds

Ok, so I know a lot of you are looking for a simple process to get the animation screen changed on non-hero/htc builds. Well, we can do it.
First, animated gif images dont work for google builds as of yet (at least that I've heard of), so scrap that idea right now.
The google boot animation is a combination of two images:
android-logo-mask.png
{
"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"
}
and
android-logo-shine.png
(images taken from Dude's 1.3RC1)
Now, the way this works is as so:
android-logo-shine is the color in the background. it scrolls across repeatedly, and that white stripe on there makes it look like it's got a light glimmer on it. android-logo-mask is the actual image. When it's all put together, it looks something like this (imagine the background color scrolling across as your phone is loading)
now, I've played with this some and my current logo is 256x265. The logo cant really be any wider than 256 pixels or it will crop off the edges of the screen. The shine has to match the image in height, but the width is fine at 512.
there are multiple methods for doing this. first is the old-school method for people who like to do things the old fashioned way.
So heres what you do: (VIDEO TUTORIAL HERE: http://www.youtube.com/watch?v=QMrn3n_ayHI)
1.)take your favorite rom and favorite unzip program (i use winrar). open the rom up and navigate as follows:
system--->framework
2.)you will see a file called framework-res.apk. open this file (again, winrar works good for this).
3.)open the assets folder, then open the images folder.
4.)you will see the two png files i mentioned above. extract them both to your desktop, but DO NOT CLOSE THE FILE BROWSER (unless you want to navigate to that folder all over again).
5.)now comes the fun part: editing your images. this is where it gets a little more complex:
-on the mask, any area you want the scrolling color to show up must be TRANSPARENT. You can put just about any text or image on there that you want, but the scrolling color from the shine image will not show through without the transparency.
-the shine image can be any colors you want, so feel free to play around with some schemes until you come up with something you like.
6.)after you're done and you've saved both images the way you want, put them back in the same folder you took them out of (framework-res.apk\assets\images)
7.)once you've put them back in, you have to resign the whole update. this is a very easy process that is laid out for you in this thread that stericson put together.
8.)throw the newly signed update.zip on your sd card, boot into recovery mode, flash, and reboot. you'll be happy with the result.
Just to give you guys a little taste, heres what my FIRST design looked like:
(just use your imagination to picture the red/white background scrolling across the android and lettering)
A couple things to point out for you artists: the "shorty's android" and the android outline are the only transparent parts, so they will show the scrolling color. The "1.5 customized" and android eyes are solid colors, so they dont scroll/change/nothing.
Now, at this point in time, I havent found any way of adding music like the htc/hero builds can do. If anyone figures that out, let me know and I can add it to this tutorial, with credit to you, of course.
Enjoy your spiffy new boot animations guys, and please post some screens here so we can all admire your work.
New addition guys: for those having trouble with the directions, I made a video tutorial to help out! Check it out here:
http://www.youtube.com/watch?v=QMrn3n_ayHI
Next, and probably the easiest method of doing this is to use METAMORPH! If you dont know what metamorph is, well, you're behind the times and need to check out this thread:
http://forum.xda-developers.com/showthread.php?t=591329
If you are familiar with using metamorph to at least install themes on your device, then you're set.
So how do you do it using metamorph? Simple.
First, you're going to create a brand new folder and title it "bootanimation" or whatever you choose.
Now, inside that folder, you're going to have several files in order for this to work right.
1. The folder stack where the boot animation will go (explained below)
2. the .thm OR .xml file depending on which version of metamorph you have. If you're not sure: free version uses .thm files. Pro/Donate version uses xml.
Now, creating these things is SIMPLE. The folder stack is going to be the same every time for boot animations. In your folder that you have already created and should be staring lovingly at, create a new folder called "framework-res". THIS FOLDER NAME MUST BE EXACT, as must all the ones that follow. open the folder you just made and create a new one inside it called "assets". Open the assets folder and create a new folder inside it called "images". I know it seems tedious, but thats the LAST folder you have to create, I promise. The last step here is to open the images folder and place inside it your android-logo-mask.png and android-logo-shine.png files. after you've done that, move back out to the original folder and get ready to create your .thm or .xml file.
Now, .thm files for bootanimations are simple. open notepad and put in the following:
any
any
framework-res.apk
/system/framework/
Then save the file (NOT AS A .TXT FILE) as bootanimation.thm
Now, when saving the file as indicated above, the name of the .thm file MUST be the same as the name of the folder you originally created. So if your folder, and thus your final zip file, is named purplebuttmonkey, then your .thm file must be named purplebuttmonkey.thm. Simple enough?
Now, creating the xml files is a bit more complex for the average user and certainly a bit much to put into text, so I'll simply defer you to the master, Stericson himself, in a nifty video he made to educate you how to do it:
http://www.youtube.com/watch?v=Mq4AuHKzNFo
So fast forwarding:
Once you've created your folder stack, your .thm file or .xml file and are ready to move on, all thats left to do is to create your zip file! Guess what, these dont have to be signed either! Hooray! So open your favorite zip program (again, I recommend winrar) and create a zip file out of the original folder you made. After that, put it on your phone, load up metamorph and go to town!
Also, metamorph is nice because it eliminates having to re-sign everything every time you want a new animation. All you have to do is replace the two png files in the folder stack you made, re-zip it and morph it once its on your phone.
NEW:
Hitchhiker's Guide To the Galaxy Boot Animation: http://www.4shared.com/file/XWXh6pT6/HHGBoot.html
YOU MUST HAVE METAMORPH. For right now (4/25), only the pro version will work. Stericson is updating the free version to XML on the 30th. After that, this will work for everyone!
NEW ADDITION: Burlyskink made an excellent html applet for testing out your designs so you no longer have to flash an update in order to see what the finished product looks like! You can find this little gem here. Many thanks to Burlyskink for this!
Many thanks to noonski and mikey for helping get this out of the dogpile. Show your mods some love guys!
Finally!!!
Nice work bro!
I'm am that guy who goes through much trouble w/ a lot of these upgrades mods and graphic tweaks do to the fact that im a visual learner not so much the literal. Do to minimal knowledge on the graphic's aspect, i need a first hand basis tutorial like this one to successfully complete these mods!! \
ThankS a million and Hope to start seeing many more VIDEO TUTORIALS like this around, touching on different area's of graphic designing/software modding for the G1..
Thanks again to all dev's/themers(HEAVY HITTERS!): Manup456("headcrack"), Moonsspoon, Stericson, DudeofLife, koush, Tehseano, Haykuro, Cyanogen, Twisted, Jwange, Diaztradenic, Doubleokneegro, Jborque, MarcusMaximus04, LucidRem, JAC, And of course last but definitely not least The Godfather, The man/The Myth JESUSFREKE!!! and for anyone that i did not mention you know who you are thanks a million!!
I've added these two png's to my update.zip\framework\framework-res.apk\assets\images\
I've been able to reboot with them in the apk now, but it's just a black/blank screen. Does anyone see any reason why they wouldn't be able to be merged into the apk?
I've gotten a log but at the moment, I'm not seeing anything very telling....
you did sign the file and reflash the update, correct? cause I just downloaded your two png files, loaded, signed, flashed and it works just fine for me.
heya,
i have tried to edit JFv1.51 CRB43-us but when i go into the folder i dont not see a .apk file i see .cramsf is there a way i can do it on these themes???
OP,
Mind sharing your red/white background?
EDIT: Just tried this. Edited my own files, repacked into framework-res.apk under assets & images. Resigned the update & all I got was a black screen. Does the framework-re.apk have to be pulled out of the update & edited, then resigned? Or can it just be edited from within the update.zip itself? I am using 7zip if that helps
EDIT2: Just tried pulling the framework-res.apk to edit the images but it didn't work. I placed the original images back in & that worked. I don't get it. The files are the same dimensions. But my images were bigger than the original as far as bytes go. I don't know if that has anything to do with it. I don't know how to get them any smaller. I tried pnggauntlet but it didn't seem to work. O well I'll stick with the stock stuff but continue playing with it till I get it
Beast84 said:
OP,
Mind sharing your red/white background?
EDIT: Just tried this. Edited my own files, repacked into framework-res.apk under assets & images. Resigned the update & all I got was a black screen. Does the framework-re.apk have to be pulled out of the update & edited, then resigned? Or can it just be edited from within the update.zip itself? I am using 7zip if that helps
EDIT2: Just tried pulling the framework-res.apk to edit the images but it didn't work. I placed the original images back in & that worked. I don't get it. The files are the same dimensions. But my images were bigger than the original as far as bytes go. I don't know if that has anything to do with it. I don't know how to get them any smaller. I tried pnggauntlet but it didn't seem to work. O well I'll stick with the stock stuff but continue playing with it till I get it
Click to expand...
Click to collapse
I dont have the original red/white because i'm using a much different background now. the easiest thing i can recommend would be to open the original shine image with photoshop, go image>adjustments>hue/saturation and drag the hue slider until you achieve the desired color. Oh yeah, and edit the image height to match your mask image.
As far as the other two problems, you can do it from directly within the zip. watch the video tutorial at the bottom of the OP, shows you exactly how to do it step by step.
Thanks for the tutorial Kusotare,just thought I would add that I use 320 x 480 images like Dude/Manup did in his 1.1 and 1.2 builds and they dont cut off the sides at all.Both of my themes use 320 x 480 boot animations if anyone wants to grab one as a template feel free they are in my signature.
kusotare said:
you did sign the file and reflash the update, correct? cause I just downloaded your two png files, loaded, signed, flashed and it works just fine for me.
Click to expand...
Click to collapse
Yep, I can include the two pngs to my update.zip/resign/flash, and then I just get a black screen now instead...tried fixing permissions/chmod'ing the file as well....still just getting a blank screen after rebooting.
kusotare said:
I dont have the original red/white because i'm using a much different background now. the easiest thing i can recommend would be to open the original shine image with photoshop, go image>adjustments>hue/saturation and drag the hue slider until you achieve the desired color. Oh yeah, and edit the image height to match your mask image.
As far as the other two problems, you can do it from directly within the zip. watch the video tutorial at the bottom of the OP, shows you exactly how to do it step by step.
Click to expand...
Click to collapse
I did it exactly how it was done in the video & still I get a black screen. The phone boots up fine but no animation
Beast84 said:
I did it exactly how it was done in the video & still I get a black screen. The phone boots up fine but no animation
Click to expand...
Click to collapse
Try doing it through winrar. I've had problems with 7zip in the past, which is why I use winrar to do it.
i did this through 7zip. you can modify a whole update (for example, you love a theme but hate the vanity boot screens authors sometimes force upon you) by bringing up the context menu (right click) on the update.zip, then 7-zip>open, after that, navigate to system/framework, and at framework-res.apk just right click again and select "Open inside", and then navigate to assets, pull the two files to your desktop, edit them however you want (or if you already have your own just skip pulling them out), and then just pull the files back to the window and close, it's going to ask you if you want to save, just say yes or ok, and that's it, the update is all good to go (no need to re-sign or anything, i can confirm it works that way)
I've used WinRAR and 7z, no dice.
Threw this together to test.
Thanks for that, kusotare!
I used an adb-based approach:
1.) I pulled the framework-res.apk from /system/framework via adb
2.) then I put my modified PNGs (attached) into it
3.) I wanted to adb push framework-res.apk back onto /system/framework, but there was no space left on device.
4.) so I created a symlink (ln -s /system/sd/framework-res.apk /system/framework/framework-res.apk) to my Apps2SD partition.
5.) awesomely, it worked on the first try.
Edit: There is some kind of error with the scrolling background, it's maybe too big. Also, the blue doesn't look as good on the G1 screen as on my laptop. Firmware Information: JF 1.51 EU, 62.505.20.17U_2.22.19.26I, 2.6.27-00392-g8312baf [email protected] #1 CRB43
Edit: Okay, apparently, using Apps2SD for this is not a good idea. It can get you looped. However, it's easy to use adb to get out of it again by removing the symlink and repushing the original framework-res.apk . There is an even better solution for everyone with the current Google Maps from the Market - just erase the default /system/app/Maps.apk which is ignored anyway (according to adb logcat).
I swapped the splash out 5+ times now, and the phone boots up reliably. There is a very small possibilty of problems while using the phone, going to bed now and exploring that tomorrow. (It's 4:11)
Autarkis said:
Thanks for that, kusotare!
I used an adb-based approach:
1.) I pulled the framework-res.apk from /system/framework via adb
2.) then I put my modified PNGs (attached) into it
3.) I wanted to adb push framework-res.apk back onto /system/framework, but there was no space left on device.
4.) so I created a symlink (ln -s /system/sd/framework-res.apk /system/framework/framework-res.apk) to my Apps2SD partition.
5.) awesomely, it worked on the first try.
Edit: There is some kind of error with the scrolling background, it's maybe too big. Also, the blue doesn't look as good on the G1 screen as on my laptop. Firmware Information: JF 1.51 EU, 62.505.20.17U_2.22.19.26I, 2.6.27-00392-g8312baf [email protected] #1 CRB43
Edit: Okay, apparently, using Apps2SD for this is not a good idea. It can get you looped. However, it's easy to use adb to get out of it again by removing the symlink and repushing the original framework-res.apk . There is an even better solution for everyone with the current Google Maps from the Market - just erase the default /system/app/Maps.apk which is ignored anyway (according to adb logcat).
I swapped the splash out 5+ times now, and the phone boots up reliably. There is a very small possibilty of problems while using the phone, going to bed now and exploring that tomorrow. (It's 4:11)
Click to expand...
Click to collapse
Yeah, I tried the ADB version when I first started, thinking "you know, pushing the framework-res would certainly be much easier than manually repacking and resigning the whole update". Then I ran into the same problems you did and decided that the method I eventually settled on and posted here was going to be much easier for most people than trying to solve the million adb-how-to questions that would eventually come up. Glad you got the adb method working well though.
Thanks for confirming that, kusotare!
In anticipation of the adb-who-what questions you mentioned, let me state it for all to see:
First: All adb questions are answered in the forum. Use search, or Google. I heard they have this nifty search engine. I don't know where it'll get them eventually, but for the moment you can find pretty much everything using Google.
Second: I don't support adb - I love it!
Custom
I was bored and decided to make an electric version. I'll fool around with it with some newer ideas later.
As usual... open framework-res.apk, drop+replace in assets/images, sign.
I'm beginning to think that it's something that Paint Dot Net does, because I can use the png's in the first image and they work perfectly, as soon as I edit the mask or the shine not changing the name or size by too much it craps out on me (it updates, but just goes to a black screen for the animation)...
Anyone doing this with pdn, or are you guys all using GIMP/Adobe?
Paint Dot Net users: do not save with 32 bit, do not allow it to choose for you or it won't work for you. Much aggravation dispelled now...

[Tutorial] White Notification Bar [Updated 5/13/10]

Here is a pack of 3 files that, if pushed to your rom will give you the white task bar. This will change status icons and is just a work in progress "fill in the the gap" type of thing until I can write a proper update script for an update.zip. Currently this has only been tested to work 100% with:
Evil Eris 2.0.1 (It will, however, break the Sense launcher. So if you want the white bar, use another launcher)
Ic3Rom 2.0
It DOES NOT work on
TaintedVanilla 1.3.1
Or any rom that has it's System/Framework apk's and jar's odexed.
Please let me know if it works with any others.
Also, please not that this will change the status bar highlights to green.
http://www.multiupload.com/4YV5D61YRX
Click to expand...
Click to collapse
Just push the three files and reboot. Reboot will take about 5 min, so don't freak out if it takes forever. If you get into a boot loop, however, it didn't work.
DISCLAIMER: I'm not responsible if this bricks your phone. Please don't yell at me if it does. Also, be smart: do a nandroid backup before you try this.
Click to expand...
Click to collapse
This tutorial is for a white menu bar. It's still kind of a work in progress, but it works for the most part. When done, it looks 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"
}
Ok. Here is the extremely long way to do this, but it should work with any rom and will give you a full (date/time/notifications) white/vanilla task bar.
(Seriously, this may take 30 minutes or more if you're unfamiliar with some of these commands)
DOWNLOAD: http://www.multiupload.com/VZWCE0A0FN
Unzip the files and there should be 4 folders and 1 file: framework-res, com.htc.resources, PCSCII, Tools, and StatusBarIcon.smali.
Also included are the tools needed to crack open the .dex file from services.jar, smali.jar and backsmali.jar
First you'll need to pull the proper files to modify from whatever rom you're using. Open up your command line program of choice and do this:
cd [your tools folder in the android sdk]
adb remount
adb pull /system/framework/framework-res.apk framework-res.apk
adb pull /system/framework/com.htc.resources.apk com.htc.resources.apk
adb pull /system/app/PCSCII.apk PCSCII.apk
adb pull /system/framework/services.jar services.jar
Click to expand...
Click to collapse
Copy all these files into a new folder.
Things can get messy so name them whatever you'd like to keep things organized.
After all this you can start copying files. First we need to open up services.jar. Easiest way is to change the .jar ending to .zip and expand it with whatever program you'd like. Copy the classes.dex into a new folder. Keep the original folder of the expanded services.jar, it makes things easier in a few minutes.
Here is where things get a little complicated. You'll need to open up the classes.dex file with backsmali.jar. First, make sure Backsmali.jar is in the same folder as classes.dex. Next enter this command into the terminal:
cd [the folder with backsmali and classes.dex file]
java -Xmx512M -jar baksmali.jar -o classes/ classes.dex
Click to expand...
Click to collapse
This will expand classes.dex into a folder. Click through this folder until you find a folder called Status. Now drag the StatusBarIcon.smali into the Status folder. Allow the replacement.
Now we need to close the classes.dex file back up. Make sure smali.jar is in the same folder as the classes folder (make a new folder just to avoid a conflict with your original files) and use these commands:
cd [the folder with smali and the classes folder]
java -Xmx512M -jar smali.jar -o classes.dex classes/
Click to expand...
Click to collapse
You should have a fresh classes.dex file now. Now put this new classes.dex file into the original services.jar folder (that you expanded from a zip) and rezip that file. Then change the name from a .zip to .jar.
Step 1: done.
The next few parts are a lot easier, so stick with me here.
Now we need to open up the Framework-res.apk and replace all of the image files needed for a sexy white menu bar. All of the needed files are in the folder named (you guessed it) framework-res. First, you'll need to expand this .apk, do so by changing it into a .zip. After you expand it, copy the files from my folder to the matching folders. Don't drag and drop the folders, it won't work. Select all inside them and paste/drag/whatever over to the one from your phone. There should be a folder of image files, and a folder with two xml files. Once done return to the top folder of the framework-res.zip you expanded and re-zip the contents. Make sure you select the contents and zip them.
**DO NOT ZIP THE FRAMEWORK-RES FOLDER ITSELF, SELECT THE FILES INSIDE THE FOLDER AND RE-ZIP THEM**
You should now how have a new archive. Rename it to framework-res.apk and set it aside for later use.
The last parts are essentially the same things, but with the other two folders I've included: PCSCII and com.htc.resources. Copy the files, and re-zip them into .apk files.
Ok. Almost done.
Now it's time to send the files back to your phone. Place the new versions of these files into your Tools folder in the Android SDK.
Now let's push them back to your phone:
cd [your tools folder... again]
adb remount
adb push PCSCII.apk /system/app/PCSCII.apk
adb push framework-res.apk /system/framework/framework-res.apk
adb push com.htc.resources.apk /system/framework/com.htc.resources.apk
adb push services.jar /system/framework/services.jar
adb reboot
Click to expand...
Click to collapse
Reboot can take a while, so be patient. I'm thinking rebooting into recovery and clearing your dalvik cache may help, but haven't tried it.
If everything worked correctly, you should have a brand spankin' new notification bar.
Just a note, I have tested this on Evil Eris 2.0 and IceRom 2.0 and it works perfectly. However, it should work with whatever rom you're using. Also, this will change some of your icons to Vanilla ones. If you don't want them changed, don't copy the files that will change them. Those should be apparent when copying the image files from the folders I've included.
If you have any questions, feel free to ask.
Also, if anyone knows how to wrap this all up into a nice little update.zip, please do it or let me know how to do it. It would be greatly appreciated.
Hello, I appreciate the tutorial! I'm attempting to get this set up for my Tainted Vanilla rom and ran into a snag at the beginning. Our services.jar file contains no classes.dex file. All it contains is MANIFEST.MF. Any ideas about how I should proceed?
Ok, I think I've figured it out.
The .odex file is basically the .dex file in an uncompressed format. To break it open you do the same thing you would do with a dex file. Plug it into baksmali and it should yield you a Classes folder. You do have to reassemble it though, which requires you to first deodex it... and it's kind of a pain in the ass. I've figured out the first portion of it, but deodexing the file is decently complicated for a n00b like me. I'll continue to work on it and will hopefully have a solution tomorrow.
Here's where I'm stuck if anyone wants to figure it out:
$ java -Xmx512m -jar baksmali.jar -x services.odex
Error while disassembling method Lcom/android/server/ConnectivityService;-><init>(Landroid/content/ContextV. Continuing.
org.jf.dexlib.Code.Analysis.ValidationException: class Lcom/htc/connectivity/DummyStateTracker; cannot be resolved.
at org.jf.dexlib.Code.Analysis.ClassPath$UnresolvedClassDef.unresolvedValidationException(ClassPath.java:535)
at org.jf.dexlib.Code.Analysis.ClassPath$UnresolvedClassDef.getClassDepth(ClassPath.java:543)
at org.jf.dexlib.Code.Analysis.ClassPath.getCommonSuperclass(ClassPath.java:383)
at org.jf.dexlib.Code.Analysis.RegisterType.merge(RegisterType.java:274)
at org.jf.dexlib.Code.Analysis.AnalyzedInstruction.mergeRegister(AnalyzedInstruction.java:199)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.propagateRegisterToSuccessors(MethodAnalyzer.java:479)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.setPostRegisterTypeAndPropagateChanges(MethodAnalyzer.java:459)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeDirectCommon(MethodAnalyzer.java:2968)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeDirectRange(MethodAnalyzer.java:2927)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:856)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:202)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:290)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:130)
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:322)
at org.jf.baksmali.Adaptors.ClassDefinition.writeDirectMethods(ClassDefinition.java:291)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:135)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:187)
at org.jf.baksmali.main.main(main.java:277)
opcode: invoke-direct/range
CodeAddress: 811
Method: Lcom/android/server/ConnectivityService;-><init>(Landroid/content/ContextV
Click to expand...
Click to collapse
I know that in order for successfully deodex, all the file paths have to be correct. I, however, do not have them yet.
More info here for anyone interested: http://code.google.com/p/smali/wiki/DeodexInstructions
Good work, this should be an update.zip once we have confirmed it working successfully.....
stopxstart said:
Ok, I think I've figured it out.
The .odex file is basically the .dex file in an uncompressed format. To break it open you do the same thing you would do with a dex file. Plug it into baksmali and it should yield you a Classes folder. You do have to reassemble it though, which requires you to first deodex it... and it's kind of a pain in the ass. I've figured out the first portion of it, but deodexing the file is decently complicated for a n00b like me. I'll continue to work on it and will hopefully have a solution tomorrow.
Here's where I'm stuck if anyone wants to figure it out:
I know that in order for successfully deodex, all the file paths have to be correct. I, however, do not have them yet.
More info here for anyone interested: http://code.google.com/p/smali/wiki/DeodexInstructions
Click to expand...
Click to collapse
I get the same error. I posted a issue about this on the project page.
EDIT: Figured it out. Add -c :com.htc.resources.jar
You will need to deodex it first thou.
Can we see screenshots of this notification bar
If you look at the IC3 rom screenshots, this should be the same.
Also, stopxstart, thanks for the hard work! Really appreciate it. Should the phone be connected this whole time? Thanks!
gritts said:
If you look at the ICQ rom screenshots, this should be the same.
Also, stopxstart, thanks for the hard work! Really appreciate it. Should the phone be connected this whole time? Thanks!
Click to expand...
Click to collapse
ICQ ROM do you mean IC3 ROM?
Yes, thanks, I corrected it.
gritts said:
If you look at the IC3 rom screenshots, this should be the same.
Also, stopxstart, thanks for the hard work! Really appreciate it. Should the phone be connected this whole time? Thanks!
Click to expand...
Click to collapse
It's easy just to keep it connected but it's not required. Just make sure you adb remount before pushing and pulling the files.
Going to try out a workaround for all of this, I'll report back sometime tonight.
Also, if this works it will allow me to write a sufficient update.script for a standalone zip.
For those following the progress of this, I am currently testing some standalone files to push that should make this whole process easier.
So far works on: Evil Eris 2.0 and Ic3Rom 2.0 (well, fixes it).
Testing others now.
I'm looking forward to your testing on Tainted Vanilla
hoban_eris said:
Hello, I appreciate the tutorial! I'm attempting to get this set up for my Tainted Vanilla rom and ran into a snag at the beginning. Our services.jar file contains no classes.dex file. All it contains is MANIFEST.MF. Any ideas about how I should proceed?
Click to expand...
Click to collapse
I second that.
ok so these are the things i can't get
the verizon wireless text is white
and the clear button is black with white text
how can i fix these
Re: [Tutorial] White Notification Bar
Did you follow the tut
-------------------------------------
Sent via the XDA Tapatalk App
gritts said:
Did you follow the tut
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
ok ive tried several times and failed every time could someone put up the final zip I could flash
iloveandroid said:
ok so these are the things i can't get
the verizon wireless text is white
and the clear button is black with white text
how can i fix these
Click to expand...
Click to collapse
Let me double check the XML files in the Framework-res.apk to make sure I put the right ones in. I literally have 60 folders filed with the same file from different testing so I could have easily posted the wrong one.
Also, there isn't a zip to flash because I haven't written the update script for it. If you would like to, please do.
stopxstart said:
Let me double check the XML files in the Framework-res.apk to make sure I put the right ones in. I literally have 60 folders filed with the same file from different testing so I could have easily posted the wrong one.
Also, there isn't a zip to flash because I haven't written the update script for it. If you would like to, please do.
Click to expand...
Click to collapse
I would make a flashable but i dont know how
Ok, I fixed the button problem.
You're using Ic3Rom right? Pretty sure the files I have will work with it straight up but let me test it.
Also, I added screenshots to first page.

Changing battery meter?

ok so i like the android shaped battery meter thats in the froyo 2.2 cm6 extreme blue and vanilla rom,right, so my question is it possible to import that into the rom im running and change my regular battery to that one, is there a specific file i can swap
You have to pull your framework-res.apk file from your phone, extract the images from the original framework-res.apk (in this case the one in CM6 extreme), then add those files to your framework-res.apk and push it into the phone. It's 3:15 A.M. here and I'm not in conditions to explain that with detail, tomorrow if noone has explained it I'll tell you how to do it, you only need WinRAR or 7zip and the SDK to pull/push the modified file into your phone
well i do appreciate the lil bit of insight you provided me ill see if i can try to figure it out but i would like some help when you get a chance tomorrow if i cant figure it out
My girlfriend will kill me tonight...
Okay, excuse my bad english, I'll do what I can... Grab the ROM you want to take the battery icons from in the update.zip and download somewhere to your computer, then unzip it and in the folders you just have created navigate to /system/framework/
Here select the framework-res.apk file and open it with WinRAR (you can do that with 7zip I think but I use WinRAR), once opened navigate inside the zip to /res/drawable-mdpi/ folder and extract all the images there to a new empty folder.
Once extracted all the images, search for the images called
stat_sys_battery_0.png
stat_sys_battery_10.png
stat_sys_battery_20.png
stat_sys_battery_40.png
...
stat_sys_battery_charge_anim4.png
stat_sys_battery_charge_anim5.png
stat_sys_battery_unknown.png
There are 14 battery images in total, at least in my ROM. You can delete all the other images as they have nothing to do with battery status and it will be more easy to do the next step if you only have the battery images.
Connect your phone to your PC, boot your phone into recovery and select "USB-MS toggle". In your computer open a CMD (MS-Dos) prompt window, navigate to the 'tools' directory of your SDK folder (I recommend to unzip SDK in C:/AndroidSDK or something like that for easy access) and write
Code:
adb
adb pull /system/framework/framework-res.apk framework-res.apk
DON'T CLOSE THE CMD WINDOW, if you do, you will have to start ADB again for the "push" step.
That will take the framework-res.apk file from your phone and download it into your computer.
Next you have to do is to open the file you have pulled from your phone with WinRAR, navigate inside that file into /res/drawable-mdpi/ and drag&drop the battery images you have extracted from the original framework-res.apk to that folder.
Close the file, go back to the CMD prompt window and type
Code:
adb push framework-res.apk /system/framework
Once done, the only thing left to do is typing
Code:
adb reboot
And when your phone finishes rebooting you should see the new battery icons you just uploaded to the phone.
I think I've explained it well, as I said I'm kinda sleepy
I'll be back tomorrow, hope to read you have succeed on changing the battery icons
hells yeah, thank you that worked for me just like you explained it. now i just need to make it fit in with my black theme. but thanks again hope i didnt get cursed out by your girl
She didn't noticed, or so I hope Now I'm leaving to work but you have two options now, change all the rest of your icons and also your current statusbar background so the icons fits with the statusbar or edit the battery icons so it fits with your background.
Here's how my screen looks this morning (thanks UltraLinx for the walppaper) to give you an idea of the background bar thing, I changed mine to a full black bar, If I can help you with your customization I'll be back in like 6 hours or so
{
"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"
}
Coming from the incredible I have a circle battery meter from the desire ported over and there are 100 ,pngs in the framework , 1 for each % as battery dies. But the phone is only showing only the 20% increments like the normal battery indicator shows. any idea how I can get it to show each percent as phone dies?
Sent from my Htc Incredible
lolingu said:
My girlfriend will kill me tonight...
Okay, excuse my bad english, I'll do what I can... Grab the ROM you want to take the battery icons from in the update.zip and download somewhere to your computer, then unzip it and in the folders you just have created navigate to /system/framework/
Here select the framework-res.apk file and open it with WinRAR (you can do that with 7zip I think but I use WinRAR), once opened navigate inside the zip to /res/drawable-mdpi/ folder and extract all the images there to a new empty folder.
Once extracted all the images, search for the images called
stat_sys_battery_0.png
stat_sys_battery_10.png
stat_sys_battery_20.png
stat_sys_battery_40.png
...
stat_sys_battery_charge_anim4.png
stat_sys_battery_charge_anim5.png
stat_sys_battery_unknown.png
There are 14 battery images in total, at least in my ROM. You can delete all the other images as they have nothing to do with battery status and it will be more easy to do the next step if you only have the battery images.
Connect your phone to your PC, boot your phone into recovery and select "USB-MS toggle". In your computer open a CMD (MS-Dos) prompt window, navigate to the 'tools' directory of your SDK folder (I recommend to unzip SDK in C:/AndroidSDK or something like that for easy access) and write
Code:
adb
adb pull /system/framework/framework-res.apk framework-res.apk
DON'T CLOSE THE CMD WINDOW, if you do, you will have to start ADB again for the "push" step.
That will take the framework-res.apk file from your phone and download it into your computer.
Next you have to do is to open the file you have pulled from your phone with WinRAR, navigate inside that file into /res/drawable-mdpi/ and drag&drop the battery images you have extracted from the original framework-res.apk to that folder.
Close the file, go back to the CMD prompt window and type
Code:
adb push framework-res.apk /system/framework
Once done, the only thing left to do is typing
Code:
adb reboot
And when your phone finishes rebooting you should see the new battery icons you just uploaded to the phone.
I think I've explained it well, as I said I'm kinda sleepy
I'll be back tomorrow, hope to read you have succeed on changing the battery icons
Click to expand...
Click to collapse
Im getting this error: device not found?
Anyone know why?
stifler05 said:
Im getting this error: device not found?
Anyone know why?
Click to expand...
Click to collapse
Have you installed the adb drivers for your phone?
Coolsaber57 said:
Have you installed the adb drivers for your phone?
Click to expand...
Click to collapse
Everything was installed, but there was some problem, fixed now.
Now Im getting new error: remote object /system/framework/framework-res.apk does not exist.
stifler05 said:
Everything was installed, but there was some problem, fixed now.
Now Im getting new error: remote object /system/framework/framework-res.apk does not exist.
Click to expand...
Click to collapse
How did you resolved the issue? Care to share?
JokerAce said:
How did you resolved the issue? Care to share?
Click to expand...
Click to collapse
Sure mate.
I uninstalled all Android drivers(cause mass storage) with USBDeview(Ill post this software if you want), connected the phone while it was running then manually installed drivers that you get with SDK. And everything is working. But cant fix second error now
I'm trying to do the same thing, but I get a different error:
Code:
C:\Users\Eric\Desktop\Android Dev\AndroidSDK\tools>adb push framework-res.apk /s
ystem/framework
failed to copy 'framework-res.apk' to '/system/framework/framework-res.apk': Per
mission denied
Fix? I'm rooted, what do I need to do to get permission? adb noob.
E_man5112 said:
I'm trying to do the same thing, but I get a different error:
Code:
C:\Users\Eric\Desktop\Android Dev\AndroidSDK\tools>adb push framework-res.apk /s
ystem/framework
failed to copy 'framework-res.apk' to '/system/framework/framework-res.apk': Per
mission denied
Fix? I'm rooted, what do I need to do to get permission? adb noob.
Click to expand...
Click to collapse
/system is mounted read-only. "adb shell mount" will show that.
Code:
adb remount
This will fix it. Note, no "shell" there, alternative:
Code:
adb shell mount -o remount,rw /system
I do use this one, instead, because I then do whatever and issue that command again, changing rw to ro, to clear write permission.

Got FONT??

Iv'e noticed alot of people looking for different fonts, such as myself. i dont know if this is a good idea but i would like to start this forum /archive for new and unique fonts that work on our android devices.
If your unsure of how to apply your new font here are a couple of links that can help.
http://www.gadgetsdna.com/custom-fonts-installation-on-rooted-android-device/696/#ixzz0z6f5nAjM
If you perfer script free and(or) have typefresh in your market, this should be helpful...http://forum.xda-developers.com/showthread.php?t=717548
The thing is that often these fonts aren't free, costing up to $200 a font.
So sharing them here on XDA wouldn't be to cool.
But yeah. I've found some sweet fonts in my time. Not particulary for Android - dafont has a lot of fonts.
zHk3R said:
The thing is that often these fonts aren't free, costing up to $200 a font.
So sharing them here on XDA wouldn't be to cool.
But yeah. I've found some sweet fonts in my time. Not particulary for Android - dafont has a lot of fonts.
Click to expand...
Click to collapse
i was afraid of that, copyrights and such...lol thats the last thing i need, a lawsuit for stolen font... thanks for the insight tho,just thought itd be nice to have archive onsite...
zHk3R said:
The thing is that often these fonts aren't free, costing up to $200 a font.
Click to expand...
Click to collapse
Most of the fonts I've found are free to use so not sure where you get that from. No doubt you do have to pay for some, but the majority are free.
In response to the OP, I've found 99% of .ttf fonts work however, not all look right. My preferred font is Sony Sketch which for the most part looks ok, but there are instances where it doesn't but I can live with it, so have found it to be trial and error with most fonts I have tried at getting the balance right when it comes to being workable and aesthetics.
{
"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"
}
XperiaX10iUser said:
Most of the fonts I've found are free to use so not sure where you get that from. No doubt you do have to pay for some, but the majority are free.
Click to expand...
Click to collapse
You're right. Most fonts are free, but the ones you really fall in love with often cost a lot. I've been there, lol. But I agree. Some sort of collection of fonts that work on Android would be cool.
I use 'chinacatthin.ttf'
Works great on my x10. It's for free everywhere on the net.
Sent from my rooted x10i using tapatalk. Cheers, Arnold
zHk3R said:
You're right. Most fonts are free, but the ones you really fall in love with often cost a lot. I've been there, lol.
Click to expand...
Click to collapse
There are a ton of free ones I love, but stick them on the phone and they just don't look right.
Sent from my X10i using XDA App
well here is neutra font that i have fallen in love with...i hope im not stepping on toes but the thanks go to an unknown member and socal specialist for the assist.
frosteddroid said:
well here is neutra font that i have fallen in love with...i hope im not stepping on toes but the thanks go to an unknown member and socal specialist for the assist.
Click to expand...
Click to collapse
That would be Knyku sir
Still accepting PMs for those who want it.
But shhh don't tell
frosteddroid said:
well here is neutra font that i have fallen in love with
Click to expand...
Click to collapse
Not bad, it's removed the little boxes at least, but will stick with Sony Sketch I think.
how exactly do you change the fonts ?
I have a whole lot og fonts I would like to use, but I'm dumbstruck as to the way to change them...
jadephyre said:
how exactly do you change the fonts ?
I have a whole lot og fonts I would like to use, but I'm dumbstruck as to the way to change them...
Click to expand...
Click to collapse
just place on sd and flash away...
frosteddroid said:
just place on sd and flash away...
Click to expand...
Click to collapse
explain that for the newbs?
Using rootexplorer, I found "system/fonts". Is this where they go?
Knyku said:
That would be Knyku sir
Still accepting PMs for those who want it.
But shhh don't tell
Click to expand...
Click to collapse
thats awesome, thanks for the share boss, just felt bad i didnt know whom it originally came from...
OrganizedFellow said:
explain that for the newbs?
Using rootexplorer, I found "system/fonts". Is this where they go?
Click to expand...
Click to collapse
honestly i dont know if that'd work or not but if you plug phone into pc,click connect usb, drag and drop strait onto sd card,once font is on sd: powerdown & go into recovery, flash from sd just like you would a rom. after that you should be set...
jadephyre said:
how exactly do you change the fonts ?
Click to expand...
Click to collapse
By using TypeFresh & AndExplorer, have a read of this - Changing Fonts on X10, some have said just copy and pasting using RootExplorer works but not tried it myself.
So after reading the past few pages, I was left NOT KNOWING HOW TO INSTALL A FONT.
I KNEW IT HAS TO DO WITH ADB, so ... I'm gonna give it a shot.
These instructions are proven to work on my Nexus.
I followed these steps twice today, making sure they are accurate.
I even went to far as to UNDO, REDO, and grabbed some screenshots along the way
If these instuctions don't work for you, please don't hold me liable!
----- ----- ----- ----- ----- ----- ----- ----- ----- -----
Connect phone to PC with USB cable.
Run this code to locate your fonts folder:
Code:
adb devices
adb shell
cd system/fonts
ls
MINE DISPLAYS THIS:
DroidSerif-Regular.ttf
DroidSerif-Italic.ttf
DroidSerif-BoldItalic.ttf
DroidSerif-Bold.ttf
DroidSansThai.ttf
DroidSansMono.ttf
DroidSansHebrew.ttf
DroidSansFallback.ttf
DroidSansArabic.ttf
DroidSans.ttf
DroidSans-Bold.ttf
Clockopia.ttf
Your listing may be different.
Now let's back them up.
Exit shell to your android/tools folder
Code:
adb pull /system/fonts/DroidSerif-Regular.ttf ./_STUFF/fonts/DroidSerif-Regular.ttf.bak
adb pull /system/fonts/DroidSerif-Italic.ttf ./_STUFF/fonts/DroidSerif-Italic.ttf.bak
adb pull /system/fonts/DroidSerif-BoldItalic.ttf ./_STUFF/fonts/DroidSerif-BoldItalic.ttf.bak
adb pull /system/fonts/DroidSerif-Bold.ttf ./_STUFF/fonts/DroidSerif-Bold.ttf.bak
adb pull /system/fonts/DroidSansThai.ttf ./_STUFF/fonts/DroidSansThai.ttf.bak
adb pull /system/fonts/DroidSansMono.ttf ./_STUFF/fonts/DroidSansMono.ttf.bak
adb pull /system/fonts/DroidSansHebrew.ttf ./_STUFF/fonts/DroidSansHebrew.ttf.bak
adb pull /system/fonts/DroidSansFallback.ttf ./_STUFF/fonts/DroidSansFallback.ttf.bak
adb pull /system/fonts/DroidSansArabic.ttf ./_STUFF/fonts/DroidSansArabic.ttf.bak
adb pull /system/fonts/DroidSans.ttf ./_STUFF/fonts/DroidSans.ttf.bak
adb pull /system/fonts/DroidSans-Bold.ttf ./_STUFF/fonts/DroidSans-Bold.ttf.bak
adb pull /system/fonts/Clockopia.ttf ./_STUFF/fonts/Clockopia.ttf.bak
I guess since we'll be messing with a critical folder of the phone, we should stop shell and remount?! Then push new font(s) and reboot.
Now go find a font.ttf that you like. Put it in your tools folder.
I chose Comfortaa. The zip contains: Comfortaa Thin.ttf, Comfortaa Regular.ttf, and Comfortaa Bold.ttf
I only want (to try) Bold and Regular.
I FOUND that the font being pushed can NOT have any spaces, oops.
Code:
adb shell stop
adb remount
adb push ./_STUFF/fonts/Comfortaa-Regular.ttf. /system/fonts/DroidSans.ttf
adb push ./_STUFF/fonts/Comfortaa-Bold.ttf /system/fonts/DroidSans-Bold.ttf
adb shell start
adb reboot
You should have a new font now.
YA DONT LIKE IT?
Restore your original:
Code:
adb shell stop
adb remount
adb push ./_STUFF/fonts/DroidSans.ttf.bak /system/fonts/DroidSans.ttf
adb push ./_STUFF/fonts/DroidSans-Bold.ttf.bak /system/fonts/DroidSans-Bold.ttf
adb shell start
adb reboot
***** ***** ***** ***** ***** ***** ***** ***** ***** *****
As you've noticed, I keep all my STUFF here: D:/android/tools/_STUFF/fonts/
Feel free to keep yours elsewhere. As long as it's in the android/tools folder, you should be okay.
Instead of flashing a zip on your sdcard as mentioned earlier in this thread, I like doing it this way, so you can just as easily UNDO the font install. As long as you know how to ADB, you can install a font, and tons more!
SCREENSHOTS:
Settings
Notifications
SMS
OrganizedFellow said:
So after reading the past few pages, I was left NOT KNOWING HOW TO INSTALL A FONT.
I KNEW IT HAS TO DO WITH ADB, so ... I'm gonna give it a shot.
These instructions are proven to work on my Nexus.
I followed these steps twice today, making sure they are accurate.
I even went to far as to UNDO, REDO, and grabbed some screenshots along the way
If these instuctions don't work for you, please don't hold me liable!
----- ----- ----- ----- ----- ----- ----- ----- ----- -----
Connect phone to PC with USB cable.
Run this code to locate your fonts folder:
Code:
adb devices
adb shell
cd system/fonts
ls
MINE DISPLAYS THIS:
DroidSerif-Regular.ttf
DroidSerif-Italic.ttf
DroidSerif-BoldItalic.ttf
DroidSerif-Bold.ttf
DroidSansThai.ttf
DroidSansMono.ttf
DroidSansHebrew.ttf
DroidSansFallback.ttf
DroidSansArabic.ttf
DroidSans.ttf
DroidSans-Bold.ttf
Clockopia.ttf
Your listing may be different.
Now let's back them up.
Exit shell to your android/tools folder
Code:
adb pull /system/fonts/DroidSerif-Regular.ttf ./_STUFF/fonts/DroidSerif-Regular.ttf.bak
adb pull /system/fonts/DroidSerif-Italic.ttf ./_STUFF/fonts/DroidSerif-Italic.ttf.bak
adb pull /system/fonts/DroidSerif-BoldItalic.ttf ./_STUFF/fonts/DroidSerif-BoldItalic.ttf.bak
adb pull /system/fonts/DroidSerif-Bold.ttf ./_STUFF/fonts/DroidSerif-Bold.ttf.bak
adb pull /system/fonts/DroidSansThai.ttf ./_STUFF/fonts/DroidSansThai.ttf.bak
adb pull /system/fonts/DroidSansMono.ttf ./_STUFF/fonts/DroidSansMono.ttf.bak
adb pull /system/fonts/DroidSansHebrew.ttf ./_STUFF/fonts/DroidSansHebrew.ttf.bak
adb pull /system/fonts/DroidSansFallback.ttf ./_STUFF/fonts/DroidSansFallback.ttf.bak
adb pull /system/fonts/DroidSansArabic.ttf ./_STUFF/fonts/DroidSansArabic.ttf.bak
adb pull /system/fonts/DroidSans.ttf ./_STUFF/fonts/DroidSans.ttf.bak
adb pull /system/fonts/DroidSans-Bold.ttf ./_STUFF/fonts/DroidSans-Bold.ttf.bak
adb pull /system/fonts/Clockopia.ttf ./_STUFF/fonts/Clockopia.ttf.bak
I guess since we'll be messing with a critical folder of the phone, we should stop shell and remount?! Then push new font(s) and reboot.
Now go find a font.ttf that you like. Put it in your tools folder.
I chose Comfortaa. The zip contains: Comfortaa Thin.ttf, Comfortaa Regular.ttf, and Comfortaa Bold.ttf
I only want (to try) Bold and Regular.
I FOUND that the font being pushed can NOT have any spaces, oops.
Code:
adb shell stop
adb remount
adb push ./_STUFF/fonts/Comfortaa-Regular.ttf. /system/fonts/DroidSans.ttf
adb push ./_STUFF/fonts/Comfortaa-Bold.ttf /system/fonts/DroidSans-Bold.ttf
adb shell start
adb reboot
You should have a new font now.
YA DONT LIKE IT?
Restore your original:
Code:
adb shell stop
adb remount
adb push ./_STUFF/fonts/DroidSans.ttf.bak /system/fonts/DroidSans.ttf
adb push ./_STUFF/fonts/DroidSans-Bold.ttf.bak /system/fonts/DroidSans-Bold.ttf
adb shell start
adb reboot
***** ***** ***** ***** ***** ***** ***** ***** ***** *****
As you've noticed, I keep all my STUFF here: D:/android/tools/_STUFF/fonts/
Feel free to keep yours elsewhere. As long as it's in the android/tools folder, you should be okay.
Instead of flashing a zip on your sdcard as mentioned earlier in this thread, I like doing it this way, so you can just as easily UNDO the font install. As long as you know how to ADB, you can install a font, and tons more!
SCREENSHOTS:
Settings
Notifications
SMS
Click to expand...
Click to collapse
sweet thanks for that addition to the forum.. im not very command prompt oriented but thats really useful to know.im gonna have to try that on a few myself...
ps: sorry if i mislead you (anyone) on flashing font via sd.. neutra was the only font ive messed with honestly and it was just a simple flash from sd. ive tried alot of others that dont work when flashing, such as .ttf format they wont flash from sd ,atleastt not on my eris
OrganizedFellow said:
So after reading the past few pages, I was left NOT KNOWING HOW TO INSTALL A FONT.
Click to expand...
Click to collapse
Despite me posting a link to a thread with images showing how.
OrganizedFellow said:
So after reading the past few pages, I was left NOT KNOWING HOW TO INSTALL A FONT.
Click to expand...
Click to collapse
You should have a normal version and a bolded version - so 2 .ttf files.
1. adb pull /system/fonts/
2. copy the folder for backup then delete the .ttf's for clocktopia, droidsans, and droidsans-bold
3. make 2 copies of your new font's regular typeface ttf and rename them Clocktopia.ttf and DroidSans.ttf; obviously do the same with the bold typface .ttf and rename it to DroidSans-Bold.ttf (The folder you pulled should look identical but those 3 .ttf files should be the renamed files containing your new font.
4. adb push fonts /system/fonts and you win.
It's hard, I know. http://lmgtfy.com/?q=change+android+system+font

[MOD] Change Lockscreen in Cyanogen 7 [MDPI/HDPI]

After a lot of trial and error, here it is. Pretty simply you will be able to change your lockscreen background to whatever your liking is.
This has been mentioned to be working on both MDPI and HDPI resolutions.
This mod works only for CM7, as it includes the rotary lockscreen code.
IMPORTANT This will alter your framework-res.apk folder, and this means you will lose your current accounts and sync settings. So backup with titanium first (or whatever you use). ALSO, NANDROID TO BE SAFE
I've made 2 versions so far:
1) First version is your normal lockscreen, with altered background. Nothing else is changed.
2) Lockscreen with altered clock. Moved to the top-left to leave more space for your new background to show. Here's how it looks:
{
"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"
}
FIRST STEP - How to apply Lockscreen for the first time
1) Included are 2 CustomLockscreen .zip files. Choose wether you want the edited clock version or not, then go ahead and download
2) Use either metamorph, or simply overwrite in your own framework-res.apk files the contents of the zip file (if you overwrite, make sure you leave out the .xml file in the ROOT of the zip)
3) Apply Metamorph, or use your own framework-res.apk and push it via adb.
4) Reboot. Note this also changes your home background picture, just simply change it to your normal one. Don't worry, the lockscreen one won't change after you change your home background.
STEP TWO - After having applied the first step, you need to do this to change image everytime you want to
1) Download the ChangeLockscreen.zip
2) Use metamorph to extract the zip then exit metamorph
3) Mount your phone to your pc and place your 320x480(MDPI) or 480x766(HDPI) picture in /sdcard/AndroidThemes/ChangeLockscreen/framework-res/drawable
4) Go back to metamorph, choose "Pick existing theme" and Navigate to the ChangeLockscreen folder, and choose the ChangeLockscreen.xml
5) Apply
6) Reboot
7) Change home wallpaper again.
NOTE Use a 320x480 JPG IMAGE (MDPI) OR 480x766 JPG IMAGE (HDPI) of your liking and place it in /drawable named as default_wallpaper.jpg
IF SOMETHING GOES WRONG
Extract your framework-res.apk from your current rom
Boot in recovery and enable USB toggle
Code:
adb shell mount /system
adb shell rm /system/framework/framwork-res.apk
adb push /the-folder-you-extracted-your-framework-res/framework.res.apk /system/framework
Reboot
NOTES MDPI devices use the normal zips. HDPI devices use the HDPI zips.
If you like this, please THANK away
Contact me
Twitter
Suggestions, problems etcetera, please post here so others can help as well. Let me know if this works for you.
Changelog
V1.0 Out 25/1/2011
Just wanted to confirm that this also works on HDPI devices. I built the keyguard XML into my framework on my EVO and it works perfectly.
where´s the difference to [Custom] Lockscreen Background ? (besides of not changing frameworks-res.apk)
rori~ said:
where´s the difference to [Custom] Lockscreen Background ? (besides of not changing frameworks-res.apk)
Click to expand...
Click to collapse
I haven't actually seen what is edited in your xml, but seeing the name of the files they seem to have the same layout, except yours targets /drawable-hdpi (which doesn't exist in MPDI or LDPI screens).
Tried to morph it (because as i said i was too bored to decompile your xml), and it doesn't seem to work. Have you included the rotary lockscreen code?
+ the small edit to the clock position.
I'm sorry for not seeing it earlier (i did search online, but didnt come across it, could have made my life easier). All i found on the net was an eclair edit of the lockscreen, and based on that, and on what png's were already included on the framework-res.apk files in CM7, i decided to use that obvious choice (default_wallpaper)
@gomorrah
Thanks for letting me know
petsasj said:
I haven't actually seen what is edited in your xml, but seeing the name of the files they seem to have the same layout, except yours targets /drawable-hdpi (which doesn't exist in MPDI or LDPI screens).
Tried to morph it (because as i said i was too bored to decompile your xml), and it doesn't seem to work. Have you included the rotary lockscreen code?
+ the small edit to the clock position.
I'm sorry for not seeing it earlier (i did search online, but didnt come across it, could have made my life easier). All i found on the net was an eclair edit of the lockscreen, and based on that, and on what png's were already included on the framework-res.apk files in CM7, i decided to use that obvious choice (default_wallpaper)
Click to expand...
Click to collapse
No prob
What I did was for cm6 and could been used on any resolution, just has to be updated to cm7 and can be easily used as a morph after every nightly.
For cm7 I did this now
im a little lost on how to change the whole lockscreen like your where u have the 4 lock/unlock . how do i get my lockscreen like that. please help
notnice564 said:
im a little lost on how to change the whole lockscreen like your where u have the 4 lock/unlock . how do i get my lockscreen like that. please help
Click to expand...
Click to collapse
Can you be a little more specific? What's going wrong with your case?
1)You need metamorph. Download it from the market.
2) Flash either CustomLockscreen_petsasj.zip (normal clock in lockscreen) or CustomLockscreen_WITHCLOCK.zip (edited clock)
Then for simply changing the picture, use the other script, ChangeLockscreen.zip.
Extract it in Metamorph, insert the picture of your liking in /sdcard/AndroidThemes/drawable/default_wallpaper.jpg (use the mentioned picture sizes depending on MDPI/HDPI)
Edit: Wrote the steps again, should be easier to understand (was in a hurry yesterday, sorry)
gomorrah said:
Just wanted to confirm that this also works on HDPI devices. I built the keyguard XML into my framework on my EVO and it works perfectly.
Click to expand...
Click to collapse
Can you tell my how you did this on your EVO? I have tried applying both ZIPs through metamorph and I always end up with this grass screen. Also, the clock is higher in my image than the one in the original post.
If there is a way to do it through Root Explorer, I don't mind doing...just need to know the steps. Metamorph has never wanted to work correctly on my phone that's why I had abandoned it long ago.
thetaman said:
Can you tell my how you did this on your EVO? I have tried applying both ZIPs through metamorph and I always end up with this grass screen. Also, the clock is higher in my image than the one in the original post.
If there is a way to do it through Root Explorer, I don't mind doing...just need to know the steps. Metamorph has never wanted to work correctly on my phone that's why I had abandoned it long ago.
Click to expand...
Click to collapse
Seems like the xml edits in HDPI phones are a bit off, as the screens are higher, and that makes sense.
Thetaman, i posted an update for HDPI Devices, get that from the first post.
Petsasj,
Thanks for trying to help. I extracted your CustomLockscreen_WITHCLOCKHDPI.zip in Metamorph. I get some kind of error message when extracting in Metamorph, I think, but it flashes so quickly and is a long message I'm not sure what it says or means. Do you get a message?
I then select Pick Exiting Theme and see a CustomLockscreen_WITHCLOCKHDPI folder. I click on it and there is a CustomLockscreen_WITHCLOCKHDPI.xml file and a framework-res file. If I dig into the framework-res file and get to drawable-hdpi and click on it, it shows no files. Screenshot below. However, if I follow the same path through Root Explorer to the same location it shows the default_wallpaper.jpg. Why do I see it in Root Explorer and not in Metamorph? I'm guessing whatever the problem is, this is why when I apply it in Metamorph...it never changes off the Green Grass screen (default Android)?
I have no idea what could be wrong. I'm sorry =/
What can be done is this:
Get your Rom's framework-res.apk, then:
1) Navigate to the HDPI zip file from the first post, and copy the /res/layout folder content.
2) Open your framework-res.apk (the one you extracted from your rom) with Winrar, navigate to /res/layout and paste (this should overwrite the two files)
3) Use a picture of your liking, sized @ 480x766, named it default_wallpaper.jpg and place it in /res/drawable-hdpi
4) After having added those two files in your framework, use adb to adb push your framework back in place
This is how, if you don't know:
Code:
adb remount
adb shell rm /system/framework/framework-res.apk
adb push C:\framework-res.apk /system/framework
adb reboot
You can copy these lines in, so long as the edited framework-res.apk file is in the root of your C:\ drive. Let me know.
Just want to confirm this is working on my G2 running GingerVillian 1.5
Caused a bootloop on my inc running CM7
Is it possible to tell me which changes i have to do in the keyguard_screen_tab_unlock.xml? I want port it for the Milestone CM7 by nadlabak. I've tried to use your version but it ends in reboot loop.
Also to add the content from yours into the MS Version fails. Hopefully u can help me. In attachement the original framework-res.apk from the lastet Version.
TIA
bandit79
downloading now
fckd my dell , via this lockscreen help needed
petsasj said:
After a lot of trial and error, here it is. Pretty simply you will be able to change your lockscreen background to whatever your liking is.
This has been mentioned to be working on both MDPI and HDPI resolutions.
This mod works only for CM7, as it includes the rotary lockscreen code.
IMPORTANT This will alter your framework-res.apk folder, and this means you will lose your current accounts and sync settings. So backup with titanium first (or whatever you use). ALSO, NANDROID TO BE SAFE
I've made 2 versions so far:
1) First version is your normal lockscreen, with altered background. Nothing else is changed.
2) Lockscreen with altered clock. Moved to the top-left to leave more space for your new background to show. Here's how it looks:
FIRST STEP - How to apply Lockscreen for the first time
1) Included are 2 CustomLockscreen .zip files. Choose wether you want the edited clock version or not, then go ahead and download
2) Use either metamorph, or simply overwrite in your own framework-res.apk files the contents of the zip file (if you overwrite, make sure you leave out the .xml file in the ROOT of the zip)
3) Apply Metamorph, or use your own framework-res.apk and push it via adb.
4) Reboot. Note this also changes your home background picture, just simply change it to your normal one. Don't worry, the lockscreen one won't change after you change your home background.
STEP TWO - After having applied the first step, you need to do this to change image everytime you want to
1) Download the ChangeLockscreen.zip
2) Use metamorph to extract the zip then exit metamorph
3) Mount your phone to your pc and place your 320x480(MDPI) or 480x766(HDPI) picture in /sdcard/AndroidThemes/ChangeLockscreen/framework-res/drawable
4) Go back to metamorph, choose "Pick existing theme" and Navigate to the ChangeLockscreen folder, and choose the ChangeLockscreen.xml
5) Apply
6) Reboot
7) Change home wallpaper again.
NOTE Use a 320x480 JPG IMAGE (MDPI) OR 480x766 JPG IMAGE (HDPI) of your liking and place it in /drawable named as default_wallpaper.jpg
IF SOMETHING GOES WRONG
Extract your framework-res.apk from your current rom
Boot in recovery and enable USB toggle
Code:
adb shell mount /system
adb shell rm /system/framework/framwork-res.apk
adb push /the-folder-you-extracted-your-framework-res/framework.res.apk /system/framework
Reboot
NOTES MDPI devices use the normal zips. HDPI devices use the HDPI zips.
If you like this, please THANK away
Contact me
Twitter
Suggestions, problems etcetera, please post here so others can help as well. Let me know if this works for you.
Click to expand...
Click to collapse
I tried to install this lockscreen and i ****ed my dell, it just restart again and again, like blinking screen on dell logo again and again, please help guys tried factory reset via recovery mode,nothing happened
cannot make it....return boot loop on my CM7
any help?
doesnt work with GSB CM7. It either puts it in a bootloop or doesnt change it period.
btw, great surprise with the changelockscreen.zip wallpaper
Cant get this to work on G2 using cm7 rc1 meta freeze when installing the costum lockscreen zip
Sent from my G2 using XDA App =)

Categories

Resources