Questions tagged [apktool]

Apktool is a tool for reverse engineering 3rd party, closed, binary Android apps.

Apktool is a tool for reverse engineering 3rd party, closed, binary Android apps. It can decode resources to nearly original form and rebuild them after making some modifications; it makes possible to debug smali code step by step. Also it makes working with app easier because of project-like files structure and automation of some repetitive tasks like building apk, etc.

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

282 questions
2
votes
0 answers

Fail to execute "apktool if framework-res.apk"

I've updated the apktool to latest version(2.0.0-Beta9) , but it doesn't work. ▶ apktool if framework-res.apk Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x01030128 style/Theme.DeviceDefault,…
Andy Zhang
  • 21
  • 3
2
votes
3 answers

Apktool error on mac

When I try to run the apktool to decompile my apk it gives off an error: Exception in thread "main" brut.androlib.AndrolibException: brut.directory.DirectoryException: java.util.zip.ZipException: error in opening zip file at…
1
vote
0 answers

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, wght 400, ital 0.0, bestEffort false}.…
1
vote
0 answers

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 -sigalg SHA1withRSA -digestalg SHA1 -keystore…
Alex
  • 11
  • 1
1
vote
0 answers

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: deassemble the original apk - apktool…
1
vote
0 answers

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: Decoding AndroidManifest.xml with resources... I:…
git test
  • 408
  • 1
  • 5
  • 11
1
vote
0 answers

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 composer package manager for PHP…
Qoutroy
  • 93
  • 12
1
vote
1 answer

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 in my device and it is working fine. But now I…
Maradiya Krupa
  • 213
  • 1
  • 6
1
vote
0 answers

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 file from android to my computer. apktool decode…
James Welchman
  • 105
  • 1
  • 6
1
vote
0 answers

Please help if this is a decent translation to java of smali code

After googling and trying to understand basics of smali and java, I could come up with this. Please correct me where I have gone wrong. Original code: .method public Start()Z .locals 1 const-string v0, "ABC" invoke-static {v0},…
Mtoklitz113
  • 3,828
  • 3
  • 21
  • 40
1
vote
0 answers

Why do i get brut.androlib.AndrolibException-error while building apk-file with apktool?

I downloaded some app from Google PlayStore and dissasabled it with: $ apktool d my-app I: Using Apktool 2.5.0 on my-app.apk I: Loading resource table... I: Decoding AndroidManifest.xml with resources... I: Loading resource table from file:…
1
vote
2 answers

How to rename an apk package name with aapt / apktool?

I'm looking to rename an apk package name with existing tools like aapt or apktool. Found this question that is related : Rename package name using aapt I tried to adapt the command aapt p -f --rename-manifest-package com.mynewpackagename -M…
1
vote
1 answer

Determine build tools version from APK file

Is it possible given a released APK file to know the Android build tools version used, especially with utilities like zipalign and apksigner that has been applied to the APK file?
Nederealm
  • 447
  • 4
  • 15
1
vote
1 answer

How secure sensitive data in react-native app

In my application I have a connection with keycloak for get an API key and a secure storage to save the user data. How I can secure : the secret id need to connect to the keycloak the key to access the secure store I read different article but I…
HyperNovax
  • 116
  • 2
  • 12
1
vote
0 answers

Apktool removes boolean from static field when recompiled

I am getting very strange results using Apktool in windows: What I do: I decompile the original APK file - 1.apk in cmd using this command: apktool d 1.apk Then, without making any changes to any of the files, I compile the 1 folder again using…
BradG
  • 673
  • 1
  • 14
  • 26