Trying to make my own theme but need help - Hero CDMA Q&A, Help & Troubleshooting

im trying to make make my own theme, but i need some help. i dont know where to begin. i have a couple of themes out on the forum that i want to chop up to make my new theme. how do i package them all together?
also how to you change the taskbar icons and takebar drop down box?
i want these icons
http://img19.imageshack.us/img19/9821/devicew.png
i want this dropdown box for my notifications
http://i235.photobucket.com/albums/ee97/atoz350/a9a98a9c.png
i want this rosie
http://i40.tinypic.com/mv26nr.png
and im trying to figure out how to package all my apks it to a zip
please someone help me out!!!
i looked at a couple how-to's and guides but still cant figure it out

Yay you want my Rosie haha. Basically everything you wanna change is it framework-res.apk and com.htc.resources.apk in /system/framework
Open the apk's, pull out the res folders, find the images you wanna replace and replace them. Then put the res folder back into the respected apk, and put them into an update.zip and sign it. If you dont know how to do the last part I can do it for you

take the files from the theme elements you like and then replace the ones in the rom youre using with the ones you like. There are many files to edit depending on what you are trying to alter. I suggest editing your own rom before attemting an update.zip theme for us.

Related

theme question hero, cut & paste?

i know that alot of framework is changed through files
/system/framework/com.htc.resources.apk
and
/system/framework/framework-res.apk
If i just want to use kings rom, but mligns theme can i simply just cut and paste these files before i flash? and will it be compatible? or how would i go about it?
Also how would i go about it if i wanted to alter some colors and designs myself and get it to become compatile?
it may work but i wouldnt recommend it. open up the apks and extract the .pngs from mligns rom and replace the ones in kingklicks

[Q] rom porting question

Alright....I've tried searching and searching but I can't find exactly what I need. I'm wanting to try to port blue echo to cm6.1. Now I'm still a little new at this but I've learned how to smali and baksmali, use flashboot, sdk, sign zips, create flashable zips, zip align, optimize, pretty much all the ends and outs of the basic. I've only been at this 4 months but I love android and want to learn to become a dev. Now I'm trying to learn how to theme roms. There are a million guides that I've found but now will tell me how to do this . Could someone point in the right direction to a thread explaining how to port a sense theme to cm6.1. Ive tried replacing the images in the drawables folders from framework-res . Repackaged zip aligned optimized signed and flashed. Nothing took. So I opened the zip all the images had copied over in the cm6 rom zip. So I wiped and flashed the modded zip it still reverts to the original framework of cm6. I don't understand how that is. I need a way to just copy the colors and images. Does anyone know what I'm doing wrong or know of a how to with just the steps .I already have all the programs on my pc.
shawn328 said:
Alright....I've tried searching and searching but I can't find exactly what I need. I'm wanting to try to port blue echo to cm6.1. Now I'm still a little new at this but I've learned how to smali and baksmali, use flashboot, sdk, sign zips, create flashable zips, zip align, optimize, pretty much all the ends and outs of the basic. I've only been at this 4 months but I love android and want to learn to become a dev. Now I'm trying to learn how to theme roms. There are a million guides that I've found but now will tell me how to do this . Could someone point in the right direction to a thread explaining how to port a sense theme to cm6.1. Ive tried replacing the images in the drawables folders from framework-res . Repackaged zip aligned optimized signed and flashed. Nothing took. So I opened the zip all the images had copied over in the cm6 rom zip. So I wiped and flashed the modded zip it still reverts to the original framework of cm6. I don't understand how that is. I need a way to just copy the colors and images. Does anyone know what I'm doing wrong or know of a how to with just the steps .I already have all the programs on my pc.
Click to expand...
Click to collapse
Simplest way, if you just want the icons, pics and notification bar things is to use 7zip for PC. Don't extract the theme, just open it. Navigate to the framework-res.apk file of the new ROM you want the theme to work on, open but don't extract, copy all the .png files from the theme into the ROM or new theme you are making. It will ask you to replace, obviously you say "yes" When you are done, just close it all back up, no recompressing or signing needed because you didn't extract anything. Just put it on your SD card and it will flash.
Let me know if you need more help. This by and large the simplest method for making minor edits to a theme.
Download the CyanogenSense theme by mrinehart93 found here: http://forum.xda-developers.com/showthread.php?t=723224
It's a working Sense-looking theme on CM6. Download it, unzip it on your PC, pick it apart, etc. to see how he changed and compiled it to make it work. Hopefully that will help you figure out how to do what you want to do. Good luck.
chromiumleaf said:
Download the CyanogenSense theme by mrinehart93 found here: http://forum.xda-developers.com/showthread.php?t=723224
It's a working Sense-looking theme on CM6. Download it, unzip it on your PC, pick it apart, etc. to see how he changed and compiled it to make it work. Hopefully that will help you figure out how to do what you want to do. Good luck.
Click to expand...
Click to collapse
+1 Good idea!
ranger61878 said:
Simplest way, if you just want the icons, pics and notification bar things is to use 7zip for PC. Don't extract the theme, just open it. Navigate to the framework-res.apk file of the new ROM you want the theme to work on, open but don't extract, copy all the .png files from the theme into the ROM or new theme you are making. It will ask you to replace, obviously you say "yes" When you are done, just close it all back up, no recompressing or signing needed because you didn't extract anything. Just put it on your SD card and it will flash.
Let me know if you need more help. This by and large the simplest method for making minor edits to a theme.
Click to expand...
Click to collapse
I did this but had to flash clockword because i was using ra, it wasn't verifying the update. So i turned off signature verification. But I'm using firerat mtd and forgot that i have to repatch the clockword for this so I did'nt really get to see if it worked yet. But thanks all of you responding I appreciate it. Ill let you know if these methods work.
I fixed the prob. Did everything suggested by copying the png's between the zips without extracting them. Even doubled checked all the png's everything looked like it was a go . But I only got 3 of my new icons. Everything else was still stock cm6 even the notification bar was stock. Do I got to do more than just transfer the png's cause it seems like maybe the xml's are reverting them back to stock?

