Page 1 of 1

USB_ModeSwitch for Huawei Vodafone K5161h - E3372.

Posted: 30 Sep 2023, 00:17
by ermete74
Greetings, sorry for my bad English.
How can I recover the USB_ModeSwitch of the Huawei Vodafone K5161h 4G LTE USB Dongle also called LTE PK HUAWEI E3372?
Thank you.

Re: USB_ModeSwitch for Huawei Vodafone K5161h - E3372.

Posted: 15 Mar 2024, 05:40
by michaelbruce
ermete74 wrote: 30 Sep 2023, 00:17 Greetings, sorry for my bad English. uno online
How can I recover the USB_ModeSwitch of the Huawei Vodafone K5161h 4G LTE USB Dongle also called LTE PK HUAWEI E3372?
Thank you.
Hello,
To recover the USB_ModeSwitch of the Huawei Vodafone K5161h 4G LTE USB Dongle (also known as LTE PK HUAWEI E3372), you can follow these general steps:
1. Connect the USB dongle to your computer: Plug in the Huawei Vodafone K5161h USB dongle to an available USB port on your computer.

2. Create a USB_ModeSwitch configuration file: USB_ModeSwitch relies on configuration files to recognize and switch the device into modem mode. Create a configuration file for your Huawei dongle using the vendor ID and product ID obtained in the previous step. You can use a text editor to create a file with the ".conf" extension, such as "huawei.conf". Inside the file, add the following lines:

Code: Select all

apache
# Huawei Vodafone K5161h / LTE PK HUAWEI E3372
DefaultVendor=0x12d1
DefaultProduct=0x14dc
TargetVendor=0x12d1
TargetProduct=0x1506
MessageContent="55534243123456780000000000000011062000000100000000000000000000"
Save the configuration file.

3. Run USB_ModeSwitch: In the terminal or command prompt, navigate to the directory where USB_ModeSwitch is installed or use the full path to the executable. Then run the following command:

Code: Select all

sudo usb_modeswitch -c /path/to/huawei.conf
Replace "/path/to/huawei.conf" with the actual path to the configuration file you created in step 4.

4. Verify the switch: After running the command, USB_ModeSwitch will attempt to switch the Huawei dongle to modem mode. You can check if the switch was successful by running the following command:

Code: Select all

lsusb
Look for the device entry and see if the product ID has changed. If it has, the switch was successful.