Total Pageviews

Breaking News
Loading...
Saturday, February 22, 2014

Wiping all Cydia Tweaks without Restoring and Rejailbreaking

This is compatible with iOS 4 through 7.0.4 on all devices

So this was brought up to me this morning during work when a few of my colleagues installed incompatible tweaks and would end up stuck on the Apple logo, and since they didn't have Safe Mode, they weren't able to remove the incompatible tweak. But, since they're just stuck on the Apple logo, and they had absolutely no clue what the name of the Cydia tweak was, it's difficult to remove the tweak..... So, with that, I used their phones as lab rats to try out ILEX R.A.T. (See what I did there?)

The Catch:
ILEX R.A.T. WILL brick your phone if you're using Siriports. If you installed ANYTHING remotely similar to Siriports/Fake Siris, etc, etc through Cydia, and you DO NOT remove it manually, I WILL 100% GUARANTEE that you WILL brick your device. GUARANTEED. If you have a Siriport, and you plan on using ILEX R.A.T., you MUST manually remove Siriports and replace all of its associated system mods.


What's iLEX R.A.T.?

ILEX R.A.T. stands for Remove All Tweaks. Basically this removes each and every installed app, tweak and dependency EXCLUDING the defaults from Cydia, so after you've jailbroken your device a while back, and you installed your hundreds of packages, it'll all be removed with a single command.

What this is primarily used for is if your device ends up in a state where you cannot enter Safe Mode since you don't have it, or if your device is stuck on any screen but is still recognized by your PC, or, if your device can be placed into Safe Mode and you can't remove the tweak for some reason. The bigger use for this would be the general request of "How do I clean my device of all jailbroken apps and start over without restoring". We've all had that thought run through our minds once our devices start to act sluggish.

So say you have an iPhone 5, and you're on 6.1.2. Your device is acting sluggish, or you're giving it to a family member because you decide that you want a fresh out of the box iPhone 5 instead of your 5 month old iPhone 5. You want to wipe all your tweaks and such so that your successor can install what they please, but because the latest iOS is not jailbreakable, you don't want to restore, and since you have every single Cydia tweak installed, it'll take you ages to delete them all manually. This will be for you.

This will work for all devices but has a few other requirements as well that you'll have to keep in mind when using ILEX R.A.T.

Where Do I Start?


The tweak is simple. Simple download, install, and respring manually. It's an few KB deb, nothing huge.


Note: After extensive testing, I highly recommend that users avoid the ILEX R.A.T. GUI. The progression of the wiping is imperfect in the GUI, so you have to first make sure that your device is not going to sleep because that will pause the progression, and that in most cases, you will not be able to see what is on your screen, so you will not be warned when you are to reboot your device. The command terminal may be slightly more work in terms of setup, but is a safer route.


Method 1- Removing only Cydia tweaks.

To implement the R.A.T feature, you'll need to use a single command, "rat". How do you use the command? Well we have several options
  • MobileTerminal (you can install this free from the default Cydia repos)
  • PuTTy (for Windows users)
  • Terminal (default for OS X users)
  • iFunBox (both Windows and OS X users)
  • Any other utility that allows you to run commands from your PC

(You can download MobileTerminal and iLEX RAT from the above repository)


Once you need the feature, simple open up any of these prompts (enabling SSH may be required for utilities like PuTTy and such), and type in 'rat'. You don't have to actually have to enter your credentials for Root access. Simply have a connection between your command terminal to your device (or simple open up MobileTerminal on your device) and type in "rat" without quotes.

Example would be the following command line:

iPhone:~ mobile$ rat
And run the command. Then follow the simple instructions that crop up on your screen. Make sure you heed all warnings and read carefully. It's basically just a series of "Y" and "N" options and such.



So to remove all tweaks, once you've ran your command, type in "1", then tap Return. It'll start to compile a list of all tweaks and such that R.A.T will remove. When it asks for do you want to remove ILEX R.A.T, you can say Y or N, that's up to you. Saying Y will not cause your device to blow up, it'll just purge itself after the process. I'd say to say N so that just to keep it there as a future contingency plan.

Next a prompt will come up warning you that all tweaks will be installed, but your jailbreak AND unlock will be retained (so yes, UltraSn0w and the Fixer, if applicable, will stay if you're relying on them). "Y" and return again.

R.A.T will now go through the compiled list that its made and remove all the tweaks. This process will take a few minutes or more depending on how many tweaks you have installed. It'll then ask if you want to remove all tweak settings. "Y" if you just want to wipe and start fresh, "N" if you're going to re-install the same tweaks and such.


Summarized Instructions:


1. Open Command Terminal
2. Type in "rat", return.
3. "1", return
4. "Y" or "N", return (Y to remove R.A.T along with everything, N to keep)
5. "Y", return
6. "Y" or "N", return (Y to delete all user settings, N to keep all user settings)
7. Respring/reboot

You're done. I recommend re-springing or rebooting your device as you would be prompted to when you uninstall a tweak from Cydia that affects the system files.



Method 2- Removing everything except your barebone jailbreak

This method is slightly different from the first method. The first method is used to strictly remove your jailbroken tweaks and settings. Method 2 however, allows you to wipe your device BUT keep your jailbreak. For many users, they're experiencing lag, slow performance, etc, etc., and they want to restore but yet keep their jailbreak, this feature basically replicates the "Erase All Contents and Settings" in Settings.app, BUT, if your device is jailbroken, using the stock version rather than this version will result in you being issues that will require you to do a manual DFU restore, meaning you'll lose your jailbreak and will have no way of turning back for A5+ users.



Option 12. iLEX-RESTORE: Revive, Speed Up, Clean Up.

Basically you follow the set-up instruction like method 1, except this time, instead of choosing option '1', you choose option '12'. Resulting in the below screen



Remember that this option will wipe your device, and keep the jailbreak/UltraSn0w that's on your device (if applicable). Type in 'Y', Enter. And it should begin. It'll take a few minutes or longer depending on what you have on your but in the end, it'll wipe your device as if you tapped on the "Erase All Content and Settings" that you normally do not tap on a jailbroken device because it will mess up your device.

Summarized Instructions:

1. Open Command Terminal
2. Type in "rat", return/enter
3. "12", return/enter
4. "Y", return/enter
4A. "Y" or "N", return/enter (ILEX R.A.T. will ask whether or not you want to remove MobileTerminal as well if you're using MobileTerminal)
5. Reboot

0 comments:

Post a Comment

Plz comment if any issues

Privacy Policy © 2014 Privacy Policy