[Q] How to modify the framework to support muti-skin? - Android Themes

How to modify the frmework to support muti-skin? The effect is like HTC desire HD which can change the skin dynamically. The skin is from a separate apk. Who can give me some precious advice? Thank you very much!

judy889 said:
How to modify the frmework to support muti-skin? The effect is like HTC desire HD which can change the skin dynamically. The skin is from a separate apk. Who can give me some precious advice? Thank you very much!
Click to expand...
Click to collapse
Try miui or CM7. They both have theme engines built in.
If you need to ask how to modify it then you can't do it. You would need to learn java and android framework for that.

randomchars said:
Try miui or CM7. They both have theme engines built in.
If you need to ask how to modify it then you can't do it. You would need to learn java and android framework for that.
Click to expand...
Click to collapse
Hi Randomchars, thank you for your reply. I am familiar with java and android framework, but I have no idea about how to implement it. Can you give some advice or some relevant resource to help me. Thank you very much!

What phone are you using?
The way t-mobile theme engine (here) works is to put it simply that it redirects applications requests for resources to the resources found in the theme. So you would need to modify the asset manager for that. As I said earlier even if you are a developer it would be easier to port cyanogenmod to your device if it doesn't have already. Also you can't do this with sense/motoblur/touchwiz or other custom interfaces as you would need to compile android from source to make this work.

Dear Randomchars, thank you very much. The information you supported is very useful to me. I am studying the T-mobile theme engine. Are you familiar with it?

judy889 said:
Dear Randomchars, thank you very much. The information you supported is very useful to me. I am studying the T-mobile theme engine. Are you familiar with it?
Click to expand...
Click to collapse
No I'm not. Actually I don't have any java knowledge and only a very little C. Right now I have two android projects in the works (an icon set and a music player theme) I will start learning java/android when I'm done with those as I have loads of ideas that I would like to make reality.

Related

[RFI] Flash-able Themes

Hello All:
I am interested in learning how to make flash-able themes for my Nexus One (preferably for CM ROMs). I am very proficient with Photoshop and designing UI's and am looking to fill in some blanks here.
I am new to the world of android programming (java in general, for that matter) and am looking for help and resources to get me going. I am familiar with the android SDK and am just getting my hands dirty using Eclipse. I am a quick learner and I work very well with others. I also share a passion for design and implementation with all sorts of multimedia.
If anyone would be interested in helping me learn the ropes - I am more than willing to utilize my knowledge to contribute to this great community. I have many ideas and feel that if I could properly grasp the development concepts for android I could even become an asset here like many others who have helped out so much.
Sorry for the long post - any help or guidance would be greatly appreciated!
Thanks in advance,
-TC
So, as expected I've scrounged up as much information as I could find and have what I think is a working theme for CM6 RC3.
Perhaps someone could offer some insight as my questions are now more specific.
I've downloaded a fresh version of CM65 RC3 and edited the files accordingly. From what I gathered I don't need an entire ROMs worth of files just to make a flash-able theme. My first question is now how to I re-sign, say, just the framework-res.apk?
Once again any help would be greatly appreciated.
typica1cat said:
... My first question is now how to I re-sign, say, just the framework-res.apk?
Once again any help would be greatly appreciated.
Click to expand...
Click to collapse
take this tool (auto-sign.zip)
http://forum.xda-developers.com/showpost.php?p=5887818&postcount=2
http://tinyurl.com/34rcfav
If the official Android guide, which is the 1st result, will seem too messy - look into the next couple of them.
Thanks VERY much to both of you for the quick responses. I've got the tool - I guess to be more specific, does my .apk HAVE to included any certain files? Or if it just has the files I edited will they be flashed into the ROM without and problems?
Also, I am somewhat familiar with Eclipse - could someone point me in the right direction as to how i can test my theme in the emulator?
are you talking about flashing themes, like a black status bar? or are you talking about actual flashable zip files that you install from recovey mode, like you do when flashing a brand new full ROM?
themes are easy, just use metamorph, zip file with xml file inside along with all your images (png files) you want to change (that was the short version).
to make flashable ROM files, that i dont know.
Well, in the past I've always been partial to themes that have been applied via recovery. I am familiar with MetaMorph but always felt I had better luck using themes with flash-able files.
Hence, why I am attempting to learn this particular method.
My intent is to ultimately customize:
Notificaion Bar + Icons
Custom App Icons
And eventually Apps themselves:
Phone
Contacts
etc...

Need help with creating/developing a CM7 T-mobile theme engine theme

Hey guys so I just need a few tips on how to start off on theme developing, I'm still a n00b and just need starter tips eg:
What I'd need to create a developing environment.... What programs, Will I need to be on Ubuntu or any other Linux OS.
I have some really good ideas for a few themes and lockscreen morphs but I have no idea where to start. I am pretty experienced in Photoshop and know what I'm doing there but other than that I'm clueless.
Thanks
Stu
Same here but a proper n00o tutorial is nowhere to be founded. Most I found already suppose you to know a lot about building apk's or ROM's...

