yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Ibuprophen:
I just wanted to provide a quick heads-up to those who may not be aware of the following...

IBotPeaches had just pushed an update to the Apktool as seen on the following thread post announcement.

https://xdaforums.com/showthread.php?p=79028225

Good Luck! :)

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Android Software/Hacking General [Developers Only]] susameca:
Hi, guys. I'm having issue with decompile -> compile a apk. The previous versions of the apk was with older sdk I think. The current version, after i compile it without changes it don't work at all - crashes after open. I also posted the issue in the apktool github github.com/iBotPeaches/Apktool/issues/2025

Does anyone can help? Thanks!
[Android Software/Hacking General [Developers Only]] GOALARG:
maybe new apk version has recompile protection .

---------- Post added at 08:11 PM ---------- Previous post was at 08:08 PM ----------

APK Easy Tool 1.541 has start issue when it using apktool_2.4.0.jar (latest version)
[Android Software/Hacking General [Developers Only]] Ibuprophen:
[MENTION=4623971]evildog1[/MENTION], I'm not sure if this is experienced by yourself and/or others but, I'm reporting the following recent issue.

The following issue is much easier to report using the Image Diagram that pretty much explains it all...

View attachment 4720682

... To add, I tried to repair install the software that was unsuccessful in clearing up the issue...

... I then completely uninstall and reinstall that was unsuccessful in clearing up the issue.

This only happens when selecting the recently released version of the Apktool (v2.4.0) and I'm using the latest version of the X64/64-Bit Apk Easy Tool software (as seen in the above image).

The following link is the Official Apktool Changelog that may help in your diagnosis of this issue.

https://ibotpeaches.github.io/Apktool/changes/

Please let me know if you have any further questions or clarifications.

Thanks a bunch! :)

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Android Software/Hacking General [Developers Only]] evildog1:
[MENTION=4828250]Ibuprophen[/MENTION] Thanks for reporting the issue

Yes I had the same problem. The problem is the config.xml that is locked by the tool. I'm not excatly sure why,

This dialog is annoying and will be removed on the upcoming feature.

I will make more improvements and fix bugs to ensure users have good experience :)
[Android Software/Hacking General [Developers Only]] immns:
is there any issue with windows update? i can't de-comp or even install framework
[Android Software/Hacking General [Developers Only]] masster64:
Hi

I'm struggling with an error at compile time. Could you help me please?

See capture and log.

Thank you.
[Android Software/Hacking General [Developers Only]] cge_95:
Hi, this was the issue I reported in February here

The easiest workaround is to rename the desired apktool to apktool_2.3.4.jar then it works fine

Christophe
[Android Software/Hacking General [Developers Only]] Ibuprophen:
You had reported a similar issue but, I had not experienced the issue personally that you had reported.

Please don't get me wrong here... I'm Invalidating your issue and I'm sure that you had experienced it.

Apktool v2.4.0 was officially released on March 3rd.

Maybe there's something between the two similar issues that shares something in an underlying way.

I'm sure that [MENTION=4623971]evildog1[/MENTION] is still looking into it since he had already validated it.

Let's keep our fingers crossed! :)

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Android Software/Hacking General [Developers Only]] cge_95:
Hi [MENTION=4828250]Ibuprophen[/MENTION], this issue is not just with apktool V2.4.0 !

When posted it in February, it was because I'd to use V2.3.2 and the config was stuck to 2.3.4

Christophe
[Android Software/Hacking General [Developers Only]] Eures:
Once I have recompiled a system apk (phonebook.apk) how do I put it back in the phone?
[Android Software/Hacking General [Developers Only]] karaulov:
Not works. I tried to edit apk file with name "framework-res.apk".

Got error:

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

APK Easy Tool

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

Compile failed. Please check the log

Try clear framework if you got compile error often

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

ОК
[Android Software/Hacking General [Developers Only]] karaulov:
old 1.34 version works but i got bootloop ....
[Android Software/Hacking General [Developers Only]] Sarthak0011:
i got an error of clean framework how i select my frame work and i don't know how to download java and select it and how to select framework to run this application smoothly
[Android Software/Hacking General [Developers Only]] usa125:
version 1.541 detect as trojan

here is the result of "virustotal" web result

ylance	Unsafe	20190327

McAfee	Artemis!3110B718232A	20190327

McAfee-GW-Edition	Artemis!Trojan	20190327

Microsoft	PUA:Win32/Presenoker	20190327

