ITADN

Some valid module ZIP files are recognized as BIN by Magisk file selection instead of ZIP - unable to flash

#9918Closednova2moon 创建于 2026-06-24
N
nova2mooncommented
Device: Redmi 7A - Matrix ROM # uname -a Linux localhost 4.19.325-MiThorium-g713d52bb78c9 #1 SMP PREEMPT Sat Jul 5 16:50:43 IDT 2025 aarch64 Toybox Android version: 15 Magisk version name: 30.7 (D) Magisk version code: 30700 Issue is VERY strange, happens on Android 15 (did not reproduce on A10). Only some ZIP files that are 100% perfect/valid and install OK in all cases (md5sum confirmed) are detected by Magisk on A15 as BIN and as such it is not possible to Flash them from file selector. Renaming the file a tiny bit, without making a copy (so, same permissions, same inode) and it is immediately available to flash as a ZIP.. The GUI/file selector shows as ZIP and not BIN anymore. I've spent few hours trying to figure out what is reason, but cannot find it!! Problematic names: `-rw-rw---- 1 u0_a454 media_rw 596228 2026-06-23 15:10 PlayIntegrityFix_v4.6-inject-s.zip -rw-rw---- 1 u0_a454 media_rw 592915 2026-06-23 15:11 PlayIntegrityFix_v4.5-inject-s.zip ` as well as: `-rw-rw---- 1 u0_a454 media_rw 2840600 2026-06-24 23:44 Tricky-Store-v1.4.1-245-72b2e84-release.zip ` renaming and/or copying to different names resolves the issue.. Cleared cache for magisk, no luck.. # getenforce Enforcing permission, and m5 all identical, e.g: `# ls -lZi Tricky-Store-v1.4.1-* 16573 -rw-rw---- 1 u0_a454 media_rw u:object_r:fuse:s0 2840600 2026-06-24 23:45 Tricky-Store-v1.4.1-146-72b2e84-release.zip 17576 -rw-rw---- 1 u0_a454 media_rw u:object_r:fuse:s0 2840600 2026-06-23 15:28 Tricky-Store-v1.4.1-245-72b2e84-release-ORIG.zip 17717 -rw-rw---- 1 u0_a454 media_rw u:object_r:fuse:s0 2840600 2026-06-24 23:44 Tricky-Store-v1.4.1-245-72b2e84-release.zip 17529 -rw-rw---- 1 u0_a454 media_rw u:object_r:fuse:s0 2840600 2026-06-24 23:35 Tricky-Store-v1.4.1-245-72b2e84.zip 17603 -rw-rw---- 1 u0_a454 media_rw u:object_r:fuse:s0 2840600 2026-06-24 23:35 Tricky-Store-v1.4.1-245.zip 25849 -rw-rw---- 1 u0_a454 media_rw u:object_r:fuse:s0 2840600 2026-06-24 23:45 Tricky-Store-v1.4.1-246-72b2e84-release.zip 18788 -rw-rw---- 1 u0_a454 media_rw u:object_r:fuse:s0 2840600 2026-06-24 23:35 Tricky-Store-v1.4.1-xyz-72b2e84-release.zip ` md5: `# md5sum Tricky-Store-v1.4.1-* cfb3e44e0a77f2b924176f16e6c12659 Tricky-Store-v1.4.1-146-72b2e84-release.zip cfb3e44e0a77f2b924176f16e6c12659 Tricky-Store-v1.4.1-245-72b2e84-release-ORIG.zip cfb3e44e0a77f2b924176f16e6c12659 Tricky-Store-v1.4.1-245-72b2e84-release.zip cfb3e44e0a77f2b924176f16e6c12659 Tricky-Store-v1.4.1-245-72b2e84.zip cfb3e44e0a77f2b924176f16e6c12659 Tricky-Store-v1.4.1-245.zip cfb3e44e0a77f2b924176f16e6c12659 Tricky-Store-v1.4.1-246-72b2e84-release.zip cfb3e44e0a77f2b924176f16e6c12659 Tricky-Store-v1.4.1-xyz-72b2e84-release.zip ` from above list, all are recognized as ZIP by Magisk file selector, EXCEPT, the official/originally named zip: Tricky-Store-v1.4.1-245.zip how strange?? Unsure which log to upload since this is a file-detection issue, the program thinks it's a BIN file for some reason, and that happens on Android 15 only.. running same steps on A10 on similar device identical md5sum zips are loading file.
关闭于 2026-06-25 1 条评论