Repository navigation
devices: the iPad mini 3 gets Wi-Fi and Bluetooth firmware, and its speakers work - #458
Merged
Merged
Conversation
The J85M's restore image does ship its Wi-Fi files: villardA/B/C.trx and the villarda/b/c NVRAM texts under usr/share/firmware/wifi/4324b5. The recipe builds brcmfmac43241-j85m-usb.bin from villardA.trx with villarda-u-kk.txt, and BCM.apple,j85m.hcd from BlueTool (same patch hash as the J85). wifi and bluetooth_audio are working, as seen on one iPad4,7; bluetooth_input stays untested. Assisted-by: LLM Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: en3r0 <en3r0.x@gmail.com>
Both CS35L19 speakers of one iPad4,7 played a tone, the left channel only and then the right only, in the right order (the owner covered one speaker to tell them apart), through PipeWire at 100% volume on installed Omarchy A. Assisted-by: LLM Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: en3r0 <en3r0.x@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The J85M's Wi-Fi and Bluetooth firmware, which
docs/devices/j85m.mdsaid iOS 12.5.8 doesn't ship. It does:usr/share/firmware/wifi/4324b5/villardA/B/C.trxplusvillarda/b/c-{u-kk,m-mt}.txtare in the pinned restore image (orchard fw ls j85m --type peripheral --image OS /usr/share/firmware/wifi/4324b5).devices/j85m/firmware.json: buildsbrcmfmac43241-j85m-usb.bin(trx-add-nvram@1, villardA.trx + villarda-u-kk.txt) andBCM.apple,j85m.hcd(bluetool-hcd@1; the output hash is the same as the J85's, so the J85M's BlueTool carries the same patch).devices/j85m/device.toml:wifi,bluetooth_audioandaudio_outputbecomeworking;bluetooth_inputstaysuntested.docs/compatibility.md,docs/devices/j85m.md: regenerated.Independent of #448 (different lines, no shared files besides the generated docs).
Testing (one iPad4,7, installed Omarchy A 0.4.6, 2026-12-02)
Seen on the device:
orchard fw build j85m --type peripheralreproduces both files from the pinned IPSW with the recipe's hashes.Wi-Fi: with the firmware in
/lib/firmware/brcm,brcmfmacstarted it (Firmware: BCM4324/1 wl0 ... version 6.46.79),wlan0appeared, a scan listed many networks on 2.4 and 5 GHz, and NetworkManager joined a WPA2 network, got DHCP and pinged 1.1.1.1 throughwlan0: 3 of 3, about 21 ms.Bluetooth: with the patch installed,
hci0reportedBCM4324B5 'brcm/BCM.apple,j85m.hcd' Patch, then build 1373 (SYRH USI). A pair, trust and connect to a set of earbuds worked, an A2DP sink appeared in WirePlumber, and a 3 s 440 Hz tone played withpw-playwas heard by the owner.Speakers: through PipeWire at 100% volume, a 600 Hz tone on the left channel only, then on the right only, came from the left then the right speaker (the owner covered one to tell them apart). Level not measured; the earlier "silent" result at 50% volume is unexplained.
Not tested, not claimed:
m-mt(Murata) NVRAM files, and the-MURpatch file the J85 also builds.hsic_bind=1, bind1-1:1.0; BT by rebindingserial0-0); a cold boot with the firmware baked into the image was not run.Update: accelerometer (M7)
accelerometerandgyroscopeare nowworking. The M7 never booted because the D2089's 32 kHz clock output (register 0x400) was off ("PMU 32kclk is not working"). The fix is OrchardLinux/linux#108. Seen on the J85M: a kernel with #108 RAM-booted by the ibss route, with no module option, broughtoscar-clk32up, the M7 reported its firmware, andin_accelread about 1 g flat; on the installed system, the same register written by a debug module made the screen rotate to landscape. The published kernel does not have #108 yet.After a cold boot of the installed Omarchy A with #108 (kernel updated in place), the M7 came up by itself and Wi-Fi joined on its own; hand-turning the iPad swung the gyro readings by about 1e7 against about 1e4 at rest and moved the compass heading through 223 degrees (units and calibration not checked). The earbuds had to be paired again after that boot (Bluetooth audio then worked).
Charging:
chargingis nowworking: on the laptop's 500 mA port with the screen off the battery read Charging at +27 mA; with the screen on it discharged at about 800 mA. A wall charger, charge to full and termination were not tried;charging_controlstaysuntested.Tests:
bin/orchard python -m unittest discover -s tests: 506 tests, OK.CHANGELOG: not changed in this PR.
🤖 Generated with Claude Code