I think I have a better method, but it requires you have an SD card.
Instead of extracting the contents of the RAMdisk from an archive, have them loaded from a partition on the SD card? and then when a custom ROM is developed have its ramdisk in the update package and have it written to the external SD card, then when the system is loaded then mount that partition at / .. This is just an idea though.
Sent from my C5303 using Tapatalk