Current location - Health Preservation Learning Network - Healthy weight loss - How to clean up iOS without restoring the firmware, and restore to the newly restored state?
How to clean up iOS without restoring the firmware, and restore to the newly restored state?
Can A5x iOS6.x be redrawn? Other devices do not have corresponding certificates. Can they be repainted? Just use the computer to know!

This tutorial is only aimed at removing materials and plug-ins that are normally installed in the later period. If the file is replaced manually, it cannot be recovered. You need to replace and restore them with official normal documents yourself. When replacing and restoring, please make sure that the permissions of the file are clear!

ILexRAT and semi-recovery are not recommended.

When the iOS is upgraded to 6 and there is no corresponding version certificate, how to clear an IOS device that has been used for a while and restore it to a clean device that has just escaped from prison without restoring the firmware? The principle is to delete the personal data generated by the user's saving and use, and sort out the location where some plug-ins like to place according to the experience!

Don't say complicated, it's actually very simple. The complication is that you don't use your brain at all. Just look with your eyes: sorry, many words are too much trouble. In the final analysis, there are only a few file directories to deal with, and then some are matters needing attention and principles! I don't like cramming.

Whether I use the iLexRAT holly mouse or semi-restore, or use my manual cleaning method, there is a huge risk for domestic Xiaobai, that is, some domestic third-party plug-ins with imperfect source code participate in modifying and replacing system files! It is common to replace fonts, and there are dog monsters that are not installed in the standard at all! After all, my manual cleaning tutorial is relatively safe and clean!

If you carefully read my manual cleaning tutorial, you should know how to clean up the garbage according to your own needs, including whether to selectively keep personal data such as IPA programs, text messages and phone books.

