AiKirito / UY-Scuti

一个集成工具,旨在将提取、打包和修改 Android img 的功能集成到一个工具中。
https://github.com/AiKirito/UY-Scuti
179 stars 15 forks source link

Bugs #10

Closed Mohegua closed 1 week ago

Mohegua commented 1 week ago

Perhaps I have found two bugs.

  1. If the language is set to English, the “Partition File Extraction” cannot be accessed. The problem does not occur when the language is set to Chinese.

  2. When I use the “f2fs” and “f2fss” partitions to create a super.img, it says it is done, but does not create the super.img. When I create super.img using “erofs” partitions, it is created without any problem.

AiKirito commented 1 week ago

The first problem has been fixed. Regarding the second problem, I guess you may have remembered it wrongly. Sparse formats are not allowed to be packed into super.img, such as F2FSS, EXT4S, but the F2FS test can be packed correctly.

Mohegua commented 1 week ago

Thank you for the fixing on the first problem.

Oh, I remembered about "sparse" wrongly. It worked for the images without sparse format. However, in other kitchen software such as "CRB" and "MIO-KITCHEN", partitions with sparse format can be packed into super.img. Is it possible to make it somehow?

AiKirito commented 1 week ago

Thank you for the fixing on the first problem.

Oh, I remembered about "sparse" wrongly. It worked for the images without sparse format. However, in other kitchen software such as "CRB" and "MIO-KITCHEN", partitions with sparse format can be packed into super.img. Is it possible to make it somehow?

The reason why sparse images are not allowed to be packed into super partitions is this: even if you use some method to pack them, they will occupy the same size as non-sparse images, otherwise the packing will fail, so packing sparse images into super partitions is a meaningless operation...

AiKirito commented 1 week ago

Thank you for the fixing on the first problem.

Oh, I remembered about "sparse" wrongly. It worked for the images without sparse format. However, in other kitchen software such as "CRB" and "MIO-KITCHEN", partitions with sparse format can be packed into super.img. Is it possible to make it somehow?

Since the occupied size is consistent, I logically don't allow this.