toraidl / hyperos_port Goto Github PK
View Code? Open in Web Editor NEWHyperOS stock/xiaomi.eu ROM port for Android 13 based ROM - 小米HyperOS系统(Android 14)移植,测试支持小米10/10Pro/10Ultra/10S(Android13底包)
License: MIT License
HyperOS stock/xiaomi.eu ROM port for Android 13 based ROM - 小米HyperOS系统(Android 14)移植,测试支持小米10/10Pro/10Ultra/10S(Android13底包)
License: MIT License
后面具体日期版本号就不显示 只有V816.0.24.6..dev
sdk啥的也都不对
现在脚本打包出来的包没法开机
Hello.
Did a pad 5 version exist or is the actual version is compatible.
Thanks you verry much 😄.
附输出:
user@guoyujiePC:~/hyperos_port$ sudo ./port.sh ../miui_UMI_V14.0.4.0.TJBCNXM_23fc5ef4ee_13.0_2.zip ../miui_FUXI_OS1.0.24.1.1.DEV_a496b70a99_14.0.zip
[sudo] user 的密码:
对不起,请重试。
[sudo] user 的密码:
./port.sh: 行 199: pack_type:未找到命令
[0106-09:38:09] 底包: ../miui_UMI_V14.0.4.0.TJBCNXM_23fc5ef4ee_13.0_2.zip
[0106-09:38:09] 移植包: ../miui_FUXI_OS1.0.24.1.1.DEV_a496b70a99_14.0.zip
[0106-09:38:09] 正在检测ROM底包
[0106-09:38:09] 开始检测ROM移植包
[0106-09:38:09] ROM初步检测通过
[0106-09:38:09] ROM初步检测通过
[0106-09:38:09] 正在清理文件
[0106-09:38:11] 文件清理完毕
[0106-09:38:11] 正在提取底包 [new.dat.br]
[0106-09:38:41] 底包 [new.dat.br] 提取完毕
[0106-09:38:41] 正在提取移植包 [payload.bin]
[0106-09:39:42] 移植包 [payload.bin] 提取完毕
[0106-09:39:42] 开始分解底包 [new.dat.br]
[0106-09:41:15] 正在分解底包 system.img [ext]
[0106-09:41:27] 分解底包 [system.img] 完成
[0106-09:41:27] 正在分解底包 system_ext.img [ext]
[0106-09:41:29] 分解底包 [system_ext.img] 完成
[0106-09:41:30] 正在分解底包 product.img [ext]
[0106-09:42:29] 分解底包 [product.img] 完成
[0106-09:42:29] 正在分解底包 mi_ext.img [ext]
[0106-09:42:29] 分解底包 [mi_ext.img] 完成
[0106-09:42:36] 开始提取逻辑分区镜像
vendor mi_ext odm system product system_ext
[0106-09:42:36] 从底包中提取 [vendor]分区 ...
[0106-09:42:36] 开始提取 vendor.img
[0106-09:42:45] 提取 [vendor] [ext]镜像完毕
[0106-09:42:45] payload.bin 提取 [mi_ext] 分区...
[0106-09:42:46] 开始提取 mi_ext.img
[0106-09:42:46] 移植包为 [erofs] 文件系统
[0106-09:42:46] 提取移植包[mi_ext] [erofs]镜像完毕
[0106-09:42:46] 从底包中提取 [odm]分区 ...
[0106-09:42:46] 开始提取 odm.img
[0106-09:42:46] 提取 [odm] [ext]镜像完毕
[0106-09:42:46] payload.bin 提取 [system] 分区...
[0106-09:43:10] 开始提取 system.img
[0106-09:43:10] 移植包为 [erofs] 文件系统
[0106-09:43:13] 提取移植包[system] [erofs]镜像完毕
[0106-09:43:13] payload.bin 提取 [product] 分区...
[0106-09:45:27] 开始提取 product.img
[0106-09:45:27] 移植包为 [erofs] 文件系统
[0106-09:46:03] 提取移植包[product] [erofs]镜像完毕
[0106-09:46:03] payload.bin 提取 [system_ext] 分区...
[0106-09:46:22] 开始提取 system_ext.img
[0106-09:46:22] 移植包为 [erofs] 文件系统
[0106-09:46:23] 提取移植包[system_ext] [erofs]镜像完毕
[0106-09:46:23] 正在获取ROM参数
[0106-09:46:24] 安卓版本: 底包为[Android 13], 移植包为 [Android 14]
[0106-09:46:24] SDK 版本: 底包为 [SDK 30], 移植包为 [SDK 34]
[0106-09:46:24] 检测到开发板,跳过修改版本代码
[0106-09:46:24] ROM 版本: 底包为 [V14.0.4.0.TJBCNXM], 移植包为 [OS1.0.24.1.1.DEV]
[0106-09:46:24] 机型代号: 底包为 [umi], 移植包为 [fuxi]
[0106-09:46:24] 正在替换 [AospFrameworkResOverlay.apk]
[0106-09:46:24] 正在替换 [MiuiFrameworkResOverlay.apk]
[0106-09:46:24] 正在替换 [DevicesAndroidOverlay.apk]
[0106-09:46:24] 正在替换 [DevicesOverlay.apk]
[0106-09:46:25] 正在替换 [SettingsRroDeviceHideStatusBarOverlay.apk]
[0106-09:46:25] 正在替换 [MiuiBiometricResOverlay.apk]
[0106-09:46:25] Copying device_features
[0106-09:46:25] 未找到MiuiBiometric,替换为原包
[0106-09:46:27] 修复息屏和屏下指纹问题
'tmp/DevicesAndroidOverlay.apk' -> 'build/portrom/images/product/overlay/DevicesAndroidOverlay.apk'
[0106-09:46:32] ro.vndk.version为30
[0106-09:46:32] 30已存在,跳过修改
date: 无效的日期 “2000-00-24”
[0106-09:46:32] 左侧挖孔灵动岛修复
[0106-09:46:32] 正在修改 MiuiSystemUI.apk
[0106-09:46:37] I: 开始patch目标 classes
[0106-09:46:43] 修补MiuiSystemUI.apk 完成
[0106-09:46:43] 检测到apk,进行zipalign处理。。
[0106-09:46:43] apk zipalign处理完成
[0106-09:46:43] 复制APK到目标位置:build/portrom/images/system_ext/priv-app/MiuiSystemUI/MiuiSystemUI.apk
[0106-09:46:43] 解除状态栏通知个数限制(默认最大6个)
[0106-09:46:43] 正在修改 MiuiSystemUI.apk
[0106-09:46:48] I: 开始patch目标 classes
[0106-09:46:53] 修补MiuiSystemUI.apk 完成
[0106-09:46:53] 检测到apk,进行zipalign处理。。
[0106-09:46:53] apk zipalign处理完成
[0106-09:46:53] 复制APK到目标位置:build/portrom/images/system_ext/priv-app/MiuiSystemUI/MiuiSystemUI.apk
[0106-09:46:53] 开始移除 Android 签名校验
/home/user/hyperos_port/tmp /home/user/hyperos_port
find: warning: you have specified the global option -maxdepth after the argument -type, but global options are not positional, i.e., -maxdepth affects tests specified before it as well as those specified after it. Please specify global options before other arguments.
[0106-09:46:57] services/smali_classes2/com/android/server/pm/ApexManager$ApexManagerImpl.smali 修改成功
[0106-09:46:57] services/smali_classes2/com/android/server/pm/ScanPackageUtils.smali 修改成功
[0106-09:46:57] services/smali_classes2/com/android/server/pm/PackageSessionVerifier.smali 修改成功
[0106-09:46:57] services/smali_classes2/com/android/server/pm/pkg/parsing/ParsingPackageUtils.smali 修改成功
[0106-09:46:57] 反编译成功,开始回编译
/home/user/hyperos_port
'tmp/services.jar' -> 'build/portrom/images/system/system/framework/services.jar'
[0106-09:47:12] 删除多余的App
[0106-09:47:12] 删除目录: build/portrom/images/product/app/MSA
[0106-09:47:12] 删除目录: build/portrom/images/product/priv-app/MIService
[0106-09:47:12] 删除目录: build/portrom/images/product/app/QcomSoterService
[0106-09:47:13] 删除目录: build/portrom/images/product/app/HybridPlatform
[0106-09:47:13] 删除目录: build/portrom/images/product/app/AnalyticsCore
[0106-09:47:13] 正在修改 build.prop
[0106-09:47:13] 正在处理 build/portrom/images/mi_ext/etc/build.prop
[0106-09:47:13] 正在处理 build/portrom/images/product/etc/build.prop
[0106-09:47:13] 正在处理 build/portrom/images/odm/etc/build.prop
[0106-09:47:14] 正在处理 build/portrom/images/system_ext/etc/build.prop
[0106-09:47:14] 正在处理 build/portrom/images/system/system/build.prop
[0106-09:47:14] 正在处理 build/portrom/images/system/system/system_dlkm/etc/build.prop
[0106-09:47:15] 正在处理 build/portrom/images/vendor/build.prop
[0106-09:47:16] 底包屏幕密度值 440
[0106-09:47:16] 未找到ro.fs.lcd_density,build.prop新建一个值440
[0106-09:47:16] 修复Millet
[0106-09:47:16] 找到ro.millet.netlink修改值为29
'devices/common/overlay/system/system/app/NQNfcNci' -> 'build/portrom/images/system/system/app/NQNfcNci'
'devices/common/overlay/system/system/app/NQNfcNci/NQNfcNci.apk' -> 'build/portrom/images/system/system/app/NQNfcNci/NQNfcNci.apk'
'devices/common/overlay/system_ext/framework/com.nxp.nfc.nq.jar' -> 'build/portrom/images/system_ext/framework/com.nxp.nfc.nq.jar'
'devices/common/overlay/system_ext/framework/com.xiaomi.nfc.jar' -> 'build/portrom/images/system_ext/framework/com.xiaomi.nfc.jar'
[0106-09:47:16] 替换相机为10S HyperOS A13 相机,MI10可用, thanks to 酷安 @PedroZ
'devices/common/overlay/product/priv-app/MiuiCamera/MiuiCamera.apk' -> 'build/portrom/images/product/priv-app/MiuiCamera/MiuiCamera.apk'
[0106-09:47:17] 替换开机第二屏动画
'devices/common/overlay/product/media/bootanimation_440.zip' -> 'build/portrom/images/product/media/bootanimation.zip'
'devices/common/overlay/product/app/MiLinkCirculateMIUI15' -> 'build/portrom/images/product/app/MiLinkCirculateMIUI15/MiLinkCirculateMIUI15'
'devices/common/overlay/product/app/MiLinkCirculateMIUI15/MiLinkCirculateMIUI15.apk' -> 'build/portrom/images/product/app/MiLinkCirculateMIUI15/MiLinkCirculateMIUI15/MiLinkCirculateMIUI15.apk'
[0106-09:47:17] replace files in here
[0106-09:47:17] 去除avb校验
[0106-09:47:17] Target: build/portrom/images/system_ext/etc/fstab.other
[0106-09:47:17] Target: build/portrom/images/system/system/etc/fstab.postinstall
[0106-09:47:17] Target: build/portrom/images/vendor/etc/fstab.qcom
[0106-09:47:17] Super大小为9126805504
[0106-09:47:17] 开始打包镜像
[0106-09:47:17] 以[EXT]文件系统打包[vendor.img]大小[2027075283]
FSPATCH by [affggh]
LICENES [Apache 2.0]
VERSION [1.0]
FsPatcher: Load origin 3939 entries
FsPatcher: Add 0 entries
Done!
CONTEXTPATCH by [ColdWindScholar]
VERSION [1.0]
ContextPatcher: Load origin 3940 entries
ADD [/lost+found ['u:object_r:vendor_file:s0']]
ADD [/vendor/ ['u:object_r:vendor_file:s0']]
ContextPatcher: Add 2 entries
Done!
loaded 3938 fs_config entries
Creating filesystem with parameters:
Size: 2027073536
Block size: 4096
Blocks per group: 32768
Inodes per group: 7744
Inode size: 256
Journal blocks: 0
Label: vendor
Blocks: 494891
Block groups: 16
Reserved block group size: 127
Created filesystem with 3946/123904 inodes and 484750/494891 blocks
[0106-09:47:32] 成功以大小 [2027075283] 打包 [vendor.img] [EXT] 文件系统
[0106-09:47:32] 以[EXT]文件系统打包[mi_ext.img]大小[4587153]
FSPATCH by [affggh]
LICENES [Apache 2.0]
VERSION [1.0]
FsPatcher: Load origin 43 entries
Add [mi_ext['0', '0', '0755']]
FsPatcher: Add 1 entries
Done!
CONTEXTPATCH by [ColdWindScholar]
VERSION [1.0]
ContextPatcher: Load origin 44 entries
ADD [/lost+found ['u:object_r:system_file:s0']]
ContextPatcher: Add 1 entries
Done!
loaded 43 fs_config entries
Creating filesystem with parameters:
Size: 4583424
Block size: 4096
Blocks per group: 32768
Inodes per group: 288
Inode size: 256
Journal blocks: 0
Label: mi_ext
Blocks: 1119
Block groups: 1
Reserved block group size: 7
Created filesystem with 51/288 inodes and 135/1119 blocks
[0106-09:47:33] 成功以大小 [4587153] 打包 [mi_ext.img] [EXT] 文件系统
[0106-09:47:33] 以[EXT]文件系统打包[odm.img]大小[35531968]
FSPATCH by [affggh]
LICENES [Apache 2.0]
VERSION [1.0]
FsPatcher: Load origin 24 entries
FsPatcher: Add 0 entries
Done!
CONTEXTPATCH by [ColdWindScholar]
VERSION [1.0]
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: 35528704
Block size: 4096
Blocks per group: 32768
Inodes per group: 2176
Inode size: 256
Journal blocks: 0
Label: odm
Blocks: 8674
Block groups: 1
Reserved block group size: 7
Created filesystem with 32/2176 inodes and 479/8674 blocks
[0106-09:47:33] 成功以大小 [35531968] 打包 [odm.img] [EXT] 文件系统
[0106-09:47:33] 以[EXT]文件系统打包[system.img]大小[1158979937]
FSPATCH by [affggh]
LICENES [Apache 2.0]
VERSION [1.0]
FsPatcher: Load origin 3580 entries
Add [system['0', '0', '0755']]
Add [system/system/app/NQNfcNci['0', '0', '0755']]
Add [system/system/app/NQNfcNci/NQNfcNci.apk['0', '0', '0644']]
FsPatcher: Add 3 entries
Done!
CONTEXTPATCH by [ColdWindScholar]
VERSION [1.0]
ContextPatcher: Load origin 3581 entries
ADD [/lost+found ['u:object_r:system_file:s0']]
ADD [/system/system/app/NQNfcNci ['u:object_r:system_file:s0']]
ADD [/system/system/app/NQNfcNci/NQNfcNci.apk ['u:object_r:system_file:s0']]
ContextPatcher: Add 3 entries
Done!
loaded 3582 fs_config entries
Creating filesystem with parameters:
Size: 1158979584
Block size: 4096
Blocks per group: 32768
Inodes per group: 7872
Inode size: 256
Journal blocks: 0
Label: system
Blocks: 282954
Block groups: 9
Reserved block group size: 71
Created filesystem with 3590/70848 inodes and 268811/282954 blocks
[0106-09:47:41] 成功以大小 [1158979937] 打包 [system.img] [EXT] 文件系统
[0106-09:47:41] 以[EXT]文件系统打包[product.img]大小[4235455097]
FSPATCH by [affggh]
LICENES [Apache 2.0]
VERSION [1.0]
FsPatcher: Load origin 1839 entries
Add [product['0', '0', '0755']]
Add [product/app/MiuiBiometric['0', '0', '0755']]
Add [product/app/MiuiBiometric/oat['0', '0', '0755']]
Add [product/app/MiuiBiometric/MiuiBiometric.apk['0', '0', '0644']]
Add [product/app/MiuiBiometric/oat/arm64['0', '0', '0755']]
Add [product/app/MiuiBiometric/oat/arm64/MiuiBiometric.odex['0', '0', '0644']]
Add [product/app/MiuiBiometric/oat/arm64/MiuiBiometric.vdex['0', '0', '0644']]
Add [product/app/MiLinkCirculateMIUI15/MiLinkCirculateMIUI15['0', '0', '0755']]
Add [product/app/MiLinkCirculateMIUI15/MiLinkCirculateMIUI15/MiLinkCirculateMIUI15.apk['0', '0', '0644']]
Add [product/etc/displayconfig/display_id_4630946545580055169.xml['0', '0', '0644']]
Add [product/etc/displayconfig/display_id_4630947134992368257.xml['0', '0', '0644']]
Add [product/etc/device_features/umi.xml['0', '0', '0644']]
FsPatcher: Add 12 entries
Done!
CONTEXTPATCH by [ColdWindScholar]
VERSION [1.0]
ContextPatcher: Load origin 1840 entries
ADD [/lost+found ['u:object_r:system_file:s0']]
ADD [/product/app/MiuiBiometric ['u:object_r:system_file:s0']]
ADD [/product/app/MiuiBiometric/oat ['u:object_r:system_file:s0']]
ADD [/product/app/MiuiBiometric/MiuiBiometric.apk ['u:object_r:system_file:s0']]
ADD [/product/app/MiuiBiometric/oat/arm64 ['u:object_r:system_file:s0']]
ADD [/product/app/MiuiBiometric/oat/arm64/MiuiBiometric.odex ['u:object_r:system_file:s0']]
ADD [/product/app/MiuiBiometric/oat/arm64/MiuiBiometric.vdex ['u:object_r:system_file:s0']]
ADD [/product/app/MiLinkCirculateMIUI15/MiLinkCirculateMIUI15 ['u:object_r:system_file:s0']]
ADD [/product/app/MiLinkCirculateMIUI15/MiLinkCirculateMIUI15/MiLinkCirculateMIUI15.apk ['u:object_r:system_file:s0']]
ADD [/product/etc/displayconfig/display_id_4630946545580055169.xml ['u:object_r:system_file:s0']]
ADD [/product/etc/displayconfig/display_id_4630947134992368257.xml ['u:object_r:system_file:s0']]
ADD [/product/etc/device_features/umi.xml ['u:object_r:system_file:s0']]
ContextPatcher: Add 12 entries
Done!
loaded 1761 fs_config entries
Creating filesystem with parameters:
Size: 4235452416
Block size: 4096
Blocks per group: 32768
Inodes per group: 8080
Inode size: 256
Journal blocks: 0
Label: product
Blocks: 1034046
Block groups: 32
Reserved block group size: 255
Created filesystem with 1769/258560 inodes and 1027609/1034046 blocks
[0106-09:48:09] 成功以大小 [4235455097] 打包 [product.img] [EXT] 文件系统
[0106-09:48:09] 以[EXT]文件系统打包[system_ext.img]大小[984336284]
FSPATCH by [affggh]
LICENES [Apache 2.0]
VERSION [1.0]
FsPatcher: Load origin 2222 entries
Add [system_ext['0', '0', '0755']]
FsPatcher: Add 1 entries
Done!
CONTEXTPATCH by [ColdWindScholar]
VERSION [1.0]
ContextPatcher: Load origin 2223 entries
ADD [/lost+found ['u:object_r:system_file:s0']]
ContextPatcher: Add 1 entries
Done!
loaded 2222 fs_config entries
Creating filesystem with parameters:
Size: 984334336
Block size: 4096
Blocks per group: 32768
Inodes per group: 7520
Inode size: 256
Journal blocks: 0
Label: system_ext
Blocks: 240316
Block groups: 8
Reserved block group size: 63
Created filesystem with 2230/60160 inodes and 225017/240316 blocks
[0106-09:48:17] 成功以大小 [984336284] 打包 [system_ext.img] [EXT] 文件系统
[0106-09:48:17] 打包A-only super.img
[0106-09:48:17] Super 子分区 [odm] 大小 [35528704]
[0106-09:48:17] Super 子分区 [mi_ext] 大小 [4583424]
[0106-09:48:17] Super 子分区 [system] 大小 [1158979584]
[0106-09:48:17] Super 子分区 [system_ext] 大小 [984334336]
[0106-09:48:17] Super 子分区 [product] 大小 [4235452416]
[0106-09:48:17] Super 子分区 [vendor] 大小 [2027073536]
lpmake I 01-06 09:48:17 9379 9379 builder.cpp:1093] [liblp]Partition odm will resize from 0 bytes to 35528704 bytes
lpmake I 01-06 09:48:17 9379 9379 builder.cpp:1093] [liblp]Partition mi_ext will resize from 0 bytes to 4583424 bytes
lpmake I 01-06 09:48:17 9379 9379 builder.cpp:1093] [liblp]Partition system will resize from 0 bytes to 1158979584 bytes
lpmake I 01-06 09:48:17 9379 9379 builder.cpp:1093] [liblp]Partition system_ext will resize from 0 bytes to 984334336 bytes
lpmake I 01-06 09:48:17 9379 9379 builder.cpp:1093] [liblp]Partition product will resize from 0 bytes to 4235452416 bytes
lpmake I 01-06 09:48:17 9379 9379 builder.cpp:1093] [liblp]Partition vendor will resize from 0 bytes to 2027073536 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
[0106-09:49:16] 成功打包 super.img
[0106-09:49:16] 正在压缩 super.img
build/portrom/images/super.img : 46.62% ( 8.50 GiB => 3.96 GiB, build/portrom/images/super.zst)
[0106-09:49:55] 正在生成刷机脚本
adding: bin/ (stored 0%)
adding: bin/windows/ (stored 0%)
adding: bin/windows/adb.exe (deflated 53%)
adding: bin/windows/AdbWinApi.dll (deflated 49%)
adding: bin/windows/zstd.exe (deflated 60%)
adding: bin/windows/cut.exe (deflated 41%)
adding: bin/windows/awk.exe (deflated 41%)
adding: bin/windows/fastboot.exe (deflated 55%)
adding: bin/windows/sqlite3.exe (deflated 46%)
adding: bin/windows/libwinpthread-1.dll (deflated 67%)
adding: bin/windows/dmtracedump.exe (deflated 58%)
adding: bin/windows/mke2fs.exe (deflated 49%)
adding: bin/windows/AdbWinUsbApi.dll (deflated 49%)
adding: bin/windows/NOTICE.txt (deflated 78%)
adding: bin/windows/mke2fs.conf (deflated 67%)
adding: bin/windows/make_f2fs_casefold.exe (deflated 53%)
adding: bin/windows/curl.exe (deflated 54%)
adding: bin/windows/source.properties (stored 0%)
adding: bin/windows/etc1tool.exe (deflated 50%)
adding: bin/windows/hprof-conv.exe (deflated 46%)
adding: bin/windows/make_f2fs.exe (deflated 53%)
adding: boot_official.img (deflated 80%)
adding: firmware-update/ (stored 0%)
adding: firmware-update/qupv3fw.elf (deflated 67%)
adding: firmware-update/storsec.mbn (deflated 62%)
adding: firmware-update/xbl_config_5.elf (deflated 75%)
adding: firmware-update/featenabler.mbn (deflated 66%)
adding: firmware-update/xbl_5.elf (deflated 19%)
adding: firmware-update/xbl_config_4.elf (deflated 76%)
adding: firmware-update/dspso.bin (deflated 84%)
adding: firmware-update/abl.elf (deflated 19%)
adding: firmware-update/km4.mbn (deflated 58%)
adding: firmware-update/vbmeta.img (deflated 79%)
adding: firmware-update/cmnlib64.mbn (deflated 52%)
adding: firmware-update/vbmeta_system.img (deflated 64%)
adding: firmware-update/aop.mbn (deflated 53%)
adding: firmware-update/xbl_4.elf (deflated 19%)
adding: firmware-update/tz.mbn (deflated 65%)
adding: firmware-update/devcfg.mbn (deflated 65%)
adding: firmware-update/hyp.mbn (deflated 67%)
adding: firmware-update/NON-HLOS.bin (deflated 57%)
adding: firmware-update/BTFM.bin (deflated 47%)
adding: firmware-update/uefi_sec.mbn (deflated 57%)
adding: firmware-update/logo.img (deflated 100%)
adding: firmware-update/dtbo.img (deflated 94%)
adding: firmware-update/cmnlib.mbn (deflated 41%)
adding: mac_linux_flash_script.sh (deflated 69%)
adding: META-INF/ (stored 0%)
adding: META-INF/zstd (deflated 56%)
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 70%)
adding: super.zst (deflated 0%)
adding: windows_flash_script.bat (deflated 68%)
[0106-09:52:10] 移植完毕
[0106-09:52:10] 输出包路径:
[0106-09:52:10] /home/user/hyperos_port/out/hyperos_UMI_OS1.0.24.1.1.DEV_b484f85076_14_fuxi_01060952_EXT.zip
just a small question, i see that this is made for other xiaomi phones but i was just curious if it was at all possible to port this to another device like a google pixel?
裝置:Mac mini (M2 Pro)
系統版本:macOS 14.5
原本執行port.sh時,一直報「命令zipalign缺失」,後來發現只要把bin/Darwin/X86_64資料夾名稱改成bin/Darwin/arm64,應該是因為程式依照CPU架構選擇bin/Darwin/arm64,但Darwin的bin只有x86_64,導致找不到依賴工具的問題,這樣雖然是x86轉譯跑依賴工具,但能解決命令缺失問題。
更新脚本之后制作的移植包一直处于卡一(卡三分钟)-->重启-->卡一(卡三分钟)-->重启这个循环,替换底包无用
手机:Redmi K50 Ultra(diting)
Super分区形式:V A/B
底包版本1:diting 23.9.28泄露版HyperOS
底包版本1安卓版本:Android 14
底包版本2:diting 开发版 MIUI14 V14.0.23.10.25
底包版本2安卓版本:Android 13
底包版本3:diting 稳定版 MIUI14 V14.0.11.0
底包版本3安卓版本:Android 13
注:之前Logo问题开机图为diting 23.9.28泄露版HyperOS为底包制作开机截图而来在代码注释、增加、删减按照之前可开机版本而来(该版本未备份)
我注意到代码中存在从当前仓库复制文件到移植包来解决相机和nfc无法使用的问题,在某些情况下我们是不是应该让他从底包复制这些文件而不是打包进仓库?
pip3 install busybox
brew install gdu gnu-sed gnu-getopt grep
如题 使用brew或者pip3都无法找到软件包 请问有什么解决办法吗 已安装Android Studio
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.