yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] evildog1:
Good news to everyone. Next week I have enough time to work with it and this time, I will not make and leave any new bugs behind unlike what Microsoft did with Win10. Sorry for being Microsoft (just kidding) xD. I will make sure no bugs exists and I will read all previous posts looking for issues and suggestion. And I will switch back to apktool 2.3.4 jar for stability if 2.4.1 is not released yet

Sorry for the long no updates. Was busy and had issues in my life. I kept planning to work with it but didn't. hope i can this time :)
[Android Software/Hacking General [Developers Only]] asmar271164:
thank you
[Android Software/Hacking General [Developers Only]] Azims Lives:
Yeah, I tried that, and it didn't work.
[Android Software/Hacking General [Developers Only]] evildog1:
"Didn't work" is not enough details. Please explain your issue and post logs
[Android Software/Hacking General [Developers Only]] evildog1:
[MENTION=10230777]communicate2richi[/MENTION] read the FAQ https://xdaforums.com/showpost.php?p=65775601&postcount=2
[Android Software/Hacking General [Developers Only]] Azims Lives:
I'm using Apktool version 2.3.4.jar (as suggested)

Steps to reproduce the problem:

Install FW APK >> Decompile >> Clear FW cache >> Compile

I didn't make any changes to the framework-res.apk

Logs:
[Android Software/Hacking General [Developers Only]] evildog1:
You aren't supposed to clear FW after decompile, that clearly makes complie error due to missing FW

Clear FW before you install FW again or before decompile

If it doesn't solve issues, you may try out Tickle My Android since it was highly focused on ROM/theme developing/modding :)
[Android Software/Hacking General [Developers Only]] Azims Lives:
Thanks for the suggestion. I will look into it!! :good:
[Android Software/Hacking General [Developers Only]] evildog1:
strange... any android OS always have framework path. it must be somewhere else that i don't know
[Android Software/Hacking General [Developers Only]] Sal7_one:
Nice tool! <3
[Android Software/Hacking General [Developers Only]] PalmCentro:
Why does Microsoft security essentials flag this?

https://www.virustotal.com/en/file/...03165785f5600af96d6a014b/analysis/1478183345/
[Android Software/Hacking General [Developers Only]] evildog1:
it's false positive. i'm not sure what "trojan.win32.dacic.a!rfn" means. i guess because my tool extract required data into AppData/Local/APK Easy Tool.
[Android Software/Hacking General [Developers Only]] Ww222:
I am getting this error in log file:

Decompiling...

'java' is not recognized as an internal or external command,

operable program or batch file.

I pathed java but problem not fixed.

My windows is 10
[Android Software/Hacking General [Developers Only]] evildog1:
install Java JRE http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
[Android Software/Hacking General [Developers Only]] Ww222:
Its installed and after i type in cmd

Java

Its ok but app give error
[Android Software/Hacking General [Developers Only]] northwindtrades:
Did you set the environment variable for java?
[Android Software/Hacking General [Developers Only]] Ww222:
Thanks

I forgot this.

I did it and it was OK
[Android Software/Hacking General [Developers Only]] kirpeace:
apk extracted from /system/etc/overlay are not compiling
[Android Software/Hacking General [Developers Only]] scandiun:
Does APK Easy Tool auto align the apk?
[Android Software/Hacking General [Developers Only]] evildog1:
uhh what does that mean?
[Android Software/Hacking General [Developers Only]] scandiun:
https://developer.android.com/studio/command-line/zipalign.html
[Android Software/Hacking General [Developers Only]] evildog1:
Thanks. The apktool by ibotpeaches does not have any documentation about zipalign but i guess it does automatically.
[Android Software/Hacking General [Developers Only]] scandiun:
zipalign is not done automatically. I've checked it.

http://stackoverflow.com/questions/19543520/zipalign-verification
[Android Software/Hacking General [Developers Only]] evildog1:
Ok. I'll take a look and contact the apktool developer since i don't know anything about ZipAlign.

Edit: They said i need zipalign.exe file. I could not find that file on the internet but i guess that it is located in Android Studio.
[Android Software/Hacking General [Developers Only]] churchmice:
Would you please update the apktool to version 2.2.1, which is supposed to work with nougat ?
[Android Software/Hacking General [Developers Only]] evildog1:
yes i'm working with it, but i don't have enough time so ETA will be february. I hope i can release fast asap
[Android Software/Hacking General [Developers Only]] copeppe:
I've decompiled an app but now is impossible recompile it

I'm using Windows 7 64bit. Java is installed. The log file:

-----EDIT-----

