Skip to content
TomKing062 edited this page May 23, 2024 · 19 revisions

Preparation

First download device specific files from release.

On Windows, SPRD driver and libusb driver are conflicted, only install one in your system.

If you use Windows, try the SPRD driver first. If device cannot be recognized, try libUSB driver. If it still doesn't work, switch to Linux (both native installation and VMware ok)

If you have trouble of uninstalling driver, try DriverStoreExplorer, name of SPRD driver is "sprdvcom.inf", name of libusb driver might be "iwhale2.inf" or "libwdi.inf".

首先从release下载设备专用的文件

在Windows上,SPRD驱动程序和libusb驱动程序存在冲突,只能在系统中安装一个。

如果你是win用户,先试SPRD驱动,识别不了设备再试libusb驱动,如果还不行的话,再换linux (实机或VMware都可以)

如果在卸载驱动程序时遇到问题,请尝试DriverStoreExplorer,SPRD驱动程序名称为“sprdvcom.inf”,libusb驱动程序名称可能为“iwhale2.inf”或者“libwdi.inf”。

Windows SPRD driver

安装驱动 (Install Driver)

SPD_Driver_R4.20.4201

开始解锁 Unlock

Press key combination for 7-10 seconds to enter download mode, see SupportList

Execute onekey batch or manually execute line by line.

按组合键7-10秒进入下载模式,参考当前支持设备

运行一键批处理,或依照批处理内容单行依次运行

Windows libusb driver

安装驱动 (Install Driver)

下载 (Download): Zadig

Press key combination for 7-10 seconds to enter download mode, see SupportList

Open Zadig, enable List All Devices in Options, ensure ID of device is 1782 4d00, install WinUSB(Win7) or libusbK(Win10+) driver.

按组合键7-10秒进入下载模式,参考当前支持设备

开启Zadig,菜单选择显示所有设备,在设备列表中找到ID是1782 4d00的,驱动类型:win7优先winusb,win10/11优先libusbK

开始解锁 Unlock

Download spd_dump_stable_xxxxxx.zip in release , extract libusb folder to device folder and overwrite programs.

从release下载spd_dump_stable_xxxxxx.zip,将libusb文件夹中的程序解压覆盖到设备文件夹。

Enter donwload mode again, now execute onekey batch or manually execute line by line.

再次进入下载模式,运行一键批处理,或依照批处理内容单行依次运行

If spd_dump show libusb_get_config_descriptor failed error, use SPRD driver or linux (both native installation and VMware ok).

命令运行时spd_dump提示libusb_get_config_descriptor failed换SPRD driver或安装linux (实机或VMware都可以)

Ubuntu

sudo apt-get install build-essential libusb-1.0-0-dev git
git clone --recursive https://github.com/TomKing062/CVE-2022-38694_unlock_bootloader.git
cd CVE-2022-38694_unlock_bootloader
gcc chsize.c -o chsize
cd spreadtrum_flash
git checkout stable
make

Copy chsize and spd_dump to device specific files directory, enter download mode, execute command

把编译好的chsize和spd_dump复制到你自己机型的文件夹,进下载模式,执行命令