OPPO Pad mini 5G (OPD2515, SM8845P / Alor)
OPPO Pad mini 5G (OPD2515, SM8845P / Alor) experimental UniXNU port. The BDS fastboot path, payload, DarwinBoot handoff and first XNU entry probe are device verified; MMU completion, storage, root volume and userland are not.
Source record: porting.toml, e2e7ca1313e407596822480633aa3273eddef761.
This page is generated from the device record.
| Area | Status |
|---|---|
| Configuration | host-verified |
| Firmware and boot | device-verified |
| CPU and interrupts | implemented |
| Memory and DMA | host-verified |
| Storage and root | planned |
| Display | device-verified |
| Input | device-verified |
| GPU | planned |
| Network | planned |
| Audio | planned |
| Power | planned |
| Image assembly | host-verified |
| Diagnostics | device-verified |
Configuration
host-verified
Components: ArmDTPlatform, ArmCpu, SoftwareAES, XnuPrelink, DarwinBoot.
Hardware and dependencies
- Use the live OPD2515 device tree and sysfs identity for SM8845P / Alor, 1680x2520, 6 GiB handoff window.
- Use UniXNU upstream 8ec13bb1077502e53e8ba3b82c56842589b5c837 plus the OPD2515 patch series for the iOS 16.5 profile and firmware changes.
Configuration
- Board is opd2515, SoC is SM8845, profile is ios-16.5-20F66 and the selected components are ArmDTPlatform, ArmCpu, SoftwareAES, XnuPrelink and DarwinBoot.
- The platform seed stays local as UNIXNU_UNIQUE_CHIP_ID and is never committed.
Procedure
- Run python3 ../UniXNU/scripts/porting-record.py check --device . with the pinned UniXNU source.
- Validate that the generated OPD2515 patch applies to the pinned upstream commit.
Development findings
- The recovery identity macan / OnePlus_15R is donor metadata; the live fingerprint oplus/ossi/ossi and device tree identify this tablet.
- The active bootloader is stock GBL/BDS. No replacement firmware partition is needed or permitted for bring-up.
Completion criteria
- board.toml, porting.toml and feeds.toml parse and agree.
- All selected components and the fixed source revision resolve in the UniXNU checkout.
- The platform seed and vendor inputs remain outside Git.
Current limits
- Only the entry-probe component set is configured. Storage, display, input, GPU, network, audio and power components are intentionally absent.
Next action
- Re-run this record check after every board or profile change and after any UniXNU rebase.
Evidence
host: All 13 structured areas parsed and validated. Command:python3 ../UniXNU/scripts/porting-record.py check --device .. Revision:de8962a9bcf838bfc16b8571f43449663d094194.host: Records the S9 stage-3 artifact hashes and host readback checks. Command:python3 scripts/verify.py. Revision:840fbdb4f7260dedcde53a10dc5c437ef28e30b8.source: Reproducible patch from upstream main 8ec13bb1077502e53e8ba3b82c56842589b5c837.
Firmware and boot
device-verified
Components: XnuPrelink, DarwinBoot.
Hardware and dependencies
- Stock GBL/BDS fastboot environment, a valid boot image generated by the device package, and Apple-derived payload inputs supplied locally.
- DarwinBoot and a bundle-format trust cache for XNU 8796 iOS 16.5.
Configuration
- The payload uses volume OPD2515, a 208 MiB FAT image and one DarwinBoot driver entry.
- The boot image uses header version 0, 4096-byte pages, base 0x10000000, kernel offset 0x8000 and tags offset 0x100.
Procedure
- Build the OPD2515 package, verify every payload member and boot-image segment, then use fastboot boot only.
- After each run, enter OrangeFox/REC and read the authorized userdata-tail log without formatting userdata.
Development findings
- BDS discards the Android boot-image ramdisk, so the EFI application scans the retained fastboot buffer and republishes it as a block device.
- DarwinBoot path LoadImage was denied by Security2; loading from a private memory buffer while retaining firmware Security2 validation succeeded.
Completion criteria
- BDS enumerates the image, executes UniXNU, loads DarwinBoot and reaches the kernel handoff with no signature error.
- The latest source revision is retested on hardware after any rebase.
Current limits
- S8 is device verified from the pre-rebase image. The S9 stage-3 image is host verified only.
- No firmware partition may be modified.
Next action
- Boot the S9 image once in BDS and record whether the green, blue and magenta checks are followed by a reset after about six seconds.
Evidence
device: DarwinBoot printed inputs validated, exited boot services and handed off to the kernel. Command:fastboot boot <validated-opd2515-boot-image>. Revision:de8962a9bcf838bfc16b8571f43449663d094194.host: S9 adds only the six-second MMU-post-enable reset probe and passes host readback. Command:python3 scripts/verify.py. Revision:840fbdb4f7260dedcde53a10dc5c437ef28e30b8.source: Adds boot ramdisk recovery, persistent diagnostics and the Security2-safe DarwinBoot load path.
CPU and interrupts
implemented
Components: ArmCpu, SoftwareAES.
Hardware and dependencies
- Eight-core PSCI topology, GICv3, 19.2 MHz generic/system timers and software AES from the SM8845 shared source.
Configuration
- opd2515_defconfig enables the DT platform, ArmCpu, native architectural timer, native AES, panic region and runtime trust cache.
- UFS, virtio block, display, Adreno, RAM block and armvirt personality remain disabled during the entry probe.
Procedure
- Build the prelinked XNU payload and inspect it for the stage 1, stage 2 and panic-screen changes before booting.
Development findings
- The entry stub executes far enough to produce the blue and magenta checks, but this is not evidence that full CPU discovery or interrupt setup completed.
Completion criteria
- Every enabled CPU reaches its entry checkpoint and timer/IPI handling is verified on hardware.
Current limits
- No secondary-CPU or interrupt-controller result is currently proven by the XNU entry evidence.
Next action
- Boot S9 and measure the reset delay after the green, blue and magenta checks; do not add storage or display work before the MMU transition is proved.
Evidence
source: Defines the green, blue and magenta boot progress checkpoints.device: Blue and magenta bars were visible after DarwinBoot handoff. Command:fastboot boot <validated-opd2515-boot-image>. Revision:de8962a9bcf838bfc16b8571f43449663d094194.host: S9 contains a single six-second MMU-post-enable reset checkpoint; device timing is pending. Command:python3 scripts/verify.py. Revision:840fbdb4f7260dedcde53a10dc5c437ef28e30b8.
Memory and DMA
host-verified
Components: ArmDTPlatform.
Hardware and dependencies
- Live OPD2515 memory nodes, reserved-memory regions, PSCI/GICv3 data and the 1680x2520 framebuffer geometry.
Configuration
- The first bring-up owns one contiguous 6 GiB window from 0x980000000 to 0xB00000000.
- The framebuffer is described at 0xFC800000 with size 0x2B00000.
Procedure
- Compare the chosen handoff window against all fixed reserved-memory nodes and compile the device tree before packaging.
Development findings
- The 6 GiB window has no overlap with the 57 fixed reserved-memory nodes in the captured live device tree.
- The ADT handoff exposes a 32-bpp 1680x2520 framebuffer with 6720-byte rows.
Completion criteria
- The handoff map is internally consistent and no reserved region overlaps the selected window.
- A future XNU platform expert must re-audit the full physical map after MMU enable.
Current limits
- The static audit covers only the entry-probe window and does not prove XNU memory initialization.
Next action
- After the MMU checkpoint is passed, capture the kernel's memory map and recheck all high-memory ranges.
Evidence
host: Parses the repository metadata and confirms the documented 6 GiB handoff window and framebuffer evidence are internally consistent. Command:python3 scripts/verify.py. Revision:de8962a9bcf838bfc16b8571f43449663d094194.source: Board memory and framebuffer reservation used by the current entry probe.
Storage and root
planned
Hardware and dependencies
- The XNU UFS controller, UFS host, SMMU, GPT and future OS/SystemOS/Data windows are not yet implemented.
- The UEFI diagnostic path sees userdata through EFI_PARTITION_INFO_PROTOCOL for a 4 MiB tail window.
Configuration
- UEFI diagnostics locate GPT partition userdata and write only the last 4 MiB after explicit authorization.
- The XNU defconfig currently disables NativeUfs and has no root-volume handler.
Procedure
- Use OrangeFox/REC only to read the UEFI diagnostic tail; never format userdata or write a boot partition.
Development findings
- On the 491,334,463,488-byte userdata partition, the diagnostic window begins at 491,330,207,744 and does not imply XNU storage support.
Completion criteria
- The XNU UFS driver registers the controller, reads the GPT and mounts the configured root without touching unrelated windows.
Current limits
- Storage and root are not started. The persistent EFI log is the only implemented storage operation.
Next action
- Keep storage disabled until the MMU transition and panic path are observable.
Evidence
Collect evidence using the next action.
Display
device-verified
Components: ArmDTPlatform.
Hardware and dependencies
- The live framebuffer is 1680x2520, 32 bpp, row stride 6720 bytes at 0xFC800000.
Configuration
- The boot-image DTB publishes the cont_splash_region and package menu uses the same framebuffer geometry.
- DarwinBoot receives the framebuffer base from the EFI handoff.
Procedure
- Use the early color bars and UniXNU menu as the first display acceptance, then inspect DarwinBoot text before attempting an XNU display driver.
Development findings
- UniXNU and DarwinBoot text are visible at the correct geometry and scale.
- The blue and magenta bars prove the kernel entry probe can draw before MMU setup.
Completion criteria
- A panel driver preserves the verified geometry, colors and backlight controls and a Metal client presents to the display.
Current limits
- No XNU-native panel driver, backlight service or GPU presentation is implemented.
Next action
- Do not start panel work until the kernel reaches a stable post-MMU diagnostic path.
Evidence
device: DarwinBoot text and framebuffer geometry are visible on hardware. Command:fastboot boot <validated-opd2515-boot-image>. Revision:de8962a9bcf838bfc16b8571f43449663d094194.
Input
device-verified
Hardware and dependencies
- Firmware-provided ConIn events from the tablet's physical volume keys and power button.
Configuration
- The UniXNU menu uses the stock firmware console input and a three-second countdown.
Procedure
- Use volume keys to pause and traverse the menu; power confirms an entry only when an intentional test is required.
Development findings
- The user successfully paused the menu and selected entries with physical keys in S4 through S8.
Completion criteria
- Touch digitiser, touch HID and XNU-side hardware buttons are implemented and verified.
Current limits
- Only firmware ConIn is verified; no XNU touch or button driver exists.
Next action
- Keep firmware input for diagnostics until XNU display and storage are available.
Evidence
device: The UniXNU menu and countdown were navigable with physical volume keys. Command:fastboot boot <validated-opd2515-boot-image>. Revision:de8962a9bcf838bfc16b8571f43449663d094194.
GPU
planned
Hardware and dependencies
- Adreno platform registers, firmware, SMMU, clock, power-domain and display integration are not yet documented.
Configuration
- CONFIG_XNU_NATIVE_ADRENO is disabled for the current entry probe.
Procedure
- Defer GPU work until the XNU platform expert, interrupt controller and storage are stable.
Development findings
- Only the pre-MMU framebuffer color bars exist; no GPU command stream executes.
Completion criteria
- A known image renders through the intended display and Metal client with correct fencing and memory policy.
Current limits
- No GPU code or hardware result exists.
Next action
- Keep Adreno disabled and revisit after userland bring-up prerequisites.
Evidence
Collect evidence using the next action.
Network
planned
Hardware and dependencies
- Wi-Fi/Bluetooth hardware, firmware path, PCIe/platform wiring, IORegistry drivers and calibration data are not yet collected.
Configuration
- No network component is selected.
Procedure
- Defer network bring-up until iOS userland and a persistent writable filesystem are available.
Development findings
- No network driver or firmware loading path exists.
Completion criteria
- Scan, association, address assignment and sustained traffic pass with the pinned firmware.
Current limits
- Network is outside the current boot-stage scope.
Next action
- Leave network components disabled.
Evidence
Collect evidence using the next action.
Audio
planned
Hardware and dependencies
- Codec, speaker amplifiers, DSP, clocks, power domains and firmware topology are not yet collected.
Configuration
- No audio component or route is selected.
Procedure
- Defer audio until the board has a stable kernel and userland.
Development findings
- No audio service exists.
Completion criteria
- Each declared playback and capture route handles the selected format and start/stop correctly.
Current limits
- Audio is outside the current boot-stage scope.
Next action
- Leave audio components disabled.
Evidence
Collect evidence using the next action.
Power
planned
Hardware and dependencies
- PMIC, charger, battery, thermal, sleep and power-domain topology are not yet implemented.
Configuration
- No board power driver, battery service or sleep path is selected.
Procedure
- Defer power management until the kernel can reliably boot and expose diagnostics.
Development findings
- No XNU power-management result exists.
Completion criteria
- Battery readings and each implemented sleep/resume transition match hardware observations.
Current limits
- Power management remains outside the entry-probe milestone.
Next action
- Keep power components disabled until the MMU path is understood.
Evidence
Collect evidence using the next action.
Image assembly
host-verified
Components: XnuPrelink, DarwinBoot.
Hardware and dependencies
- Apple-derived kernel/ADT/trust cache inputs remain local.
- The build requires an iOS 16.5 profile and a platform seed supplied outside Git.
Configuration
- The package has one DarwinBoot driver and two menu entries: XNU and return to firmware.
- Kernel args are -v and serial=3 and the menu timeout is three seconds.
Procedure
- Run the porting-record checker, package preflight, full package build and payload readback.
- Inspect every artifact size and SHA-256 before any device test.
Development findings
- The trust cache must be a DarwinBoot-compatible v2 bundle rather than the original Apple IM4P.
- S9 changes only 64 kernel bytes to add the six-second MMU-post-enable reset checkpoint; all other payload members and boot-image segments match S8.
Completion criteria
- Kernel and prelink succeed, payload members match their sources, boot segments match, and the resulting image passes a controlled fastboot-boot test.
Current limits
- The S9 package is host verified; the latest device milestone remains S8 from the pre-rebase image.
- Host readback does not prove that the MMU-enable instruction executes.
Next action
- Publish hashes with each build, keep generated binaries out of this repository, and attach the S9 device timing before claiming MMU progress.
Evidence
host: Records the post-rebase artifacts, sizes and SHA-256 values plus payload readback checks. Command:python3 scripts/verify.py. Revision:de8962a9bcf838bfc16b8571f43449663d094194.host: Records the S9 single-variable kernel change, immutable payload members and final image hash. Command:python3 scripts/verify.py. Revision:840fbdb4f7260dedcde53a10dc5c437ef28e30b8.source: Defines the XNU menu, DarwinBoot driver and return action.
Diagnostics
device-verified
Hardware and dependencies
- Early framebuffer colors, UniXNU status lines and the authorized userdata-tail log provide diagnostics without a serial console.
Configuration
- The 4 MiB tail window contains a generated header and text; the menu displays ramdisk and log state.
- DarwinBoot and the kernel entry probe provide green, blue and magenta checkpoints.
- S9 enables only the official stage-3 reset probe with a six-second delay after the MMU-enable instruction.
Procedure
- Capture screen and photos, then read the exact userdata tail through REC after each failed boot.
- Record timestamp, last UNIXNU/DARWINBOOT lines and whether the screen reset, returned or stalled.
Development findings
- S8 reached DarwinBoot handoff and the magenta entry checkpoint, then a new UniXNU menu appeared without a confirmed timing cause.
- S9 reached the same green, blue and magenta checkpoints and then hard-reset after a user-observed delay of several seconds; exact timing was not measured.
- After the S9 reset, Android reported ro.boot.bootreason=reboot, on OPD2515.
Completion criteria
- A reproducible command, source/image revision and accessible result accompany every claimed hardware milestone.
Current limits
- No serial console is available and the XNU path cannot use EFI services after boot-services exit.
- The S9 hard reset is a preliminary MMU-post-enable result, but the exact magenta-to-reset interval remains unknown.
Next action
- Repeat S9 unchanged with a stopwatch or video. If reset occurs at about six seconds, mark stage 3 final and test stage 4 after _arm_vm_init in _arm_init.
Evidence
device: Shows DarwinBoot validation and handoff messages. Command:fastboot boot <validated-opd2515-boot-image>. Revision:de8962a9bcf838bfc16b8571f43449663d094194.device: Shows the green, blue and magenta checkpoints and the later UniXNU menu. Command:fastboot boot <validated-opd2515-boot-image>. Revision:de8962a9bcf838bfc16b8571f43449663d094194.host: Records the S9 reset-probe construction and host readback; device timing remains pending. Command:python3 scripts/verify.py. Revision:840fbdb4f7260dedcde53a10dc5c437ef28e30b8.device: Shows green, blue and magenta after DarwinBoot handoff; the user then observed a hard reset after several seconds. Command:fastboot boot <S9-boot-image with SHA-256 FA3930AE...>. Revision:840fbdb4f7260dedcde53a10dc5c437ef28e30b8.