AbdurazaaqMohammed / AntiSplit-M

App to AntiSplit (merge) split APKs (APKS/XAPK/APKM) to regular .APK file on Android
Apache License 2.0
544 stars 21 forks source link

1.6.2 not working for X app to be patched with ReVanced #3

Closed Fredhoob closed 3 months ago

Fredhoob commented 3 months ago

I tried to use the built-in function to make it ready for ReVanced. But the app patched in ReVanced crashes on startup and Android says the app is bugged.

rywz commented 3 months ago

Disabling it and manually selecting "select for your device specifications" from the selection dialog works.

Fredhoob commented 3 months ago

It's one and the same option.

rywz commented 3 months ago

Screenshot_2024-07-26-18-17-34-312_com.abdurazaaqmohammed.AntiSplit-edit.jpg

Crashing no longer happens for me with these options enabled/disabled

Fredhoob commented 3 months ago

Which splits do you select after that? All of them? Do you patch the app with ReVanced after that or do you use it like that? Thanks for your help!

rywz commented 3 months ago

Which splits do you select after that? All of them? Do you patch the app with ReVanced after that or do you use it like that? Thanks for your help!

Like I said, I select "select for your device specifications" and it will auto-select needed things. After that, I patch it with ReVanced using piko patches.

Fredhoob commented 3 months ago

But "select for your device specifications" IS the one with (enable this if you want to use the merged APK in ReVanced Manager). I simply used ReVanced with the built-in patches, I don't know how you would use external "piko" patches.

rywz commented 3 months ago

But "select for your device specifications" IS the one with (enable this if you want to use the merged APK in ReVanced Manager).

I know. Although they're being the same, the culprit seems to be this option and turning it off solved the problem. IMG_20240726_204138.jpg

So turn it off and select "select for your device specifications" in the selection dialog.

AbdurazaaqMohammed commented 3 months ago

But "select for your device specifications" IS the one with (enable this if you want to use the merged APK in ReVanced Manager).

I know. Although they're being the same, the culprit seems to be this option and turning it off solved the problem. IMG_20240726_204138.jpg

So turn it off and select "select for your device specifications" in the selection dialog.

This option seems to work for most people but for some it doesn't and I don't know why. Anyway, I figured the cause of the error. Basically ReVanced Manager is using a library to sign APKs which is performing some types of ZIP validation which it (the library) should not.

https://github.com/ReVanced/revanced-manager/issues/2083#issuecomment-2253313362

Fredhoob commented 3 months ago

@AbdurazaaqMohammed So this will be fixed in the next release? Thanks for your quick reaction!