[Q] CM 6 Theming - XPERIA X10 Themes and Apps

Hope posting this here is OK- I never get answers in Q&A...
I have made & modified themes for the SE stock 'rom' and as you know the framework-res and system apks do not need to be recompiled or signed when just exchanging images.
Is it the same for CM 6 'roms'?
I am looking into theming Wolfbreak's rom and noticed the framework-res that I'm using as a base says "signed by SignApk" when I open it in winrar.
Do I need to recompile & sign or not?
Thanks in advance!

AyDee said:
Hope posting this here is OK- I never get answers in Q&A...
I have made & modified themes for the SE stock 'rom' and as you know the framework-res and system apks do not need to be recompiled or signed when just exchanging images.
Is it the same for CM 6 'roms'?
I am looking into theming Wolfbreak's rom and noticed the framework-res that I'm using as a base says "signed by SignApk" when I open it in winrar.
Do I need to recompile & sign or not?
Thanks in advance!
Click to expand...
Click to collapse
Hi,
You dont need to sign regardless of OS if you are only swapping images for system files. But remember to use optimized pngs and zipalign as final step to minimize resources consumption.
If you are modding any resources.arsc you need to decompile to do that and recompile and sing accordingly.

Ok, thanks- just making sure... the winrar message threw me off...

AyDee said:
Ok, thanks- just making sure... the winrar message threw me off...
Click to expand...
Click to collapse
try 7-zip.....hope seeing themes from u soon....

Related

Flashable theme zips?

Need to know how to make flashable zips for my rom releases without apks just framework images!
Any quidance would be of help!
Building a rom from the ground up is easier than this but i need to start making them for the build cause i have a crapload of images with no place to go thanks! just pm me or whatever! thanks
eVoKINGS said:
Need to know how to make flashable zips for my rom releases without apks just framework images!
Any quidance would be of help!
Building a rom from the ground up is easier than this but i need to start making them for the build cause i have a crapload of images with no place to go thanks! just pm me or whatever! thanks
Click to expand...
Click to collapse
If you are just using images I would say metamorph is the only option I know of that can replace files in .apk on the fly. Its not a flashable zip though.
Give this a try... this will port png's from one rom to another. you just need to pull the framwork-res.apk and resources.apk from framework from your rom and put it in the "new" folder. and put the same apk's from the theme you want to port in the "old" folder, both under the framework folder with in the "new" and "old" folders. and run the script.... there are also app folders for any themed apps that you want to port also.... same thing with those, yours in the new and the themed ones to port in the old.... Just remember, these are only png ports, you still need to do xml edits if there are any...
this is not my work, found it here on xda a very long time ago and don't remember from who but thanx to him or them......
View attachment Theme-Porter.zip

I need help theming here...

Ok so I'm trying to make the menu font white so i can give it a black bg.
I decompiled xmls and all, did everything right BUT now when I go to recompile...
http://forum.xda-developers.com/showpost.php?p=14121644&postcount=196
Realorasz said:
Ok so I'm trying to make the menu font white so i can give it a black bg.
I decompiled xmls and all, did everything right BUT now when I go to recompile...
http://forum.xda-developers.com/showpost.php?p=14121644&postcount=196
Click to expand...
Click to collapse
Have you tried the UOT kitchen.....
http://uot.dakra.lt/
Or maybe this will help too....
http://forum.xda-developers.com/showthread.php?p=13874800
Good luck.
smartgardens said:
Have you tried the UOT kitchen.....
http://uot.dakra.lt/
Or maybe this will help too....
http://forum.xda-developers.com/showthread.php?p=13874800
Good luck.
Click to expand...
Click to collapse
Neither help, sorry. UOT can't change font colors in the menu and that cm7 thing is for images, again not for font colors in the menu.
Delete public.xml from res/values. It will regenerate while compiling.
Sent from my X10
realunited123 said:
Delete public.xml from res/values. It will regenerate while compiling.
Sent from my X10
Click to expand...
Click to collapse
Not helping.
Realorasz said:
Not helping.
Click to expand...
Click to collapse
What does it say? You deleted public.xml?
Sent from my X10
realunited123 said:
What does it say? You deleted public.xml?
Sent from my X10
Click to expand...
Click to collapse
Says something about 'declared here is not defined' at the end of every line
Whatever's happening I'm getting errors on everything no matter what I try and I'm following the instructions.
Try compiling it ignoring the error messages then from the compiled apk, extract the files you modified including png and xml files, then from the original apk open it with winrar and paste the files you extracted previously.
gil2004xp said:
Try compiling it ignoring the error messages then from the compiled apk, extract the files you modified including png and xml files, then from the original apk open it with winrar and paste the files you extracted previously.
Click to expand...
Click to collapse
Thing is its not compiling any apk.
Which tool are you currently using for compiling/decompiling?
Try extracting framework again, follow this
Yeah that is what I'm using.
Sent from my X10 TripNMiUI-IRIS

[Q] Help with battery mod

