Jump to content

Subforums

  1. The EOSHD YouTube Channel   (25,506 visits to this link)

    Follow Andrew Reid on YouTube

17,355 topics in this forum

  1. Lenses 1 2 3 4 289

    • 5.8k replies
    • 2.1m views
    • 29 replies
    • 3.3k views
    • 1.3k replies
    • 555.1k views
    • 9.1k replies
    • 3m views
    • 0 replies
    • 43 views
    • 9 replies
    • 597 views
    • 9 replies
    • 392 views
    • 5 replies
    • 122 views
    • 319 replies
    • 52.9k views
    • 48 replies
    • 16k views
    • 6 replies
    • 308 views
    • 20 replies
    • 1.1k views
    • 41 replies
    • 8.5k views
    • 45 replies
    • 2.9k views
    • 0 replies
    • 105 views
  2. Lumix S9 1 2 3 4 17

    • 324 replies
    • 158.6k views
    • 574 replies
    • 284.3k views
    • 2 replies
    • 485 views
    • 0 replies
    • 141 views
    • 103 replies
    • 11.5k views
    • 1 reply
    • 351 views
  3. Nikon Zr is coming 1 2 3 4 27

    • 532 replies
    • 189.7k views
    • 1 reply
    • 358 views
    • 12 replies
    • 1k views
    • 25 replies
    • 18k views
    • 32 replies
    • 12.1k views
    • 20 replies
    • 11.4k views
  4. new camera purchase 1 2 3 4 6

    • 111 replies
    • 89.5k views
    • 0 replies
    • 511 views
  5. Interlude…

    • 4 replies
    • 470 views
    • 42 replies
    • 14.7k views
    • 0 replies
    • 541 views
    • 19 replies
    • 11.1k views
    • 28 replies
    • 15.5k views
    • 3 replies
    • 947 views
    • 15 replies
    • 2.1k views
    • 2 replies
    • 932 views
    • 310 replies
    • 171.9k views
    • 1 reply
    • 827 views
    • 1 reply
    • 748 views
  • Popular Contributors

  • Forum Statistics

    • Total Topics
      17.4k
    • Total Posts
      353.3k
  • Member Statistics

    • Total Members
      36,257
    • Most Online
      19,591

    Newest Member
    iscapodo1988
    Joined
  • Posts

    • Sony A7C (ILCE-7C, fw 2.03): hidden selective color, Color Depth past ±7, and a homemade menu I grew up on Vitaly Kiselev's GH2 hack, Magic Lantern, and reading EOSHD religiously, so being able to pull something like this off today with the help of AI feels like a dream come true. I'm sharing these findings to get more eyes on it and hopefully bring in other people who want to help implement this properly. All I ask for is credit (Samuel Cabral). Apologies that the UI is in Brazilian Portuguese—I was building this for my own camera and, well, I'm Brazilian. Below are my notes and the roadmap if you want to replicate any of it. I did the legwork using Claude Code with REA. After about a week poking around the A7C 2.03 firmware, I have three things working on the actual camera. Everything runs through volatile RAM writes only, so nothing is flashed, the signed firmware stays untouched, and pulling the battery reverts the camera to stock: Color Depth past Sony's ±7 cap. Values up to +12 show up clearly in real photos while staying selective per channel. The hidden "Color Correct" from Sony's camcorders, in both modes. Extract keeps one color and turns everything else grey; Revise shifts the hue and saturation of a single chosen color. The A7C has the hardware and the code—just no menu entry for it. Sonymenu, a small C + microui interface. Right now it runs on macOS, cross-compiles for the camera's Cortex-A5 at 63 KB, and drives all of the above through generated, guarded patch packs. Background & setup I decrypted the 2.03 updater with fwtool.py. The A7C is a CXD90045 ("Astra") body running a full Sony Linux stack. Most of my static analysis was on libObj.so (21 MB, stripped), av-cam.bin (a raw Thumb-2 blob, VA base 0x635C6000, phys = file offset + 0x35C6000), and backup.ko. Ghidra and Hopper both timed out on libObj.so, so I wrote a quick Capstone sweep for MOVW/MOVT and LDR-literal patterns instead—that finds xrefs in seconds. It helps to keep the three memory planes straight: NVRAM / Backup.bin (BK4 property store) — persistent, accessed via pmca-re-reloaded (pmca-console) in service mode. Used to map and write Picture Profile and Creative Style settings. Runtime RAM of the image pipeline — volatile (a power cycle wipes it), accessed via the Sony OpenGate kit for a7C 2.03 (GPL-3) and its guarded write mechanism. This is where all the color work below lives. Signed firmware image — untouched (secure boot). To keep volatile writes safe, every write does a compare-and-swap against an expected byte fingerprint. If RAM doesn't match either the stock bytes or the patched bytes, the kit bails out with "holds neither set of bytes". Because of boot binding, every apply needs a fresh read-only preflight right before it. I forked the kit locally to add my own slots—its toolchain is reproducible, and Zig rebuilds the .so files byte-for-byte. NVRAM: Picture Profile map (persistent plane) I mapped NVRAM by diffing live backups, changing one menu setting at a time to weird values like −6 or +5 so they'd stand out in a byte search. Picture Profile parameters are stored as PROTECTED s8 values in blocks of 10 (PP1 through PP10, so add n−1 for PPn): Color Depth: B 0x10701ef, C 0x10701f9, G 0x1070203, M 0x107020d, R 0x1070217, Y 0x1070221 Phase 0x107022b, Saturation 0x1070235, Black Level 0x10701e5, Color Mode 0x1070249, Gamma 0x1070299 (Knee and Detail sit right nearby) Mirror table at 0x1071cb4 (300 × u32, in groups of 10) Active Creative Style saturation is mirrored at 0x1070187 and 0x1070747 I wrote these via a .pmcaplugin tweak, taking a backup before and after each write (checksum stays valid). One quirk: a Picture Profile edit doesn't actually flush to NVRAM until you exit the menu and power-cycle the camera. More importantly, writing out-of-range values (+10, +14) into NVRAM doesn't work—they get rejected and behave like 0 instead of clamping. That's what pushed me onto the RAM plane. Color Depth past ±7 (RAM) The live image-state block ("LIRO") sits at file offset 0xEF0150 (phys 0x044B6150, 0xa7c bytes). Inside it, LIRO param 0x40F2 ("ColorDepth", state +0x76c..+0x771, file offset 0xEF08BC, 6 × s8 for R G B C M Y) gets added to the Picture Profile depth in the YC assembler at 0x56794a with no clamp. The consumer at 0x54ea50 computes register = −sum × step, reading the per-channel steps from phys 0x043E8C34 (live values: aa aa dc aa cc cc). That leaves roughly ±12 of register headroom for R, Y, and C, and about ±10 for G, B, and M—meaning Sony's ±7 menu only uses 55–70% of what the hardware allows. Tested on a ColorChecker, pushing R totals to +10 and +12 keeps deepening reds and pinks while greens and cyans stay untouched. Hidden Color Correct (selective color / 1-band HSL) The FDR-AX700 has COLOR CORRECTION right in its Picture Profile menu on the exact same SoC. The code is byte-identical across the A7C, AX700, ZV-1, and ZV-E10; Sony just left the menu out on the A7C. There are two copies of these parameters in the LIRO state (each laid out for 2 bands): PP path at +0x1d0 (0xEF0320) — type u32, ch u32, phase u16, range u8, sat u8, rev_sat s8, rev_hue s8. The poke lands, but has no visible effect (likely overwritten by the PP re-send). Direct path (LIRO 0x40C8) at +0x7b0 (0xEF0900) — type u32, ch u32, phase u16, range u8, sat u8, rgain s8, bgain s8. This one works. Under the hood, VD_Pre (0x3a559c) copies the entire state to the work buffer every frame via 0x66f0d8, so a RAM poke takes effect immediately without needing a trigger. Stills go through CaptureManager (0x32dcbc) and the packer (0x3245d8). The YC assembler is at 0x567498—the PP block (0x567ab0) and the direct block (0x567bf4) both feed the same hardware fields at YC block +0x6a..+0x77. The enums are straightforward: type 0/1/2 = off / revise / extract, and ch 0/1/2 = memory 1 / 2 / 1&2 (so ch=0 is valid). One thing that caught me off guard: phase is a vectorscope angle in degrees (atan2(Cr, Cb)), not the 0..31 index shown in the AX700 UI. For reference: red is 103°, magenta 61°, blue 347°, cyan 283°, green 241°, yellow 167°. The skin tone line sits at 123°, and the ColorChecker red patch measures 95°. In Extract mode (phase 103, range 10), only reds keep their color while skin (132°) and magenta (64°) drop to grey. That puts the half-width at range 10 somewhere between 6° and 29°—my working estimate is roughly 2° per range step. For Revise mode, I measured ColorChecker shots (sRGB → Lab and vectorscope angle, matching EXIF timestamps to patch logs): rgain controls intensity (radial saturation of the selected color). +60 gives a noticeably more vivid red; −99 drops chroma by 4% at range 10. bgain controls hue rotation (+ pushes toward magenta, − toward orange). At range 31, +99 turned red all the way into magenta (about −37° in Lab), while at range 10, ±99 only nudged red by 3–5°. range scales the strength of the effect, not just the width. At range 31 the band also spills into skin tones, rotating them by about 40°. Dead ends (so you don't waste time) procolor_mode (STD/NEUTRAL) is dormant. All the plumbing is in libObj.so, the byte sits at state +0x96c and copies to YC block +0xa4, and zero UI files on any of the four sibling bodies reference it. A proper A/B (tripod, manual exposure/WB, alternating apply and reset) showed a real but tiny shift: −1 L* on greys, −2% chroma in blues and greens, nothing in reds or skin. An earlier "+30% chroma" result I saw was just a lens/exposure mismatch. Cinematone TYPE1/TYPE2 are just the Cine1/Cine2 gammas the camera already has. There's a copy-pasted "FX line unlock" report floating around that cites real symbols but completely fabricates the mechanisms. The "14,460 identical functions" claim making the rounds doesn't exist anywhere in the bionz-x-research repo. The 3×3 RGB matrix (PARAMID_RGB_MATRIX_*, LIRO 0x40F3) is volatile only—it's not in NVRAM. I've traced it to the YC block, just haven't built a write pack for it yet. Field notes & gotchas A few practical things I learned the hard way: The camera wipes the Color Correct and procolor bytes on its own within 1 to 6 minutes, probably from a parameter re-send after taking a shot. Shoot right after applying; I haven't tracked down what triggers the wipe yet. Expect "holds neither set of bytes" after a power-off. On my body, entering mass-storage mode required powering off (just turning the dial wasn't enough). My runner regenerates the pack from stock bytes and retries once while keeping the guard active. Always check EXIF before panicking. My "black frames" turned out to be M mode at 1/640, about 7 stops underexposed. Watch for clock drift—my A7C runs about 24 minutes behind my Mac, so match photos to apply logs using EXIF timestamps. Only compare like with like: tripod, same lens, manual exposure and WB, alternating apply and reset shots. Sonymenu I built a small UI in C using microui and my own software renderer (antialiased rounded rects, 4-bit text, vector icons), taking visual cues from caduceus-ep7. The exact same codebase runs as a macOS SDL2 app and compiles for the camera at 63 KB (code + data), just under the kit's 65.5 KB package limit. It has five tabs: Color Depth — sliders marked with Sony's ±7 limit that turn red when you push past it. Selective color — a hue wheel showing the active band, the skin line, a predicted-effect polygon, and a live warning when you're about to spill into skin tones ("catches skin · safe up to range N"). Skin — tone, color, and density axes with presets. Curve and System. Any parameter moved off default gets a small ↺ reset button next to it. Hitting Apply generates a guarded pack for a fixed kit slot (takes about a second, including a dry run), then launches a terminal runner that asks for confirmation before doing preflight and apply. What's still missing is drawing on the camera's actual OSD and reading physical buttons or touch input. The entry point sonymenu_camera_frame(osd, stride, x, y, down, key) is already wired up and waiting. (screenshots: the five tabs, plus extract-mode and revise-mode photos) Open questions / where help is welcome What re-sends the image parameters and wipes the RAM pokes after a shot? Hooking that would make these settings stick. Mapping the full strength-vs-range curve and exact skin-bleed threshold (planning to test ranges 20, 25, and 31 next). Getting the second Color Correct band working, multi-channel Color Depth on hardware, and building a write pack for the 3×3 matrix. Sibling leads: Intelligent Active SteadyShot value IDs already exist in the A7C's libObj.so (dormant). Aspect-marker guides only showed up on the AX700. Finding the camera's OSD framebuffer and touch-event source so Sonymenu can run natively in-body. Safety notes & credits Everything here is volatile—pull the battery for 10 seconds and you're back to stock. That doesn't mean zero risk during an active session (the kit itself documents YC stripe artifacts with certain experimental packs). If you touch NVRAM, back it up twice before writing anything persistent. I'm not sharing service-mode keys or third-party binaries; grab the tools directly from their own repos. Huge thanks to fwtool / Sony-PMCA-RE, pmca-re-reloaded, the OpenGate kit authors, bionz-x-research (an awesome reference for the BIONZ X family), and the fujimod, oly_fw_analysis, and caduceus-ep7 projects for the inspiration.
    • To clarify, I believe the Z5iiC only shoots normal quality raw and not high. From my limited time with it, I can say that Nikon hit a home run with this camera. The n-raw records to V60 cards in full frame. It's detailed but not too clinical, and both the IBIS and AF so far seem to work great. Also it has one of the best ergonomics I've ever had with any camera I owned. If only it had the GH6's screen tilt design.
    • Fuji has had an off year - very little new stuff to show. X-T6, more like X-T5.1 Could be the chip shortage biting?
    • This sensor was the missing piece in the new Fujifilm X-T6 - looks like it is not the same sensor, a bit more pixels and double the readout speed. Looks like that the X-T6 is ok, but rolling shutter is still an issue. Please Nikon, make an rangefinder with the looks of a S3 year 2000 and with these internals, I would buy it in the pre-order (of course it will not happpen).
×
×
  • Create New...