You need to port the whole ElfPack + libs (4 files in total) to make work with "none" generic firmwares.
Did you apply any lib??? phone will white screen with no lib as even the ElfPack patch itself requires some.
Lib files are here http://perk11.info/svn/SE/Library/