Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app not installed as app isnt compatible with you phone #6

Open
truecall367 opened this issue Oct 14, 2023 · 1 comment
Open

app not installed as app isnt compatible with you phone #6

truecall367 opened this issue Oct 14, 2023 · 1 comment

Comments

@truecall367
Copy link

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

@KnugiHK
Copy link
Owner

KnugiHK commented Oct 15, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants