threethan / QuestAudioPatcher

Patches android applications to add the neccessary permissions for background audio on the Meta Quest 2
GNU General Public License v3.0
30 stars 0 forks source link

Discord unable to install patched verison #5

Closed Fecfec97 closed 8 months ago

Fecfec97 commented 9 months ago

Hi there

When attempting to install the patched discord apk version 126 via your app it fails whilst displaying "Installing null..." when attempting to install.

Saving the patched app to Downloads then moving it to my PC to install via sidequest it continues to fail, but with this error:

A task failed. Check the tasks screen for more info. com.discord_aee-signed.apk: /data/local/tmp/_stream.apk could not be installed [-124: Failed parse during installPackageLI: Targeting R+ (version 30 and above) requires the resources.arsc of installed APKs to be stored uncompressed and aligned on a 4-byte boundary]

Currently attempting to see if: https://github.com/mathieures/convert-apk/ will help rectify the issue

threethan commented 9 months ago

~~Thanks for the error. Try this build, it uses a different version of zipalign that might be more reliable. QuestAudioPatcher_ZipAlignTest.zip (You will need to manually rename from .zip to .apk)~~

Try the newest release, I've changed the zipalign implementation to one that should more reliably avoid this error.

By the way, which Quest device are you using?

hackruu commented 8 months ago

@threethan tried updated version you mentioned, discord installed successfully on quest3 on firmware 60, working fine! kudos!