Skip to content

libcamera 0.7.2-4.24: the OnePlus 7T Pro's camera sensors - #934

Open
johannSo wants to merge 1 commit into
derekross:mainfrom
johannSo:hotdog-libcamera
Open

johannSo wants to merge 1 commit into
derekross:mainfrom
johannSo:hotdog-libcamera

Conversation

@johannSo

Copy link
Copy Markdown

What and why

libcamera 0.7.2-4.24: patch 0058 adds the OnePlus 7T Pro's four sensors (#931, device/hotdog/CAMERA-PLAN.md):

Camera Sensor Autofocus
main IMX586 LC898217XC lens
ultrawide IMX481 AK7374 lens
telephoto S5K3M5 LC898217XC lens
front (pop-up) IMX471 fixed focus

Each gets:

  • a sensor helper: black level 64 at 10 bits; Sony's 1024 / (1024 − code) gain; the S5K3M5 driver's whole-step gain;
  • sensor properties;
  • an uncalibrated tuning file with noise reduction, and contrast autofocus where the module has a lens driver.

Additive only; the other phones are unchanged. The patch adds new helper classes, property entries and tuning files, and four names in the tuning meson list. It changes no existing line, so the Pixels' sensors behave the same in this rebuild.

Device and build

  • Phone: OnePlus 7T Pro (hotdog)
  • Kernel release (uname -r): 7.3.0-rc6-omamobile-push1-g7539ca3e06f6
  • Packages changed, with versions: libcamera 0.7.2-4.24

Checks (no phone needed)

  • tools/pr-check origin/main passes
  • The whole series (Arch's patch, then 0001–0058) applies cleanly on libcamera v0.7.2. The one fuzz is in Arch's own patch, as before.
  • Not built yet in this combination. In the port's own build the patch came right after upstream's 0056. Here it also follows 0057, the Pixel 9a's autofocus. The patch body is byte-identical to what ran.
  • pkgrel bumped and in the commit subject; the patch header and checksums updated
  • Commits have area prefixes and bodies that say why; AI help is a Co-Authored-By: trailer

On the phone

  • I ran this tuning on my own phone in the port's build: all four cameras, and autofocus on the three with lens drivers (CAMERA-PLAN). The smoke report in device/hotdog: the OnePlus 7T Pro (community port) #931 lists 4 cameras.
  • What I did not test: this exact package (on top of 0057); any Pixel
  • Nothing in this change writes outside slot B and userdata, weakens the storage guard, or reads registers from userspace

🤖 Generated with Claude Code

0058 adds the OnePlus 7T Pro's four sensors: the IMX586 (main), IMX481
(ultrawide), S5K3M5 (telephoto) and IMX471 (front, in the pop-up). Sensor
helpers (black level 64 at 10 bits, Sony's 1024 / (1024 - code) gain, the
S5K3M5 driver's whole-step gain), sensor properties, and uncalibrated
tuning files with noise reduction and contrast autofocus through the
modules' LC898217XC and AK7374 lens drivers (device/hotdog/CAMERA-PLAN.md).

Additive only: new helper classes, property entries and tuning files,
and four new names in the tuning files' meson list. Every other sensor's
helper, properties and tuning are unchanged, so the Pixels get the same
behaviour from this rebuild.

The tuning ran on the OnePlus 7T Pro in the port's own builds (all four
cameras, autofocus on the three with lens drivers; CAMERA-PLAN), where
the patch came right after upstream's 0056. Here it also follows 0057
(the Pixel 9a's autofocus): the whole series, Arch's patch then
0001-0058, applies cleanly on libcamera v0.7.2 (one fuzz, in Arch's own
patch, as before). This combination has not been built yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant