Extractor Apk: Boot.img
The ramdisk is compressed (often LZ4 or GZIP). Your extractor APK should auto-decompress it. If it doesn't, you need a secondary tool to run unlz4 on the file first. Good extractors do this automatically.
Since Android secures system partitions, you have to use different approaches depending on whether you want to extract the image from your or from a downloaded ROM file . 1. Extracting from a Downloaded ROM (No Root Required) Boot.img Extractor Apk
– APKMirror or XDA threads are your best bet. Avoid random APK sites. The ramdisk is compressed (often LZ4 or GZIP)