Pre-preparation: (Be sure to read the whole article before you start, otherwise don't look for me if you delete it indiscriminately)

If you want to clean it thoroughly, please back up your personal data first, and then use management programs such as iTunes or iTools to uninstall all installed IPA programs and synchronized songs and pictures, and then clean it up in the next step. Please cancel if there are screen lock and password restrictions! ! !

Remember to read the following words clearly, and you must use your brain to read them! Distinguish the difference between deleting this directory and not deleting this directory, and don't confuse it.

If 9 1 assistant rogue program is installed on your device, it is suggested to install a plug-in for "automatically uninstalling 9 1 mobile assistant" in Cydia's Weifeng boutique source code (). After installation or restart, it will automatically detect whether 9 1 garbage is installed, and if it is, it will automatically clean it up. At the same time, don't run 9 1 assistant and its monitoring daemon on PC. Otherwise, it will be installed for you "intimately"!

Next, prepare the third-party PC management software based on AFC and SSH services.

I'm worried that some nonstandard programs will create hard links, which will lead to the deletion of real links when deleting hard links. It is recommended to use WINSCP to delete files through openssh. Only when deleting quick links can the destination files and folders be preserved! This happened when the WB theme file was manually deleted some time ago! )

(It should be noted that some white people don't understand. After the jailbreak, the equipment already has AFC service, and Cydia has added AFC plug-ins. At this time, you must keep your own installed AFC plug-in, or you will lose AFC service once you uninstall it, and the management software will not be able to browse to the root directory of the system. )

Such as ifunbox, winscp, cyberducktools, PP assistant, etc. Browse and delete backup file systems.

(Don't try to use iFile, because you need to install a bunch of dependent programs to use it, and the default deletion of iFile is actually to move to its designated "recycle bin", and there is no real deletion. The directory of iFile recycle bin is located at:/var/mobile/library/ifile/trash).

If the following list of files and folders to be deleted is not on your device, you can skip it (because there are some differences between different versions of iOS).

Start cleaning:

1. Open Cydia and uninstall all plug-ins installed by yourself (if you want to clean up completely, remember to select the identity of "developer" in the upper left corner of Cydia management settings, which will display some plug-ins that Xiaobai is afraid of deleting by mistake because of security problems), but please do not uninstall OpenSSH and OpenSSL plug-in services, if not, please install them in time (this is a lifeline in case of problems, which is very important! ! ! )。 If you don't know what you have installed, it is recommended that you don't delete the plug-in. You can uninstall the MobileSubstrate at the first time (at this time, all other plug-ins based on their underlying dependencies will automatically join the uninstall queue list). However, there may be some plug-ins that have not been deleted. If I don't know, I will list the original plug-in just after jailbreak (the developer can see it) or keep it directly!

If there are replacement system fonts installed directly in Cydia through non-bytafont mode, especially in the case of repeated installation of several fonts, it is recommended not to uninstall fonts for safety! ! !

See appendix -Cydia original plug-in list for the original list.

2. Restart the device, open Cydia again, and delete the third-party source you added (this step can be skipped).

Keep the following five sources:

the boss

Cydia/Telesphoreo

Development team

ModMyi.com

Zodtttd & Mike Citi

3. Enter the/var/mobile/library/preferences directory. Delete except "globalpreferences.plistcom.apple.carrier.plist; All files except "com.apple.operator.plist".

(If it is not WINSCP cleaning, it is recommended to keep com. apple.carrier.plist; ; Com.apple.operator.plist, otherwise the destination file will be deleted).

This step can be skipped, and the last step 15 can achieve the same effect, which is safer!

4. Open the folder /var/mobile/Library. Delete all files and folders except the following:

Address book (address book)

Cache (user runs cache)

Cookies (data (usually encrypted) stored on the user's local terminal for user identification and session tracking)

Inbox (web index)

Keyboard (keyboard, that is, the configuration of input method and user vocabulary)

Preferences (configuration information of users and third-party software)

Pre-installed assets (pre-installed support libraries, usually not available)

Safari (local cache Safari(Safari browser, bookmark history, etc. )

WebClips (quick link icons and connections created on the desktop)

WebKit (information saved locally by the user when installing the browsing engine)

Operator Bundle.bundle (network operator profile directory quick chain, if it is not cleaned by WINSCP, it is recommended to keep it, otherwise the destination folder will be deleted).

Operator bundle. bundle(SIM SIM card belongs to the shortcut chain of operator profile directory, for the same reason).

5. Enter the folder listed under /var/mobile/Library and empty all the files in it (but keep this folder and don't delete it! ! ):

(It should be noted that the list here is slightly different from the above, so look carefully! )

address book

Hiding place

biscuit

index

keyboard

go on a hunting trip

WebClips

Network toolkit

6. Open the /var/mobile/Applications directory and delete all junk files that may be left after uninstalling IPA programs.

It is particularly important to note that for the iOS6 version, you need to keep two program directories, WebViewService and Weather (these two directories are covered with a UUID directory name, which is also a quick link, and direct non-WINSCP deletion will delete the link destination folder together), otherwise the weather display will become English (this is the key point! Remember! If you uninstall the installed IPA program in advance according to the initial preparation, it will be easy to find, otherwise finding these two reserved folders in a pile of UUID directories will kill you.

If you want to keep all the IPA programs you installed, or worry that you can't find the wrong junk files, and don't care about the installation or uninstallation failure that doesn't affect the system operation, you don't have to consider this step!

7. Navigate to /var/mobile to delete all files and folders except the following:

application program

Documents (delete all files in this directory)

library

medium

8. Navigate to /var/mobile/Media and delete all files and folders except those listed below:

Two-level discrete complex image

Photo data

picture

9. Enter the three folders excluded above and delete all the files inside, but make sure that these three folders are not deleted!

10. Navigate to the /var/Keychains directory and delete all files and folders in it.

1 1. Navigate to the /Library/Application Support directory and delete all folders except the following files and 3 folders:

AdSheet (network map plug-in of the system)

BTServer (bluetooth service support)

Mail (e-mail service support)

12. Navigate to the /var/root/Library directory and delete all the contents in the folder, but keep the folder.

Note: If you do not want to reactivate the device, please do not delete the files in the locked directory. This is the folder of activation certificates and other certificates for iOS devices. (At the same time, in case the demon machine cannot be activated, it is best to back up the whole lock first. Note that this backup to escrow_records may cause errors, so skip it. ) 。

(Re-activation can re-obtain certificates such as push and passbook. )

13. Navigate to/var/wireless/library/callhistory and delete the file inside (this file is a call record, including the record file of cellular traffic usage time).

14. Check the /Library directory and delete all files and folders except the following list.

Application support

audio

Hiding place

File system

structure

Internet plug-in

Key chain (quick chain)

Emitting agent

Start the daemon

Log (quick chain)

Manage preferences

Mobile device (fast chain)

Preferences (Quick Chain)

printer

Ringtone (quick chain)

update

Wallpaper (quick chain)

15. After manual cleaning, enter Settings-General-Restore-Restore all settings (don't restore erasure, remember), and the device will automatically restart after confirmation! ! !

When the device is restarted, your device will enter the activation and wizard setup steps when you just bought it. After the setup is completed, iTunes can be set as a new device online!