You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You connect your phone in No data transfer mode.
Enter these commands:
adb shell
su
resetprop ro.bootmode usbradio
resetprop ro.build.type userdebug
setprop sys.usb.config diag,diag_mdm,adb
diag_mdlog
Once you see long list of logs select data transfer from USB connection and you will have diag port enabled.
However, I see the following errors:
****[20:25:27 | ERROR @ usb_modem_pyusb.py:57 ] [!] Can't write to the USB device. Maybe that you need root/administrator privileges, or that the device was unplugged? Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/qcsuper/inputs/usb_modem_pyusb.py", line 55, in send_request
self.dev_intf.write_endpoint.write(raw_payload)
File "/usr/local/lib/python3.11/dist-packages/pyusb-1.2.1-py3.11.egg/usb/core.py", line 408, in write
return self.device.write(self, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pyusb-1.2.1-py3.11.egg/usb/core.py", line 989, in write
return fn(
^^^
File "/usr/local/lib/python3.11/dist-packages/pyusb-1.2.1-py3.11.egg/usb/backend/libusb1.py", line 837, in bulk_write
return self.__write(self.lib.libusb_bulk_transfer,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pyusb-1.2.1-py3.11.egg/usb/backend/libusb1.py", line 938, in __write
_check(retval)
File "/usr/local/lib/python3.11/dist-packages/pyusb-1.2.1-py3.11.egg/usb/backend/libusb1.py", line 602, in _check
raise USBTimeoutError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBTimeoutError: [Errno 110] Operation timed out
[20:25:32 | ERROR @ _base_input.py:281 ] Error: Diag request DIAG_LOG_CONFIG_F with payload b'\x00\x00\x00\x00\x00\x00\x00' timed out
[20:25:32 | INFO @ usb_modem_pyusb.py:76 ] Connection from the USB link closed****
and in the wireshark I see this: Could not create profiles directory
"/root/.config/wireshark": Permission denied.
You don't have permission to read the file "hosts".
and some other file permission erorrs.
The text was updated successfully, but these errors were encountered:
You connect your phone in No data transfer mode.
Enter these commands:
adb shell
su
resetprop ro.bootmode usbradio
resetprop ro.build.type userdebug
setprop sys.usb.config diag,diag_mdm,adb
diag_mdlog
Once you see long list of logs select data transfer from USB connection and you will have diag port enabled.
However, I see the following errors:
****[20:25:27 | ERROR @ usb_modem_pyusb.py:57 ] [!] Can't write to the USB device. Maybe that you need root/administrator privileges, or that the device was unplugged? Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/qcsuper/inputs/usb_modem_pyusb.py", line 55, in send_request
self.dev_intf.write_endpoint.write(raw_payload)
File "/usr/local/lib/python3.11/dist-packages/pyusb-1.2.1-py3.11.egg/usb/core.py", line 408, in write
return self.device.write(self, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pyusb-1.2.1-py3.11.egg/usb/core.py", line 989, in write
return fn(
^^^
File "/usr/local/lib/python3.11/dist-packages/pyusb-1.2.1-py3.11.egg/usb/backend/libusb1.py", line 837, in bulk_write
return self.__write(self.lib.libusb_bulk_transfer,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pyusb-1.2.1-py3.11.egg/usb/backend/libusb1.py", line 938, in __write
_check(retval)
File "/usr/local/lib/python3.11/dist-packages/pyusb-1.2.1-py3.11.egg/usb/backend/libusb1.py", line 602, in _check
raise USBTimeoutError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBTimeoutError: [Errno 110] Operation timed out
[20:25:32 | ERROR @ _base_input.py:281 ] Error: Diag request DIAG_LOG_CONFIG_F with payload b'\x00\x00\x00\x00\x00\x00\x00' timed out
[20:25:32 | INFO @ usb_modem_pyusb.py:76 ] Connection from the USB link closed****
and in the wireshark I see this:
Could not create profiles directory
"/root/.config/wireshark": Permission denied.
You don't have permission to read the file "hosts".
and some other file permission erorrs.
The text was updated successfully, but these errors were encountered: