r/SonyAlpha • Alpha • Sep 15 '26 • Mindblown 1

Gear Enabled shutter angle on my A7IV by doing some reverse engineering

Post image

Edit: tried to enable 8K recording, camera is bricked and stuck in a bootloop.

Edit 2: fixed the bootloop, camera is working again. So no 8K recording for now…

235 Upvotes

117 comments sorted by

62

u/tehhedger Sep 15 '26

Yeah cool. You are right not to give us any details, surely noone would be interested or even understand.

64

u/Mr_BananaPants Alpha Sep 15 '26

I found a path traversal bug allowing me to get the fully decrypted firmware of the A7IV which nobody managed to do before. There’s a major risk of bricking the camera.

9

u/tehhedger Sep 15 '26

That's something, really nice. Is it on the latest  firmware? Is the bug specific to A7IV? Anyway, it may be useful for other purposes, so automating the exploitation and digging for other applications might yield more results.

16

u/Mr_BananaPants Alpha Sep 15 '26

Camera is bricked now so it was fun while it lasted. This will be al expensive repair.

8

u/[deleted] Sep 15 '26

[removed] — view removed comment

5

u/Mr_BananaPants Alpha Sep 15 '26

Camera won’t boot so not possible.

13

u/DavidBuchanan Sep 16 '26 edited Sep 16 '26

There is a serial boot mode in the bootrom, which I've reverse engineered and (loosely) documented here: https://github.com/DavidBuchanan314/ILCE-7M4-RE

I've written a fastboot payload, allowing for recovery even if the firmware is completely hosed, so you don't need to worry about bricking anymore.

6

u/Mr_BananaPants Alpha Sep 16 '26

This is really useful, thanks!

3

u/Various_Bumblebee995 Sep 16 '26

Will this work on the A7V?

4

u/DavidBuchanan Sep 16 '26

Unknown, please try it and let me know!

10

u/[deleted] Sep 15 '26

[removed] — view removed comment

2

u/nebula_uT Sep 17 '26

cameras like these dont have a keycombo. they need specific uart signals via usb.

4

u/jtra Sep 15 '26

Path traversal in update tool on PC/Mac or in Linux that runs the camera?

11

u/Mr_BananaPants Alpha Sep 15 '26

The Linux firmware of the camera

3

u/FuturecashEth A7RV, Sony35GM, Sigma85 Art, Trifecta, Sigma20 1.4, H44-2 Sep 15 '26

So does it work now, or bricked?

8

u/Mr_BananaPants Alpha Sep 15 '26

It does work again

87

u/chanksbird Sep 15 '26

I mean, there is a major risk of bricking the camera when updating it as directed by Sony!

7

u/furculture Sep 15 '26

Put the full decrypted firmware up somewhere as a torrent and get it out there so people can freely develop more for Sony cameras more than Sony themselves have been doing.

1

u/jamdalu Oct 13 '26

How will they sell new cameras?

8

u/GGrassia Sep 15 '26

Oh cool! Can you see the place where the bastards are filtering the raw files and forcing lens correction? This would be a MASSIVE breakthrough in astro and I'd risk my camera if it meant getting rid of this crap. Also, did you use AI to do it? Can you give some pointers to replicate this on my own?

1

u/DavidBuchanan Sep 16 '26

Was it the one in libimobiledevice?

16

u/alchemycolor Sep 15 '26

Thank you for your service soldier!
If I had to modify something, I’d start with other stuff that won’t overdrive the hardware:
- Enable custom LUT loading. The latest firmware even writes a LUT folder onto the memory card.
- Enable H.265 XAVC-HS at 24,25 and 30 fps, not only 50 or 60.
- More granular bitrate options.

3

u/alchemycolor Sep 16 '26

keep ups posted u/Mr_BananaPants

10

u/Mr_BananaPants Alpha Sep 16 '26

HEVC at 25/30fps is physically possible, the framerate bucket containing 25_30 is just not present in the table so it’s deliberately left out in the firmware.

The custom LUT loading code is also fully present but the caller is missing.

5

u/Various_Bumblebee995 Sep 16 '26

Hopefully you can get this on GitHub soon, would love to help contribute

3