Ok, I've seen that some apk are "patchable" and some not.

For some of them I got always the same kind of error:

Are there solutions? Will be possible to remove ads in the future with the next version of apk easy tool?
[Android Software/Hacking General [Developers Only]] evildog1:
Hello,

It looks like that you are doing something wrong in the xml file. About Ads, they can be different so you gonna have to be expert of android xml design and smali modding. Try APK Easy Tool v1.3, it include APktool 2.2.2 so hopefully it will solve the problem.
[Android Software/Hacking General [Developers Only]] communicate2richi:
thanks ! once the apk is compiled ...then signed...the final completed apk will be in the Recompiled APKs folder ? please confirm ?

thanks again !
[Android Software/Hacking General [Developers Only]] evildog1:
Yes it's correct!
[Android Software/Hacking General [Developers Only]] communicate2richi:
Hello, thanks for your reply. I recompiled and then signed the apk ...however the apk version is not showing updated version ? i have made some changes in the androidmanifest.xml file ...

or you don't have to make change to the andoridmanifest.xm file ...can it be done directly via the provided interface in the tool. itself

1) tick check box - keep original signature

2) Rebuild API Level - include the new level

what need to be done...can you please let me know further ...

Thanks Again !
[Android Software/Hacking General [Developers Only]] robrazil:
I decompiled the Google Calculator 7.4.1 but when compiled it, I got the error:

"brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = -1073741515)"

So, I downloaded the apktool oldiest like 2.3.4 version and using it the error is gone and I got compile to apk file right.

I hope to have helped someone.

[ ].
[Android Software/Hacking General [Developers Only]] evildog1:
Drag or select the compiled APK in order to show the changed version. This is by design.
[Android Software/Hacking General [Developers Only]] communicate2richi:
sorry not able to follow...can you please elaborate ?

Thanks!
[Android Software/Hacking General [Developers Only]] Cerberus007:
apk easy tool update

Any word on the update progress of the apk easy tool? Waiting impatiently. lol :D
[Android Software/Hacking General [Developers Only]] communicate2richi:
Sorry, was waiting for your reply...? can you please explain little bit...

Thanks!
[Android Software/Hacking General [Developers Only]] Cerberus007:
Signing Type

May I ask what types of signing types this tool does? Android apps can have v1 through v3. If all three are not including during the signing process, I would like to request it to be added to make modded apk's compatible. Thanks for the hard work on this tool and wish you the best.
[Android Software/Hacking General [Developers Only]] evildog1:
As said, just drop the compiled apk in the tool or select compiled apk in order to see the info changes. Please try

It is using apksigner.jar to sign and it signs with v2 and v3 by default

See more about apksigner command line tool https://developer.android.com/studio/command-line/apksigner

Nearly done but I need to fully test before release. Was working with language related which takes hell long time lol xD
[Android Software/Hacking General [Developers Only]] Cerberus007:
APK Easy Tool

Thanks for your clarification and hard work on this tool.
[Android Software/Hacking General [Developers Only]] Cerberus007:
APKTool 2.4.1 Dev Build

I compiled the latest dev build of the apktool from GitHub. Might fix some user issues for those that want to try it.

https://dropapk.to/p8crzlalumau/apktool_2.4.1_Dev.jar
[Android Software/Hacking General [Developers Only]] Shafiq baloch:
Please someone guide me that how to how to add java path. I'm getting an error 'Java' is not found as an internal or external command.. please help me!
[Android Software/Hacking General [Developers Only]] Cerberus007:
Java Path

https://www.thewindowsclub.com/set-java_home-in-windows-10

If you still have issues with APK Easy Tool go to options and set portable java to installed path \bin folder.
[Android Software/Hacking General [Developers Only]] Shafiq baloch:
It worked but then I got this error..
[Android Software/Hacking General [Developers Only]] Cerberus007:
Broken APK

Looks like a corrupt apk file. Try downloading it again. Might I suggest using the above apktool 2.4.1 dev jar file I posted or apktool 2.3.4. Apktool 2.4.0 has issues.
[Android Software/Hacking General [Developers Only]] communicate2richi:
it was working fine...but once i compile the apk and try to recompile it gives me error ...apk or folder not found ?

what needs to be done ?

Thanks!
[Android Software/Hacking General [Developers Only]] Cerberus007:
Apktool 2.4.1 Dev 11.14.2019

Apktool 2.4.1 Dev 11.14.2019:

-Added support for Java 8 8u231.

Download:

