[Android Apps and Games] samour50:
Key Extract for Galaxy S9 fails

I tried the steps and it still fails for me

I also tried downloading the legacy apk to tmp first and no difference

See below

Please connect your Android device with USB Debugging enabled:

* daemon not running. starting it now on port 5037 *
* daemon started successfully *

WhatsApp 2.20.205.16 installed

Downloading legacy WhatsApp 2.11.431 to local folder
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 251 100 251 0 0 618 0 --:--:-- --:--:-- --:--:-- 618

Backing up WhatsApp 2.20.205.16
3357 KB/s (32564925 bytes in 9.472s)
Backup complete

Removing WhatsApp 2.20.205.16 skipping data
Success
Removal complete

Installing legacy WhatsApp 2.11.431
9 KB/s (251 bytes in 0.025s)
Error: Failed to parse APK file: /data/local/tmp/LegacyWhatsApp.apk

Exception occurred while executing:
java.lang.IllegalArgumentException: Error: Failed to parse APK file: /data/local/tmp/LegacyWhatsApp.apk
at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:471)
at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:1060)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:169)
at android.os.ShellCommand.exec(ShellCommand.java:104)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:27113)
at android.os.Binder.shellCommand(Binder.java:916)
at android.os.Binder.onTransact(Binder.java:790)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:5452)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:5160)
at android.os.Binder.execTransactInternal(Binder.java:1056)
at android.os.Binder.execTransact(Binder.java:1029)
Caused by: android.content.pm.PackageParser$PackageParserException: Failed to parse /data/local/tmp/LegacyWhatsApp.apk
at android.content.pm.PackageParser.parseApkLiteInner(PackageParser.java:1680)
at android.content.pm.PackageParser.parseApkLite(PackageParser.java:1665)
at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:464)
... 10 more
Install complete

Now unlock your device and confirm the backup operation.

Please enter your backup password (leave blank for none) and press Enter:

Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Don't know how to process version 5
at org.nick.abe.AndroidBackup.extractAsTar(AndroidBackup.java:420)
at org.nick.abe.Main.main(Main.java:128)
... 5 more
Caused by: java.lang.IllegalArgumentException: Don't know how to process version 5
at org.nick.abe.AndroidBackup.extractAsTar(AndroidBackup.java:282)
... 6 more
bin\tar.exe: Cannot open tmp\whatsapp.tar: No such file or directory
bin\tar.exe: Error is not recoverable: exiting now
bin\tar.exe: Cannot open tmp\whatsapp.tar: No such file or directory
bin\tar.exe: Error is not recoverable: exiting now
bin\tar.exe: Cannot open tmp\whatsapp.tar: No such file or directory
bin\tar.exe: Error is not recoverable: exiting now
bin\tar.exe: Cannot open tmp\whatsapp.tar: No such file or directory
bin\tar.exe: Error is not recoverable: exiting now
bin\tar.exe: Cannot open tmp\whatsapp.tar: No such file or directory
bin\tar.exe: Error is not recoverable: exiting now

Cleaning up temporary files ...

Deleted file - C:\WhatsApp-Key-DB-Extractor-master\tmp\whatsapp.ab
Deleted file - C:\WhatsApp-Key-DB-Extractor-master\tmp\waplen.txt
Deleted file - C:\WhatsApp-Key-DB-Extractor-master\tmp\sdpath.txt
Deleted file - C:\WhatsApp-Key-DB-Extractor-master\tmp\wapath.txt
Deleted file - C:\WhatsApp-Key-DB-Extractor-master\tmp\wapver.txt
Deleted file - C:\WhatsApp-Key-DB-Extractor-master\tmp\sdkver.txt

Done

Restoring WhatsApp 2.20.205.16
3765 KB/s (32564925 bytes in 8.446s)
Success

Restore complete

Removing WhatsApp 2.20.205.16 temporary apk
Deleted file - C:\WhatsApp-Key-DB-Extractor-master\tmp\base.apk

Operation complete

Press any key to continue . . .