-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Description
Problem description
As shown in the figure, the adb tool cannot correctly output the serial number of the connected device when executing the adb devices instruction
What steps will reproduce the bug?
First, turn on Developer Mode on the device to be debugged, then enable ADB debugging. Next, connect the device to a device that has Developer Mode enabled and ADB debugging permissions turned on and has ZeroTermux installed. When the device is connected, a prompt will appear asking whether to allow debugging. Click 'Allow' to grant authorization. After that, executing the 'adb devices' command only outputs a blank text.
Android versions of both devices: Android 10
ADB tools version: Android Debug Bridge version 1.0.41
Version 35.0.2-android-tools
Installed at /data/data/com.termux/files/usr/bin/adb
Running on Linux 4.14.116 (aarch64)
What is the expected behavior?
After the instruction is executed, the correct device serial number should be output
System information
## ZeroTermux App Info
**APP_NAME**: `ZeroTermux`
**PACKAGE_NAME**: `com.termux`
**VERSION_NAME**: `0.118.3.51`
**VERSION_CODE**: `117`
**UID**: `10572`
**TARGET_SDK**: `28`
**IS_DEBUGGABLE_BUILD**: `false`
**SE_PROCESS_CONTEXT**: `u:r:untrusted_app_27:s0:c60,c258,c512,c768`
**SE_FILE_CONTEXT**: `u:object_r:app_data_file:s0:c60,c258,c512,c768`
**SE_INFO**: `default:targetSdkVersion=28:complete`
**TERMUX_APP_PACKAGE_MANAGER**: `APT`
**TERMUX_APP_PACKAGE_VARIANT**: `APT_ANDROID_7`
**APK_RELEASE**: `Unknown`
**SIGNING_CERTIFICATE_SHA256_DIGEST**: `4A246F97551128DD855E5EEED3326A409454DD7CC6B7FC5268AA8528AD0A81E7`
##
## Device Info
### Software
**OS_VERSION**: `4.14.116`
**SDK_INT**: `29`
**RELEASE**: `10`
**ID**: `HUAWEIMLD-AL00`
**DISPLAY**: `MED-AL00CH 2.0.0.133(C00E27R2P3)`
**INCREMENTAL**: `102.0.0.133C00`
**SECURITY_PATCH**: `2020-11-01`
**IS_DEBUGGABLE**: `0`
**IS_TREBLE_ENABLED**: `true`
**TYPE**: `user`
**TAGS**: `release-keys`
### Hardware
**MANUFACTURER**: `HUAWEI`
**BRAND**: `HUAWEI`
**MODEL**: `MLD-AL00`
**PRODUCT**: `MED-AL00CH`
**BOARD**: `MED`
**HARDWARE**: `kirin710`
**DEVICE**: `HWMED-H`
**SUPPORTED_ABIS**: `arm64-v8a, armeabi-v7a, armeabi`
##
## Important Links
### GitHub
[Termux](https://github.com/termux/termux-app)
[Termux:API](https://github.com/termux/termux-api)
[Termux:Boot](https://github.com/termux/termux-boot)
[Termux:Float](https://github.com/termux/termux-float)
[Termux:Styling](https://github.com/termux/termux-styling)
[Termux:Tasker](https://github.com/termux/termux-tasker)
[Termux:Widget](https://github.com/termux/termux-widget)
[termux-packages](https://github.com/termux/termux-packages)
### Email
[[email protected]](mailto:[email protected])
### Reddit
[r/termux](https://www.reddit.com/r/termux)
### Wiki
[Termux Wiki](https://wiki.termux.com)
[Termux](https://github.com/termux/termux-app/wiki)
[termux-packages](https://github.com/termux/termux-packages/wiki)
##