General :: Compile / Decompile Using APKTool Or APK Multi Tool

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]....

General :: Compile / Decompile using APKTool or APK Multi Tool


General :: Compile Error In APK Multi Tool

Apr 29, 2013

I was being decompiling my settings.apk And after compiling i was edit XML Files there And after editing i compile it And theres a error that it said go to option 21 to take a log but its only a compression level for apks i think its should 24. I was only creating a rom but this only compiling made the day long to post it here

GT-S5300 Rooted with Remix v2 Rom

View 4 Replies View Related

General :: APKTool Can't Compile Unchanged App?

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

General :: APK Tool Won't Decompile

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

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 View Related

General :: Setting Up APK Multi-tool

Apr 16, 2013

i downloaded apk multi tool for windows..i installed it but when i open it i get an error 'java not installed'.

View 1 Replies View Related

General :: APKTool Not Recompiling Gmail App?

Jan 14, 2014

I tried to decompile the Gmail.apk with Apktool, but it said: can't decode attr value, value=0x00004001. And after that some more errors.

I tried it with and without framework install first, and I got the latest version of Apktool. Still nothing works, although I can decompile other apps.

View 6 Replies View Related

General :: APKTool And SystemUI No Status Bar?

Apr 12, 2013

My ROM for the Note 2 is a TW base (people want the S-Pen functions). And they like the AOSP feel so i decided to try and make a ROM that is AOSP themed. Well i have the launcher and a few AOSP themed apps such as the messaging app.

The flashers were very satisfied with my work so far. But they wanted an AOSP themed status bar. Meaning some AOSP battery images wifi and so on. I decided just just replace the EXACT images. I used a cm10 ROM to get the pngs. I also did use the newest Apktool to do it. I did all the framework installation. I decompiled both and started transfering. Here is what i did. I went to the drawable-xhdpi folder in both ROMs. They had pretty much identical png names. But the icons were different (one being the blue theme) so i took the blue icons (battery and wifi) and transfered them to my rom. I made sure that only the pngs with the same names were transfered. so there wasnt any issue compiling.

Next i compiled the APK file.Then i used my backup systemui.apk file to transfer the META-INF folder to the new one using 7-zip.Then i went and signed it and used dsixda's android kitchen to zipalign it. Then after all that i pulled that apk from the zipaligned folder and put it on my phone's sd card. I have the root explorer app. I move it to my /system/app folder. It moved successfully. Then i reboot and when it comes back up i dont have a status bar. And my wallpaper is black for a little while and then goes back to the feather thing.

I have tried signing and not signing. Zipaligning and not zipaligning.I am really wanting the AOSP themed icons in the status bar.

View 9 Replies View Related

General :: Editing Apps With APKTool?

May 2, 2014

I have been playing with apktool to learn how apps are made. Decompiled following the guide from this forum.

However I can't find what I'm looking for in the apps. For example, it's easy to edit the drawable folders of the apps and change the images.

I took some apps that gather feeds from news sites and I tried to find where are the feeds URLs coded or embedded inside the apps files, and could not find any info at all. No URLs at all. I opened the XMLs, and other files inside res, lib or smali folders, opened a lot of the files with Notepad++ and I can't find any information about it, or any place where the app connects to the website.

Is it possible to access that info when we decompile with apktool?

I also watched a lot of videos in YouTube, on how to edit apps with apktool, and all of them explain how to change the images, but nothing else.

Is it only possible to edit the theme/design of an app, when we decompile with apktool? Or can we go further and change something else?

View 2 Replies View Related

General :: How To Decompile APK In Android

Jun 6, 2012

How to decompile APK in android?

View 4 Replies View Related

General :: How To Decompile APKs

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

General :: How To Decompile Jar Files

Apr 18, 2013

how to decompile and compile jar files using cmd or other...

View 2 Replies View Related

General :: Can't Decompile ICS APKs

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

General :: Run APKTOOL In Android - No Such File Or Directory

Jan 31, 2013

Tried it, i put aapt,apktool and apktool.jar in /system/bin...

