I need to edit my phone "service.jar' file. So i need to know how to compile and decompile ".jar" files. I think before the edit ".jar" files i need to decompile it like android apps. Are there any too for it like apktool? I try to do it with apktool but not success.
I'm trying desperately to edit some files inside SystemUI.apk and framework-res.apk but I'm having some troubles...
I wanted to post in the specific thread of the program : [URL] but I'm not allowed to, because it's my first post here.
First I used only apktool, I managed to decompile my 2 files with no problems, I replaced a few *.png files and tried to recompile it but I'm getting errors... (I only manage to recompile the files if I don't edit a thing)
Then I tried APK Multi Tool, I achieved to decompile my 2 files (with the option 9 in the program), but I can't recompile them after editing my files. So I decided to make a test, I tried to decompile and recompile (I hit 9 then 11 in the choice case) them WITHOUT changing a thing and I get errors anyway. If I use the choice 1 (only extract the apk), do my editing and then zip the project (with the choice 3), directories are wrong inside the new *.apk, I get "projectsSystemUI.apk(res or smali, etc...)" so the *.apk result is not usable
Here is the log file when I try to recompile WITHOUT changes :
when I compile android (http://source.android.com/download) it does not compile some source files. For example there is external/bluetooth/bluez/sbc/sbc.c which is not compiled. There are also other such files.
It's possible those files need not to be compiled. Or it might be that I need some special configuration to compile them.
Either way, if it is possible, I'd like to compile them. Is there some way to do it? Maybe some "compile_all" make target? (I believe the reason why I want to compile all source files is not important)
Can an android project in Eclipse be configured so that the built-in builders read from an alternative source directory? ie. "test/src" instead of "src"? and possibly even "test/res" instead of "res"? (It appears that setting dirs in the property files will only affect ant and not the built-in builders)
I'm trying to decompile a few apks for modifying the dialer on an ICS rom. When I go to decompile I get an empty folder and this error:
I: Baksmaling... Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78 0a 30 33 36 00 at org.jf.dexlib.DexFile.<init>(DexFile.java:377) at org.jf.dexlib.DexFile.<init>(DexFile.java:274) at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder .java:44) at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder .java:33) at brut.androlib.Androlib.decodeSourcesSmali(Androlib .java:68) at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85 ) at brut.apktool.Main.cmdDecode(Main.java:128) at brut.apktool.Main.main(Main.java:65)
All I would like to do is edit a few xml files to change the color on text. Could I just rename the apk to .zip and extract the files to be edited?
I have been trying to use APK Tool for HOURS and I keep getting this error:
I: Loading resource table...
Exception in thread "main" java.lang.ClassCastException: brut.androlib.res.data. value.ResFileValue cannot be cast to brut.androlib.res.data.value.ResScalarValue at brut.androlib.res.decoder.ARSCDecoder.readComplexE ntry(ARSCDecoder.ja[code].....
I am trying to edit BlockLauncher Pro APK. Is there any other way to decompile apks?
Using APK Manager im trying to decompile some APKs from ICS, though always run into errors (Unlike GB APKs which I have no problem with)
Code: |22/11/2011 -- 20:21:58.42| -------------------------------------------------------------------------- java version "1.7.0_01" Java(TM) SE Runtime Environment (build 1.7.0_01-b08) Java HotSpot(TM) 64-Bit Server VM (build 21.1-b02, mixed mode) -------------------------------------------------------------------------- |22/11/2011 -- 20:22:29.68| -------------------------------------------------------------------------- java version "1.7.0_01" Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
Ive heard using the newer version of APK Manager is supposed to fix things, though cant find a newer one. The only file I found on XDA was a Jar file, and didnt explain what / how to replace with current APK Manager.
I was trying to decompile, modify and then recompile my SystemUI.APK to put THIS mod into it. I am using THIS TOOL.... Now I can successfully decompile my SystemUI.APK, but when I go to recompile it, nothing happens and there is nothing in the recompiled folder.
BTW I have a Sprint GS4 running a custom ROM (TouchWiz based) on Android 4.3.
I've installed the android sdk, java, and all the other fancy things I was supposed to, but cannot get Android Multitool to decompile any apk's.
This is the error log it throws out: The system cannot find the path specified. 'apktool' is not recognized as an internal or external command, operable program or batch file. The system cannot find the file specified.
how to Decompile/Recompile System apps from MTK phones? I'm using apktool 1.5.2.I can decompile like "SystemUI.apk"But I can't recompile. Even I didn't edit anything yet.Specially those who have MTK phones.
I have made a CM7 theme and I'm unable to compile it. I have investigated it a little and found out that if I decompile a theme and then compile it back without ANY change, it gives the following error:
Code: chris@ubuntu:~/Desktop$ apktool b xres W: Could not find sources I: Checking whether resources has changed..[code]....
how to compile FFMpeg with support for the Mali GPU or Generic Android HW acceleration?A good number of video players on the Android Market are able to playback HD video without issue, where some not optimized for GPU decoding are not.
I've attempted to build two different sources, one modified ICS AOSP and another from straight up JB AOSP. Both err on me.
JB spits out the following:
make: *** No rule to make target `out/target/product/devicetest/obj/STATIC_LIBRARIES/lib_driver_cmd_wext_intermediates/export_includes', needed by `out/target/product/devicetest/obj/EXECUTABLES/wpa_supplicant_intermediates/import_includes'. Stop. make: *** Waiting for unfinished jobs.... target thumb C: wpa_cli <= external/wpa_supplicant_8/wpa_supplicant/src/utils/edit.c
I'd prefer to get JB working, but would be satisfied with ICS for now.
getting a dev board for use as a mini pc. Wondering can you compile android on arm hardware or only on x86 hardware. If you can compile android on arm I will get a high end quad core dev board, if not will just go for a mid range dual core board. Thought it would be a fun project to have an auto android builder along with file and print server. Yes I know it will be slow to compile.
I am on CM "jellybean" branch and want compile iw from source in order to get a p2p0 interface. My goal is use precompiled libnl.so provided by my vendor (Sony). I add iw sorces in external/iw directory and modified Android.mk of external/libnl-header in order to create the module "libnl" necessary for compile iw. All changes are in this commit.
When I compile I obtain this
external/iw/iw.h:5:29: fatal error: netlink/netlink.h: No such file or directory
It look like the libnl module is not imported by iw.
I am needing to make a kernel for a certain device. There aren't any source codes available for that device but there are for multiple clones out there. I am running Linux Mint Debian edition and i cant find a guide for compiling a kernel on debian.