WSL 映射主机USB

5080 2026-07-01 15:50 1

usbipd list
Connected:
BUSID VID:PID DEVICE STATE
1-7 04e8:6860 Galaxy Z Flip5, USB 串行设备 (COM4), ADB Interface Not shared
1-13 0e8d:0616 RZ616 Bluetooth(R) Adapter Not shared
1-17 0db0:0076 USB 输入设备 Not shared
3-1 1a2c:8925 USB 输入设备 Not shared
6-4 30fa:1040 USB 输入设备 Not shared

usbip port

# 1. 查看设备列表
usbipd list

# 2. 绑定设备
usbipd bind --busid 1-7

# 3. 附加到 WSL
usbipd attach --wsl --busid 1-7

Win32
usbipd detach --busid 1-7
usbipd unbind --busid 1-7

adb-killserver

adb shell cat /data/local/tmp/root_out
/tmp/rc: 1 file pushed, 0 skipped. 0.0 MB/s (3 bytes in 0.000s)
Exploit cheeeeese! PID: 13117
bootstrap-daemon...
phyaddr: 0xd0b3b000 (attempt 1/10)
GPU R/W ready
found _stext at 0xa8018000
kernel_base_pa = 0xa8008000
FW symbols resolved
stext = 0xa8018000
SELinux already permissive
launching root command server...
init hook write...
FW symbols resolved
write selftest...
write selftest passed and scratch restored
Setting up Dirty Pagetable fast R/W...
found task at 0x93c95c800
Dirty Pagetable ready
SELinux already permissive
Fast R/W initialized
init hook targets are not pristine; refusing write
uid=0(root) gid=0(root) groups=0(root),3009(readproc) context=u:r:sec_system_init_shell:s0
最新回复 (0)
    没有回复
* 帖子来源NodeSeek
返回