Initial Anykernel port from AK-Genesis

Initial Anykernel port from AK-Genesis, to support Synapse from Andrei