Converted to iOSOpenDev, mostly ported to iOS 6