Nagram is a third-party Telegram client based on NekoX with some modifications.
Telegram API manuals: https://core.telegram.org/api
MTproto protocol manuals: https://core.telegram.org/mtproto
NOTE: Building on Windows is, unfortunately, not supported. Consider using a Linux VM or dual booting.
Important:
git submodule update --init --recursive
It is recommended to use AndroidStudio to install.
apt install -y golang-1.16 yasm
It is recommended to use the official script, otherwise you may not find rustup.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y
echo "source \$HOME/.cargo/env" >> $HOME/.bashrc && source $HOME/.cargo/env
rustup install $(cat ss-rust/src/main/rust/shadowsocks-rust/rust-toolchain)
rustup default $(cat ss-rust/src/main/rust/shadowsocks-rust/rust-toolchain)
rustup target install armv7-linux-androideabi aarch64-linux-android i686-linux-android x86_64-linux-android
This step can be skipped if you want to build a mini release.
./run init libsFor full release:
uncomment lines in settings.gradle
./run libs update
For mini release:
./run libs v2ray
./run libs native # libtmessages.so
TELEGRAM_APP_ID and TELEGRAM_APP_HASH in local.propertiesALIAS_NAME, KEYSTORE_PASS and ALIAS_PASS in local.properties if you want a custom sign key../gradlew assemble<Full/Mini><Debug/Release/ReleaseNoGcm>
Nagram is forked from Telegram, thus most locales follows the translations of Telegram for Android, checkout https://translations.telegram.org/en/android/.
Is Nagram not in your language, or the translation is incorrect or incomplete? Get involved in the translations on our Weblate.