yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] evildog1:
I sent you a message

Just wanna post this public anyway so peoples know how to solve this issue

A filename contains a symbol ™. Renaming the file "MiniMed™_Mobile_base.apk" to "MiniMed_Mobile_base.apk" will fix the problem

I'm still working hard supporting most characters and symbols, but it turns out code page did not helped much
[Android Software/Hacking General [Developers Only]] paolocorpo:
You made my day

Deleting the symbol I have fixed the issue and decompiled the apk using your software

Thank you bro ;)

P
[Android Software/Hacking General [Developers Only]] apk_god:
hi everybody, apk that i sign with easy apk tool are not working. when I check if the apk is signed with the following command:

jarsigner -verify -verbose -certs original.apk

I get the following error:

- Signed by "EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US"

Digest algorithm: SHA1 (weak)

Signature algorithm: SHA1withRSA (weak), 2048-bit key

jar verified.

Warning:

This jar contains entries whose certificate chain is invalid. Reason: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

This jar contains entries whose signer certificate is self-signed.

The SHA1 digest algorithm is considered a security risk. This algorithm will be disabled in a future update.

The SHA1withRSA signature algorithm is considered a security risk. This algorithm will be disabled in a future update.

This jar contains signatures that do not include a timestamp. Without a timestamp, users may not be able to validate this jar after any of the signer certificates expire (as early as 2035-07-17).
[Android Software/Hacking General [Developers Only]] AdamMs16:
Hi dude, I don't know if I'm the problem or the software problem, but when I try to install on my phone apk after I compiled it, then there is an error, and after the problem I tried to decompile and compile without changing anything in the files, and the same problem happened again, and when the APK alone without intervention is installed and works normally.

So can you help me and tell me how to fix the problem?

Here's the APK I'm using.
[Android Software/Hacking General [Developers Only]] Z3RO2K:
Anyone know why when using a modded APK of a game after being recompiled, Google Play Games gives a failure error when trying to restore game progress?

I previously used MTManager on my rooted phone to mod and recompile the APK which worked flawlessly but I got a new phone and can't root.
[Android Software/Hacking General [Developers Only]] evildog1:
It uses test cert and it still work for everybody

I need you to explain more about this problem than "not working" 😄

What kind of error? is it "app not installed"?

That's normal because the APK has been tampered. It is possible to make it work but only rooted devices

I can't assist you with this so you should Google "How to create unsigned APK file for rooted devices" for more infomation
[Android Software/Hacking General [Developers Only]] evildog1:
FAQ on post #2 updated. Please make sure to read it again sometimes to help you solve the problems yourself 💪 https://xdaforums.com/t/tool-windows-apk-easy-tool-v1-58-3-dec-2020.3333960/post-65775601
[Android Software/Hacking General [Developers Only]] lepicane1:
Not a developer and using this tool for just one purpose, so be gentle with my ignorance.

I have been using portable version 1.57 to compile the decompiled APK found here https://dropapk.to/a05dr1x407jw/Flightradar24_v8.12.0-81201567_Nulled_Source_By_DFoX.rar without any changes to the settings. The compilation takes around a minute, and I get the confirmation that it was both compiled and signed. The resulting APK is exactly what is expected.

I have not been able to do this with any of the portable APK Easy Tool versions since, including 1.58. The log output says both compiled and signed (after two seconds), but there is no output i.e. no APK. I have tried replicating the settings from version 1.57 and used both 2.4.1 and 2.5.0 of apktool but no change.

Read the FAQ and no idea why 1.57 works and not subsequent versions. Any ideas?

Thanks

EDIT: Logs for portable versions 1.57 and 1.58 attached. Version 1.57 settings not changed. Version 1.58 first run with no change to settings, second run using Apktool 2.4.1, third run using Apktool 2.4.1 and reducing Java heap size from 2048 to 1024 (as in version 1.57).
[Android Software/Hacking General [Developers Only]] mzmack:
I am getting this error in log file:

