Based on AnyKernel, but pretty much rebuilt in every way so that it will actually work.