└── README.md /README.md: -------------------------------------------------------------------------------- 1 | **extract.erofs** 2 | 3 | **** 4 | **调用erofs-utils实现的提取erofs镜像的工具** 5 | 6 | **使用c语言编写,可能有未知的bug......** 7 | 8 | **提取包含:** 9 | - fs_config 10 | - files_context 11 | 12 | **** 13 | **The utility that calls the erofs-utils implementation to extract the EROFS image** 14 | 15 | **Written in C language, may have unknown bugs......** 16 | 17 | **Extract contains:** 18 | - fs_config 19 | - files_context 20 | 21 | **** 22 | **fs_config:**`vendor/bin/cnd 1000 1000 0755 capabilities=0x1000001400` 23 | 24 | **files_context:** `/vendor/bin/hw/android\.hardware\.bluetooth@1\.0-service-qti u:object_r:hal_bluetooth_default_exec:s0` 25 | 26 | ``` 27 | usage: [options] 28 | Extract files from image: 29 | -h, --help Help info 30 | -i, --image=[FILE] Image file 31 | -p Print all entrys 32 | --print=X Print the target of path X 33 | -x Extract all entries 34 | --extract=X Extract the target of path X 35 | --extract-conf=[FILE] Extract the target of config 36 | -r When using config, recurse directories 37 | --only-cfg-and-ctx Only extract fs_config and files_context 38 | -T# [1-X] Use # threads, -T0: X/2 39 | -f, --overwrite [default: skip] overwrite files that already exist 40 | -o, --outdir=X Output dir 41 | -V, --version Print the version info 42 | ``` 43 | 44 | **贡献者/contributors** 45 | - 感谢[lateautumn233](https://github.com/lateautumn233)提供的[erofs-utils](https://github.com/lateautumn233/erofs-utils)编译方法 46 | - Thanks to [lateautumn233](https://github.com/lateautumn233) for the [erofs-utils](https://github.com/lateautumn233/erofs-utils) compilation method. 47 | --------------------------------------------------------------------------------