[Theme Dev] Question about two files - Nexus One Themes and Apps

Hi,
I did my first own theme for Nexus, did many for Hero before.
But just I've got a question...
I'm using "services.jar" and "framework-res.apk"
could anybody explain me please, whats in these two files along to the icons?
Is it possible that nexus crash or runs slower with modified icons in it?
I want to use my theme every time, but don't know if google (or cyanogen, modaco) changes something in this two files.
Anybody know?

Related

REQ [MetaMorph]: Swype / Files inside

Hi,
i never did a Morph myself, probably i will try it later today. If someone is a bit more experienced he'll do that in a few minutes i think.
May someone be so kind and do the morphs for me (and tell me which file he needs?).
I have different Keyboard Layout styles here for swype (original, black/red, htc style, galaxy syle, original brown style).
I put them in the correct folders like com.swype.android.inputmethod/assets/keyboards. There are only some png's which have to be replaced.
They should work with every version / mod.
A sample morph can be found here (but it is for the old Metamorph version)
http://forum.xda-developers.com/showpost.php?p=6753575&postcount=102
The Morphs include QWERTY AND QWERTZ Layout.
Credits will be added soon, i have to look for myself from where i got this. I modified the black QWERTZ and the brown original style.
Thanks Sho3box for the Black Theme http://forum.xda-developers.com/member.php?u=2308049
Files following
screenshots here
second step would be adding different tracer and corresponding glow colors so everyone can mix that and do his favorite version!
nice!
thanks
PS: Yeah a metamorph would be great.
no metamorphers here?
Have you tried editing en resigning the latest beta release?
Manually and autosigning it both made it crash in my case.
Thx and greets
Yes works great for me but I am signing manually (ok i see you tried both..)
what do you edit exactly?
watercool said:
Yes works great for me but I am signing manually (ok i see you tried both..)
what do you edit exactly?
Click to expand...
Click to collapse
I tried signing my own apk yesterday and I can't figure it out on my mac. There isn't much support online for Mac users. Were you able to make an HTC theme for Swype yet, or did someone? I don't need anything fancy just the HTC style keyboard in either a MM or apk. I think someone posted the Morph file in another thread but it's for the old version of MM which I can't find one that works on my N1. Let me know if you have anything modded already that could help me out or even the old version of MM would work I suppose with the other HTC style keyboard previously posted.
Thanks!
I'm sorry but I guess my problem wasn't the signing because the install went fine, it's just that when running swype it crashed instantly thus making it useless...
maybe I need to try it with an earlier version...
Could anyone who can confirm a successful mod please post the version number in here?
Thanks
wow id love that black swype with a red trace line for my evo..
watercool said:
Hi,
i never did a Morph myself, probably i will try it later today. If someone is a bit more experienced he'll do that in a few minutes i think.
May someone be so kind and do the morphs for me (and tell me which file he needs?).
I have different Keyboard Layout styles here for swype (original, black/red, htc style, galaxy syle, original brown style).
I put them in the correct folders like com.swype.android.inputmethod/assets/keyboards. There are only some png's which have to be replaced.
They should work with every version / mod.
A sample morph can be found here (but it is for the old Metamorph version)
http://forum.xda-developers.com/showpost.php?p=6753575&postcount=102
The Morphs include QWERTY AND QWERTZ Layout.
Credits will be added soon, i have to look for myself from where i got this. I modified the black QWERTZ and the brown original style.
Thanks Sho3box for the Black Theme http://forum.xda-developers.com/member.php?u=2308049
Files following
Click to expand...
Click to collapse
maybe this will help..i have no idea how to do it.. got confused just reading it but im really hoping someone knows how to do it
i researched and came up with this..i hope it helps.. if it doesn't i cant say i didnt try..
http://droidthings.freeiz.com/?page_id=350
wow i really like those themes
I did a Morph and it was processed properly but afterwards Swype wasn't present anymore to choose as input method.
I checked this twice, on internal and external memory.
But both times same result, swype isn't chooseable anymore
So I had to reinstal it again and then all is fien again.
How do you install this?

framework-res.apk & services.jar