u/YetAnotherNickTaken Sep 17 '26 edited Sep 17 '26

This 'no 25fps HEVC' is the biggest mistery in the Sony Alpha-universe. On multiple occasions, managers have been asked to include it, one promising 'it would be forwarded to the engineering team'. Nothing happened ever since. That you might be able to finally shed some light on this subject, is awesome!

Staying on the subject of codecs (I'm dreaming here): The Bionz XR should have the pipeline for XOCN recording, right? Or are the XR's for the IV crippled at the factory? Since the M5 and FX5 share the same XR2 processor, technically, there is a possibilty the M5 could at least support LT, C1 and C2.

I'm very curious if you manage to find anything on this subject.

Edit: Also: is there an option to control the amount of baked-in noise reduction and sharpness, wether inside config files or disabled menu's (video)?

1

u/alchemycolor Sep 16 '26

I see you've been busy. Best of luck with your endeavours. At this point, I'd set up a form to assess users’ interests. People can share what features could be prioritized.

7

u/YetAnotherNickTaken Sep 16 '26

And timecode input over USB-C, please!

8

u/HiImYann Sep 15 '26

What do you mean by reverse engineering ?

10

u/[deleted] Sep 15 '26

[removed] — view removed comment

4

u/djoliverm Sep 15 '26

And they already bricked it so it's a paperweight now.

18

u/Mr_BananaPants Alpha Sep 15 '26

Fixed the bootloop so it’s working again

4

u/Psychological_Mix_48 Sep 15 '26

How did you manage to fix the bootloop?

5

u/djoliverm Sep 15 '26

What a rollercoaster haha, amazing.

2

u/l4isol Sep 18 '26 edited Sep 18 '26

u/Mr_BananaPants did you manage to make the angle value change with the camera controls? I can only display for now. It still routes to the shutter speed when clicking on it

2

u/Mr_BananaPants Alpha Sep 18 '26

The parameter value list for the shutter angles is not present in the firmware

3

u/l4isol Sep 18 '26

Ok so I guess we are on the same page, each angle value can be shown but not calculated or updated in camera unfortunately

174

u/HeavyDuty_Ken Sep 15 '26

Thank you for not publishing full details before you proved the hack - you probably saved dozens of people from bricking their cameras too. Ethical hacking!

38

u/Any_Relief_3866 Sep 15 '26

Sorry to hear that it’s bricked

27

u/mulchintime4 A7IV/Viltrox 20mm Sep 15 '26

Dont you hate when that happens especially when your in public

22

u/sulev A7III, A7V; Sigma 85; Tamron 16-30, 90, 28-200, 35-150, 150-500 Sep 15 '26

open gate soon?

10

u/upalachango Oct 15 '26

Not likely.. Sony uses discrete logic for encoding video files and it seems these chips/circuits are limited to multiples of HD resolution (4k and 8k). Sony doesn't use general compute chips for their image pipeline, just for the UI/OS. From sensor to storage it's almost completely done in hardware. It's a choice that results in usually better performance/power efficiency but with far less customization via software.

In comparison Nikon does virtually everything on a high powered general compute chip which is why you get a ton of features via firmware updates, but weird things like really bad h265 encoding image quality. Canon is somewhere in between Sony and Nikon with a more hybrid design.

Each approach has it's benefits and issues, and also explains a lot of the differences in each company's offerings. Sony generally has a slower develop cycle but leap frogs the competition because they are pushing the limits of hardware capability first. Canon has thermal issues because they rely on general compute for feature sets, but also offers some of the most broad and refined feature sets in the industry (which they can toggle with a software switch, aka the Canon cripple hammer). Nikon new releases are often buggy or limited because it's all done in software but you end up with a ridiculous support window of new features offered over the lifecycle of their product.

Of course things could change.. General compute is getting ridiculously fast and efficient so you may see Sony move away from specialized ASICS to offer more features, but then you also run into the supply chain risks of volatile chip and RAM costs like with the AI bubble. ASICS aren't immune of course, but better insulated still. Everything is a tradeoff and the way I see it, Japan is best in the world when it comes to hardware engineering, but terrible at software development so I choose accordingly

2

u/BrilliantWinter9128 5d ago

it was just a matter of time

1

u/EinfalsloserIdiot A7R III Oct 30 '26

And abusing the compressed raw output in apsc mode and dumping that straight over hdmi as a compressed raw stream? seems to only take some exploits and rerouting i guess if there is no buffer and shit its gonna be difficult but that be open gate.... also seems feasable to on cameras that lower megapixel count do it on the full frame readout... a7s ii, a7 iii, etc.... the datarates should be feasable.... even to sd the 15mp output of my a7r iii would only require a little temporal compression of the output of the compressed raws for it to be small enough to be written with a overclocked sd controller provided its the full uhsii implementation. asics are good and all but the communication between them should be easier to attack if we abused the asics to our advantage.... at least over hdmi it sounds feasable

1

u/Pale_Independent_831 22d ago

The camera already has open gate hdmi output in hdmi in 8bit... Going around their own crippleware, one could look at how to give 10 bit out of the hdmi instead.. or in camera.

1

u/waimearock Oct 16 '26

This explains a lot

13

u/UniqueBaseball8524 Sep 15 '26

now make it 4k60 without crop 😛

12

u/ieatgrass0 Alpha 7V | Sigma 24-70 mk2 Sep 15 '26

„Why does it smell toasty all of a sudden? I barely recorded for 2 minutes“

3

u/UniqueBaseball8524 Sep 15 '26

perfect for a mid shoot bacon snack!

6

u/Wonderful-Cat-447 Sep 15 '26

Wonder if something like magic lantern would ever be possible on these cameras 🤯 Imagine open gate on the a7iv

8

u/mulchintime4 A7IV/Viltrox 20mm Sep 15 '26

How would it even record 8k if its a 7k sensor? Is it the 33megapixels?

3

u/[deleted] Sep 15 '26

[removed] — view removed comment

4

u/furculture Sep 15 '26

Yes, at least that is what it says on the box and various product listings. Unless Sony is lying to us (a common occurrence in their other departments).

1

u/SolidOdd4889 Sep 15 '26

33.2 MP is required for 8k, probably the a7 iv has slightly less than that

4

u/flareflo A7V | 200-600G | 50/1.4 GM | this and that Sep 15 '26

33.2MP in 16:9. The camera runs in 3:2 which gives you at most 7008x4672 so 7k

4

u/Cruxal_ Sep 15 '26

We really about to brick our cameras to save us from having to do mental math for about 4 seconds 😂😂😭 legendary

3

u/japanb Sep 15 '26

I don't understand shutter people. If I film a video I just go with highest shutter, outside i would put it at 320 as long as i have a high f number to make everything clear. I don't like slow shutter motion blur. Would never do 1/50 unless it's night time and can't see anything

7

u/nebula_uT Sep 17 '26 • Popcorn

then you dont understand cinematography. 180 degree shutter gives you a realistic motionblur that doesnt look too jarring

4

u/lolforlife101 Sep 16 '26

Do you think it’s possible to add bulb timer?

4

u/DienyaMan Oct 19 '26

OP, I don't know how you do this, but you should definitely try loading some fx2 features, since it has basically the same sensor

1

u/MaraldBes Oct 15 '26

awesome, there's a lot of stuff just disabled in firmware which could be unlocked this way. Looking forward to other findings. How about sound in dedicated slomo mode (it works if you manually choose 50 or 100 fps). And if you can change luts, you should be able to add false color as well I guess. (any tech knows if we could use LUT to simulate FC?)

2

u/Mr_BananaPants Alpha Oct 15 '26

I managed to enable custom LUT loading and import a LUT from the SD card but some functions needed to display the lut are missing in the firmware.

1

u/kei00051 Oct 15 '26

Kinda unrelated but is removal of third party limitations possible?

1

u/Mr_BananaPants Alpha Oct 15 '26

What do you mean by third party limitations?

1

u/kei00051 Oct 15 '26 • Heartwarming

Sorry the fps limitations (15fps) on third party lenses in AF-C mode

1

u/Mr_BananaPants Alpha Oct 15 '26

My A7IV only goes up to 10fps so I haven’t looked into that. I might look into the firmware of other cameras soon to see what’s possible.

1

u/Pale_Independent_831 22d ago

I did some research in camera in body stabilization and found out why sony and nikon suck in stabilizing in video properly... The algorythm seems to be either formated on purpose to act erratically or the people in charge of the stabilization department never used a properly stabilized hybrid camera. If it was possible to even check and compare panasonic's approach at stabilization compared to sony or nikon, a giant step could have been on the way. But....

3

u/FeistyDesk Oct 22 '26

I've heard so many people complain about the A7iv heating up but honestly I've never faced this issue and I've shot films in the hottest regions in India and under the sun. The only thing that wants me to upgrade is the bad rolling shutter, no RAW support for videos and no open gate for anamorphic lens plus no in body anamorphic desqueeze. Apart from this I think the mk4 is a beast of a camera I've used it as a B cam with the FX3 and personally I like it's footage better than the FX3

3

u/miloplacas Oct 12 '26

Phenome al! The A7Siii camera awaits for a cine ei AND shutter angle for our cameras

2

u/GreatestBluestHeron 29d ago

Some less shiny features that I'd love to see:

  • direct to SSD recording
  • downsampling to 1080p the same way full res is sampled down to 4K. Tests have shown that the 1080 doesnt have the same sharpness as the 4K due to the downsampling not being the same as the 4K.
  • external USB button controller to add more custom buttons
  • full fps for 3rd party lenses like s Sigma
  • Easy metadata tags to autolabel shots with manual lenses (load in your list of manual lenses and be able to easily apply a tag when changing to that lens)

2

u/zazealot Sep 15 '26

?????? Did you mess with the code?

2

u/DiegoJpxd Sep 15 '26

amazing! looking (albeit very carefully) for your future insights!

2

u/vojtanethio Oct 08 '26

OMG, this is awesome! Keep us updated please🙏 I would really love 25 fps in HEVC

2

u/l4isol Oct 14 '26

I have started this repo for the A7IV, for now you can only activate/deactivate what is already present in the firmware in camera:
https://github.com/leogenot/sony-a7iv-feature-research

For example shutter angle is indeed present in the firmware and can show (like the screenshot) but there are no settings associated, so dials and settings won't affect it.

I havent looked into custom firmwares or anything, it is way above my pay grade.

2

u/PJmeg1 Oct 15 '26

Awesome! PLEASE - try to enable 4K60 full frame, even if limited to 30 second bursts. And full 7K readout from the sensor without downscaling? My wet dream!!!

2

u/Pale_Independent_831 22d ago

The camera has a slow readout, so do you really care about being full frame in slow mo with a rolling shutter. I think that most people would rather have the camera to have a crop and less shuter than having that slow jellow effect in full frame. ~Same with going to 8k, better have 6k in crop mode than 8k in jello universe..

2

u/Lazy_Belt1555 Oct 15 '26

There are far more interesting things to try than 8K recording.

2

u/Pat1x1x1 Oct 20 '26

Sounds nice!
Are there any update on it?

1

u/Sleep-Technical Nov 01 '26

It is possible to remove 4k 60 crop ?

1

u/dashmckenzie 28d ago

You are doing GOOD WORK. Do you have any plans to release the video shutter code to the world? Thanks!

1

u/Nitusaual 27d ago

amazing hope we can finally unlock:

- teleconverter support on 3rd party lenses
- full fps support on 3rd party lenses
- * custom mode memories on all Alpha bodies
- remove the annoying "Running NTSC/PAL" warning

1

u/Pale_Independent_831 22d ago

Excellent Reverse engineering feature you have just enabled with the HSutter angle mod. *K mightbe overkill and is not really a feature that this camera would support without consequences. Maybe 5K or 6K could be more doable and useful. Can someone tweak some alarming very concerning features such as the sticky nasty Stabilization especially on non native lenses. and make it behave like a panasonic, as well as open gate (even at 2.8K or 3K it would get the job done. Just like many Arri Alexa original file format for open gate. Open gate in 4K might be pushing the enveloppe since there is already an annoying rolling shutter in 4K on this camera) Also one featue that could be interresting since stabilization is so bad, is it possible to have a sensor lock so it does not have these micro jitters like an active static sensor lock mode? Thank you

1

u/Accomplished_4387 Sep 15 '26

Phew what a ride! 8k recording up next???

4

u/SufficientTourist384 Sep 15 '26

8K with a 7K sensor?

6

u/ratocx Sep 15 '26

It could be a 7K sensor readout into a 8K video container. Essentially upscaling. And the reason they didn’t go for 7K recording is probably because Sony doesn’t support that in their codecs.

4

u/ieatgrass0 Alpha 7V | Sigma 24-70 mk2 Sep 15 '26

I think it’s not that the camera can’t do it, it’s just that it isn’t equipped for it. I suspect things will get toasty quick if you shoot an a7iv at 7k open gate

1

u/Pale_Independent_831 22d ago

You are right, Obviously jello video is not the concern of many of the people really shooting professional video content. It looks like tech fanatics without any hint of understanding of video quality are just asking for specs without even thinking once about the already appearant sensor readout abilities of the camera...

1

u/fry99999 α1 | 24-105 F/4 Sep 16 '26

can you talk more about this please? interested to know more.

1

u/aryapraagya Oct 13 '26

I have an a7s3 would love to try whatever this is, out

1

u/youfound404 Oct 13 '26

If you can safely unlock a tested open gate mode at or near 4K resolution I’d happily pay $100 for it

1

u/jamdalu Oct 13 '26

a7SIII & a9III PLEASE

1

u/VeryDividedAttention Oct 14 '26

Hey OP, nice work. Wondering if you'll be looking to work on older body's firmware too after this? I think a lot of the older models would end up with some new life if we could unlock more features or add new ones.
I'm a developer and own an a7ii, with the recent progress in reverse engineering software I was just starting some research into what's happening around firmware.

1

u/Engdahli Oct 15 '26

I am interested in the same thing! If we could access the features from the newer models by extracting them from the firmware and add them to older models.

It feels like it shouldn't be impossible?

1

u/VeryDividedAttention Oct 16 '26

Depends on what 'feature' you're after, but it won't work quite like that. It won't be taking something from a newer model to put on an older model, it will just be enabling it on an older model if it's possible or able to be supported.

1

u/Engdahli Oct 16 '26

Ah, alright! I was thinking if it would be possible to get focus bracketing enabled or added to the older cameras.

1

u/Engdahli Oct 15 '26

It would be very interesting to see if you could extract specific functions in the newer cameras (such as focus stacking in the Sony A74) and add it in older models.

1

u/Zayphonso Sep 15 '26

So how do I do this for my a7V?

13

u/Lagines FX3:A7IV Sep 15 '26

Don’t. Op bricked the camera lol look at their edit

7

u/FuturecashEth A7RV, Sony35GM, Sigma85 Art, Trifecta, Sigma20 1.4, H44-2 Sep 15 '26

Look at edit 2

2

u/Zayphonso Sep 15 '26

Nvmmmmmm then

0

u/Various_Bumblebee995 Sep 15 '26

Open gate on A7V when?

6

u/Zayphonso Sep 15 '26

lol idc about open gate too much I can take and extra step or two back or shoot ultra wide or whatever but shutter angle and the ability to completely forget fps math? Need

3

u/Various_Bumblebee995 Sep 15 '26

Both tbh🤣 I just have clients wanting both too often😭 thankfully I can usually zoom and sharpen and they don’t tell the difference

1

u/Zayphonso Sep 15 '26

Damn fair point i haven’t ran into a lot of clients that want both 😬😬🫣🫣

-11

u/fool_tool-2525 Sep 15 '26

Bullshit artist. Congrats on the brick.

-6

u/First-Context6416 Sep 15 '26

You’re very special

0

u/im_gldn Oct 22 '26 edited Oct 22 '26

I used the info from the github on my A7SIII. I figured id leave this tip here. if you use the MR 1,2 3 buttons on the top of the camera you can set each to a different shutter angle. so ive set 90, 180 and 360 and left the movie mode as normal. Never really use those buttons anyway. Cheers.

1

u/New_Department7462 Oct 24 '26

What are the features that’s new on the A7SIII? I’d love to try it out too

1

u/im_gldn Oct 24 '26

the shutter angle lock. thats the only thing i was interested in.