Solve the problem that Cydia cannot be connected to the Internet and support all system versions.
The Bank of China mobile phone has a new network authorization function than the US version, Hong Kong version and Korean version. IOS 10 or above, any application opens for the first time, and if there is a request for the network, it will prompt the network request dialog box.
The first time Cydia opens the dialog box that does not prompt the network to request authorization, which is the reason why the Bank of China's mobile phone Cydia cannot access the Internet. The list of applications allowed to surf the Internet is saved in the following files:
/ var/preferences/com.apple.networkextension.plist
/ var/preferences/com.apple.networkextension.cache.plist
/ var/preferences/com.apple.networkextension.necp.plist
As long as you delete these files, there will be no network request for authorization, but without SSH, how can we execute the command to delete these three files? In the article "erase all content repair Cydia after jailbreak", the author explains how to install MobileTerminal (mobile terminal), and install MobileTerminal (mobile terminal) to execute commands. The steps for the whole solution are as follows:
(1) download MobileTerminal.deb.
(2) use the dpkg-x command to decompress MobileTerminal.deb:
Mkdir MobileTerminal
Dpkg-x mobileterminal_1.0_beta1_iphoneos-arm MobileTerminal
(3) package it into an IPA package:
Cd MobileTerminal/
Cd Applications/
Mkdir Payload
Mv MobileTerminal.app Payload
Zip-r MobileTerminal.ipa Payload
(4) Open CydiaImpactor, drag MobileTerminal.ipa to CydiaImpactor, enter your Apple ID account and password, and install MobileTerminal on your phone.
(5) Open MobileTerminal and enter the following command to delete the file:
Su
Cd / var/preferences
Rm com.apple.networkextension.plist
Rm com.apple.networkextension.cache.plist
Rm com.apple.networkextension.necp.plist
Then reopen Cydia to surf the Internet.
Original address: https://www.exchen.net/ios-hacker-cydia-%E4%B8%8D%E8%83%BD%E4%B8%8A%E7%BD%91%E7%9A%84%E7%BB%88%E6%9E%81%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95.html