Hello everyone.I would like to ask something and i hope someone will answer.
I'm fan of some themes.But in one theme i like that and in the other i like that.
Is there a way to make a mix of them and how?
Thanks in advance!!!
Yes, it is possible.
https://docs.google.com/Doc?docid=0AcdxIJRSH9ypZGZzc2pxNDlfMjdnazk4OHNxZA&hl=en
http://forum.xda-developers.com/showthread.php?t=916814
Thanks a lot.Now i need a lot of study to accomplise that!!!
you can easily change the png files in the framework-res.apk and the twframework-res.apk of any theme's zip.just take any theme as a base and change the pngs within opening the theme and then the apks by winrar or something like it.the pngs are stored in the drawable-hdpi and/or drawable-hdpi-v4 folders.
Whenever I try to change framework res, and replace the old edited frameworkres I get bootloops. After that I have to flash a stock rom with odin and then flash my cooked rom. Even if I push the original framework res.apk, that doesn't solve the problem. No issue with twframework res.apk. I can edit twframework res .APK and works fine.
Please help.
try using 7zip instead, its better at replacing files
aditya104 said:
Whenever I try to change framework res, and replace the old edited frameworkres I get bootloops. After that I have to flash a stock rom with odin and then flash my cooked rom. Even if I push the original framework res.apk, that doesn't solve the problem. No issue with twframework res.apk. I can edit twframework res .APK and works fine.
Please help.
Click to expand...
Click to collapse
reflashing a whole rom shouldn't be necessary
first of all, you should make a backup of your system, just in case
and you should always keep a working theme on your phone so that if you get stuck at boot, you just boot into CWM and flash the working one and everything should be fine again
and for your basic problem of editing themes, have a look at R64s guide:
http://forum.xda-developers.com/showpost.php?p=10383323&postcount=577
explains all the basic stuff and works great for me
Related
I cant seem to find a way to get the 4 lock screens on just a standard theme, its kinda bothering me why nobody made one for the stock theme..
I guess this is impossible to have with the stock SGS theme.
Im starting to understand why there is no 4 lock screen for the stock theme, its not that is hard to make or anything infact the theme template for the 4 lock screen starts with a stock template then is modified.
Reason I think why nobody ever made a stock theme with 4 lock screens is that a lot of people what to use 4 lock screens and just stay with the standard theme this will make a lot of users abandon their current theme infavor of a stock theme with 4 lock screens, smart way of having people use a theme though.
Do it yourself
Take
android.policy.jar
framework.jar
framework-res.apk
Settings.apk
twframework-res.apk
from a theme with 4 lockscreens.
You can take the files out of this ROM
http://forum.xda-developers.com/showthread.php?t=844514
it's not that heavily modified and works quite well with stock images.
Open framework-res.apk and replace the files inside res/drawable-hdpi(-v4) with files from the stock theme. Do the same for twframework-res.apk.
Build an update.zip and install.
There might be a few xml changes to do, but it will be very, very stock already...
Thanks but Im afraid I dont have time to mess around and learn with it, you might be able to do for us here at XDA?
It's just copy&paste.
No hard things to do...
You need
7-zip
framework-res.apk (modded and stock)
twframework-res.apk (modded and stock)
1.
Open stock framework-res.apk with 7-zip and go to res/drawable-hdpi.
Open modded framework-res.apk with 7-zip and go to res/drawable-hdpi(-v4).
Mark all files in stock framework-res.apk/res/drawable-hdpi and copy over to modded framework-res.apk/res/drawable-hdpi(-v4). Drag&drop.
2.
Open stock twframework-res.apk with 7-zip and go to res/drawable-hdpi.
Open modded twframework-res.apk with 7-zip and go to res/drawable-hdpi(-v4).
Mark all files in stock twframework-res.apk/res/drawable-hdpi and copy over to modded twframework-res.apk/res/drawable-hdpi(-v4). Drag&drop.
That's all.
The other files (android.policy.jar, framework.jar, Settings.apk) don't have to be modified.
If I copy over the contents of the modded framework HDPI to the original frame work wont it look like the modded frame work instead?
So the andriod.policy / framework.jar / settings.apk are the core files to have the 4 screens working and not really the framework-res.apk ?
Apart from the other changes, we will need to modify the settings APK...
this is because we want to see the option of selecting one of teh four lockscreens in the settings...
apart from this, the drawable-hdpi folder just has the icons, to add the functionality, we need to modify the classes.dex file which is within the jar file...
not such an easy task for someone new to modding...
msri3here said:
Apart from the other changes, we will need to modify the settings APK...
this is because we want to see the option of selecting one of teh four lockscreens in the settings...
apart from this, the drawable-hdpi folder just has the icons, to add the functionality, we need to modify the classes.dex file which is within the jar file...
not such an easy task for someone new to modding...
Click to expand...
Click to collapse
I have zero experience with theme modding, Im only a kernel/rom flasher and Im pretty good at it ( who isnt ? )
Im currently using a theme, the only one I like that gives the Ginger look w/o the extra bells and whistles of changed icons ( http://forum.xda-developers.com/showthread.php?t=873825 )
Maybe someone can be so kind enough to add the 4 lock screen there ?
msri3here said:
Apart from the other changes, we will need to modify the settings APK...
this is because we want to see the option of selecting one of teh four lockscreens in the settings...
apart from this, the drawable-hdpi folder just has the icons, to add the functionality, we need to modify the classes.dex file which is within the jar file...
not such an easy task for someone new to modding...
Click to expand...
Click to collapse
You don't have to.
scheichuwe said:
...
Take
android.policy.jar
framework.jar
framework-res.apk
Settings.apk
twframework-res.apk
from a theme with 4 lockscreens.
...
Click to expand...
Click to collapse
Please read before posting...
Edit:
@EarlZ
You can try this tool
http://forum.xda-developers.com/showthread.php?t=737526
Lets see if I got this
the 4 lock screen is dependent on the following files
android.policy.jar
framework.jar
Settings.apk
and the UI looks depends on these:
twframework-res.apk
framework-res.apk
So basically I can use any 4 lock screen theme and just overwrite it with the stock twframework and framework on it ?
EDIT:
By just replacing the twframework-res and framework-res the phone is not usable, it does boot and when the home screen loads it vibrates and goes into a endless reloading loop if ever you get a chance to go to the settings to choose the lock screen when you lock then unlock the device theres no lock screen visible.
When you want the clean gingerbread look you should take a 4 lockscreen theme that has these black menu background (when you hit menu-softkey) as your base.
Here are some
http://forum.xda-developers.com/showthread.php?t=898892
http://forum.xda-developers.com/showthread.php?t=899471
http://forum.xda-developers.com/showthread.php?t=854191
http://forum.xda-developers.com/showthread.php?t=864112
Just a few examples, there are more...
I mentioned it before:
There might be some xml edits that have to be done (colors for texts etc.), but the icons will be stock...
EarlZ said:
...
EDIT:
By just replacing the twframework-res and framework-res the phone is not usable, it does boot and when the home screen loads it vibrates and goes into a endless reloading loop if ever you get a chance to go to the settings to choose the lock screen when you lock then unlock the device theres no lock screen visible.
Click to expand...
Click to collapse
That's why I wrote this
scheichuwe said:
...
Take
android.policy.jar
framework.jar
framework-res.apk
Settings.apk
twframework-res.apk
from a theme with 4 lockscreens.
...
Click to expand...
Click to collapse
Hi! I noticed this bug in ock's theme originally and then when I was trying to make my own theme banged heads with it myself.
The issue is that in the browser the combobox button seems to spill over into the text and generally is stretched poorly.
Like this:
I tried at first simply creating a .9.png version and removing the originals and replacing with the .9s. This made the bar vanish completely.
Eventually I got it working with a bit of a work-around, by compiling the .apk twice and extracting the images.
Having to explain that process recently lead me to the real answer though.
combobox_disabled.png and combobox_nohighlight.png ARE .9.pngs even though they do not have the .9.png extension.
apkmanager won't decompile (or compile) them as .9's because they don't have the right extension (and the right extension 'breaks' the theme).
Attatched are my .9.png versions of both images. I added the guidelines from scratch, but they seem to be correct. If your theme has this issue and you need to fix it, just drop the 'compiled' versions into your res/drawable-hdpi and apk-manager should happily compile it and the issue should be resolved.
tried both versions to just replace the ones in my framework-res.apk (didn't decompile the file but just replaced the files) and both didn't solve the problem.
XlAfbk said:
tried both versions to just replace the ones in my framework-res.apk (didn't decompile the file but just replaced the files) and both didn't solve the problem.
Click to expand...
Click to collapse
That -may- not work. That was one of the first things I tried to do - replace with .pngs straight from stock without a decompile/recompile of the whole apk.
The format of the zip file might be slightly ambiguous.
9s - are the raw pngs with draw9patch guidelines.
compiled - are the compiled draw9patch pngs. If you use a draw9patch compiler on the files in the 9s directory you get these.
Even though the pngs are compiled you still need to go through the decompile/recompile procedure with apk manager. (using the 'compiled' pngs).
sargorn, I've tried several times to decompile and recompile the framework with no luck. The new framework is ok, except this damn combo box rendering.
I personally gave up trying :|.
Toss me the framework and I'll give it a shot.
here's mine, based on JVB. thx fo giving it a try
XlAfbk said:
here's mine, based on JVB. thx fo giving it a try
Click to expand...
Click to collapse
Hi,
I tried decompiling and then recompiling your framework and it does not recompile.
zzzzz_tw_quickcontact_slider_btn_pressed.9.png and zzzzz_tw_quickcontact_slider_btn_selected.9.png were both 0 bytes.
If you've just been replacing images this probably won't work
Here it is decompiled and recompiled with stock copies of those two files and the combo box 'fix'.
The filesize seems very 'off' so I'm not sure if it'll work or not.
ro_explorer said:
sargorn, I've tried several times to decompile and recompile the framework with no luck. The new framework is ok, except this damn combo box rendering.
I personally gave up trying :|.
Click to expand...
Click to collapse
I've just de/recompiled JVH's framework-res and the combobox fix still seems to work. (Although maybe it's not needed in JVH, didn't test it!).
I tried it again with JVH and failed again. What I did:
1. decompile framework-res.apk with apkmanager
(2. make some of my changes to some xml files)
3. place the 2 files from compiled in drawable-hdpi-v4
4. recompile the apk
Everything but the comboboxes works as expected.
I'm attaching the apk, maybe you could have a look at it. If you can make it work please tell me what I did wrong. Many thx
XlAfbk said:
I tried it again with JVH and failed again. What I did:
1. decompile framework-res.apk with apkmanager
(2. make some of my changes to some xml files)
3. place the 2 files from compiled in drawable-hdpi-v4
4. recompile the apk
Everything but the comboboxes works as expected.
I'm attaching the apk, maybe you could have a look at it. If you can make it work please tell me what I did wrong. Many thx
Click to expand...
Click to collapse
As im here looking for the fix for my dhd I thought I might be able to help
Looking at your framework I can clearly see that those images in there are not fixed.
Try simply dragging and dropping the fixed pngs straight into your framework
liamstears said:
Try simply dragging and dropping the fixed pngs straight into your framework
Click to expand...
Click to collapse
that won't work, was said before, needs to be compiled in
Try out the jvo rom - I think this issue may be resolved in that framework.
Sent from my GT-I9000 using XDA Premium App
I still have that issue with my JVO theme
Hi, first of all thanks for coming here
I've been trying to mod an existing theme for me but till now no luck, i've tried to open the apk with 7z, drop the new pngs i want, save and close,
Then sign and installation failure, then someone sugested try to delete META-INF and still no luck
So i tried to go into hardcore and decompile and all that crazy stuff but still no luck, my JDK refuses to work =S, so im really going crazy =S
If someone kindly can give some advice or take a look into my theme files i would be really gratefull
ill post the gdrive link: https://docs.google.com/file/d/0Bxt51MAjKyi0MDNCMm1HaV9sU1U/edit?usp=sharing
thanks
good Luck
Tyrany said:
Hi, first of all thanks for coming here
I've been trying to mod an existing theme for me but till now no luck, i've tried to open the apk with 7z, drop the new pngs i want, save and close,
Then sign and installation failure, then someone sugested try to delete META-INF and still no luck
So i tried to go into hardcore and decompile and all that crazy stuff but still no luck, my JDK refuses to work =S, so im really going crazy =S
If someone kindly can give some advice or take a look into my theme files i would be really gratefull
ill post the gdrive link: https://docs.google.com/file/d/0Bxt51MAjKyi0MDNCMm1HaV9sU1U/edit?usp=sharing
thanks
Click to expand...
Click to collapse
Man One day i will try to do this I am hoping for the best and I'm sure someone will come up with some help for you!
No need to mess with decompiling if all you are changing is images. You can use 7zip like you said, but rename it to theme.zip first, then replace your images (not .9.images, only .png) then rename back to theme.apk and install.
Sorry to hijack this thread, but I have a similar question.
How easy would it be to remove custom icons from a (Theme Chooser) theme? You know how they sometimes replace the messaging and camera icons, etc. I want the theme but not the icon replacements. Possible?
Would it be as easy as renaming to a zip and finding and deleting the icon images?
jakis39 said:
Sorry to hijack this thread, but I have a similar question.
How easy would it be to remove custom icons from a (Theme Chooser) theme? You know how they sometimes replace the messaging and camera icons, etc. I want the theme but not the icon replacements. Possible?
Would it be as easy as renaming to a zip and finding and deleting the icon images?
Click to expand...
Click to collapse
Yep.
I am looking to theme my stock SMS bubbles to different colours other than those available.
I have searched everywhere and cannot find any collection of themes for this.
I am running edgarf28's XperianZE Rom.
Can anyone offer any help with this...?
I did particularly love the red and grey of the MIUI theme for the S3 but that theme isn't compatible with my current ROM version...
If possible, I'd like to just theme the SMS (stock).
Please don't point me towards GoSMS etc.... I don't want to install a third party SMS app.
Thanks for any help.
xxxxchrisxxxx said:
I am looking to theme my stock SMS bubbles to different colours other than those available.
I have searched everywhere and cannot find any collection of themes for this.
I am running edgarf28's XperianZE Rom.
Can anyone offer any help with this...?
I did particularly love the red and grey of the MIUI theme for the S3 but that theme isn't compatible with my current ROM version...
If possible, I'd like to just theme the SMS (stock).
Please don't point me towards GoSMS etc.... I don't want to install a third party SMS app.
Thanks for any help.
Click to expand...
Click to collapse
you need to know about to:
1- How to decompile and editing System apk files. i suggest you to read the manuals about the APK MULTITOOL. (google it)
2- How to edit 9.png files
-------------------
you need to edit : System/app/SecMms.apk
when you decompile it, goto SecMms.apk/res/drawable-xhdpi folder
you can find the 9.png files that started by message_bubble***.9.png names.
edit them, and recompile SecMms.apk
copy edited SecMms.apk file into system/app folder on your phone.
---------------------------------------
Useful links
For 9.Png files
[TUTO] Create your 9.png !
[GUIDE][THEME] Where to find 9.png image
How to edit .9.pngs
For multi tool
http://forum.xda-developers.com/showthread.php?t=1310151
Best Regards.
Thanks for the advice.. looks a little tricky for a beginner.
Is it possible for me to somehow take the SecMms.apk file from another rom and drop it into my SecMms.apk/res/drawable-xhdpi folder?
Also, if i can do this.. do i need any particular file browser etc to access that folder? Can this be done post Rom install, or does this all need to be done within the flashable rom zip file prior to flashing?
Thank you.
xxxxchrisxxxx said:
Thanks for the advice.. looks a little tricky for a beginner.
Is it possible for me to somehow take the SecMms.apk file from another rom and drop it into my SecMms.apk/res/drawable-xhdpi folder?
Also, if i can do this.. do i need any particular file browser etc to access that folder? Can this be done post Rom install, or does this all need to be done within the flashable rom zip file prior to flashing?
Thank you.
Click to expand...
Click to collapse
there is no path secmms.apk/res/x/x
first u need to decompile ur secmms.apk
u can do it after installation also..no problem in that..replace secmms.apk directly, if u have another secmms.apk with those colored bubbles u want
Hello XDA community,
Is there anyone here who could port the oos animations to aosp/caf based roms as a flashable framework mod or a substratum theme since substratum support custom animations. I would do it for myself but I dont know how.
I would even be happy if someone eventually has a explanation/guide how to do it then I can try it for myself.
Thanks
Best Regard CroW_D
The animations are located in res/anims within framework-res.apk
To extract them from OOS you need to grab framework-res.apk from OxygenOS (it's in system/framework). I haven't done any mods for a while now, but replacing the anim files inside the framework-res.apk of your rom with the ones from oxygen os should work. I'd do a backup before trying this. I used to be quite nitty so what I used to do was decompile both framework-res.apk with apktool, replace the anim files after decompiling, then recompile your framework-res.apk
If you have the framework-res.apk from your rom i don't mind doing a test zip for you to try
coldflid said:
The animations are located in res/anims within framework-res.apk
To extract them from OOS you need to grab framework-res.apk from OxygenOS (it's in system/framework). I haven't done any mods for a while now, but replacing the anim files inside the framework-res.apk of your rom with the ones from oxygen os should work. I'd do a backup before trying this. I used to be quite nitty so what I used to do was decompile both framework-res.apk with apktool, replace the anim files after decompiling, then recompile your framework-res.apk
If you have the framework-res.apk from your rom i don't mind doing a test zip for you to try
Click to expand...
Click to collapse
Are you in some way available in Telegramm ?
Edit: i manged to make it but only the closing animations is working the app opening animation is still the same can you help me with that ?
CroW_D said:
Are you in some way available in Telegramm ?
Edit: i manged to make it but only the closing animations is working the app opening animation is still the same can you help me with that ?
Click to expand...
Click to collapse
I tried the same thing and got the same result
Origamiman72 said:
I tried the same thing and got the same result
Click to expand...
Click to collapse
Yeah i did some work withh theming devs and we end in the result it must be some oos closed source stuff.... But really would be nice to have it :/
CroW_D said:
Yeah i did some work withh theming devs and we end in the result it must be some oos closed source stuff.... But really would be nice to have it :/
Click to expand...
Click to collapse
also idk if its just me, but did it also cause some systemui crashes for you?
Origamiman72 said:
also idk if its just me, but did it also cause some systemui crashes for you?
Click to expand...
Click to collapse
No systemui crashes for me. Just replaced the anim folder from oos with the current one you have on the custom ROM but make sure you have to redone this every time you flash an update of the custom rom. Meiby you picked always the old framework res apk. And replaced it can causes the issue.
Did this work. Can anyone share the file.