Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Menneisyys2

macrumors 603
Original poster
Jun 7, 2011
6,004
1,108
EDIT: thanks to "rick snagwell", I got the plists. Will keep you posted.

Original message:


Hi guys,

you may recall that I've authored several iOS camera enhancers (the latest, iOS6 + iPhone5-specific one one is at https://forums.macrumors.com/threads/1538193/ )

You may also know the 5s has some new camera features that MIGHT be also made available on earlier / lower-cost models like the 4S/5/5s. While I in no way think the 720p120 mode is achievable with an inherently slower / lower-spec'd (camera) hardware, I still hope the excellent automatic exposure compensation panorama mode, in some way, can also be made available on these devices. After all, there have always been a lot of things that could be backported to legacy iOS devices from new models; for example, XGA/720p screen mirroring over the VGA /HDMI adapters (respectively) in A4 devices.

If you don't know what you're missing by not having variable exposure, check out http://www.dpreview.com/news/2013/09/24/editorial-why-i-can-t-stop-taking-apple-iphone-5s-panoramas

On the iPhone 5, I've already found some promising entries in /System/Library/Frameworks/MediaToolbox.framework/N42/CameraSetup.plist. For example, in CameraSetup.plist, the entries under TuningParameters>PortTypeBack>0x0149:

panoramaAEIntegrationTimeForUnityGainToMinGainTransition
panoramaMaxIntegrationTime

are pretty interesting, auto exposure in panorama mode-wise.

(Note: I've made available the zip'ed N42 directory at https://dl.dropboxusercontent.com/u/81986513/122013/14UIwebView/N42.zip - feel free to check it out, should you want to take a look at it. Again, it's iPhone 5 only.)

Could anyone post a full ZIP'ed /System/Library/Frameworks/MediaToolbox.framework/N42/ directory from the 5s? If there's no "N42" subdirectroy at the given path, there will be something NXX still, where XX stands for a two-digit number. (You could zip up the entire parent, that is, /System/Library/Frameworks/MediaToolbox.framework/ too if you don't find the directory - it doesn't have any sensitive info specific to your iPhone.)

I'd need it so that I can compare it to that of the iPhone 5 to find out whether it's possible to enable some of the 5s-only camera features on other devices. By having the 5s plists, tweaking could be much faster as I wouldn't need to start with random values.
 
Last edited:
This excites me in ways I can't explain.

As soon as I jailbreak, I will find that file and give it to you.

Thank you so much for all your hard work and effort. It is greatly appreciated.
 
First results: nothing really interesting, just some stuff for people that may also want to hack the plist files a bit.

NOTE: HERE are the original 5s plists, should you want to play with them. (Again, a big thanks to "rick snagwell" for them!)

1, if you just copy all the new “panorama” entries to the old CameraSetup.plist, it won't have any effect on the results. (The file prepared this way: https://dl.dropboxusercontent.com/u/81986513/122013/14UIwebView/CameraSetup-copiedallpanotags.plist )

BTW, removing CameraSetup.plist fully doesn't seem to have any effect on the camera. Removing all files from N42, on the other hand, does – it renders the camera non-working.

2, if you entirely overwrite the i5 CameraSetup.plist with the i5s one, no changes are seen.

3, no changes can be seen either if you overwrite all the i5 files in the N42 subdirectory with the i5s files (first deleting the i5 ones).

Will keep posting.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.