Decompiling...
[Android Software/Hacking General [Developers Only]] AdamMs16:
Yes. And I don't have another version of the same app on my device
[Android Software/Hacking General [Developers Only]] evildog1:
Had other used reported me the same issue as well. I'm not even sure why, and what changes caused it.

I'm busy at the moment. Please stay on 1.57 meanwhile until I have it fixed
[Android Software/Hacking General [Developers Only]] copeppe:
Unfortunately nothing to do.

Always the same error
[Android Software/Hacking General [Developers Only]] evildog1:
Ok, delete the framework from C:\Users\<your name>\AppData\Local\apktool\framework. It will work
[Android Software/Hacking General [Developers Only]] azwina:
May i know, if apk not support android 7.0, how to modify apk to support android 7.0 ? how to edit ?

thank you.
[Android Software/Hacking General [Developers Only]] evildog1:
This thread is not the place to ask how to modify an apk file. This thread is for support, feedback and reporting issues only!

You may read about adding <uses-sdk> in androidmanifest.xml https://developer.android.com/guide/topics/manifest/uses-sdk-element.html
[Android Software/Hacking General [Developers Only]] ScatteredHell:
nice tool mate, keep up the work!!!

---------- Post added at 12:38 AM ---------- Previous post was at 12:33 AM ----------

normally, apps that were built using min sdk version lower than 7.1 will work on android 7.0
[Android Software/Hacking General [Developers Only]] mananpa:
Pls Add for Firebase and ads options! Regards!.
[Android Software/Hacking General [Developers Only]] evildog1:
I don't understand your question. Please explain.
[Android Software/Hacking General [Developers Only]] dtoxic47:
Hello, why does this app throw an error when i start it trough "RUN" on windows with the message "Resource folder not found" but when i double click on it everything is fine. any idea how to fix this? the reason is i start most programs on my pc trough run command (just a habit)
[Android Software/Hacking General [Developers Only]] evildog1:
can you give me more details and screenshot about this error?
[Android Software/Hacking General [Developers Only]] dtoxic47:
http://imgur.com/a/SU13d

i added apk easy tool to environment path so i can run it from the run command, i guess running it from there some command parameters are not executed? just a wild guess
[Android Software/Hacking General [Developers Only]] evildog1:
I was planning to add a button to add environment path but i'm afraid that it will break environment path.

Make sure apktool and resource folders are located in the same path where its .exe is located.
[Android Software/Hacking General [Developers Only]] dtoxic47:
got it thx!
[Android Software/Hacking General [Developers Only]] barambuka:
How can I translate a program into my language?
[Android Software/Hacking General [Developers Only]] evildog1:
It's not avaliable yet. I'll work with the language file which allow contributers to translate into their language.
[Android Software/Hacking General [Developers Only]] barambuka:
look forward to. Still work at home is much nicer.
[Android Software/Hacking General [Developers Only]] HJSC:
I do not know what I'm doing wrong, but I can not decompile any apk.

When I decompiled any apk, the message "Decompiled successful!" appears, but the directory is empty...

*Windows 10 Ent. RS2 x64
[Android Software/Hacking General [Developers Only]] stryker1968:
Need help.

java -Xmx512m -jar "C:\Users\User-17\Downloads\APK Easy Tool portable\APK Easy Tool\Apktool\apktool_2.2.2.jar" if "C:\Windows\Apktool\framework-res.apk"

28/05/2017 12:10:03.45

Installing Framework...

Exception in thread "main" brut.androlib.AndrolibException: java.util.zip.ZipException: zip file is empty

at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:677)

at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:622)

at brut.androlib.Androlib.installFramework(Androlib.java:683)

at brut.apktool.Main.cmdInstallFramework(Main.java:241)

at brut.apktool.Main.main(Main.java:87)

Caused by: java.util.zip.ZipException: zip file is empty

at java.util.zip.ZipFile.open(Native Method)

at java.util.zip.ZipFile.<init>(Unknown Source)

at java.util.zip.ZipFile.<init>(Unknown Source)

