toraidl / hyperos_port

HyperOS stock/xiaomi.eu ROM port for Android 13 based ROM - 小米HyperOS系统(Android 14)移植,测试支持小米10/10Pro/10Ultra/10S(Android13底包)
MIT License
141 stars 81 forks source link

Got bootloop 3 times and get back to recovery (thyme) #28

Open khaizr0 opened 2 months ago

khaizr0 commented 2 months ago

Base rom: xiaomi.eu_THYME_OS1.0.4.0.TGACNXM_13 Port rom: xiaomi.eu_FUXI_OS1.0.13.0.UMCCNXM_14 Build environment: WSL

Hello i'm using your tool to make port for my device but i having a problem that when i flash ported rom to my device, my mi10s got stuck on xiaomi logo and bootloop like 3 times and then it went to recovery Can you guys check it out?? thank you very much

-Build Log: khai@Khai-Laptop:~$ cd hyperos_port/ khai@Khai-Laptop:~/hyperos_port$ sudo ./port.sh "/mnt/c/crb_339/xiaomi.eu_THYME_OS1.0.4.0.TGACNXM_13.zip" "/mnt/c/crb_339/xiaomi.eu_FUXI_OS1.0.13.0.UMCCNXM_14.zip" [sudo] password for khai: [0905-01:38:09] BASEROM: /mnt/c/crb_339/xiaomi.eu_THYME_OS1.0.4.0.TGACNXM_13.zip [0905-01:38:09] PORTROM: /mnt/c/crb_339/xiaomi.eu_FUXI_OS1.0.13.0.UMCCNXM_14.zip [0905-01:38:09] Validating BASEROM.. [0905-01:38:09] Found super.img. files [0905-01:38:09] Validating PORTROM.. [0905-01:38:09] Found super.img. files [0905-01:38:09] ROM validation passed. [0905-01:38:09] Cleaning up.. [0905-01:38:12] Files cleaned up. [0905-01:38:12] Extracting files from BASETROM [super.img] [0905-01:40:36] Merging super.img. into super.img [0905-01:40:55] [super.img] extracted. [0905-01:40:55] Extracting files from PORTROM [super.img] [0905-01:43:52] Merging super.img. into super.img [0905-01:44:10] [super.img] extracted. [0905-01:44:10] Unpacking BASEROM [super.img] [0905-01:44:36] [ext] Extracing system.img [0905-01:44:40] [ext] system.img extracted. [0905-01:44:40] [ext] Extracing system_ext.img [0905-01:44:43] [ext] system_ext.img extracted. [0905-01:44:43] [ext] Extracing product.img [0905-01:45:05] [ext] product.img extracted. [0905-01:45:06] [ext] Extracing mi_ext.img [0905-01:45:06] [ext] mi_ext.img extracted. [0905-01:45:06] [ext] Extracing vendor.img [0905-01:45:15] [ext] vendor.img extracted. [0905-01:45:15] [ext] Extracing odm.img [0905-01:45:15] [ext] odm.img extracted. [0905-01:45:15] Starting extract portrom partition from img [0905-01:45:15] Extracting [mi_ext] from PORTROM super.img [0905-01:45:15] lpunpack.py PORTROM super.img mi_ext_a Extracting partition [mi_ext_a] .... [ok] [0905-01:45:15] [erofs] Extracing mi_ext.img [0905-01:45:15] [erofs] mi_ext.img extracted. [0905-01:45:15] Skip extracting [odm] from PORTROM [0905-01:45:15] Extracting [product] from PORTROM super.img [0905-01:45:15] lpunpack.py PORTROM super.img product_a Extracting partition [product_a] .... [ok] [0905-01:45:26] [erofs] Extracing product.img [0905-01:45:34] [erofs] product.img extracted. [0905-01:45:35] Extracting [system] from PORTROM super.img [0905-01:45:35] lpunpack.py PORTROM super.img system_a Extracting partition [system_a] .... [ok] [0905-01:45:37] [erofs] Extracing system.img [0905-01:45:39] [erofs] system.img extracted. [0905-01:45:39] Extracting [system_ext] from PORTROM super.img [0905-01:45:39] lpunpack.py PORTROM super.img system_ext_a Extracting partition [system_ext_a] .... [ok] [0905-01:45:41] [erofs] Extracing system_ext.img [0905-01:45:42] [erofs] system_ext.img extracted. [0905-01:45:42] Skip extracting [vendor] from PORTROM [0905-01:45:42] Fetching ROM build prop. [0905-01:45:42] Android Version: BASEROM:[Android 13], PORTROM [Android 14] [0905-01:45:42] SDK Verson: BASEROM: [SDK 30], PORTROM: [SDK 34] [0905-01:45:42] ROM Version: BASEROM: [V816.0.4.0.TGACNXM], PORTROM: [OS1.0.13.0.UGACNXM] [0905-01:45:42] Device Code: BASEROM: [thyme], PORTROM: [fuxi] [0905-01:45:42] Replacing [AospFrameworkResOverlay.apk] [0905-01:45:42] Replacing [MiuiFrameworkResOverlay.apk] [0905-01:45:42] Replacing [DevicesAndroidOverlay.apk] [0905-01:45:42] Replacing [DevicesOverlay.apk] [0905-01:45:42] Replacing [SettingsRroDeviceHideStatusBarOverlay.apk] [0905-01:45:42] Replacing [MiuiBiometricResOverlay.apk] [0905-01:45:42] Copying device_features [0905-01:45:42] Replacing stock MiSound [0905-01:45:43] MiuiBiometric is missing, copying from base... [0905-01:45:43] Fixing AOD issue: DevicesAndroidOverlay.apk ... [0905-01:45:44] Change defaultPeakRefreshRate: AospFrameworkResOverlay.apk ... [0905-01:45:45] ro.vndk.version found in build/portrom/images/vendor/default.prop: 30 [0905-01:45:45] The file already contains the version 30. Skipping modification. [0905-01:45:45] StrongToast UI fix [0905-01:45:45] Modifying MiuiSystemUI.apk [0905-01:45:52] Target classes Found [0905-01:45:58] Fix MiuiSystemUI.apk completed [0905-01:45:58] APK file detected, initiating ZipAlign process... [0905-01:45:58] APK ZipAlign process completed. [0905-01:45:58] Copying APK to target build/portrom/images/system_ext/priv-app/MiuiSystemUI/MiuiSystemUI.apk [0905-01:45:58] Modifying miui-services.jar [0905-01:45:59] Target classes Found [0905-01:46:03] Fix miui-services.jar completed [0905-01:46:03] Copying file to target build/portrom/images/system_ext/framework/miui-services.jar [0905-01:46:03] Searching and Replacing HotwordEnrollmentXGoogleHEXAGON_WIDEBAND.apk.. [0905-01:46:03] Modifying build.prop ./port.sh: line 671: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8): No such file or directory [0905-01:46:03] modifying build/portrom/images/system_ext/etc/build.prop [0905-01:46:03] modifying build/portrom/images/system/system/build.prop [0905-01:46:03] modifying build/portrom/images/system/system/system_dlkm/etc/build.prop [0905-01:46:03] modifying build/portrom/images/vendor/build.prop [0905-01:46:03] modifying build/portrom/images/product/etc/build.prop [0905-01:46:03] modifying build/portrom/images/odm/etc/build.prop [0905-01:46:03] modifying build/portrom/images/mi_ext/etc/build.prop [0905-01:46:03] Screen density: 440 [0905-01:46:03] ro.fs.lcd_density not found, create a new value 440 [0905-01:46:03] Fix Millet [0905-01:46:03] millet_netlink propery found, changing value to 29 [0905-01:46:03] Modifying PowerKeeper.apk [0905-01:46:06] Target classes Found [0905-01:46:10] Fix PowerKeeper.apk completed [0905-01:46:10] APK file detected, initiating ZipAlign process... [0905-01:46:10] APK ZipAlign process completed. [0905-01:46:10] Copying APK to target build/portrom/images/system/system/app/PowerKeeper/PowerKeeper.apk [0905-01:46:10] Modifying MiSettings.apk [0905-01:46:13] Target classes Found [0905-01:46:18] Fix MiSettings.apk completed [0905-01:46:18] APK file detected, initiating ZipAlign process... [0905-01:46:18] APK ZipAlign process completed. [0905-01:46:18] Copying APK to target build/portrom/images/product/priv-app/MiSettings/MiSettings.apk tmp/framework-ext-res/resources/package_1/res/values/bools.xml: false tmp/framework-ext-res/resources/package_1/res/values/public.xml: [0905-01:46:23] Enable Celluar Sharing feature [0905-01:46:25] Integrating perfect icons mv: cannot stat '/home/khai/hyperos_port/icons/icons': No such file or directory ./port.sh: line 875: cd: /home/khai/hyperos_port/icons/themes/Hyper/: No such file or directory

