Skip to content

Features

UI options

  • Display realtime network speed in the notification

Service

SFA allows you to run sing-box through ForegroundService or VpnService (when TUN is required).

TUN

SFA provides an unprivileged TUN implementation through Android VpnService.

TUN inbound optionAvailableNote
interface_nameManaged by Android
inet4_address/
inet6_address/
mtu/
gsoNo permission
auto_route/
strict_routeNot implemented
inet4_route_address/
inet6_route_address/
inet4_route_exclude_address/
inet6_route_exclude_address/
endpoint_independent_nat/
stack/
include_interfaceNo permission
exclude_interfaceNo permission
include_uidNo permission
exclude_uidNo permission
include_android_userNo permission
include_package/
exclude_package/
platform/
Route/DNS rule optionAvailableNote
process_nameNo permission
process_pathNo permission
process_path_regexNo permission
package_name/
userUse package_name instead
user_idUse package_name instead
wifi_ssidFine location permission required
wifi_bssidFine location permission required

Override

Overrides profile configuration items with platform-specific values.

Per-app proxy

SFA allows you to select a list of Android apps that require proxying or bypassing in the graphical interface to override the include_package and exclude_package configuration items.

In particular, the selector also provides the “China apps” scanning feature, providing Chinese users with an excellent experience to bypass apps that do not require a proxy. Specifically, by scanning China application or SDK characteristics through dex class path and other means, there will be almost no missed reports.

Chore

  • The working directory is located at /sdcard/Android/data/io.nekohasekai.sfa/files (External files directory)
  • Crash logs is located in $working_directory/stderr.log