Skip to content

Gree G0345D (格力手机 G3) ​

Yuanchu000I/UniXUN-g0345d

Experimental GREE G0345D port. Historical M42/v185 reaches kalloc_init fixed-zone creation boundaries; complete XNU and userland startup remain unverified. This curated source snapshot does not yet reproduce its legacy firmware/container from a clean checkout.

源记录: porting.toml, 53ce24cd0e727914f4e25f32b44815cd00885774.

本页按设备记录自动生成。

部分状态
配置implemented
固件与启动planned
CPU 与中断implemented
内存与 DMAimplemented
存储与根卷planned
显示implemented
输入planned
GPUplanned
网络planned
cellularplanned
音频planned
电源planned
镜像组装planned
诊断implemented

配置 ​

implemented

组件: SoftwareAES.

硬件与依赖 ​

  • GREE G0345D MSM8996 v3.1 board inputs and the ipados-17.7.11-21H461 profile.
  • Pinned MSM8996 feed and tested midopix tools fork; selected shared components retain their existing IDs.

配置 ​

  • board.toml uses schema_version=2 and the g0345d kit/defconfig/DTS.
  • Preserve all 51 active device patches and their exact series order; inherited g0245d filenames and source symbols are intentional.
  • SoftwareAES is selected with source corecrypto/pthread and prelinked crypto bootstrap; functional OS crypto is not qualified.

操作步骤 ​

  • Review source-pins.toml, feeds.toml, unixnu.lock and the functional source snapshot before resolving a tree.
  • Use the pinned tools checkout for defconfig, fetch and status review; run the repository integrity and structured-record checks.

开发经验 ​

  • The device identity is G0345D throughout board, DTS and configuration; the inherited G0245D source names must not be globally renamed.
  • Current official components.toml lacks the MSM8996-specific IDs; record validation uses the official schema with an explicitly pinned fork catalog rather than dropping selected components.
  • The base commits plus retained local deltas identify provenance; they do not by themselves certify a clean end-to-end reproduction.
  • Publication preserves the owner-created GitHub initial commit and archives its original license without replacing inherited source licensing.

完成条件 ​

  • All selected components and their catalog dependencies have structured owning areas and all referenced local evidence exists.
  • Future host verification requires a complete source revision, exact command and accessible clean-checkout result.

当前范围 ​

  • Only implemented/planned levels are assigned; historical dirty-tree results do not identify a complete device-verified published revision.
  • Stock upstream reusable-workflow/catalog compatibility and complete companion-firmware publication remain pending.

下一步 ​

  • Complete the companion firmware export and upstream component registration before claiming standard release or official catalog acceptance.

证据 ​

固件与启动 ​

planned

组件: DarwinBoot.

硬件与依赖 ​

  • Legacy edk2-msm8998 based G0345D firmware with local platform, FdtLib, SimpleInit, BootShim and DarwinBoot changes.
  • Fixed FD at 0x91700000, size 0x600000; firmware-owned memory and inherited RGB888 scanout.

配置 ​

  • board.toml names g0345d.dsc and the GCC5 FD location as legacy metadata, not a working current Mu-Silicium recipe.
  • The standard firmware integration and exact companion source delta are not yet published.

操作步骤 ​

  • Read the recorded firmware baselines and missing local changes in docs/firmware-dependency.md.
  • Export a separate companion firmware repository with reviewed sources, licenses, pins and a clean build recipe before resuming firmware work.

开发经验 ​

  • Historical temporary boot reached DarwinBoot-to-XNU handoff, but this device repository alone cannot reproduce that firmware state.
  • The current legacy FDF retains early RAW fixtures; its ordinary build.sh output does not reproduce the frozen M42 Android v0 container.

完成条件 ​

  • A pinned companion repository reproduces the intended FD and loader handoff with documented lawful inputs.
  • A new hardware result names the exact firmware, image and complete source revision.

当前范围 ​

  • The selected catalog DarwinBoot revision is not a complete description of the locally adapted nested firmware loader.
  • PSCI, power ownership and general firmware services are not qualified as complete device functions.

