Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
New version released. It, functionally, doesn't differ from the one released earlier today. It, however, refreshes the SpringBoard after installation so that you don't need to respring to make the icon of my app shown.

This has been done in the now-added postinst file, as a single "su mobile -c uicache" command. (See http://coreygilmore.com/blog/2010/08/02/regenerate-springboard-on-a-jailbroken-iphone/ for more on this.)

The two new versions:

iPhone 5 (not for AT&T devices! They still require manual hacking!): https://dl.dropboxusercontent.com/u/81986513/012014/02-camhack/ip5-vidcamenh-20140102-01.deb

iPhone 5s: https://dl.dropboxusercontent.com/u/81986513/012014/02-camhack/ip5s-vidcamenh-20140102-01.deb
 
My iPhone 5s video camera enhancer much better than on iPhone 5: widest FoV, ...

Replace /System/Library/Frameworks/MediaToolbox.framework/N42/AVCaptureSession.plist with this one:

https://dl.dropboxusercontent.com/u/81986513/012014/01-camhack/5/AVCaptureSession.plist

If this doesn't help, look into /System/Library/Frameworks/MediaToolbox.framework . Do you see an N42 and/or N51 subdirectory there?

EDIT: did you install the latest 5s package released some hours ago - that is, https://dl.dropboxusercontent.com/u/81986513/012014/01-camhack/ip5s-vidcamenh-20140101-01.deb , and not an earlier one? To help you with the testing, I've also installed it on my iPhone 5 7.1b2 (no build number hack) in every possible configuration (on top of the 5-specific one; as a fresh install etc.). It didn't mess up anything - which was easy to guess as it only overwrites one file in each version, which is located in a completely different subfolder on the two models.


Going to try that now, I should mention I'm on AT&T so I only have N41.

*UPDATE*

Didn't work, Camera apps keeps crashing upon launching.
 
Last edited:
That's the problem - my app requires hacking to work on at&t devices.

At this point I would just like to restore my Camera app back to its default state with no mods, how can I do this?
 
Last edited:
At this point I would just like to restore my Camera app back to its default state with no mods, how can I do this?

Can you post a screenshot of the contents of your n41 dir? iExplorer, iFile etc. will all do.
 
I couldn't take a screenshot since it crashes my phone, here's the link to the files in my N41 folder/directory:

https://drive.google.com/file/d/0B0RaObVBhnyZSFdZSTUtLVh3dHFKT0RmckRCYTM1TGFtMU5B/edit?usp=sharing

I hope it's as easy as modifying a few of the files in here =(

These files, particularly AVCaptureSession.plist, seem to be perfectly OK and untampered-with. (My app wouldn't be able to overwrite it in the first place as it's N42-only).

Frankly, I don't know what the problem is as I don't have access to an AT&T iPhone 5 (I'm on an N42 international GSM one) so I can't test this myself. This is why I also emphasize in the release notes the AT&T iPhone 5 isn't supported.

I think you should consider a clean restore - after all, Apple still signs 7.0.4 / 7.1b2.
 
These files, particularly AVCaptureSession.plist, seem to be perfectly OK and untampered-with. (My app wouldn't be able to overwrite it in the first place as it's N42-only).

Frankly, I don't know what the problem is as I don't have access to an AT&T iPhone 5 (I'm on an N42 international GSM one) so I can't test this myself. This is why I also emphasize in the release notes the AT&T iPhone 5 isn't supported.

I think you should consider a clean restore - after all, Apple still signs 7.0.4 / 7.1b2.

At this point that's what I'll do, restoring as I'm typing this. Thanks for the help bud.
 
Uploaded the latest two (iPhone 5 and 5s) DEB's to my private Cydia repo at http://winmobiletech.com/cy . They're at the bottom of the following screenshot:

2-winmolist.jpeg
 
I'm assuming this still does not work for AT&T iPhone 5's correct?

Yup, it doesn't. I couldn't make it work. (It's very hard to develop a hack without a local device with full and prompt access.)
 
Yup, it doesn't. I couldn't make it work. (It's very hard to develop a hack without a local device with full and prompt access.)


I bet, either way I'd like to thank you for all of your hard work! I'm sure iPhone 5S owners really appreciate what you've done with this tweak!
 
What does this essentially chance for the 5s? Will the tweaks work for gsm versions someone tested?
Any negative side effects?
 
What does this essentially chance for the 5s? Any negative side effects?

Pros:
- Much-much better low-light performance
- Considerably wider FoV

Possible(!) cons:
- Higher battery consumption (not known if this the case / how much more)
- May drop a frame or two now and then (not confirmed yet by anyone - I only list this because it's possible it may not be able to deliver steady 30p)

Will the tweaks work for gsm versions someone tested?

So far, I've only heard of AT&T tests. However, you can easily test - without installing the app - whether your model is compatible: check whether there's an N51 directory under /System/Library/Frameworks/MediaToolbox.framework/. If there is, you can safely install the app. The direct DEB installer will definitely work; the just-added Cydia installer should too. (I haven't tested the latter.)
 
That battery consumption is in global usage or only during the camera?

Also, no n51 folder there. There is a n53 folder though.
 
I can confirm this, it is not a steady 30fps, certain lighting will cause it to dip considerably.

Thanks! In low light, even the stock implementation (at least prior to the 5s) tends to drop a frame or two because of the longer exposure times to gather more light.

Have you encountered framedrops outdoors, with good lighting?

----------

That battery consumption is in global usage or only during the camera?

Only when using the camera for video recording. After all, upsampling is pretty CPU-taxing. However, it's not an issue when recording shorter clips and/or shooting using external power. With my iPhone 5, I've did the latter for 6-7 hours without pauses other thank quickly stopping and restarting recording when speakers changed (shooting a conference from a tripod) and haven't encountered any problems related to, say, heatup.

Conference shooting is a particularly excellent usage area of my tweak because of
- the using of a tripod (no need for image stabilization),
- the lower lighting level (meaning better low-light performance produces considerably better, less noisy, brighter images),
- the lack of need for steady 30p shooting (17...19 fps - the framerate recorded by the iPhone 5 and 4S with my tweak - is sufficiently fine in these cases) and
- the additional freedom to choose a place to shoot from because of the significantly larger FoV. (Read: you can place the camera much closer to the speaker than with Apple's stock implementation, assuming the same area covered.)

Also, no n51 folder there. There is a n53 folder though.

If you're ready to help me (and aren't afraid of, probably, a full, factory restore - I can't guarantee it won't be needed), you could test an N53-specific version I'll very soon release.
 
If you're ready to help me (and aren't afraid of, probably, a full, factory restore - I can't guarantee it won't be needed), you could test an N53-specific version I'll very soon release.

Here it is: https://dl.dropboxusercontent.com/u...ip5svideocameraenhancer7_1.0_iphoneos-arm.deb

There are changes at two places:

SystemPlistContentWrapper.m: NSString* fullSystemPlistPath = @"/System/Library/Frameworks/MediaToolbox.framework/N53/AVCaptureSession.plist";

preinst: chown mobile /System/Library/Frameworks/MediaToolbox.framework/N53/AVCaptureSession.plist
chmod o+w /System/Library/Frameworks/MediaToolbox.framework/N53/

Please report back on how it fares. As usual, kill the camera app so that the changes are seen. Test in wide mode so that you can immediately see whether it records 4:3 footage, showing the tweak is working.
 
The worst thing that can happen is that i need to copy and paste that folder back?

Edit:after installing your deb there is zero difference. Made picture before installing and after installing. No difference at all.
 
Last edited:
Also tried to record now. I dont see any obvious low-light improvements in normal recording and slow-mo recording. However the numbers on top showing how long i record look weird.
 
The worst thing that can happen is that i need to copy and paste that folder back?

Edit:after installing your deb there is zero difference. Made picture before installing and after installing. No difference at all.

1. Did you try shooting video in Wide mode, to quickly see whether the hack is working?

2. Did you kill the Camera app after changing the settings?

3. If you did, are you absolutely sure the video footage it records is still 16:9 and not 4:3, that is, 1664*1248?


----------

The worst thing that can happen is that i need to copy and paste that folder back?

Basically, it should do the trick. However, as I couldn't test this particular model, I couldn't be absolutely sure.
 
Yes i did and yes i did. See post above your post^^

Also its the status bar that keeps being persistant thats why those numbers look weird. That status bar does not fade away when filming it stays.

Edit: just moved filmed file to vlc. Vlc player says its 1080p file still. (1920x1080p)
 
Last edited:
Yes i did and yes i did. See post above your post^^

Also its the status bar that keeps being persistant thats why those numbers look weird. That status bar does not fade away when filming it stays.

Edit: just moved filmed file to vlc. Vlc player says its 1080p file still. (1920x1080p)

Strange. After selecting "Wide" in the app and pressing "Go", could you look in /System/Library/Frameworks/MediaToolbox.framework/N53/AVCaptureSession.plist (with, say, iFile), and, there, AVCaptureDevices[0] > AVCaptureSessionPreset1920x1080> LiveSourceOptions > Capture > Height? Is it 1,248?
 
I didnt select wide in the app. I forgot that haha, It works now. No difference in low light performance though, and having the top bar constantly in screen is annoying too.
I thought your deb only chanced some plists and didnt add an app.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.