But when typing apktool it says "no such file or directory"

How can i make it work?

View 4 Replies View Related

General :: Modify With APKTool App - Block In Dalvik

Jan 31, 2012

my friends mods and give me an app that he had blocked only for my imei code and date control..i have modify with apk tool the app (the condition control where the app check imei and date) but when i resign the app and install it, when i launch it crash.How i can remove these blocks?

View 1 Replies View Related

General :: Decompile APK And Change Some Functions?

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

General :: Sprint GS4 V4.3 - How To Decompile SystemUI APK

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

General :: Add Activity Class To Decompile App

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

General :: Correct APKTool For ICS And Jelly Bean For Linux / Mac?

Jul 21, 2012

Correct ApkTool for ICS and Jellybean for Linux/Mac?

I can't compile using the one from the website as I get compiling errors

View 6 Replies View Related

General :: How To Edit System Apps With APKTool For Android

Nov 1, 2013

how to decompile system apps with apktool for android....

View 2 Replies View Related

General :: Native APKTool - Looking For App To Recompile Apps Within Android?

May 18, 2013

I'm interested in an app to decompile apps within android. Something like ninjamorph would be great however ninjamorph seems to do the equivalent of extracting an apk instead of leaving an editable app with readable xml files. What is the likelihood of something like this happening? What is preventing it from happening?

View 2 Replies View Related

General :: Recompile System APK Using ONLY APKTool While Keeping Signature?

May 17, 2012

I don't want to use APK Multi-Tools or APK_Manager or whatever. I want to know exactly what those tools are doing in order to recompile the system apk while keeping the original signature.

What I initially did...

Code:
apktool d "%~dpnx1.apk" "%~dpnx1"

...modify files here...

apktool b "%~dpnx1" "%~dpnx1.apk"

But obviously that's unsigned. I need to sign it, but I want to use the original signature, which I'm guessing is the META-INF stuff, right? So I attempted this...

Code:
apktool d "%~dpnx1.apk" "%~dpnx1"
7za x -o"%~dpnx1-signature" "%~dpnx1.apk" META-INF -r

...modify files here...

apktool b "%~dpnx1" "%~dpnx1.apk"
7za a -tzip "%~dpnx1.apk" "%~dpnx1-signature/*" -mx9

You'll notice I now use 7-Zip to pull out META-INF from the original APK and then insert it back into the recompiled one afterwards.

The only other thing I can think of would be to go with my first method, but then use 7-zip to pull out the compiled files from the unsigned apk and insert them into the signed apk. I haven't tried that yet, but it will be the next one I go with. Every time this fails, though, I have to do a nandroid restore.

For those interested, after running "apktool b" (to build/compile), ignore the output zip. Instead go into the source directory and there is now a build directory. In that is an apk directory. Simply add your changed files to the original untouched APK (if you modified any XML files, then replace resources.arsc; if you added anything to smali, then replace classes.dex; if you added any XML files, then you need to include those as well; for me, i copied resources.arsc, classes.dex, and one new XML file). I used the following command:

Code:
zip -9 ..SystemUI.apk reslayoutstatus_bar.xml classes.dex resources.arsc

I use zip instead of 7za for cosmetic reasons. You can also use "7za a -tzip etc..." if you want.

View 1 Replies View Related

General :: Cannot Get Android Multitool To Decompile Any APKs

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

General :: How To Decompile Small Files And Then Edit

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

General :: Change Gmail Conversation Item Color With APKTool?

Jan 23, 2013

I want to change gmail conversation item color with apktool but i cant find a way.

View 1 Replies View Related

Android :: How To Compile All Source Files - Default Make Target Does Not Compile All Of Them

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

General :: How To Decompile / Recompile System Apps From MTK Phones

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

General :: Decompile APK To Change Appdata Path From Internal To SD Card

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

General :: How To Compile PHP CLI For Android

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

General :: How To Compile ROM With HALO

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







Copyrights 2005-15 www.BigResource.com, All rights reserved