“Hey did you seen the new Circuitous update from Cydia?” said Tom,
“OMG! I must upgrade now! The last version I’m using has some bugs, maybe they solved some of them…” said Smith…… and: “I will now upgrade it…!”….
……. 80 years later ………
It seems crazy but we are on the 2010 and the possessors of iPhone 3G and the poors with 2G models have this problem (2013 the story is always the same, 4, 4S and 5 possessors).
Someone had already tested RockApp (R.I.P.), and maybe not too much results. Now I will try to give some tricks!
SSH (Secure Shell) how much people know it used to transfer file from pc to iPhone and back, but this is a really *nix Shell.
Some linux/Mac users know that already, is a little bit “Old School”, but, always good. Some Windows users know that as Command or “MS-DOS” (DOS PROMPT).
Back to the Tutorial, we need:
one or more iPhone / iPod touch / iPad
PC with linux/Unix, Mac (Hackintosh is good too) or a Windows PC with Putty (_LINK_)
a little bit of PC knowledge (don’t forget the AC/DC connector!)
To login into your iDevice you need OpenSSH installed from Cydia, and it must be connected on a local network with your PC.
Open your Shell or Putty (from PC) and write:
ex: ssh email@example.com
It will ask you a password, if you doesn’t changed it, the standard one is “alpine”.
Now you have fully access on your iDevice
Here are some useful commands:
help – shows some good standard commands from the shell (I’m going to list the more important)
cd [/directory] – Change Directory move the prompt of the shell on the specified directory
mkdir [/directory]_[folder name] – MaKe DIRectory create a new folder (without a specified directory will create a new folder on the active prompt directory)
rmdir [/directory]_[folder name] – ReMove DIRectory delete a folder
sudo [command] – execute a command as Root (password required)
su – login as Root (password required)
su -l mobile – login as mobile user (password required)
passed [user] – change the user password
exit – exit the iPhone Secure Shell and turn back to the PC shell
login – login to another user
logout – logout the current user (need a new login)
For most commands you can find an help file with a simply:
ex: mkdir –help
Some good commands on iPhone (iOS Devices) are:
respring – REboot SPRINGboard is like a soft reboot but only for the “main screen” of an iDevice
touch /var/mobile/Library/Preferences/com.saurik.mobilesubstrate.dat – initialize the Safe Mode
apt-get – and now we are, this is the command that allows to install, deinstall or upgrade ext. all the Debian packets or what Saurik mean Cydia packets…
This command as much functions:
apt-get [options] [commands]
ex: apt-get -y install winterboard
The most important commands are:
update – reload the packets list (with all the Cydia repos)
upgrade [packet] – upgrade the specified packet
install [packet] – install a packet (the name must be without extension, if you know the ID is better ex: com.saurik.winterboard)
remove [packet] – deinstall a packet
source – reload the repos and them content
clean – clean the list of all packets on memory
check – verify if some dependency are faulty/broken
There are several options too:
-h – show an help screen (–help)
-q – Quiet, don’t show any output
-qq – QuietQuiet, don’t show an output but only errors
-d – Download, download only the .deb file in memory
-s – Simulation, simulate the gived command(s)
-y – Yes, don’t ask anything and answer always “yes”
-u – Upgraded, show a list with all upgraded packets
Now that you know some command you shall try it, I’m sure you’re going to love it!