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

General :: APKTool can't compile unchanged app?


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

View 9 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 :: 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 :: 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 :: 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

Sprint HTC Hero :: Official 2.1 RUU - Name Unchanged

Jun 4, 2010

It looks like even though 2.1 was rooted for the Hero, Sprint has now made a patch. Not only is there an OTA update that breaks the root, but apparently Sprint is pulling a sneaky one. They went and updated the RUU on the download page, but did not change the name of it. The old RUU for 2.1 was version 2.27.651.5. When downloaded the new RUU from Sprint is 2.27.651.6, which root is patched.

View 16 Replies View Related

Android :: Modified Checkbox State To Be Selected But View Unchanged?

Mar 1, 2010

In my android app, I have a preferenceScreen with some checkboxes defined in a xml file and a class that implements "SharedPreferences.OnSharedPreferenceChangeListener". What I want to do is to select a checkbox and all the others to be selected as well. In the above listener I am able to modify the other checkboxes's state to selected, but my view remains unchanged. What should/could I do to achieve this ?

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

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 :: Compile Kernel Source

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

General :: How To Compile CM10 ROM For LG P690

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

General :: Compile CWM From Source For New Device

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

General :: How To Compile FFMpeg With Support For GPU

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

General :: Kernel Compile Error

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

General :: Compile Apk From Github Source

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

General :: Cannot Get Jelly Bean To Compile

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

General :: Compile Android On ARM Architecture?

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

General :: Compile Error IW Tools

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

General :: Compile Rom From Source On Windows?

Apr 11, 2013

how to compile a rom from source on windows 7 tried virtual machine but dont work

View 2 Replies View Related

General :: How To Compile Android Kernel From Source

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

General :: Unable To Compile APK (systemUI) Cyanogen

Dec 16, 2012

i tried to decompile systemui.apk it decompiled successfully using apktool but whenever i tries to recompile it it shows dis error

it is of cyanogen mod 9.1

C:UsersyoDownloadsCompressedNew folder (2)>apktool b SystemUI
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:UsersyoDownloadsCompressedNew folder (2)
SystemUI

[code]....

View 2 Replies View Related







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