So you've read the intro and you've made it to the first chapter! Well done! Let's get started already!
- Install a terminal application
- Install a file manager
- Connect to our device using ssh
So, a terminal is what allows us to communicate to our device, it's one of those black and white screens you normally associate with hackers (which you're becoming) well sort of...
It's necessary we have a terminal application otherwise, we won't be able to build our tweaks, nor will we be able to do other very important things like collaborating on GitHub (like Google Docs for coders,) or to test whether our bash scripts work. All in all, without a terminal, we can't do anything much.
The terminal app that we are going to install works even in the jailed state (the unjailbroken state) providing us more functionality than others (such as newterm2) that only work when you are jailbroken). The terminal we are going to install is called ish
and it emulates a linux terminal on our device.
- Install iSH Shell from the AppStore or visit here
- Open ish, and you should see something like this
iPhone:~#
Note: you may change the theme to black if you wish by tapping the settings button in ish
Ok, we need to install an application called filza as we will use this as our file manager.
Apple's files app doesn't give us access to the full file system of our device. Which means we need to use filza if we want to navigate our device's filesystem. In addition, filza is very easy to use.
- Open your package manager (I'll be using sileo)
- Tap on
sources
- Tap on
edit
- Tap on
add
- Insert the following url:
https://data.tigisoftware.com/cydia/
- Add the source
- Go to the source
- Install filza (use normal filza and not the 64 bit version)
- Open filza, and tap on name (this will arrange everything alphabetically)
- Open
ish
- Type
apk add openssh
- After it finishes, type
ssh localhost -p44
- It'll say
the authenticity of xxx can't be established
typeyes
- It'll say root@localhost's password
- The default password is
alpine
- It'll now say your device name followed by the word root
- You've successfully logged into your device using ssh
- Go to halo_michael's repo: (https://halo-michael.github.io/repo) and install
localssh
- Install
openssh
(unc0ver users go to the bingner repo, electra and chimera jailbreak users go to the chimera repo) - Open ish
- Type
apk add openssh
- After it finishes, type
ssh localhost -p2222
- It'll say
the authenticity of xxx can't be established
typeyes
- It'll say root@localhost password
- The default password is
alpine
- It'll now say your device name followed by the word root
- You've successfully logged into your device using ssh
- Install
openssh
(go to the procursus repo) - Open ish
- Type
apk add openssh
- After it finishes, type
ssh localhost -p2222
- It'll say
the authenticity of xxx can't be established
typeyes
- It'll say root@localhost password
- The default password is
alpine
- It'll now say your device name followed by the word root
- You've successfully logged into your device using ssh
- Install
openssh
(you will need to know how to install this for your own os) - Open
terminal
- On the device, install openssh (see above for jailbreak specific instructions)
- Open settings, > tap the I icon next to the wifi you are connected and remember the IP address, for example, 192.168.0.24 (yours might be different)
- Type
ssh root@your IP address
note: checkra1n (not odysseyra1n) users typessh root@your IP address -p44
instead - It'll say
the authenticity of xxx can't be established
typeyes
- It'll say root@your IP address password: (mine is root@demhademha)
- The default password is
alpine
- It'll now say your device name followed by the word root
- You've successfully logged into your device using ssh
- Install libimobiledevice through your package manager, or compile it yourself
- Connect your device via usb (make sure you don't have any other devices connected)
- Open
terminal
- Type
iproxy 2222 2222
note: checkra1n (not odysseyra1n) users typeiproxy 2222 44
instead - Open a new terminal and type
ssh root@localhost -p2222
- It'll say
the authenticity of xxx can't be established
typeyes
- It'll say root@localhost's password, the default is
alpine