yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] LilBrown123:
I understand mate, I have already tried both versions, and that log was while using the 2.3.1, but I have already tried the 2.3.3 version which worked earlier but now it doesn't at all for both versions
[Android Software/Hacking General [Developers Only]] Bat-Maniac:
Then this apk you have edited doesn't allow modifications.

You can check this by searching inside the decompiled files. If there is somewhere a text-file called "xxx_license"and when opening this file and under "You are not allowed to:" there a line like this: "ReMix / Edit - You are not allowed to modify / Edit the Files" then APK Easy Tool cannot recompile.

Please try an apk you were able to compile before to make sure that it is not a fault of the tool.
[Android Software/Hacking General [Developers Only]] LilBrown123:
As I have already mentioned earlier, I was able to edit and recompile the same exact apk a week ago, now I can't at all for some reason

I appreciate all the info you guys have provided! :)

I'll just hire someone to make the edits and recompile everything for me.

Thank you! :)
[Android Software/Hacking General [Developers Only]] Ciuma777:
Please HELP!

MIUI Andorid 7.1.2

Requirements:

Windows 7 - yes

NET Framework 4.6 - installed

Java Version 8 (171) - installed

Decompile - Succes

Compile - I click on Compile the download line thinks for a long time, not compiler
[Android Software/Hacking General [Developers Only]] evildog1:
This is a known issue, the problem is the buffer size is limited as far as I know and I can't take control over it. It took me 4 months to find workarounds. You can fix it on upcoming version by changing CMD modes or Log level

1.51 will be released in 1~3 days hopefully.

Here are details about it

CMD MODES:

- Normal: Execute CMD normally using .NET Process

- Legacy: Execute CMD using WriteLine. It works excatly as AET v1.39 and below.

- Batch scripting: Generate .bat file and execute it

Legacy and batch scripting works only for decompiling and compiling. Only change modes if the tool gets stuck.

LOG LEVEL (NORMAL MODE ONLY):

Verbose: Default logging

Warn & Error: Only log warning and errors. Reduces buffer size to avoid tool getting stuck during decompilation/compilation
[Android Software/Hacking General [Developers Only]] evildog1:
APK Easy Tool 1.51 Released. This version should be more stable now :)

Changelog:

===[ New Features ]===

- Option to clear framework cache

- A blue down arrow button to visit apktool website to download

- CMD modes: Normal, Legacy and Batch scripting. Useful to temporary fix tool getting stuck. Legacy mode is now default. This feature is still under testing

Normal: Execute CMD normally using .NET Process

Legacy: Execute CMD using WriteLine. It works excatly as AET v1.39 and below.

Batch scripting: Generate .bat file and execute it

- Log Level: Verbose (default) and Warn & Error. Useful to temporary fix tool getting stuck. This feature is still under testing

Verbose: Default logging

Warn & Error: Only log warning and errors. Reduces buffer size to avoid tool getting stuck during decompilation/compilation

- New update dialog with changelog. It will popup instead showing update notice below

- Dropdown history of APK path and APK names

- Options to disable history and clear history

- Sided Log output window. The button will only appear for screen resolution that have higher width than 1250.

===[ Fixed Issues ]===

- Image duplicating if using high DPI 125%

- Zipaligned APK is placed within the decompiled directory

- Wrong command usage of signapk.jar

- apktool.jar were not auto selected when using it first time or after reset

- Signing ZIP file does nothing or executes wrong command

- Wrong path when compiling selected decompiled APK

- File extension recognized incorrectly which caused missing characters after dot if the file/folder name contains dot symbol

===[ Enhancements ]===

- Anti-virus false positives fixed (Gen:Variant.Ursu). If such happens again, please contact.

- APK Easy Tool will warn if anti-virus have blocked it from file changes.

- A bit smaller window size

- Owner email changed. The previous email is no longer active

- Some text changes

- Some UI changes

- Automatically delete existing directory before baksmaling

- Updated 7-Zip binary to 18.05 (Author of 7-Zip: Igor Pavlov https://www.7-zip.org)

- Updated Baksmali/smali to 2.2.4 (Author of Baksmali/smali: JesusFreke https://github.com/JesusFreke/smali)

===[ Removed features ]===

- Embedded browser in News section has been removed due to false positives, issues with Wine-HQ and critical security issue with Internet Explorer on outdated systems.
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=4623971]evildog1[/MENTION]

Thanks for the new version.

Propsoal for thraed changes

- Change the name of thread to "[TOOL] APK Easy Tool for Windows (GUI apktool)" (no reference to version). It means that thread title is always ok.

- Update the image ion first post removing from image info about version (image always ok for each version).

Please take care that downloading file (msi/zip) from mediafire, it open a advertising banner that say the pc is infected and to close it I had to sued task manager.

Then please DON'T use mediafire mirror

To change the thread name ask to [MENTION=335322]MikeChannon[/MENTION]

Thanks.
[Android Software/Hacking General [Developers Only]] evildog1:
I didn't know that there was adware since I used adblocker all the time. Mediafire link removed

I don't understand why i should the title. There is no rules about it but ended up editing it and added date instead. Also you are not a staff member :P
[Android Software/Hacking General [Developers Only]] Zackptg5:
Fantastic work as always! Just a tip for other users you may want to add to your OP:

For any windows 10 users where the app appears blurry, go into properties for the apk -> compatibility -> change high dpi settings -> check the program dpi box (not the high dpi scaling override)
[Android Software/Hacking General [Developers Only]] evildog1:
Thanks for the tip. I'm using Win10 too but never used high DPI. I'll take a look at DPI things
[Android Software/Hacking General [Developers Only]] diehard2013:
good tool!

here's a false positive I believe.

https://www.virustotal.com/#/file/c...7ea7f926e12b9381c55720ba1c51d9c507b/detection
[Android Software/Hacking General [Developers Only]] diehard2013:
another false:

https://www.hybrid-analysis.com/sam...1c55720ba1c51d9c507b/5b325b527ca3e17481368c93
[Android Software/Hacking General [Developers Only]] tushar.gogna:
While Decompling, I am getting the following error:

java.lang.UnsupportedClassVersionError: brut/apktool/Main : Unsupported major.minor version 51.0

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClassCond(Unknown Source)

at java.lang.ClassLoader.defineClass(Unknown Source)

at java.security.SecureClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$000(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

Could not find the main class: brut.apktool.Main. Program will exit.

Exception in thread "main"

I have Java 1.7 installed and environment is set as well.

What can be the cause of this? I mean, I know that it is caused due to mismatch of versions but how can I resolve it in this case?
[Android Software/Hacking General [Developers Only]] Dennys_Santos:
Use apktool 2.3.1. It is mentioned in apktool and TMA threads that 2.3.3 has a bug.

APKTool thread: https://xdaforums.com/sho....php?t=1755243
[Android Software/Hacking General [Developers Only]] tushar.gogna:
Hey, thanks for the response. I did change to lower version but I am still getting the same output:

Decompiling APK file...

/c "java -Xmx1024m -jar "C:\Program Files (x86)\APK Easy Tool\Apktool\apktool_2.3.1.jar" d -o "C:\Users\kbs\Documents\APK Easy Tool\1-Decompiled APKs\Test" "C:\Users\kbs\Downloads\Test.apk""

java.lang.UnsupportedClassVersionError: brut/apktool/Main : Unsupported major.minor version 51.0

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClassCond(Unknown Source)

at java.lang.ClassLoader.defineClass(Unknown Source)

at java.security.SecureClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$000(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

Could not find the main class: brut.apktool.Main. Program will exit.

Exception in thread "main"

------------------------------------------
[Android Software/Hacking General [Developers Only]] evildog1:
I know and you should not trust the results, anti-virus are not giving up reporting my tool as malcious. I had done the hard work to reduce number of false positives
[Android Software/Hacking General [Developers Only]] techker:
I: Using Apktool 2.3.3

I: Smaling smali folder into classes.dex...

I: Building resources...

I: Copying libs... (/lib)

I: Building apk file...

I: Copying unknown files/dir...

I: Built apk...

W: fakeLogOpen(/dev/log_crash, O_WRONLY) failed

W: fakeLogOpen(/dev/log_crash, O_WRONLY) failed

W: fakeLogOpen(/dev/log_security, O_WRONLY) failed

W: fakeLogOpen(/dev/log_security, O_WRONLY) failed

------------------------------------------

2018-07-04 6:32:50 AM

Zipalign APK file...

-c 4 "E:\ANDROIDAPPS\APK_TOOL\2-Recompiled APKs\SuperSpades-v12.2.4-release.apk" "E:\ANDROIDAPPS\APK_TOOL\2-Recompiled APKs\SuperSpades-v12.2.4-release zipaligned.apk"

Zip alignment utility

Copyright (C) 2009 The Android Open Source Project

Usage: zipalign [-f] [-p] [-v] [-z] <align> infile.zip outfile.zip

zipalign -c [-p] [-v] <align> infile.zip

<align>: alignment in bytes, e.g. '4' provides 32-bit alignment

-c: check alignment only (does not modify file)

-f: overwrite existing outfile.zip

-p: memory page alignment for stored shared object files

-v: verbose output

-z: recompress using Zopfli

Even if i recompile without zipAlign i can't install the app...
[Android Software/Hacking General [Developers Only]] defaultzero1:
Is it possible to recompile apks with protection of some sort?
[Android Software/Hacking General [Developers Only]] evildog1:
Have you signed the APK?

Maybe, i don't know much about APK protection. You can search around the internet
[Android Software/Hacking General [Developers Only]] defaultzero1:
Yes I have done that, but with no success.
[Android Software/Hacking General [Developers Only]] Evil...:
Thanks for this great app, finally i can edit the "System UI" for center the clock without xposed.
[Android Software/Hacking General [Developers Only]] techker:
ya i signed it.i keep the original signature also.

but the zipalign des not work
[Android Software/Hacking General [Developers Only]] evildog1:
I have tested zipalign, it works fine. What app are you working on?
[Android Software/Hacking General [Developers Only]] Ibuprophen:
I'm not sure if this member was referring to the same thing we had previously discussed.

I can't remember which was the culprit but, there was a small issue with either the check box for Zipalign as part of the compile process or the separate button selection for performing this after it has been recompiled.

I may have to perform a quick search on this thread to locate this brief conversation...

~~~~~~~~~~~~~~~

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Software/Hacking General [Developers Only]] Ibuprophen:
The first thing I see is that your using Apktool v2.3.1 and not the latest version that's v2.3.3.

The download information is available on the OP of the following Official Apktool thread.

https://xdaforums.com/showthread.php?t=1755243

Also double check that your using the latest Apk Easy Tool v1.50 that can be seen on this threads OP.

Good Luck!

~~~~~~~~~~~~~~~

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Software/Hacking General [Developers Only]] chuppito:
hello thank you for the answer but as I said, I tested all versions of APK tool.

here is the log of the latest version thank you
[Android Software/Hacking General [Developers Only]] Klena:
Same problem here

Hey,

I have the same problem. Want to translate the latest MiHome App to german.

But decompoling and just compiling does not work (nothing changed):

16.07.2018 12:52:19
Compiling APK file...(CMD mode: Normal)

/c "java -Xmx1024m -jar "C:\Users\Klena\Desktop\APK Easy Tool\Apktool\apktool_2.3.3.jar" b -f -o "C:\Users\Klena\Documents\APK Easy Tool\2-Recompiled APKs\MiHome2.apk" "C:\Users\Klena\Documents\APK Easy Tool\1-Decompiled APKs\MiHome2" -p "C:\Users\Klena\Desktop\APK Easy Tool\framework""

brut.androlib.AndrolibException: brut.common.BrutException: could not exec: [C:\Users\Klena\AppData\Local\Temp\brut_util_Jar_1500691444321504138.tmp, p, --forced-package-id, 127, --min-sdk-version, 15, --target-sdk-version, 19, --version-code, 62781, --version-name, 5.3.19, --no-version-vectors, -F, C:\Users\Klena\AppData\Local\Temp\APKTOOL6599809136649284842.tmp, ........

I also changed the path of the framework-files but no change... Below the Log file:
[Android Software/Hacking General [Developers Only]] evildog1:
Try clear the framework cache in Framework tab, It sould solve the problem.

Many many peoples have same problem and I always had to tell them to clear the framework.

The next version will always tell you to try clear the framework if decompiling or compiling fails
[Android Software/Hacking General [Developers Only]] chuppito:
Hi, I solved the problem by modifying the abc_screen_toolbar.xml

The trouble now is once recompiled and signed, the crash app

<?xml version="1.0" encoding="utf-8"?> <android.support.v7.widget.ActionBarOverlayLayout android:id="@id/decor_content_parent" android:fitsSystemWindows="true" android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> <include layout="@layout/abc_screen_content_include" /> <android.support.v7.widget.ActionBarContextView android:theme="?actionBarTheme" android:id="@id/action_context_bar" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" style="?attr/actionModeStyle" /> </android.support.v7.widget.ActionBarOverlayLayout>
[Android Software/Hacking General [Developers Only]] Klena:
Same problem here

Did that and no change at all...

Don't have such a file :(
[Android Software/Hacking General [Developers Only]] chuppito:
It's in res/layout-v26
[Android Software/Hacking General [Developers Only]] Klena:
Don't have this folder (see attachment)
[Android Software/Hacking General [Developers Only]] Klena:
Here you have the problematic apk: https://drive.google.com/open?id=15PgSCNdeLfr4fmEnadEWE3YgR6K1ExWn

I just modified the res/values strings, arrays and plurals and in res/values-en the strings.xml

after that I wanted to compile but no chance (Cleared Framework Cache first).
[Android Software/Hacking General [Developers Only]] chuppito:
To find my solution, I modified file by file and recompiled to each modified file. I am also back on apktool 2.3.2 because the news does not really want to compile.

Have you search this file ?

I feel that your application is empty
[Android Software/Hacking General [Developers Only]] Klena:
Yeah I searched it and it's not there after decompiling.

Here you have the problematic apk: https://drive.google.com/open?id=15P...EWE3YgR6K1ExWn

Just tried apktool 2.3.2 but no change...
[Android Software/Hacking General [Developers Only]] evildog1:
That's weird, I got the same issue even with Legacy and batch mode but I don't know how to solve the problem

I was going to tell you to report to Apktool github page but already found similar issue (i guess it's yours) https://github.com/iBotPeaches/Apktool/issues/1840

Let's wait and see what the dev says
[Android Software/Hacking General [Developers Only]] evildog1:
I found the problem, you enabled the Check alignment that caused invalid cmd usage. I have removed the Check alignment checkbox and added the button to check alignment for next version
[Android Software/Hacking General [Developers Only]] Klena:
Jup that is mine... Really weird if you ask me...
[Android Software/Hacking General [Developers Only]] Joe Rambo:
Thanks

very good tool
[Android Software/Hacking General [Developers Only]] evildog1:
Today I have released APK Easy Tool 1.52 with some great features:

Windows Explorer integration. It can be enabled on Options:

Jumplist shortcuts

If you are using 1.51, it might not tell you that there is an update because I removed it by accident but I fixed it now :).

Changelog

===[ New Features ]===

- Jumplist to open work folders

- Link to Play Store (https://play.google.com)

- Icon can be loaded if opened with decompiled folder

- Indeterminate Taskbar ProgressBar

- Check alignment of APK file

- Shell Context Menu (Windows Explorer integration), must enable it on option. If enabled, you can right-click of APK file or Decompiled directory to perform action with APK Easy Tool (AETShellExt.dll). It uses following CMD arguments:

-d Decompile APK

-c Compile APK

-s Sign APK

-a Zipalign APK

-ca CheckAlign APK

-i Install APK

-e Extract APK

-z Zip APK

Usage: ./apkeasytool.exe <arg> "path with quotes"

You can open APK with APK Easy Tool if you change standard program or use CMD argument: ./apkeasytool.exe "APK file path with quotes"

APK Easy Tool menu only appear if androidmanifest.xml exist

- Option to disable completed message box

===[ Fixed issues ]===

- Didn't check if update is available (Was removed by accident)

- Didn't check if java is installed (Was removed by accident)

===[ Enhancements ]===

- Improvement of legacy CMD mode and now it works on everything

- Some UI changes

- Added "no icon" icon if icon fails to load

===[ Removed features ]===

- News tab
[Android Software/Hacking General [Developers Only]] evildog1:
IMPORTANT: Today, 9 Anti-virus engines just flagged my tool as malware again. I don't understand why!!! I'm very very disappointmented right now.

Changing the assembly name did not get rid if it and gives me more flags. Only way is to try create a new protect and copy some codes to it to see if it helps

Please white list my tool. Thank you
[Android Software/Hacking General [Developers Only]] Ibuprophen:
Your not the only one...

I'm giving a hand to some developers for a continuing software development on Github and it took a few of us to figure this out though the antivirus issue was nothing compared to another step that was taken and took us 3 a little over 3 weeks to figure that out.

Microsoft has been doing some big brother crackdowns even when the software was legit.

We just didn't run into 9 of them, it was only 2 that was both owned by Microsoft...

~~~~~~~~~~~~~~~

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Software/Hacking General [Developers Only]] evildog1:
Do you have any source or details about Microsoft crackdowns and is there a way to avoid this situation in the future?
[Android Software/Hacking General [Developers Only]] Ibuprophen:
In that case regarding this, it was actually specific to Windows 10 because my Windows 8.1 Pro PC didn't detect the software as a virus but, my Windows 10 Pro did.

That image you had provided for those positive virus totals doesn't seem to be specific to an OS but, only some of the software that looks to me as more of a general statement.

It is weird that the crackdown has been geared towards the Windows 10 but, it's true. The Windows 10 has also been reflecting a cracking down in a Google Android way.

What I mean is that the same way as that pesky "Google PSA" warnings for Android is also being similarly implemented for Windows 10 that will Popup a "Harmful Software" style alert and not a virus alert.

I remember when you had last dealt with the antivirus issue, this wasn't happening on my Windows 8.1 Pro but, it looked more like it was more of a Windows 10 issue.

I'm doing the best that I can to explain this in better detail via text... :)

If you need some additional information, I'll do what I can to help you out.

FYI... I just performed a scan on my Windows 8.1 system and all was well. My Windows 10 system is currently busy doing something and I can't scan it right now.

~~~~~~~~~~~~~~~

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Software/Hacking General [Developers Only]] evildog1:
I don't understand why it has to be Windows 10 issue, I don't understand. I'm been using Win10 for 3 years, developing AET for 2 years, using Defender and Malwarebytes, and never got any detection since. Also no detection when i tested it on Virtual machines. My friend said his BitDefender detected it as trojan and he couldn't whitelist it.

If making new project and optimizing whole code does not help, I will contact anti-virus companies very seriously of this matter.
[Android Software/Hacking General [Developers Only]] Ibuprophen:
I apologize for not getting back sooner as well as clarifying this a bit better...

I was just mentioning what I had recently experienced that looks similar to what your experiencing.

Regarding your specific issue is really unknown to me personally since I haven't gotten into your software in a "Developers View".

I'm just providing you with what I can in hopes of helping you out in any way that I can. I've been using your development for quite some time and am a big fan and supporter as well.

~~~~~~~~~~~~~~~

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Software/Hacking General [Developers Only]] GHosTiK:
Hi and thanks for great app!

i have some question: i want make fully portable yours apk easy tool but i need to install java. is there way to copy java folder (all from c:\program files\java\jdk-10.0.2\bin) near or into apk easy tool folder and select (add as option) that folder to be used as java source? or without installation there no way to do so?

(system: windows 7 x64)
[Android Software/Hacking General [Developers Only]] Ibuprophen:
This is a very good question! :)

Though, I've never done this myself but, I do believe that it could be possible with there being a portable option for all 3 requirements...

APK Easy Tool v1.52 - Portable:

https://androidfilehost.com/?fid=5862345805528051258

Java JDK 8u181- Portable:

https://portableapps.com/apps/utilities/jdkportable

.NET Framework 4.6 - Portable:

https://www.microsoft.com/en-us/download/details.aspx?id=40727

This just comes down to the APK Easy Tool being able to look at the portable drive for these requirements rather than the PC's Hard Drive.

I may try to see if I can get a USB portable version going when I get a moment but, [MENTION=4623971]evildog1[/MENTION] should be able to clarify this even further...

This question does peak my curiosity. :eek:

~~~~~~~~~~~~~~~

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Software/Hacking General [Developers Only]] Mikha777:
Small bug happen here when I try to register the extension under Win7: