How to cook an existing theme into into my roms! - EVO 4G Q&A, Help & Troubleshooting

Using android kitchen seems pretty limited! Want to theme my work but frustrated a little need advice! Can i just swap some files framework, res or something!
sent from my personal cooked eVoKINGS SUPERSONIC v1.1

in my experiance ... yes you can. I ooften take themes and swap parts of them into roms doing this. you may find some of the files in com.htc.resources too. The trick is to decomile the reamework/resources files replace the .png files you want and then recompile them and put them into your rom. It shoudlnt be to hard to use an exsiting them to do this unless your rom has special ui elements (ie the switch bar in the notification drop down i still cant figure out how to get correct)

I tried swapping frameworks,Res files most that worked swapped phone dialer image with gimp! Yeah! Any file folders that i can swap between roms let me know! eVoKINGS Supersonic v1.1 is my first rom that i am working on AOSP 2.2.1 posted it yesterday! Thanks for the response!
sent from my personal cooked eVoKINGS SUPERSONIC v1.1

Related

framework-res.apk swap?

Should I be able to take the framework-res.apk from one ROM and put it in to another ROM and then flash the entire ROM? Because I just pulled one from an Azrael ROM and put it in to an EViO ROM and flashed it and I still had all the same notification bar icons, etc.
Not a good idea. Check out the theme forum to learn how to theme. There is a lot of good stuff in there. And the notification bar icons are usually stored in the individual apk's, not the framework.
In a sense ROM, a lot of the icons are in the com.htc.resources.apk instead of the framework-res.apk. That should get you there, everything should be fine as long as both the transplant ROM's have the same base.
Hey... This thing makes phone calls too!
You have to wipe your dalvik anytime you change something like that

[Q] Please help, UOT Kitchen battery mod + MIUI Theme

I flashed MIUI, then applied the theme I wanted, Elite Pro HD. I wanted the SCB battery mod as well, so booted into recovery and flashed the one I made of only the battery mod, however after uploading the framework-res.apk file in the kitchen it removed practically all themeing in MIUI after reboot. After I do that, it will not allow me apply any new themes. Some icons change but nothing else, the dock icons, fonts etc all stay stock MIUI and I can't figure out why so any help would be much appreciated. Would love to be able to somehow implement the SCB mod into the theme or just make them work together.
it sounds to me like you will have to learn how to make custom frameworks if you want it all working together.
my suggestions:-
choose whatever battery you want on UOT - make it for any rom, doesnt matter you only need the files.
decompile the UOT framework - take the .png's for the battery and .xmls that control them
decompile your already custom framework - copy .xml's and .png's from the UOT framework over to it.
compile framework, add it to an update.zip and sign that.
you might want to search xda if you dont know how to do any of the above, all the info is available here
EDIT: looking at that theme it already has a percentage battery, if the .xmls are the same as UOT you could just replace the .png's in the original update and re-sign
trialsrider1 said:
I flashed MIUI, then applied the theme I wanted, Elite Pro HD. I wanted the SCB battery mod as well, so booted into recovery and flashed the one I made of only the battery mod, however after uploading the framework-res.apk file in the kitchen it removed practically all themeing in MIUI after reboot. After I do that, it will not allow me apply any new themes. Some icons change but nothing else, the dock icons, fonts etc all stay stock MIUI and I can't figure out why so any help would be much appreciated. Would love to be able to somehow implement the SCB mod into the theme or just make them work together.
Click to expand...
Click to collapse
Kitchen removes nothing. if u cooked file from your rom, so u get everything stock.
U should cook framework-res.apk from the theme's zip.

Make themes for kitchen

I have trying to get themes to run in the Doc and Stefunel kitchen.
This is a pretty demanding task. Many (almost all) themes can not be used as is due to a non standard resources.arsc and 9.png errors.
There is some theme pro's here.
We like to find a some kind of way to enable any theme inserted in a rom.
Any ideas to make this in a easy way?
/Doc
No one here any ideas? I already proposed someone make a theme kitchen and integrate it with Doc's rom kitchen but apparently all the smart guys that got time and would know how to do that bought a Desire.
Which takes us back at doc's original question someone knows a fail-proof way to integrate themes into roms without having to flash a post-install zip?
Hi Doc,
i know this isnt way you want, but probably it can work:
What about make some script, witch will do:
1) after flashing ROM and start android - reboot android to recovery
2) (i dont know if it is possible) make script for CWM witch will automaticaly flash theme and reboot to system
If Im wrong .. ignore this
schiphol said:
Which takes us back at doc's original question someone knows a fail-proof way to integrate themes into roms without having to flash a post-install zip?
Click to expand...
Click to collapse
I've never need a post-install script to put a theme into a ROM.
Except for the JPY Gingerbread, but me and XGX got that hammered out in the thread in the Captivate forum and it works just fine without a second .zip.
MikeyMike01 said:
I've never need a post-install script to put a theme into a ROM.
Except for the JPY Gingerbread, but me and XGX got that hammered out in the thread in the Captivate forum and it works just fine without a second .zip.
Click to expand...
Click to collapse
Hi, any link to point in right direction is most welcome
I've merely dropped the framework-res.apk and twframework-res.apk into the /system/framework. And any other files like android.policy.jar that goes with it.
For JPY, I had to take a few extra steps:
http://forum.xda-developers.com/showpost.php?p=10258171&postcount=328

[Q] UOT Kitchen - System.apk/Framework.apk

So, I forgot to backup my system & framework apk's before I uploaded them into the kitchen and made a new theme. *I know, shame on me*.
Is there a default/stock for those or are they created based of individual phone information?
What i'm asking is, do I need to re-install the rom to get those back or can I just pull them from above said stock apk's?
Android: 2.3.5
Rom:Cm7(08012011)
Any help would be greatly apprecaited!!!
Thanks-
Jodsfk421
Jodsfk421 said:
So, I forgot to backup my system & framework apk's before I uploaded them into the kitchen and made a new theme. *I know, shame on me*.
Is there a default/stock for those or are they created based of individual phone information?
What i'm asking is, do I need to re-install the rom to get those back or can I just pull them from above said stock apk's?
Android: 2.3.5
Rom:Cm7(08012011)
Any help would be greatly apprecaited!!!
Thanks-
Jodsfk421
Click to expand...
Click to collapse
i'm confused. are you saying you dont like your theme and want to go back to stock or you want you want to update to the next nightly but dont want to do the kitchen every time?
I'm not reaaal familiar with the kitchen stuff, I know more than enough to get myself in trouble (changing radio's, roms, etc) but haven't completely grasped the themes yet.
It SEEMS like a couple of things are not changing even if I create a completely new theme (The battery icon, the lockscreen buttons and something else I forget)
My thinking is, there's a generic theme(s) for the rom and when you create a get a new one, it updates certain aspects of it.
If I create a new theme in kitchen and only change the battery, wouldn't all of the other settings revert to the "default" theme?
On a completely different note-
What's the difference between ADW themes and Themechoose themes?
Jodsfk421 said:
I'm not reaaal familiar with the kitchen stuff, I know more than enough to get myself in trouble (changing radio's, roms, etc) but haven't completely grasped the themes yet.
It SEEMS like a couple of things are not changing even if I create a completely new theme (The battery icon, the lockscreen buttons and something else I forget)
My thinking is, there's a generic theme(s) for the rom and when you create a get a new one, it updates certain aspects of it.
If I create a new theme in kitchen and only change the battery, wouldn't all of the other settings revert to the "default" theme?
On a completely different note-
What's the difference between ADW themes and Themechoose themes?
Click to expand...
Click to collapse
Ah. ok. so what ever you change in the kitchen it will change in the apk. it wont touch the rest of the apk. its kinda like an online apktool. it unpackages it changes the png's you want and then packages it up again using the resources from the apk you submitted. ADW themes are for the ADW launcher so it only themes the home screens. but Themechooser themes the whole phone, or as much as the developer of themechooser allowed it to do.
Great! Thanks

(Q) How To Theme AOSP ICS?

My phone (Galaxy S Plus) is running aosp ics built by broodplank and i want to theme it with touchwiz 5 cm9 theme. I used ninjamorph and copy and paste res file of the touchwiz 5 theme.apk (extracted) into both the systemui.apk and gramework-res.apk. I rebooted my phone and exactly no difference. Can someone tell me how to theme aosp? I hate cm9 cause aosp on my device runs smoother than vm9 and more slim
You probably didnt expect to see me here but i think you need to transfer those files with more care.
I mean the images in drawable-hdpi dont even match names probably so then its a waste of space only.
You need to check and study the contents of the aosp files good. And then based on what you know you start copying those files.
Im not a themer but i think its not just copying if you port them from a different framework (tw in this case)
broodplank1337 said:
You probably didnt expect to see me here but i think you need to transfer those files with more care.
I mean the images in drawable-hdpi dont even match names probably so then its a waste of space only.
You need to check and study the contents of the aosp files good. And then based on what you know you start copying those files.
Im not a themer but i think its not just copying if you port them from a different framework (tw in this case)
Click to expand...
Click to collapse
Thanks but are there any tw frameworks in your aosp?
Why you dont use the theme chooser from market and apply one touchwiz theme?
broodplank1337 said:
You probably didnt expect to see me here but i think you need to transfer those files with more care.
I mean the images in drawable-hdpi dont even match names probably so then its a waste of space only.
You need to check and study the contents of the aosp files good. And then based on what you know you start copying those files.
Im not a themer but i think its not just copying if you port them from a different framework (tw in this case)
Click to expand...
Click to collapse
he is completely right (it's broodplank, what you'd expect?)
I got a hint for you. these files which you extracted should have the same name as the same screen solution, if not, they are cannkt be displayed and you will get a fc.
How about making a team Juhan Jufri? you are a good modder! I'm building Project Stock at the moment (based on Broods AOSP (thank you again, really well done!)
It's a rom which should have all Samsung features we know well from our gb stock to make a stock like 4.0.4 rom (samsung said, they couldn't because of some hardware stuff, i will proof that).
It's not easy so I need help.
So? would you join my team and help me build Project Stock?
EDIT: forgot to answer your question. take the twframework.apk from a gb stock (based) rom. can be found (gess you already know) in system/framework
sent from my GameBoy Color
------------------------------
working on:
Project Stock (4.0.4)

Categories

Resources