porting i9100 themes to i9100g - Galaxy S II Themes and Apps

Hi All,
Please guide me on how to port i9100 themese to i9100g... I really miss all the themes that keep coming for the internation version so wanted to learn porting so that i can make dem for myself

Rough guide:
Decompile framework-res, systemui using apktool
Change png files
patch edited .9.png files
re-compile and sign
place on phone
Maybe somebody else will go into more detail. That is all I have time to say.

Related

[Q] how can I make a theme?

Hello everyoene,
first of all my english is not the best so please forgive me.
Can anyone make a tutorial how to make a theme for Desire or a custom Rom?
I read this one.. http://forum.xda-developers.com/showthread.php?t=722993
to edit the framework-res.apk
I am using [email protected] and i have the tools:
APKManager APKtool and update modified zip.
I try to push the framework-res.apk and it dosen't work. Only when i make a install Zip.
So now I would like to change the Contacts.apk framework-res.apk and other stuff. To edit the XMLs file and Smailis and so..
But I only can change the *.pngs whitout 9.pngs and the statusbar is changed...
So please I try to find out how to make a whole Theming tutorial...
Something like..
1. You download the Custom
2. Unzip
3. decompile...
4. to change XMLs do this
5. to change Smailis do this
6. to edit the 9.pngs open draw9patch
7. Compile..
8. Remove apps
9.make installscript
10. sign?
11. install wih custom recovery...
I want to change the color, font, statusbar and icons.. and first of all the Dialer..
Can anyone help me? In german you can send me a pm too or if it is allowed post here some sugestions.
I think I will follow this thread very closely!
Cause me and my friend wants to make themes for our desire's, but so far we have encountered a lot of resistance.
Maybe there is a good-hearted soul out there, who will enlighten us on the subject (a full tutorial would be nice).
I mean not a full titorial but the steps how we can theming a custom rom..
To unzip, decompile, edit, compiling, zipping, signing and finaly flash to the desire..
thanks

[Q] Begginner's Theming Question

I am very interested in theming and I downloaded all the recommended software/programs mentioned in the theming threads...
However I can NOT find the answer to my question---
once I have everything I need to edit/create a theme how do I actually begin?
What I mean is, for example, if you want to edit a .PSD file you would open Photoshop to edit the file....
so which program do I use first to open the theme I plan to edit? and is there a "stock" theme to edit as I like or would I download...say...the Evo stock ROM and edit the files in there?
I think I read I should begin with 7z? is this right?
All I've found so far is alot of technical explanations for someone who has experience...once I find out the basics I'm sure it will all fall into place...
if there IS an easy answer posted can someone PLEASE point me in the right direction?
Thanks.
*EDIT*
I was double-clicking on framework-res.apk (following instructions) which was why it wasn't working...once I extracted the file using 7zip all the drawable files were there...I had NO IDEA there were THIS many .png images to edit...lord have mercy...this is gonna be FUN.
If u use a program called apk manager u can put an apk in the and decompile the apk. That mean it opens up the resources.arcs and the classes.dex files and also turns the bianry XML files to readable XML. Meaning u can use this to edit XML and smali files to change colors(mostly in xml files) and also rearange things if u know how to edit smali files. The decompiling also show u all the pngs and the .9 PNG files. The .9 PNG files here will already be showing there draw 9 edit so all u really have to do is edit the image leaving the very edges alone and ur done. Then once all ur edits are done u can recompile the apk and push it back to ur phone. U might have to resign the apk or however u want but there is an easy way to get started. The framework apk is a system apk so u might have to select the correct way to decompile it.
Hope this helps.
See other tutorials on how to create flashable zips and how to edit smali files and XML files.
Usually codes in XML files for colors are set in an eight digit code that cool look like this...ff000000(black) or this ffffffff(white). If u good XML color codes u can find many sites that give show u colors and there codes but to help it works like this...ffrrbbgg....meaning ff (amount of transparency) rr (red) bb (blue) gg (green). I might have put colors in wrong order but u get gist I hope.
Just make sure when editing ur PNG images that when u save them u save them as a PNG only also when editing .9 png files(stretchable pngs) that u leave it as a .9png file. When u save it if it asks just save as PNG but the .9 will stay.
Hope this helps a little
Btw the amount if edits through out an entire them (many apks) is rediculous and many people have no clue how time consuming it can be.
If u need further help u can gtalk me and id be happy to walk u through the process. [email protected]
yeah I downloadad all the tools needed but where I got stuck was, once I have the tools, ROM, etc where do I actually begin at?
I was reading the Ultimate Theming Guide by Google (here) but got confused when it said "double-click the framework-res.apk"...it should have said "extract framework-res.apk with 7ZIP"....when I double-clicked I got all the crazy-looking letters that seemed to be encoded...when I extracted with 7ZIP I saw all the drawable images...all 800+ of them...had no idea there were that many...
so all I have to do, as far as small changes, is edit the .png images in the drawable folders, archive it back together and sign it? do I make it a .ZIP or an UPDATE archive?
broad_st_bully said:
yeah I downloadad all the tools needed but where I got stuck was, once I have the tools, ROM, etc where do I actually begin at?
I was reading the Ultimate Theming Guide by Google (here) but got confused when it said "double-click the framework-res.apk"...it should have said "extract framework-res.apk with 7ZIP"....when I double-clicked I got all the crazy-looking letters that seemed to be encoded...when I extracted with 7ZIP I saw all the drawable images...all 800+ of them...had no idea there were that many...
so all I have to do, as far as small changes, is edit the .png images in the drawable folders, archive it back together and sign it? do I make it a .ZIP or an UPDATE archive?
Click to expand...
Click to collapse
If u want to flash it yes if u want to just copy and paste to ur phone then no. If u c & p it then make sure u set the permissions after
smurf
so if i edit the 9.pngs say just the color i dont have to run them through draw9patch or anything like that?
dased14 said:
smurf
so if i edit the 9.pngs say just the color i dont have to run them through draw9patch or anything like that?
Click to expand...
Click to collapse
If u edit their colors u have to run in draw9patch and then recompile them. There is a program called "xultimate-d9pc" that u can use to recompile them. Do a goodle search and Ull find the script. Its easy to use and easy to setup. If u don't ur .9 files will look jacked up
i have that(couldnt get it to work right) i'll try it again. thanks smurf
dased14 said:
i have that(couldnt get it to work right) i'll try it again. thanks smurf
Click to expand...
Click to collapse
To get it to work I created a folder call draw 9 compiler. I put the script and the folder called originals in there. Inside the original folder I creates a few folders called drawable, drawable-hdpi, drawable-mdpi, drawable-ldpi. Then after I edit and draw9patch my images I put each one in the ffolders they belong in and go to xultamate-d9pc and click k on it and it will create a done folder u can go into and and all the images will be fixed in there
I'll try that, thanks for the tip
now the voices are 3d
sweet that looks to work perfect only thing extra i had to do was make original/res/then the other folders you said. thank you smurf
dased14 said:
sweet that looks to work perfect only thing extra i had to do was make original/res/then the other folders you said. thank you smurf
Click to expand...
Click to collapse
Ur welcome and yeah my bad I meant to tell u Res file first. But glad its working

