Caution
the xray core used here is from https://github.com/XTLS/libXray/
- install that
jdk17-openjdk gradleidk what it will be on your system i compiled it on arch btw - then do
archlinux-java set java-17-openjdk - this one is from aur
android-sdk-cmdline-tools-latest - download the libXray.aar from that one repo above me and put it in
app/libs/to update just replace it with the new one - you dont need to download the .dat files, they are autoupdated daily (this is what claude told me)
- then just compile it with the noted command below
some features are
- hwid support (just type some random bullshit in the text field)
- removes
inboundsif imported subsctiption has it (useful if you use russian apps that scans for localhost open ports) - tunnel only, it does not have hev-socks5 and it will not have it why the fuck you should use it on android xray literally has tun support you dumbfuck
- per app split tunneling
- autoupdating .dat files
- pure kotlin (you can verify it by looking at the right part of your lcd or oled or crt screen)
- pure jetpack compose (⚡lightning fast⚡)
Launcher icon: Xray-core logo by XTLS, sourced from Wikimedia Commons; licensed under MPL 2.0.
note to self, this is how you compile the release project you fucking dumbass: ./gradlew clean assembleRelease
another note to dumbass self for updating if there's a core update
pc:
rtk git tag v3.1.2 HEAD
rtk git push origin v3.1.2
web: create a draft release -> create a tag with new version -> target to main -> publish release | workflow will start automatically
create a local filesigning.properties
storeFile=XrayT-release.p12
storePassword=YOUR_KEYSTORE_PASSWORD
keyAlias=xrayt-release
keyPassword=YOUR_KEY_PASSWORDafter that, run ./gradlew assembleRelease.
for compiling using github actions go to Settings → Secrets and variables → Actions:
ANDROID_KEYSTORE_BASE64: output ofbase64 -w0 XrayT-release.p12ANDROID_KEYSTORE_PASSWORD: keystore passwordANDROID_KEY_ALIAS:xrayt-releaseANDROID_KEY_PASSWORD: private key password