下一步 ​

  • Publish the full legacy firmware delta separately and reconcile DSC/FDF and BootShim with the official release interface.

证据 ​

CPU 与中断 ​

implemented

组件: ArmCpu, ArmDTPlatform.

硬件与依赖 ​

  • Four Kryo CPUs; shared affinities, GIC ranges, timer inputs and interrupt descriptions from the pinned msm8996.dtsi.
  • ARMv8.0 boot-CPU target; secondary CPUs and PAN must remain disabled.

配置 ​

  • CONFIG_XNU_ARM_DT_PLATFORM=y and CONFIG_XNU_ARMCPU=y; CONFIG_XNU_ARMCPU_SECONDARY and CONFIG_XNU_NATIVE_PAN are unset.
  • The device DTS explicitly disables cpu1, cpu2 and cpu3.

操作步骤 ​

  • Review the pinned SoC DTS and resolved CPU/GIC/timer inputs together with the device overrides.
  • Keep boot-CPU diagnostics stable; qualify interrupt delivery, timer behavior and GIC 3-cell specifiers before proposing SMP.

开发经验 ​

  • Historical M42 executes on the boot CPU through early VM startup into kalloc_init.
  • ARMv8.1 PAN assumptions are disabled for Kryo; visible progress does not establish timer/IPI or secondary-core correctness.

完成条件 ​

  • Boot CPU source configuration is consistent with ARMv8.0 and the board identity.
  • Functional qualification requires measured timer/IRQ delivery and, separately, secondary-core/IPI results.

当前范围 ​

  • CPU1-3, SMP, GIC/IPIs and sustained scheduling are not device-verified.
  • No interactive XNU or userland execution has been reached.

下一步 ​

  • Resolve the current allocator interval before changing CPU topology; later capture timer/IRQ behavior with exact firmware and source revisions.

证据 ​

内存与 DMA ​

implemented

组件: ArmSmmu4K.

硬件与依赖 ​

  • 4 GiB DRAM beginning at 0x80000000 and the stock firmware/modem/peripheral/framebuffer reservations.
  • ArmSmmu4K is a selected dependency of Adreno530; DMA stream ownership and controller data paths remain incomplete.

配置 ​

  • Keep the fixed FD reservation at 0x91700000/0x600000 and the framebuffer reservation at 0x83401000/0x23ff000.
  • CONFIG_XNU_DT_PANIC_REGION=y avoids a BCM2837 fixed panic-RAM assumption.

操作步骤 ​

  • Review all board and inherited SoC reservations before any memory-map change.
  • Use the retained VM/framebuffer ladder and allocator probes to distinguish early mapping progress from later allocation behavior.

开发经验 ​

  • Historical framebuffer marks survive the early VM transition and M42 reaches allocator initialization.
  • The current reservation overlaps and reusable/no-map pool semantics have been retained, not newly validated or reconciled during repository preparation.
  • No general DMA/SMMU correctness follows from visible framebuffer probes.

完成条件 ​

  • Source describes the board DRAM and protected firmware windows without changing the frozen diagnostic layout.
  • Complete memory qualification needs reconciled reservations, allocation progress and independently measured DMA/cache/SMMU behavior.

当前范围 ​

  • Fixed-zone creation has not been observed to return; the precise fault or progress condition is unknown.
  • SMMU stream IDs, DMA widths and cache policy for working peripherals are not qualified.

下一步 ​

  • After explicit resumption, distinguish policy, size-class and zone-creation boundaries before changing allocator or DMA behavior.

证据 ​

存储与根卷 ​

planned

组件: NativeUfs8996, VerifiedRoot.

硬件与依赖 ​

  • Stock 64 GB UFS 2.0 geometry: 4096-byte LBAs, six LUNs, userdata on LUN0 at 74312..14530554.
  • UFS host/PHY clocks, resets, power, SMMU stream ownership, DMA and a compatible root/Data policy require qualification.

