[go: up one dir, main page]

Skip to content

A modded Discord client for Android

Notifications You must be signed in to change notification settings

Treecord/Treecord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Treecord

A modded Discord client for Android!

Description

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.

How to build

Notes

  • 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
Prequisites
  • 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)

Install Script

As good practice, always read what a script does before running it!

  1. 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
  1. Copy theme patch to ./theme.patch if you want to apply a theme
  2. Connect your device to you computer if you want to sideload with ADB
  3. Run the script
./install

Manually

  1. Decompile Discord
./lib/apktool d /path/to/discord.apk -o ./discord/
  1. 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
  1. Build the APK
./lib/apktool b ./discord/
  1. 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>
  1. Sign the APK
jarsigner -storepass <password> -keystore <file>.keystore ./discord/dist/treecord.apk <alias>
  1. If you don't want to sideload it with ADB the APK is located in ./discord/dist/treecord.apk
  2. Sideload with ADB
adb install -r ./discord/dist/treecord.apk
  1. Launch with ADB
adb shell monkey -p me.l3af.treecord 1