When you've got your iPhone in your pocket, purse, or somewhere else, the ringer can easily be muffled by your clothes, or other surrounding walls. One solution to this problem is to turn your ringer volume all the way up, but the obvious downfall to this is that when you have your iPhone in your hand, or out in the open, it'll be screaming with such a loud ringtone that you'll disturb the world's peace.
A new jailbreak tweak called Ringing Pocket
by iOS developer VladMax Soft lets you have two separate ringtone volumes; one for when your iPhone is in your pocket, and one for when your iPhone is outside of your pocket (or any other dark, concealed place).
The way the tweak works is when you start receiving a phone call, it will use either the device's front-facing or rear-facing camera in order to detect how bright the environment around the iPhone is. Since the environment would be dark if your iPhone was in your pocket, or concealed in your purse, the tweak assumes that a dark environment means that the phone is concealed and the volume should be turned up. If the environment around the iPhone is light, the tweak will assume that you have your iPhone outside of your pocket and will use the usual ringer volume.
Ringing Pocket adds a preferences pane to the Settings application where you can configure various options to your liking:
The first option lets you enable or disable the tweak on demand. Under that, you can choose the custom ringer volume that will take effect whenever your device is in a dark environment, such as your pocket, in a purse, or in the center console of your car. Another slider lets you set a delay that occurs before the volume actually skyrockets. It'll play the ringer at the normal volume until the delay is done, and then it'll play at the extended volume.
You can also enable or disable using the front-facing camera (rear-facing camera is used by default) for determining how dark the environment around the iPhone is. Underneath that, you can configure the sensitivity that the tweak will use for determining if your iPhone is in your pocket, and at the bottom, you can enable or disable volume increase while in certain positions to prevent the phone from going off at night when you're sleeping (obviously, that's a dark place too).
There are several obvious situations where this tweak might come in handy. If you want to give Ringing Pocket a try, it's available in Cydia's BigBoss repository right now for just $1.99. The tweak works on both iOS 6 and iOS 7. Notably, the tweak works for both phone calls and FaceTime calls, and therefore works on iPhones, iPads, and iPod touches.
iPhone 5 running iOS 7.0.6