Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oneplus 10T Tmobile -- Cannot complete #513

Open
twistedh opened this issue Jul 25, 2024 · 0 comments
Open

Oneplus 10T Tmobile -- Cannot complete #513

twistedh opened this issue Jul 25, 2024 · 0 comments

Comments

@twistedh
Copy link

twistedh commented Jul 25, 2024

OS: Ubuntu 22.04 ARM64 All the Android tools have been updated to their latest versions for ARM.

When running the MVT tool on OnePlus 10T, everything works until it gets to this step. No matter what I tried, spent over an hour trying to get this to work tweaking udev files, fresh install of Ubuntu, older version of the software many things. Does not work.

What happens when it reaches this point is that it briefly disconnects like on the Samsung, but defaults the USB setting to DO NOTHING Charge Only.

ERROR    [mvt.android.modules.adb.packages] Error in running extraction
                  from module Packages: Could not receive data from first       
                  (timeout 200000ms): LIBUSB_ERROR_NO_DEVICE [-4]               
                  Traceback (most recent call last):                            
                    File                                                        
                  "/home/snake/.local/share/pipx/venvs/mvt/lib/python3.12/site-p
                  ackages/adb_shell/transport/usb_transport.py", line 283, in   
                  bulk_read                                                     
                      return bytes(self._transport.bulkRead(self._read_endpoint,
                  numbytes, timeout=self._timeout_ms(transport_timeout_s)))     
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^     
                    File                                                        
                  "/home/snake/.local/share/pipx/venvs/mvt/lib/python3.12/site-p
                  ackages/usb1/__init__.py", line 1412, in bulkRead             
                      transferred = self._bulkTransfer(endpoint, data, length,  
                  timeout)                                                      
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ^^^^^^^                                                       
                    File                                                        
                  "/home/snake/.local/share/pipx/venvs/mvt/lib/python3.12/site-p
                  ackages/usb1/__init__.py", line 1358, in _bulkTransfer        
                      mayRaiseUSBError(libusb1.libusb_bulk_transfer(            
                    File                                                        
                  "/home/snake/.local/share/pipx/venvs/mvt/lib/python3.12/site-p
                  ackages/usb1/__init__.py", line 127, in mayRaiseUSBError      
                      __raiseUSBError(value)                                    
                    File                                                        
                  "/home/snake/.local/share/pipx/venvs/mvt/lib/python3.12/site-p
                  ackages/usb1/__init__.py", line 119, in raiseUSBError         
                      raise __STATUS_TO_EXCEPTION_DICT.get(value,               
                  __USBError)(value)                                            
                  usb1.USBErrorNoDevice: LIBUSB_ERROR_NO_DEVICE [-4]            
                                                                                
                  During handling of the above exception, another exception     
                  occurred:                                                     
                                                                                
                  Traceback (most recent call last):                            
                    File                                                        
                  "/home/snake/.local/share/pipx/venvs/mvt/lib/python3.12/site-p
                  ackages/mvt/common/module.py", line 167, in run_module        
                      exec_or_profile("module.run()", globals(), locals())      
                    File                                                        
                  "/home/snake/.local/share/pipx/venvs/mvt/lib/python3.12/site-p
                  ackages/mvt/common/utils.py", line 262, in exec_or_profile    
                      exec(module, globals, locals)                             
                    File "<string>", line 1, in <module>                        
                    File                                                        
                  "/home/snake/.local/share/pipx/venvs/mvt/lib/python3.12/site-p
                  ackages/mvt/android/modules/adb/packages.py", line 238, in run
                      package_files = self._get_files_for_package(package_name) 
                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
                    File                                                        
                  "/home/snake/.local/share/pipx/venvs/mvt/lib/python3.12/site-p
                  ackages/mvt/android/modules/adb/packages.py", line 194, in    
                  _get_files_for_package                                        
                      sha1 = self._adb_command(f"sha1sum {file_path}").split("  
                  ", maxsplit=1)[0]                                             
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^          
                    File                                                        
                  "/home/snake/.local/share/pipx/venvs/mvt/lib/python3.12/site-p
                  ackages/mvt/android/modules/adb/base.py", line 157, in        
                  _adb_command                                                  
                      return self.device.shell(command, read_timeout_s=200.0)   
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   
                    File                                                        
                  "/home/snake/.local/share/pipx/venvs/mvt/lib/python3.12/site-p
                  ackages/adb_shell/adb_device.py", line 842, in shell          
                      return self._service(b'shell', command.encode('utf8'),    
                  transport_timeout_s, read_timeout_s, timeout_s, decode)       
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^          
                    File                                                        
                  "/home/snake/.local/share/pipx/venvs/mvt/lib/python3.12/site-p
                  ackages/adb_shell/adb_device.py", line 710, in _service       
                      return b''.join(self._streaming_command(service, command, 
                  transport_timeout_s, read_timeout_s,                          
                  timeout_s)).decode('utf8', _DECODE_ERRORS)                    
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^              
                    File                                                        
                  "/home/snake/.local/share/pipx/venvs/mvt/lib/python3.12/site-p
                  ackages/adb_shell/adb_device.py", line 1290, in               
                  _streaming_command                                            
                      for data in self._read_until_close(adb_info):             
                    File                                                        
                  "/home/snake/.local/share/pipx/venvs/mvt/lib/python3.12/site-p
                  ackages/adb_shell/adb_device.py", line 1243, in               
                  _read_until_close                                             
                      cmd, data = self._read_until([constants.CLSE,             
                  constants.WRTE], adb_info)                                    
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ^^^^^^^^^^^^^^                                                
                    File                                                        
                  "/home/snake/.local/share/pipx/venvs/mvt/lib/python3.12/site-p
                  ackages/adb_shell/adb_device.py", line 1213, in _read_until   
                      cmd, _, _, data = self._io_manager.read(expected_cmds,    
                  adb_info, allow_zeros=True)                                   
                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ^^^^^^^^^^^^^^^^^^^^^^^^                                      
                    File                                                        
                  "/home/snake/.local/share/pipx/venvs/mvt/lib/python3.12/site-p
                  ackages/adb_shell/adb_device.py", line 339, in read           
                      cmd, arg0, arg1, data =                                   
                  self._read_packet_from_device(adb_info)                       
                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ^^^^^                                                         
                    File                                                        
                  "/home/snake/.local/share/pipx/venvs/mvt/lib/python3.12/site-p
                  ackages/adb_shell/adb_device.py", line 486, in                
                  _read_packet_from_device                                      
                      msg = self._read_bytes_from_device(constants.MESSAGE_SIZE,
                  adb_info)                                                     
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ^^^^^^^^^^                                                    
                    File                                                        
                  "/home/snake/.local/share/pipx/venvs/mvt/lib/python3.12/site-p
                  ackages/adb_shell/adb_device.py", line 442, in                
                  _read_bytes_from_device                                       
                      temp = self._transport.bulk_read(length,                  
                  adb_info.transport_timeout_s)                                 
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ^^^^^^^^^^^^                                                  
                    File                                                        
                  "/home/snake/.local/share/pipx/venvs/mvt/lib/python3.12/site-p
                  ackages/adb_shell/transport/usb_transport.py", line 285, in   
                  bulk_read                                                     
                      raise exceptions.UsbReadFailedError('Could not receive    
                  data from %s (timeout %sms)' % (self.usb_info,                
                  self._timeout_ms(transport_timeout_s)), e)                    
                  adb_shell.exceptions.UsbReadFailedError: Could not receive    
                  data from first (timeout 200000ms): LIBUSB_ERROR_NO_DEVICE    
                  [-4]                                                          
         INFO     [mvt.android.modules.adb.logcat] Running module Logcat...     
         CRITICAL [mvt.android.modules.adb.logcat] No device found. Make sure it
                  is connected and unlocked.     
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant