Giter Site home page Giter Site logo

andnixsh / apktoolgui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from inf1num/apktoolgui

509.0 18.0 73.0 168.73 MB

GUI for apktool, signapk, zipalign and baksmali utilities.

License: The Unlicense

C# 100.00%
apktool gui windows apk-tool-gui gui-apk-tool apk modding

apktoolgui's Introduction

APK Tool GUI

GUI for apktool, signapk, zipalign and baksmali utilities.

It is a tool for reverse engineering 3rd party, closed, binary Android apps. It can decode resources to nearly original form and rebuild them after making some modifications; it makes possible to debug smali code step by step. Also it makes working with app easier because of project-like files structure and automation of some repetitive tasks like building apk, etc.

Download links

https://github.com/AndnixSH/APKToolGUI/releases

Any such report from your antivirus is a false positive and is due to how the application works. You must manually add APKToolGUI.exe to your antivirus's whitelist/exclusion list.

If you don't believe this then try to compile the app by yourself or simply don't use it until you can confirm it is safe by working directly with your antiirus provider.

Requirements

  • Windows 7 32-bit/64-bit and above
  • Java or JDK 8 or above. Using latest JDK is not really necessary, it tends to cause unexpected issues. Java 8 and 17 (long-term support release) is enough. Use 64-bit version if your system is 64-bit
  • .NET Framework 4.8 (Windows 8 and above already have it preinstalled)

Features

  • Decompile & compile APK using Apktool
  • Decompile APK/XAPK/APKS/ZIP/APKM & compile APK using APKEditor.jar. Automatically detect if APK was decompiled using Apktool or APKEditor
  • Merge XAPK/APKS/ZIP/APKM using APKEditor.jar
  • Sign APK
  • Zipalign APK
  • ADB
  • Framework
  • Drag and drop
  • APK info
  • Log output
  • All other features from Apktool.
  • Fix some Apktool errors, such as removing DUMMY_APKTOOL, clear framework before decompiling
  • Multi language
  • Right-click context menu
  • Create unsigned APK for Core Patch
  • High DPI support
  • Long path support (Windows 10 and above)

Languages

  • English
  • Brazilian Portuguese (Incomplete)
  • Hungary (Incomplete)
  • Russian (Incomplete)
  • Chinese Simplified (Incomplete)
  • German

Translation

If you like to help translate with your native language, I recommend using Visual Studio 2022. You don't need any programming knowledge, you just edit the GUI and the .resx files

Create new .resx file under Languages folder, and Forms/FormXXX.cs/. To create a new .resx under Forms/FormXXX.cs/, open the form and select the form to show the properties. In the properties, scroll down until you see Language, and select any language you would like to translate.

Video tutorial
add-language-VS2022.mp4

If you can't use Visual Studio, you can use translator tools like resxtranslator or RESX Translator automat, but make sure the .resx file is added to APKToolGUI.csproj, otherwise Visual Studio would not be able to detect it

3rd party tools can't be translated.

Make pull request when you are done

Issues

Issues with Apktool? Please do cursory search of the issue tracker of Apktool and Baksmali, see if your question may be answered

For Framework/system apps related issues, check on XDA Forum

Some apps may been protected or obfuscated for content protection purposes or against cheaters. Bypassing of such is beyond the scope of this tool, so please DO NOT post an issue regarding to it. This tool does not support bypassing such protections, and never will be!

Anything else, create a new issue

FAQ

Q: Can it be ported to other OS like Linux?

A: Notthing is impossible, but it's not easy as long as Microsoft not supporting WinForm for other platforms, making .NET Core useless, unlike Java FX that supports other platforms since decades. If you know, feel free to open an issue. Until then, use WineHQ or similar to run exe

Q: How to update Apktool?

A: Download Apktool.jar and replace it on Resources folder

Q: How to update Baksmali/Smali?

A: Download Baksmali.jar/Smali.jar and replace it on Resources folder

Q: How to reset?

A: Simply delete the config.xml file from the directory of the executeable

Q: Can you make an automatic APK injecting tool?

A: No, I'm not interested.

Q: Can you implement to convert APK to AAB?

A: No, apktool is about recompiling, not converting to other formats. AAB is only used for distributing an application to Play Store, so it is not directly installable. If you really want to convert APK to ABB, try APK2AAB tool https://github.com/sensei-z/APK2AAB

Q: I don't like split APK. Where can I get single APK instead?

A: Download from Apkcombo's APK downloader, or Apkpure (Choose APK instead XAPK)

Q: Can you help me with modding APK in general?

A: Sorry, I don't offer support with it.

Q: Can you implement features to protect/pack/obfuscate APK?

A: No, APK protection is beyond the scope of this tool

Q: Can you implement features to deobfuscate/unpack APK or bypass anti-cheat/security?

