spreadtrum_flash
spreadtrum_flash copied to clipboard
Guidance on sp9832e_1h10_gofu (Connected but receive 7e ver expected error)
Hi there, great project.
I've attempted running spd_dump
on Ubuntu 22.04 with configuration for a sp9832e_1h10_gofu
device and using signed fdl1 and fdl2 obtained from a firmware dump but having issues.
I did the following:
- Cloned and built the repo (Made sure to use libusb)
- Ran
spd_dump
before boot mode - Removed charging cable
- Held volume down and then inserted battery
- Plugged charging cable back into device
- Confirmed boot mode entered as below
usb 1-1: new full-speed USB device number 16 using xhci_hcd
usb 1-1: not running at top speed; connect to a high speed hub
usb 1-1: New USB device found, idVendor=1782, idProduct=4d00, bcdDevice=24.16
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1: Product: Gadget Serial
usb 1-1: Manufacturer: spreadtrum with musb-hdrc
When using spd_dump
I get the following error:
./spd_dump \
--verbose 2 \
--wait 300 \
keep_charge 1 \
fdl fdl1-sign.bin 0x00005000 \
fdl fdl2-sign.bin 0x9EFFFE00 \
partition_list partition.xml \
blk_size 0x2000 \
read_part logo 0 8M logo.bmp \
power_off
Waiting for connection (300s)
send (1):
7e |~|
ver expected
This is similar to an issue raised earlier in: https://github.com/ilyakurdyukov/spreadtrum_flash/issues/2 but the differences is that 7e
appears to be related to the HDLC_HEADER. So my assumptions are that I'd need to modify the communications to the device or perhaps build a custom fdl that suits the device?
Any suggestions or help would be much appreciated. Thanks. I've also attached the BMA Configuration file obtained during a a flash.