at java.util.zip.ZipFile.<init>(Unknown Source)

at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:630)

... 4 more

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

java -Xmx512m -jar "C:\Users\User-17\Downloads\APK Easy Tool portable\APK Easy Tool\Apktool\apktool_2.2.2.jar" if "C:\Windows\Apktool\framework-res.apk"

28/05/2017 12:14:00.38

Installing Framework...

Exception in thread "main" brut.androlib.AndrolibException: java.util.zip.ZipException: zip file is empty

at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:677)

at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:622)

at brut.androlib.Androlib.installFramework(Androlib.java:683)

at brut.apktool.Main.cmdInstallFramework(Main.java:241)

at brut.apktool.Main.main(Main.java:87)

Caused by: java.util.zip.ZipException: zip file is empty

at java.util.zip.ZipFile.open(Native Method)

at java.util.zip.ZipFile.<init>(Unknown Source)

at java.util.zip.ZipFile.<init>(Unknown Source)

at java.util.zip.ZipFile.<init>(Unknown Source)

at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:630)

... 4 more

-----------------------------------------------------------------
[Android Software/Hacking General [Developers Only]] evildog1:
Why are you trying to install .jar as a framework?
[Android Software/Hacking General [Developers Only]] HJSC:
I did not do it. I just extracted and run the .exe
[Android Software/Hacking General [Developers Only]] evildog1:
Can you post logs here?

Tell me the name of the app so i can test it.
[Android Software/Hacking General [Developers Only]] evildog1:
Try enable ZipAlign after compile and page align

View attachment 5179465
[Android Software/Hacking General [Developers Only]] AdamMs16:
Yes it helped, the installation phase passed successfully. But now that I'm trying to get into the application, it's collapsing.
[Android Software/Hacking General [Developers Only]] AdamMs16:
I imagine some files were badly moved or not moved during the Decompile/Compile process. How do I fix this?
[Android Software/Hacking General [Developers Only]] evildog1:
This can be many reasons why it crash, most cases it could be protection. You should read the logcat using Android Studio or ADB if possible

I don't help with this because I don't mod APK much, and this would rather go off-topic here.

I usally search to find more infomation to keep myself up-to-date 😄
[Android Software/Hacking General [Developers Only]] BlockBossBCW:
What do I do about this?

Error occurred during initialization of VM

Could not reserve enough space for 2097152KB object heap

Thanks to whomever helps me out =)
[Android Software/Hacking General [Developers Only]] GreatApo:
To start with, thank you for your tool. I have been using it for a couple of years and I always loved the easiness of your app.

I think I have found a signature identification bug that produces an unsigned compiled apk. When I load a specific apk, the signature is shown as v2 while I can see the signature versions with Jadx as v2 and v3. The apk compiles successfully with the "keep the original signature" option on, however, no signature is applied on the apk. Jadx signature verification fails with the following error: Missing META-INF/MANIFEST.MF. Of course installation fails.

I never had a similar problem in the past. Tested on APK easy tool 1.58 & 1.57. PM me for further information.
[Android Software/Hacking General [Developers Only]] evildog1:
Uninstall Java 32-bit and installl Java 64-bit or reduce heap side. Read post #2 carefully next time, you can't miss it

Even though I have no idea what was the point of that feature, it look useless for me. I only added it because it was available on apktool.jar

This feature will be removed on apktool 2.6.0 https://github.com/iBotPeaches/Apktool/issues/2129
[Android Software/Hacking General [Developers Only]] GreatApo:
I have used this feature successfully to edit system apks on amazfit watches (tweak settings app). If I am not mistaken there was a app signature check so I had to keep it the same. Anyway, maybe this is what it's needed.

Thanks again for your work!
[Android Software/Hacking General [Developers Only]] evildog1:
Btw guys, I just found a special tool called APKLab that you can use apktool within VS Code and edit files straight forward. Already felt a love with it lol https://github.com/Surendrajat/APKLab
[Android Software/Hacking General [Developers Only]] Atmans:
Hi.

i have a little compilation problem, The application was unpacked, I did not change it compile process error as below I have read a few posts and used different settings, nothing helps I also tried the older version with the aapt2 setting is also not working. any idea to fix this error?

I: Using Apktool 2.5.0
I: Smaling smali folder into classes.dex...
I: Building resources...
W: C:\Users\xxx\Desktop\APK Easy Tool v1.57\1-Decompiled APKs\Ustawienia(com.android.tv.settings)-1.0(1)-TvSettings\res\values\styles.xml:1148: error: Error retrieving parent for item: No resource found that matches the given name[B][COLOR=rgb(243, 121, 52)] '@android:style/Preference.Material'.[/COLOR][/B]
W:
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\xxx\AppData\Local\Temp\brut_util_Jar_15237678543318835631996102076444821125.tmp, p, --forced-package-id, 127, --min-sdk-version, 23, --target-sdk-version, 28, --version-code, 1, --version-name, 1.0, --no-version-vectors, -F, C:\Users\xxx\AppData\Local\Temp\APKTOOL8309776371298009075.tmp, -e, C:\Users\xxx\AppData\Local\Temp\APKTOOL1396779264000977966.tmp, -0, arsc, -I, C:\Users\xxx\AppData\Local\apktool\framework\1.apk, -S, C:\Users\xxx\Desktop\APK Easy Tool v1.57\1-Decompiled APKs\Ustawienia(com.android.tv.settings)-1.0(1)-TvSettings\res, -M, C:\Users\xxx\Desktop\APK Easy Tool v1.57\1-Decompiled APKs\Ustawienia(com.android.tv.settings)-1.0(1)-TvSettings\AndroidManifest.xml]
Compile successful.
[Android Software/Hacking General [Developers Only]] swarit gupta:
thank you very much i cant find solution anywhere in internet but thanks to the one who asked or posted this question...
[Android Software/Hacking General [Developers Only]] Reggy Noble:
Quick question guys,

Just updated to v1.58 and there is no more option to "keep original signature" while compiling.

Does it means, original signature is kept even if we don't sign apk after compiling?
[Android Software/Hacking General [Developers Only]] evildog1:
No,

It is still under options -> apktool but iBotPeaches will remove it in apktool.jar 2.6.0 https://github.com/iBotPeaches/Apktool/issues/2129
[Android Software/Hacking General [Developers Only]] enobhsiw:
I clicked on the file and hit Decompile, and it said that it was complete(took 1 sec). However when I went into the Decompiled APKs folder, there was nothing.

11 Mar 2021 12:24:18 AM

Checking for update...

Done

Reading APK...

Done

Decompiling APK file... (Press ESC to cancel)

/c "java -Xmx2048m -jar "D:\Downloads\APK Easy Tool\Apktool\apktool_2.5.0.jar" d -f --only-main-classes -o "D:\Downloads\APK Easy Tool\1-Decompiled APKs\Samsung.TPK.installer - BP" "D:\Downloads\APK Easy Tool\0\Samsung.TPK.installer - BP.apk""

Decompile successful.
[Android Software/Hacking General [Developers Only]] dustofdeath:
Same as above.

So I ran it manually as a java command (copy from the log, used git bash in this case).

The decompile took longer and it generated the output.

But it fails inside the app.

Recompile etc also fails in the app or through the context menu.
[Android Software/Hacking General [Developers Only]] evildog1:
You need to delete your config.xml

It will be fixed in next version
[Android Software/Hacking General [Developers Only]] enobhsiw:
Tried that. Same result.
[Android Software/Hacking General [Developers Only]] evildog1:
Sent you a message
[Android Software/Hacking General [Developers Only]] enobhsiw:
Tried your Modded file and its working.

Thank You :)
[Android Software/Hacking General [Developers Only]] evildog1:
Alright, APK Easy Tool v1.59 released

- Fixed decompile, compile and signing that does nothing on some systems

- No longer show error message due to peoples reporing me useless screenshot

- No longer show update dialog if update is available. Click on the logo to show it

- Setting Java heap size is no longer needed but now has option to enable it. I realized that Java auto set heap size to maximum as possible. Java 32-bit: 1.5GB, and Java 64-bit: 4GB, if i'm right

- Hide some unused options.

- --v4-no-merkle-tree option actually does not exist so it has been removed

- Updated SDK tools, adb, zipalign, aapt, apksigner to 30.0.3

- Updated smali/baksmali to 2.5.2

- Updated languages

- Removed donation due to privacy issues
[Android Software/Hacking General [Developers Only]] lepicane1:
@evildog1 Just tested and same issue with version 1.59 as I described in my previous post. Cannot compile file that is available here https://mega.nz/file/jKghXCyY#nhiHn2YsIpICEzmi_JIp4-_Oq2pv9XRAEkTFgLrcPEc. No issues with 1.57.

Thanks for all your effort.
[Android Software/Hacking General [Developers Only]] nxb:
I cannot save any settings in the portable version and there is no config.xml

Using 1.57, it makes the config.xml and then moving to 1.59 folder allows the settings to save. Also the installed version finds java, the portable doesn't.
[Android Software/Hacking General [Developers Only]] swarupsro:
sorry for my simple question. what is the purpose of frameware tag ???
[Android Software/Hacking General [Developers Only]] evildog1:
I can compile fine. Show me logs once again

That's weird, I will fix ASAP

I have noticed my project as been quite messed up due to crappy Qsync app reverted my changes back to buggy state after I launched it manually since it won't auto start anymore. All will be fixed

Explained here https://ibotpeaches.github.io/Apktool/documentation/
[Android Software/Hacking General [Developers Only]] lepicane1:
Log output for compiling above file. Using 1.59 portable version (default settings) and action completes in 3 seconds. Portable 1.57 with default settings, no issues.

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

22/03/2021 11:12:03

Checking for update...

Done

Compiling APK file... (Press ESC to cancel)

/c "java -jar "xxxx\APK Easy Tool v1.59 Portable\Apktool\apktool_2.5.0.jar" b -f -o "xxxx\APK Easy Tool v1.59 Portable\2-Recompiled APKs\Flightradar24_v8.13.2_Build_81321842_Nulled_Source_By_DFoX.apk" "xxxx\APK Easy Tool v1.59 Portable\1-Decompiled APKs\Flightradar24_v8.13.2_Build_81321842_Nulled_Source_By_DFoX" "

Compile successful.

Zipaligning...

-p 4 "xxxx\APK Easy Tool v1.59 Portable\2-Recompiled APKs\Flightradar24_v8.13.2_Build_81321842_Nulled_Source_By_DFoX.apk" "xxxx\APK Easy Tool v1.59 Portable\2-Recompiled APKs\Flightradar24_v8.13.2_Build_81321842_Nulled_Source_By_DFoX zipalign temp.apk"

Zipalign successful

Signing APK file...

/c "java -jar "xxxx\APK Easy Tool v1.59 Portable\Resources\ApkSigner.jar" sign --key "xxxx\APK Easy Tool v1.59 Portable\Resources\apkeasytool.pk8" --cert "xxxx\APK Easy Tool v1.59 Portable\Resources\apkeasytool.pem" --v4-signing-enabled false --out "xxxx\APK Easy Tool v1.59 Portable\2-Recompiled APKs\Flightradar24_v8.13.2_Build_81321842_Nulled_Source_By_DFoX.apk" "xxxx\APK Easy Tool v1.59 Portable\2-Recompiled APKs\Flightradar24_v8.13.2_Build_81321842_Nulled_Source_By_DFoX.apk""

Sign successful.
[Android Software/Hacking General [Developers Only]] lepicane1:
Same file, log from 1.57 portable. Noticed cannot set Java heap size in version 1.59 if that is the issue.

22/03/2021 11:27:16

Compiling APK file...