Can anyone offer some insight on the SDK emulator? I'm trying to test out a new framework-res.apk/services.jar for white notification/clock text on froyo. trying to push it to an AVD(emulator) but getting errors:
"C:\Users\pwner>adb push C:\Users\pwner\Desktop\Theme\framework-res.apk /system/framework/framework-res.apk
failed to copy 'C:\Users\pwner\Desktop\Theme\framework-res.apk' to '/system/framework/framework-res.apk': Out of memory"
can't find anything about this on the web. sorry, know it's a noob question but i'm very much so looking forward to having a black theme back on my nexus + froyo. i'm also going to be developing my own themed* ROM which depends on white text.
any help would be greatly appreciated.
---
edit: using an emulator because i don't want to blow up my phone
edit2: yes, i've reviewed the documentation here: http://developer.android.com/guide/developing/tools/emulator.html
you ever figure this out? seems there is a way to change the clock color on froyo now, but i'm clueless.
RogerPodacter said:
you ever figure this out? seems there is a way to change the clock color on froyo now, but i'm clueless.
Click to expand...
Click to collapse
yeah totally thanks to all the help to everyone who replied. LOL. NOT.
no, i never did. i quit screwing with the emulator.
there is a way yes, BUT, we need a fully deodexed froyo rom first. paul over at modaco has deodexed the build but hasn't released the deodex pack for the kitchen. once he does, i'll be building/releasing a theme. till then. we are fuct
edit:
more info over here:
http://forum.xda-developers.com/showthread.php?t=698295
This could help:
http://forum.xda-developers.com/showpost.php?p=6778975&postcount=86
Did you get this worked out? I haven't had much time over the last 36 hours but may be able to assist now since I've done it a few times.
Although I don't know much about using an emulator, I always use a handset.
So, if you think I can help, either with your patching or your future rom, let me know.
DocRambone said:
This could help:
http://forum.xda-developers.com/showpost.php?p=6778975&postcount=86
Click to expand...
Click to collapse
djmcnz said:
Did you get this worked out? I haven't had much time over the last 36 hours but may be able to assist now since I've done it a few times.
Although I don't know much about using an emulator, I always use a handset.
So, if you think I can help, either with your patching or your future rom, let me know.
Click to expand...
Click to collapse
Hey thanks for the advice guys! Well, I've actually gotten a ported Kspec theme set up on my phone right now. Only problem is that I just pushed the framework and launcher and apps to my phone using adb push. so no update.zip
So what I could really use some advice on would be:
1. Setting up my PC for signing apps that I modify. I use windows 7 though. none of the articles about setting up signing seem to pretain to me, including stericsons guide
2. Creating update.zip files to flash(sure i can find more info on this in the forum but with out signing ability not too much point right now).
3. using apktool to decompile apps to edit XML files. this is so i can change the text on the music app's text color to white(so now playing shows up properly in the notification bar) along with other apps I use so I can theme and change font colors such as touteir, etc.
other than that, I'll be working on images to get my custom rom out! This is what I have on my phone ATM:
PLEASE NOTE THAT THIS IS NOT MY THEME. just ported it from brendank's kspec monster theme. i hope he wont mind that i'm sharing screenies of what i'm using on my phone here, and i have no intention on releasing his theme at all...i am using it as a temp theme so i don't go insane with all the white on the phone till i make my theme. anyways, screen shots attached.
edit:
just for anyone who cares, my theme will be very similar to the kspec monster theme(all black, with transparencies), but will have blue high lights to match the blue on the clock on my home screen.
Okay, there's a fair bit to answer there so perhaps we just take it one step at a time...
Windows 7 is not a problem. You will need to install the Android SDK and the included USB drivers. Once you've done this test that your phone can connect to your computer by USB, if not you'll need to diagnose that (that's a search).
You need the JRE (Jave Runtime Environment). You probably have this, type java.exe at a command prompt to make sure it exists, if not then download and install (any Windows version).
The you need to check that adb (Android Device Bridge) is working. Drop to a command prompt and go your SDK/tools dir and type adb devices with your phone plugged in via USB. It should display the serial number of your connected phone. If it does not then you need to diagnose your adb problems (that's a search).
The you need to autosign (search this forum) and apktool (search google), these will allow you to decompile/compile/sign apks and also sign update.zips.
Once you have all of that and you're familiar with how it basically works then post back here with some of your experiences and we'll take it to the next step.
Please also look in the Chef's Central sub-forum, there's lot's of helpful information (including many of the required tools) in there.
geahboi said:
Hey thanks for the advice guys! Well, I've actually gotten a ported Kspec theme set up on my phone right now. Only problem is that I just pushed the framework and launcher and apps to my phone using adb push. so no update.zip
So what I could really use some advice on would be:
1. Setting up my PC for signing apps that I modify. I use windows 7 though. none of the articles about setting up signing seem to pretain to me, including stericsons guide
2. Creating update.zip files to flash(sure i can find more info on this in the forum but with out signing ability not too much point right now).
3. using apktool to decompile apps to edit XML files. this is so i can change the text on the music app's text color to white(so now playing shows up properly in the notification bar) along with other apps I use so I can theme and change font colors such as touteir, etc.
other than that, I'll be working on images to get my custom rom out! This is what I have on my phone ATM:
PLEASE NOTE THAT THIS IS NOT MY THEME. just ported it from brendank's kspec monster theme. i hope he wont mind that i'm sharing screenies of what i'm using on my phone here, and i have no intention on releasing his theme at all...i am using it as a temp theme so i don't go insane with all the white on the phone till i make my theme. anyways, screen shots attached.
edit:
just for anyone who cares, my theme will be very similar to the kspec monster theme(all black, with transparencies), but will have blue high lights to match the blue on the clock on my home screen.
Click to expand...
Click to collapse
I love the Notification bar on that theme... You think I could get the string for that or maybe the theme to extract the framework-res.apk and services.jar?

[Q] Change Icons to Stock Android?

hey everyone, not sure if this belongs in the general or development forum, but I figure I'll wing it. I was wondering if anybody new a way to change the app icons to the stock android ones? I have already tried using Better Cut with the icon pack but they looked pixelated, so I tried it with high res downloaded ones, and, wouldn't you know it, still pixelated. So I was wondering if there was a way to actually fully change the icon (not just make a shortcut with a new one). If so how would I go about this in a way to avoid pixelation, also, I wouldnt mind rooting to achieve this.
Thanks ^_^
I've been wondering about this myself. From what I've read, you're supposed to change the .png icon within the .apk file of the app. Problem is, I'm not sure if I have to re-install the .apk file for the new icon to take effect. Also, can I just move a .png icon to the .apk within the phone?

[Q] Help needed - strange framework modding problem

Sorry if this has been posted before, but I couldn't find anything regarding this sort..
So to the question. I have been modifying my framework (and apps) (CM 2.2.1) to get a Gingerbread-like look. Everything else works well but when I pull notifications open, there is a strange shadowy gradient on top of the notifications - and I can't find out why! The graphics seem to be all right, but when I use a framework from another ROM/theme that is GB-themed, there's no such thing. Is there something in the xml files that could cause this?
Screenshots attached.
Details:
HTC Magic 32A
Based on CyanogenMod nightly 307
If someone has time and will, please help me

[Q] Which Program Is used to make "Themes"?

I used to be able to crank out themes for the Crackberry in about an hour using their creator program...Is there one specifically designed for the Android OS? I've googled a theme builder for Android a few times, but nothing pulls up.
anyone want to lend a thought?
you just edit "framework-res.apk" located in "/system/framework"
Check out the sticky at the top of this forum. You can also use metamorph to make themes and provide for easy installation.
They are just png files use photoshop
Sent from my X10a using Tapatalk
Their more hand made rather than crackberry theme maker ui....
Sent from a pyramid in Canadada
Diesel984 said:
I used to be able to crank out themes for the Crackberry in about an hour using their creator program...Is there one specifically designed for the Android OS? I've googled a theme builder for Android a few times, but nothing pulls up.
anyone want to lend a thought?
Click to expand...
Click to collapse
http://uot.dakra.lt/kitchen/
Here you go... and you are welcome. This does work with x10 as i have used it for wolfs rom. It might not be as custom as you want cause you have to chose from their selection of icons and stuff.
It is a well made online kitchen for making themes. you just need to get your hands on your framework-res.apk and upload it to the website then modify it and bammo you got a new theme.
enjoy
i use gimp and patience
Diesel984 said:
I used to be able to crank out themes for the Crackberry in about an hour using their creator program...Is there one specifically designed for the Android OS? I've googled a theme builder for Android a few times, but nothing pulls up.
anyone want to lend a thought?
Click to expand...
Click to collapse
Hi,
To built comprehensive theme you need to have few tools... im sure there are few shortcuts, but if you know the technique then you can get the edge on making wonderful themes.
What to change.
images- pngs & 9.pngs (most popular thing, 9.png editing is little tricky
XML files- most people don't do this as its little complicated and this is the place you can make Honda looks like a Ferrari..
Optimization- most users just replace pngs without concerning its operational outcome. its better if you can optimized pngs and finish it off with a "zipalign"
Well. its not easy to teach you like this... but you can start little googling to get help. XDA is full of resources if you know what ur looking.
My tools for above things
Images
Photoshop CS5
Run draw9patch.bat(SDK/tools) to get an idea and fix of margin on 9.pngs
XML and optimization
SDK
Eclipse
Apktool
zipalign.exe (SDK/tools)
Good luck....

Categories

Resources