From 8416ee77b13d7ca609a6737779fcb36ad5564f8d Mon Sep 17 00:00:00 2001 From: deadman96385 Date: Mon, 23 Mar 2020 03:03:24 -0500 Subject: [PATCH] Disable do_skip_initramfs This allows twrp to load properly --- init/initramfs.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/init/initramfs.c b/init/initramfs.c index 5ea7f1b5ec44..bf9e02d8d6ef 100644 --- a/init/initramfs.c +++ b/init/initramfs.c @@ -623,11 +623,11 @@ static int __init populate_rootfs(void) { char *err; - if (do_skip_initramfs) { - if (initrd_start) - free_initrd(); - return default_rootfs(); - } +// if (do_skip_initramfs) { +// if (initrd_start) +// free_initrd(); +// return default_rootfs(); +// } /* Load the built in initramfs */ err = unpack_to_rootfs(__initramfs_start, __initramfs_size); -- 2.20.1