Skip to content

Deeplink

ADB + keytool commands that show which SHA-256 fingerprint your installed app is signed with.

Section titled “ADB + keytool commands that show which SHA-256 fingerprint your installed app is signed with.”

Below are the best methods, depending on whether your device is rooted or not.


Use adb shell pm path to get the APK path, then pull it and inspect with keytool:

Step 1 — Find the APK path

Terminal window
adb shell pm path com.your.package.name

It will output something like:

package:/data/app/~~xyz123/com.your.package.name-ABC123==/base.apk

Step 2 — Pull the APK

Terminal window
adb pull /data/app/~~xyz123/com.your.package.name-ABC123==/base.apk

Step 3 — Get SHA-256 fingerprint

Terminal window
keytool -printcert -jarfile base.apk

Output will contain:

SHA256: AA:BB:CC:DD:...

2. Fastest method (if your APK is locally in your computer)

Section titled “✅ 2. Fastest method (if your APK is locally in your computer)”

If you already have the signed release APK, simply run:

Terminal window
keytool -printcert -jarfile app-release.apk

3. For apps installed from Play Store (non-root)

Section titled “✅ 3. For apps installed from Play Store (non-root)”

You can find the fingerprint from the app’s signing certificate inside the APK using the same method above.