|Ave fec4f2ae24 Fix a bug in patchport||4 weeks ago|
|patches||1 month ago|
|.gitignore||1 month ago|
|README.md||1 month ago|
|patchport.py||4 weeks ago|
Discord Android app patches.
Latest supported Discord Android version: 8.5.6 (856), released on 2019-03-08.
New patch development will be done for the latest supported version.
An F-Droid repo is available on https://fdroid.a3.pm/seabear/repo/.
You can add that to your phone and get updates easily or just download directly from there.
You will need to uninstall any and all existing Discord or CutTheCord applications from your phone before installing one, or else installation will fail.
Feel free to ignore play protect, it’s bullshit.
emojireplace.pyand set the
extracted_mutstd_pathfolder to the folder you just extracted emojis to.
apktool d <apk path>)
patch -p1 < <patch name>).
patches/mutant/emojireplace.pyto point to extracted discord folder (
extracted_discord_path), and apply emoji patches (
apktool b com.discord-832)
jarsigner -keystore <keystore path> <foldername>/dist/<foldername>.apk <alias>)
<foldername>/dist/<foldername>.apk, install and enjoy!
After extracting the APK, copy it to a folder that you won’t modify (
cp -r com.discord-836 com.discord-836-base), so that you can easily diff them.
To get the diff, run
diff -crB -x "dist" -x "res/raw" -x "build" CleanFolder PatchedFolder > patchname.patch
You can use
patchport.py to easily attempt to port patches.
It’s not really intelligent and doesn’t do much more than just checking if an existing patch can be applied to a given version (it also replaces relevant variables required for porting various patches), but it saves a lot of time if used carefully.
python3 patchport.py 839 8.3.9g /home/ave/Downloads/dic/com.discord-841 /home/ave/Projects/cutthecord/