Need help with xml - Droid Incredible Q&A, Help & Troubleshooting

I am looking for someone that can help me make some xml edits and then recompile the two apk's for me. They are com.htc.resources and framework-res. I have all the edits that I need to make but I am not good with programming stuff. I tried making the edits myself and then recompiling but I keep on getting boot loops. Any help would be appreciated.

Bumping this post as I have no replies as of yet.

Related

[Q] Need help combining two themes

I am trying to combine a battery mod with a theme with no success. Any help would be appreciated since the only programming experience I have was some BASIC A I learned for a merit badge about 20 years ago
What I am trying to do is combine all modified xml's into one framework-res.apk along with the edited png's. The public.xml has been modified in both themes while other xml edits are theme specific and are only changed in one, but not both themes.
What I've been doing is using a diff software to compare the directories of each framework-res.apk. Since the only common modified xml is public.xml, I have been simply copying all modified files into one directory. I think where I am going wrong is in trying to combine the edits of both public.xml's into one file, although it's entirely plausible that what I'm doing is completely idiotic.
Using the diff software I compare both public.xml's and copy any changes into one public.xml file. However when I try to build the apk with apktool I get a ton of errors about public symbol "x" not being defined. I'm pretty sure this has something to do with the ID's of the png's but since I'm copying and pasting I don't understand where the problem comes from.
I am trying to learn a little bit about theming to eventually make my own, but if copying and pasting won't work for what I'm trying to do, I'm probably in over my head

[Q] questions for dev's

Alright...when I was running my hero, I learned an extreme amount of developing. Since the hero was HTC, a lot of what I've learned seems to be relevant to the DINC. Now the programs I used was from a posting made by papa smurf called everything Android. Some of the programs don't work and are now are outdated. So my question is, if any dev has the time, could you share what programs(or even a posts to a thread you know of) you use for things such as :
xml to text and xml editing
creating flashable zips and signing
Everything else I already got programs and know how to do. I would really appreciate it.
Apktook and dsixda kitchen. These are two great tools at our desposle. Apktool can be used to decompile an APK. The decompiled APK can have the XML decompiled into readable format witjlh it. Dsixda kitchen can split boot images, repackage zips, unpack system.img. just check em out.
Sent from my Incredible using Tapatalk

[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

Editing Settings.apk

im trying to edit the settings.apk to add/remove entries from it.
My question is, can this be done through decompiling the apk and editing xmls, or do i need to edit the source code/java files?

Categories

Resources