
moto g(7) power
UnknownBase unknowniOS version not stated
ocean · Snapdragon 632 (SDM632)
- Model
- ocean
- SoC
- Snapdragon 632 (SDM632)
- GPU
- Adreno 506 · Adreno 5xx
- Maintainer
- @hectorpro587
- Updated
- Views
- 2 this week
- 25 iOS areas
Added with the claim of hectorpro587/darwin-ocean.
Repos 1
one family- rebopawl-official/ios-rebivincekupstream
Areas
Boot and system
Boot to Home Screen
WorksiOS Home screen reached on ocean; SpringBoard/backboardd run and render at 720x1520. Unlock was via injected Home presses (sweethidtest); touch is not working yet.
SpringBoard stability
UnknownNo detail
Display and GPU
GPU compositing
In progressAdreno 506 kernel driver up: steps 1-11 success, VinceGPU registered, self-test 4/4. Mesa/topaz userland not installed; CoreAnimation still CPU.
Metal acceleration
UnknownNo detailOpenGL ES acceleration
WorksMesa 25.0.7 freedreno FD506 via VinceGPU; backboardd EAGL hooks 7/7; frames render into IOSurfaces, readback-bound ~2-10 fps. gputest SIGBUSes.
Auto-brightness
UnknownNo detail
Input
Touch + buttons
WorksNT36672A touch works: event buffer 0x21C00, 32-byte FIFO reads, sweet_hid_touch; lock screen swiped open and a search UI opened. Keys thread also reports events.
Keyboard input
UnknownNo detailHaptics
UnknownNo detailSensors (general)
UnknownNo detail
Audio and media
Audio output
UnknownNo detailCamera capture
UnknownNo detailVideo encode (HEVC)
UnknownNo detail
Connectivity
Wi-Fi
UnknownNo detailBluetooth
UnknownNo detailCellular modem
UnknownNo detailMobile data
UnknownNo detailPersonal Hotspot
UnknownNo detailPhone calls
UnknownNo detailSMS
UnknownNo detail
Power and thermal
Battery reporting
UnknownNo detailThermals under load
UnknownNo detail
Security and apps
Passcode
UnknownNo detailFace ID
UnknownNo detailWallet
UnknownNo detail
GPU acceleration
- CoreAnimation
- libtopaz-gl (EAGL over OSMesa)
- Mesa 25.0.7 freedreno
- VinceGPU
- Adreno 506
Measured on: frame times 100-600 ms in the XNU log, readback-bound
backboardd GLES context FD506; EAGL hooks 7/7; frames rendered into IOSurfaces. gputest SIGBUSes.
What changed
Photos and clips
Port iOS to the moto g(7) power
Paste this into your coding agent. It looks up your phone's specs, uses the tracker to pick the project to start from and the ports on the closest chip, finds GPU acceleration and driver code that fits its specs, shows you a plan before touching anything, then puts your repo and phone on the tracker as soon as the repo exists, so its page fills in as the port makes progress. New code is Rust first.
I want to port Apple's iOS to my device: moto g(7) power. Help me research, plan and start it with the iOSOnAnd tracker at https://<this site>. It lists every known iOS-on-Android port, its repos and branches, and what works or is broken on which phone, each with a source.
Tools
1. Read the tracker skill (https://<this site>/SKILL.md) and get the tracker CLI outside the repo (Node 18+, no install; reading needs no login; read cli.mjs and note its sha256 before running):
mkdir -p ~/.local/share/iosonand && curl -fsSLo ~/.local/share/iosonand/cli.mjs https://<this site>/cli.mjs && sha256sum ~/.local/share/iosonand/cli.mjs && export TRACKER_URL=https://<this site>
node ~/.local/share/iosonand/cli.mjs --help lists every command. The HTTP API is described at https://<this site>/api/openapi.json (OpenAPI 3.1) and https://<this site>/api/docs; every GET is public JSON, so use curl when the CLI has no command for something.
Research
2. Learn the device's hardware. Search the web and the tracker for: exact model number and codename, chip (SoC part number, CPU cores and ARM version), GPU (model and generation), RAM, storage (UFS or eMMC), display panel and touch controller, Wi-Fi/Bluetooth chip, audio codec, modem, whether the bootloader unlocks and supports "fastboot boot" (Samsung uses Odin instead), and whether a Mu-Silicium (Windows on ARM) UEFI port exists.
Good sources: the phone's Linux device tree (mainline arch/arm64/boot/dts, postmarketOS wiki, LineageOS device and kernel trees), Mu-Silicium's device list, GSMArena for the basics.
node ~/.local/share/iosonand/cli.mjs catalog "<name>" codenames and model numbers from Google Play's device list
node ~/.local/share/iosonand/cli.mjs references --device moto-g-7-power this device on the tracker, and the other phones on its chip
3. Find the existing ports and what works on them, mainly with the CLI, starting from my device:
node ~/.local/share/iosonand/cli.mjs references --device <slug> and node ~/.local/share/iosonand/cli.mjs status-get --device <slug>: my phone's own repos, branches and per-area states, when the tracker lists it.
Nothing for my device: take its specs from step 2, find phones with similar specs (same chip first, then the same chip family, then the same GPU), and search those phones' repos, status, metal acceleration and other drivers:
node ~/.local/share/iosonand/cli.mjs references --chip "<SoC part number, e.g. SM7325>" and again with the marketing name: the ports on the same or a close chip, their repos and branches, and what works on each. Same chip is best, then the same chip family, then the same GPU.
node ~/.local/share/iosonand/cli.mjs references --gpu "<my GPU, e.g. Adreno 619>" and again with the family (e.g. "Adreno 6xx", "Mali Valhall"): the phones on the same GPU, GPU work first, each with its GPU areas (metal, gles, gpu), the open driver to read, its repos and sources. Same GPU beats same chip for graphics.
node ~/.local/share/iosonand/cli.mjs porting --codename <codename> (or porting <slug>, porting --component Adreno740): UniXNU's porting records, as on unixnu.com/devices. Per port repo and area (display, input, gpu, network, audio ...): verified on the device, host-tested, implemented or planned, with the components used. node ~/.local/share/iosonand/cli.mjs porting-get <record> gives the limits, next step and the exact build and boot commands; node ~/.local/share/iosonand/cli.mjs components wifi (or adreno, ufs ...) lists the drivers with the boards that run them.
node ~/.local/share/iosonand/cli.mjs status-get --device <slug> every area of a close port (works, in-progress, broken, unknown) with its detail and source; node ~/.local/share/iosonand/cli.mjs history <slug> shows what changed and when.
4. Find GPU acceleration and other parts to reuse, matched to my specs:
node ~/.local/share/iosonand/cli.mjs references --area metal and --area gles, --area gpu: the phones where Metal or OpenGL ES acceleration works, with the repo, branch and source to read. The same for wifi, audio, touch, battery, modem, camera (node ~/.local/share/iosonand/cli.mjs areas lists the names).
Outside the tracker, search GitHub and the web for my exact GPU and chips with "XNU", "IOKit", "kext", "iOS port": other ports' drivers first, then the open Linux driver as the hardware reference (registers, firmware loading, power sequencing). For the GPU that is Mesa and the kernel DRM driver: Adreno (freedreno, Turnip, msm), Mali (Panfrost, PanVK, Panthor), PowerVR (Mesa's powervr driver), Xclipse (RADV/amdgpu).
Prefer the same GPU, Wi-Fi or audio chip as mine. Read their commits for that driver and reuse what fits. Check each license before copying: GPL code (most Linux drivers) is a reference unless the port's license allows it. Credit what you reuse.
Known graphics failures, so they are not debugged from scratch (compare with node ~/.local/share/iosonand/cli.mjs references --area metal, --area video-encode):
- White widgets or white snapshot placeholders: iOS writes widget and app snapshots as HEIC through CMPhoto, which asks VideoToolbox for a hardware HEVC encoder. With none, CMPhotoCompressionSessionAddImage fails (codec 'hvc1', error -12900) and the widget stays white. The fix that works: publish Apple's own AppleVideoToolboxParavirtualizationDriver service and back it with the phone's hardware encoder (Android MediaCodec), as OneiOS does; iOS 27 also needs VideoToolbox's tile session (ests, epti, etil, ecti). Read akshaynexus/OneiOS kernel/patches/oneios-hosted/codec/README.md and runtime/bridges/encoder (Rust). Record it as the video-encode area.
- Black widgets, black blurs and materials, a black lock screen or Notification Center, Earth or dynamic wallpapers missing: a Metal path that fails (a refused heap or function, an unsupported feature or format) draws black. Check the Metal plug-in's log for what it refused, compare with phones where metal works, and keep widgets on the CPU path until Metal covers them (the Pixel 4 port does).
- GPU faults, hangs and out-of-memory: recover and log the fault instead of hanging (the Tab S7+ port recovers after GPU faults); heavy wallpapers can run out of GPU memory on 4 GB phones.
Check who already hit it: node ~/.local/share/iosonand/cli.mjs gpu-issues --kind white-widgets (or black-ui, gpu-fault, out-of-memory ...), with their cause and fix.
Log each symptom where others can find it: node ~/.local/share/iosonand/cli.mjs gpu-issue-add moto-g-7-power "<symptom>" --kind white-widgets|black-ui|gpu-fault|out-of-memory|artifacts|slow|crash|other --cause "<what causes it>" [--fix "<what fixed it>" --state fixed] --source "<log or commit>"; when it is fixed: node ~/.local/share/iosonand/cli.mjs gpu-issue-set moto-g-7-power <id> --state fixed --fix "...". Also set the area (metal, gles, gpu, video-encode) with status-set.
5. Pick the base project. Each one's page (how it boots, what works, its phones and repos) is https://<this site>/?tab=repos&family=<name>, e.g. family=HackiOS:
- HackiOS (oosexgang/hakios-xnu-kernel): native XNU; fastboot boot of a Mu-Silicium UEFI and their EFI loader, iOS runs from RAM and nothing is flashed. Best for the Snapdragon 778G (SM7325) family or a phone that has a Mu-Silicium port.
- ios-sweet (dipa-studio/ios-sweet): native XNU with a small fastboot-boot shim; the iOS root goes into userdata (erases Android's data). Best for the Snapdragon 730/732G (SM7150) family; most community ports start here.
- UniXNU (UniXNU/UniXNU): native XNU through UEFI (UniXNU boot manager, DarwinBoot); iPadOS; tablets and recent high-end Snapdragon.
- Open Mapple (open-mapple/manifest): native XNU on MediaTek phones, mtkloader chained into boot; Metal on Mali through Panfrost.
- Scion (Scion-Project/scion-kernel): native XNU on Exynos phones from TWRP; iOS 16 and iOS 27 from one kernel tree.
- OneiOS (akshaynexus/OneiOS): iOS next to One UI on a rooted Galaxy, not a native boot: a source-built XNU runs as a process on One UI's kernel, and the OneOS app (akshaynexus/OneOS) switches between them. Nothing is flashed.
Plan
6. Write the plan and show it to me before changing anything: what the research found (closest ports, what works on them, the GPU and driver code that fits), the repo and branch to fork as the base, then the order (memory map and board details, screen, storage, touch and buttons, then GPU acceleration, Wi-Fi, audio from the repos found), each step with the repos, files or commits to follow and the risks (unlocking, wiping data). Gather the port, repos and references the research found in this directory first (clone the base and the reference repos side by side, or list them in one REFS file with branch and commit), and start the project from that combined set: reuse their code through the crate-import rules below instead of rewriting it per repo, so the same logic is written once.
Boot debugging from the start, before the first boot: find the kernel debug patch and USB-based logging the reference projects already have, and wire them into the port's first image, so a boot that hangs or panics is readable instead of guessed at. Read them from the raw GitHub links (curl -fsSLo, no clone needed):
- akshaynexus/iOSPlus10 (native boot, NEGRONI/ios-sweet style; repo https://github.com/akshaynexus/iOSPlus10): patches/xnu/README-bootlog.md (https://raw.githubusercontent.com/akshaynexus/iOSPlus10/main/patches/xnu/README-bootlog.md) and 0367-negroni-bootlog.patch (https://raw.githubusercontent.com/akshaynexus/iOSPlus10/main/patches/xnu/0367-negroni-bootlog.patch) keep the console of the last boots on the phone's own userdata (survives a boot that loses USB); README-panic.md (https://raw.githubusercontent.com/akshaynexus/iOSPlus10/main/patches/xnu/README-panic.md) and 0360-negroni-panic-usb.patch (https://raw.githubusercontent.com/akshaynexus/iOSPlus10/main/patches/xnu/0360-negroni-panic-usb.patch) keep the USB link alive after a panic (panic log to the live log, ctl still answers). USB-based logging: the negroni USB Ethernet gadget streams the kernel console to UDP 5140 (scripts/debug/usblog.sh, https://raw.githubusercontent.com/akshaynexus/iOSPlus10/main/scripts/debug/usblog.sh; host side docs/usb-network.md, https://raw.githubusercontent.com/akshaynexus/iOSPlus10/main/docs/usb-network.md; op10tool ctl on UDP 5141 for commands and settime, op10tool bootlog to capture/decode). Read patches/xnu/README-usb.md (https://raw.githubusercontent.com/akshaynexus/iOSPlus10/main/patches/xnu/README-usb.md) and port the pieces the new boot path can carry.
- akshaynexus/OneiOS (hosted boot, OneOS on One UI; repo https://github.com/akshaynexus/OneiOS): the same idea over adb instead of USB — for Samsung phones past One UI 8 with no OEM unlocking (bootloader locked, nothing flashed, XNU runs as a process under Android) the debug channel is oneios-tool phone log --follow / log / ioslog over adb (xnuhost.log, dmesg, session logs in /data/local/tmp/oneios/logs; tool README https://raw.githubusercontent.com/akshaynexus/OneiOS/main/tools/oneios-tool/README.md) plus the kernel patches' own lines (kernel/patches/oneios-hosted/: first-start diagnosis, blocked-thread debug, log persist; README https://raw.githubusercontent.com/akshaynexus/OneiOS/main/kernel/patches/oneios-hosted/README.md), with the boot flow and the guest console in docs/booter.md (https://raw.githubusercontent.com/akshaynexus/OneiOS/main/docs/booter.md), and OneiOS Studio's log workbench (tools/oneios-gui) streaming them. Use that path for any port that boots under Android rather than from a locked native bootloader.
- One central debug CLI for the port: create a single tool in this port's repo that wraps both existing CLIs (op10tool from iOSPlus10 and oneios-tool from OneiOS, installed with cargo install --git as in step 7) behind one command, so development and debugging go through one entry point instead of two — e.g. <tool> boot-log (capture and decode the boot log, USB or adb depending on how the port boots), <tool> panic (fetch and symbolize the last panic), <tool> log --follow (the live console: UDP 5140 over USB on a native boot, adb xnuhost.log/dmesg on a hosted boot), <tool> ctl (USB command server), <tool> phone (stage and check images over adb). Call the wrapped CLIs or their crates; do not reimplement what they already do. Name it in the plan and put it in the first commit.
7. Languages and crates: do not rewrite logic that already exists in popular Rust libraries or in crates from reference repos (like akshaynexus/OneiOS or akshaynexus/iOSPlus10). Import existing crates via Cargo first, and only write new Rust tools or code when what you need cannot be imported from either popular crates.io libraries or akshaynexus's existing crates and reference repos:
- Popular crates.io libraries first for standard formats and protocols (uefi, android-sparse, lzfse_rust, lzma-rs, flate2, zip, plist, simple_asn1, object, goblin, gimli, addr2line, macos-unifiedlogs, ureq, clap, etc.).
- Import akshaynexus/OneiOS library crates directly in Cargo.toml as Cargo git dependencies (MIT; e.g. oneios-image = { git = "https://github.com/akshaynexus/OneiOS", rev = "<commit>" }; Cargo discovers both workspaces automatically):
* Host/phone tooling (tools/oneios-tool/crates/*, Rust 1.95+): oneios-image (remotezip IPSW range fetch, im4p/LZFSE, AEA decrypt, mountless APFS reader/copy/info, hashes, seed-pack, rangeserve), oneios-imagebuild (full image set build), oneios-tweaks (root tweaks, plist/launchd/Mach-O hooks), oneios-ios (ad-hoc Mach-O codesign, macho-check, TBD generation from DSC), oneios-sym and oneios-ksym (indexed dyld shared cache and DWARF kernel panic symbolizers), oneios-log and oneios-ioslog (session log analyzer and mountless iOS unified log decoder), oneios-a64 (arm64e PAC/LSE/FP16 -> ARMv8.0 lowering/census/verify for non-PAC SoCs), oneios-prelink and oneios-kernel (kernel collection prelink and build helpers), oneios-phone (adb staging, sparse-write), oneios-package, oneios-serve, oneios-conf, oneios-json, oneios-common.
* On-device runtime (runtime/*, Rust 1.85+): xh-core (MMIO bus, virtio-mmio, AArch64 trap decoding, evdev, logging/fd/sysfs), xnuhost-abi (no_std hostcall ABI), xnuloader (Mach-O/ADT/boot-args loader), onebridges (AIDL/HIDL Treble binder HAL, Wi-Fi, BT HCI, AAudio, haptics, brightness, battery, thermal, QRTR sensors, virtio-net/snd), onecamera (Camera2 NDK/HAL), oneencoder (virtio-media MediaCodec HEVC encoder/decoder), oneios-display (SurfaceControl), oneios-switches, xnuhost, oneios-gunyah, drm2kgsl-sys.
- Install and call existing Rust CLIs via Cargo instead of reimplementing them (both MIT; read their READMEs):
* UEFI/fastboot ports (ios-sweet, HackiOS, Mu-Silicium): cargo install --git https://github.com/akshaynexus/iOSPlus10 op10tool (binary-only crate, no lib.rs: img2simg/simg2img sparse images, hfs-size --trim, ipsw-get parallel range download, uefi-unpack for Qualcomm uefi.img, uefi-portpatch masked aarch64 UEFI driver patch porting, im4p, ctl over USB UDP 5141, bootlog capture/decode). Its scripts/ and docs/ also show the build-and-boot flow on a Snapdragon phone.
* General iOS/XNU tooling: cargo install --git https://github.com/akshaynexus/OneiOS oneios-tool (one binary exposing all crates above: sym, sym kernel, log, ioslog, image, remotezip, rangeserve, prelink, kernel, ios, a64, phone, app, cycle, package, serve, switches, conf, json).
- Only when nothing above covers it: write new code in Rust (boot tools and loaders, UEFI apps with the uefi crate, host and flashing tools, daemons and services, driver logic behind a thin C/C++ shim), adding new tools as subcommands in the same style. Keep licenses and credit every imported or reused crate. Use C or C++ only where Rust can't go: XNU itself, IOKit's C++ interfaces, patches to existing C/C++ code, and vendor ABIs. No Python in anything that ships or runs on the device; Python is fine for small dev scripts.
Tracker
8. As soon as the port's repo exists on GitHub (my fork of the base, under my account), put it on the tracker. Don't wait for it to boot: the device gets a page that fills in as the port makes progress.
- sign in with my GitHub account (gh logged in): node ~/.local/share/iosonand/cli.mjs login
- add the repo and the device: node ~/.local/share/iosonand/cli.mjs repo-add OWNER/REPO --device moto-g-7-power. My GitHub login owns the repo, so the claim is approved at once and I maintain the device.
- record the base: node ~/.local/share/iosonand/cli.mjs repo-lineage OWNER/REPO --base <base OWNER/REPO> --relation fork-of (ported-from when it brings code from another port), and each repo it borrows parts from with --relation uses
- mark the areas the plan starts on as in-progress: node ~/.local/share/iosonand/cli.mjs status-set moto-g-7-power <area> in-progress --detail "<the plan step>" --source "<repo link>"
9. In the same first commit, install the tracker skill and set up tracker support in the repo so every later session keeps the page current:
- skill: mkdir -p .claude/skills/iosonand-tracker && curl -fsSLo .claude/skills/iosonand-tracker/SKILL.md https://<this site>/SKILL.md
- .gitignore: .env, .env.*, cli.mjs, TRACKER_QUEUE.md (the key stays in TRACKER_TOKEN or the CLI's saved login, never in a tracked file)
- an "## iOSOnAnd tracker" section in AGENTS.md (and CLAUDE.md / .cursorrules if I use those): this port is at https://<this site>/device/moto-g-7-power; follow the iosonand-tracker skill (.claude/skills/iosonand-tracker/SKILL.md; latest at https://<this site>/SKILL.md) — ask once how tracker updates and release posts should go (auto, ask, off in ~/.config/iosonand/agent-prefs.json), update after a phone boot or release as chosen, always ask and show the file and caption before uploading any image or video, and only claim what a log, capture or pushed doc shows. Also write the language and crate-import rule from step 7 there.
The full version is "Keep the tracker updated from your repo" on https://<this site>/docs/maintain-a-repo.
10. As the port progresses: follow the iosonand-tracker skill and my preferences in ~/.config/iosonand/agent-prefs.json. After each boot that proves or breaks something, record it with a public --source (commit or pushed boot log); always ask me before uploading any screenshot or clip (--photo, media-upload, or update with files). Uncommon hardware that works: node ~/.local/share/iosonand/cli.mjs feature-add moto-g-7-power "<name>" works --detail "..." --source "<link>". Once the GPU draws: node ~/.local/share/iosonand/cli.mjs gpu-set moto-g-7-power --method native-metal|metal-vulkan|metal-gl|gles|virtio-gpu|cpu|other --stack "<chain, e.g. AdrenoMetal -> metal2vulkan -> Turnip>" --fps 40-58 --fps-note "<what was measured>" --repos OWNER/REPO --source "<link>", and update the frame rate as it improves.
Rules: follow https://<this site>/SKILL.md — only claim what a build, log, photo or video shows; anything unproven stays unknown; no personal data or vendor files; never commit API keys; always ask before uploading any image or video, and before anything that wipes or flashes the device.Claims
- Approved@hectorpro587maintainer of hectorpro587/darwin-ocean (repo claim #56)