mtk 天玑920之前的soc都能 解锁,刷机
git clone https://github.com/bkerler/mtkclient cd mtkclient apt install python3-fuse python3 -m venv /home/my/pymtk source /home/my/pymtk/bin/activate python3 -m pip install -r requirements.txt python3 -m pip install . cp mtk ~/pymtk/bin/ cp mtk_gui ~/pymtk/bin/ cp stage2 ~/pymtk/bin/ sudo cp mtkclient/Setup/Linux/*.rules /etc/udev/rules.d sudo usermod -a -G plugdev $USER sudo usermod -a -G dialout $USER
50-android.rules 必须要用 mtkclient 带的, 用debian发行版配置的,可能 找不到设备
usb_class - [LIB]: Couldn't get device configuration
显示gpt分区信息 (use –preloader for brom)
python mtk printgpt
备份所有的分区(除了userdata) 到 out 目录
python mtk rl --skip userdata out
备份所有的分区 到 flash.bin 单个文件 (use –preloader for brom)
python mtk rf flash.bin
从 flash.bin 恢复到手机 (currently only works in da mode)
python mtk wf flash.bin
从 out 目录恢复所有分区文件到手机
python mtk wl out
解锁bootloader
mtk da seccfg unlock