Closed xxroot closed 1 year ago
Never seen such ramdisk.img for /ramdisk partition. What's the Huawei device model ? I see "androidboot.hardware=qcom"
honour 30 lite But this phone is MTK chip, I also don't understand why androidboot.hardware=qcom
In my opinion, this problem is solved by adding a judgment when packing the kernel. If the kernel does not exist, skip the kernel packing
In my opinion, this problem is solved by adding a judgment when packing the kernel. If the kernel does not exist, skip the kernel packing
Yes, that's the idea. I quickly checked several Huawei & Honor phones, they all have "ramdisk" or "ramdisk_a/b" partitions.
Later, all Huawei and Honor are ramdisk, which seems to be separated from kernel. kernel should be in boot
Caused by: java.lang.IllegalStateException: This should not happen, please add comments at: https://github.com/cfig/Android_boot_image_editor/issues/122
Please rename the file to "ramdisk.img"
哈哈,犯二了,我把名字改成了boot.img
Nice
If you have time, fix the ramdisk without a kernel. Huawei ramdisk.img
'Caused by: java.io.FileNotFoundException: build/unzip_boot/kernel (没有那个文件或目录) at java.base/java.io.FileInputStream.open0(Native Method) at java.base/java.io.FileInputStream.open(FileInputStream.java:219) at java.base/java.io.FileInputStream.(FileInputStream.java:157)
at cfig.bootimg.Common$Companion.hashFileAndSize(Common.kt:210)
at cfig.bootimg.v2.BootV2.pack(BootV2.kt:397)
at cfig.packable.BootImgParser.pack(BootImgParser.kt:86)
... 8 more
'
ramdisk.zip