From f379b93d52bf0dbd3816ec3f64d165314771d2a6 Mon Sep 17 00:00:00 2001 From: Lena Date: Sat, 1 Aug 2026 00:00:00 +0000 Subject: adb: reduce and harden wireless transport --- vendor/libadb-android/SERVICES.md | 64 --------------------------------------- 1 file changed, 64 deletions(-) delete mode 100644 vendor/libadb-android/SERVICES.md (limited to 'vendor/libadb-android/SERVICES.md') diff --git a/vendor/libadb-android/SERVICES.md b/vendor/libadb-android/SERVICES.md deleted file mode 100644 index dfe9b2b..0000000 --- a/vendor/libadb-android/SERVICES.md +++ /dev/null @@ -1,64 +0,0 @@ -# Services - -LibADB only supports local services which can be requested through `AbsAdbConnectionManager#openStream(String)` or -`AdbConnection#open(String)`. - -- `shell:command arg1 arg2 ...` - - Run `command arg1 arg2 ...` in a shell on the device, and return its output and error streams. Note that arguments - must be separated by spaces. If an argument contains a space, it must be quoted with double-quotes. Arguments cannot - contain double quotes or things will go very wrong. - -- `shell:` - - Start an interactive shell session on the device. Redirect stdin/stdout/stderr as appropriate. - -- `dev:` - - Opens a device file and connects the client directly to it for read/write purposes. Useful for debugging, but may - require special privileges and thus may not run on all devices. `` is a full path from the root of the - filesystem. - -- `tcp:` - - Tries to connect to tcp port `` on localhost. - -- `tcp::` - - Tries to connect to tcp port `` on machine `` from the device. This can be useful to debug some - networking/proxy issues that can only be revealed on the device itself. - -- `local:` - - Tries to connect to a Unix domain socket `` on the device. - -- `localreserved:`/ - `localabstract:`/ - `localfilesystem:` - - Variants of `local:` that are used to access other Android socket namespaces. - -- `sync:` - - This starts the file synchronization service, used to implement "adb push" and "adb pull". Since this service is - pretty complex, it will be detailed in a companion document named SYNC.TXT - -- `reverse:` - - This implements the 'adb reverse' feature, i.e. the ability to reverse socket connections from a device to the host. - `` is one of the forwarding commands that are described above, as in: - - list-forward - forward:; - forward:norebind:; - killforward-all - killforward: - - Note that in this case, corresponds to the socket on the device - and corresponds to the socket on the host. - - The output of reverse:list-forward is the same as host:list-forward - except that will be just 'host'. - -## Reference -- [SERVICES.TXT](https://android.googlesource.com/platform/packages/modules/adb/+/6a85258511fb13ebbbedba4e36616db4c6e970fb/SERVICES.TXT) -- cgit v1.2.3