Would help [Benjamin_Loison/Voice_assistant/issues/125](https://codeberg.org/Benjamin_Loison/Voice_assistant/issues/125).
On my Fairphone 4 LineageOS 23.2 Termux:
```bash
adb devices
```
```
List of devices attached
```
```bash
sudo adb devices
```
```
List of devices attached
```
No command stop found, did you mean:
Command btop in package btop
Command htop in package htop
Command step in package step-cli
Command stow in package stow
Command top in package termux-tools
```bash
adbd
```
<details>
<summary>Output:</summary>
```
No command adbd found, did you mean:
Command adb in package android-tools
```
</details>
```bash
sudo adbd
```
<details>
<summary>Output:</summary>
```
Command 'adbd' not found
Check your spelling and try again
```
</details>
```bash
start adbd
```
<details>
<summary>Output:</summary>
```
No command start found, did you mean:
Command stat in package coreutils
Command kstart in package kde-cli-tools
```
</details>
```bash
sudo start adbd
sudo ps aux | grep [a]db
```
<details>
<summary>Output:</summary>
```
root 1580 0.0 0.0 10869216 4048 ? Sl 10:15 0:00 /system_ext/bin/adb_root
shell 1762 0.0 0.0 10955556 7128 ? Sl 10:15 0:00 /apex/com.android.adbd/bin/adbd --root_seclabel=u:r:su:s0 --tim_seclabel=u:r:adbd_tradeinmode:s0
```
</details>
```bash
adb devices
```
<details>
<summary>Output:</summary>
```
* daemon not running; starting now at tcp:5037
* daemon started successfully
List of devices attached
```
</details>
```bash
sudo ps aux | grep [a]db
```
<details>
<summary>Output:</summary>
```
root 1580 0.0 0.0 10869216 4048 ? Sl 10:15 0:00 /system_ext/bin/adb_root
shell 1762 0.0 0.0 10955556 7128 ? Sl 10:15 0:00 /apex/com.android.adbd/bin/adbd --root_seclabel=u:r:su:s0 --tim_seclabel=u:r:adbd_tradeinmode:s0
u0_a190 12579 0.3 0.1 10888952 10456 ? Ssl 13:56 0:00 adb -L tcp:5037 fork-server server --reply-fd 4
```
</details>
```bash
adb kill-server
stop adbd
```
<details>
<summary>Output:</summary>
```
No command stop found, did you mean:
Command btop in package btop
Command htop in package htop
Command step in package step-cli
Command stow in package stow
Command top in package termux-tools
```
</details>
No command setprop found, did you mean:
Command getprop in package termux-tools
adb connect localhost:5555
connected to localhost:5555
It may be more stable than UI wireless debugging, but I doubt so.
```bash
setprop service.adb.tcp.port 5555
```
<details>
<summary>Output:</summary>
```
No command setprop found, did you mean:
Command getprop in package termux-tools
```
</details>
```bash
adb connect localhost:5555
```
```
connected to localhost:5555
```
It may be more stable than UI wireless debugging, but I doubt so.
while being on mobile data only, so can have both USB debugging and Wi-Fi-less wireless debugging.
On Termux:
```bash
adb devices
```
```
List of devices attached
```
```bash
adb connect localhost:5555
```
```
connected to localhost:5555
```
```bash
adb devices
```
<details>
<summary>Output:</summary>
```
List of devices attached
localhost:5555 device
```
</details>
```bash
adb shell whoami
```
```
shell
```
On my Linux Mint 22.3 Cinnamon Framework 13:
```bash
adb shell whoami
```
```
shell
```
while being on mobile data only, so can have both USB debugging and Wi-Fi-less wireless debugging.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Would help Benjamin_Loison/Voice_assistant/issues/125.
On my Fairphone 4 LineageOS 23.2 Termux:
DuckDuckGo and Google search
"adb" via "root".https://chat.mistral.ai/chat/fdee6080-a1ab-44a3-9d8b-d02a54efd2d2
Output:
Output:
Output:
Output:
Output:
Output:
Output:
Output:
Output:
Output:
Output:
https://chatgpt.com/share/6a0726e9-8908-8397-a943-cc11d87d83f7
Output:
It may be more stable than UI wireless debugging, but I doubt so.
Benjamin-Loison/android search
service.adb.tcp.portdoes not return any open or closed issues.Wireless debugging is not shown as enabled.
Disable Wi-Fi.
After reboot:
is a sanity check.
I verified that
adb connectis necessary.twice does not return anything.
So it seems to work as wanted, the question is now how stable is it, need to test to face it.
No need to experiment on wireless debugging particularly more than on Wi-Fi as I was already having issues on Wi-Fi.
For USB debugging to actually work back, have to disable and re-enable it.
It seems fine enough.
On Termux:
Output:
On my Linux Mint 22.3 Cinnamon Framework 13:
while being on mobile data only, so can have both USB debugging and Wi-Fi-less wireless debugging.