Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This article mentions a new HDR camera mode that's available in Android 4.2:

Camera setting wheel in Android 4.2

but my Galaxy Nexus doesn't show that option:

Camera setting wheel missing HDR button

Why not?

share|improve this question

I've had a little look at this now that Android 4.2 source is out.

It turns out that HDR isn't done by the camera app itself, it's a scene mode that needs to be supported by the operating system implementation and/or drivers.

The camera app will remove the HDR button if:

  1. You're not on API level 17 (Android 4.2) or above, or;
  2. Camera.Parameters.getSupportedSceneModes() returns null or a list that doesn't contain the string "hdr"

So in short, the HDR mode is implemented by the operating system's camera driver itself and can't be added to the standard camera app without delving into the OS source. I've not done this yet, but if I do figure it out I'll post an update.

share|improve this answer
As far as I know, there is a thread on XDA that explained how to get a leaked 4.2 camera.apk running on a Galaxy Nexus. So it's not in the driver, it's some libcamera stuff (see the linked .zip in the thread for more) – ce4 Nov 15 '12 at 23:30
@ce4 The camera app is backward compatible with 4.1 but like I said it will remove the HDR button from the screen if it fails either of the two tests above. The camera app just requests HDR mode from the operating system if it's available, I didn't source dive the C++ parts to see whether it was in the OS or the driver, but it's certainly not part of the camera/gallery application nor the Java parts of Android. – Gaz Davidson Nov 19 '12 at 11:48
Thanks for the clarification. – ce4 Nov 19 '12 at 13:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.