What device do you want to use the zram kernel module on? One way is to take the kernel source for your device compile it using the make menuconfig option and enabling under the options. Then when it produces the zram.ko module file you can insmod it on your device. What you could also do is take the zram.ko module from a custom ROM for your device and insmod it from there (Place the module in the /system/lib/modules directory on your device), or try taking the zram.ko module from a custom ROM that supports it that uses the same chipset as your device. Let me know if you still have questions.