zip error: Nothing to do! (try: zip -qr /home/khai/hyperos_port/build/portrom/images/product/media/theme/default/dynamicicons.zip . -i layer_animating_icons) ./port.sh: line 877: cd: /home/khai/hyperos_port/icons/themes/common/: No such file or directory

zip error: Nothing to do! (try: zip -qr /home/khai/hyperos_port/build/portrom/images/product/media/theme/default/dynamicicons.zip . -i layer_animating_icons) mv: cannot stat '/home/khai/hyperos_port/build/portrom/images/product/media/theme/default/dynamicicons.zip': No such file or directory [0905-01:48:49] Replacing a compatible MiuiCamera.apk verson 4.5.003000.2 [0905-01:48:49] Repacling bootanimation.zip [0905-01:48:49] devices/thyme/overlay not found find: 'devices/thyme/': No such file or directory [0905-01:48:49] Disable avb verification. [0905-01:48:49] Disabling AVB verfication.... [0905-01:48:49] AVB verification disabled successfully bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) [0905-01:48:49] Super image size: 9126805504 [0905-01:48:49] Packing super.img [0905-01:48:49] Packing [mi_ext.img]:[EXT] with size [4325960] FSPATCH by [affggh] LICENES [Apache 2.0] VERSION [1.0] FsPatcher: Load origin 36 entries Add [mi_ext['0', '0', '0755']] FsPatcher: Add 1 entries Done! ContextPatcher: Load origin 37 entries ADD [/lost+found ['u:object_r:system_file:s0']] ContextPatcher: Add 1 entries Done! loaded 35 fs_config entries Creating filesystem with parameters: Size: 4325376 Block size: 4096 Blocks per group: 32768 Inodes per group: 272 Inode size: 256 Journal blocks: 0 Label: mi_ext Blocks: 1056 Block groups: 1 Reserved block group size: 7 Created filesystem with 44/272 inodes and 65/1056 blocks [0905-01:48:49] Packing [mi_ext.img] with [EXT], size: [4325960] success [0905-01:48:49] Packing [odm.img]:[EXT] with size [35539163] FSPATCH by [affggh] LICENES [Apache 2.0] VERSION [1.0] FsPatcher: Load origin 26 entries FsPatcher: Add 0 entries Done! ContextPatcher: Load origin 25 entries ADD [/lost+found ['u:object_r:vendor_configs_file:s0']] ADD [/odm/ ['u:object_r:vendor_configs_file:s0']] ContextPatcher: Add 2 entries Done! loaded 24 fs_config entries Creating filesystem with parameters: Size: 35536896 Block size: 4096 Blocks per group: 32768 Inodes per group: 2176 Inode size: 256 Journal blocks: 0 Label: odm Blocks: 8676 Block groups: 1 Reserved block group size: 7 Created filesystem with 32/2176 inodes and 481/8676 blocks [0905-01:48:49] Packing [odm.img] with [EXT], size: [35539163] success [0905-01:48:49] Packing [product.img]:[EXT] with size [4808638086] FSPATCH by [affggh] LICENES [Apache 2.0] VERSION [1.0] FsPatcher: Load origin 1369 entries Add [product['0', '0', '0755']] Add [product/etc/displayconfig/display_id_4630946545580055169.xml['0', '0', '0644']] Add [product/etc/device_features/thyme.xml['0', '0', '0644']] Add [product/app/MiLinkCirculateMIUI15['0', '0', '0755']] Add [product/app/MiuiBiometric['0', '0', '0755']] Add [product/app/MiLinkCirculateMIUI15/MiLinkCirculateMIUI15.apk['0', '0', '0644']] Add [product/app/MiuiBiometric/MiuiBiometric.apk['0', '0', '0644']] Add [product/priv-app/HotwordEnrollmentXGoogleHEXAGON_WIDEBAND/HotwordEnrollmentXGoogleHEXAGON.apk['0', '0', '0644']] FsPatcher: Add 8 entries Done! ContextPatcher: Load origin 1370 entries ADD [/lost+found ['u:object_r:system_file:s0']] ADD [/product/etc/displayconfig/display_id_4630946545580055169.xml ['u:object_r:system_file:s0']] ADD [/product/etc/device_features/thyme.xml ['u:object_r:system_file:s0']] ADD [/product/app/MiLinkCirculateMIUI15 ['u:object_r:system_file:s0']] ADD [/product/app/MiuiBiometric ['u:object_r:system_file:s0']] ADD [/product/app/MiLinkCirculateMIUI15/MiLinkCirculateMIUI15.apk ['u:object_r:system_file:s0']] ADD [/product/app/MiuiBiometric/MiuiBiometric.apk ['u:object_r:system_file:s0']] ADD [/product/priv-app/HotwordEnrollmentXGoogleHEXAGON_WIDEBAND/HotwordEnrollmentXGoogleHEXAGON.apk ['u:object_r:system_file:s0']] ContextPatcher: Add 8 entries Done! loaded 1369 fs_config entries Creating filesystem with parameters: Size: 4808634368 Block size: 4096 Blocks per group: 32768 Inodes per group: 8160 Inode size: 256 Journal blocks: 0 Label: product Blocks: 1173983 Block groups: 36 Reserved block group size: 287 Created filesystem with 1378/293760 inodes and 1169872/1173983 blocks [0905-01:49:03] Packing [product.img] with [EXT], size: [4808638086] success [0905-01:49:03] Packing [system.img]:[EXT] with size [1162182689] FSPATCH by [affggh] LICENES [Apache 2.0] VERSION [1.0] FsPatcher: Load origin 3015 entries Add [system['0', '0', '0755']] Add [system/system/etc/permissions/com.nxp.nfc.nq.xml['0', '0', '0644']] Add [system/system/etc/permissions/com.xiaomi.nfc.xml['0', '0', '0644']] Add [system/system/app/NQNfcNci['0', '0', '0755']] Add [system/system/app/NQNfcNci/oat['0', '0', '0755']] Add [system/system/app/NQNfcNci/NQNfcNci.apk['0', '0', '0644']] Add [system/system/app/NQNfcNci/oat/arm64['0', '0', '0755']] Add [system/system/app/NQNfcNci/oat/arm64/NQNfcNci.odex['0', '0', '0644']] Add [system/system/app/NQNfcNci/oat/arm64/NQNfcNci.vdex['0', '0', '0644']] Add [system/system/framework/oat['0', '0', '0755']] Add [system/system/framework/com.xiaomi.nfc.jar['0', '0', '0644']] Add [system/system/framework/com.nxp.nfc.nq.jar['0', '0', '0644']] Add [system/system/framework/oat/arm64['0', '0', '0755']] Add [system/system/framework/oat/arm['0', '0', '0755']] Add [system/system/framework/oat/arm64/com.xiaomi.nfc.odex['0', '0', '0644']] Add [system/system/framework/oat/arm64/com.nxp.nfc.nq.odex['0', '0', '0644']] Add [system/system/framework/oat/arm64/com.xiaomi.nfc.vdex['0', '0', '0644']] Add [system/system/framework/oat/arm64/com.nxp.nfc.nq.vdex['0', '0', '0644']] Add [system/system/framework/oat/arm/com.xiaomi.nfc.odex['0', '0', '0644']] Add [system/system/framework/oat/arm/com.nxp.nfc.nq.odex['0', '0', '0644']] Add [system/system/framework/oat/arm/com.xiaomi.nfc.vdex['0', '0', '0644']] Add [system/system/framework/oat/arm/com.nxp.nfc.nq.vdex['0', '0', '0644']] FsPatcher: Add 22 entries Done! ContextPatcher: Load origin 3016 entries ADD [/lost+found ['u:object_r:system_file:s0']] ADD [/system/system/etc/permissions/com.nxp.nfc.nq.xml ['u:object_r:cppreopts_exec:s0']] ADD [/system/system/etc/permissions/com.xiaomi.nfc.xml ['u:object_r:cppreopts_exec:s0']] ADD [/system/system/app/NQNfcNci ['u:object_r:system_file:s0']] ADD [/system/system/app/NQNfcNci/oat ['u:object_r:system_file:s0']] ADD [/system/system/app/NQNfcNci/NQNfcNci.apk ['u:object_r:system_file:s0']] ADD [/system/system/app/NQNfcNci/oat/arm64 ['u:object_r:system_file:s0']] ADD [/system/system/app/NQNfcNci/oat/arm64/NQNfcNci.odex ['u:object_r:system_file:s0']] ADD [/system/system/app/NQNfcNci/oat/arm64/NQNfcNci.vdex ['u:object_r:system_file:s0']] ADD [/system/system/framework/oat ['u:object_r:system_file:s0']] ADD [/system/system/framework/com.xiaomi.nfc.jar ['u:object_r:system_file:s0']] ADD [/system/system/framework/com.nxp.nfc.nq.jar ['u:object_r:system_file:s0']] ADD [/system/system/framework/oat/arm64 ['u:object_r:system_file:s0']] ADD [/system/system/framework/oat/arm ['u:object_r:system_file:s0']] ADD [/system/system/framework/oat/arm64/com.xiaomi.nfc.odex ['u:object_r:system_file:s0']] ADD [/system/system/framework/oat/arm64/com.nxp.nfc.nq.odex ['u:object_r:system_file:s0']] ADD [/system/system/framework/oat/arm64/com.xiaomi.nfc.vdex ['u:object_r:system_file:s0']] ADD [/system/system/framework/oat/arm64/com.nxp.nfc.nq.vdex ['u:object_r:system_file:s0']] ADD [/system/system/framework/oat/arm/com.xiaomi.nfc.odex ['u:object_r:system_file:s0']] ADD [/system/system/framework/oat/arm/com.nxp.nfc.nq.odex ['u:object_r:system_file:s0']] ADD [/system/system/framework/oat/arm/com.xiaomi.nfc.vdex ['u:object_r:system_file:s0']] ADD [/system/system/framework/oat/arm/com.nxp.nfc.nq.vdex ['u:object_r:system_file:s0']] ContextPatcher: Add 22 entries Done! loaded 3035 fs_config entries Creating filesystem with parameters: Size: 1162182656 Block size: 4096 Blocks per group: 32768 Inodes per group: 7888 Inode size: 256 Journal blocks: 0 Label: system Blocks: 283736 Block groups: 9 Reserved block group size: 71 Created filesystem with 3044/70992 inodes and 269327/283736 blocks [0905-01:49:09] Packing [system.img] with [EXT], size: [1162182689] success [0905-01:49:09] Packing [system_ext.img]:[EXT] with size [960586724] FSPATCH by [affggh] LICENES [Apache 2.0] VERSION [1.0] FsPatcher: Load origin 2134 entries Add [system_ext['0', '0', '0755']] Add [system_ext/framework/oat['0', '0', '0755']] Add [system_ext/framework/oat/arm64['0', '0', '0755']] Add [system_ext/framework/oat/arm['0', '0', '0755']] Add [system_ext/framework/oat/arm64/com.xiaomi.nfc.odex['0', '0', '0644']] Add [system_ext/framework/oat/arm64/com.nxp.nfc.nq.odex['0', '0', '0644']] Add [system_ext/framework/oat/arm64/com.xiaomi.nfc.vdex['0', '0', '0644']] Add [system_ext/framework/oat/arm64/com.st.android.nfc_extensions.odex['0', '0', '0644']] Add [system_ext/framework/oat/arm64/com.nxp.nfc.nq.vdex['0', '0', '0644']] Add [system_ext/framework/oat/arm64/com.st.android.nfc_extensions.vdex['0', '0', '0644']] Add [system_ext/framework/oat/arm/com.xiaomi.nfc.odex['0', '0', '0644']] Add [system_ext/framework/oat/arm/com.nxp.nfc.nq.odex['0', '0', '0644']] Add [system_ext/framework/oat/arm/com.xiaomi.nfc.vdex['0', '0', '0644']] Add [system_ext/framework/oat/arm/com.st.android.nfc_extensions.odex['0', '0', '0644']] Add [system_ext/framework/oat/arm/com.nxp.nfc.nq.vdex['0', '0', '0644']] Add [system_ext/framework/oat/arm/com.st.android.nfc_extensions.vdex['0', '0', '0644']] FsPatcher: Add 16 entries Done! ContextPatcher: Load origin 2135 entries ADD [/lost+found ['u:object_r:system_file:s0']] ADD [/system_ext/framework/oat ['u:object_r:system_file:s0']] ADD [/system_ext/framework/oat/arm64 ['u:object_r:system_file:s0']] ADD [/system_ext/framework/oat/arm ['u:object_r:system_file:s0']] ADD [/system_ext/framework/oat/arm64/com.xiaomi.nfc.odex ['u:object_r:system_file:s0']] ADD [/system_ext/framework/oat/arm64/com.nxp.nfc.nq.odex ['u:object_r:system_file:s0']] ADD [/system_ext/framework/oat/arm64/com.xiaomi.nfc.vdex ['u:object_r:system_file:s0']] ADD [/system_ext/framework/oat/arm64/com.st.android.nfc_extensions.odex ['u:object_r:system_file:s0']] ADD [/system_ext/framework/oat/arm64/com.nxp.nfc.nq.vdex ['u:object_r:system_file:s0']] ADD [/system_ext/framework/oat/arm64/com.st.android.nfc_extensions.vdex ['u:object_r:system_file:s0']] ADD [/system_ext/framework/oat/arm/com.xiaomi.nfc.odex ['u:object_r:system_file:s0']] ADD [/system_ext/framework/oat/arm/com.nxp.nfc.nq.odex ['u:object_r:system_file:s0']] ADD [/system_ext/framework/oat/arm/com.xiaomi.nfc.vdex ['u:object_r:system_file:s0']] ADD [/system_ext/framework/oat/arm/com.st.android.nfc_extensions.odex ['u:object_r:system_file:s0']] ADD [/system_ext/framework/oat/arm/com.nxp.nfc.nq.vdex ['u:object_r:system_file:s0']] ADD [/system_ext/framework/oat/arm/com.st.android.nfc_extensions.vdex ['u:object_r:system_file:s0']] ContextPatcher: Add 16 entries Done! loaded 2146 fs_config entries Creating filesystem with parameters: Size: 960585728 Block size: 4096 Blocks per group: 32768 Inodes per group: 7344 Inode size: 256 Journal blocks: 0 Label: system_ext Blocks: 234518 Block groups: 8 Reserved block group size: 63 Created filesystem with 2155/58752 inodes and 219036/234518 blocks [0905-01:49:13] Packing [system_ext.img] with [EXT], size: [960586724] success [0905-01:49:13] Packing [vendor.img]:[EXT] with size [1864864624] FSPATCH by [affggh] LICENES [Apache 2.0] VERSION [1.0] FsPatcher: Load origin 3880 entries Add [vendor/lib64/libsn100u_fw.so['0', '0', '0644']] FsPatcher: Add 1 entries Done! ContextPatcher: Load origin 3880 entries ADD [/lost+found ['u:object_r:vendor_file:s0']] ADD [/vendor/ ['u:object_r:vendor_file:s0']] ADD [/vendor/lib64/libsn100u_fw.so ['u:object_r:vendor_file:s0']] ContextPatcher: Add 3 entries Done! loaded 3880 fs_config entries Creating filesystem with parameters: Size: 1864863744 Block size: 4096 Blocks per group: 32768 Inodes per group: 8144 Inode size: 256 Journal blocks: 0 Label: vendor Blocks: 455289 Block groups: 14 Reserved block group size: 111 Created filesystem with 3888/114016 inodes and 444396/455289 blocks [0905-01:49:20] Packing [vendor.img] with [EXT], size: [1864864624] success [0905-01:49:20] Packing super.img for V-AB device [0905-01:49:20] Super sub-partition [mi_ext] size: [4325376] [0905-01:49:20] Super sub-partition [odm] size: [35536896] [0905-01:49:20] Super sub-partition [product] size: [4808634368] [0905-01:49:20] Super sub-partition [system] size: [1162182656] [0905-01:49:20] Super sub-partition [system_ext] size: [960585728] [0905-01:49:20] Super sub-partition [vendor] size: [1864863744] lpmake I 09-05 01:49:20 12675 12675 builder.cpp:1093] [liblp]Partition mi_ext_a will resize from 0 bytes to 4325376 bytes lpmake I 09-05 01:49:20 12675 12675 builder.cpp:1093] [liblp]Partition odm_a will resize from 0 bytes to 35536896 bytes lpmake I 09-05 01:49:20 12675 12675 builder.cpp:1093] [liblp]Partition product_a will resize from 0 bytes to 4808634368 bytes lpmake I 09-05 01:49:20 12675 12675 builder.cpp:1093] [liblp]Partition system_a will resize from 0 bytes to 1162182656 bytes lpmake I 09-05 01:49:20 12675 12675 builder.cpp:1093] [liblp]Partition system_ext_a will resize from 0 bytes to 960585728 bytes lpmake I 09-05 01:49:20 12675 12675 builder.cpp:1093] [liblp]Partition vendor_a will resize from 0 bytes to 1864863744 bytes Invalid sparse file format at header magic Invalid sparse file format at header magic Invalid sparse file format at header magic Invalid sparse file format at header magic Invalid sparse file format at header magic Invalid sparse file format at header magic [0905-01:49:56] Pakcing super.img done. [0905-01:49:56] Comprising super.img build/portrom/images/super.img : 49.08% ( 8.50 GiB => 4.17 GiB, build/portrom/images/super.zst) [0905-01:50:25] Generating flashing script find: 'devices/thyme/': No such file or directory find: 'devices/thyme/': No such file or directory find: 'devices/thyme/': No such file or directory mv: missing destination file operand after 'out/xiaomi.eu_OS1.0.4.0.TGACNXM_OS1.0.13.0.UGACNXM/boot_official.img' Try 'mv --help' for more information. adding: META-INF/ (stored 0%) adding: META-INF/zstd (deflated 55%) adding: META-INF/com/ (stored 0%) adding: META-INF/com/google/ (stored 0%) adding: META-INF/com/google/android/ (stored 0%) adding: META-INF/com/google/android/update-binary (deflated 75%) adding: bin/ (stored 0%) adding: bin/windows/ (stored 0%) adding: bin/windows/fastboot.exe (deflated 54%) adding: bin/windows/mke2fs.conf (deflated 67%) adding: bin/windows/awk.exe (deflated 41%) adding: bin/windows/AdbWinUsbApi.dll (deflated 45%) adding: bin/windows/libwinpthread-1.dll (deflated 65%) adding: bin/windows/sqlite3.exe (deflated 51%) adding: bin/windows/source.properties (stored 0%) adding: bin/windows/adb.exe (deflated 52%) adding: bin/windows/zstd.exe (deflated 60%) adding: bin/windows/curl.exe (deflated 54%) adding: bin/windows/NOTICE.txt (deflated 77%) adding: bin/windows/make_f2fs.exe (deflated 53%) adding: bin/windows/dmtracedump.exe (deflated 58%) adding: bin/windows/etc1tool.exe (deflated 49%) adding: bin/windows/cut.exe (deflated 41%) adding: bin/windows/AdbWinApi.dll (deflated 47%) adding: bin/windows/make_f2fs_casefold.exe (deflated 53%) adding: bin/windows/mke2fs.exe (deflated 49%) adding: bin/windows/hprof-conv.exe (deflated 41%) adding: firmware-update/ (stored 0%) adding: firmware-update/abl.img (deflated 20%) adding: firmware-update/vbmeta.img (deflated 78%) adding: firmware-update/cmnlib64.img (deflated 52%) adding: firmware-update/hyp.img (deflated 67%) adding: firmware-update/vbmeta_system.img (deflated 64%) adding: firmware-update/cust.img (deflated 99%) adding: firmware-update/dsp.img (deflated 84%) adding: firmware-update/uefisecapp.img (deflated 58%) adding: firmware-update/devcfg.img (deflated 67%) adding: firmware-update/xbl_config.img (deflated 75%) adding: firmware-update/featenabler.img (deflated 67%) adding: firmware-update/qupfw.img (deflated 69%) adding: firmware-update/modem.img (deflated 56%) adding: firmware-update/vendor_boot.img (deflated 100%) adding: firmware-update/tz.img (deflated 65%) adding: firmware-update/imagefv.img (deflated 95%) adding: firmware-update/bluetooth.img (deflated 47%) adding: firmware-update/cmnlib.img (deflated 41%) adding: firmware-update/aop.img (deflated 53%) adding: firmware-update/dtbo.img (deflated 95%) adding: firmware-update/xbl.img (deflated 19%) adding: firmware-update/keymaster.img (deflated 58%) adding: mac_linux_flash_script.sh (deflated 71%) adding: super.zst (deflated 0%) adding: windows_flash_script.bat (deflated 70%) [0905-01:52:27] Porting completed [0905-01:52:27] Output: [0905-01:52:27] /home/khai/hyperos_port/out/xiaomi.eu_OS1.0.4.0.TGACNXM_OS1.0.13.0.UGACNXM_91e53fae0d_14_fuxi_09050152_EXT.zip

Please select - 1 is selected by default, and enter to execute:2

Validating device...please boot your device into bootloader and make sure your device code is umi

Mismatching image and device. Do you want to continue anyway? (y/n): y < waiting for any device > fastboot: error: cannot load 'C:\crb_339\xiaomi.eu_OS1.0.4.0.TGACNXM_OS1.0.13.0.UGACNXM\boot_official.img': No such file or directory fastboot: error: cannot load 'C:\crb_339\xiaomi.eu_OS1.0.4.0.TGACNXM_OS1.0.13.0.UGACNXM\boot_official.img': No such file or directory Sending 'dtbo_a' (32768 KB) OKAY [ 0.850s] Writing 'dtbo_a' OKAY [ 0.077s] Finished. Total time: 0.945s Sending 'dtbo_b' (32768 KB) OKAY [ 0.848s] Writing 'dtbo_b' OKAY [ 0.079s] Finished. Total time: 0.944s Sending 'xbl_config_b' (100 KB) OKAY [ 0.007s] Writing 'xbl_config_b' OKAY [ 0.002s] Finished. Total time: 0.033s Sending 'xbl_config_a' (100 KB) OKAY [ 0.011s] Writing 'xbl_config_a' OKAY [ 0.002s] Finished. Total time: 0.032s Sending 'xbl_b' (3492 KB) OKAY [ 0.098s] Writing 'xbl_b' OKAY [ 0.019s] Finished. Total time: 0.148s Sending 'xbl_a' (3492 KB) OKAY [ 0.099s] Writing 'xbl_a' OKAY [ 0.023s] Finished. Total time: 0.144s Sending 'vendor_boot_b' (98304 KB) OKAY [ 2.554s] Writing 'vendor_boot_b' OKAY [ 0.249s] Finished. Total time: 2.829s Sending 'vendor_boot_a' (98304 KB) OKAY [ 2.481s] Writing 'vendor_boot_a' OKAY [ 0.219s] Finished. Total time: 2.720s Sending 'vbmeta_system_b' (4 KB) OKAY [ 0.010s] Writing 'vbmeta_system_b' OKAY [ 0.001s] Finished. Total time: 0.031s Sending 'vbmeta_system_a' (4 KB) OKAY [ 0.011s] Writing 'vbmeta_system_a' OKAY [ 0.001s] Finished. Total time: 0.041s Sending 'vbmeta_b' (8 KB) OKAY [ 0.004s] Writing 'vbmeta_b' OKAY [ 0.001s] Finished. Total time: 0.030s Sending 'vbmeta_a' (8 KB) OKAY [ 0.010s] Writing 'vbmeta_a' OKAY [ 0.001s] Finished. Total time: 0.041s Sending 'uefisecapp_b' (124 KB) OKAY [ 0.011s] Writing 'uefisecapp_b' OKAY [ 0.001s] Finished. Total time: 0.031s Sending 'uefisecapp_a' (124 KB) OKAY [ 0.010s] Writing 'uefisecapp_a' OKAY [ 0.003s] Finished. Total time: 0.032s Sending 'tz_b' (3116 KB) OKAY [ 0.090s] Writing 'tz_b' OKAY [ 0.010s] Finished. Total time: 0.121s Sending 'tz_a' (3116 KB) OKAY [ 0.091s] Writing 'tz_a' OKAY [ 0.010s] Finished. Total time: 0.121s Sending 'qupfw_b' (56 KB) OKAY [ 0.005s] Writing 'qupfw_b' OKAY [ 0.001s] Finished. Total time: 0.023s Sending 'qupfw_a' (56 KB) OKAY [ 0.003s] Writing 'qupfw_a' OKAY [ 0.013s] Finished. Total time: 0.033s Sending 'modem_b' (300796 KB) OKAY [ 7.733s] Writing 'modem_b' OKAY [ 1.257s] Finished. Total time: 9.410s Sending 'modem_a' (300796 KB) OKAY [ 7.698s] Writing 'modem_a' OKAY [ 1.006s] Finished. Total time: 8.997s Sending 'keymaster_b' (276 KB) OKAY [ 0.013s] Writing 'keymaster_b' OKAY [ 0.002s] Finished. Total time: 0.039s Sending 'keymaster_a' (276 KB) OKAY [ 0.012s] Writing 'keymaster_a' OKAY [ 0.002s] Finished. Total time: 0.033s Sending 'imagefv_b' (2048 KB) OKAY [ 0.060s] Writing 'imagefv_b' OKAY [ 0.011s] Finished. Total time: 0.089s Sending 'imagefv_a' (2048 KB) OKAY [ 0.063s] Writing 'imagefv_a' OKAY [ 0.009s] Finished. Total time: 0.090s Sending 'hyp_b' (436 KB) OKAY [ 0.013s] Writing 'hyp_b' OKAY [ 0.002s] Finished. Total time: 0.033s Sending 'hyp_a' (436 KB) OKAY [ 0.022s] Writing 'hyp_a' OKAY [ 0.002s] Finished. Total time: 0.041s Sending 'featenabler_b' (88 KB) OKAY [ 0.011s] Writing 'featenabler_b' OKAY [ 0.003s] Finished. Total time: 0.033s Sending 'featenabler_a' (88 KB) OKAY [ 0.010s] Writing 'featenabler_a' OKAY [ 0.002s] Finished. Total time: 0.031s Sending 'dsp_b' (65536 KB) OKAY [ 1.684s] Writing 'dsp_b' OKAY [ 0.168s] Finished. Total time: 1.870s Sending 'dsp_a' (65536 KB) OKAY [ 1.688s] Writing 'dsp_a' OKAY [ 0.140s] Finished. Total time: 1.845s Sending 'devcfg_b' (56 KB) OKAY [ 0.012s] Writing 'devcfg_b' OKAY [ 0.012s] Finished. Total time: 0.041s Sending 'devcfg_a' (56 KB) OKAY [ 0.012s] Writing 'devcfg_a' OKAY [ 0.005s] Finished. Total time: 0.034s Sending 'cmnlib64_b' (504 KB) OKAY [ 0.017s] Writing 'cmnlib64_b' OKAY [ 0.002s] Finished. Total time: 0.039s Sending 'cmnlib64_a' (504 KB) OKAY [ 0.019s] Writing 'cmnlib64_a' OKAY [ 0.003s] Finished. Total time: 0.041s Sending 'cmnlib_b' (388 KB) OKAY [ 0.020s] Writing 'cmnlib_b' OKAY [ 0.002s] Finished. Total time: 0.040s Sending 'cmnlib_a' (388 KB) OKAY [ 0.019s] Writing 'cmnlib_a' OKAY [ 0.003s] Finished. Total time: 0.041s Sending 'bluetooth_b' (412 KB) OKAY [ 0.021s] Writing 'bluetooth_b' OKAY [ 0.003s] Finished. Total time: 0.042s Sending 'bluetooth_a' (412 KB) OKAY [ 0.018s] Writing 'bluetooth_a' OKAY [ 0.003s] Finished. Total time: 0.041s Sending 'aop_b' (200 KB) OKAY [ 0.009s] Writing 'aop_b' OKAY [ 0.001s] Finished. Total time: 0.028s Sending 'aop_a' (200 KB) OKAY [ 0.013s] Writing 'aop_a' OKAY [ 0.001s] Finished. Total time: 0.041s Sending 'abl_b' (204 KB) OKAY [ 0.009s] Writing 'abl_b' OKAY [ 0.002s] Finished. Total time: 0.041s Sending 'abl_a' (204 KB) OKAY [ 0.011s] Writing 'abl_a' OKAY [ 0.002s] Finished. Total time: 0.042s Rebooting into bootloader OKAY [ 0.000s] Finished. Total time: 0.002s < waiting for any device > Sending sparse 'super' 1/11 (769604 KB) OKAY [ 20.305s] Writing 'super' OKAY [ 0.001s] Sending sparse 'super' 2/11 (767861 KB) OKAY [ 21.064s] Writing 'super' OKAY [ 0.001s] Sending sparse 'super' 3/11 (774044 KB) OKAY [ 21.290s] Writing 'super' OKAY [ 0.000s] Sending sparse 'super' 4/11 (768869 KB) OKAY [ 20.874s] Writing 'super' OKAY [ 0.000s] Sending sparse 'super' 5/11 (783292 KB) OKAY [ 21.143s] Writing 'super' OKAY [ 0.000s] Sending sparse 'super' 6/11 (767593 KB) OKAY [ 20.878s] Writing 'super' OKAY [ 0.000s] Sending sparse 'super' 7/11 (779434 KB) OKAY [ 21.077s] Writing 'super' OKAY [ 0.001s] Sending sparse 'super' 8/11 (777545 KB) OKAY [ 21.458s] Writing 'super' OKAY [ 0.001s] Sending sparse 'super' 9/11 (782892 KB) OKAY [ 21.970s] Writing 'super' OKAY [ 0.001s] Sending sparse 'super' 10/11 (776661 KB) OKAY [ 21.983s] Writing 'super' OKAY [ 0.000s] Sending sparse 'super' 11/11 (417494 KB) OKAY [ 11.884s] Writing 'super' OKAY [ 0.001s] Finished. Total time: 231.361s Wiping data without wiping /data/media/, please wait patiently **** Did you mean to fastboot format this f2fs partition? Erasing 'userdata' OKAY [ 0.036s] Finished. Total time: 20.013s **** Did you mean to fastboot format this ext4 partition? Erasing 'metadata' OKAY [ 0.004s] Finished. Total time: 0.012s Starting the process to set the active slot to 'a.' This may take some time. Please refrain from manually restarting or unplugging the data cable, as doing so could result in the device becoming unresponsive. Setting current slot to 'a' OKAY [ 0.008s] Finished. Total time: 0.012s Rebooting OKAY [ 0.000s] Finished. Total time: 0.002s Flash completed. If the phone does not restart for an extended period, please manually restart. Press any key to exit. Press any key to continue . . .

toraidl commented 2 months ago

Could you let me know which base ROM your phone is currently using? According to the log, the boot.img failed to be packed into the zip file. You can modify the code on line 1310 to: bootimg=$(find out/${os_type}_${device_code}_${port_rom_version} build/baserom/ -name "boot.img" | head -n 1).

khaizr0 commented 2 months ago

on my phone right now using xiaomi.eu rom 1.0.4.0.TGACNXM (android 13) i will try it with ur modify

khaizr0 commented 2 months ago

Build log.txt

install log.txt