Skip to content
YMGPwccaPublic
forked from akshaynexus/OneiOS

About

iOS 27 next to One UI on a rooted Galaxy S26 Ultra, switched the way OneOS switches Androids

Resources

Stars

1 star

Watchers

1 watching

Forks

 
 

Latest commit

 

History

1,152 Commits

Folders and files

Repository files navigation

OneiOS

iOS 27 on Galaxy S26 Ultra · hosted XNU · experimental research

Documentation · Current evidence · Roadmap · Architecture · Local build

Important

Target: Galaxy S26 Ultra SM-S948B / m3q / SM8850, firmware S948BXXS4BZIG. This repository is a laboratory prototype, not a consumer iOS installation or an approved OneOS app switch.

At a glance

Area Confirmed observation Remaining limit
Guest boot iOS 27.0.1 (24A446), guest-ready and first frame on the phone Booted does not mean a responsive UI
Framework takeover Android Framework stopped under a separate root-only, explicitly risk-acknowledged experiment OneOS app switching remains blocked on SM8850
Guest lifetime ~600.6 s from xnuhost telemetry Precise deadline requester and fully unassisted return not proven
CPU Eight host CPUs available (mask 0–7) No evidence of eight independent host-core assignments
GPU KGSL/drm2kgsl imports and real fence activity No Vulkan conformance or sustained FPS certification
Memory 4 GiB prefaulted/locked, 0 MiB guest swapped in captured sample Page-table and GPU allocations still require study
Performance iOS drew and accepted the experimental guest session Severe lag and heat reported; not accepted
Recovery Android boot-complete and OneOS reboot reason observed afterward Watchdog handoff and unattended normal return remain unverified

Caution

Do not repeat the 600-second full takeover just to benchmark performance. The current full-session path uses bench/bridges=0, so OneiOS's standalone thermal bridge is inactive. Kernel/firmware thermal limits still apply, but a separate scoped thermal guard and a stronger recovery-evidence gate are required before another long test.

How it works

OneiOS runs a source-built XNU kernel inside a native Linux host process (runtime/xnuhost) on the Android kernel already running the phone. The guest's iOS tasks execute as Linux task processes; system calls and page faults are handled by hosted XNU. Hardware-facing adapters include an Adreno/KGSL GPU path, shared-memory display, and device bridges.

Galaxy S26 Ultra · Android kernel (kept running)
├── Android vendor HALs / SurfaceFlinger / GPU
├── OneOS experimental Framework stop + reboot-return
│   └── Isolated, read-only guest stage with writable Data/session
└── xnuhost · hosted XNU + iOS 27 userland
    ├── up to 8 guest vCPUs + trapped iOS tasks
    ├── drm2kgsl / KGSL → oneios-display
    └── APFS image set + one-shot Data clone

This is not a native bootloader switch, a secure iPhone environment, or an unrestricted Android-app feature. Apple binaries and locally built image assets are not redistributed in this repository.

Documentation map

Start here Purpose
Documentation hub Browse the complete handbook and experiment logs by topic
Live experiment status Physical proof, uncertainties, measured load and immediate blockers
Engineering roadmap P0 thermal/recovery first, then CPU, GPU, frame pacing and acceptance
Architecture Kernel/host, guest filesystems, graphics and session responsibilities
Build and test CachyOS local CI, runtime build and artifact verification
Full takeover record Historical runbook, failures, rearm and one-shot rules; not an invitation to rerun

Working on the project

Safe local verification

cd ~/projects/OneiOS
git switch main
git pull --ff-only origin main
git submodule update --init --checkout app
python3 scripts/phone/test-sm8850-takeover.py -v
python3 scripts/phone/test-sm8850-full-takeover.py -v
JOBS=8 ./scripts/ci-local.sh all 0.0.0-ci

Local CI previously reached PASS, including Android NDK ELF dependency checking and SHA-256 verification of the arm64 runtime-only package. That result does not mean a new phone session, thermal guard, guest kernel or recovery was tested.

Engineering rules

  • Safety first: preserve the exact device/firmware allowlist, SELinux, watchdog supervision and one-shot APFS Data policy.
  • Measure before tuning: do not force global governors, disable Samsung thermal protections or equate SurfaceFlinger posts with UI animation FPS.
  • Local-first validation: native/Python regression on CachyOS, then small bounded device trials only after P0 safety gates are ready.
  • Source of truth: mark each claim observed, inferred or not verified; do not turn rootless boot evidence into a certified return.

Scope and companion

The Android-side integration lives in YMGPwcca/OneOS · main. The normal OneOS app remains blocked for OneiOS on SM8850. The root-only experiment requires explicit additional risk acknowledgement and is not a supported alternative for general users.

Latest physical evidence (2026-11-23): an opt-in 180-second full-bridges guest ran, reached guest-ready and first frame with eight host CPUs, and showed live battery/charging data. There were severe multi-second frame stalls and an observed BackBoardD replacement followed by SpringBoard respring; XNUHost reported an earlier KGSL GPU_COMMAND protocol error. A named framework-deadline reboot return was recorded. This does not qualify compositor stability, GPU performance, independent recovery, or thermal safety. See the ongoing P0/P2 backlog.


Credits

OneOS (fahadalijaved) and OneLineage (WeWaffles): the container hot-switch. MysticGSI: the image build model. UniXNU and Droid-VM: XNU on non-Apple ARM64, drm2kgsl, the guest drivers. iOSPlus10: XNU and iOS userland on Qualcomm phones, haptics and brightness. Darling: Mach and XNU on Linux.

About

iOS 27 next to One UI on a rooted Galaxy S26 Ultra, switched the way OneOS switches Androids

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages