souramoo / unapkm

APKM file decryptor
Apache License 2.0
176 stars 19 forks source link

"incorrect algo" error #10

Open andibuch opened 4 years ago

andibuch commented 4 years ago

I'm getting an "incorrect algo" error when trying to run this on an .apkm file downloaded from APKMirror (specifically com.snapchat.android_10.83.1.0_Beta-2476_1arch_1dpi_1lang_4642403a301f421b1f9eeef83ff43e6a_apkmirror.com.apkm from https://www.apkmirror.com/apk/snap-inc/snapchat/#variants)

Have they changed the format? Not sure what to do about this

souramoo commented 4 years ago

They haven't changed the format I don't think, I've just downloaded the file you mentioned and run unapkm on it and it seems to work okay!

The incorrect algo error probably should be more descriptive, sorry about that! The program tries to read the first two bytes of the file you pass to it, and if it can't (and it doesn't match the expected file format version) it gives up.

To troubleshoot, can you confirm it's being run on the completed download (and not e.g. on a partial download), the filesize of the file you're running it on and/or email me the apkm you have?