yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] cge_95:
Hi [MENTION=4623971]evildog1[/MENTION],

The french error in the log "le fichier spécifié est introuvable" means "Specified file can not be found"

I've tried using batch mode and it fails with the same error:

15/06/2020 20:27:08,06
Compiling APK file...

I: Using Apktool 2.4.1
brut.directory.DirectoryException: java.nio.file.NoSuchFileException: D:\Logiciels\T+®l+®phone\Tools\apktool\waze_4_63_90_900

Finally I just rename the path using "Telephone" instead of "Téléphone" and it works...

Christophe
[Android Software/Hacking General [Developers Only]] evildog1:
Float types not allowed

This is new error.

Can you tell me the name of the app or tell me via private message? I need to test and maybe report bug via Github page
[Android Software/Hacking General [Developers Only]] Michele_Catella:
Hey elivdog1, can you make a Linux version of this fantastic tool? :)
[Android Software/Hacking General [Developers Only]] DragonPitbull:
Thanks for the tool. My question is if these tool can work with Pie or Q files.

I'll test soon..
[Android Software/Hacking General [Developers Only]] evildog1:
I would love to but porting is not easy yet, and I don't have enough knowledge porting it manually and how linux system works. The thing is Microsoft do not bother making GUI support of .NET Core for Linux. They are too way far behind than Unity engine which is mono based, can programming in C# too and they already support Linux years ago

For now you can use Wine https://www.winehq.org/ but it may or may not able to run properbly

APK Easy Tool is just a 3rd party tool that launches executeable files. Anyone can do this easy enough with their favorite programming languages

But let me know if there is an alternative tool that works good on Linux :)

They will work on Pie and Q for sure. If got any issues, be sure to search the issue on Github for more infomation https://github.com/iBotPeaches/Apktool/issues
[Android Software/Hacking General [Developers Only]] Vanavline:
I want to donate PayPal donation for any pro user can help me, I want to change package mane and each time I see forced stop after installing the app and I don't know what is the problem

Any one professional can explain me step by step

DM me and send me private message!

thanks
[Android Software/Hacking General [Developers Only]] g9m:
Ok. I tried again and after some fail i could successfully compile the modified .apk

Sadly when I try to install it I have the same error. It don't let me install it.

There is some "double check" of the version?

Something else i need to change?

Thank you
[Android Software/Hacking General [Developers Only]] HafidzRadhival:
interested .
[Android Software/Hacking General [Developers Only]] goofwear:
Thanks [MENTION=4623971]evildog1[/MENTION] for the great tool. I am also glad this is still being maintained.
[Android Software/Hacking General [Developers Only]] kalmena:
decompile

Hello

I get this error, when I want to decompile a system app, how can I solve it?

7/9/2020 11:30:54

Decompiling APK file...

/c "java -Xmx1024m -jar "C:\Users\kalel\Desktop\APK Easy Tool\Apktool\apktool_2.4.1.jar" d -f -o "C:\Users\kalel\Desktop\APK Easy Tool\1-Decompiled APKs\Camera" "C:\Users\kalel\Desktop\Camera2\Camera.apk" -p "C:\Users\kalel\Desktop""

I: Using Apktool 2.4.1 on Camera.apk

I: Loading resource table...

I: Decoding Shared Library (com.mediatek), pkgId: 8

I: Decoding Shared Library (com.qphone), pkgId: 3

I: Decoding AndroidManifest.xml with resources...

I: Loading resource table from file: C:\Users\kalel\Desktop\1.apk

I: Regular manifest package...

I: Decoding file-resources...

W: Could not decode attr value, using undecoded value instead: ns=, name=style, value=0x080f0000

W: Could not decode attr value, using undecoded value instead: ns=, name=style, value=0x080f0000

W: Could not decode attr value, using undecoded value instead: ns=, name=style, value=0x080f0000

W: Could not decode attr value, using undecoded value instead: ns=, name=style, value=0x080f0000

