Advertisements

We live in a world where things invariably go wrong from time-to-time, especially when injecting complicated jailbreaks onto our iOS hardware that is made up of various different exploits being forced to work together. Not everyone seems to be affected by the Weather app crashing on the iPhone after running the Evasi0n untethered jailbreak, but if you are one of the affected ones, then we have an interim fix for those who want it rectified before an official installation solution is offered through Cydia.

It seems that running the Evasi0n jailbreak iOS 6.1 in its current form can have a negative impact on individual files on the device. In the case of the crashing stock Weather app, the issue has been narrowed down to com.apple.mobile.installation.plist. It isn’t a huge issue and some might even say it’s a small price to pay for an otherwise gleaming untether, but for those who want to check out the local weather conditions; it could prove to be a bit of a pain. Follow through the simple steps below to fix the issue directly from the device.

Step 1: The fix involves running a script directly on the device itself to force a rebuild of the corrupt file. Launch Cydia, navigate to the Search section then find and install the OpenSSH package.

SSH_Step1

Step 2: When the OpenSSH package is installed, exit Cydia and load the Terminal app on your Mac or Command Prompt on your Windows PC. Locate the IP address of the affected iOS device by going to Settings > Wi-Fi and then selecting the connected network.

SSH_Step2

Step 3: In the Terminal / Command window type the following command: ssh root@[IP ADDRESS]. The IP address of the device from the previous step will need to be added. If private authentication keys haven’t already been established then permission will need to be given. Type Yes and then press enter before inputting the administrator password of alpine (or any other if you have changed it for some reason).

SSH_Step3

Step 4: The computer will now have root SSH access to the iPhone. Copy and paste the following script into Terminal and then press enter.

#!/bin/bash

chmod -x /usr/libexec/mobile_installation_proxy

killall -9 mobile_installation_proxy

rm /var/mobile/Library/Caches/com.apple.mobile.installation.plist /var/mobile/Library/Caches/com.apple.LaunchServices-045.csstore

launchctl stop com.apple.mobile.installd

launchctl start com.apple.mobile.installd

while [ ! -f /var/mobile/Library/Caches/com.apple.mobile.installation.plist ];

do

sleep 1

done

while [ ! -f /var/mobile/Library/Caches/com.apple.LaunchServices-045.csstore ];

do

sleep 1

done

sleep 10

chmod +x /usr/libexec/mobile_installation_proxy

sync

reboot

SSH_Step4

Step 5: When the code has been entered and ran, the script will run through its process and force the device to reboot. When everything has loaded back up, the stock Weather app should be as good as new.

WeatherApp

Though we’ve mentioned it before, but it’s worth noting that a fix for this will be available on Cydia very soon, but for those who can’t live with a constantly crashing Weather app, this fix is their best bet for the time being.

(Source: Pod2g’s iOS blog)

You can follow us on Twitter, add us to your circle on Google+ or like our Facebook page to keep yourself updated on all the latest from Microsoft, Google, Apple and the web.

Advertisements