sahara
sahara copied to clipboard
V490: No response from device
Reopen: https://github.com/openpst/openpst/issues/2
Tried to revive my old tablet (LG V490), entered 9008 dload mode (press up+down while boot)
[57516.710926] usb 2-3: New USB device found, idVendor=05c6, idProduct=9008 [57516.710931] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [57516.710934] usb 2-3: Product: QHSUSB__BULK [57516.710937] usb 2-3: Manufacturer: Qualcomm CDMA Technologies MSM [57516.712252] qcserial 2-3:1.0: Qualcomm USB modem converter detected [57516.712585] usb 2-3: Qualcomm USB modem converter now attached to ttyUSB0
Try to connect using sahara, connected, but all command failed like Read serial number always return No response from device Kindly need help thanks
Attached output of app and debug log:
Found 33 devices
/dev/ttyUSB0 USB VID:PID=05c6:9008 Qualcomm CDMA Technologies MSM QHSUSB__BULK
Connected to /dev/ttyUSB0
No data waiting. Not in sahara mode, already in a session, or device requires a restart.
Unexpected or unsupported mode
Unexpected or unsupported mode
Unexpected or unsupported mode
No response from device
No response from device
Requesting mode switch from Image Transfer Pending (0x00) to Image Transfer Pending (0x00)
Did not receive hello. Not in sahara mode, already in a session, or requires restart
Requesting mode switch from Image Transfer Pending (0x00) to Memory Debug (0x02)
Did not receive hello. Not in sahara mode, already in a session, or requires restart
Sending Reset Command
Devices responded with an error: Invalid Data Size
Port Closed
Connected to /dev/ttyUSB0
No data waiting. Not in sahara mode, already in a session, or device requires a restart.
sudo ./sahara
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Dumping 48 bytes written
02 00 00 00 30 00 00 00 02 00 00 00 01 00 00 00 | ....0...........
00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 | ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
Dumping 48 bytes written
02 00 00 00 30 00 00 00 02 00 00 00 01 00 00 00 | ....0...........
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
No data to validate
Dumping 48 bytes written
02 00 00 00 30 00 00 00 02 00 00 00 01 00 00 00 | ....0...........
00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 | ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
No data to validate
Sending Client Command: 0x00 - NOP
Dumping 12 bytes written
0d 00 00 00 0c 00 00 00 00 00 00 00 | ............
Sending Client Command: 0x07 - Read SBL SW Version
Dumping 12 bytes written
0d 00 00 00 0c 00 00 00 07 00 00 00 | ............
Requesting Mode Switch to Image Transfer Pending (0x00)
Dumping 12 bytes written
0c 00 00 00 0c 00 00 00 00 00 00 00 | ............
Requesting Mode Switch to Memory Debug (0x02)
Dumping 12 bytes written
0c 00 00 00 0c 00 00 00 02 00 00 00 | ............
Dumping 8 bytes written
07 00 00 00 08 00 00 00 | ........
No data to validate
This is weird because the device is not even sending a hello packet on connect and is not even responding to sent packets.
Do you happen to have the gobi loader installed? I have seen this program interfere with qualcomm devices trying to automatically send firmware assuming its a gobi usb device.
Other than that, only thing I can think of is there is either something else wrong with the device, its not a true 9008 sahara device, or the OEM has implemented something on their end that would prevent you from talking to the device (i have never seen this though).
What happens when you boot the device without using the button combo to go into download mode? Just a black screen?
Booting without button combo, will display LG logo and message "ERROR: boot certification verify". Only up+down button combo result DLOAD mode with blank screen, other button combo show same message
I was downgrading android 5 to 4 using stock image but interrupted in the middle
I've tried again with some bytes read Thanks
Found 33 devices
/dev/ttyUSB1 USB VID:PID=05c6:9008 Qualcomm CDMA Technologies MSM QHSUSB__BULK
Connected to /dev/ttyUSB1
No data waiting. Not in sahara mode, already in a session, or device requires a restart.
Unexpected or unsupported mode
Unexpected or unsupported mode
Unexpected or unsupported mode
Devices responded with an error: Invalid Command
Devices responded with an error: Invalid Command
Devices responded with an error: Invalid Command
Devices responded with an error: Invalid Command
Devices responded with an error: Invalid Command
Devices responded with an error: Invalid Command
Requesting mode switch from Image Transfer Pending (0x00) to Image Transfer Pending (0x00)
Devices responded with an error: Invalid Command
Requesting mode switch from Image Transfer Pending (0x00) to Memory Debug (0x02)
Devices responded with an error: Invalid Command
Dumping 48 bytes written
02 00 00 00 30 00 00 00 02 00 00 00 01 00 00 00 | ....0...........
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
Dumping 16 bytes read
04 00 00 00 10 00 00 00 0d 00 00 00 01 00 00 00 | ................
Error Response
Dumping 48 bytes written
02 00 00 00 30 00 00 00 02 00 00 00 01 00 00 00 | ....0...........
00 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 | ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
Dumping 16 bytes read
04 00 00 00 10 00 00 00 0d 00 00 00 01 00 00 00 | ................
Error Response
Dumping 48 bytes written
02 00 00 00 30 00 00 00 02 00 00 00 01 00 00 00 | ....0...........
00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 | ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
Dumping 16 bytes read
04 00 00 00 10 00 00 00 0d 00 00 00 01 00 00 00 | ................
Error Response
Sending Client Command: 0x00 - NOP
Dumping 12 bytes written
0d 00 00 00 0c 00 00 00 00 00 00 00 | ............
Dumping 16 bytes read
04 00 00 00 10 00 00 00 0d 00 00 00 01 00 00 00 | ................
Error Response
Sending Client Command: 0x01 - Read Serial Number
Dumping 12 bytes written
0d 00 00 00 0c 00 00 00 01 00 00 00 | ............
Dumping 16 bytes read
04 00 00 00 10 00 00 00 0d 00 00 00 01 00 00 00 | ................
Error Response
Sending Client Command: 0x02 - Read MSM HW ID
Dumping 12 bytes written
0d 00 00 00 0c 00 00 00 02 00 00 00 | ............
Dumping 16 bytes read
04 00 00 00 10 00 00 00 0d 00 00 00 01 00 00 00 | ................
Error Response
Sending Client Command: 0x03 - Read OEM PK Hash
Dumping 12 bytes written
0d 00 00 00 0c 00 00 00 03 00 00 00 | ............
Dumping 16 bytes read
04 00 00 00 10 00 00 00 0d 00 00 00 01 00 00 00 | ................
Error Response
Sending Client Command: 0x06 - Read Debug Data
Dumping 12 bytes written
0d 00 00 00 0c 00 00 00 06 00 00 00 | ............
Dumping 16 bytes read
04 00 00 00 10 00 00 00 0d 00 00 00 01 00 00 00 | ................
Error Response
Sending Client Command: 0x07 - Read SBL SW Version
Dumping 12 bytes written
0d 00 00 00 0c 00 00 00 07 00 00 00 | ............
Dumping 16 bytes read
04 00 00 00 10 00 00 00 0d 00 00 00 01 00 00 00 | ................
Error Response
Requesting Mode Switch to Image Transfer Pending (0x00)
Dumping 12 bytes written
0c 00 00 00 0c 00 00 00 00 00 00 00 | ............
Dumping 16 bytes read
04 00 00 00 10 00 00 00 0d 00 00 00 01 00 00 00 | ................
Error Response
Requesting Mode Switch to Memory Debug (0x02)
Dumping 12 bytes written
0c 00 00 00 0c 00 00 00 02 00 00 00 | ............
Dumping 16 bytes read
04 00 00 00 10 00 00 00 0d 00 00 00 01 00 00 00 | ................
Error Response
When you connect, if no hello is received try to send the reset command and see if it will restart back into 9008 and maybe you can get it to work correctly.
I think some other software is connecting and trying to do something with the device. With Sahara, once you encounter an error or do not complete the handshake properly it pretty much does not let you do anything else until you reset.
What is your setup? Are you using a virtual machine to do this or is it running on your physical hardware?
Send reset and disconnected, then connect again without auto hello, read hello, still not good, send another reset, got Invalid Data Size After sending Reset it seem device not sending reply at all
connected physical hardware on fedora linux, root login:
/dev/ttyUSB0 USB VID:PID=05c6:9008 Qualcomm CDMA Technologies MSM QHSUSB__BULK
Connected to /dev/ttyUSB0
No data waiting. Not in sahara mode, already in a session, or device requires a restart.
Sending Reset Command
Connect to a device first
Connected to /dev/ttyUSB0
No data waiting. Not in sahara mode, already in a session, or device requires a restart.
Sending Reset Command
Devices responded with an error: Invalid Data Size
Port Closed
Connect to a device first
Connected to /dev/ttyUSB0
No data waiting. Not in sahara mode, already in a session, or device requires a restart.
Sending Reset Command
Devices responded with an error: Invalid Data Size
Port Closed
Dumping 8 bytes written
07 00 00 00 08 00 00 00 | ........
Dumping 8 bytes read
08 00 00 00 08 00 00 00 | ........
Dumping 8 bytes written
07 00 00 00 08 00 00 00 | ........
No data to validate
Dumping 8 bytes written
07 00 00 00 08 00 00 00 | ........
No data to validate
I had a similar issue on Ubuntu - device is in DLOAD (USB 9008) but it seems does not send hello. Attaching to device with minicom shows it responds, but some kind of error message. Moreover, if minicom was connected and device is detached, restarted to DLOAD and attached again, minicom is receiving hello package! Finally, I've found modem manager is connecting to ttyUSB once it is appeared in the system and this prevents subsequent communication.
Solution was to uninstall modem manager.