I: Decoding values */* XMLs...

Can't find framework resources for package of id: 8. You must install proper framework files, see project website for more info.
[Android Software/Hacking General [Developers Only]] laugeek57:
Thanks for this app :)

I use for resurrect an old Razer 2 Dolby Atmos from GH module by tinkering with apk compatible with ... ;)
[Android Software/Hacking General [Developers Only]] evildog1:
You need to install framework that you pulled from your device or your ROM

If it still won't work, report an issue to https://github.com/iBotPeaches/Apktool/issues (test on apktool.jar on CMD before report an issue)
[Android Software/Hacking General [Developers Only]] kalmena:
deodex
[Android Software/Hacking General [Developers Only]] kalmena:
recompile

Why do I get this when I recompile?

I: Using Apktool 2.4.1

I: Checking whether sources has changed...

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

I: Checking whether resources has changed...

I: Building resources...

W: C:\Users\kalel\Desktop\original system\Settings\res\values\public.xml:383: error: Public symbol drawable/lockscreen_default_preview declared here is not defined.

brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\kalel\AppData\Local\Temp\brut_util_Jar_3889633367201026779.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 23, --version-code, 23, --version-name, 6.0-1560838724, --no-version-vectors, -F, C:\Users\kalel\AppData\Local\Temp\APKTOOL6241112453471702820.tmp, -e, C:\Users\kalel\AppData\Local\Temp\APKTOOL4618048414508971372.tmp, -0, arsc, -I, C:\Users\kalel\AppData\Local\apktool\framework\1.apk, -S, C:\Users\kalel\Desktop\original system\Settings\res, -M, C:\Users\kalel\Desktop\original system\Settings\AndroidManifest.xml]
[Android Software/Hacking General [Developers Only]] evildog1:
You need to install framework that you pulled from your device or your ROM. You may need 2 or more frameworks depending on the ROM

I'm not expert in ROM development anyway. Ask on appropriate thread about your device or just ask on this section https://xdaforums.com/android

If anything else don't work, report an issue to https://github.com/iBotPeaches/Apktool/issues (test on apktool.jar on CMD before report an issue)
[Android Software/Hacking General [Developers Only]] ALWA7SH6:
Can I change targetSdkVersion of an APK using Apktool?

https://serving.photos.photobox.com/7030278082adc66e5c3e8910e16b4be39996eac23880aa4cd0a50de1258d2bb3322202b0.jpg
[Android Software/Hacking General [Developers Only]] ALWA7SH6:
any ides pls?
[Android Software/Hacking General [Developers Only]] ALWA7SH6:
allooooo plzzzzzzzzzz heeelllppp
[Android Software/Hacking General [Developers Only]] vdbhb59:
Yes, you can, but the compatibility and required framework will be your work to ensure building is as per target.
[Android Software/Hacking General [Developers Only]] NewtoneMr:
Hello. I don't know if this is a good place for this type of question ...

Does anyone know why translation files in the application are not working?
[Android Software/Hacking General [Developers Only]] robert13267:
error compile

I: Using Apktool 2.4.0

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

I: Building resources...

W: D:\AET 2020\APK Easy Tool v1.57 Portable\1-Decompiled APKs\StarWars\AndroidManifest.xml:7: error: No resource identifier found for attribute 'isSplitRequired' in package 'android'
[Android Software/Hacking General [Developers Only]] vdbhb59:
Put that attribute as False or remove the attribute if need be. Then try.
[Android Software/Hacking General [Developers Only]] ALWA7SH6:
how?
[Android Software/Hacking General [Developers Only]] vdbhb59:
In the manifest file see line 7 or where you have Split mentioned. There change the value or leave it blank.
[Android Software/Hacking General [Developers Only]] marcussacana:
It's funny how a decompiler tool don't wants to be decompiled, looks like I will need use the CLI because of this trashy obfuscator that don't let me fix a bug in the wine.

Do you really think put obfuscator will prevent stolen credits?

with like 30m I can do a hook to the winforms api and modify what I want in the application ui, the obfuscator just prevent me for do cool modifications like a fix to the wine, good work :good:
[Android Software/Hacking General [Developers Only]] evildog1:
It was working on Wine, last time i tested. I would need to check it again

Disrespecting developer's hard work does not belong here! I know obfuscator can be bypassed anytime but i did this on purpose to prevent modifications kiddies like you do

Other xda devs are obfuscating their tool like XperiFirm too, we should respect their work in the XDA community
[Android Software/Hacking General [Developers Only]] marcussacana:
Don't need check again, i don't even want try lost my time with this again.
[Android Software/Hacking General [Developers Only]] EddieFriday:
I decompiled an apk app using the tool and recompile it back but when I tried to install it on phone it says "app not installed"

How to solve this problem?
[Android Software/Hacking General [Developers Only]] evildog1:
Sign the apk. You can also drag and drop the recompiled APK on "sign APK" button
[Android Software/Hacking General [Developers Only]] ivexsa:
help me, please

Hi, guys,

I'm trying to unpack and pack apk (apk is the radio and I want to modify colours and some image png). It's a px5 device with android 10 and the apk is not installed although I have no error when unpacking and repacking. I have the android 10 framework-res.

I had done it without problems with android 9 foot apk.

Someone can help me. Has anything changed with android 10?

thanks

PD: sorry for my english use translator
[Android Software/Hacking General [Developers Only]] evildog1:
I'm not the master of framework.

You should ask on this thread https://xdaforums.com/android-auto/mtcd-software-development

And try use Tickle​ My Android which is more focused on framework and system apps https://xdaforums.com/showthread.php?t=1633333
[Android Software/Hacking General [Developers Only]] abfxta:
Error when signed after Decompile

Hi all,

After I have decompiled and modified code, I couln't signed

I have been upgrade Java Max heap size to: 1024 -> 1536 ->2048 but it's still error!

Please tell me why, thank you.
[Android Software/Hacking General [Developers Only]] ivexsa:
Thank you for responding:

My problem is not with framework.

I decompile an apk, I modify anything. I copile. All this without errors. When I want to install the apk in my head unit (car radio) it doesn't install. The car radio has recently installed Android 10.

My question is, if something has changed? because I used to do the same thing and install it on the car radio with android 9, without any problem.

thanks for your help

Translated with www.DeepL.com/Translator (free version)
[Android Software/Hacking General [Developers Only]] evildog1:
Please show me your command from the log that looks like

/c "java -Xmx1024m -jar "D:\APK Easy Tool\Resources\ApkSigner.jar" sign --key "D:\APK Easy Tool\Resources\apkeasytool.pk8" --cert "D:\APK Easy Tool\Resources\apkeasytool.pem" --out "E:\the apk signed.apk" "E:\the apk.apk""

Try sign the APK file.

Other than that I don't know, I heard that some car units comes with installation restrictions like Honda units. So I suggested to ask on other sections to see if they have same problem.

This thread is for support with tool only :D
[Android Software/Hacking General [Developers Only]] ivexsa:
My head unit has no installation restrictions if no alloy.

In fact, the installation begins and when the end is reached, a message appears: the application has not been installed. If you installed the original apk, it will be installed without any problems.

The modified apk is signed

That's why I was asking if Android 10 has any peculiarities or if I have to modify something in apk easy tool.

Before with android 9, I modified the apk (radio, music, etc...) without problems with the apk easy tool utility.

Can you think of anything?

thanks

Translated with www.DeepL.com/Translator (free version)
[Android Software/Hacking General [Developers Only]] abfxta:
Hi evildog,

It's ok if apk size under 100Mb! I have been changed apktool 2.4.0-2.4.1; max heap size 1024-1536-2048; jre1.8.0_151,....

Here is my log
[Android Software/Hacking General [Developers Only]] evildog1:
You sure you have signed the APK correctly? Send me APK so I can verify.

You can try switch apktool between 2.3.4, 2.4.0 and 2.4.1 see if it makes difference. You will need to clear framework and decompile everytime you switch version

Also try use apktool.jar in CMD or Powershell instead

Tip. Drag the file onto it to write down the file path for you

Decompile

java -jar apktool.jar d "pathtothe.apk"

Make changes then compile

java -jar apktool.jar b "pathtothe.apk"

Then sign the APK using APK easy tool

Hmm try 4096 maybe?

You could copy the command from your log and paste it in CMD or Powershell to see if it works

Like this:

java -Xmx1536m -jar "C:\Program Files (x86)\APK Easy Tool\Resources\ApkSigner.jar" sign --key "C:\Program Files (x86)\APK Easy Tool\Resources\apkeasytool.pk8" --cert "C:\Program Files (x86)\APK Easy Tool\Resources\apkeasytool.pem" --out "D:\SrcG\VLM\VLM192.168.1.166 signed.apk" "D:\SrcG\VLM\VLM192.168.1.166.apk"
[Android Software/Hacking General [Developers Only]] abfxta:
Hi evildog1,

Can't up to 4096 -> The specified size exceeds the maximum representable size.

I have been uninstalled Java 32bit, and install 64bit, it's working!

Anyway, many thank you for your support.
[Android Software/Hacking General [Developers Only]] evildog1:
Ahh nice find! Obviously Java online installer should detect and install correct version lol

I edited the FAQ :)

Also I made the thread about apktool.jar errors. Not perfect but useful. Check it out https://xdaforums.com/android/software-hacking/apktool-jar-common-errors-solutions-t4185443/

I'm now working with this tool but I focus more on stability, remove some features and clean up in order to maintain the project properly. This tool is quite mess to be honest :D
[Android Software/Hacking General [Developers Only]] TheViciousGames:
I still cannot compile SecSettings.apk from Samsung.
[Android Software/Hacking General [Developers Only]] Cerberus007:
Would be nice to know the error codes thrown and also the version of android that is on your Samsung...
[Android Software/Hacking General [Developers Only]] TheViciousGames:
java.lang.UnsupportedClassVersionError: brut/apktool/Main : Unsupported major.minor version 52.0

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

at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)

at java.lang.ClassLoader.defineClass(ClassLoader.java:615)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)

at java.net.URLClassLoader.access$000(URLClassLoader.java:58)

at java.net.URLClassLoader$1.run(URLClassLoader.java:197)

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

at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

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

Exception in thread "main"

Android 10
[Android Software/Hacking General [Developers Only]] Cerberus007:
Do you have java jdk 8 64 bit on 64 bit OS? You need java jdk 8 for apktool to run correctly with the correct java jdk 8 platform.
[Android Software/Hacking General [Developers Only]] TheViciousGames:
Yes I do,everything else is working (IntelliJ,Android Studio,etc).
[Android Software/Hacking General [Developers Only]] Cerberus007:
Have you tried the dev build of apktool? You can install git and follow build instructions on https://ibotpeaches.github.io/Apktool/build/. There have been lots of fixes done in the last three days.
[Android Software/Hacking General [Developers Only]] Cerberus007:
Usually points to an unsupported java version. Make sure you are using version 8 (52). If you are then check you system environmental variable and make sure it is version 8 (52) as well. 52=version 8

If need be I have a batch file I can share with you to list and modify system environmental variable you select. Just let me know.
[Android Software/Hacking General [Developers Only]] evildog1:
I usually uninstall all java versions which also removed the environmental variable, and install java 8 or JDK 8 back with environmental variable auto set. It had solved the problem for me
[Android Software/Hacking General [Developers Only]] AdamMs16:
Hi i have a problem with Decompile APK

here the screenshot log

i use windows 10 Pro

i have java

and this hppend again and again

here link to apk

download brawl stars free (android) (uptodown.com) View attachment 5146495
[Android Software/Hacking General [Developers Only]] evildog1:
Enable "Only disassemble the main dex classes (classes[0-9]*.dex) in the root" in Options -> Apktool

Read FAQ next time. The log clearly tells you to read but you obviously didn't -_-
[Android Software/Hacking General [Developers Only]] AdamMs16:
Hey thanks for the quick answer. I'm not very savvy about English. What do I need to do to decompile this APK
[Android Software/Hacking General [Developers Only]] evildog1:
Go to Options -> Apktool and enable "Only disassemble the main dex classes (classes[0-9]*.dex) in the root".
[Android Software/Hacking General [Developers Only]] AdamMs16:
Thanks a lot, you saved my day. :)
[Android Software/Hacking General [Developers Only]] evildog1:
APK Easy Tool v1.58 (2020-12-03) released!

Note:

- The tool has become a bit too advanced so we remove some features to keep it simple and to proper maintaining

- As of apktool.jar 2.5.0, 32 bit support is deprecated. Once 32 bit support is removed from apktool, APK Easy Tool will also have 32 bit support removed. 32 bit is dead now

Changelog:

- Updated apktool.jar to 2.5.0

- Language improvements

- Updated adb, zipalign, aapt, apksigner from Android SDK 30.0.2

- Logs and history now stored in temp folder C:\Users\(username)\AppData\Local\Temp\AET. They should be stored temporary, not permanently. You can also use any disk cleaner to clear your temp folder which also clears APK Easy Tool's icon cache, logs and history

- Added signature signing options. v4 signing disabled by default so it doesn't create useless .idsig file

- "Only disassemble the main dex classes" is on by default due to annoying smali_assets/assets.dex error on some APKs

in the root. [v2.4.1+]

- Switched back to aapt 1 due to some issues getting APK info

- Default heap is 2048m

- Fix icon loading for decompiled APK

- Fix framework installation path

- Temporary disabled CMD mode, may be removed in next updated. New way to execute CMD is being improved.

- For more privacy, logs will only save if an error occured. You can still clear the log anytime

- Portable Java path has changed. Select java.exe instead the bin folder

- You can press ESC to cancel which would kill process of java.exe, adb.exe, zipalign.exe and 7z.exe. This is not recommended to do

- Added status bar. It's easier to work with it than custom yellow notice bar

- Removed log date. I don't think anyone will ever look back of their logs

- Removed log level

- Removed replace spaces with underscore. You can use PowerToys which has PowerRename that does the job

- Removed signapk.jar since it's too old and slow

- Removed ZIP signing since not many using this much. APK Easy Tool should be more focused on APK. Please use an alternative tool for ZIP signing https://xdaforums.com/android/software-hacking/tool-zip-builder-v4-2-1-build-sign-t3739556

- Removed quick options because the UI looking bit awkward. It should be simple and more space for multi-languages

- Removed disable tooltip checkbox. Now it is always shown
[Android Software/Hacking General [Developers Only]] evildog1:
View attachment 5146721
[Android Software/Hacking General [Developers Only]] Mahanam:
@evildog1

hi sir, pls help

error:

"Error occurred during initialization of VM

Could not reserve enough space for 2097152KB object heap

Decompile successful"

View attachment 5147085
[Android Software/Hacking General [Developers Only]] evildog1:
Uninstall all java versions and install 64-bit version from java.com (Windows Offline (64-bit)) https://java.com/en/download/manual.jsp

Also try decrease heap size to 1024 in Options. Didn't expected that 2048 didn't worked well
[Android Software/Hacking General [Developers Only]] cge_95:
Hi @evildog1 , thanks for this new version of your tool.

Decompile/compile using Drag and drop doesn't work anymore, is that expected ?

Christophe
[Android Software/Hacking General [Developers Only]] yiyubinglan:
@evildog1

View attachment 5148087

Don't know why switching languages doesn't work...?

View attachment 5148089
[Android Software/Hacking General [Developers Only]] evildog1:
Don't run it as administrator. Windows does not support drag and drop if running as administrator

Works fine for me. Read the log and see if there are any errors

View attachment 5148329
[Android Software/Hacking General [Developers Only]] yiyubinglan:
OK, it was solved after re-downloading
[Android Software/Hacking General [Developers Only]] evildog1:
Perfect! If got any other bugs, tell me :)
[Android Software/Hacking General [Developers Only]] yiyubinglan:
It used to be a format error caused by translation. Now it has been fixed and the new version of the text has been completed.

Thanks again!

View attachment 5148481

View attachment 5148487
[Android Software/Hacking General [Developers Only]] yiyubinglan:
Cancel

It seems that the dialog cannot be closed, the upper right corner can

View attachment 5148489
[Android Software/Hacking General [Developers Only]] evildog1:
Lol i forgot to disable dev dialog :LOL:

This keystore dialog will work properly if you sign an APK file with your keystore
[Android Software/Hacking General [Developers Only]] tamokrist:
View attachment 5149433:cry:
[Android Software/Hacking General [Developers Only]] tamokrist:
View attachment 5149439
[Android Software/Hacking General [Developers Only]] evildog1:
I'm not sure if apktool.jar detect 32-bit OS or 32-bit Java

Is your system 32-bit? Read this how to know https://support.microsoft.com/en-us...uestions-c6ca9541-8dce-4d48-0415-94a3faa2e13d

If not, please uninstall Java 32-bit version and all other versions, and install Java 64-bit version (Windows Offline (64-bit)) https://java.com/en/download/manual.jsp or install JDK 8 64-bit (Windows x64) https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html . Java and JDK does not matter for apktool

Also READ FAQ next time, the log told you that https://xdaforums.com/t/tool-windows-apk-easy-tool-v1-58-3-dec-2020.3333960/post-65775601
[Android Software/Hacking General [Developers Only]] paolocorpo:
Dear

First tof all thanks for the sw

I have installed and I am trying to use it

I have read your FAQ but nevertheless I am not able to understand this error message:

Input file (C:\MINIMED\MiniMedT_Mobile_base.apk) was not found or was not readable.

Decompile successful.
[Android Software/Hacking General [Developers Only]] evildog1:
Hmm, I tried to reproduce this location. It appear to be working fine for me.

Is your APK file clean? send me APK via private message if you want me to check

Also can you show me command log that looks like this?

/c "java -Xmx2048m -jar "D:\APK Easy Tool\Apktool\apktool_2.5.0.jar" d -b -f --no-assets --only-main-classes -o "D:\APK Easy Tool\1-Decompiled APKs\MiniMedT_Mobile_base" "C:\MINIMED\MiniMedT_Mobile_base.apk""
[Android Software/Hacking General [Developers Only]] paolocorpo:
Thanks bro

You have a privat message with attached the .apk file and the log file

Waiting your suggestion

P