A plea for all framework modding experts - HTC One X

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

Related

[Q] Theme Questions (noob)

ok so i have had this idea sence i bought this phone of making a complete rework theme/rom and all the icons, i have been searching around for all the info i need and found some but not all so i am going to post some questions and hopefully when i get off work the main ones will be answered so i can start. i have been dieing to do this for a week lol.
1. i have windows 7, to make things easy should i just dual boot win xp?
2. i want to change the notafication bar but i have not been able to find ware the icons are?
3. I read that i need to sign all the apks i change if i stay with win7 will the program someone made to sign apps work?
4. If i edit the image in the drawable dpi(i think thats the folder) do i also need to edit the XML docs?
5. if i want the rom to install lancher pro by default and set up a custom tray is that possible or dose it have to be changed after you install the ROM?
i know some of the questions might seem stupid but im trying to learn because i really do enjoy tweaking this phone i have been walking around with a notepad all week sketching ideas down as they come to mind so any help would be great thanks everyone.
Here is my current theme and widgets
well apparently i cant post outside links so i will have to add them later here is the album to them thou
s6.photobucket.com/albums/y230/repazentin_269/mobile%20upload/
Enjoy and Thanks ahead of time
+1, I have had a hard time finding enough info to make me comfortable to start editing the 100 or so .pngs in drawable-hdpi.

[Q][Gingerbread] How to solve certificates mismatch when editing SystemUI.apk

Hi,
first of all, allow me to apologize that I am posting this into dev section instead of Q&A, but IMHO this topic is strongly tied with actual development and its not just a simple newbie question. If you disagree, please contact a mod with a request to move this thread to Q&A. Thanks.
Now lets cut to the chase. I am trying to alter some images inside the SystemUI.apk that was introduced with GB, mainly I want a semi-transparent statusbar. Problem is, when I modify the resources, rebuild the apk file using apktool and sign it using testsign, the modified package gets ingnored by the system because of shared UID certificate mismatch. If I understand it correctly, I must find the package using the shared UID and resign it with the same certificate as the modified SystemUI.apk. Am I right? If so, how can I determine the package apk file based only on the knowledge of its shared UID? If I'm totally wrong, please, correct me.
Thanks a lot,
squrl
Ok, so it has been moved already. Curious, if I get any answers here
Bump.
10 char
Same problem here.
Hi viruz82 , maybe this will help http://android.modaco.com/content/general-discussion/329285/signing-roms-with-the-aosp-platform-cert-for-flibblesan/

[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.

[Q]decompile and edit home.apk

Hi all,
I`got a problem to decompile the stock home.apk.
Everytime i decompile i get a error saying i have the wrong framework installed but i have the right one installed manually.
I want to have rotate on homescreen only 3 screens and 3rd thing 6 rows and 6 cols. I have to change the folder res\values\ i think but how can i get it or better edit it.
Is their anyone out here who can give me a link or a little tutorial howto.
I have had a look at several pages and gave lot`s of promissing tools a go but nothing helped me out .....
so much moders can please only one share his knowledge
Your best bet would probably to ask someone like vr5411 who posted this thread: http://forum.xda-developers.com/showthread.php?t=1519742

Adding an apk to SecSettings.apk

I've run through several how-to's and I still can't get an app to compile after I make the changes to add something to the settings app. I make the changes to strings xml and settings_header but then it won't compile. The reason for it not compiling seems to be an issue with the android manifest xml but in all I have done I do not alter it (or maybe I need to)
Anyone have an idea ? Thank you !
hednik said:
I've run through several how-to's and I still can't get an app to compile after I make the changes to add something to the settings app. I make the changes to strings xml and settings_header but then it won't compile. The reason for it not compiling seems to be an issue with the android manifest xml but in all I have done I do not alter it (or maybe I need to)
Anyone have an idea ? Thank you !
Click to expand...
Click to collapse
Most devs don't cruise the Q&A section, so you will probably get more help here. It will also benefit other members having it all in one place.
Some more info will help like what app you are trying to add.
upndwn4par said:
Most devs don't cruise the Q&A section, so you will probably get more help here. It will also benefit other members having it all in one place.
Some more info will help like what app you are trying to add.
Click to expand...
Click to collapse
Thank you. It's a bit unclear the best place to ask questions not related to flashing or someone else's ROM. That and I was getting pretty mad and now that
I read my above question,it is so vague and rambling.
I posted my question over there.
http://forum.xda-developers.com/showpost.php?p=42007405&postcount=41

Categories

Resources