A: No, they are also beyond the scope of this tool. I don't condone bypassing such protections

Development

This project is written in C#

Use Visual Studio 2019 and above. NET Framework 4.8 SDK is required

Credits

Disclaimer

Same as Apktool by iBotPeaches, It is NOT intended for piracy and other non-legal uses. It could be used for localizing, adding some features or support for custom platforms and other GOOD purposes. Just try to be fair with authors of an app, that you use and probably like.

License

The original repo does not have a license but I have permission from the author to use ane distribute this project as "open source"... I don't know what license to use so I'll just add license as unlicensed

apktoolgui's People

Contributors

andnixsh avatar gidano avatar henry2o1o avatar igorruckert avatar nibred avatar tuzichan avatar wcxu21 avatar yorkwaugh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

apktoolgui's Issues

Apkeditor add its additional option variables.

Prerequisites

  • This is not a support issue or a question. For support, questions, or help, see support links.
  • I performed a cursory search of the issue tracker on APK Tool GUI to avoid opening a duplicate issue
  • I have read the FAQ

Describe the feature you'd like

Add all apkeditor options instead of just build which is the only option in your gui. Sometimes apktool doesn't work and apkeditor has for me but need to enter options via cmd prompt manually. I hope you take advantage of all its additional options. Would make your tool very popular and useful. Think about it. Thanks for your time.

Simplified Chinese missing in GUI

Prerequisites

  • This is not a support issue or a question. For support, questions, or help, see support links.
  • I performed a cursory search of the issue tracker on APK Tool GUI to avoid opening a duplicate issue
  • I performed a cursory search of the issue tracker on [Apktool] (https://github.com/iBotPeaches/Apktool/issues?q=is%3Aissue) and Baksmali but did not found an answer
  • I am running the latest version of APK Tool GUI and Apktool.jar.
  • I have tried to decompile and compile without changing anything.
  • I have read the FAQ
  • I have checked using APKiD and verified that the app does not have protection(s) like packer, obfuscation, anti-tamper, anti-cheats etc

Describe the bug

Hi, thanks for updating multilingual support.
I found a language switching problem when I downloaded the latest version of the program, it cannot switch to other languages. I am using Windows 10 22H2 (19045.2728) version.
I hope you can check the problem of software multilingual switching, it doesn't work properly.

To Reproduce

File - Settings - Language, the Chinese interface cannot be displayed after restarting after selecting Simplified Chinese.
Other national languages cannot be displayed normally, and it only displays English by default.

Logs

[10:53:30] java version "16.0.2" 2021-07-20
Java(TM) SE Runtime Environment (build 16.0.2+7-67)
Java HotSpot(TM) 64-Bit Server VM (build 16.0.2+7-67, mixed mode, sharing)
[10:53:30] Apktool 版本 "2.7.0"
[10:53:30] 支持拖放
[10:53:30] Temp directory: "C:\Users\XU\AppData\Local\APKToolGUI\VWuxd"
[10:53:30] Getting devices...
[10:53:31] No devices found. Make sure your device is connected to the computer with the adb debugging turned on. If you use an emulator, restart it and wait until it boot up

APK

No response

APK Tool GUI version

3.2.2.0

Apktool version

2.7.0

Java version

16.0.2

Operating System and version

Windows 10 22H2 (19045.2728)

Right Click for apk info view

Prerequisites

  • This is not a support issue or a question. For support, questions, or help, see support links.
  • I performed a cursory search of the issue tracker on APK Tool GUI to avoid opening a duplicate issue
  • I have read the FAQ

Describe the feature you'd like

Hi can you add apk info to right click?without first opening app then darg and drop apk to apkinfo. we can share directly apk to apk info viewer with right click. thank you so much for awsome app.

Apk Shell icon Viewer in Windows Explorer

Prerequisites

  • This is not a support issue or a question. For support, questions, or help, see support links.
  • I performed a cursory search of the issue tracker on APK Tool GUI to avoid opening a duplicate issue
  • I have read the FAQ

Describe the feature you'd like

I first thank you for adding APK information in the right -click menu.

I have a new idea for your great app.

Can you add the APK icon Viewer to Windows Explorer? When you add, we don't need another icon veiwer such as: APKSHELLEXT2 or Localapk
thank you so much

Add an option to use APKEditor to decompile and recompile APK

Prerequisites

  • This is not a support issue or a question. For support, questions, or help, see support links.
  • I performed a cursory search of the issue tracker on APK Tool GUI to avoid opening a duplicate issue
  • I have read the FAQ

Describe the feature you'd like

De-compilation with Apktool may cause problem for some APKs, for example, iBotPeaches/Apktool#3339, iBotPeaches/Apktool#3129, etc. APKEditor is independent of aapt2, and sometimes works when Apktool does not. So it will be great if you can add an option to choose either Apktool or APKEditor to decompile and recompile APK.

Question about Auto-Il2cppDumper

Prerequisites

  • This is not a support issue or a question. For support, questions, or help, see support links.
  • I performed a cursory search of the issue tracker on APK Tool GUI to avoid opening a duplicate issue
  • I performed a cursory search of the issue tracker on [Apktool] (https://github.com/iBotPeaches/Apktool/issues?q=is%3Aissue) and Baksmali but did not found an answer
  • I am running the latest version of APK Tool GUI and Apktool.jar.
  • I have tried to decompile and compile without changing anything.
  • I have read the FAQ
  • I have checked using APKiD and verified that the app does not have protection(s) like packer, obfuscation, anti-tamper, anti-cheats etc

Describe the bug

Hello,
I have question about your Auto-Il2cppDumper, sorry to open unrelated issue here on this repo. 1) Issue section closed 2) I couldn't find any of your contact details to reach you.