配置 ​

  • ufshc is enabled in the device DTS and NativeUfs8996 is force-loaded through CONFIG_XNU_EXTRA_LD_ARCHIVES.
  • VerifiedRoot is included as the catalog dependency; it does not establish a mounted or authenticated root volume.

操作步骤 ​

  • Keep the current register-probe scaffold separate from claims of block I/O.
  • Document clocks/PHY/SMMU and use read-only identification, LUN/GPT and transfer evidence before root or persistent Data work.

开发经验 ​

  • The NativeUfs8996 archive is selected and linked as a scaffold.
  • Historical temporary boot uses the RAM FAT payload, so it provides no evidence of UFS transfers or mounted root/Data.

完成条件 ​

  • Read-only UFS identification and repeated transfers agree with the stock LUN/GPT geometry.
  • Root verification and persistent Data need separate complete-source device evidence and an explicitly authorized storage policy.

当前范围 ​

  • No UFS data path, root mount, persistent Data, PHY or DMA validation.
  • Flashing or writing device partitions is outside this snapshot workflow.

下一步 ​

  • Complete the host/PHY/clock/SMMU input map and a read-only transfer design after the early-kernel blocker is resolved.

证据 ​

显示 ​

implemented

硬件与依赖 ​

  • Inherited RGB888 scanout: 1080x2160, stride 3240 bytes, physical framebuffer 0x83401000.
  • Stock splash reservation is 0x23ff000 bytes; exact panel/backlight/native modesetting remains unqualified.

配置 ​

  • Retain 24-bit console/probe handling and the board splash reservation.
  • GopFramebuffer is not selected; direct diagnostic writes do not imply an OS display driver.

操作步骤 ​

  • Decode photo cells against the matching probe map and exact kernel disassembly.
  • Distinguish diagnostic scanout writes from native MDP/DSI presentation and brightness control.

开发经验 ​

  • M42 photos contain consistent direct framebuffer markers, including phase 0x4107 and count 1127.
  • A 32-bit-pixel assumption is incompatible with the inherited three-byte RGB scanout.

完成条件 ​

  • Probe cells consistently decode using the documented geometry and exact patch version.
  • Native display qualification separately requires timing, panel/backlight control and OS presentation results.

当前范围 ​

  • No native display/presentation, brightness, panel identification or GPU scanout qualification.
  • Original photographs are not distributed; text decodes and source references are retained.

下一步 ​

  • Preserve the working diagnostic geometry while resolving allocator startup; qualify native display later.

证据 ​

输入 ​

planned

组件: Blsp8996.

硬件与依赖 ​

  • MSM8996 BLSP/QUP v2 transport and the enabled blsp2_i2c6 node.
  • Sensor protocol, exact touch IC/firmware, pins, clocks, interrupts, contact IDs and coordinate transform remain to be identified.

配置 ​

  • Blsp8996 archive is force-loaded as a linked transport scaffold.
  • No native touch/HID component or end-to-end input path is qualified.

操作步骤 ​

  • Establish read-only bus/sensor identity before implementing sensor commands.
  • Record interrupt behavior, report framing, contact tracking and display-coordinate mapping before OS input integration.

开发经验 ​

  • BLSP scaffold selection is inherited from the MSM8996 port; it is not evidence of touch reports.

完成条件 ​

  • Repeated contact reports, IDs and release events map correctly to the 1080x2160 display and reach the OS input interface.

当前范围 ​

  • No sensor protocol, firmware, touch interrupt or OS input validation.

下一步 ​

  • Collect the exact board sensor/bus input map once early-kernel startup is resolved.

证据 ​

GPU ​

planned

组件: Adreno530, Msm8996Platform.

硬件与依赖 ​

  • Adreno 530 / A5xx on MSM8996, platform power/clock votes, firmware and SMMU ownership.
  • Submission queues, interrupts, fences, userspace frontend ABI and presentation remain unimplemented or unqualified for this board.

配置 ​

  • gpu is enabled in the DTS and Adreno530 is force-loaded as a scaffold.
  • ArmSmmu4K dependency is covered by the memory area; A5xx must not inherit A740/GMU assumptions.

