UDPspeeder icon indicating copy to clipboard operation
UDPspeeder copied to clipboard

It has Android support

Open staffnetDev opened this issue 1 year ago • 1 comments

English Only. I would like to know only if it is compatible with Android to try to compile the project.

staffnetDev avatar Jan 13 '25 04:01 staffnetDev

UDPspeeder 20230206.0 successfully tested on Android with Wireguard.

Compile on Android

  1. Install the app Termux https://github.com/termux/termux-app
  2. Grant Termux the Draw Over Apps permission from its App Info or Android Settings -> Apps -> Termux -> Advanced -> Draw over other apps
  3. Inside the Termux app, execute each command line:
pkg upgrade -y
pkg install -y --no-install-recommends git clang make
cd && git clone --depth 1 https://github.com/wangyu-/UDPspeeder.git && cd UDPspeeder
sed -i 's/if (bcmp(/if (memcmp(/' lib/fec.cpp
sed -i 's/-static//' makefile
termux-wake-lock
make
cp -v speederv2 /data/data/com.termux/files/usr/bin/
cd && rm -Rfv UDPspeeder
pkg remove -y git clang make
pkg clean
speederv2 --help
  1. If correctly installed, the UDPspeeder usage is displayed.
  • Always run termux-wake-lock before speederv2 to keep the process alive in the background.
  • Use Termux:Widget to more easily start and stop UDPspeeder: https://github.com/termux/termux-widget
  • Use Termux:Boot to automatically start UDPspeeder on Android boot: https://github.com/termux/termux-boot

resyguok42 avatar Feb 15 '25 10:02 resyguok42