VBA32	CIL.StupidCryptor.Heur	20190327
[Android Software/Hacking General [Developers Only]] Ibuprophen:
All False Positives but, thank you for sharing. :thumbup:

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle" AND Nickname for "My Ex-Wife"}.
[Android Software/Hacking General [Developers Only]] usa125:
how could u say t a False Positive? its a serious trojan threat. i am waiting for developer response.
[Android Software/Hacking General [Developers Only]] Zackptg5:
We can say false positive because we've been using this for years without problem, other antiviruses don't detect anything, and you can check it yourself with hijack this and other methods to see what's running
[Android Software/Hacking General [Developers Only]] usa125:
i am not an expert thats why i have no choice but accept the VirusTotal result..

[IMG="Virus Total result"]https://prnt.sc/ngq21y[/IMG]
[Android Software/Hacking General [Developers Only]] BikeRaceK:
Hello, I get an error during compiling:

Compile failed. Please check the log

Try clear framework if you got compile error often.

How can I solve?
[Android Software/Hacking General [Developers Only]] evildog1:
Serious trojan threat??? Think again

It's 100% false positive, anti-virus hate this tool for some reason which i believe that anyone who shared this tool to illegal sites may be the reason. This tool is really meant for legal use only like modding system apps and such. I'm working hard to prevent this false detection.

I don't make trojan or any kind of malwares that would harm their computer. Why would i do this to XDA users and anyone?? I would get banned from XDA, to go jail and this thread would be deleted long time ago if this was for real.

So please give it a try in isolated enviorment and you will see no harm done. You will love it. If not, better not use it. Simple ;)
[Android Software/Hacking General [Developers Only]] evildog1:
Can you please explain more about problem and provide full log if possible? That would help me to know what excat problem you have
[Android Software/Hacking General [Developers Only]] Arak0n:
I have the tool stored in d:\Android\APKEasyTool.

config.xml is in the same folder.

But every time I start the program, it asks me to set up my work folders and forgets that "zipalign after compile" is checked.

Any idea? I deleted any registry entry and the config as well and it still happens.
[Android Software/Hacking General [Developers Only]] evildog1:
Very sorry for late update since I was really busy in my life but.... APK Easy Tool v1.55 has been released today! :)

I had dealt with false positives but it's not clear yet. Got few hits. You don't need to 100% trust virustotal at all, none of Anti-virus are 100% perfect like us :D

I'm willing to share virustotal links here:

https://www.virustotal.com/#/file/b...7efdc6fbbcec33f2b06e7fc4004f0d2d303/detection

https://www.virustotal.com/#/file/8...8c242912360bc9361f523b428faa38b89fb/detection

https://www.virustotal.com/#/file/4...755cfd14a3dc28bb7c3eac4fbbc21519e3e/detection

Changelog:

===[ New Features ]===

- Show Launch activity on APK info box. Useful to know what smali is the main activity. Click on it to open the file directly if decompiled directory exist

- --use-aapt2 and other apktool options added https://ibotpeaches.github.io/Apktool/documentation/#options

- Set API levels for decompiling and compiling

===[ Fixed issues ]===

- Fixed SharpShell and Server Registration Manager (Replaced sharpshell.dll and srm.exe from release version https://github.com/dwmkerr/sharpshell/releases)

- Double slashes when changing all directories in root path

- Some buttons were disabled for no reason

- Didn't log anything if CMD WriteLine mode (Legacy mode) is selected

- Trying to load icon as xml instead png. Added workaround to avoid it.

===[ Enhancements ]===

- On C drive, if the program is stored on system location that would require admin rights, it will create folders and write files on user Documents instead.

- Updated apktool.jar (ibotpeaches) to 2.4.0

- Updated 7-Zip libs (Igor Pavlov) to (2019-02-21)

- Updated aapt.exe and adb.exe (Android NDK) to 28.0.3

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

- Ask before decompiling if decompile folder exists

- Replace spaces with underscore now for target file path in order to use with other tools that doesn't support spaces

- Some UI changes

- CMD WriteLine mode (Legacy mode) is now default since the arguments mode (Normal mode) is buggy and cause stuck in progess sometimes

- For cancelling, it will only kill one process that it is currently using instead killing all, java, adb, 7z and zipalign. Killing is the only way to cancel at the moment

- AETShellExt.dll will use apkeasytool-x64.exe if the system is x64

===[ Removed features ]===

- Removed prompt "Do you want APK Easy Tool to setup following work directories?" that caused config.xml to be locked for no reason

- srm-x64.exe is no longer necessary
[Android Software/Hacking General [Developers Only]] Arak0n:
Awesome, that fixed it.
[Android Software/Hacking General [Developers Only]] N'ayam Amarsh'e:
Thanks a lot for the hardwork!
[Android Software/Hacking General [Developers Only]] Shaider III:
Here is the log after the update, could not even decomplite the app...

Cannot clear the FW cache too.

I: Using Apktool 2.4.0 on Messenger_com.facebook.orca.apk
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: unsupported res type name for bags. Found: style2
at brut.androlib.res.data.value.ResValueFactory.bagFactory(ResValueFactory.java:115)
at brut.androlib.res.decoder.ARSCDecoder.readComplexEntry(ARSCDecoder.java:350)
at brut.androlib.res.decoder.ARSCDecoder.readEntryData(ARSCDecoder.java:276)
at brut.androlib.res.decoder.ARSCDecoder.readTableType(ARSCDecoder.java:252)
at brut.androlib.res.decoder.ARSCDecoder.readTableTypeSpec(ARSCDecoder.java:175)
at brut.androlib.res.decoder.ARSCDecoder.readTablePackage(ARSCDecoder.java:131)
at brut.androlib.res.decoder.ARSCDecoder.readTableHeader(ARSCDecoder.java:82)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:748)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:67)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:59)
at brut.androlib.Androlib.getResTable(Androlib.java:68)
at brut.androlib.ApkDecoder.setTargetSdkVersion(ApkDecoder.java:228)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:118)
at brut.apktool.Main.cmdDecode(Main.java:167)
at brut.apktool.Main.main(Main.java:76)
[Android Software/Hacking General [Developers Only]] ps6is:
unable to recompile instagram

Hello,

i m unable to recompile the app could you please help me with it ?

exit code = -1073741515

/c "java -Xmx1024m -jar "C:\Program Files (x86)\APK Easy Tool\Apktool\apktool_2.4.0.jar" b -f -o "C:\Users\super\Documents\APK Easy Tool\2-Recompiled APKs\Instagram.apk" "C:\Users\super\Documents\APK Easy Tool\1-Decompiled APKs\Instagram" "

I: Using Apktool 2.4.0
I: Smaling smali folder into classes.dex...
I: Smaling smali_classes2 folder into classes2.dex...
I: Smaling smali_classes3 folder into classes3.dex...
I: Building resources...
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = -1073741515): [C:\Users\super\AppData\Local\Temp\brut_util_Jar_3329156316614829849.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 26, --version-code, 152367502, --version-name, 91.0.0.18.118, --no-version-vectors, -F, C:\Users\super\AppData\Local\Temp\APKTOOL8645395169134165259.tmp,
-0, assets/InstagramBundle.js.hbc.xz, -0, png, -0, webp, -0, r/1_.g.png, -0, r/4r.g.png, -0, r/9u.g.png, -0, r/b0r.g.png, -0, m4a, -0, r/b7q.g.png, -0, r/b8b.g.png, -0, r/b8r.g.png, -0, r/b_-.g.png, -0, r/bcu.g.png, -0, r/bje.g.png, -0, r/bl-.g.png, -0, r/bnw.g.png, -0, r/bpd.g.png, -0, r/bpt.g.png, -0, r/bsv.g.png, -0, r/btx.g.png, -0, r/bu8.g.png, -0
, r/bvj.g.png, -0, r/bwt.g.png, -0, mp4, -0, r/c2k.g.png, -0, r/c3c.g.png, -0, r/c46.g.png, -0, r/c4a.g.png, -0, r/c67.g.png, -0, r/c75.g.png, -0, r/c7v.g.png, -0, r/cbc.g.png, -0, r/cdt.g.png, -0, r/ch_.g.png, -0, r/ckf.g.png, -0,
r/cn4.g.png, -0, r/cnx.g.png, -0, r/coo.g.png, -0, r/cq-.g.png, -0, r/cru.g.png, -0, r/csi.g.png, -0, r/csn.g.png, -0, r/csx.g.png, -0, r/cu_.g.png, -0, r/dbn.g.png, -0, r/dcl.g.png, -0, r/ff.g.png, -0, r/g9.g.png, -0, r/iz.g.png, -0, r/j1.g.png, -0, r/mc.g.png, -0, r/mv.g.png, -0, r/om.g.png, -0, r/pc.g.png, -0, r/r_.g.png, -0, json, -0, r/ww.g.png, -0, r/zn.g.png, -0, arsc, -I, C:\Users\super\AppData\Local\apktool\framework\1.apk, -S, C:\Users\super\Documents\APK Easy Tool\1-Decompiled APKs\Instagram\res, -M, C:\Users\super\Documents\APK Easy Tool\1-Decompiled APKs\Instagram\AndroidManifest.xml]
[Android Software/Hacking General [Developers Only]] freak69ize:
1.55 doesnt work for me at all but 1.54 still does
[Android Software/Hacking General [Developers Only]] Ibuprophen:
I just wanted to point out the following information to you and others here the following applies to as well...

Please keep in mind that there's a big difference between identifying issues related specifically to the "APK Easy Tool Software (by evildog1)" and the "Apktool Java Utility (by iBotPeaches).

The following is an example of an issue (on the Official Apktool Github Repo) tied to the Instagram App:

Instagram can't find some drawables after being rebuilt with apktool - Apktool Github Issue #2074

The following is an example of an issue (on the Official Apktool Github Repo) that includes some discussion regarding the Facebook App:

How to stop the reorganization of the resource IDs in file ‘res/values/public.xml’ when I use command ’apktool b apkfile - Apktool Github Issue #2062

The following is an example of a Search Result (aka Filter) using the Keyword "Facebook":

Apktool Issues Filter/Search Results for Facebook - Official (Github)

The following is another example of a Search Result (aka Filter) using the Keyword "Instagram":

Apktool Issues Filter/Search Results for Instagram - Official (Github)

With that guidance...

The following is the Official Apktool Thread for reporting Issues, Obtaining Support, Member Guidance, etc...

[UTIL] Apktool - Tool for reverse engineering apk files by iBotPeaches

If you were to read the OP (Post #1) on the above thread...

OP/Post #1 of the "[UTIL] Apktool - Tool for reverse engineering apk files by iBotPeaches"

... Please Note the following (valuable) information provided by iBotPeaches:

Also... Even though iBotPeaches states that, there's nothing wrong with posting information to obtain Member Support and Guidance, I do believe that the preferred method (or first place to go) would be to the following Issues Area of the Official Apktool Github Repository...

Apktool Issues Area - Official (Github)

... Because iBotPeaches is typically there (most of the time). He does pop in on the XDA Forum from time to time but, it's much easier for him to provide help, support, guidance, etc... on Github since that's where the Magic Happens (where the Source Code is l).

Thank you all very much for your time, patience and understanding with this little helper.

Please, [MENTION=3924617]iBotPeaches[/MENTION] and [MENTION=4623971]evildog1[/MENTION], If I'm wrong/incorrect or need to be clarified myself with the above information, by all means please point this out.

Thanks a Bunch and Good Luck! :)

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

Unless asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Apple Macintosh.
[Android Software/Hacking General [Developers Only]] zerolam:
hello

I am using APK EASY TOOL to decompile and recompile a system apk (SystemUI.apk) without any modification but fail.

the following is my steps

1) using root explorer (mixplorer) to copy [/system/priv-app/SystemUI/SystemUI.apk] and [system/framework/framework-res.apk] to PC

2) APK Easy Tool > Framework > Select framework > [framework-res.apk] > install directory : D:\ > Install FW APK

3) APK Easy Tool > Main > sel. APK/JAR > [SystemUI.apk] > Decompile

4) APK Easy Tool > Main > Compile

5) using root explorer to copy recompiled [SystemUI.apk] to [/system/priv-app/SystemUI]

6) reboot

7) can boot into system, but frozen on home page

Is there any thing wrong with my steps?

Please help me, Thx

---------edited-------------

because I want to edit systemui.apk for removing the lockscreen tint

https://xdaforums.com/android/general/guide-how-to-remove-lockscreen-t3819931

but the phone can't boot after the modification of systemui.apk

so I am going to clarify whether the issue is the code I modified or some wrong.
[Android Software/Hacking General [Developers Only]] Tyakrish:
Clean install the ROM. Or clear cache, dalvik and data partition.
[Android Software/Hacking General [Developers Only]] zerolam:
tried clean cache / dalvik / data

but no luck

cleaning install the rom will fix anything

but I am about to modified systemui.apk for removing the tint on the lockscreen
[Android Software/Hacking General [Developers Only]] Ibuprophen:
I've never modified a system app myself but, don't you need to load that systems Framework app as well?

I'm under the impression that system apps require the loading of the same systems framework as well because that framework app is a requirement for the system app to function properly.

The default framework app (aka 1.apk) is only there for non system app modifications. This is why the APK Easy Tool provides an area for individuals to load another Framework app for this type of situation.

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

Unless asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Apple Macintosh.
[Android Software/Hacking General [Developers Only]] zerolam:
In my step 2)

