https://github.com/skylot/jadx for dex decompiling, no need to convert to jar with dex2jar https://github.com/pxb1988/dex2jar
https://www.evilsocket.net/2017/04/27/Android-Applications-Reversing-101/
Add android:debuggable="true"
to decompiled AndroidManifest to allow debugging. Recompile, sign, and install after.
Apk Downloader
ApkTool for decompiling dex to smali
https://github.com/skylot/jadx for viewing apk file contents (java-fied)
Apk-Multi-tool various tools to do everything
Baksmali decompile dex to smali
~/Library/Android/sdk/build-tools/28.0.0/dx
openssl pkcs7 -in original/META-INF/SOMETHING.RSA -inform DER -print
apktool d -f APK_FILE -o OUTPUT_DIR
or apktool d APK_FILE
Alternatively, use JADX (at github.com/skylot/jadx)
jadx -d {output folder} {apkfile}
Use jadx-gui APK_FILE
apktool b -d APP_PATH OUTPUT_APK_FILE
If have an issue like this: No resource identifier found for attribute 'keyboardNavigationCluster' in package 'android'
apktool empty-framework-dir --force
Use my script https://gist.github.com/codeniko/cdc8ff7dd4efc8fbceae55c0e6b165b0
The script will generate a key store file if not found, and sign your APK. Use as ./sign.sh APKFILE
Download baksmali-2.4.0.jar from links in README and see smali.sh file below
Download baksmali-2.4.0.jar in README, and kotlinc with brew install kotlin
and see ksmali.sh file below