Open zukdying opened 2 years ago
是的我也有这个问题,我猜测wget img时出错了
Run wget https://cdn.staticaly.com/gh/mediateeee/action_build_twrp_device_tree/main/recovery.img --2022-08-29 13:17:10-- https://cdn.staticaly.com/gh/mediateeee/action_build_twrp_device_tree/main/recovery.img Resolving cdn.staticaly.com (cdn.staticaly.com)... 146.75.29.91, 2a04:4e42:77::347 Connecting to cdn.staticaly.com (cdn.staticaly.com)|146.75.29.91|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 3893248 (3.7M) [text/plain] Saving to: ‘recovery.img.1’
Run python3 -m twrpdtgen -o dt/ *.img usage: python3 -m twrpdtgen [-h] [-o OUTPUT] [-k] [--no-git] [--huawei] TWRP device tree generator [--recovery_kernel RECOVERY_KERNEL] Version 1.3.0 [--recovery_ramdisk RECOVERY_RAMDISK] [--recovery_vendor RECOVERY_VENDOR] [-v] [recovery_image] python3 -m twrpdtgen: error: unrecognized arguments: recovery.img
Error: Process completed with exit code 2.