/c "java -Xmx1024m -jar "xxxx\APK Easy Tool v1.57 Portable\Apktool\apktool_2.4.1.jar" b -f -o "xxxx\APK Easy Tool v1.57 Portable\2-Recompiled APKs\Flightradar24_v8.13.2_Build_81321842_Nulled_Source_By_DFoX.apk" "xxxx\APK Easy Tool v1.57 Portable\1-Decompiled APKs\Flightradar24_v8.13.2_Build_81321842_Nulled_Source_By_DFoX" "

I: Using Apktool 2.4.1

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

I: Smaling smali_assets folder into assets.dex...

I: Smaling smali_classes2 folder into classes2.dex...

I: Building resources...

I: Copying libs... (/lib)

I: Copying libs... (/kotlin)

I: Copying libs... (/META-INF/services)

I: Building apk file...

I: Copying unknown files/dir...

I: Built apk...

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

22/03/2021 11:28:19

Signing APK file...

/c "java -Xmx1024m -jar "xxxx\APK Easy Tool v1.57 Portable\Resources\ApkSigner.jar" sign --key "xxxx\APK Easy Tool v1.57 Portable\Resources\apkeasytool.pk8" --cert "xxxx\APK Easy Tool v1.57 Portable\Resources\apkeasytool.pem" --out "xxxx\APK Easy Tool v1.57 Portable\2-Recompiled APKs\Flightradar24_v8.13.2_Build_81321842_Nulled_Source_By_DFoX.apk" "xxxx\APK Easy Tool v1.57 Portable\2-Recompiled APKs\Flightradar24_v8.13.2_Build_81321842_Nulled_Source_By_DFoX.apk""

------------------------------------------
[Android Software/Hacking General [Developers Only]] evildog1:
@lepicane1

It was same error

I sent you my file to your message to test
[Android Software/Hacking General [Developers Only]] lepicane1:
Tested and replied.
[Android Software/Hacking General [Developers Only]] evildog1:
APK Easy Tool v1.59.1 (2021-03-25)

- Fixed config.xml not saving

- Re-write CMD execution code from scratch. Now it will work for all system, and it support real time logging

- Log output cleanup

- Removed code page, it is no longer needed

- Language updated

Installer is no longer released due to an unknown error with Microsoft Visual Studio Installer Projects. It is always buggy, so I gave up. Please use portable version, it's easy to extract and you can easly see the content before you extract
[Android Software/Hacking General [Developers Only]] Novladek:
I have

error: Error parsing XML: syntax error

W:

brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\prywa\AppData\Local\Temp\brut_util_Jar_66718564987458406505645513756068897558.tmp, p, --forced-package-id, 127, --min-sdk-version, 28, --target-sdk-version, 30, --version-code, 63835200, --version-name, 8.1.101.345618084, --no-version-vectors, -F, C:\Users\prywa\AppData\Local\Temp\APKTOOL3739076168831690217.tmp, -e, C:\Users\prywa\AppData\Local\Temp\APKTOOL1124300715358136343.tmp, -0, arsc, -I, C:\Users\prywa\AppData\Local\apktool\framework\1.apk, -S, C:\Users\prywa\Downloads\APK Easy Tool v1.59.1 Portable\1-Decompiled APKs\MGC_8.1.101_A9_PVo_snap\res, -M, C:\Users\prywa\Downloads\APK Easy Tool v1.59.1 Portable\1-Decompiled APKs\MGC_8.1.101_A9_PVo_snap\AndroidManifest.xml]

Please help me!
[Android Software/Hacking General [Developers Only]] Babburamgharia:
i decompiled an apk and just recompiled and installed it crashes dont know why
[Android Software/Hacking General [Developers Only]] Vagner.RJ:
Hello, how are you?

I decompiled an apk, made the desired changes.

I compiled and installed it on my android 10 phone.

When I'm going to install the same apk modified on android 11, there is an error when analyzing the package. This only occurs on android 11.

Any suggestion?

ThanksView attachment 5264747