Repository navigation
Releases
🌿 iOS 18 on the GPU: Chlorophyll
iOS 18.7.8 on the Poco F1 now composites on the Adreno 630 through Chlorophyll, our Metal-to-freedreno translator, and the UI runs at about 45 fps in a continuous home-screen swipe test (it was CPU-only at the last milestone). Bluetooth works, the clock is right from boot, and the phone charges properly from a computer.
Graphics (Chlorophyll + kernel scan-out)
- backboardd and the wallpaper/widget processes render through Chlorophyll (
gpu/metal): Metal AIR → NIR → ir3 on Mesa freedreno. - Scan-out copies run on the GPU and never show a frame before its copy has landed (0240, 0241, 0247). The old copy path flashed stale frames.
- Draw-path work: a texture resource pool, constant uploads that copy only what a shader reads, unbounded misaligned constants bound in place, textures kept bound across draws, and linear sampled textures. The texture creation bug that made earlier linear attempts draw black is fixed. Dirty-region rendering is back on.
- Swipe test, frames per 10 s: ~300 → 436–461. backboardd went from ~99% to ~89% of one core during swipes, and idles at 0%.
System
- Wall clock from the PM8998 RTC (0245): boots no longer start in 1970. The jump to 2026 had kept coreduetd at ~75% of a core for the whole boot.
- Panel power follows iOS (0242). The backlight service is registered as
AppleARMBacklight(0249) but stays off by default: once accepted, CoreBrightness crashes backboardd. Brightness control is still open. - Charging: a computer's USB-C port is charged at its Type-C current (0244: ~500 → ~1400 mA). The charger takes control 2 s after start instead of 20 s (0248).
- Little cores boost under sustained load (0247). The GPU page-table pool is larger (0237).
Bluetooth (merged from wifi-bt18)
- bluetoothd stays up and Settings lists nearby devices.
- Patches: 0238 (AKS key wrap), 0239 (WCN3990 HCI compatibility), 0250 (Skywalk privileges for the audio pipe; connecting crashed bluetoothd without it).
- Wi-Fi is still blocked on drivers (
docs/WIFI_BT_IOS18.md, section 3).
Known open items: brightness slider, Wi-Fi, home-screen widgets showing "Waiting…".
Kernel: xnu/patches-11215/ through 0250, built by CI (run 40145683416). Fix write-ups: docs/FIXES_KERNEL_SYSTEM.md and gpu/metal/docs/FIXES.md.
No binaries are attached. Apple's files and Qualcomm firmware are not distributed.
Related pre-releases: bgmtl-20261025 (the Chlorophyll dylibs) and berga-tools-v3.
Chlorophyll inject dylibs (bgmtl) 2026-10-25
Chlorophyll inject dylibs for tools/renegade/root_tweaks18.py's bgmtl feature (iOS 18.7.8, arm64e, PAC-stripped, ad hoc signed). These replace bgmtl-20261024 and are the build running on the test phone.
Install on the build machine, from the repository root:
curl -L -o /tmp/bgmtl.tgz https://github.com/ry-diffusion/Bergamota/releases/download/bgmtl-20261025/bgmtl-dylibs-20261025.tar.gz
tar xzf /tmp/bgmtl.tgz -C research
This gives research/bgmtl/{bgmtl-inject.dylib,libbgair.dylib,libdrm.2.dylib}. Run the update again and the bgmtl feature installs them.
New since 20261024:
- Texture resource pool, and constant uploads that copy only what a shader reads.
- Misaligned constant buffers with computed offsets are bound in place: the shader adds the remainder from a 64-byte delta table.
- Sampler views and samplers stay bound across draws.
- Linear sampled textures. Earlier attempts drew black because the LINEAR flag made texture creation fail; the flag now applies to the allocation only.
- libdrm:
madviseis answered locally, with no kernel round trip. - Home-screen swipe test: ~300 → 436–461 frames per 10 s.
- Kill switches, in backboardd's environment:
RWA_TEX_POOL=0,RWA_LINEAR_SAMPLED=0,RWA_CB_DELTA=0.
Built from Chlorophyll main at 787338f (Bergamota develop 49ee513). Includes Mesa 25.0.7 (MIT) and the hackios AIR front end (MIT, OOSEX GANG); see Chlorophyll's NOTICE.md.
SHA-256:
5923f5f1b5877681aee9254387cdacd5e0dca0393e63821df8c43a00a64acfb5 bgmtl-dylibs-20261025.tar.gz
e1485d2e0a405ddbb6b30a509cb2910eb37cab24c22e9eb51f14d17cb1f5004a bgmtl-inject.dylib
3f9f94f2993c9721212302f68fcd2d344ec46a6d845538f1f72d0ad1a972c2d5 libbgair.dylib
2d38ffec160bfeb7af0066f3fb1facd375fb469b67c91bed2901f36c8e55cbb6 libdrm.2.dylib
berga-tools v3
Prebuilt on-device binaries for renegade root / renegade update (fetched with tools/renegade/renegade fetch-tools).
New in v3:
- sweetnet/ios18/sweetsample: a CPU profiler over SSH. It samples a process's running threads, aggregates frame-pointer stacks on the phone and prints unslid shared-cache addresses for symbolication.
Usage:sweetsample PID|NAME [SECONDS] [HZ] - sweetnet/ios18/sweetlog: the unified log over SSH, read through OSLogStore.
- The other sweetnet tools are rebuilt from the same sources. The GL payload (bergamota-gl/) and ssh/ (dropbear 2026.94, dash 0.5.13.5, toybox 0.8.15) are byte-identical to v2.
Built from commit 5d51b58. Per-file SHA-256 is in berga-tools.json.
Chlorophyll inject dylibs (bgmtl) 2026-10-24
Chlorophyll inject dylibs for tools/renegade/root_tweaks18.py's bgmtl feature (MercuryPosterExtension, iOS 18.7.8, arm64e, PAC-stripped, ad hoc signed).
Install on the build machine, from the repository root:
curl -L -o /tmp/bgmtl.tgz https://github.com/ry-diffusion/Bergamota/releases/download/bgmtl-20261024/bgmtl-dylibs-20261024.tar.gz
tar xzf /tmp/bgmtl.tgz -C research
This gives research/bgmtl/{bgmtl-inject.dylib,libbgair.dylib,libdrm.2.dylib}; run the update again and the bgmtl feature installs them.
Built from Chlorophyll main at 5eb3387 (Bergamota develop 82c93fe): the framebuffer-fetch barrier under batch reordering (Control Center blur), ASTC LDR textures, and the framebuffer kept bound per pass. Includes Mesa 25.0.7 (MIT) and the hackios AIR front end (MIT, OOSEX GANG); see Chlorophyll's NOTICE.md.
SHA-256:
c44cb39141aaf38c7e425dd2a45c744a73aacbbc169cd2707a3469096a411a7d bgmtl-dylibs-20261024.tar.gz
7fdefe5c97321ef73bc34a011ef5e6d6fba55be669fad197ab032e1f21d3dd56 bgmtl-inject.dylib
f28328990c8a3557c9af45106e935791c39aa8de3352e7ce545303f18cf6e0a5 libbgair.dylib
90f707f588749065a1eb8c1dcb3b5ddab888920c6f17865d0cad68f5da751f27 libdrm.2.dylib
berga-tools v2
Prebuilt on-device binaries for renegade root / renegade update (fetched with tools/renegade/renegade fetch-tools).
New in v2:
- ssh/: dropbear 2026.94, dash 0.5.13.5 (the image's /bin/sh), toybox 0.8.15, with their license texts in LICENSES/. Linux builds now get /bin/sh, so the first-boot job (app registration, jailbreak post-install) is no longer skipped.
- sweetnet/ios18/sweetshot and sweettouch (screenshot and touch over SSH).
Built from commit 7fb17c9; per-file SHA-256 in berga-tools.json.
🌳 iOS 18 on Heartwood xnu-11215
iOS 18.7.8 (22H352) boots to SpringBoard on the Poco F1 with Heartwood, our patched xnu-11215.81.4 (the iOS 18-generation kernel). Before this, it ran on xnu-8796 (iOS 16 era).
- Kernel:
xnu/patches-11215/, CI run 39976128381; it needed one hardware fix, 0171 (in xnu-11215, CPU bring-up goes through ml_processor_register / processor_cpu_reinit) - 8 CPUs online; SpringBoard, backboardd, lsd and PosterBoard run; SSH and the live kernel log work over USB
- Booted with Enxerto via Bergamota (RAM boot); the userdata root is the one Renegade built
- Rendering is still CPU only; GPU work (OpenGL ES over Mesa freedreno on the Adreno 630) starts now
No binaries are attached. Apple's files are not distributed.
berga-tools v1
Prebuilt on-device binaries for Renegade (tools/sweetnet, iOS 16 arm64 and iOS 18 arm64e; bglrender payload with Mesa 25.0.7). Install with tools/renegade/renegade fetch-tools. Built from commit 2fd0dfb on macOS with Xcode. Contents, SHA-256 per file and licenses: berga-tools.json and LICENSES/ inside the zip. zip SHA-256: 96ade138f4bb84288d4f217e59caa25634ea81a5a1c08544585e9de36f36dac3