xiaomifw: new tool for managing Xiaomi firmwares
authorRafał Miłecki <rafal@milecki.pl>
Fri, 6 Aug 2021 12:58:39 +0000 (14:58 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Tue, 5 Oct 2021 14:12:03 +0000 (16:12 +0200)
commit2f70fedc92bd08f9e182fcc388688f36310a597d
tree6db6d793366030bb1c3032cbcdcb16eabacf3a17
parentbb0ac45286ea5a6d769c1fe50033daff5271ea76
xiaomifw: new tool for managing Xiaomi firmwares

This has been tested with Xiaomi routers images (r1cl, r1cm, r2100, r3,
r3d, r3g, r4cm, ra70) but it should also be compatible with other
devices as Xiaomi seems to share the same format across most of their
products.

The biggest & probably unresolvable problem is RSA 256 B signature.
Without the key it's impossible to create an image that official UI
would accept.

This tool may be still useful for flashing original Xiaomi firmwares
(e.g. when reverting to official image) and for development purposes.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
CMakeLists.txt
src/xiaomifw.c [new file with mode: 0644]