操作步骤 ​

  • Document A5xx-specific power/firmware/SMMU resources and restrict initial probes to reviewed operations.
  • Qualify submission, fence completion and OS frontend independently of direct framebuffer writes.

开发经验 ​

  • The selected archive is a register-probe scaffold; visible white cells are CPU framebuffer writes.

完成条件 ​

  • Board-specific firmware/power/SMMU inputs are pinned and measured; repeated submissions and fences succeed through a compatible OS interface.

当前范围 ​

  • No GPU execution, native frontend, rendering or GPU presentation validation.
  • Msm8996Platform is an embedded kit and does not produce a standalone archive.

下一步 ​

  • Finish the A5xx resource/firmware inventory before implementing or claiming a data path.

证据 ​

网络 ​

planned

硬件与依赖 ​

  • Exact Wi-Fi/Bluetooth device, bus, firmware, interrupts, power and DMA inputs require board-specific identification.

配置 ​

  • No qualified network component or OS network interface is selected by this snapshot.

操作步骤 ​

  • Identify the controller and lawful firmware source before selecting a shared transport.
  • Measure association and packet transfer through the OS interface separately from controller enumeration.

开发经验 ​

  • No network result is established by the early boot or framebuffer evidence.

完成条件 ​

  • Pinned board inputs and source support sustained bidirectional packet transfer and reconnect/reset behavior.

当前范围 ​

  • No Wi-Fi association, Bluetooth functionality, network DMA or packet validation.

下一步 ​

  • Inventory the exact network hardware and firmware after the early-kernel blocker is addressed.

证据 ​

cellular ​

planned

硬件与依赖 ​

  • The phone has a modem region; modem firmware and EFS/NV, SIM, transport, power/reset and data-path inputs require qualification.

配置 ​

  • The DTS reserves modem memory but no qualified cellular component is selected.

操作步骤 ​

  • Identify board-specific modem boot, QRTR/QMI or alternative transport, EFS/NV ownership and DMA before integration.
  • Keep private SIM/modem identity and EFS/NV contents outside public repositories.

开发经验 ​

  • A reserved modem range is not evidence of modem startup, network registration or a data session.

完成条件 ​

  • Exact firmware/source evidence demonstrates modem boot, SIM identity handling, registration, data sessions and reset behavior.

当前范围 ​

  • No cellular transport, registration, IPA/QMAP, packet transfer or reset validation.

下一步 ​

  • Document the actual MSM8996 modem transport and resource ownership before choosing a reusable implementation.

证据 ​

音频 ​

planned

硬件与依赖 ​

  • Board DSP, codec, firmware services, clocks, power and playback/capture routes remain to be identified.

配置 ​

  • No qualified native audio component or route is configured.

操作步骤 ​

  • Inventory codec/DSP inputs and lawful firmware before selecting a driver.
  • Measure playback and capture through OS interfaces with explicit route and clock evidence.

开发经验 ​

  • No audio conclusion follows from temporary boot or framebuffer progress.

完成条件 ​

  • Playback and capture work with documented routes, clock policy and sustained device evidence.

当前范围 ​

  • No DSP, codec, playback or capture validation.

下一步 ​

  • Record the board-specific audio topology after early startup is resolved.

证据 ​

电源 ​

planned

硬件与依赖 ​

  • PMIC identifiers, regulator/clock ownership, battery units, thermal policy and firmware-mediated power transitions.

配置 ​

  • Retain board PMIC IDs and the sleep-disabled ADT default; no native power-management claim.

操作步骤 ​

  • Map firmware-owned regulators/clocks and battery reporting before adding transitions.
  • Qualify reset/shutdown/suspend/resume independently and preserve diagnostic recovery.

开发经验 ​

  • Temporary RAM boot and visible diagnostic marks do not qualify battery, thermal or suspend behavior.

完成条件 ​

  • Measured battery units and documented regulator/clock ownership support explicitly tested power transitions.

当前范围 ​

  • No complete power, charging, thermal or suspend/resume validation.

下一步 ​

  • Identify PMIC resources and transition ownership before native power work.

证据 ​

镜像组装 ​

planned

组件: XnuPrelink.

硬件与依赖 ​

  • OS profile ipados-17.7.11-21H461, exact XNU/feed/tool pins and 51 active device patches.
  • Historical M34 template, frozen FD/container, OEM DTB bundle, native Mach-O, ADT and 24 MiB FAT payload; restricted binaries are not distributed.

配置 ​

  • Historical kernel construction uses --skip-prelink; selecting XnuPrelink does not establish a qualified Apple kernelcache/ABI path.
  • The official package.sh template is retained and board metadata selects g0345d_defconfig; standard release integration is pending.
  • Historical Android v0 geometry: kernel_size 54773873, page4096, ramdisk25165824 at0x343e000, image79945728 bytes.

操作步骤 ​

  • Review external-input hashes and the companion firmware gap before attempting standard packaging.
  • Use the strict repacker only with the matching private template, kernel/payload and actual ADT manifest hash; its check-only mode writes no image.
  • Do not run new builds, produce images or operate the device during this repository preparation task.

开发经验 ​

  • Historical M42 retains its recorded image and payload hashes; a full clean-source release recipe is not yet available.
  • The OEM appended DTB bundle is not generated by compiling dts/g0345d.dts.
  • Ordinary legacy firmware output and the official current release pipeline must not be treated as interchangeable with the frozen container.

完成条件 ​

  • A clean checkout and pinned, lawful external inputs produce both standard release artifacts with validated geometry and manifests.
  • A package workflow must report unmet prerequisites honestly until those artifact checks pass.

当前范围 ​

  • No successful standard macOS end-to-end release is claimed; companion firmware delta and input extraction/provenance are incomplete.
  • The fixed M34 template and OEM/Apple images are not included, so this repository alone cannot recreate M42.

下一步 ​

  • Complete separate firmware publication and lawful input reconstruction, then verify the standard release entry point on an explicitly authorized build task.

证据 ​

诊断 ​

implemented

硬件与依赖 ​

  • Exact M42/v185 kernel disassembly, STARTUP ordering, framebuffer probe map and independent photo decodes.
  • Historical sanitized command logs and artifact hashes; no original photograph or device identifiers are distributed.

配置 ​

  • Preserve 51 active patches, large-cell phase/value probes and kalloc/startup ladders.
  • Only temporary fastboot boot is allowed for future explicitly resumed hardware tests; keep FD, kernel_size and kernel/container layout fixed.

操作步骤 ​

  • Match the source/disassembly and image hash to the probe map before interpreting cells.
  • Compare independent decodes and separate visible return boundaries from hypotheses about the internal fault.
  • Physical UART capture remains unverified; do not infer text console output from white diagnostic cells.

开发经验 ​

  • M42 decodes phase0x4107/value0x0467=1127; callback index878 is _kalloc_init at0xfffffff0079d6f94, argNULL.
  • Fixed parsing, assertions, first qsort and fixed iterators returned; fixed-zone creation and adjacent boundaries have not been observed to return.
  • Sending/Booting OKAY only establishes historical transfer/command acceptance, not complete XNU startup.
  • The user stopped experiments after M42 analysis; no M43 or new hardware result is part of repository preparation.

完成条件 ​

  • Each decode identifies its exact image/source map, calibration, observed cells and inference limits.
  • Future host/device status upgrades require a complete 40-character source revision, command and accessible matching log.

当前范围 ​

  • Historical dirty worktrees do not identify a complete published firmware/device/tools revision; evidence is retained as source-referenced history.
  • The exact failing instruction, size class and stopped-versus-slow-progress condition remain unknown.

下一步 ​

  • When testing is explicitly resumed, add narrowly scoped policy/size-class/zone-creation boundary measurements without bypassing allocator initialization.

证据 ​

Released under the BSD-2-Clause-Patent License.