[Q] Iphone/Ipod Theme Porting

Hi I kinda got some help with the themes and I read about the guide written about theming which was great! I have a few questions that need to be answered if someone wouldn't mind helping Help please all you themers
1. Is theming easier for Cyanogenmod or Miui? (Cause I heard Cyanogenmod is relativity new to themes right?)
2. Does anyone know how to convert a iphone lockscreen that was made out of Java and css to android? (Ex. is this video http://www.youtube.com/watch?v=W4yhjPwsrX4
3. Does the noobie guide refers to Cyanogenmod themeing or Miui theming?
4. Would anyone that has ported Iphone themes before, would mind helping along the way if she/he wouldn't mind
Sorry mods, I posted my questions in the general themes section before but no responses besides one Thank you for reading
Any help anyone
Any themers out there??
Someone help please
I've tried both CyanogenMod and miui theme editing for my own use and find miui far easier, mainly because the theme isn't an APK and doesn't require signing.
Sent from my DHD
jambamkin said:
I've tried both CyanogenMod and miui theme editing for my own use and find miui far easier, mainly because the theme isn't an APK and doesn't require signing.
Sent from my DHD
Click to expand...
Click to collapse
I see, and ohh, and would following the guide to theming thread work for cyanogenmod and Miui? Thanks again
I can't really help you , though this is might be useful for you:
http://forums.miui.us/showthread.php?301-Theme-Ultimate-iPhone-theme-21-10-REVOLUTION-7.0

How to mod a Rom without programming...???

HEY guys i just want to know to mod a rom i.e.,
add custom home screen launcher
how to change the background of settings and phone screen....plz tell....i guess there are a lot who want to learn...if there is no way plz tell me....
binhari said:
HEY guys i just want to know to mod a rom i.e.,
add custom home screen launcher
how to change the background of settings and phone screen....plz tell....i guess there are a lot who want to learn...if there is no way plz tell me....
Click to expand...
Click to collapse
Well, you can install new launchers by searching the market for them and installing them directly. Then you can set the new ones as the default as you see fit.
But I think what you're looking for is something like this website. There, you can just click together simple mods and build a ROM. I'm not sure if this will work for your phone, as I've only tried with a different model but it should jive with several Android models. Check out their XDA link to learn more.
binhari said:
HEY guys i just want to know to mod a rom i.e.,
add custom home screen launcher
how to change the background of settings and phone screen....plz tell....i guess there are a lot who want to learn...if there is no way plz tell me....
Click to expand...
Click to collapse
try apk manager to decompile an apk you wish to mod.
navigate to the res/drawable-mdpi and mod the pictures of your wish.
if the file an .9.png so you have to hold the 1 px transparent border. this is very tricky with the *.9.png files.
after you mod at your wish compile your apk back with apk manager and sign it.
have fun
ok i have tried apk manager,autoapktool and apk tool bit non of them compiles the modded apk....i have java sdk and android sdk installed.....help guys plzz.....
binhari said:
HEY guys i just want to know to mod a rom i.e.,
add custom home screen launcher
how to change the background of settings and phone screen....plz tell....i guess there are a lot who want to learn...if there is no way plz tell me....
Click to expand...
Click to collapse
OK, well i use linux, so i have linux terminal comprendo?
I use APKtool through terminal- wait, you said no programming, bummer, thats what im best at, programming! never mind
sean is here. said:
Well, you can install new launchers by searching the market for them and installing them directly. Then you can set the new ones as the default as you see fit.
But I think what you're looking for is something like this website. There, you can just click together simple mods and build a ROM. I'm not sure if this will work for your phone, as I've only tried with a different model but it should jive with several Android models. Check out their XDA link to learn more.
Click to expand...
Click to collapse
Launchers? how is that gonna mod the ROM? that just gives it different homescreens!
safix8 said:
try apk manager to decompile an apk you wish to mod.
navigate to the res/drawable-mdpi and mod the pictures of your wish.
if the file an .9.png so you have to hold the 1 px transparent border. this is very tricky with the *.9.png files.
after you mod at your wish compile your apk back with apk manager and sign it.
have fun
Click to expand...
Click to collapse
bugger, thats what i said, but if he runs windows, i guess you dont need programming, i dont know, i dont run windows (i hate windows)
binhari said:
ok i have tried apk manager,autoapktool and apk tool bit non of them compiles the modded apk....i have java sdk and android sdk installed.....help guys plzz.....
Click to expand...
Click to collapse
WTF you said no programming, SDK and JAVA IS programming, what do you want? programming or not?
If you want programming, then i can help, if not, im not sure, i do all my ROM building through Linux terminal
Well?.......
Sent from my X8 using XDA
binhari said:
HEY guys i just want to know to mod a rom i.e.,
add custom home screen launcher
Click to expand...
Click to collapse
Unpack the update ZIP of the ROM you want to mod to your likings and slap the APK of the launcher you want into /system/app - rename the standard one to <whatever>.apk.backup (just in case the ROM hates your launcher and keeps on force closing upon boot).
binhari said:
how to change the background of settings and phone screen....plz tell....i guess there are a lot who want to learn...if there is no way plz tell me....
Click to expand...
Click to collapse
Decompile the /system/framework files and have a lot of fun in editing stuff in SMALI - it can be done, but it's definitely easier to edit the source and compile the ROM. Once you did your changes create the JARs and put them back into /system/framework.
ZIP up the ROM, flash it, hope for the best.
If you soft-bricked the phone with your mods make sure you have Flashtool and the Stock ROM FTF standing by.
Given the nature of your question I rather suggest you simply forget about your plan, because it doesn't sound like as if you know about the stuff - you already fail to post a question in the Q&A board.
ok hey i know c++ and i have basic knowledge of java....now can u help me....
wilbso said:
OK, well i use linux, so i have linux terminal comprendo?
I use APKtool through terminal- wait, you said no programming, bummer, thats what im best at, programming! never mind
Launchers? how is that gonna mod the ROM? that just gives it different homescreens!
bugger, thats what i said, but if he runs windows, i guess you dont need programming, i dont know, i dont run windows (i hate windows)
WTF you said no programming, SDK and JAVA IS programming, what do you want? programming or not?
If you want programming, then i can help, if not, im not sure, i do all my ROM building through Linux terminal
Click to expand...
Click to collapse
can you explain using terminal in linux compile a rom? im use it to
For starters i would suggest putting a QUESTION under Q&A not under ACCESSORIES
and now it's in the right area, please get familiar with this
thanks
You can't make a ROM without programming knowledge. You can't even make a simple app without programming knowledge. The least you could do is mod some drawables and stuff.
Chris95X8 said:
You can't make a ROM without programming knowledge. You can't even make a simple app without programming knowledge. The least you could do is mod some drawables and stuff.
Click to expand...
Click to collapse
Wrong
http://forum.xda-developers.com/showthread.php?t=1415661
ElmirBuljubasic said:
Wrong
http://forum.xda-developers.com/showthread.php?t=1415661
Click to expand...
Click to collapse
That's just a compiler with user interface. So what?
In my opinion, real programming is writing code yourself, not a GUI doing it for you without having any idea of what is going on (not talking about the compiler here).
Sent from my X8 using XDA
hey sorry guys but i am learning java now....thax

Theming and Customising

Might as well start this off as many of us would love to customise our roms even further by creating and modding our roms but dont know where and how to start , hopefully this can be a general guide to de-compiling apk's /re-compiling modifying customising colours etc on most devices .
Website i use for changing and finding out HTML colour codes to change the basic colours in roms here great help especially when you cant find the correct colour code and name or need to use when theming .
I also use this website to re-size my PNG's etc to the sizes i need when modding or replacing pictures.
Android APK tool is a great start for most to learn and figure things out, link to site here
Hopefully this thread can be useful for ALL as with so many devices and different ways to theme mod and customise each individual device we can collectively help each other with the simple and basic stuff to get everyone learning and heading in the right direction .
:good:
Apktool is the only one I have been able to get working with 4.2 framework so it is a very helpful tool and dose have support on how to install and use but I wish there was some way to have a brake down of what is what with the .XML files like what to change and where to change backgrounds and text colors
Sent from my GT-N7000 using XDA Premium HD app
Hi.
I've already started a thread on theming. [Guide/Tools] Simple APK Modding - Basic Android Theming
I still use APK MANAGER, what you have to do is replace some files in the OTHER folder. I'll make it sinple for everyone to use.
I'll upload my version for people to use in link below.
This works for 4.2.1 apks
APK MANAGER 5.0.2
Annex1 said:
I still use APK MANAGER, what you have to do is replace some files in the OTHER folder. I'll make it sinple for everyone to use.
I'll upload my version for people to use in link below.
This works for 4.2.1 apks
APK MANAGER 5.0.2
Click to expand...
Click to collapse
Thanks for that, I'll add a link to this post if that's alright?
XperienceD said:
Thanks for that, I'll add a link to this post if that's alright?
Click to expand...
Click to collapse
Of course you can.
Which is better for theming GB apk ? Apktool or apkmanager ?
Thanks in advance
Sent from my GT-S6500D
EvolutionHybrid said:
Which is better for theming GB apk ? Apktool or apkmanager ?
Thanks in advance
Sent from my GT-S6500D
Click to expand...
Click to collapse
Preference really, I prefer apktool for what I do although been a while since I was working on GB .
charlescaz said:
Preference really, I prefer apktool for what I do although been a while since I was working on GB .
Click to expand...
Click to collapse
Thanks.. I'll try.. :beer:
Sent from my GT-S6500D
EvolutionHybrid said:
Which is better for theming GB apk ? Apktool or apkmanager ?
Thanks in advance
Sent from my GT-S6500D
Click to expand...
Click to collapse
Apkmanager uses apktool so..lol
Sent Using XDA Premium..
Have you Tickled Your Android lately?
(tinyurl.com/ticklemyandroid)

Categories

Resources