https://www.mirrored.to/files/BZC8KT0T/apktool-2.4.1-Dev_11.14.2019.jar_links
[Android Software/Hacking General [Developers Only]] evildog1:
Interesting. Please explain more about it and provide screenshot or video if possible

Thanks. I will add it to my thread
[Android Software/Hacking General [Developers Only]] Cerberus007:
[MENTION=4623971]evildog1[/MENTION] how is the update coming along? I hope your not pulling you hair out. lol

By the way there is a new option with 2.4.1 Dev build...

"Added advance command for skipping disassemble of non-root dex packages."

Thought I would let you know.
[Android Software/Hacking General [Developers Only]] evildog1:
I was busy but I will get back to work soon. I realized I forgot to add remaining strings to a language xml file.

And thanks for info :)
[Android Software/Hacking General [Developers Only]] Cerberus007:
Seem the dev for the apktool is working lots of bugs out the last two days. Here is the newest dev build 2.4.1-17ad91-Dev 11.15.2019.

"fix bug of Unrecognized option: --only-main-classes"

https://www.mirrored.to/files/181UY9YK/apktool-2.4.1-17ad91-Dev_11-15-2019.jar_links
[Android Software/Hacking General [Developers Only]] Cerberus007:
apktool-2.4.1-b05f19-11.20.2019.jar:

Complete Dev Change Log:

Updated baksmali/smali to version 2.3.4

Upgrade to gradle 5.6.2

Added support for Android Q Beta 4. (Issue 2131)

Fixed build issue with JDK9+ because of jmod change. (Issue 2086)

Fixed security issue with unpacking assets to unintended locations via directory traversal. (Issue 2058)

Fixed issue with api-level command not showing in advanced documentation. (Issue 2027)

Fixed issue with directory creation warning when framework directory not made. (Issue 2048)

Fixed issue with missing mapping for Q shorthand property. (Issue 2045)

Fixed issue with raw qmg files not decoding correctly. (Issue 2046)

Fixed issue with copying assets where output directory doesn’t match initial structure. (Issue 2046)

Fixed issue with NPE with empty attribute content during deserialization. (Issue 2063)

Fixed removal of META-INF/services. (Issue 2084, Issue 2018) Thanks adibfara

Fixed support for “attr” bag type. (Issue 2117) Thanks visigoth

Fixed wiping license headers of AOSP/Android4Me files. (Issue 2093)

Added enhanced wrapper file for Windows. (Issue 2120) Thanks Varstahl

Added advance command for skipping disassemble of non-root dex packages. (Issue 2051)

Fixed issue with MIUI package names being renamed. (Issue 2028) Thanks IgorEisberg

Work-around with issue with large 9patch path spamming in uncompressed file list. (Issue 1272) Thanks IgorEisberg

Fixed issue with NPE on annotations (Issue 2071)

Fixed issue with garbled attributes (Issue 1576) Thanks brianairb

Fixed regression with --only-main-classes (Issue 2226) Thanks realityJie

Fixed 32bit binary issue with Window aapt/aapt2 builds. (Issue 2141) Thanks Furniel

Fixed issue with JVM not knowing bitness on Windows in some situations. (Issue 2105)

Fixed issue with long path commands due to recording compression. (Issue 1272) Thanks peret

Download:

https://www.mirrored.to/files/0P9LAJO9/apktool-2.4.1-b05f19-11.20.2019.jar_links
[Android Software/Hacking General [Developers Only]] evildog1:
Sorry for big delay. today I released update v1.56 and it should be really stable this time.

Switched back to apktool 2.3.4 for stability

A long awaited feature Language is supported. You can now get started translating xml file and see the changes immediately when you switch language and/or open/restart APK Easy Tool. Notepad++ is highly recommended to use

I will consider to release open beta version so you can test earlier without having to wait for fixes and changes for long time again

APK Easy Tool v1.56 Changelog (2019-11-21)

===[ New Features ]===

- Flash taskbar icon (Can be disabled in options)

- High DPI support

- Count instances in form title if 2 or more instance are open "APK Easy Tool - Instance (number)"

- Sign selected APK if the APK is not compiled yet (does not overwrite)

- The long awaited feature, XML based multi-language support

===[ Enhancements ]===

- Force TLS 1.2 connection due to Win10 issue that always use TLS 1.0 by default

- Loading APK infomation no longer lags

- Delay loading icon by 0.2 seconds to avoid no icon error

- "legacytemplog(time)" changed to "RecentLog-Instance(number)" so it makes more sense for multiple instances

- Updated aapt, zipalign and apksigner executeable to 29.0.2 from Android SDK (Google)

- Updated adb executeable to 1.0.41 from Android SDK (Google)

- Updated smali.jar/baksmali.jar (JesusFreke) to 2.3.4

- Downgraded apktool.jar to 2.3.4 for stability

- Updated SharpShell to 2.7.2.0 https://github.com/dwmkerr/sharpshell

- srm.exe renamed to ServerRegistrationManager.exe so it makes sense and doesn't look suspecious

- Code optimizations to fix false positive issues. Finally 0/68 detection on Virustotal. Keep in mind any anti-virus may falsely detect as malcious anytime

apkeasytool.exe: https://www.virustotal.com/gui/file...abb1dea3971eaf1f479a7acd0310647c9e8/detection

apkeasytool-x64.exe: https://www.virustotal.com/gui/file...e12a4d2b6ecb956329399c0ccdab463735a/detection

===[ Fixed issues ]===

- Log file were not found if clearing framework

- Freezes when dropping APK with very long filename

- Couldn't decompile dex using Rigt-click (AETShellExt.dll)

- Couldn't launch activity path with explorer.exe

- Stuck if using CMD mode - Arguments (Still unable to fully get the log)

===[ Removed features ]===

- FAQ tab. We use text file for that instead

- Auto size notice box (Unnecessary)

- Remove "Disable reading APK info (Improve performance)" as the lag was fixed
[Android Software/Hacking General [Developers Only]] Cerberus007:
Works great. You did a great job. Thanks for the time and hard work put into this tool. :)
[Android Software/Hacking General [Developers Only]] evildog1:
Regarding Language translation, there are some missing string and some are mixed. 2 translators Hungary and Chinese have reported me recently.

I will release beta version maybe next week with updated english xml file and include both languages as well for testing.

Be prepared to install Notepad++ compare plugin or CodeCompare so you can easly see xml changes
[Android Software/Hacking General [Developers Only]] Cerberus007:
Definitely going to need this option added when 2.4.1 becomes final ( --only-main-classes). I had to manually use (from cmd prompt) the dev build of apktool in order to decompile and compile an apk.
[Android Software/Hacking General [Developers Only]] evildog1:
Beta version released!

They are uploaded in the same download links

APK Easy Tool v1.57 Beta-1 Changelog (2019-11-29)

===[ New features ]===

- Added --only-main-classes (Only disassemble the main dex classes (classes[0-9]*.dex) in the root.) (apktool 2.4.1)

===[ Enhancements ]===

- Updated Apktool to apktool-2.4.1-b05f19-11.20.2019.jar (Thanks to Cerberus007 https://xdaforums.com/showpost.php?p=80946537&postcount=606)

- Add Hungarian and Simplified Chinese language XML

- Refine UI a bit so it fits for multi languages

- Removed timeout for loading icon. It will take quite longer to load icon but more accurate

- Language: Removed DOWN2_NOTE_LBL because the bitbucket server with TLS 1.2 enforced is already secure

- Update check for beta version is separate

===[ Removed features ]===

- Compression-level and java-heap labels removed because it's unnecessary. They don't change it often. The options are not removed
[Android Software/Hacking General [Developers Only]] Cerberus007:
Apktool v2.4.1 is now public release. :)
[Android Software/Hacking General [Developers Only]] Tyakrish:
Many thanks to evildog for this tool. It has helped me mod some apks over the past many months ... :)

I am not much experienced, but it has definitely helped me get started with reverse engineering apks...

Only issues I have faced till now are apk obfuscation. Wanted to reverse a Google Camera apk and try if I can learn how to make mods...

I wonder how the Gcam modders are able to deal with obfuscation :confused:
[Android Software/Hacking General [Developers Only]] Cerberus007:
Try Jadx.
[Android Software/Hacking General [Developers Only]] techker:
Hey guys it was working fine but all the sudden I get

brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1):

was working last week...odd??
[Android Software/Hacking General [Developers Only]] Hamidreza2010:
I installed APK Easy Tool and enable windows explorer integration.now i unistalled it (for some reason and i will install it later again ) but the windows explorer integration didnt deleted.please fix this issue in next version.

thanks
[Android Software/Hacking General [Developers Only]] evildog1:
I'm not familar with obfuscation sadly. I think you should ask modders how it can be modded

I need full logs for that. The error message is clearly telling you to check the log

Open APK Easy Tool. Go to Options -> General.

Uncheck or check/uncheck Enable Windows Explorer Intergration. It will ask you for admin rights

Windows 8/10: Open Task Manager and restart all explorer.exe processes

Windows 7: Open Task Manager, end task all explorer.exe processes and run new task explorer.exe