Hi XDA
Im trying to make a battery mod for my HTC Sensation, but i need some help.
I have the framework-res.apk for my rom (Android Revolution HD) and 100 pngs.
I need help with compiling the stat_sys_battery.xml so it uses all the 100 pngs instead of htcs 7
I also need to know if its okay to just replace the files in the framework-res.apk using 7-zip, and replace that with the framework-res.apk in a working battery mod i downloaded, since i dont know how to make the update script
Thank you for you help
frederikh said:
Hi XDA
Im trying to make a battery mod for my HTC Sensation, but i need some help.
I have the framework-res.apk for my rom (Android Revolution HD) and 100 pngs.
I need help with compiling the stat_sys_battery.xml so it uses all the 100 pngs instead of htcs 7
I also need to know if its okay to just replace the files in the framework-res.apk using 7-zip, and replace that with the framework-res.apk in a working battery mod i downloaded, since i dont know how to make the update script
Thank you for you help
Click to expand...
Click to collapse
Sorry, but it's a bit more complicated than just opening the .apk in 7-zip or winrar. You need to decompile the .apk... the easiest way is to use a program called apk manager. Search on XDA, and you will find it.
Then, in the decompiled folder, you will have a /drawable/ folder. You need to re-code the stat_sys_battery.xml to include all the pngs, as well as the zzz_stat_sys_battery_1.xml.
In addition to the 100 pngs you already have, you will also need some charging animation icons and a stat_sys_battery_unknown.png icon that all match your battery icon theme.
After redoing the 3 xmls in the drawable folder, and replacing all the necessary pngs, you then need to recompile and sign your apk with the new files.
I've attached a sample of the 3 xmls for you to use as a reference.
If you are looking to get a battery mod the quick and easy way, then I have a bunch in a thread HERE. If you are looking to learn how to do it yourself (Which I highly recommend for the learning experience it will provide), then search around and look for some guides on compiling and decompiling to help you on your way. You can also download any of the battery mods from the thread I linked to, and decompile them for examples of a working framework-apk that has been modded.
Keep in mind, when experimenting with this, you ABOSLUTELY WILL cause your phone to not be able to boot up. Make sure you have a nandroid backup ready.
Good luck.
Thank you!
Wow, this is gonna take a bit longer than i though B)
Btw, i was using one of your mods, but i found that it wasnt smooth enough + the icon didnt have enough detail
frederikh said:
Hi XDA
Im trying to make a battery mod for my HTC Sensation, but i need some help.
I have the framework-res.apk for my rom (Android Revolution HD) and 100 pngs.
I need help with compiling the stat_sys_battery.xml so it uses all the 100 pngs instead of htcs 7
I also need to know if its okay to just replace the files in the framework-res.apk using 7-zip, and replace that with the framework-res.apk in a working battery mod i downloaded, since i dont know how to make the update script
Thank you for you help
Click to expand...
Click to collapse
go to first link on my sign download a batt mod open framework and use it...
lalitsehgal21 said:
go to first link on my sign download a batt mod open framework and use it...
Click to expand...
Click to collapse
Thanks, but no thanks B)
I think will try to learn how to do it my self

Do not enter.

