gyro永不抽风！ - FreeBSD
type: channel
link: https://gallery.gyrojeff.top/index.php/tag/FreeBSD/
items: iOS越狱开发 | theos | Hello World
items: iPad mini 2越狱

iOS越狱开发 | theos | Hello World
type: item
date: 2021-06-06T06:24:07+00:00
description: PART OF THIS DOCUMENT COMES FROM THEOS WIKI ON GITHUB. What is theos? Theos was initially “iphone-framework”, a project created to simplify building code at the command line for iOS devices (primarily jailbroken devices). It later underwent significant changes and became Theos, a flexible Make-based build system primarily for jailbreak software development, but also with complete support for building for other supported platforms. Theos runs on, and can build projects for, macOS, iOS, Linux, and Windows (under Cygwin or Windows Subsystem for Linux). As of 2015, the project stalled as Dustin Howett was unable to devote time to it. It was since picked up by the community, adding many desired features and fixing issues. The legacy version of Theos that used to be located at DHowett/theos is permanently preserved on the legacy branch. There is also documentation available for the original Theos at the iPhone Dev Wiki, and theos-ref; however be aware that not all information is updated for the changes Theos has undergone recently. Installation on iOS (Revised) This guide will help you install Theos on your iOS jailbroken device. Platform Minimum OS version Targets supported iOS 5.0 iOS All the commands shown on the following instructions are meant to be run as the "user" user, not root. Similarly, Theos is also meant to be run as a normal user, not root. Install the following prerequisites: Sam Bingner’s repository Theos Dependencies (package on BigBoss repo, relies on the previous repository being installed first) Set up the THEOS environment variable: echo "export THEOS=/opt/theos" >> ~/.profile For this change to take effect, you must restart your shell. Kill the terminal app in the taskswitcher then re-open the terminal app and do echo $THEOS on your shell to check if this is working. If you don't want to log out or re-open, you can simply: source ~/.profile Reason of changing ~/theos into /opt/theos: https://github.com/theos/theos/issues/460 Clone Theos to your devi…

iPad mini 2越狱
type: item
date: 2021-06-06T05:31:00+00:00
description: 引言 考完AP Chem，内心空虚，不想学习，遂玩。 设备环境 iPad mini 2 iOS 12.4.5 unc0ver - 失败 先尝试了unc0ver，但是失败。过程： 下载ipa Xcode新建一个项目，获得一个能用的identifier iOS App Signer给ipa用前面的identifier和证书签名 Xcode: Window -> Device & Simulators -> “+”号 -> 安装ipa到设备 注意事项： 检查Xcode Target的最低版本, 不要低于你的设备的版本 如果不能install, 尝试先安装一下空项目 如果代码出现Scene的报错，根据Xcode提示加上@available 设备Trust, 不要锁屏 以上就是unc0ver的失败教程，失败原因：安装好unc0ver后第二部exploit kernal重启，反复失败，放弃本方法 checkra1n 成功方法：checkra1n 过程： 在mac上安装应用 根据提示，先进入Recovery，再进入DFU 在重启完成之后，等待片刻，checkra1n会出现在屏幕上 进入checkra1n安装Cydia 注意事项： mac需要允许所有App，具体方法先尝试进入System Preference的安全性里面，再不行百度有一条命令。 耐心 ssh 进入Cydia，在首页就能看到显眼的OpenSSH，根据里面的提示安装. 由于我想把这台老年iPad当作服务器之类的跑跑一些无关紧要的任务，所以IP固定是最好的了，遂在路由器设置中给这个设备做了一下DHCP静态IP分配。 随便选一种方法ssh一下设备ssh root@<ip>，初始密码：alpine。我当时连续打错了5次（裂，打成了alphine） 关于SSH修改密码，Cydia当中也给出教程了，其实就是passwd命令。 sftp 既然都能ssh了，那我猜测可以使用sftp，使用FileZilla测了一下，应该是可以的。 apt 直接输入apt，就能看到：超级牛力apt! This apt has Super Cow Power python 让我非常惊讶的是python2.7是系统自带的（好像也没啥值得惊讶的，看看一些linux发行版就知道了） python3 apt install python3 pip3 python3 -m ensurepip vim 既然是BSD系统，怎么能没有vim! （雾） 用超级牛力apt查了一下，果然还是有的 apt install vim curl apt install curl shadowsocks https://github.com/Qusic/shadowsocks-libev-ios 我首先apt search了一下，然后发现有好心人直接一直好了 apt install me.qusic.shadowsocks 配置方法见其他文章。 这个是libev的版本，所以启动一个永久服务器命令改成： nohup ss-local -c <config_file> start & proxychains 和shadowsocks移植者是同一个人，真不戳。老地方配置，/etc/proxychains.conf。方法见其他文件。 测试： wget https://www.google.com/ node apt install nodejs ffmpeg apt install ffmpeg clang 本来试了一下apt install gcc但是一直报错，后来发现变成了clang-10就行 c++ clang-cpp-10 整活开始分界线 你下一台电脑，何必是电脑 说实话，朋友们，我人傻了。我真的没想到iPad上可以这么整活。 弹弹Play动漫花园服务器 https://github.com/JeffersonQin/dandanplay_toolchain 前面配置好了proxychains和shadowsocks，接下来我们只需要安装一些包就行了 proxychains pip3 install uvicorn proxychains pip3 install typing proxychains pip3 install fastapi proxychains pip3 install requests proxychains pip3 install bs4 proxychains pip3 install arrow 为了方便，我们把run_host改为0.0.0.0 nohup proxychains4 python3 ddp_api_server.py & 然后，然后就跑起来了。 hexo服务器 npm拉一下包 proxychain…