Skip to content

extracting the sensor calibration files for macbook 12 inch models #3

@leifliddy

Description

@leifliddy

this wiki page gives excellent instructions on how to extract the sensor calibration from from the AppleCamera.sys file:
https://github.com/patjak/bcwc_pcie/wiki/Extracting-the-sensor-calibration-files

...using strings I can see the names of the four sensor calibration dat files contained within

[root@black bootcamp.2015]$ strings AppleCamera.sys | grep firmware
/usr/local/share/firmware/isp/9112_01XX.dat
/usr/local/share/firmware/isp/1771_01XX.dat
/usr/local/share/firmware/isp/1871_01XX.dat
/usr/local/share/firmware/isp/1874_01XX.dat

My question is: how did you find the offsets?
I'm a bit new at dealing with firmware, but I'd like to learn this.

So, I have a macbook9,1 (12 inch 2016).
**your facetimehd driver doesn't seem to work correctly (no video) on the 12 inch macbook models {8,1 + 9,1 + 10,1}, but I'll deal with that issue in your other repo.

What I'd like to sort out for this issue is how to extract the 1675_01XX.dat firmware.

[ 2976.929253] facetimehd 0000:03:00.0: Direct firmware load for facetimehd/1675_01XX.dat failed with error -2

In the Apple.sys file I pulled off my bootcamp file, I can see there are nine dat files

[root@black apple.camera.macbook91]$ strings AppleCamera.sys  | grep firmware
/usr/local/share/firmware/isp/9112_01XX.dat
/usr/local/share/firmware/isp/1771_01XX.dat
/usr/local/share/firmware/isp/1871_01XX.dat
/usr/local/share/firmware/isp/1874_01XX.dat
/usr/local/share/firmware/isp/1222_01XX.dat
/usr/local/share/firmware/isp/8221_01XX.dat
/usr/local/share/firmware/isp/1674_01XX.dat
/usr/local/share/firmware/isp/1675_01XX.dat
/usr/local/share/firmware/isp/1671_01XX.dat

I'd like to find the offsets for these files, could you help me with that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions