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?

General :: Native APKTool - looking for app to recompile apps within android?


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 :: 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 :: 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 / 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 :: 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 :: Why Can't Recompile APK

Aug 18, 2013

The title says all, the decompiling is succesfull, but i cant recompile any apk, this is the log when i try to recompile holo launcher. (using the last apktool)

and the same happen even if i dont edit nothing on the apk and try to recompile.

I have "if framework-res and systemui" resources from my phone

View 1 Replies View Related

General :: How To Recompile Google Now For ICS

Aug 8, 2012

I've been able to successfully disassemble the Google Now apk for ICS devices and made a change to the sounds it makes for "open" and "success". However, xdaAutoTool displays a lot of errors when I try to recompile it.

View 1 Replies View Related

General :: How To Recompile Existing Kernel

Jun 15, 2012

Any TUT in how to recompile an existing kernel so i can make some changes and then recompile it?

View 5 Replies View Related

General :: Recompile APKs Manually?

Mar 3, 2012

Everywhere i look redirects to apkmanager.. Which is not working for me.. Any manual way to recompile an apk.. Or an alternative to apk manager.

SPH-D710

View 6 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 :: Can't Recompile Sony APKs

Dec 29, 2013

I cant recompile movies,stock launcher apk. If I just decompile and again recompile without any changes it gives me error.

C1904

View 5 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 :: 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 :: Recompile Kernel Of LG E400?

Jul 8, 2012

I want recompile the kernel of my lg e400 for add ext2-3-4 support.How i must proceed? I'm able to compiling with success and i have source from lg, sdk installed etc etc.

View 3 Replies View Related

General :: Recompile System App From Java Files

Aug 20, 2013

I want to add some function to my system music player app. So I decompiled the classes.dex with dex2jar, copied the source code and add the code for my functions. Now my problem is that I do not know how to recompile the app. I can't compile it with Eclipse because it uses some system namespaces (in Eclipse it is an error so I can't compile) How can I recompile the app? I only have the *.java files.

Or can't I use the java files and have to edit the smali files? Of course that's much harder...

View 6 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 :: Theme Chooser APK Recompile Error

Jun 23, 2012

I can decompile and recompile framework-res.apk and other apps successfully, but every time I decompile a theme chooser *.apk I get errors trying to recompile.

Is there a trick to this? I am running Reaper 3.0(CyanogenMod 7) installed the framework via installation options(that's all), have paths to platform-tools, tools etc.. The latest Android SDK installed (and all the others..)

Once again I'n only getting these errors Recompiling TC Themes.

Here is an Excerpt of my APKMULTITOOL.LOG, the start middle and end.

(full log is also attached)
|
Code:
Thu 06/21/2012 -- 22:05:11.28|
--------------------------------------------------------------------------
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode, sharing)
Could Not Find C:android-sdkplace-apk-here-for-modding../place-apk-here-for-modding/signedcom.araviel.theme.aerish.apk
Could Not Find C:android-sdkplace-apk-here-for-modding../place-apk-here-for-modding/unsignedcom.araviel.theme.aerish.apk
I: Loading resource table...
I: Loaded.

[code]...

View 2 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 :: 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 :: 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 Delete / Hide Unwanted Native Apps?

Nov 12, 2009

This is my first experience with Android. Is there a way to delete or at least hide the icon for unwanted or unneeded applications such as corporate calendar?

View 6 Replies View Related

Open Native Android Soft Keyboard On NDK Apps

Jul 27, 2012

I have an android NDK application.In this application coding in c++ language.There some resource file .C++ aceess this file and show in Mobile.Now I want to open android soft keyboard and write something.How I open Native android on NDK Application.

How can I open Native android soft keyboard on NDK apps.

View 1 Replies View Related

Android :: Complete Way To Compile Complex Native Apps To Droid ARM?

May 30, 2009

This is my first S/O question.
I'd like to know more about porting C applications to native ARM for use on Android devices.

I can make simple programs using the prebuild toolchain which comes with the source, but how can I use this toolchain with applications which are more than one file and require configure and make?

View 2 Replies View Related

HTC Desire :: Native HTC Apps

Jun 4, 2010

is there somewhere you can download native HTC apps?doesn't seem to be anywhere obvious on the HTC site and the market doesn't show me the HTC facebook app

View 10 Replies View Related

HTC EVO 4G :: Killing Native Apps

Jul 7, 2010

There are some apps like the NASCAR one that I will never need. Is it a problem to kill apps that are pre-installed on the EVO using ATK or one of the file/task manager apps? Any apps I should not kill for stability reasons?

View 1 Replies View Related

Android :: Particular Version Of Droid Source Code / Unable To Install Apps With Native

Sep 17, 2009

I've synced my android repository just after android sdk 1.6 announced, but found some problem to install my apps with native code (so built by NDK 1.5_r1) then.

I tried to build NDK with the latest source code, bu unfortunately, faile again :( .

So is there any way to get particular version of android source code? for example the android-1.5r3 tag. Would be great if some command like "svn switch /foo/bar/1.5r3" is available.

View 3 Replies View Related

Android :: AnimationDrawable Class Recompile Error / Fix It

May 1, 2009

I'm trying to recompile AnimationDrawable class ( source code tooked from android source ) but I get some errors...

It says "The constructor DrawableContainer.DrawableContainerState (AnimationDrawable.AnimationState, AnimationDrawable) is undefined". Any ideas how to fix it?

View 3 Replies View Related

HTC Desire :: Is It Safe To Uninstall Native Apps?

Jul 3, 2010

I would like to know if it's perfectly ok to uninstall (or is it even possible) native apps such as the "Messages" if I already have the "Handcent" or "People" if I already have the "Phonebook 2.0" on an unrooted Desire?

View 9 Replies View Related

Motorola Droid :: Deleting Native Apps

Aug 23, 2010

I've got a Droid 1 and am rooted w/BB rom. I was under the impression that I could go to my file manager and delete any apps, including native apps. However, the core or native apps list isn't available to me. How do I access and edit this list?

View 7 Replies View Related







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