I am creating a rather ambitious project for the iOS and I need to run some code during the boot stage, before the springboard actually launches. I understand that this can harm the device, but it is extremely crucial. I noticed while jailbreaking an iPad Mini with evasi0n that the jailbreak actually runs code at boot (it actually copies some files and displays an image). Any idea on how I can do it?
P.S. I already checked, no source code for evasi0n lying around :(