A modded Discord client for Android!
A mobile discord patch to include more features. Currently STALE. The latest release patches an outdated version of Discord. The ETA for resuming work is currently unknown.
- If you're using NixOS you can run
nix-shell
to start a shell with the required packages - If you want to use ADB, ensure that you have enabled USB debugging and that your computer is trusted
- Java 8+
- ADB (If you want to automatically sideload to your device)
- *unix (Or some way to patch files)
- Default Discord v67.12 APK *cough cough* (Placed in
./discord.apk
if you want to use the install script)
As good practice, always read what a script does before running it!
- Create a new keystore with the following command. You can use any dummy information, with
Treecord
as the password.
keytool -genkey -keystore ./lib/treecord.keystore -validity 10000 -alias Treecord
- Copy theme patch to
./theme.patch
if you want to apply a theme - Connect your device to you computer if you want to sideload with ADB
- Run the script
./install
- Decompile Discord
./lib/apktool d /path/to/discord.apk -o ./discord/
- Apply Treecord patch
patch -s -p0 < ./treecord.patch
2.1) (Optional) Apply a theme patch from ./themes/
patch -s -p0 < ./themes/<theme-name>/theme.patch
- Build the APK
./lib/apktool b ./discord/
- Create a new keystore with the following command. You can use any dummy information, just remember the password for later.
keytool -genkey -keystore <file>.keystore -validity 10000 -alias <alias>
- Sign the APK
jarsigner -storepass <password> -keystore <file>.keystore ./discord/dist/treecord.apk <alias>
- If you don't want to sideload it with ADB the APK is located in
./discord/dist/treecord.apk
- Sideload with ADB
adb install -r ./discord/dist/treecord.apk
- Launch with ADB
adb shell monkey -p me.l3af.treecord 1