Repository navigation
S9 iOS 27 night: USB-console shell for test roots (devsh=1), dpkg records for Sileo/ElleKit - #304
Draft
claudiusthebot wants to merge 3 commits into
Draft
claudiusthebot wants to merge 3 commits into
claudiusthebot wants to merge 3 commits into
Conversation
…ult); tools/ios27/devsh The console could set sysctls, tap and shoot the screen, but not ask user space anything: every question about a program on the phone meant a launchd job on the root, a reboot and a pull in TWRP. With the boot-arg devsh=1, "sh WORDS" queues a line (a trailing backslash continues it: a console line is at most 127 bytes); a root helper takes it with sysctl kern.hakios.devsh.cmd and returns its output line by line with kern.hakios.devsh.out, which the console prints as "sh| ...". Both sysctls are root only and answer ENOENT without devsh=1, and then the helper exits for the boot. Nothing listens on a network; the way in is the USB cable. tools/ios27/devsh: devshd.c (the helper: @mobile runs a line as 501, @bg does not wait, @t=N sets the time limit), build.sh, devsh-step.sh ROOT [undo] (the helper and its launchd job com.scion.devsh on a test root).
…s); firmware's packages get empty sums
mk-jb.sh unpacks Sileo (and ElleKit) by hand and writes only their status entries. dpkg then warns "files list
file for package 'org.coolstar.sileo' missing" at every run and 'dpkg --audit' names it broken; on phone 1
(13 Nov) the audit printed 172 lines: Sileo without a list, and the 165 packages usr/libexec/firmware makes
(firmware, cy+*, gsc.*), whose lists name no file, without sums files.
tools/ios27/sileo/dpkg-info.py DEB ADMINDIR writes info/PKG.{list,md5sums} and the maintainer scripts from the
package itself (checking every file is in the tree); prep.sh gives a list that names no file an empty sums file.
Run here with PREINSTALL=: Sileo 337 paths, 283 files; ElleKit 31 paths, 6 files.
…iOS 27 SDK, dpkg audit, Sileo's lists are apt's); DEVSH.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Work in progress from the 13-14 Nov night run (agent s9-night-sileo). Not run on a phone yet (the phone was unplugged when this was pushed).
sh LINE(boot-argdevsh=1, off by default). A root helper (tools/ios27/devsh/devshd.c, launchd job com.scion.devsh, added only to a test root by devsh-step.sh) takes each line throughkern.hakios.devsh.cmdand prints its output back assh| ...throughkern.hakios.devsh.out. Both sysctls are root-only and answer ENOENT without the boot-arg. Nothing listens on a network.dpkg --auditprinted 172 lines: Sileo had no list, and 165 packages that firmware makes had no sums. prep.sh now gives a list that names no file an empty sums file. Checked by running mk-jb.sh (PREINSTALL=) on the Mac mini.🤖 Generated with Claude Code