Integration will disappear and you can delete AETShellExt.dll
[Android Software/Hacking General [Developers Only]] evildog1:
Thanks for letting me know :)
[Android Software/Hacking General [Developers Only]] Atmans:
Thank for update, but I still have problem with applications on android tv

I don't do anything special, I just wanted to add an additional language
[Android Software/Hacking General [Developers Only]] Cerberus007:
So you are adding a new language, not replacing thus causing it to fail? Have you tried to compile without editing anything? If it compiles without editing anything then its a modding issue and nothing to do with this tool. FYI, its easier to replace a language then to add because id's have not been included or any other references. If it fails without editing anything better to let the dev of the apktool know since this tool is only a gui for other tools which are included. Hope this helps narrow it down.

Adding another language which isn't included (not replacing) is a special method and requires some knowledge of android development.
[Android Software/Hacking General [Developers Only]] Atmans:
Thanks for the answer

without any editing, the same error appears

the application is

https://play.google.com/store/apps/details?id=ar.tvplayer.tv&hl=en
[Android Software/Hacking General [Developers Only]] Cerberus007:
I modded this app before (1.8.0). Let me look at the new version to see if anything changed...

Its renaming png files on decompile.

Example:

Cant find 9patch chunk in file: "drawable-mdpi-v4/lb_in_app_search_shadow_focused.9.png". Renaming it to *.png.

Hint: AndResGuard

But since I am nice, here is the complete res folder and androidmanifest.xml...notice the difference. Your going to have fun if no knowledge of modding obfuscation files.

https://www.upload.ee/files/10799704/resources.7z.html
[Android Software/Hacking General [Developers Only]] Atmans:
thank you, I'll check it out this weekend
[Android Software/Hacking General [Developers Only]] piggipiggi:
Hi there, I've never tried to modify apks, so I ask if with this tool I can change te color of my Samsung stock keyboard from the boring grey to a better dark tone. It's just (I think) a change of color code. Just need that.

Is that possible with apk easy tool? If yes, I'll study to reach my goal.

Thanks to all
[Android Software/Hacking General [Developers Only]] Quoeiza:
Hi chaps. I'm trying to perform a simple asset swap for a game, and I've used different software on my android phone no problem. But to swap large numbers of files and for ease, doing it on pc made sense. This software seemed the simplest solution but the APK I'm trying to decompile doesn't seem to be decompiling properly.

It says "Decompile Successfull" but the folder is empty. I've tried numerous decompile settings, but nothing works. I'd consider this a sign of an obfuscated apk, but since I've already done the changes on a different app, surely it can't be.

Any suggestions?
[Android Software/Hacking General [Developers Only]] Cerberus007:
Think we are getting off topic of the thread and the devs intensions. End users must understand some android development in order to decompile or compile apks. Its not the devs intension to educate ppl on how to reverse engineer but to create a gui for included tools that are basically used from command prompt. Yes other tools can get passed some obfuscated files because they are not targeted yet. For example, AndResGuard specifically targets the apktool since it is the most common tool for decompiling and compiling edited apk files. The main reason AndResGuard was created was to reduce thieves from re-branding and claiming the app as their own.
[Android Software/Hacking General [Developers Only]] Hen Ry:
[MENTION=4623971]evildog1[/MENTION]

Another question, is there a way to edit resources.arsc?

Edit string arrays and plurals.xml without decompiling.

BARS v3.5.1.4a could add languages to resources.arsc

So open/unpack arsc, edit xml's and pack again.

View attachment 4896811 View attachment 4896813 View attachment 4896815
[Android Software/Hacking General [Developers Only]] evildog1:
Not what I know of but there is a open source project for editing .arsc https://github.com/cmeiyuan/ArscEditor
[Android Software/Hacking General [Developers Only]] samfani777:
Ciao,

Since a few days ago I've been facing the next issue:

1. Decompile APK file and just compile again using default settings.

2. Compilation completes successfully (signing successful as well).

3. Try to install the APK to phone, but not successfully (it looks like something wrong with sign).

A week ago the same procedure for the same APK was fine (I tried versions 1.55 and 1.56, the same issue on all phones I tried).

Any idea?
[Android Software/Hacking General [Developers Only]] Hen Ry:
Thanks, how does it work, have you used it before?
[Android Software/Hacking General [Developers Only]] Cerberus007:
It's an apk… ;)

Why not use aapt to dump? ApkTool has issues with protected resource files. Worth a shot anyways.

Here is a handy article you might find interesting...

https://ekasiswanto.wordpress.com/2012/09/19/descriptions-of-androids-resources-arsc/