SSH

Troubleshooting a Painfully Slow Cydia Update

Cydia NetDB Error

Sometimes it seems that Cydia updates can take forever. For slower devices, it may be normal. But if you see errors while downloading or if the update takes more than five minutes, there may be a solution.

Before you start this method, you will need to have APT Strict installed. If you have CyDelete installed, then you already have this. Otherwise, make sure Cydia is set to Developer mode, search for it and install...

What the %#@! is SSH?!

If you are new to jailbreaking, you are likely to hear the term SSH thrown around quite a bit. For troubleshooting it's essential; for everything else it's very useful.

So what is it? Simply put, it's an advanced way to connect to the iPhone. Also known for it's uses in SFTP, IMAPS, POP3S, etc., SSH is a protocol short for Secure Shell that gives us an encrypted and secure tunnel between two devices.

Can’t Run APT-GET from SSH/MobileTerminal? Try this

After jailbreaking for 4.1, many of you will notice you can no longer run apt-get commands from the command line, whether SSH or MobileTerminal. This is mind boggling, and none of the support sites or forums seem to have the right answer. The most common suggested solution is to delete some sources from Cydia and re-add them. This doesn't work.

After a few hours of troubleshooting, I gave up and assumed it was a limitation of greenpois0n. However, today I accidentally found the answer, and it's quite simple to make this work again.

SSH Alternative to FontSwap for iOS 4

FontSwap has been one of my favorite reasons for jailbreaking, but it isn't fully compatible with iOS 4.0. It works if you change the Notes or Lockscreen font, but that's about it. It seemed like there was hope for an updated FontSwap, but the post from Guarav, the author, is now 3 months old. That's an eternity in iPhone-time.

So what's a jailbreaker to do? If you are comfortable using SSH or iFile there is a solution, thanks to iPhoneRuler.net. They have a list of iOS 4 compatible fonts and also instructions on how/where to install it...

How to Wirelessly Back Up Your iPhone Photos

Depending on how you charge your iPhone you may or may not regularly backup your photos. Having to perform a hard reset could erase priceless pictures if you happen to charge your phone the old fashioned way via wall connector.

That problem is now gone thanks to an article by LifeHacker that shows you how to wirelessly sync your photos. The only catch is that you'll need a jailbroken iPhone, which shouldn't be an issue for most of you...

How to Fix Cydia Crashes

A lot of people who recently jailbroke their iPhones are having issues with Cydia crashing when launching it. There is a quick and dirty fix for that and it requires to either SSH into your iPhone or use iPhoneBrowser and delete a few files.

Apparently the problem is caused by some corrupted repositories that make Cydia crash within the first few seconds of loading it.

To fix this, simply navigate to /var/lib/apt/lists and delete all the files in this folder except for the folder called "partial".

Then reboot your iPhone and launch Cydia. It should load without crashing.

Jailbreak your iPod Touch 2.1 with QuickPwn

UPDATE: This method sucks! Read my new post to learn more.

It didn't take too long. That's what? Four days? Four days until someone figured out how to jailbreak the new iPod Touch firmware 2.1. The news came from QuickPwn who published a tutorial on how to jailbreak your iPod Touch 2.1 using QuickPwn.

Disclaimer: These comments were found on the QuickPwn website, so please, use at your own risk!

I wouldn't try this on the iPhone, wait until there is an official update from the iphone dev team

Hi, I'm the one of the developers of QuickPwn and should stress this is a very unsupported mod and I think it causes confusion to present it under the QuickPwn name when it isn't sanctioned by the developers at all.

Download this stuuf at your own risk...

This is not the official Pwn-age or QuickPwn site...

This on is...

http://www.winpwn.com/

His tutorial is a little messy so I would like to make it a clearer and more user friendly to everybody.

Before starting:

You must already be on a jailbroken iPhone. If you are on a clean iPod Touch 2.1 firmware, this is NOT gonna work. SSH into your iPod Touch to the /System/Library/PrivateFrameworks/MobileInstallation.framework folder. Copy the MobileInstallation file on your desktop as you will need it later during the process. OK. You ready?

Download the iPod Touch 2.1 firmware and save it on your desktop. Go to iTunes 8 and hold the SHIFT key on your keyboard while clicking "Restore". You do not want to update per say, you want to RESTORE. Make sure you hold the SHIFT key. Download QuickPwn 2.1 Jailbreak Edition from here, or here, or here, or here. Unzip the QuickPWN folder, run QuickPWN.exe; select your device; browse for your iPod Touch 2.1 firmware file that you saved on you downloaded in Step 1and click the "Next" button. Installer and Cydia should be checked by default. You don't need Installer but you have to leave Cydia checked. You should see a message on your screen that says "You are now ready to start the PWNAGE process on your device", make sure your iPod Touch is connected via USB and click "Next". Follow the on-screen instructions for putting your device in DFU mode. If everything went well, you should see a message that says "The Pwnage process appears to have completed successfully". Wait for your iPod Touch to reboot. Once your iPod Touch restarts, you will notice that the Cydia and/or Installer icons are not there. Well, it's time to use the MobileInstallation file that we copied from your iPod Touch before Step 1. In order to install Installer and Cydia you will need to put this file in your iPod Touch. To put the MobileInstallation file in your iPod Touch, download the TotalCommander. You will need the T-Pot plugin for TotalCommander in order to browse files on your iPod Touch. Launch TotalCommander, and navigate to /System/Library/PrivateFrameWorks/MobileInstallation.framework Replace the MobileInstallation file with the one you copied to your desktop before Step 1. You're done!

See, it's not really complicated but it could be simpler. Hopefully, a GUI version will come out soon.

No word so far if this process works with the iPhone firmware 2.1 or not. I doubt it but you never know...

Thanks QuickPwn :-)

Next Version of iPhone Tunnel Suite

There has been quite a bit of noise around iPhone Tunnel Suite lately, and it seems it's not gonna stop as iMakkie wrote today on his blog that a new version of iPhone Tunnel Suite is in the works.

From iMakkie:

In the next version you will see everything that now you see (iTunnel, iConnect, ecc…), im also thinking of making a custom firmware with custom payloads (like OpenSSH) so that the ones who really cant download it from the device will also be able to use it.

Also looking at your emails i’ve seen that you want to connect to the internet on your device using the tunnel and the pc connection, this is actually possible anyway, right now its very difficult.

So there are two options:

1. I can try to insert the connection trough pc. 2. I can develop an Offline Installer / Cydia, that works as the installer / cydia do on your device and install the apps directly trough the iTunnel.

Personally, I would love to see iPhone Tunnel in Cydia and use it as a tethering tool. Right now it is possible to use iPhone Tunnel for tethering but it's just too complicated to set up.

In the meantime, iMakkie says he is already working on the new version which will have a new GUI.

iPhone Tunnel Suite 2.5

[digg-me]Wanna SSH into your iPhone but don't have wifi. Well, rejoice because thanks to th enew iPhone Tunnel Suite 2.5, you're now gonna be able to just that, with the help of a USB cable.

The iPhone Tunnel Suite supports tethering and all other SSH possibilities via USB cable.

The Version 2.5 is currently in an closed beta-test but will be released in a few days.

Supposedly, you're gonna be able to use your iPhone as a 3G/EDGE modem and a WIFI antenna.

You will be able to sftp on the iPhone, share internet connection from the iPhone or use the iPod Touch as a wifi antenna via usb cable. You'll also be able to use terminal via usb cable.

Check out this video. I will let you know when it comes out to public.

iPhone Tunnel Suite 2.5 Beta from ben miller on Vimeo.