[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Stock Camera is main reason I don't use AOSP. Just because I want to use the features like photospehere that I have never been able to use in the past.

Stock Camera I imagine misses a higher resolution because they do not see the need. I've decompiled stock camera but haven't found the absolute references to change resolution and add an option. I imagine it is quite a big job. Found lots of references below:

Binary file apktool/GalleryGoogle.apk matches
apktool/camera/res/values/strings.xml: <string name="aspect9to16_effect">16:9</string>
apktool/camera/res/values/strings.xml: <string name="pref_camera_picturesize_entry_2mp_wide">2M pixels (16:9)</string>
Binary file apktool/GalleryGoogle.apk matches
apktool/camera/smali/com/google/android/gms/R$array.smali:.field public static final pref_camera_picturesize_entries:I = 0x7f100008
apktool/camera/smali/com/google/android/gms/R$array.smali:.field public static final pref_camera_picturesize_entryvalues:I = 0x7f100009
apktool/camera/smali/com/google/android/gms/R$string.smali:.field public static final pref_camera_picturesize_entry_13mp:I = 0x7f0b0240
apktool/camera/smali/com/google/android/gms/R$string.smali:.field public static final pref_camera_picturesize_entry_1_3mp:I = 0x7f0b0247
apktool/camera/smali/com/google/android/gms/R$string.smali:.field public static final pref_camera_picturesize_entry_1mp:I = 0x7f0b0248
apktool/camera/smali/com/google/android/gms/R$string.smali:.field public static final pref_camera_picturesize_entry_2mp:I = 0x7f0b0245
apktool/camera/smali/com/google/android/gms/R$string.smali:.field public static final pref_camera_picturesize_entry_2mp_wide:I = 0x7f0b0246
apktool/camera/smali/com/google/android/gms/R$string.smali:.field public static final pref_camera_picturesize_entry_3mp:I = 0x7f0b0244
apktool/camera/smali/com/google/android/gms/R$string.smali:.field public static final pref_camera_picturesize_entry_4mp:I = 0x7f0b0243
apktool/camera/smali/com/google/android/gms/R$string.smali:.field public static final pref_camera_picturesize_entry_5mp:I = 0x7f0b0242
apktool/camera/smali/com/google/android/gms/R$string.smali:.field public static final pref_camera_picturesize_entry_8mp:I = 0x7f0b0241
apktool/camera/smali/com/google/android/gms/R$string.smali:.field public static final pref_camera_picturesize_entry_qvga:I = 0x7f0b024a
apktool/camera/smali/com/google/android/gms/R$string.smali:.field public static final pref_camera_picturesize_entry_vga:I = 0x7f0b0249
apktool/camera/smali/com/google/android/gms/R$string.smali:.field public static final pref_camera_picturesize_title:I = 0x7f0b023f
apktool/camera/smali/com/android/dreams/phototable/R$array.smali:.field public static final pref_camera_picturesize_entries:I = 0x7f100008
apktool/camera/smali/com/android/dreams/phototable/R$array.smali:.field public static final pref_camera_picturesize_entryvalues:I = 0x7f100009
apktool/camera/smali/com/android/dreams/phototable/R$string.smali:.field public static final pref_camera_picturesize_entry_13mp:I = 0x7f0b0240
apktool/camera/smali/com/android/dreams/phototable/R$string.smali:.field public static final pref_camera_picturesize_entry_1_3mp:I = 0x7f0b0247
apktool/camera/smali/com/android/dreams/phototable/R$string.smali:.field public static final pref_camera_picturesize_entry_1mp:I = 0x7f0b0248
apktool/camera/smali/com/android/dreams/phototable/R$string.smali:.field public static final pref_camera_picturesize_entry_2mp:I = 0x7f0b0245
apktool/camera/smali/com/android/dreams/phototable/R$string.smali:.field public static final pref_camera_picturesize_entry_2mp_wide:I = 0x7f0b0246
apktool/camera/smali/com/android/dreams/phototable/R$string.smali:.field public static final pref_camera_picturesize_entry_3mp:I = 0x7f0b0244
apktool/camera/smali/com/android/dreams/phototable/R$string.smali:.field public static final pref_camera_picturesize_entry_4mp:I = 0x7f0b0243
apktool/camera/smali/com/android/dreams/phototable/R$string.smali:.field public static final pref_camera_picturesize_entry_5mp:I = 0x7f0b0242
apktool/camera/smali/com/android/dreams/phototable/R$string.smali:.field public static final pref_camera_picturesize_entry_8mp:I = 0x7f0b0241
apktool/camera/smali/com/android/dreams/phototable/R$string.smali:.field public static final pref_camera_picturesize_entry_qvga:I = 0x7f0b024a
apktool/camera/smali/com/android/dreams/phototable/R$string.smali:.field public static final pref_camera_picturesize_entry_vga:I = 0x7f0b0249
apktool/camera/smali/com/android/dreams/phototable/R$string.smali:.field public static final pref_camera_picturesize_title:I = 0x7f0b023f
apktool/camera/smali/com/android/gallery3d/R$array.smali:.field public static final pref_camera_picturesize_entries:I = 0x7f100008
apktool/camera/smali/com/android/gallery3d/R$array.smali:.field public static final pref_camera_picturesize_entryvalues:I = 0x7f100009
apktool/camera/smali/com/android/gallery3d/R$string.smali:.field public static final pref_camera_picturesize_entry_13mp:I = 0x7f0b0240
apktool/camera/smali/com/android/gallery3d/R$string.smali:.field public static final pref_camera_picturesize_entry_1_3mp:I = 0x7f0b0247
apktool/camera/smali/com/android/gallery3d/R$string.smali:.field public static final pref_camera_picturesize_entry_1mp:I = 0x7f0b0248
apktool/camera/smali/com/android/gallery3d/R$string.smali:.field public static final pref_camera_picturesize_entry_2mp:I = 0x7f0b0245
apktool/camera/smali/com/android/gallery3d/R$string.smali:.field public static final pref_camera_picturesize_entry_2mp_wide:I = 0x7f0b0246
apktool/camera/smali/com/android/gallery3d/R$string.smali:.field public static final pref_camera_picturesize_entry_3mp:I = 0x7f0b0244
apktool/camera/smali/com/android/gallery3d/R$string.smali:.field public static final pref_camera_picturesize_entry_4mp:I = 0x7f0b0243
apktool/camera/smali/com/android/gallery3d/R$string.smali:.field public static final pref_camera_picturesize_entry_5mp:I = 0x7f0b0242
apktool/camera/smali/com/android/gallery3d/R$string.smali:.field public static final pref_camera_picturesize_entry_8mp:I = 0x7f0b0241
apktool/camera/smali/com/android/gallery3d/R$string.smali:.field public static final pref_camera_picturesize_entry_qvga:I = 0x7f0b024a
apktool/camera/smali/com/android/gallery3d/R$string.smali:.field public static final pref_camera_picturesize_entry_vga:I = 0x7f0b0249
apktool/camera/smali/com/android/gallery3d/R$string.smali:.field public static final pref_camera_picturesize_title:I = 0x7f0b023f
apktool/camera/res/values/public.xml: <public type="string" name="pref_camera_picturesize_title" id="0x7f0b023f" />
apktool/camera/res/values/public.xml: <public type="string" name="pref_camera_picturesize_entry_13mp" id="0x7f0b0240" />
apktool/camera/res/values/public.xml: <public type="string" name="pref_camera_picturesize_entry_8mp" id="0x7f0b0241" />
apktool/camera/res/values/public.xml: <public type="string" name="pref_camera_picturesize_entry_5mp" id="0x7f0b0242" />
apktool/camera/res/values/public.xml: <public type="string" name="pref_camera_picturesize_entry_4mp" id="0x7f0b0243" />
apktool/camera/res/values/public.xml: <public type="string" name="pref_camera_picturesize_entry_3mp" id="0x7f0b0244" />
apktool/camera/res/values/public.xml: <public type="string" name="pref_camera_picturesize_entry_2mp" id="0x7f0b0245" />
apktool/camera/res/values/public.xml: <public type="string" name="pref_camera_picturesize_entry_2mp_wide" id="0x7f0b0246" />
apktool/camera/res/values/public.xml: <public type="string" name="pref_camera_picturesize_entry_1_3mp" id="0x7f0b0247" />
apktool/camera/res/values/public.xml: <public type="string" name="pref_camera_picturesize_entry_1mp" id="0x7f0b0248" />
apktool/camera/res/values/public.xml: <public type="string" name="pref_camera_picturesize_entry_vga" id="0x7f0b0249" />
apktool/camera/res/values/public.xml: <public type="string" name="pref_camera_picturesize_entry_qvga" id="0x7f0b024a" />
apktool/camera/res/values/public.xml: <public type="array" name="pref_camera_picturesize_entries" id="0x7f100008" />
apktool/camera/res/values/public.xml: <public type="array" name="pref_camera_picturesize_entryvalues" id="0x7f100009" />
apktool/camera/res/values/arrays.xml: <string-array name="pref_camera_picturesize_entries">
apktool/camera/res/values/arrays.xml: <item>@string/pref_camera_picturesize_entry_13mp</item>
apktool/camera/res/values/arrays.xml: <item>@string/pref_camera_picturesize_entry_8mp</item>
apktool/camera/res/values/arrays.xml: <item>@string/pref_camera_picturesize_entry_5mp</item>
apktool/camera/res/values/arrays.xml: <item>@string/pref_camera_picturesize_entry_5mp</item>
apktool/camera/res/values/arrays.xml: <item>@string/pref_camera_picturesize_entry_5mp</item>
apktool/camera/res/values/arrays.xml: <item>@string/pref_camera_picturesize_entry_4mp</item>
apktool/camera/res/values/arrays.xml: <item>@string/pref_camera_picturesize_entry_3mp</item>
apktool/camera/res/values/arrays.xml: <item>@string/pref_camera_picturesize_entry_2mp</item>
apktool/camera/res/values/arrays.xml: <item>@string/pref_camera_picturesize_entry_2mp_wide</item>
apktool/camera/res/values/arrays.xml: <item>@string/pref_camera_picturesize_entry_1_3mp</item>
apktool/camera/res/values/arrays.xml: <item>@string/pref_camera_picturesize_entry_1mp</item>
apktool/camera/res/values/arrays.xml: <item>@string/pref_camera_picturesize_entry_vga</item>
apktool/camera/res/values/arrays.xml: <item>@string/pref_camera_picturesize_entry_qvga</item>
apktool/camera/res/values/arrays.xml: <string-array name="pref_camera_picturesize_entryvalues">
apktool/camera/res/values/strings.xml: <string name="pref_camera_picturesize_title">Picture size</string>
apktool/camera/res/values/strings.xml: <string name="pref_camera_picturesize_entry_13mp">13M pixels</string>
apktool/camera/res/values/strings.xml: <string name="pref_camera_picturesize_entry_8mp">8M pixels</string>
apktool/camera/res/values/strings.xml: <string name="pref_camera_picturesize_entry_5mp">5M pixels</string>
apktool/camera/res/values/strings.xml: <string name="pref_camera_picturesize_entry_4mp">4M pixels</string>
apktool/camera/res/values/strings.xml: <string name="pref_camera_picturesize_entry_3mp">3M pixels</string>
apktool/camera/res/values/strings.xml: <string name="pref_camera_picturesize_entry_2mp">2M pixels</string>
apktool/camera/res/values/strings.xml: <string name="pref_camera_picturesize_entry_2mp_wide">2M pixels (16:9)</string>
apktool/camera/res/values/strings.xml: <string name="pref_camera_picturesize_entry_1_3mp">1.3M pixels</string>
apktool/camera/res/values/strings.xml: <string name="pref_camera_picturesize_entry_1mp">1M pixels</string>
apktool/camera/res/values/strings.xml: <string name="pref_camera_picturesize_entry_vga">VGA</string>
apktool/camera/res/values/strings.xml: <string name="pref_camera_picturesize_entry_qvga">QVGA</string>
apktool/camera/smali/com/google/android/gms/R$string.smali:.field public static final pref_camera_picturesize_entry_2mp_wide:I = 0x7f0b0246
apktool/camera/smali/com/android/dreams/phototable/R$string.smali:.field public static final pref_camera_picturesize_entry_2mp_wide:I = 0x7f0b0246
apktool/camera/smali/com/android/gallery3d/R$string.smali:.field public static final pref_camera_picturesize_entry_2mp_wide:I = 0x7f0b0246
apktool/camera/res/values/public.xml: <public type="string" name="pref_camera_picturesize_entry_2mp_wide" id="0x7f0b0246" />