Cydiaを削除してしまった時のメモ

未分類

参考

状況

Cydia Installerからパッケージ”Cydia Installer”を削除した。
“checkra1n”アプリからではクラッシュしてしまい再インストールができない。

大まかな流れ

iproxyを利用してSSH over USB
→zebra[任意のパッケージマネージャ]のdebファイルをscpで転送
→dpkgコマンドでインストール
→zebraにsaurik氏のrepoを追加
→いくつかの標準repoも追加
→Cydia Installerのインストールとパッケージのアップデート

Last login: Thu Nov 19 23:48:24 on ttys000
ki@MacBook-Air ~ % iproxy 2222 44  
Creating listening port 2222 for device port 44
waiting for connection
New connection for 2222->44, fd = 5
waiting for connection
Requesting connecion to USB device handle 4 (serial: 536bfdf5acfa86c39fec9e5417bbba126080caff), port 44
New connection for 2222->44, fd = 7
waiting for connection
Requesting connecion to USB device handle 4 (serial: 536bfdf5acfa86c39fec9e5417bbba126080caff), port 44
ki@MacBook-Air ~ % scp -P 2222 /Users/krei/Downloads/xyz.willy.zebra_1.1.14_iphoneos-arm.deb root@localhost:/User/Downloads/
root@localhost's password: 
xyz.willy.zebra_1.1.14_iphoneos-arm.deb                       100%   18MB  18.7MB/s   00:00   
ki@MacBook-Air ~ % ssh localhost:2222
ssh: Could not resolve hostname localhost:2222: nodename nor servname provided, or not known
ki@MacBook-Air ~ % ssh root@localhost -p2222
The authenticity of host '[localhost]:2222 ([::1]:2222)' can't be established.
RSA key fingerprint is SHA256:pltoriP5E2pB1D1C0vV9gszlnZQJ3h/3GI59pPYlH8E.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '[localhost]:2222' (RSA) to the list of known hosts.
root@localhost's password: 
iPhone-6s:~ root# pwd
/var/root
iPhone-6s:~ root# cd ..
iPhone-6s:/var root# cd ..
iPhone-6s:/ root# ls
Applications/  Library/  User@  boot/   dev/  lib/  private/  tmp@  var@
Developer/     System/   bin/   cores/  etc@  mnt/  sbin/     usr/
iPhone-6s:/ root# cd User
iPhone-6s:/User root# cd Downloads/
iPhone-6s:/User/Downloads root# ls
xyz.willy.zebra_1.1.14_iphoneos-arm.deb
iPhone-6s:/User/Downloads root# dpkg -i "xyz.willy.zebra_1.1.14_iphoneos-arm.deb" 
Selecting previously unselected package xyz.willy.zebra.
(Reading database ... 1520 files and directories currently installed.)
Preparing to unpack xyz.willy.zebra_1.1.14_iphoneos-arm.deb ...
Unpacking xyz.willy.zebra (1.1.14) ...
Running uicache...
Setting up xyz.willy.zebra (1.1.14) ...
iPhone-6s:/User/Downloads root# killall SpringBoard

感想

checkra1nが標準でssh server入れてくれてて助かった……。

コメント

タイトルとURLをコピーしました