[Q] Assonance theme in other ROMs?

Is it possible? I love the theme. Particularly in the notification pull-down thing with the wifi icons and such.
They are just png images in the framework. Depending on what other rom you are wanting to use it on you may be able to just swap out the framework-res.apk and twframework-res.apk in /system/app. Otherwise you can just move the images into the new rom framework files (the ones used are in /res/drawable-hdpi usually). You might be interested in learning to create metamorph zip files as well.
Thank you. However, I extracted the framework-res.apk and I have found some image files, but I see none that are pull-down icons like the GPS, Wifi, Auto-rotate icons. Any help?
Not sure what you mean by metamorph.
Because they're not there.
They're in twframework-res.apk. And you have to edit the status_bar_expanded.xml to get rid of the text.
It is essentially "Gingerbread" with some minor tweaks.
The only issue you might have is when you copy all of the images out of the framework-res.apk -> drawable-hdpl folder that your menu buttons might be a little off. Unless you start out with a Dark theme that has already adjusted the menu to have a black background and white text...
I think there is a Gingerbread theme in the Theme/App forum that would be close to what your looking for.
I was trying to do a MetaMorph for this type of theme but I could never get the *.xml edits needed to overwrite using MetaMorph correctly. (Check the Q&A Sticky for MetaMorph)
... It can be done but it'd be a little more complicated
Okay, I am still trying to understand. I extracted the twframework-res.apk and took out the files from the Assonance theme. I extracted the twframework-res.apk from another theme that I liked, and replaced the Assonance parts I like into it. Now, can I just zip it back up and rename it to .apk? I'm not really sure what to do now.
Thanks for your help so far!
max

[REQ] [froyo] BLACK/TRANSPARENT notification pull down bar

Searched and couldn't find just this...a black notification pull down. I think I am one of the few that likes the stock look just want a black/ transparent pulldown and don't want a whole new theme to get it. I am running dl30 BTW. I KNOW THAERE ALOT OF REQUEST BUT HOPEFULLY MINE IS EASY TO FULL FILL WITH A COUPLE OF OPTIONS TO ADD AS A ZIP FOR THOSE THAT LIKE A SEMI-STOCK LOOK. HOPE TO SEE A COUPLE SOON.
THANKS IN ADVANCE
A little FYI...I really like the midnight pulldown and buttons....many others are nice as well..
This can be done by modifying the png images in the framework i believe. If you use 7zip to extract it and then edit with photoshop or gimp and save the png and put back into the framework file.
If i am wrong somebody can correct me though.
bump....seems easy but I am an idiot with this phone?!?
I want it also
I pulled out the files and changed everything and put it back into the apk file. When I put it back on my phone I didnt get any changes. I thought I read that if your only changeing pics, this is all that was needed.
I posted asking if there was something I was missing but no answer.
I have the changes if I could get the phone to take them.
Yeah i tried ti compile it too just now....fail.
MSHancock said:
I pulled out the files and changed everything and put it back into the apk file. When I put it back on my phone I didnt get any changes. I thought I read that if your only changeing pics, this is all that was needed.
I posted asking if there was something I was missing but no answer.
I have the changes if I could get the phone to take them.
Click to expand...
Click to collapse
Attach your framework-res.apk & twframework-res.apk and let me look at it. It will be hard to give an accurate explanation without first doing this.
EDIT: Or do what nitsuj said below and it should work. Your probably having problems with .9 pngs
MSHancock said:
I pulled out the files and changed everything and put it back into the apk file. When I put it back on my phone I didnt get any changes. I thought I read that if your only changeing pics, this is all that was needed.
I posted asking if there was something I was missing but no answer.
I have the changes if I could get the phone to take them.
Click to expand...
Click to collapse
to do what you are trying to do.......grab the twframework-res.apk from your phone by pulling it with adb...or simple version just grab it out the rom you are currently using by moving the og rom file to your desktop and use 7zip to extract it.
now use 7zip again to extract the drawable-hdpi folder from the apk.
swap out status_bar_background.9 for a transparent one you grabbed from another theme...or you can make one by yourself...but its a .9 image so you ll have to patch it in 9 patch.
if you want to avoid that heres a transparent one for you http://dl.dropbox.com/u/15331201/rom/transparentbackground.zip (just extract it and swap it)
open up the twframework with 7zip again and copy this drawabl-hdpi folder over the old one....then you can push this framework back to your phone...or just take one of our theme update.zips and open it up with 7zip...go into the system folder, delete the app and font folders...go into the framework folder and delete whats theres and place the twframework-res.apk in it....put the zip file on ur sdcard...boot to recovery and flash it
Thanks
Thanks for the tips guys. I will work on this today and have something later.
as soon as I get back to my comp I am going to try and fix it...

making a flashable theme

I dont mean to look for the easy way out but ive searched and cannot find exactly what i am looking for. I want to turn my AOKP theme into a flashable zip and im not sure where to start.
Ive already edited the pngs, .9 pngs, and xmls i want and turned out a pretty nice red theme with full colored icons. I used the common apks; contacts, phone, systemui, settings, and framework-res. Where do i go from here?
I have found some threads saying you use the entire apk and just copy it into another theme, but im looking to do it from scratch. Also, that doesnt seem right to copy the entire apk over because that would overwrite any changes made in the nightlies. Wouldnt you just take only the drawables, values, etc out and make that the theme?
thanks for any help.

Categories

Resources