Questions tagged [apktool]
Apktool is a tool for reverse engineering 3rd party, closed, binary Android apps.
286
questions
0
votes
1
answer
21
views
Apktool Error Caused by: org.jf.util.ExceptionWithContext: Error while writing instruction at code offset 0x2
Hello guys i Decompiled an apk using apktool in linux and i've done some changes not much actually and i'm very sure there's nothing wrong in my files but when i'm recompiling the apk again i get an ...
0
votes
1
answer
41
views
Decompiled APK with apktool has hex digits in AndroidManifest.xml
I tried to decompile the apk with apktool, modify it a bit, and re-build the apk.
Here is what I've tried:
apktool d viber.apk
Modified res/xml/android_backup_rules_api31.xml and res/xml/...
-2
votes
1
answer
67
views
how do i convert Smali files to readable classes
so i have used apktool to convert an .apk file basically reverse re-engeneering but the classes have come in smali files which is hard to interprate.how do i convert the files to readable code
i have ...
0
votes
0
answers
28
views
java.lang.IncompatibleClassChangeError: Found interface com.android.launcher3.util.FlagOp, but class was expected
I'm trying to mod an launcher application and I'm currently stuck at this error java.lang.IncompatibleClassChangeError: Found interface com.android.launcher3.util.FlagOp, but class was expected which ...
0
votes
1
answer
62
views
Decompile android APK with Apktool for analysis?
On apktool homepage apktool.org it say.
Not interested in rebuilding? Just attach -a to any command. Apktool
will do its best to rip apart the resources and manifest for easy
inspection.
I tried ...
0
votes
1
answer
33
views
What is the purpose of signing .apk files?
I read that .apk files have to be signed for the security reasons, but how does it prevent me from using apktool to add anything I want to the .apk and then using a different tool to sigh it and then ...
0
votes
1
answer
245
views
Recompile an apk without changing the signature
I am trying to change the name of the app using its APK, but the problem is when I decompile\recompile it (using apkeasytool) and install it, it crashes.
This behavior could be because when the app ...
0
votes
0
answers
42
views
What is the .bundle file extension in apk?
I was wondering what the .bundle file extension is when you unzip a apk file.
Are a developer even able to view these files?
0
votes
0
answers
16
views
why signed and zipped app not installed on Android 11? [duplicate]
I disassembled the app using apktool and further reassembled it.
After I signed it with signapk, but the app did not install on my Android 11 phone, although it did install on my Android 9 emulator. I ...
0
votes
0
answers
56
views
Delete or Change resource files from apk
is there any way to delete or change resource files (in my case some mp3 files) in an apk file?
I have an App installed, which has a horrible alarm sound, which i can not turn off.
I tried to ...
-1
votes
1
answer
2k
views
how to fix this error : zipalign: symbol lookup error: zipalign: undefined symbol: _zn11zip_archive7inflateerkns_6readerejjpns_6writerepm
When i run the zip command into my linux machine it can not work and give me the error message above
I un apt-get update, apt-get upgrade, remove the libbacktrack.so.0 file and replace it with a new ...
0
votes
0
answers
66
views
Description of the convert from AAB to APK
I am needing to know about the description of the process of converting from AAB to APK. In addition, I also want to know if each tool like apk tool or bundletool does different jobs
I tried to learn ...
0
votes
0
answers
26
views
Requesting Assistance in Modifying the Supported Version of an App
I'm a newbie in coding. I downloaded an APK that runs on top of another APK, but it doesn't support the version of the APK I'm currently running. I would like to modify the supported version so that I ...
0
votes
0
answers
382
views
I use APK-MITM for Inspecting a mobile app's But i have error how fix?
this is error form APK-MITM
I: Using Apktool 2.6.1
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether sources has changed...
I: Smaling ...
0
votes
0
answers
89
views
How to add certificate check in the reversed smali code with apktool
i new in Rev Eng, i am looking for a way to shield my apps from tampering or reverse engineering therefore i want to add a smali function that closes the app if the certificate was changed.
If anyone ...
0
votes
0
answers
97
views
How to pull the full version of an app on Android?
I'm having a hard time extracting APKs from my phone through ADB.
I tested my method with a random app: 2FAS
First, I use the command: adb shell pm list package to get the list of apps from my phone.
...
0
votes
0
answers
170
views
What's causing Brut.Androlib.AndrolibException error when trying to decompile an apk using Apktool.jar in Android Studio?
error apktool error: brut.androlib.AndrolibException: brut.directory.DirectoryException: file must be a directory
I was trying Decompiler apk
In my app. I include Apktool.jar in the lib file. But it ...
0
votes
0
answers
197
views
resource 'drawable/$avd_hide_password__0' has invalid entry name '$avd_hide_password__0 using aapt2 command?
I am trying to compile the apk file resources using aapt2 command but I am getting error "has invalid entry name '$avd_hide_password__0:" Please help me to resolve this issue.
C:\IMS\Demo>...
0
votes
1
answer
435
views
How do I reverse engineer these resource files into their original resource?
I've been reverse engineering a .apk file with the intent of getting it to a project file, or as close as I can. This means that I'll have all the source code files and assets, etc.
After running ...
0
votes
0
answers
217
views
Apktool error when recompiles: error: No resource identifier found for attribute 'allowNativeHeapPointerTagging' in package 'android'
I'm trying to reverse an apk file using Parrot_os, but I receive this error. I manage to decompile and recompile the file only if I use "apktool d -r file.apk". Unfortunately, when I use -r ...
1
vote
0
answers
352
views
App crash on rebuild without any change using apktool and apklab
I am trying to rebuild apk after decompiling using apktool and apklab but app crash on splash screen. Following exceptions occur in logcat
Error updating last accessed time for {Google Sans, wdth 100....
0
votes
0
answers
445
views
APK dex file Encryption
How can I amend an Apk DEX file?
Steps
Decompile an original signed Apk file into archive file(including Smali DEX file, rescources, assets, lib etc)
Seperate the original DEX file apart from other ...
0
votes
1
answer
236
views
Recompiling apk with apktool
When I try to use apktool b .apk, it shows the following error:
I: Using Apktool 2.7.0
I: Checking whether sources has changed...
I: Checking whether sources has changed...
I: Checking whether sources ...
0
votes
1
answer
291
views
I compiled an app with apktool_2.6.1 and i didn't make any changes to the app but when i run : apktool b app.apk
I got the following error:
invalid resource directory name: C:\Users\test\Documents\APK Easy Tool\1-Decompiled APKs\com.app.app2\res navigation
brut.androlib.AndrolibException: brut.common....
0
votes
0
answers
60
views
Apktool weird characters on JSON
So i was trying to edit an apk, decompile it using apktool and works great.
some files are readable human language but the problem is that all of the json file is unreadable with unknown symbols and ...
0
votes
0
answers
83
views
Resigning modded APK (Snapchat) breaks app login/register
So I extracted the latest Snapchat version using APKLab (VSC Extension), which initially makes use of APKTool. I'm signing the modified APK, installing it on an emulator, and run the app. Working fine....
0
votes
0
answers
177
views
Android reverse QT project
I'm new to Android reverse engineering and for this QT Android project I've tried using apktool to modify the resource files, JADX to decompile the Android Dex & Apk into Java source code and ...
0
votes
0
answers
53
views
I want to disable Clear Data button on Firefox or Kiwi Apk
im editing this Kiwi.apk because i want to be able to prevent that people go to manage apps in settings and clear data on this app
the reason why is because of the extensions that i can install.
it ...
1
vote
0
answers
311
views
apktool decompile, rebuild, rename, sign - App not installed
I have this problem with apktool.
what I do:
apktool d [anyapp from Apkpure].apk
apktool b app
cd ./app/dist
mv app.apk package_name.apk (from AndroidManifest (package attribute))
jarsigner -verbose -...
0
votes
0
answers
122
views
Is there a way to use android studio just to maintain and update drawables on an existing APK?
I would like to update a particular abandoned app with newer good quality drawables without actually changing the codebase of the app - just the resources.
My goal is to replace most of the .pngs with ...
-1
votes
2
answers
1k
views
apk failed on android 12
Last week I passed from a Android 10 phone to Android 12.
I had some apks decompiled/recompiled with apktool and autosigned with jarsigner, and in Android 10 I could installed them, but in Android 12 ...
1
vote
0
answers
219
views
Signing an 3rd partry apk with v2 signing scheme
Recently I have been trying to debug a 3rd party android application using a variery of tools.
I have followed the directions in this video. These were the main steps presented in the attached video:
...
1
vote
0
answers
195
views
AndroidManifest.xml.orig: Operation not permitted in Apktool
I want to edit an APK file, for this purpose I use the following command in Linux (Kali):
apktool d ed28.apk
and result is:
I: Using Apktool 2.6.1-dirty on ed28.apk I: Loading resource table...
I: ...
-1
votes
1
answer
77
views
Recompiled APK doesn't get Update from Google Play
I de-compiled APK using APKtool and did not change anything latterly nothing has been change and then I recompiled the APK and install it and everything working fine. However when I try to update the ...
0
votes
2
answers
478
views
How to bypass isFromMockProvider() in Smali
I tried to edit source code of an app which is used to locate servants
It has a function or parameter "isFromMockProvider()"
I guess this one is the culprit
I want to bypass it
So that App ...
0
votes
0
answers
413
views
How can I open a folder of APK files and decompile it automatically using APKtool?
APKtool allows you to decompile an APK file one by one but I am trying to open a folder with 500 APKs and decompile them automatically without having to manually enter each file name. How can I do ...
0
votes
1
answer
408
views
could install flutter apk in android studio
I am trying to install and run apk file in android emulator.After installed,Application is not running.
Here is information:
1.Pixel5_API_28
E/FlutterLoader: Flutter initialization failed.
at io....
0
votes
0
answers
66
views
Building decompiled APK in Android Studio
I purchased a smart medical device by a company called Contec to help monitor my grandfather's health (specifically, a urinalysis tester - he has kidney failure). The device is great, but the Android ...
0
votes
1
answer
432
views
apktool under Ubuntu 18.04 - brut.directory.DirectoryException: file must be a directory
Ubuntu 18.04 install via Ubuntu Software apktool-new version 2.4.1
/snap/apktool-new/2/bin# ./apktool d /home/myhome/mytemp/test.apk
gives: Exception in thread "main" brut.androlib....
0
votes
2
answers
2k
views
Apktool Not Building Simple Decompiled Android Studio APK
I have created very simple android studio project and modified nothing. Apk is get successfully decompiled using command apktool d test1.apk but when i do build the decompiled directory using command ...
1
vote
0
answers
137
views
What are .composermodule-files and what do they do in the Snapchat APK?
I'm looking into the snapchat APK. I used apktool to decompile the APK-file and found a bunch of .composermodule files in the assets folder. I have tried googling but all results point towards the ...
0
votes
1
answer
2k
views
How to edit android manifest for android apk and rebuild it for chrome app
I am trying to edit AndroidManifest.xml for chrome app using apktool
Using the below command to decompile the jar, I am able to get the AndroidManifest.xml file and edit file to remove android:...
0
votes
1
answer
747
views
bundletool build-bundle error: [BT:1.8.2] Error: Version code not found in manifest
I am trying to turn an apk into aab, decompile with apktool, and build with aapt2 and bundletool (all in command line, without gradle).
After decompile, aapt2 compile and link looks good, but when I ...
1
vote
1
answer
1k
views
Protect APK from resigning with different keystore
I have just decompile my signed apk using apkTool and resigned new apk with different keystore using the same decomplied class folder. And then tried to install and override the older apk with new apk ...
0
votes
1
answer
349
views
Injecting class into the JNIEnv in android jni
C++ code:
extern "C" JNIEXPORT void JNICALL
Java_com_example_afl_MainActivity_stringFromJNI(
JNIEnv* env,
jobject /* this */) {
// env->DefineClass(...)
}
I'm ...
0
votes
1
answer
208
views
How to get dex file from apk when using v2 signature?
I hava an apk file.
When the apk is used v1 signature, it is ok when unzip an apk file. But when using v2, unzip fails.
How can i get the original dex file?
What i want to do is to modify the dex with ...
1
vote
0
answers
662
views
How to pull, decompress, sign, build and install APK file with native libraries?
I'm trying to pull an APK file, modify it, then re-install to phone. I'm using adb, apktool and jarsigner. I'll call the APK file, 1.arm64_v8a.apk.
adb pull /data/ .. /1.arm64_v8a.apk to pull the ...
0
votes
1
answer
516
views
Apktool not compiling APK file, no dist folder created
I tried compiling an app with apktool by doing this command: apktool b hw, but no dist folder or apk is created. I don't know what the issue is, as it only gives warnings, no errors. The hw folder is ...
0
votes
1
answer
134
views
Avoid signing of apk with different keystores/certificates
Im working on a react-native android application in which I have decompiled the generated signed apk, made the changes in the code and recompiled the apk back with apktool and signed the same apk with ...
0
votes
0
answers
480
views
My app exit when I decompile and recompile the smali file called classes.Dex with apktool and backsmali tools
iam getting this error after i recompile dex file.
i used : apktool d --no-src --no-res original.apk -o decompiled
the application decompiled succesfully then i used : java -jar baksmali-2.5.2.jar d ...