All phones

Xiaomi Civi 5 Pro

In progressUniXNU

iOS version not stated

luming · Snapdragon 8s Gen 4 (SM8735)

Model
luming
SoC
Snapdragon 8s Gen 4 (SM8735)
GPU
Adreno 825 · Adreno 8xx
Maintainer
Unclaimed
Updated
Views
0 this week
25 iOS areas

luming. Ports listed by Portsmith-iOS (compatibility/ports.json): Chromitsune/Portsmith-iOS

Nobody maintains this phone yet

If one of the repos below is yours, press Claim on it and keep this page current: what works, what doesn't, with sources. Your repo isn't listed? Use “Add your repo” above.

Repos 2

2 families
    • infinityEX-RSXQ/UniXNU-luming-f2-ciMain deviceFork claim
      Derived from UniXNU/UniXNUUniXNUunclaimed

      Portsmith-iOS record (available)

      UniXNU recordipados-17.7.11-21H4610 on device, 0 in progresson UniXNU
      displayPlannedinputPlannedstoragePlannedpowerPlannedcpuPlannedmemoryPlannedfirmwarePlannedconfigurationPlanned+2
  • infinityEX-RSXQ/-UniXNU-lumingPort for this phoneFork claim
    Forkunclaimed

Areas

Boot and system

  • Boot to Home Screen

    In progress

    repo claim (Portsmith-iOS record, infinityEX-RSXQ/UniXNU-luming-f2-ci): Skeleton/CI work only: this repo has never booted on the device and reports no device operations. Host/source-only. See README.md and REPORT-F2-LUMING-CI.md.

  • SpringBoard stability

    Unknown
    No detail

Display and GPU

  • GPU compositing

    Unknown
    No detail
  • Metal acceleration

    Unknown
    No detail
  • OpenGL ES acceleration

    Unknown
    No detail
  • Auto-brightness

    Unknown
    No detail

Input

  • Touch + buttons

    Unknown
    No detail
  • Keyboard input

    Unknown
    No detail
  • Haptics

    Unknown
    No detail
  • Sensors (general)

    Unknown
    No detail

Audio and media

  • Audio output

    Unknown
    No detail
  • Camera capture

    Unknown
    No detail
  • Video encode (HEVC)

    Unknown
    No detail

Connectivity

  • Wi-Fi

    Unknown
    No detail
  • Bluetooth

    Unknown
    No detail
  • Cellular modem

    Unknown
    No detail
  • Mobile data

    Unknown
    No detail
  • Personal Hotspot

    Unknown
    No detail
  • Phone calls

    Unknown
    No detail
  • SMS

    Unknown
    No detail

Power and thermal

  • Battery reporting

    Unknown
    No detail
  • Thermals under load

    Unknown
    No detail

Security and apps

  • Passcode

    Unknown
    No detail
  • Face ID

    Unknown
    No detail
  • Wallet

    Unknown
    No detail

GPU acceleration

—not measured
Method not recorded
Adreno 825 · Adreno 8xxOpen driver: freedreno / Turnip (msm)

What changed

Loading what changed
Loading uploads
Loading uploads
Port iOS to the Xiaomi Civi 5 Pro

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: Xiaomi Civi 5 Pro. 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. The tracker CLI (Node 18+, no install; reading needs no login): curl -fsSLo cli.mjs https://<this site>/cli.mjs && export TRACKER_URL=https://<this site>
   node 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 cli.mjs catalog "<name>"   codenames and model numbers from Google Play's device list
   node cli.mjs references --device xiaomi-civi-5-pro   this device on the tracker, and the other phones on its chip
3. Find the existing ports and what works on them:
   node 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 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 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 cli.mjs porting-get <record> gives the limits, next step and the exact build and boot commands; node cli.mjs components wifi (or adreno, ufs ...) lists the drivers with the boards that run them.
   node cli.mjs status-get --device <slug>   every area of a close port (works, in-progress, broken, unknown) with its detail and source; node cli.mjs history <slug> shows what changed and when.
4. Find GPU acceleration and other parts to reuse, matched to my specs:
   node 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 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 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 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 cli.mjs gpu-issue-add xiaomi-civi-5-pro "<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 cli.mjs gpu-issue-set xiaomi-civi-5-pro <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).
7. Languages: 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). 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.
   Reuse the Rust tools that exist before writing new ones (both MIT; read their READMEs):
   - ios-sweet, HackiOS and other UEFI/fastboot ports: akshaynexus/iOSPlus10, tools/op10tool (sparse images img2simg/simg2img, ipsw-get, uefi-unpack, uefi-portpatch for patching a Mu-Silicium UEFI, im4p, boot log capture). Its scripts/ and docs/ show the whole build-and-boot flow on a Snapdragon phone.
   - Rust code in general: akshaynexus/OneiOS, tools/oneios-tool (one binary, a subcommand per tool: sym for symbolizing panics, log and ioslog for kernel and iOS logs, kernel and prelink for the kernel collection, image and im4p for system images, ios for signing and Mach-O checks, phone for staging over adb) and runtime/ (Rust crates for the loader, display, XNU host and its DRM-to-KGSL GPU bridge, camera and encoder bridges).
   Fork or vendor the crate you need, keep its license and credit it, and add new tools as subcommands in the same style.

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 cli.mjs login
   - add the repo and the device: node cli.mjs repo-add OWNER/REPO --device xiaomi-civi-5-pro. My GitHub login owns the repo, so the claim is approved at once and I maintain the device.
   - record the base: node 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 cli.mjs status-set xiaomi-civi-5-pro <area> in-progress --detail "<the plan step>" --source "<repo link>"
9. In the same first commit, set up tracker support in the repo so every later session keeps the page current:
   - .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/xiaomi-civi-5-pro; when a change makes an area work or breaks it, read status-get, then record it in the same session with status-set xiaomi-civi-5-pro <area> works|in-progress|broken --detail "<what the build, log or test showed>" --source "<commit or log link>", with --os ios|macos|tvos and --version, and --photo <file> for a screenshot or clip that proves it; progress posts with update xiaomi-civi-5-pro <files> --text "..."; unproven stays unknown. Also write the language 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: each time a step boots or a part works, record it (works, or broken with what failed) in that session, with the commit as --source and --photo for a screenshot or clip I give you. Uncommon hardware that works: node cli.mjs feature-add xiaomi-civi-5-pro "<name>" works --detail "..." --source "<link>" [--photo <file>]. Once the GPU draws: node cli.mjs gpu-set xiaomi-civi-5-pro --method native-metal|metal-vulkan|metal-gl|gles|virtio-gpu|cpu --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: only claim what a build, log, photo or video shows; anything unproven stays unknown. Never commit API keys. Ask me before anything that wipes or flashes the device.

Claims

No one has claimed this device yet.