I want to dump encrypted global-metadata.dat from memory, I tried different methods but all of them are dumping encrypted one. The app loads encrypted global-metadata.dat on memory to trick dumper tools. But your lib decodes dump.cs file correctly that means it reads global-metadata.dat from somewhere. Is it possible to dump this file using your lib ?

To Reproduce

NA

Logs

NA

APK

NA

APK Tool GUI version

NA

Apktool version

NA

Java version

NA

Operating system and version

NA

Make window resizable

Prerequisites

  • This is not a support issue or a question. For support, questions, or help, see support links.
  • I performed a cursory search of the issue tracker on APK Tool GUI to avoid opening a duplicate issue
  • I have read the FAQ

Describe the feature you'd like

Make window resizable

Potential False Positive in Virus Total

Prerequisites

  • This is not a support issue or a question. For support, questions, or help, see support links.
  • I performed a cursory search of the issue tracker on APK Tool GUI to avoid opening a duplicate issue
  • I performed a cursory search of the issue tracker on [Apktool] (https://github.com/iBotPeaches/Apktool/issues?q=is%3Aissue) and Baksmali but did not found an answer
  • I am running the latest version of APK Tool GUI and Apktool.jar.
  • I have tried to decompile and compile without changing anything.
  • I have read the FAQ
  • I have checked using APKiD and verified that the app does not have protection(s) like packer, obfuscation, anti-tamper, anti-cheats etc

Describe the bug

Hello, before running your tool this morning I decided to upload to Virus Total just to be safe and it looks like maybe a false positive since it only popped on one vendor, and can imagine this is due to the nature of the tool itself and not that there's anything malicious.

Virus Total Results

To Reproduce

Upload either zip or main exe to VirusTotal.com

Logs

None

APK

No response

APK Tool GUI version

3.3.1.2

Apktool version

3.3.1.2

Java version

21

Operating system and version

Windows 11 2h22

目标版本显示不对,我实际用的是targetVersion 33,ToolGui显示的是31

Prerequisites

  • This is not a support issue or a question. For support, questions, or help, see support links.
  • I performed a cursory search of the issue tracker on APK Tool GUI to avoid opening a duplicate issue
  • I performed a cursory search of the issue tracker on [Apktool] (https://github.com/iBotPeaches/Apktool/issues?q=is%3Aissue) and Baksmali but did not found an answer
  • I am running the latest version of APK Tool GUI and Apktool.jar.
  • I have tried to decompile and compile without changing anything.
  • I have read the FAQ
  • I have checked using APKiD and verified that the app does not have protection(s) like packer, obfuscation, anti-tamper, anti-cheats etc

Describe the bug

image
目标版本显示不对,我实际用的是targetVersion 33,ToolGui显示的是31

To Reproduce

[09:54:03] =====[ 构建 ]=====
[09:54:03] 输入文件:F:\Downloads\Misc\base
[09:54:03] Using Apktool 2.9.3
[09:54:03] brut.directory.PathNotExist: apktool.yml
[09:54:03] =====[ 错误 ]=====
[09:54:03] 编译失败
[09:54:03] Time started: 09:54:03
[09:54:03] Time elapsed: 00:00

Logs

[09:54:03] =====[ 构建 ]=====
[09:54:03] 输入文件:F:\Downloads\Misc\base
[09:54:03] Using Apktool 2.9.3
[09:54:03] brut.directory.PathNotExist: apktool.yml
[09:54:03] =====[ 错误 ]=====
[09:54:03] 编译失败
[09:54:03] Time started: 09:54:03
[09:54:03] Time elapsed: 00:00

APK

No response

APK Tool GUI version

v3.3.1.1

Apktool version

2.9.3

Java version

1.8

Operating system and version

2h22

detailed commands in background

Prerequisites

  • This is not a support issue or a question. For support, questions, or help, see support links.
  • I performed a cursory search of the issue tracker on APK Tool GUI to avoid opening a duplicate issue
  • I have read the FAQ

Describe the feature you'd like

Hi,

in the past I used apktool, zipalign and jarsigner for Linux.
Then I tested your tool, it is easier to use, although the zip and sign happens automatically after recompiling.

Would it be possible to show in the logfile which commands and which flags will be executed during APGToolGUI will be used?

Thanks.

Decompile Error - Invalid CEN header

Prerequisites

  • This is not a support issue or a question. For support, questions, or help, see support links.
  • I performed a cursory search of the issue tracker on APK Tool GUI to avoid opening a duplicate issue
  • I performed a cursory search of the issue tracker on [Apktool] (https://github.com/iBotPeaches/Apktool/issues?q=is%3Aissue) and Baksmali but did not found an answer
  • I am running the latest version of APK Tool GUI and Apktool.jar.
  • I have tried to decompile and compile without changing anything.
  • I have read the FAQ
  • I have checked using APKiD and verified that the app does not have protection(s) like packer, obfuscation, anti-tamper, anti-cheats etc

Describe the bug

[16:47:09] Framework cache cleared
[16:47:09] Using Apktool 2.8.1 on Truecaller mod.apk
[16:47:09] Exception in thread "main" brut.androlib.exceptions.AndrolibException: brut.directory.DirectoryException: java.util.zip.ZipException: Invalid CEN header (invalid zip64 extra data field size)
[16:47:09] at brut.androlib.res.ResourcesDecoder.hasManifest(ResourcesDecoder.java:70)
[16:47:09] at brut.androlib.res.ResourcesDecoder.decodeManifest(ResourcesDecoder.java:102)
[16:47:09] at brut.androlib.ApkDecoder.decode(ApkDecoder.java:95)
[16:47:09] at brut.apktool.Main.cmdDecode(Main.java:190)
[16:47:09] at brut.apktool.Main.main(Main.java:93)
[16:47:09] Caused by: brut.directory.DirectoryException: java.util.zip.ZipException: Invalid CEN header (invalid zip64 extra data field size)
[16:47:09] at brut.directory.ZipRODirectory.(ZipRODirectory.java:55)
[16:47:09] at brut.directory.ZipRODirectory.(ZipRODirectory.java:38)
[16:47:09] at brut.directory.ExtFile.getDirectory(ExtFile.java:49)
[16:47:09] =====[ Error ]=====
[16:47:09] Decompiling failed
[16:47:09] Time started: 16:47:09
[16:47:09] Time elapsed: 00:00

To Reproduce

reinstalled java and requirements but still same

Logs

[16:47:09] Framework cache cleared
[16:47:09] Using Apktool 2.8.1 on Truecaller mod.apk
[16:47:09] Exception in thread "main" brut.androlib.exceptions.AndrolibException: brut.directory.DirectoryException: java.util.zip.ZipException: Invalid CEN header (invalid zip64 extra data field size)
[16:47:09] at brut.androlib.res.ResourcesDecoder.hasManifest(ResourcesDecoder.java:70)
[16:47:09] at brut.androlib.res.ResourcesDecoder.decodeManifest(ResourcesDecoder.java:102)
[16:47:09] at brut.androlib.ApkDecoder.decode(ApkDecoder.java:95)
[16:47:09] at brut.apktool.Main.cmdDecode(Main.java:190)
[16:47:09] at brut.apktool.Main.main(Main.java:93)
[16:47:09] Caused by: brut.directory.DirectoryException: java.util.zip.ZipException: Invalid CEN header (invalid zip64 extra data field size)
[16:47:09] at brut.directory.ZipRODirectory.(ZipRODirectory.java:55)
[16:47:09] at brut.directory.ZipRODirectory.(ZipRODirectory.java:38)
[16:47:09] at brut.directory.ExtFile.getDirectory(ExtFile.java:49)
[16:47:09] =====[ Error ]=====
[16:47:09] Decompiling failed
[16:47:09] Time started: 16:47:09
[16:47:09] Time elapsed: 00:00

APK

No response

APK Tool GUI version

3.2.2

Apktool version

2.8.1

Java version

20.0.2

Operating System and version

Win11 22H2

Dark theme

Prerequisites

  • This is not a support issue or a question. For support, questions, or help, see support links.
  • I performed a cursory search of the issue tracker on APK Tool GUI to avoid opening a duplicate issue
  • This is not about an issue with APK Tool GUI

Describe the feature you'd like

Looking a way to implement dark theme natively, similar to Notepad++. I don't want to use 3rd party libs because it requires replacing all controls manually

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.