-
Notifications
You must be signed in to change notification settings - Fork 203
Open
Description
Problem description
termux-wifi-connectioninfo does not run properly under proot on Samsung One UI 7 devices, instead giving this error and freezing:
/data/data/com.termux/files/usr/bin/am: 30: exec: /system/bin/app_process: Operation not permitted
The aforementioned command runs properly in strace. Same goes for running any binaries in /system/bin inside proot.
PROOT_VERBOSE=9 output is in another comment due to its length.
Steps to reproduce
Install Termux:API app and termux-api package
Install Ubuntu proot with pd install ubuntu
Login to Ubuntu proot with pd sh ubuntu
Run termux-wifi-connectioninfo in Ubuntu shell
Expected behavior
termux-wifi-connectioninfo shows Wi-Fi connection info.
Additional information
Termux Variables:
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP__APK_FILE=/data/app/~~kDIOLBb32dprtCubyBLBfQ==/com.termux-9APT2q-DGGqbBdbfQxFH-w==/base.apk
TERMUX_APP__APK_RELEASE=F_DROID
TERMUX_APP__APP_VERSION_CODE=1022
TERMUX_APP__APP_VERSION_NAME=0.119.0-beta.3
TERMUX_APP__DATA_DIR=/data/user/0/com.termux
TERMUX_APP__IS_DEBUGGABLE_BUILD=false
TERMUX_APP__IS_INSTALLED_ON_EXTERNAL_STORAGE=false
TERMUX_APP__LEGACY_DATA_DIR=/data/data/com.termux
TERMUX_APP__PACKAGE_NAME=com.termux
TERMUX_APP__PID=19394
TERMUX_APP__SE_FILE_CONTEXT=u:object_r:app_data_file:s0:c79,c257,c512,c768
TERMUX_APP__SE_INFO=default:targetSdkVersion=28:complete
TERMUX_APP__TARGET_SDK=28
TERMUX_VERSION=0.119.0-beta.3
TERMUX__APPS_DIR=/data/user/0/com.termux/termux/apps
TERMUX__HOME=/data/data/com.termux/files/home
TERMUX__PREFIX=/data/data/com.termux/files/usr
TERMUX__ROOTFS_DIR=/data/data/com.termux/files
TERMUX__SE_PROCESS_CONTEXT=u:r:untrusted_app_27:s0:c79,c257,c512,c768
TERMUX__UID=10335
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://mirror.mwt.me/termux/main stable main
# tur-repo (sources.list.d/tur.list)
deb https://tur.kcubeterm.com tur-packages tur tur-on-device tur-continuous
# x11-repo (sources.list.d/x11.list)
deb https://mirror.mwt.me/termux/x11 x11 main
Updatable packages:
bash/stable 5.3 aarch64 [upgradable from: 5.2.37-2]
firefox/x11 140.0.4 aarch64 [upgradable from: 140.0.2]
git/stable 2.50.1 aarch64 [upgradable from: 2.50.0-1]
nmap/stable 7.97-4 aarch64 [upgradable from: 7.97-3]
readline/stable 8.3 aarch64 [upgradable from: 8.2.13]
termux-x11-nightly/x11 1.03.01-4 all [upgradable from: 1.03.01-0]
virglrenderer/stable 1.1.0-1 aarch64 [upgradable from: 1.1.0-1]
termux-tools version:
1.45.0
Android version:
15
Kernel build information:
Linux localhost 6.6.50-android15-8-abX520XXU3AYE1-4k #1 SMP PREEMPT Fri May 9 04:40:48 UTC 2025 aarch64 Android
Device manufacturer:
samsung
Device model:
SM-X520
Supported ABIs:
SUPPORTED_ABIS: arm64-v8a
SUPPORTED_32_BIT_ABIS:
SUPPORTED_64_BIT_ABIS: arm64-v8a
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec-ld-preload.so
Installed termux plugins:
com.termux.api versionCode:1001
com.termux.x11 versionCode:15
com.termux.tasker versionCode:6
Metadata
Metadata
Assignees
Labels
No labels