Need help. How to port CM themes to stock roms - General Questions and Answers

Any way/guide to port cm themes to stock ui?
Lyk editing SystemUI, framework and Settings?
Which XMLs and values to change with whom?

Related

framwork-res

hello
i want change style of my rom i have cyanogenmod but i like ics style how can change from cyanogen to ics but keep all settings from cyanogen
so do i must replace framework-res.apk and framework.java from other rom or i must replace systemui.apk or have any software or app to change style i dont like goluncher and other apps for change apperance
what i must do for change
i try with this tutorial
1.download 2 roms
2.exctract all
3.replace framework-res and framework java from one to other
4.sign rom
5.install
but dont work for me:crying:

ICS REAL3D Theme

Hey guys does anyone know how to build in ics themes into a rom i have tried about 5 times with no such luck. i was wondering if someone could point me to someone that has done this with ease..
Cheers
You can start with this place
http://forum.xda-developers.com/showthread.php?t=990829
For CM roms you can just study how the theme apks work and recompile one with your assets instead. There's an ICS theme by Sonny Sekhon on Google Play.
For non-CM roms, the only way as far as I know is to decompile/open an apk as a zip file, replace the original assets with the themed ones and recompile. This is very time consuming and must be done a certain way (check themes and apps forum, there's an ICS theme done this way).

Help regarding decompiling apk

Hey guys, I wanted to ask that to edit Rosie.apk for HTC Sense, what apks do we have to install on the PC? Only framework-res or com.htc.resources or any other? Also to port sense 2 dock, what changes would have to be made to sense 3.5 Rosie?
EDIT: I tried decompiling Rosie.apk after installing framework-res.apk but I can't see the option to edit icons.
Farzan Hussain said:
Hey guys, I wanted to ask that to edit Rosie.apk for HTC Sense, what apks do we have to install on the PC? Only framework-res or com.htc.resources or any other? Also to port sense 2 dock, what changes would have to be made to sense 3.5 Rosie?
EDIT: I tried decompiling Rosie.apk after installing framework-res.apk but I can't see the option to edit icons.
Click to expand...
Click to collapse
Try to installing com.htc.resources and also any apk which is used with rosie.apk
I read in a tutorial that for sense 3 fusion.apk editing also needed
sent from
little pico

[Q] theme chooser custom rom

Hi ,
I'm trying to build a custom rom for the jiayu g4 with as base stock kitkat rom.
Now, I would like to add theme ability to the rom. Not with xposed framework or such, just a theme chooser like in the xperia and cm settings.
Can anyone help me with this? The intension is to have such setting (or app that I can link to settings) to easely change the theme.
If there's an option to do this, but specific for my kind of phone (so no theme's exist yet), I wouldn't mind theming a bit. In that case I could provide the users with 3 or 4 different UI collours and different icons or such to choose from.
Thanks,
Louis
louis-JYG4t said:
Hi ,
I'm trying to build a custom rom for the jiayu g4 with as base stock kitkat rom.
Now, I would like to add theme ability to the rom. Not with xposed framework or such, just a theme chooser like in the xperia and cm settings.
Can anyone help me with this? The intension is to have such setting (or app that I can link to settings) to easely change the theme.
If there's an option to do this, but specific for my kind of phone (so no theme's exist yet), I wouldn't mind theming a bit. In that case I could provide the users with 3 or 4 different UI collours and different icons or such to choose from.
Thanks,
Louis
Click to expand...
Click to collapse
You could try adding the Cyanogenmod theme chooser into the ROM and offer some themes for it but that isn't device specific as such. That would most likely be the easy option where something else could take a lot of time though.
-----
Hope this helps
A_Bunny
-----
A_Bunny said:
You could try adding the Cyanogenmod theme chooser into the ROM and offer some themes for it but that isn't device specific as such. That would most likely be the easy option where something else could take a lot of time though.
-----
Hope this helps
A_Bunny
-----
Click to expand...
Click to collapse
How can i add the Cyanogenmod theme chooser into the ROM? Isn't the cyanogenmod theme engine built in in the framework and very difficult to add to a ROM?
louis-JYG4t said:
How can i add the Cyanogenmod theme chooser into the ROM? Isn't the cyanogenmod theme engine built in in the framework and very difficult to add to a ROM?
Click to expand...
Click to collapse
It is built into the framework and requires an AOSP based rom. Also the version for that OS had a ton of issues that were never fixed as it abandoned for the newer setup
zelendel said:
It is built into the framework and requires an AOSP based rom. Also the version for that OS had a ton of issues that were never fixed as it abandoned for the newer setup
Click to expand...
Click to collapse
So you're telling me I must not try to add the cyanogenmod theme engine? What would be the easiest way to add some theme's then? It doesn't have to be theming like in cyanogenmod or such. Just changing the theme collour from as example black to blue would be enough for me. Then I can provide them with the themes black, blue, red, green or such.
Thanks for taking the time to answer
louis-JYG4t said:
So you're telling me I must not try to add the cyanogenmod theme engine? What would be the easiest way to add some theme's then? It doesn't have to be theming like in cyanogenmod or such. Just changing the theme collour from as example black to blue would be enough for me. Then I can provide them with the themes black, blue, red, green or such.
Thanks for taking the time to answer
Click to expand...
Click to collapse
To do what you want you would have to rewrite all the base framework files and add everything in by hand. To be honest it will be far more work then it is worth. Your best option would be to make flashable theme zips, where you change all the color options to each and every single apk in the rom.
zelendel said:
To do what you want you would have to rewrite all the base framework files and add everything in by hand. To be honest it will be far more work then it is worth. Your best option would be to make flashable theme zips, where you change all the color options to each and every single apk in the rom.
Click to expand...
Click to collapse
wouldn't it work to just change the systemui or such so the status bar, volume pannel, settings etc change collour and maybe some icons (like wifi, bt,..)? And then I could search for an app that automaticaly flashes zip's, that way the users just need to choose the theme they want and the phone does the rest himself?
Or is there a way to implend xposed modules into the system so I can use XthemeEngine without having to install xposed module? Or implend xposed framework and XthemeEngine in the ROM so you just flash it with the rest of the ROM? But in that last case, it maybe would be stupid to do the work for it as everyone can easily find out about XthemeEngine if they realy want to apply some themes. Plus xposed and XthemeEngine would be 2 apps taking space in the drawer and memory wasting for the users who don't want to theme..
louis-JYG4t said:
wouldn't it work to just change the systemui or such so the status bar, volume pannel, settings etc change collour and maybe some icons (like wifi, bt,..)? And then I could search for an app that automaticaly flashes zip's, that way the users just need to choose the theme they want and the phone does the rest himself?
Or is there a way to implend xposed modules into the system so I can use XthemeEngine without having to install xposed module? Or implend xposed framework and XthemeEngine in the ROM so you just flash it with the rest of the ROM? But in that last case, it maybe would be stupid to do the work for it as everyone can easily find out about XthemeEngine if they realy want to apply some themes. Plus xposed and XthemeEngine would be 2 apps taking space in the drawer and memory wasting for the users who don't want to theme..
Click to expand...
Click to collapse
Well thats the thing. The volume panel color shares its color with the rest of the menus in the rom, The settings is set by the settings apk and the icons are scattered across a ton of different apks. Some in the framework and some in the system ui.
The xposed route is up to you. I find no use for xposed myself.
Ill be honest there is no easy way to do this. What you want to do takes weeks worth of work even for a single color theme. This is due to everything being cross linked to everything else. You change the color for say the clock then the color changes in 50 other places as well.

[Q] How to port SystemUI.apk and framework-res.apk

Is there a way to port all the features and functions present in systemui.apk and framework-res.apk and not just the theme ?
Same here I wanna learn too.

Categories

Resources