This deployment requires that you have a wrapper-lite HTTP instance available (local, or a remote one you trust). Login is done on the wrapper side.
Download and install Termux. Give it storage permissions(termux-setup-storage)
Then execute the following commands to install Debian:
pkg update && pkg install proot-distro
pd i debianEnter the Debian environment(pd login debian)
apt update && apt install git -y && curl -LsSf https://astral.sh/uv/install.sh | sh && source ~/.bashrc
git clone https://github.com/WorldObservationLog/AppleMusicDecrypt
cd AppleMusicDecrypt
git checkout v3
uv sync
cp config.example.toml config.toml
nano config.tomlIf uv sync fails with "built wheel ... is not compatible with the current
Python ... on Android aarch64", your uv binary is the Android build and it
rejects Linux wheels. Fall back to pip + venv:
apt install python3-venv python3-pip -y
python3 -m venv .venv
.venv/bin/pip install -r requirements.txtFor Android users, some configurations need to be modified.
[instance]
url = "127.0.0.1:12340" # Address of your wrapper-lite instance
secure = false
[download]
parallelNum = 2 # The recommended value is half of maxRunningTasks
maxRunningTasks = 4 # This value depends on the memory size of the device and is not recommended to be higher than 8
dirPathFormat = "/sdcard/Music/{album_artist}/{album}"
playlistDirPathFormat = "/sdcard/Music/playlists/{playlistName}"uv install:
uv run python main.py
pip fallback install:
.venv/bin/python main.py
Inside proot Debian the detected key is linux-arm64; the app
auto-resolves it to the bundled linux-aarch64 library (a temari 0.3.0
directory-naming quirk). If startup still fails with no libtemari found,
set TEMARI_LIB to the library inside
site-packages/temari/lib/linux-aarch64/libtemari.so.
pd login debian
cd AppleMusicDecrypt
git checkout -f && git pull
uv sync # or: .venv/bin/pip install -r requirements.txt