ungoogle-chrome
小米 mi 6x edl(9008)
oppo r11: firehose 报错 DIGITAL_SIGNATURE_DID_NOT_PASS
- 同时按住 音量+ 音量- 不放
- 以usb线连接手机和电脑, 即可 进入 高通edl(9008端口)
升级过,当前系统版本 colorOS5.2, android8.1
edl
输出:
Capstone library is missing (optional).
Keystone library is missing (optional).
Qualcomm Sahara / Firehose Client V3.62 (c) B.Kerler 2018-2024.
main - Trying with no loader given ...
main - Waiting for the device
main - Device detected :)
sahara - Protocol version: 2, Version supported: 1
main - Mode detected: sahara
sahara -
Version 0x2
------------------------
HWID: 0x0008c0e100510000 (MSM_ID:0x0008c0e1,OEM_ID:0x0051,MODEL_ID:0x0000)
CPU detected: "SDM660"
PK_HASH: 0x82446e2f29ccb297df72d72484f5c13bfe706994296db3b786ee03f6c27e6001
Serial: 0xfc6b09ba
sahara - Found loader: /usr/local/lib/python3.10/dist-packages/edlclient-3.62-py3.10.egg/edlclient/../Loaders/oppo/3006000000010000_82446e2f29ccb297_fhprg_peek.bin
sahara - Protocol version: 2, Version supported: 1
sahara - Uploading loader /usr/local/lib/python3.10/dist-packages/edlclient-3.62-py3.10.egg/edlclient/../Loaders/oppo/3006000000010000_82446e2f29ccb297_fhprg_peek.bin ...
sahara - 64-Bit mode detected.
sahara - Firehose mode detected, uploading...
sahara - Loader successfully uploaded.
edl --loader=/app4/edl/oppo/3006000000010000_82446e2f29ccb297_fhprg_peek.bin printgpt --memory=ufs
报错 firehose - [LIB]: ERROR 11: Line 813: DIGITAL_SIGNATURE_DID_NOT_PASS
,全部输出如下
Capstone library is missing (optional).
Keystone library is missing (optional).
Qualcomm Sahara / Firehose Client V3.62 (c) B.Kerler 2018-2024.
main - Using loader /app4/edl/oppo/3006000000010000_82446e2f29ccb297_fhprg_peek.bin ...
main - Waiting for the device
main - Device detected :)
DeviceClass
DeviceClass - [LIB]: USB Overflow
main - Mode detected: firehose
firehose
firehose - [LIB]: ERROR 11: Line 813: DIGITAL_SIGNATURE_DID_NOT_PASS
QFIL替代品bkerler/edl.git/*/edl.py
发现路径: google搜索prog_ufs_firehose_8996_ddr.elf bootloader unlock
—> postmarketos/zte-axon7 --> bkerler/edl.git
mi note2 解锁bootloader(无果)
1. 安装bkerler/edl.git
bkerler/edl.git/Linux (Debian/Ubuntu/Mint/etc):
python3 -m venv /app4/py3venv-edl/
source /app4/py3venv-edl/bin/activate
sudo apt install adb fastboot python3-dev python3-pip liblzma-dev git
sudo apt purge modemmanager
( cd /app4/ && git clone https://github.com/bkerler/edl.git )
cd /app4/edl/
git submodule update --init --recursive
chmod +x ./install-linux-edl-drivers.sh
bash ./install-linux-edl-drivers.sh
python3 setup.py build
sudo python3 setup.py install
#apt-file search setenforce
sudo apt install -y selinux-utils
sudo setenforce 0
2. mi note2 test point短接 进入edl(紧急下载模式 9008虚拟串口)
2b. 检验 bkerler/edl.git 是否可用
激活py3环境: bkerler/edl.git
source /app4/py3venv-edl/bin/activate
which edl # == /usr/local/bin/edl
file `which edl` # == /usr/local/bin/edl: Python script, ASCII text executable
edl.py 找到适合mi note2的Loader?FireHose?
命令edl
输出(自动上传了合适的Firehose?Loader到手机中了?)
Capstone library is missing (optional).
Keystone library is missing (optional).
Qualcomm Sahara / Firehose Client V3.62 (c) B.Kerler 2018-2024.
main - Trying with no loader given ...
main - Waiting for the device
main - Device detected :)
sahara - Protocol version: 2, Version supported: 1
main - Mode detected: sahara
sahara -
Version 0x2
------------------------
HWID: 0x0005f0e100000000 (MSM_ID:0x0005f0e1,OEM_ID:0x0000,MODEL_ID:0x0000)
CPU detected: "MSM8996Pro"
PK_HASH: 0x355d47f912fea0af1f46c007c6dc22c43544fb9359e30aa7db5f4734d18fbd74
Serial: 0x60a95f19
sahara - Detected loader: /usr/local/lib/python3.10/dist-packages/edlclient-3.62-py3.10.egg/edlclient/../Loaders/xiaomi/0005f0e100000000_355d47f912fea0af_fhprg_peek.bin
sahara - Protocol version: 2, Version supported: 1
sahara - Uploading loader /usr/local/lib/python3.10/dist-packages/edlclient-3.62-py3.10.egg/edlclient/../Loaders/xiaomi/0005f0e100000000_355d47f912fea0af_fhprg_peek.bin ...
sahara - 64-Bit mode detected.
sahara - Firehose mode detected, uploading...
sahara - Loader successfully uploaded.
xiaomi/0005f0e100000000_355d47f912fea0af_fhprg_peek.bin
edl.py打印mi note2的分区表
edl --loader=xiaomi/0005f0e100000000_355d47f912fea0af_fhprg_peek.bin printgpt --memory=ufs
Capstone library is missing (optional).
Keystone library is missing (optional).
Qualcomm Sahara / Firehose Client V3.62 (c) B.Kerler 2018-2024.
main - Using loader xiaomi/0005f0e100000000_355d47f912fea0af_fhprg_peek.bin ...
main - Waiting for the device
main - Device detected :)
main - Mode detected: firehose
Parsing Lun 0:
GPT Table:
-------------
ssd: Offset 0x0000000000006000, Length 0x0000000000004000, Flags 0x0000000000000000, UUID a3c1575d-4881-3557-8d2a-217258aee60b, Type 0x2c86e742, Active False
switch: Offset 0x000000000000a000, Length 0x0000000000002000, Flags 0x0000000000000000, UUID e4003406-2fa9-b59e-88b2-6deb470802d2, Type EFI_LINUX_DAYA, Active False
bk1: Offset 0x000000000000c000, Length 0x00000000000b4000, Flags 0x0000000000000000, UUID e59ff054-1344-202a-e8e4-341944be5f19, Type EFI_LINUX_DAYA, Active False
devcfg: Offset 0x00000000000c0000, Length 0x0000000000020000, Flags 0x0000000000000000, UUID 007cdeab-313d-cc9d-ead2-e527b949fddd, Type 0xf65d4b16, Active False
devcfgbak: Offset 0x00000000000e0000, Length 0x0000000000020000, Flags 0x0000000000000000, UUID aa28c1df-19f4-48d0-9196-9f5d4b8d8750, Type 0xf65d4b16, Active False
keystore: Offset 0x0000000000100000, Length 0x0000000000080000, Flags 0x0000000000000000, UUID 17d58bd3-8764-65af-9ea5-a721686b523b, Type 0xde7d4029, Active False
frp: Offset 0x0000000000180000, Length 0x0000000000080000, Flags 0x0000000000000000, UUID 0ba69bc7-7a42-d90d-e716-772bee437f0f, Type 0x91b72d4d, Active False
bk2: Offset 0x0000000000200000, Length 0x0000000000200000, Flags 0x0000000000000000, UUID 99fe6c14-0740-0421-0976-bd2b79c41c41, Type EFI_LINUX_DAYA, Active False
misc: Offset 0x0000000000400000, Length 0x0000000000400000, Flags 0x0000000000000000, UUID b4fcbf28-e51f-5d3a-e76a-d7216901ac82, Type 0x82acc91f, Active False
bk3: Offset 0x0000000000800000, Length 0x0000000000800000, Flags 0x0000000000000000, UUID 48d869ae-306a-c2ec-6582-0fb078df38f6, Type EFI_LINUX_DAYA, Active False
oops: Offset 0x0000000001000000, Length 0x0000000001000000, Flags 0x0000000000000000, UUID e05d0d78-656b-f77a-ea3e-799ac36de61b, Type 0xc549751f, Active False
persist: Offset 0x0000000002000000, Length 0x0000000002000000, Flags 0x0000000000000000, UUID ac3cb27e-0927-05c7-2eda-d74d071099a9, Type 0x6c95e238, Active False
recovery: Offset 0x0000000004000000, Length 0x0000000004000000, Flags 0x0000000000000000, UUID 71212cf6-1edf-c2fe-8894-795d0c064c0c, Type 0x9d72d4e4, Active False
cache: Offset 0x0000000008000000, Length 0x0000000010000000, Flags 0x0000000000000000, UUID 8857222d-58f2-bb87-2633-47bf869e7251, Type 0x5594c694, Active False
userdata: Offset 0x0000000018000000, Length 0x0000000daf7fb000, Flags 0x0000000000000000, UUID b3989213-56cc-45ad-7712-3914641d0fc6, Type 0x1b81e7e6, Active False
Total disk size:0x0000000dc7800000, sectors:0x0000000000dc7800
Parsing Lun 1:
GPT Table:
-------------
xbl: Offset 0x0000000000006000, Length 0x00000000003f5000, Flags 0x1000000000000000, UUID a58abb45-2b91-f821-4e4a-8949d40fcc87, Type 0xdea0ba2c, Active False
Total disk size:0x0000000000400000, sectors:0x0000000000000400
Parsing Lun 2:
GPT Table:
-------------
xblbak: Offset 0x0000000000006000, Length 0x00000000003f5000, Flags 0x1000000000000000, UUID bcf8ba81-5261-50bc-2415-9a870b9d0ecd, Type 0xdea0ba2c, Active False
Total disk size:0x0000000000400000, sectors:0x0000000000000400
Parsing Lun 3:
GPT Table:
-------------
reserve: Offset 0x0000000000006000, Length 0x0000000000008000, Flags 0x1000000000000000, UUID fa258703-e196-ec75-d9fb-ccc17ea60f39, Type 0x7a37a18e, Active False
bk4: Offset 0x000000000000e000, Length 0x00000000000ea000, Flags 0x1000000000000000, UUID e9afd648-028c-9003-08e3-547c98953936, Type EFI_LINUX_DAYA, Active False
cdt: Offset 0x00000000000f8000, Length 0x0000000000008000, Flags 0x1000000000000000, UUID 75327219-2adf-1cf6-c09a-ba95db2a39a7, Type 0xa19f205f