Help editing libdvm.so - Android

What program can I use to edit the libdvm.so?

Related

Open XML file

I had extract surces files from an .apk application and I'd like to open XML files in the folder "res"
I import it in eclipse but i obtain this message:
"No XML content. Please add a root view or layout to your document."
you're right !
xml files in res folder doesn't seem to be real xml but "DBase 3 data file"
-> using the "file" command (on linux)
res/layout$ file main.xml
main.xml: DBase 3 data file (864 records)
Why not just use Notepad++ or Geany(Linux) ? That how i edit xml files.
smokin1337 said:
Why not just use Notepad++ or Geany(Linux) ? That how i edit xml files.
Click to expand...
Click to collapse
If anybody want to edit an xml inside an apk, he must decompile with proper decompiler (apktool) . Then only he can edit the xml with notepad or gedit or Geany .
Simple extracting of xml file will that suffice. XML extracted from apk with a zip manager , may not even viewed properly with notepad gedit or Geany .
yeah, you must decompile the .apk , then you can edit the xml file by a text editor.
Yes, you cannot just unzip the .apk and edit the files. You must de compile the apk first:
http://code.google.com/p/android-apktool/
It is easy, then you can edit all you want.
Then: compile, zip, sign.

[Q] APK modding Deskclock - Please Help

So i have this Deskclock.apk and i want to add this.
No Problem with the ".xml" Files. I can edit them easily after i decompile the apk with the "apkTool". But where will i find the ".java" Files? After decompiling the apk i only see ".smali".
So i found out that the ".java" files are in "classes.dex" from the apk.
I use "dex2jar" to get a ".jar" File.
Then i use "jd-gui" to get ".java" Files.
So i can edit it and put the needed Strings in the .java files.
But how to put them back to a "classes.dex" File which i can put back to the apk??
I hope i get a bit help here.
You can use APKTool. It will automaticly extract all the classes (.dex), resources (.asrc), then it will convert binary XML to human-readable XML, and it will also dissassemble the classes for you.
Just tell APKTool to decode the APK into a directory, then modify what you want, and finally encode it back to an APK. That's all.
Important: APKTool dissassembles. It doesn't decompile. The generated code won't be Java source. But you should be able to read it, and even edit it if you're familiar with jasmin. If you want Java source, please go over the Manual way.
Sent from my VS910 4G using XDA
Thx...I know how to use APKTool but i need to put the ".java" Files back into the "classes.dex". Thats my Problem.
There's info on the process here: http://stackoverflow.com/questions/10261147/converting-java-back-to-classes-dex
Essentially it looks like you need to compile the .java to .class files with javac and then create classes.dex with dx. Hope this link is helpful.

What PC Application do you use

Hi, When I try to open an xml file I get a string of randomized characters and I just wanted to know what PC application do you use to edit the .xmls in say for example the framework-res apk

[TOOL][DEV][LINUX ONLY] Fast java src decompiler

Hello !!!
I'm not a real developper but I manage to make a little tool FOR DEVS to accelerate java src decompile
I don't know if it can be useful, but I wanted to share it ...
I don't really create something, all the tools already exist, you know them all :
JD-GUI : Java decompiler
Dex2jar : useful tool to transform .dex in readable .jar to get java src
Why did I made this ?
I searched how to get java src, useful to build apk or even compile sources, but only found manual way.
Ok decompiling one or 2 files is not a big deal ... but when you need to decompile a whole rom ......
What can this tool do ?
getting the java src from an apk and / or a .jar (framework.jar for eg) dex2jar and jd-gui already allow it
can decompile several files (.jar and or .apk)
rename each file to is native name
How to use it ?
This tool only works on Linux
Download attached zip or here
Unzip the file in home folder The folder must be in home and musn't be renamed or it won't work properly
launch the dex.sh (double click in graphic or use ./dex.sh commande in terminal)
Follow the instructions
.classes files need to be associated to JD-GUI use this programm. If you don't know if they already are or not, don't worry let the command do it ...
For more information, I included lines to make .jar files open by JD-GUI.
If you don't need / want these files to be associated after you use this tool type in terminal
PHP:
cd ~/.gnome2/nautilus-scripts
sudo rm open-in-jd-gui.sh
This tool is not perfect ... firstly I made it for me ....but finally wanted to share it ...
if you like it just tell me and use it ... if you don't .... ok just tell me why I would improve it ...
Huge thanks to :
JD-GUI Developpers : http://java.decompiler.free.fr/?q=jdgui
DEX2JAR Developpers : http://code.google.com/p/dex2jar/
tommytomatoe : for his wonderful Android Utility and for the command lines that helped me more than a lot !!! :good:
this is really useful
especially to decompile stock sony jar/apk to port some java classes from their frameworks
@Tof37
Bro, please reupload file, link is down
Thanks
EDIT:
sorry, i am dumb. THX a lot!

Error editing vendor/build.prop file

Im trying to edit a setting in mentioned file but when i try to save it it gives me an error. Already tried with root explorer and when i open the file its empty. Any help please
create two files in /data/adb/modules/<my_module_id>
- system.prop
- module.prop
- reboot

Categories

Resources