First, auxiliary software installation

  • According to the previous article, after the successful jailbreak, for technical learning, it will be better to install an auxiliary software, which can help us learn something more deeply.

  • The iPhone uses Cydia to install these apps

    1. [Apple File Conduit “2”] : To ensure that you can access the entire iOS device’s file system, it was created by Jay Freeman, the father of Cydia, to solve the problem of iOS 7.x jailbreak, which cannot access system files (jailbreak). This add-on has the same function as afC2Add and AFC2 service patches, but it is new. Recommended.

    2. AppSync Unified is a patch that allows you to install cracked software on the device, that is, you can bypass system verification, install and run cracked IPA installation package at will, one of the plug-ins required for jailbreaking.

    3. [iFile] : File manager, which can access iOS file system freely on iPhone. Similar to Android file manager, it can access files and folders of the whole phone.

  • The Mac needs to be installed

    1, 【iFunBox download address 】, 【iFunBox official website 】 the official website seems to be unable to download, you can go to the previous download address to download the software: It is a universal file management software for iPhone and other Apple products. It is a file and application manager for Apple devices. After installing it, you can change Languages in the upper right corner to Chinese.

Second, details

  • After jailbreaking the phone, connect to iFunBox. If it shows unjailbroken in the upper left corner, it will not show jailbroken until after Cydia installation [Apple File Conduit “2”].

Three, code to determine whether jailbreak

  • The easiest way to tell is if we have an installationCydiaSoftware, we can go throughiFunBoxView path yes.

  • The iOS code

    If ([[NSFileManager defaultManager] fileExistsAtPath:@"/Applications/ cydia.app "]) {NSLog(@" device has been broken "); } else {NSLog(@" device not jailbroken "); }Copy the code

  • Here jailbreak environment is almost, the following need to configure the reverse environment to build!!