compat: thor2/WPInternals USB table, tools/check-env.sh

This commit is contained in:
SashegDev
2026-09-07 07:23:03 +00:00
parent 165df8adb9
commit 479d66c9e3
2 changed files with 38 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
# Совместимость с оригинальными прогами
## USB
| Режим | VID:PID | Кто работает |
|---|---|---|
| EDL QDLoader 9008 | 05C6:9008 | thor2 emergency, qdl, bkerler/edl, QFIL |
| Flash/MassStorage | 045E:9006 | thor2 uefiflash, WDRT, WPInternals, Rufus, Win32DiskImager |
| QHSUSB_BULK | 05C6:9008 без драйвера | нужен HEX по RKH |
## thor2 (только Windows-хост!)
```bat
thor2 -mode listconnections
thor2 -mode emergency -hexfile MPRG8909_fh.ede -edfile RM1127_fh.edp [-ffufile orig.ffu]
thor2 -mode ffureader -ffufile orig.ffu -dump_gpt -filedir Dump
thor2 -mode uefiflash -ffufile orig.ffu -do_full_nvi_update -do_factory_reset
thor2 -mode rnd -bootnormalmode
```
Из WSL: `usbipd attach` эмулятора в Windows, сам QEMU в WSL. Напрямую в линуксе thor2 нет.
## WPInternals
Orig FFU + MPRG8909_fh.ede/RM1127_fh.edp + donor RM-1085. USB 2.0 only.
MainOS примонтировал — НЕ ФОРМАТИРОВАТЬ.
## Ошибки
- 0x1106 SEC_HDR_FAIL = чужой RM/product code, не лечится флагами
- 0xFA000006 = батарея/cбой Secure FFU
- 85030 = тайминг reset+Enter, кабель/USB3
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
# Проверка окружения для lumia-emu (linux/amd64, WSL).
echo "== lumia-emu env =="
echo -n "os: "; uname -srm
echo -n "disk /root: "; df -h /root | awk 'NR==2{print $4" free ("$5" used)"}'
echo -n "mem: "; free -h | awk 'NR==2{print $2" total, "$7" avail"}'
for t in qemu-system-arm qemu-img python3 dtc usbipd; do
if command -v $t >/dev/null 2>&1; then echo "OK $t: $(command -v $t)"; else echo "MISS $t"; fi
done
echo -n "fw/: "; ls fw/ 2>/dev/null | head -5 || echo "(пусто — залить orig.ffu + MPRG8909_fh.ede к 17:00 МСК)"
echo "note: FFU ~2G + emmc 8G требуют ~12G; на сервере сейчас ~4G — качать только на домашнем WSL"