11

[UTIL][SEP 2, 2021] Apktool - Tool for reverse engineering apk files

 3 years ago
source link: https://forum.xda-developers.com/t/util-sep-2-2021-apktool-tool-for-reverse-engineering-apk-files.1755243/page-300#post-86232551
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

a9381

Member

Oct 1, 2021

yes,
i'm know how to search in google
but, this need a file - signapk.jar, that i cna't find....
thank!
yes,
i'm know how to search in google
but, this need a file - signapk.jar, that i cna't find....
thank!
github.com

GitHub - techexpertize/SignApk: SignApk is used to sign the apk file after repack. The easiest way ever.

SignApk is used to sign the apk file after repack. The easiest way ever. - GitHub - techexpertize/SignApk: SignApk is used to sign the apk file after repack. The easiest way ever.

github.com

github.com

Reactions: a9381

todarkness

Senior Member

Oct 19, 2014

I decompiled a gcam port APK with APKTool 2.6.0. No Errors.
disabled signature check in the smali file to make it not crash on start.
Recompiled the APP and signed it. Again No Errors.

the app launches and i can give permissions in android, but directly after the permissions are granted, the app crashes and the viewfinder doesn't display an image either.

So there is a problem with the decompilation and recompilation. but i can't find the exact reason
I decompiled a gcam port APK with APKTool 2.6.0. No Errors.
disabled signature check in the smali file to make it not crash on start.
Recompiled the APP and signed it. Again No Errors.

the app launches and i can give permissions in android, but directly after the permissions are granted, the app crashes and the viewfinder doesn't display an image either.

So there is a problem with the decompilation and recompilation. but i can't find the exact reason
Need a log to see why it crashes.

Reactions: Ibuprophen

dovedescent7

Senior Member

Jun 18, 2011

Hello, i noticed your warning in the OP.
I'm new to playing around with decompiling apks and dont know much about piracy.
Were you warning about piracy because someone has the ability to remove google/ads from an Apk and recompile with this tool?
  • If i were just wanting to test this software to see if i could remove google ads from an apk, ONLY for testing, could this tool do that? Remove ads by decompile and change ID (i forget which) then recompile?

MartK87

Senior Member

Jun 10, 2013

Any idea how to sort this one out?

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

Executing command: java.exe -jar "C:\APK Easy Tool v1.59.2 Portable\Apktool\apktool_2.5.0.jar" b -f -o "C:\Users\Tim\OneDrive\Documents\APK Easy Tool\2-Recompiled APKs\Dialer.apk" "C:\Users\Tim\OneDrive\Documents\APK Easy Tool\1-Decompiled APKs\Dialer"

I: Using Apktool 2.5.0
I: Smaling smali folder into classes.dex...
I: Building resources...
W: C:\Users\Tim\OneDrive\Documents\APK Easy Tool\1-Decompiled APKs\Dialer\res\values\styles.xml:25: error: Resource entry AlertDialogTheme already has bag item android:textColorPrimary.
W: C:\Users\Tim\OneDrive\Documents\APK Easy Tool\1-Decompiled APKs\Dialer\res\values\styles.xml:24: Originally defined here.
W:
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Tim\AppData\Local\Temp\brut_util_Jar_44856206474251459993286310092082849034.tmp, p, --forced-package-id, 127, --min-sdk-version, 30, --target-sdk-version, 30, --version-code, 2900000, --version-name, 23.0, --no-version-vectors, -F, C:\Users\Tim\AppData\Local\Temp\APKTOOL4078868964259643472.tmp, -e, C:\Users\Tim\AppData\Local\Temp\APKTOOL4556495980648401949.tmp, -0, arsc, -I, C:\Users\Tim\AppData\Local\apktool\framework\1.apk, -S, C:\Users\Tim\OneDrive\Documents\APK Easy Tool\1-Decompiled APKs\Dialer\res, -M, C:\Users\Tim\OneDrive\Documents\APK Easy Tool\1-Decompiled APKs\Dialer\AndroidManifest.xml]
Compile failed

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK