mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-19 21:58:28 +00:00

Samsung Galaxy A21S and Galaxy M12, probably others, are hdr_v2 boot.img with 2SI judging by the ramdisk contents, but the dtb contains an extra cmdline with skip_initramfs present, even though this shouldn't exist on 2SI and the kernel apparently doesn't even contain a skip_initramfs function I can't find examples of other devices where skip_initramfs is present in the dtb other than these so patch it out like we do the kernel Co-authored-by: topjohnwu <topjohnwu@gmail.com>