A cross-platform custom NOR firmware loader and custom IPSW generator for the iPhone