General :: How To Compile And Decompile JAR Files
Aug 19, 2012
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.
View 4 Replies
Feb 16, 2012
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 :
Code:
I: Baksmaling...
I: Loading resource table...
I: Loaded.
[Code]....
View 9 Replies
View Related
Apr 18, 2013
how to decompile and compile jar files using cmd or other...
View 2 Replies
View Related
May 18, 2013
I know how to decompile, recompile and sign apk but how to decompile smali file for editing....
View 9 Replies
View Related
Mar 16, 2010
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)
View 1 Replies
View Related
Nov 18, 2010
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)
View 1 Replies
View Related
Mar 13, 2012
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?
View 5 Replies
View Related
Jun 6, 2012
How to decompile APK in android?
View 4 Replies
View Related
Jul 8, 2013
I have been trying to use APK Tool for HOURS and I keep getting this error:
I: Baksmaling...
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?
View 7 Replies
View Related
Nov 22, 2011
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)
[URL]
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.
View 9 Replies
View Related
May 20, 2014
Is it possible to decompile an apk and change some function? For example: A game give you always 50 gems for an exercise. Is it possible to change the function so you will get 100 gems?
View 1 Replies
View Related
Feb 20, 2014
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.
View 1 Replies
View Related
Oct 10, 2013
It Possible? I Decompile App and i want add my class to this app. How to do this? I search but can'y find any guide. I Use Apktool.
View 5 Replies
View Related
Feb 20, 2014
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.
View 4 Replies
View Related
Dec 21, 2013
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.
View 3 Replies
View Related
Jan 29, 2013
how to change the default appdata storage...
datadatacom.google.android.apps.currents to sdcardAndroiddatacom.google.android.apps.curren ts coz currents stores both cache and data to internal mem...which takes a whopping 100-150mb itself.
can i change some vaules to make it store in the sdcard instead.....
View 7 Replies
View Related
Aug 7, 2013
compiling PHP 5.4.17 CLI for android on Ubuntu 13.04. I just have installed Ubuntu on my pc. What are the next steps ? How to setup it for cross compiling php ?
Which tools do I need and where/how to get this ?
View 1 Replies
View Related
Jul 29, 2013
I am currently building AOKP and I want to add HALO to this. I have just downloaded all AOKP sources. I know that link to HALO repos is this:[URL] but what shall I do now?
View 9 Replies
View Related
Jul 30, 2013
I use my phone Huawei Y210 and found the kernel source provided by Huawei. compile the kernel source.This is the link kernel: URL....
View 1 Replies
View Related
Apr 11, 2013
i want to compile a rom for lg p690 from source which guide will be best for it
View 2 Replies
View Related
Nov 5, 2012
The samsung galaxy s wifi/player 3.6 haven't cwm because we have a verry small comunity (3.6 thread : [URL] ...)
I tried to compile cwm 5 from cm7 source while ago and I didn't succeed : a error with a too big size out image.
Today I re-download the cm7 source but too many file are missing.
View 1 Replies
View Related
May 6, 2012
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]....
View 9 Replies
View Related
May 25, 2012
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.
View 3 Replies
View Related
Feb 25, 2012
I have built many kernels on the wildfire s for cm7 but I noticed that ksgl was not getting compiled so I added it to the build and it compiles but at the end of compiling. URL...
View 2 Replies
View Related
Jan 10, 2014
I want compile this apk from github source URL....my steps:
1)git clone URL....
2)So I have the folder with files on my pc
Now next step to compile apk? I have both windows and ubuntu...
View 2 Replies
View Related
Dec 27, 2012
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:
Quote:
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.
View 6 Replies
View Related
Apr 27, 2013
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.
View 2 Replies
View Related
Nov 18, 2013
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
Code:
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.
View 3 Replies
View Related
Apr 11, 2013
how to compile a rom from source on windows 7 tried virtual machine but dont work
View 2 Replies
View Related
Jun 21, 2013
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.
View 1 Replies
View Related