Skip to content
distrairPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

XrayT – Xray-core Android client (core TUN only)

Caution

THIS IS EXTREMLY VIBE CODED, USE AT YOUR RISK, I DO NOT KNOW WHAT THE FUCK DID CLAUDE, GEMINI AND CHATGPT WROTE HERE, IT WORKS FOR ME, IT MIGHT BE NOT FOR YOU

the xray core used here is from https://github.com/XTLS/libXray/

  1. install that jdk17-openjdk gradle idk what it will be on your system i compiled it on arch btw
  2. then do archlinux-java set java-17-openjdk
  3. this one is from aur android-sdk-cmdline-tools-latest
  4. 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
  5. you dont need to download the .dat files, they are autoupdated daily (this is what claude told me)
  6. then just compile it with the noted command below

some features are

  • hwid support (just type some random bullshit in the text field)
  • removes inbounds if 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

signing for releases

create a local filesigning.properties

storeFile=XrayT-release.p12
storePassword=YOUR_KEYSTORE_PASSWORD
keyAlias=xrayt-release
keyPassword=YOUR_KEY_PASSWORD

after that, run ./gradlew assembleRelease.

for compiling using github actions go to Settings → Secrets and variables → Actions:

  • ANDROID_KEYSTORE_BASE64: output of base64 -w0 XrayT-release.p12
  • ANDROID_KEYSTORE_PASSWORD: keystore password
  • ANDROID_KEY_ALIAS: xrayt-release
  • ANDROID_KEY_PASSWORD: private key password

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages