Repository navigation
S9 iOS 27: cellular as an iOS network service (scion-celld), status sysctls, status-bar library, RFS opens, Wi-Fi first-boot DHCP - #306
Draft
claudiusthebot wants to merge 7 commits into
Draft
claudiusthebot wants to merge 7 commits into
claudiusthebot wants to merge 7 commits into
Conversation
…scion-celld (pdp_ip0 as a configd network service, rank Last), idle polling in the steady state, cp_rfs=1 file opens answered ENOENT; all off by default
…n before the first boot (first-boot DHCP waited ~4 min for iOS to create it)
…ellular entry from kern.hakios.cp.info, off unless /private/var/local/scion-bars; 66-celld installs it
… to come back before the modem goes to low power
…on-bars, everyday-mode behaviour; the CommCenter shim plan (not started)
…e=SELECTOR to rebuild SpringBoard's status bar data
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.
Draft. Integration candidate for
s9/p1-everyday. Nothing here has run on a phone yet. Everything is off by default.Driver (
drivers/modem/hakios.shannon.c):kern.hakios.cp.infogives one line for user space: stage, registration, technology, bars, dBm, operator code, SIM, phone state, data up, bytes used, budget and a change counter. There is no identity in it.kern.hakios.cp.addr(root only) gives the context's address and two DNS servers. It is never logged.cp_if=1, the steady-state polling slows to 1, 10 or 50 ms (it was 1 ms all the time). A lost registration gets 10 minutes to come back before the modem goes to low power.cp_rfs=1(withcp_nv=2): the CP's OPEN FILE requests (RFS 0x11,CP_OMC_AUDIO_SLSI.bin,FLL.bin) are answered "not there" from RAM: handle -1, errno 2, a 14-byte confirmation. Nothing is read or opened.tools/ios27/modem/:scion-celld: publishespdp_ip0to configd as a network service with PrimaryRank Last, an IPv4 entity with Router equal to the address, and a DNS entity.scion-fetchand thecom.scion.celltestjob are for test roots only.scion-bars(c.dylibin SpringBoard): shows status bar bars and the carrier name. It is on only when/private/var/local/scion-barsexists, and it turns itself off after 3 SpringBoard starts that crash.66-celld.shis the root step.tools/ios27/wifi/63-wifi-netservice.sh: on a fresh root, the first-boot DHCP waited about 4 minutes, becausepreferences.plisthad no network service at all. This step writes the en0 service ahead of time.docs/ios27/MODEM-IOS.mdis updated and now includes the CommCenter shim plan (not started).Tested off the phone:
scion-celldran against macOS configd/IPMonitor with a stand-in interface (a model, not the phone). The service was accepted, IPMonitor added a scoped default route, and the existing primary stayed primary.