ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

How to Unjailbreak Your iPhone

Updated on March 23, 2018
amuno profile image

Alfred is a long-time teacher and computer enthusiast who works with and troubleshoots a wide range of computing devices.

If you want to unjailbreak your iPhone and uninstall Cydia apps, it will require you to do IOS restore of some kind. You will have two options:

  • Semi restore to remove Cydia apps and tweaks. This is easily done via a command line terminal like iLex Rat.
  • Complete iPhone restore of the IOS firmware in order to remove all traces of Cydia apps and tweaks. This can be done through iTunes.

iPhone jailbreak may lead to crashes and slow response over time. This particularly so, if you have experimented with many Cydia apps and tweaks.

Semi Restore

Several procedures allow you to semi-restore your iPhone to the state when it last operated optimally. It lets you uninstall Cydia apps and its tweaks.

One of the preferred tools is called iLEX RAT, which supports iPhones running IOS firmware 5.X and above.

NOTE: The RAT in iLEX RAT stands for Remove All Tweaks.

NOTE: Another popular application that can help deliver partial restoration for your iPhone is called Semi-Restore. However, the latest version of Semi-Restore only works with IOS 5 through to IOS 6.1.5.

iLEX RAT can be used to unjailbreak your iPhone
iLEX RAT can be used to unjailbreak your iPhone

iLEX RAT will remove all third-party apps and tweaks but will keep Cydia and the jailbreak status intact. It can repair and re-install Cydia, reset IOS and icons, and remove only apps.

A reminder here is to back up important data before using attempting this kind of restore. You will be able to restore your data from backup later on.

iLEX RAT Mobile Terminal can be installed the myrepospace repository.

Install iLEXT RAT

  • Open the Cydia app
  • Tap Manage, and then Sources
  • Tap Sources at the bottom of the page
  • Tap the Edit button at the top right, then on Add that appears at the top left
  • Type in the URL
  • Tap Add Source

Install iLEX RAT from myrepospace in Cydia
Install iLEX RAT from myrepospace in Cydia

Install Mobile Terminal

The iPhone mobile Terminal can be installed straight from Cydia.

  • Simply tap on Cydia and from the taskbar, tap the Search tool.
  • Type mobile mTerminal and once located, install it.

The iLEX RAT and Terminal apps should now be visible on the home screen.

iLEX RAT and Terminal apps
iLEX RAT and Terminal apps

Remove Cydia Apps and Tweaks Using iLEX RAT and Terminal

To get started to unjailbreak your iPhone;

  • Tap the Terminal app. You should see a command line interface.
  • You will be shown brief guidelines on using tap zones.
  • Tap on Later or Dismiss to clear the screen.
  • Now type rat on the space that shows up.
  • The Terminal will now list twelve tweaks that are possible via iLEX RAT
  • Choose what works best for you and tap Return on the iPhone keyboard.
  • The 0 option allows iLEX RAT to remove all Cydia apps.
  • Option 12 allows you to effect a near-complete restore. It will however not affect the iPhone jailbreak and the Cydia app. This should be the preferred choice for a one-time restore.
  • So enter 12 and tap Return.
  • Upon iPhone reboot, you will have a clean and fast iPhone, almost as good as new.

Full iPhone Restore

You can, however, do a full iPhone restore via iTunes if you are fed up with IOS jailbreak and Cydia apps. Sometimes the feel of any jailbreak tweak just drives you crazy, and it gets works when buggy Cydia apps begin playing tricks with your iPhone. Then it is time to go for complete iPhone restore.

This restore will take your iPhone back to the state it was when you purchased it. Doing this is essential when you intend to walk back to the Genius Bar for whatever reason.

Use iTunes to Unjailbreak Your iPhone

Just in case you need to restore your iPhone to stock firmware that came with your iPhone, you will have to use iTunes.

This type of restore will erase the content of the iPhone, including jailbreak and Cydia apps and tweaks.

  • Install the current version of iTunes and connect your iPhone to the computer.
  • Select iPhone from the top right corner.

Restore an iPhone to remove jailbreak apps and tweaks
Restore an iPhone to remove jailbreak apps and tweaks
  • On the next page, click Restore iPhone.
  • iTunes will prompt you to backup the data in your iPhone.
  • By making an informed choice select from Cancel, Backup and Don’t Backup. . Remember that all jailbreak data will not be backed up.
  • iTunes will again remind you that all data will be lost when the iPhone is restored to factory settings.
  • Click Restore to proceed.
  • If all goes well, the iPhone will be restored to factory settings without a hitch.
  • At boot up you will be asked if you want to restore the iPhone to the backup that you saved earlier on, or set up the iPhone as new.
  • Make your choice once again.

Follow the link below to find out more about iPhone restore.

Other Ways to Unjailbreak Your iPhone

You can also choose to manually delete Cydia apps from the home screen, including Cydia itself.

By deleting Cydia and apps though, you will still have Cydia and apps running in the background. And if you were running away from crashes and slow iPhone, then you will now be having an even bigger problem.

Remember that Cydia must be present before applying iLEX RAT and other jailbreak troubleshooting tweaks.

Cydia should therefore be the last jailbreak app to see the door if you intend to do any manual un-installation of apps and tweaks.

The Packages section in Cydia listing all jailbreak apps
The Packages section in Cydia listing all jailbreak apps

If you are up for this kind of restore, then let me walk you through the process!

To do this:

  • Open Cydia and tap Packages.
  • You will see all apps and tweaks you have ever installed in your iPhone.
  • Select a jailbreak app to remove and tap Modify.
  • You will receive options to Reinstall, Remove and Cancel.
  • Tap Remove.
  • Do this for all installed Cydia apps.
  • Finally, uninstall the Cydia Installer itself.

Do you believe that iPhone jailbreak is still relevant today?

See results

© 2014 Alfred Amuno


    0 of 8192 characters used
    Post Comment
    • amuno profile imageAUTHOR

      Alfred Amuno 

      6 years ago from Kampala

      Sorry Sha Teia and hope you have solved your iPhone problem by now. I may want to assume that iTunes is not seeing your iPhone due to bad cable or unresponsive USB ports. Have you tried a different cable or different computer?

    • profile image


      6 years ago

      When I plug my iPhone up to iTunes , it doesn't recognize it because my iPhone bacically think its an android . I tried every thing possible to unjailbreak it but nothing has worked . Please help my turn my iPhone 5s back to its normal self !!!


    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at:

    Show Details
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the or domains, for performance and efficiency reasons. (Privacy Policy)
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)
    ClickscoThis is a data management platform studying reader behavior (Privacy Policy)