Sorry for the new thread - but I need a compiler that will rebuild dlls from the decompiled state after a rom dump. I attached a sample dll that I want to work with.
I know there was one here at some point in the past - but I can't seem to locate it, or anything about it
Mods - please do what you wish with this after (hopefully) it gets answered!
I'll keep an eye on the thread Matt. I've also copied it over to the dev/hack thread, since it's frequented by quite a few members that may be able to answer this for you.
Related
Hi all,
I'm currently working on a 2.1 Sense-UI 'Lite' Rom, which will use a customised, lightened version of the Espresso Rosie. I'll be no-doubt spending every second of my free time in Photoshop with the aim of making this rom look stunning.
As for the rom itself:
I've used highlights from several of the current 2.1 releases from this and other forums, and I'm pretty happy with it so far; it has a very small 'not working' list, and the filesize is reasonably low for a Sense UI rom. Of course, I'll credit people where credit is due.
Anyway, the questions. Some of this may seem incredibly dumb. Please assume that I have an understanding of Linux, but I am very new to Android Development. I've simply read the guide that Lox posted, then taken a 'learn whilst I work' approach. So...
1. How do I edit the 'Software Number'? (I can't seem to find it)
2. If I start again with a clean, AOSP 2.1 rom, how do I make it use Rosie? It can't just be a case of putting the Rosie.apk in the right place can it?
3. If I want to select which apps/widgets appear and where, do I edit the relevant XML which contains the Screen/X/Y locations?
If/when I have more questions, I'll post them here!
Thanks in advance
1. Sorry dont know,
2. No you need to add all the framework files, quite a few of them I think.
3. system/customize/mns/default.xml
Dan
Thanks Dan. I have the Framework files, so that's easy enough.
I suspected it was the default.xml, so thanks again.
Anyone know the answer to my first question?
I think that it is somwhere in build.prop but I can be wrong.
1. No idea what you mean by 'Software Number'
2. com.htc.framework.jar and friends need to be added to init.rc's BOOTCLASSPATH var ... so at the very least, you need to provide a custom boot.img ... that rules out adding it over other custom ROMs ... on top of that all the Rosie related /system files need to be present...
3. yes - that default.xml is the place ..
Good luck ...!
(Side note ... Why oh why would you want to add sense!)
Hello,
Im kind of new to developing for android....
But I did a bit of developing on blackberry in the previous years...
Ive been working on some soft buttons. I designed some buttons in a different thread that work great. But I wanted to edit my SystemUI.apk myself (navagation_bar.xml) so that I could edit a search soft key and the order of the soft key buttons myself....
I can't for the life of me, get this thing to decompile. If you open the navagation_bar.xml from within the SystemUI.apk (even in notepad ++), you get a bunch of random characters. I am assuming this is because I have to actually decompile the SystemUI.apk first.
- so I have downloaded apktools,
- I have it all setup correctly following the instructions for decompiling posted here: http://rootzwiki.com/topic/1836-guide-how-to-decompile-an-apk-updated-w-guide/
I used the framework-res.apk of the rom that I am currently using (Android Rev 2.1.2)
And then I place the SystemUI.apk in the folder to be modded, and go ahead and run the script, try an decompile it. And every single time I try it says "an error occurred, please check the log"
I check the log and nothing there makes any sense to me....
It just says an error occurred in "main" multiple resources....
and then it lists a whole bunch of (unkown source)
Super frustrated here, because I have found some coding and studied some coding and I know how to edit the navigation_bar.xml to my likings.... but I cant get the damn SystemUI.apk to decompile....
Can someone please help me here?
and ideas on what might be going wrong?
Thanks a lot
Replace the files in the "other" folder with these.
http://db.tt/1Cii8tGa
The guide you are using will only work for samsung phones running touchwhiz. You'll need to use the framework specific to the ROM you are working on.
You should be able to find all the necessary info in Brut.all's thread, although Ill admit it did take me a little while to get it all figured out myself.
[UTIL][08.12.11] Apktool v1.4.3 - a tool for reengineering apk files
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
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
Fenny, in providing the write up to patch the libandroid_runtime files will no longer be patching the files himself.
The write up is way over my head (Especially as many of the hex values in the write ups don't appear in the files now, and it appears that at least one of the strings in the instruction sections have been moved to .rodata), so I'm wondering if someone who has successfully patched the files for themselves, would be so kind as to share them.
pTeronaut said:
Fenny, in providing the write up to patch the libandroid_runtime files will no longer be patching the files himself.
The write up is way over my head (Especially as many of the hex values in the write ups don't appear in the files now, and it appears that at least on of the strings in the instruction sections have been moved to .rodata), so I'm wondering if someone who has successfully patched the files for themselves, would be so kind as to share them.
Click to expand...
Click to collapse
I am looking for the same thing too, and found the same results that you did.
The files for PureNexus that Fenny posted in the main Suhide patching thread work for NMF26V stock.
https://forum.xda-developers.com/showpost.php?p=70473796&postcount=195