Mod is down: The new thread: HERE
Moderators, feel free to delete this post.
Good Start Man, Hope someone will advise very soon.
Thanks for your effort.:good:
Only de- and recompiling will not really lead to anything.
You have to solve each error here step by step. And as you can see there are many entries missing when recompiling against a framework from a different device and/or Android version.
This means that resolving the missing entries (like simply deleting them in each file) won't help because even if the recompile succeeds it will never run because of errors in the dependencies of the apk etc..
you should specify where you've changed
Tried almost everything but i cant get it working. Also tried VRTheme ZIP but it doesnt work too, it doesn't recognize the 9.png files and show the UI stretched... This is not my work, its for Not-i, Majdinj, Zai89 and other amazing themers for this amazing device (sorry if i forgot other users). I've seen it in S2 forums (Themes and Themed roms too) with the TW2013 UI for 4.1.2 so i dont think it will be very hard to an experienced themer. Thanks for the support. Good Luck to everyone!
You are compiling a a 4.2.2-based apk file with 4.1.2 installed framework, if you see in another thread they must have same version or it is themed apk file.
Can just use X-plore open apk as zip file n copy all the themes but not xml to another apk open as zip file.
not much changes wif just a framework.res.apk n options is alittle too small to fit it..
so no point to make a mod just framework.res.apk
@galaxynote2
The pictures in the attachment aren't useful!
If you want to change the png's, then take them from the original apk out!
Don't decompile it!
So, never use 9.png's from decompiled apk!
Try it again with the 9.png's from the original apk. Just copy them from the apk to your new one. Don't decompile it.
If you try to add some 9.png (from decompiled source), then they looks ugly with the vrtheme system...
(and can't build it with apktool too...)
@tkari4 thank you for the answer! I will try again now..
galaxynote2 said:
@tkari4 thank you for the answer! I will try again now..
Click to expand...
Click to collapse
@galaxynote2
Not working, sorry never made something like that.
The solution for your problem:
Install the 4.2 framework-res.apk (command in the CMD window: apktool if c:/framework-res.apk)
Now decompile your 4.2 framework-res.apk
From the decompiled folders you can add the 9.png's to your 4.1 farmework-res.apk
Install the 4.1 framework-res.apk again
Build your apk and so must work...
tkari4 said:
@galaxynote2
Not working, sorry never made something like that.
The solution for your problem:
Install the 4.2 framework-res.apk (command in the CMD window: apktool if c:/framework-res.apk)
Now decompile your 4.2 framework-res.apk
From the decompiled folders you can add the 9.png's to your 4.1 farmework-res.apk
Install the 4.1 framework-res.apk again
Build your apk and so must work...
Click to expand...
Click to collapse
@tkari4 some progress (attached files). That is my result putting the non-decompiled images in a vr-theme:
Popups are still bugged, 9.png resizing doesnt worked.
Action bars themes (Holo Light and Holo Dark) are now working!
Almost all buttons, checks and ticks are now converted and working.
What to do:
Fix the bugged popups
Convert Text fields (wich are 9.png too so its the same as the popups problems...)
__________________________________________________________________________________________
Can you provide me an S4 framework? Im using the Touchwiz 2013 theme for 4.2.2 Galaxy S3 flasheable zip for converting. I cant find the S4 framework-res to download.
galaxynote2 said:
@tkari4
Can you provide me an S4 framework? Im using the Touchwiz 2013 theme for 4.2.2 Galaxy S3 flasheable zip for converting. I cant find the S4 framework-res to download.
Click to expand...
Click to collapse
Yeah, must have the original apk and decompile it with the 4.2 framework.
You can find it here: http://forum.xda-developers.com/showthread.php?t=2272392
tkari4 said:
Yeah, must have the original apk and decompile it with the 4.2 framework.
You can find it here: http://forum.xda-developers.com/showthread.php?t=2272392
Click to expand...
Click to collapse
@tkari4 Ok, downloaded... (Slow connection).
So, first i need to install the recently downloaded framework in apktool and then decompile my 4.1.2 Note Framework?
Nevermind! Recompiled without problems! I've modified some pngs to se if it works and worked, so now im porting the fully theme. Thank you!
galaxynote2 said:
After all S4 mods for our Note, this is the last touch to have the new Touchwiz Interface in this amazing device.
Click to expand...
Click to collapse
You are gonna be rocked,,
Waiting for download link, As I understand without TW interface out grear Note is useless.
Thanks for your effort and share.:good:
mjrifath said:
You are gonna be rocked,,
Waiting for download link, As I stand without TW interface out grear Note is useless.
Thanks for your effort and share.:good:
Click to expand...
Click to collapse
Could you don't quote the whole thread next time please? Just click the reply button thats all
Juhan Jufri said:
Could you don't quote the whole thread next time please? Just click the reply button thats all
Click to expand...
Click to collapse
Thanks for the info mate. Post edited:laugh:
When you realese this mod?
____________
YES WE SCAN!!!
This thread has to be closed since no updates from OP or there is no any valid MOD
mjrifath said:
This thread has to be closed since no updates from OP or there is no any valid MOD
Click to expand...
Click to collapse
for people who can't wait , you can try flashing this one
http://forum.xda-developers.com/showthread.php?t=2297906
el5arsawi said:
for people who can't wait , you can try flashing this one
http://forum.xda-developers.com/showthread.php?t=2297906
Click to expand...
Click to collapse
Thats for 4.2.2
Please op just provide the s4 style launcher
Sent from my GT-I9100 using xda app-developers app

smali help

hello everyone
i searched a lot but couldnt find anything so postiong here
i was trying to add some featues to home.apk and i got some errors while recompiling
so i tried decompile and recompile without editing anything...i didnt even open the decompiled home apk folder LOL
but i am getting lots of smali errors only in styles.xml
i think that apktool removes some templates from styles.xml i dont know what it means i just got it from my search
so can someone help me in fixing that error....
@serajr
 @SpaceCaker
 @marcussmith2626
 @iSiddharth
Either wrong framework loaded or using wrong apktool version
And please stop abusing the mention system - I won't reply to anymore mentions
marcussmith2626 said:
Either wrong framework loaded or using wrong apktool version
And please stop abusing the mention system - I won't reply to anymore mentions
Click to expand...
Click to collapse
Ah sorry
But what do u mean by WRONG apktool version??
abhishekr700 said:
Ah sorry
But what do u mean by WRONG apktool version??
Click to expand...
Click to collapse
use
gingerbread/ics/jb 1.5.2
https://code.google.com/p/android-apktool/downloads/list
jb/kitkat/lolipop apktool rc3
https://bitbucket.org/iBotPeaches/apktool/downloads
use correct framework-res
plus any other framework eg tw-framework
Use Advanced APK Tools for decompiling the APK files and you can also use the Attached Dex Editor to edit classes.dex files.....
Advanced APK tools is specially made for Xperia devicex. (use your "framework-res.apk" to install firmware in Advanced APK Tools)
(Drag and drop classes.dex in "Quick-Baksmali.cmd" to decompile and drag and drop the output folder is "Quick-Smali.cmd" to recompile.
Advanced APK Tools : http://forum.xda-developers.com/showthread.php?t=2639400

Categories

Resources