I installed the framework-res.apk pull from system, the same system from I pull the SystemUI.apk, using root explorer.

Is there any mistake I made?

---------edited----------

Should I sign the systemui.apk?
[Android Software/Hacking General [Developers Only]] evildog1:
What doesn't work at all? ?

Please explain more and provide proper screenshot or logs if possible. I can't fix without details
[Android Software/Hacking General [Developers Only]] evildog1:
I will fix it as soon as possible
[Android Software/Hacking General [Developers Only]] freak69ize:
Sorry.. my bad. Decompiling works great in 1.55 but it wont compile any apps for me... but when i use 1.54 everything works as it should. I've used 1.54 for the last two weeks on an app and its compiled it 19 times.. 1.55 just won't compile it

View attachment 4759007

View attachment 4759008

View attachment 4759009
[Android Software/Hacking General [Developers Only]] evildog1:
Thanks, It seems to be issue with apktool.jar. 1.541 is bundled with apktool 2.3.4 that's why it works i think. You can try use apktool 2.3.4 jar or older with APK Easy Tool 1.55 by placing jar in apktool folder and go to option and switch apktool version
[Android Software/Hacking General [Developers Only]] evildog1:
Regarding the error "could not exec (exit code = -1073741515)", please read this https://github.com/msintuneappsdk/intune-app-wrapping-tool-android/issues/27
[Android Software/Hacking General [Developers Only]] freak69ize:
Tried that but still fails to compile

View attachment 4759406
[Android Software/Hacking General [Developers Only]] Camlin3:
[MENTION=4623971]evildog1[/MENTION]

Can you add more features like this project ...

Its still awesome but an ide would be great.

https://xdaforums.com/showthread.php?t=1619473&page=252

Another inspired from above one

https://xdaforums.com/android/software-hacking/ide-adk-android-reverse-engineering-t3803044

Thanks
[Android Software/Hacking General [Developers Only]] .::Alien::.:
Getting this error:

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

operable program or batch file.

any suggestions!
[Android Software/Hacking General [Developers Only]] evildog1:
That's too much time consuming, I don't have time for that :eek:

I only focus in APK modification.

Uninstall all installed Java version, reboot your computer and install java from java.com or Java SE https://www.oracle.com/technetwork/java/javase/overview/index.html

Or you can manually set correct enviorment path for Java. You can look up on google.
[Android Software/Hacking General [Developers Only]] evildog1:
Try clear framework with AET 1.541 or run command line

java -jar apktool.jar empty-framework-dir --force

Clearing framework is currently broken on latest version

You can also try using older apktool versions 2.3.3 to 2.3.0. Sometime old versions works better in some cases
[Android Software/Hacking General [Developers Only]] .::Alien::.:
How to manually set correct enviorment path for Java in windows 10:

https://www.mkyong.com/java/how-to-set-java_home-on-windows-10/

It helped me to achieve the desired result.
[Android Software/Hacking General [Developers Only]] MysteryIII:
This solution should be obsolete on newer Versions of Java and may cause conflicts, especially as you need to update the path for every newer version.

Java now uses automatically generated hardlinks. So you point to the hardlink and this one points to the newest java. Normally:

%Program Files (x86)%\Common Files\Oracle\Java\javapath

Also in Path (not the Java_Path that is suggested to create yourself) this path is written. So you should also edit this one or you may end up pointing on different Java versions, that is nowadays mostly the cause for conflicts with Java.

As I said this is an obsolete solutions of times before Win Vista and Hardlinking. Uninstall all versions of Java, delete all entries of Java in Environment Variables and maybe in Registry (use f.e. Wise RegistryCleaner and ignore all ads inside, you don't need anything beside the pretty good basic) and install Java with the Offline Installer would be the solution I suggest. The Installer would recreate the entry in "Path" in the Environment Variables.

Beside just a hint: take a look into Windows Help (F1-Button) for Shortcuts. For example using "Windows"+"Pause"-Buttons and than clicking on advanced system settings. This is far more comfortable and easy to remember.
[Android Software/Hacking General [Developers Only]] GarlicBreadFox:
Portable version you need to manually create the "Logs" folder on root otherwise it fails with exception.
[Android Software/Hacking General [Developers Only]] evildog1:
That's strange, I will take a look
[Android Software/Hacking General [Developers Only]] fire_stork:
How can I change sdktargetversion from 23 to 26 without crash?

I tried Apk Easy tool, change rebuild api level 26 but not working. pls help me

[IMG="change api 26"]https://i.imgur.com/6uZpn3Q.png[/IMG]