help, hide nav bar / apktool

Hey,
I'm really desperate for help
If someone has a Framework-res.apk Edited and without the NAVIGATION BAR
It would really help.
my cell: galaxy nexus, 4.0.3, Open Kang 21
I was awake all night trying to remove the navigation bar on GALAXY NEXUS.
I searched every possible forum for a month and found no mods on that subject.
I found only a short guide that shows how to edit the FRAMEWORK-RES.APK
But after editing it, I could not RECOMPILE it.
I used APKTOOL
Maybe I'm missing something here (for the first time I was dealing with these files)
1. I copied the folder framework-res.apk
2. apktool if framework-res.apk
3. apktool d framework-res.apk
4. I edited in a word within a file folder and kept
5. apktool b framework-res
it did not build the file again and showed me "invalid resource directory name:" for many paths
Any ideas?
do I need to do something more before recompiling it?
if someone has already the Edited file or Mod in this topic it would help a lot!
Thank you.

[Q] Who can teach me to edit framework?

I dont want to edit pngs and stuff like that. I want to edit xml files to change my UI and make it much cooler. If you can please PM me or help me out on this thread. Ive been wanting to do this for a while but havent gotten much help. Ive tried many things and cant get it. Thanks.
joe_d08_17 said:
I dont want to edit pngs and stuff like that. I want to edit xml files to change my UI and make it much cooler. If you can please PM me or help me out on this thread. Ive been wanting to do this for a while but havent gotten much help. Ive tried many things and cant get it. Thanks.
Click to expand...
Click to collapse
Go to the themes section in the stickies there is a theme guide by dreamsforgotten the best theme guide youll ever find....i have yet to read the part on xml editing otherwise id help you but i know it consists of the JDK java dev kit and the SDK for android and apktool to decompile and recompile the framework-res.apk. have fun hope this helps.

A plea for all framework modding experts

Hey everyone,i've just started to learn more about the framework and stuff(to give back to this awesome community) by decompiling it and looking at the xmls and pngs within and one thing i found was really obvious that there is no bible of information that us new comers can consult for our questions
I would like to request all the brilliant minds here on xda to help me with a few things if this thread catches their attention.It would educate me and everyone else if our brilliant devs can share their info.I would like to start with a few questions and i really hope this thread takes off as the real reason we are all here is to learn
Questions:
1.The /res/anim folder in the framework has all the animations of the rom if i am not mistaken.But if i overwrite the xml files within with my own collection of xmls there are some files that are not overwritten and hence some animations of the rom donot change.The question here is this.How do find out what xml stands for what animation.Htc has removed the home button animation and i would be very grateful if someone can help me find it.Also app opening animations are still sense and i can't tell which xml to edit to find which one is the app opening one.
2.Recompiling the framework through apk-tool is giving me a lot of errors even when i don't modify anything.I'm using a custom rom framework so maybe thats the cause but still it should compile right.
3.Is it possible to decompile the framework in the phone(through an app i mean),add stuff to it,and then recompile it? Or is my only option to open it as a zip file and just replace and delete xmls .
I will update the thread with more questions and request anyone who has any info to please share it so we can all learn
Long live xda

Categories

Resources