WhatsApp-Key-DB-Extractor icon indicating copy to clipboard operation
WhatsApp-Key-DB-Extractor copied to clipboard

app not installed as app isnt compatible with you phone

Open truecall367 opened this issue 1 year ago • 1 comments

I got this error while executing I tried to manually install the legacy app on pixel but manually also got the error

app not installed as app isnt compatible with you phone

By any chance is there a more recent app that is still legacy but could work?

Installing legacy WhatsApp 2.11.431 2724 KB/s (18329558 bytes in 6.568s) Failure [INSTALL_FAILED_NO_MATCHING_ABIS: INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113] Install complete! Open Whatsapp, allow the permissions request, if any. Then, press Enter to continue.

Ty

truecall367 avatar Oct 14 '23 02:10 truecall367

Starting from version 2.11.448 (which should be the next version of 2.11.431), they added the flag that disallows users from doing ADB backup.

I have an idea for you but only a brief test was done.

  1. Do a WhatsApp backup and uninstall WhatsApp.
  2. Download the latest (or the oldest version that works on your device) WhatsApp APK file.
  3. Decompile and re-compile it with apktool, then sign the APK yourself.
  4. Install the re-compiled APK and restore the WhatsApp backup.
  5. Modify the AndroidManifest.xml to allow ADB backup. Something like:
<application android:allowBackup="true" android:appComponentFactory="androidx.core.app.CoreComponentFactory"  android:extractNativeLibs="true" android:fullBackupContent="true" android:fullBackupOnly="false" android:hardwareAccelerated="@bool/APKTOOL_DUMMYVAL_0x7f050008" android:hasFragileUserData="false" android:icon="@mipmap/icon" android:label="@string/APKTOOL_DUMMYVAL_0x7f121ec3" android:name="com.whatsapp.AppShell" android:networkSecurityConfig="@xml/APKTOOL_DUMMYVAL_0x7f150006" android:preserveLegacyExternalStorage="true" android:requestLegacyExternalStorage="true" android:restoreAnyVersion="true" android:supportsRtl="true" android:theme="@style/APKTOOL_DUMMYVAL_0x7f130301" android:vmSafeMode="@bool/APKTOOL_DUMMYVAL_0x7f050003">
  1. Compile the modified APK and sign it with the same key you previously used.
  2. Install the modified APK:
adb shell pm uninstall -k com.whatsapp
adb install -r -d ModifiedWhatsApp.apk

KnugiHK avatar Oct 15 '23 03:10 KnugiHK